From f50606c250c8f20b57289142bec54b2126c0bb66 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 14 Apr 2026 23:08:54 +0200 Subject: [PATCH 1/5] Cleanup, but not using generated code. --- cmd/fireback/main.go | 1 - .../modules/abac/useReactivereactiveSearch.ts | 108 --------- .../sdk/modules/fireback/ReactiveSearch.ts | 41 ++++ .../ReactiveSearchResultDto.ts | 0 .../cmd/fireback-data-types-server/main.go | 3 +- .../cmd/fireback-payment-server/main.go | 3 +- modules/abac/AbacCustomActions.dyno.go | 29 --- modules/abac/AbacModule3.yml | 23 -- modules/abac/ReactiveSearchAction.go | 10 - modules/abac/ReactiveSearchResultDto.dyno.go | 81 ------- modules/abac/ReactiveSearchTools.go | 2 +- modules/abac/WorkspaceHttp.go | 20 -- .../fireback/FirebackCustomActions.dyno.go | 18 ++ modules/fireback/FirebackModule.go | 22 +- modules/fireback/FirebackModule3.yml | 117 +++++----- modules/fireback/ReactiveSearchAction.dyno.go | 205 ++++++++++++++++++ modules/fireback/ReactiveSearchAction.go | 62 ++++++ modules/fireback/ReactiveSearchActions.go | 41 ---- .../fireback/ReactiveSearchResultDto.dyno.go | 173 +++++---------- .../cmd/projectname-desktop/main.go.tpl | 1 - .../go-new/cmd/projectname-server/main.go.tpl | 4 +- .../src/modules/fireback/mock/api/auth.ts | 9 +- .../modules/abac/useReactivereactiveSearch.ts | 21 +- .../sdk/modules/fireback/ReactiveSearch.ts | 41 ++++ .../ReactiveSearchResultDto.ts | 0 modules/fireback/fireback-app.go | 15 +- 26 files changed, 524 insertions(+), 526 deletions(-) delete mode 100644 e2e/react-bed/src/sdk/modules/abac/useReactivereactiveSearch.ts create mode 100644 e2e/react-bed/src/sdk/modules/fireback/ReactiveSearch.ts rename e2e/react-bed/src/sdk/modules/{abac => fireback}/ReactiveSearchResultDto.ts (100%) delete mode 100644 modules/abac/ReactiveSearchAction.go delete mode 100644 modules/abac/ReactiveSearchResultDto.dyno.go delete mode 100644 modules/abac/WorkspaceHttp.go create mode 100644 modules/fireback/ReactiveSearchAction.dyno.go create mode 100644 modules/fireback/ReactiveSearchAction.go delete mode 100644 modules/fireback/ReactiveSearchActions.go create mode 100644 modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/fireback/ReactiveSearch.ts rename modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/{abac => fireback}/ReactiveSearchResultDto.ts (100%) diff --git a/cmd/fireback/main.go b/cmd/fireback/main.go index 4cffeb66b..7bd90feab 100644 --- a/cmd/fireback/main.go +++ b/cmd/fireback/main.go @@ -39,7 +39,6 @@ var xapp = &fireback.FirebackApp{ abac.AppMenuSyncSeeders() }, - InjectSearchEndpoint: fireback.InjectReactiveSearch, PublicFolders: []fireback.PublicFolderInfo{ // You can set a series of static folders to be served along with fireback. // This is only for static content. For advanced MVX render templates, you need to diff --git a/e2e/react-bed/src/sdk/modules/abac/useReactivereactiveSearch.ts b/e2e/react-bed/src/sdk/modules/abac/useReactivereactiveSearch.ts deleted file mode 100644 index 25198e2e9..000000000 --- a/e2e/react-bed/src/sdk/modules/abac/useReactivereactiveSearch.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* -* Generated by fireback 1.2.5 -* Written by Ali Torabi. -* The code is generated for react-query@v3.39.3 -* Checkout the repository for licenses and contribution: https://github.com/torabian/fireback -*/ -import { type FormikHelpers } from "formik"; -import React, { - useCallback, - useContext, - useState, - useRef, - useEffect -} from "react"; -import { - useMutation, - useQuery, - useQueryClient, - type QueryClient, - type UseQueryOptions -} from "react-query"; -import { RemoteQueryContext } from "../../core/react-tools"; -interface ReactiveQueryProps { - query?: any , - queryClient?: QueryClient, - unauthorized?: boolean, - execFnOverride?: any, - queryOptions?: UseQueryOptions, - onMessage?: (msg: string) => void; - presistResult?: boolean; -} -export function useReactivereactiveSearch({ - queryOptions, - execFnOverride, - query, - queryClient, - unauthorized, - onMessage, - presistResult, - }: ReactiveQueryProps) { - const { options } = useContext(RemoteQueryContext); - const remote = options.prefix; - const token = options.headers?.authorization; - const workspaceId = (options.headers as any)["workspace-id"]; - const connection = useRef(); - const [result, setResult] = useState([]); - const appendResult = (result: any) => { - setResult((v) => [...v, result]); - }; - const [connected, setConnected] = useState(false); - const close = () => { - if (connection.current?.readyState === 1) { - connection.current?.close(); - } - setConnected(false); - }; - const write = (data: string | Blob | BufferSource) => { - connection.current?.send(data); - }; - /* - * Creates the connection and tries to establish the connection - */ - const operate = (value: any, callback: any = null) => { - if (connection.current?.readyState === 1) { - connection.current?.close(); - } - setResult([]); - const wsRemote = remote?.replace("https", "wss").replace("http", "ws"); - const remoteUrl = `reactive-search`.substr(1) - let url = `${wsRemote}${remoteUrl}?acceptLanguage=${ - (options as any).headers["accept-language"] - }&token=${token}&workspaceId=${workspaceId}&${new URLSearchParams( - value - )}&${new URLSearchParams(query || {})}`; - url = url.replace(":uniqueId", query?.uniqueId); - let conn = new WebSocket(url); - connection.current = conn; - conn.onopen = function () { - setConnected(true); - }; - conn.onmessage = function (evt: any) { - if (callback !== null) { - return callback(evt); - } - if (evt.data instanceof Blob || evt.data instanceof ArrayBuffer) { - onMessage?.(evt.data); - } else { - try { - const msg = JSON.parse(evt.data); - if (msg) { - onMessage && onMessage(msg); - if (presistResult !== false) { - appendResult(msg); - } - } - } catch (e: any) { - // Intenrionnaly left blank - } - } - }; - }; - useEffect(() => { - return () => { - close(); - }; - }, []); - return { operate, data: result, close, connected, write }; -} diff --git a/e2e/react-bed/src/sdk/modules/fireback/ReactiveSearch.ts b/e2e/react-bed/src/sdk/modules/fireback/ReactiveSearch.ts new file mode 100644 index 000000000..4bf968720 --- /dev/null +++ b/e2e/react-bed/src/sdk/modules/fireback/ReactiveSearch.ts @@ -0,0 +1,41 @@ +import { WebSocketX } from "../../sdk/common/WebSocketX"; +import { buildUrl } from "../../sdk/common/buildUrl"; +import { useWebSocketX } from "../../sdk/react/useWebSocketX"; +/** + * Action to communicate with the action ReactiveSearch + */ +export type ReactiveSearchActionOptions = { + queryKey?: unknown[]; + qs?: URLSearchParams; +}; +export const useReactiveSearchAction = (options?: { + qs?: URLSearchParams; + overrideUrl?: string; +}) => { + return useWebSocketX(() => + ReactiveSearchAction.Create(options?.overrideUrl, options?.qs), + ); +}; +/** + * ReactiveSearchAction + */ +export class ReactiveSearchAction { + // + static URL = "/reactive-search"; + static NewUrl = (qs?: URLSearchParams) => + buildUrl(ReactiveSearchAction.URL, undefined, qs); + static Method = "reactive"; + static Create = (overrideUrl?: string, qs?: URLSearchParams) => { + const url = overrideUrl ?? ReactiveSearchAction.NewUrl(qs); + return new WebSocketX(url, undefined, { + MessageFactoryClass: undefined, + }); + }; + static Definition = { + name: "ReactiveSearch", + url: "/reactive-search", + method: "reactive", + description: + "Reactive search is a general purpose search mechanism for different modules, and could be used in mobile apps or front-end to quickly search for a entity.", + }; +} diff --git a/e2e/react-bed/src/sdk/modules/abac/ReactiveSearchResultDto.ts b/e2e/react-bed/src/sdk/modules/fireback/ReactiveSearchResultDto.ts similarity index 100% rename from e2e/react-bed/src/sdk/modules/abac/ReactiveSearchResultDto.ts rename to e2e/react-bed/src/sdk/modules/fireback/ReactiveSearchResultDto.ts diff --git a/e2e/samples/fireback-data-types/cmd/fireback-data-types-server/main.go b/e2e/samples/fireback-data-types/cmd/fireback-data-types-server/main.go index 008e4b046..11a2097c3 100644 --- a/e2e/samples/fireback-data-types/cmd/fireback-data-types-server/main.go +++ b/e2e/samples/fireback-data-types/cmd/fireback-data-types-server/main.go @@ -26,8 +26,7 @@ var xapp = &fireback.FirebackApp{ }, - InjectSearchEndpoint: fireback.InjectReactiveSearch, - PublicFolders: []fireback.PublicFolderInfo{ + PublicFolders: []fireback.PublicFolderInfo{ // You can set a series of static folders to be served along with fireback. // This is only for static content. For advanced MVX render templates, you need to // Bootstrap those themes diff --git a/e2e/samples/fireback-payment/cmd/fireback-payment-server/main.go b/e2e/samples/fireback-payment/cmd/fireback-payment-server/main.go index c64e28895..3b96712d3 100644 --- a/e2e/samples/fireback-payment/cmd/fireback-payment-server/main.go +++ b/e2e/samples/fireback-payment/cmd/fireback-payment-server/main.go @@ -25,8 +25,7 @@ var xapp = &fireback.FirebackApp{ }, - InjectSearchEndpoint: fireback.InjectReactiveSearch, - PublicFolders: []fireback.PublicFolderInfo{ + PublicFolders: []fireback.PublicFolderInfo{ // You can set a series of static folders to be served along with fireback. // This is only for static content. For advanced MVX render templates, you need to // Bootstrap those themes diff --git a/modules/abac/AbacCustomActions.dyno.go b/modules/abac/AbacCustomActions.dyno.go index 1ba108539..112d17aa1 100644 --- a/modules/abac/AbacCustomActions.dyno.go +++ b/modules/abac/AbacCustomActions.dyno.go @@ -236,18 +236,6 @@ var SignoutActionCmd cli.Command = cli.Command{ fireback.HandleActionInCli(c, result, err, map[string]map[string]string{}) }, } -var ReactiveSearchSecurityModel *fireback.SecurityModel = nil -var ReactiveSearchActionImp = fireback.DefaultEmptyReactiveAction - -// Reactive action does not have that -var ReactiveSearchActionCmd cli.Command = cli.Command{ - Name: "reactive-search", - Usage: `Reactive search is a general purpose search mechanism for different modules, and could be used in mobile apps or front-end to quickly search for a entity.`, - Action: func(c *cli.Context) { - query := fireback.CommonCliQueryDSLBuilderAuthorize(c, ReactiveSearchSecurityModel) - fireback.CliReactivePipeHandler(query, ReactiveSearchActionImp) - }, -} var ImportUserSecurityModel *fireback.SecurityModel = nil type ImportUserActionReqDto struct { @@ -1303,21 +1291,6 @@ func AbacCustomActions() []fireback.Module3Action { Entity: "", }, }, - { - Method: "REACTIVE", - Url: "reactive-search", - SecurityModel: ReactiveSearchSecurityModel, - Name: "reactiveSearch", - Description: "Reactive search is a general purpose search mechanism for different modules, and could be used in mobile apps or front-end to quickly search for a entity.", - Handlers: []gin.HandlerFunc{ - fireback.ReactiveSocketHandler(ReactiveSearchActionImp), - }, - Format: "REACTIVE", - ResponseEntity: string(""), - Out: &fireback.Module3ActionBody{ - Entity: "", - }, - }, { Method: "POST", Url: "/user/import", @@ -1465,7 +1438,6 @@ var AbacCustomActionsCli = []cli.Command{ UserInvitationsActionCmd, QueryUserRoleWorkspacesActionCmd, SignoutActionCmd, - ReactiveSearchActionCmd, ImportUserActionCmd, SendEmailActionCmd, SendEmailWithProviderActionCmd, @@ -1504,7 +1476,6 @@ var AbacCliActionsBundle = &fireback.CliActionsBundle{ UserInvitationsActionCmd, QueryUserRoleWorkspacesActionCmd, SignoutActionCmd, - ReactiveSearchActionCmd, ImportUserActionCmd, SendEmailActionCmd, SendEmailWithProviderActionCmd, diff --git a/modules/abac/AbacModule3.yml b/modules/abac/AbacModule3.yml index 4479b244e..864e8c08e 100644 --- a/modules/abac/AbacModule3.yml +++ b/modules/abac/AbacModule3.yml @@ -72,22 +72,6 @@ dtom: type: string - name: workspaceTypeId type: string - - name: reactiveSearchResult - fields: - - type: string - name: uniqueId - - type: string - name: phrase - - type: string - name: icon - - type: string - name: description - - type: string - name: group - - type: string - name: uiLocation - - type: string - name: actionFn - name: assignRole fields: - name: roleId @@ -651,13 +635,6 @@ actions: description: Signout the user, clears cookies or does anything else if needed. method: post - - name: reactiveSearch - description: - Reactive search is a general purpose search mechanism for different modules, - and could be used in mobile apps or front-end to quickly search for a entity. - url: reactive-search - method: reactive - format: reactive - name: importUser url: /user/import method: post diff --git a/modules/abac/ReactiveSearchAction.go b/modules/abac/ReactiveSearchAction.go deleted file mode 100644 index fa603f800..000000000 --- a/modules/abac/ReactiveSearchAction.go +++ /dev/null @@ -1,10 +0,0 @@ -package abac - -import "github.com/torabian/fireback/modules/fireback" - -func init() { - // Override the implementation with our actual code. - ReactiveSearchActionImp = func(query fireback.QueryDSL, done chan bool, read chan fireback.SocketReadChan) (chan []byte, error) { - return fireback.DefaultEmptyReactiveAction(query, done, read) - } -} diff --git a/modules/abac/ReactiveSearchResultDto.dyno.go b/modules/abac/ReactiveSearchResultDto.dyno.go deleted file mode 100644 index be8c8349a..000000000 --- a/modules/abac/ReactiveSearchResultDto.dyno.go +++ /dev/null @@ -1,81 +0,0 @@ -package abac - -import "encoding/json" -import emigo "github.com/torabian/emi/emigo" - -func GetReactiveSearchResultDtoCliFlags(prefix string) []emigo.CliFlag { - return []emigo.CliFlag{ - { - Name: prefix + "unique-id", - Type: "string", - }, - { - Name: prefix + "phrase", - Type: "string", - }, - { - Name: prefix + "icon", - Type: "string", - }, - { - Name: prefix + "description", - Type: "string", - }, - { - Name: prefix + "group", - Type: "string", - }, - { - Name: prefix + "ui-location", - Type: "string", - }, - { - Name: prefix + "action-fn", - Type: "string", - }, - } -} -func CastReactiveSearchResultDtoFromCli(c emigo.CliCastable) ReactiveSearchResultDto { - data := ReactiveSearchResultDto{} - if c.IsSet("unique-id") { - data.UniqueId = c.String("unique-id") - } - if c.IsSet("phrase") { - data.Phrase = c.String("phrase") - } - if c.IsSet("icon") { - data.Icon = c.String("icon") - } - if c.IsSet("description") { - data.Description = c.String("description") - } - if c.IsSet("group") { - data.Group = c.String("group") - } - if c.IsSet("ui-location") { - data.UiLocation = c.String("ui-location") - } - if c.IsSet("action-fn") { - data.ActionFn = c.String("action-fn") - } - return data -} - -// The base class definition for reactiveSearchResultDto -type ReactiveSearchResultDto struct { - UniqueId string `json:"uniqueId" yaml:"uniqueId"` - Phrase string `json:"phrase" yaml:"phrase"` - Icon string `json:"icon" yaml:"icon"` - Description string `json:"description" yaml:"description"` - Group string `json:"group" yaml:"group"` - UiLocation string `json:"uiLocation" yaml:"uiLocation"` - ActionFn string `json:"actionFn" yaml:"actionFn"` -} - -func (x *ReactiveSearchResultDto) Json() string { - if x != nil { - str, _ := json.MarshalIndent(x, "", " ") - return string(str) - } - return "" -} diff --git a/modules/abac/ReactiveSearchTools.go b/modules/abac/ReactiveSearchTools.go index a50e3272e..6d78cad73 100644 --- a/modules/abac/ReactiveSearchTools.go +++ b/modules/abac/ReactiveSearchTools.go @@ -34,7 +34,7 @@ func QueryRolesReact(query fireback.QueryDSL, chanStream chan *fireback.Reactive roles := "roles" for _, item := range items { - loc := "/role/" + item.UniqueId + loc := "/selfservice/role/" + item.UniqueId uid := fireback.UUID() diff --git a/modules/abac/WorkspaceHttp.go b/modules/abac/WorkspaceHttp.go deleted file mode 100644 index d2b722584..000000000 --- a/modules/abac/WorkspaceHttp.go +++ /dev/null @@ -1,20 +0,0 @@ -package abac - -func init() { - - // AppendWorkspaceRouter = func(r *[]fireback.Module3Action) { - // *r = append(*r, - // fireback.Module3Action{ - // Method: "REACTIVE", - // ResponseEntity: &ReactiveSearchResultDto{}, - // Out: &fireback.Module3ActionBody{ - // Dto: "ReactiveSearchResultDto", - // }, - // }, - // fireback.Module3Action{ - // Method: "POST", - // }, - // ) - - // } -} diff --git a/modules/fireback/FirebackCustomActions.dyno.go b/modules/fireback/FirebackCustomActions.dyno.go index 1d4353cb1..1dac767fa 100644 --- a/modules/fireback/FirebackCustomActions.dyno.go +++ b/modules/fireback/FirebackCustomActions.dyno.go @@ -16,6 +16,23 @@ import ( // using shared actions here /// For emi, we also need to print the handlers, and also print security model, which is a part of Fireback /// and not available in Emi (won't be) +var ReactiveSearchSecurityModel = &SecurityModel{ + ActionRequires: []PermissionInfo{}, + ResolveStrategy: "workspace", +} + +// This can be both used as cli and http +var ReactiveSearchActionDef Module3Action = Module3Action{ + // Temporary until fireback code gen is deleted. + Skip: true, + CliName: ReactiveSearchActionMeta().CliName, + Description: ReactiveSearchActionMeta().Description, + Name: ReactiveSearchActionMeta().Name, + Method: ReactiveSearchActionMeta().Method, + Url: ReactiveSearchActionMeta().URL, + SecurityModel: ReactiveSearchSecurityModel, + // reactive +} var EventBusSubscriptionSecurityModel = &SecurityModel{ ActionRequires: []PermissionInfo{}, ResolveStrategy: "workspace", @@ -100,6 +117,7 @@ var FirebackCliActionsBundle = &CliActionsBundle{ Usage: ``, // Here we will include entities actions, as well as module level actions Subcommands: cli.Commands{ + ReactiveSearchActionDef.ToCli(), EventBusSubscriptionActionDef.ToCli(), CapabilitiesTreeActionDef.ToCli(), WebPushConfigCliFn(), diff --git a/modules/fireback/FirebackModule.go b/modules/fireback/FirebackModule.go index 1c5bb992b..b4d607132 100644 --- a/modules/fireback/FirebackModule.go +++ b/modules/fireback/FirebackModule.go @@ -63,12 +63,22 @@ func FirebackModuleSetup(setup *FirebackModuleConfig) *ModuleProvider { GinWebServerInitHooks: []func(g *gin.RouterGroup, x *FirebackApp) error{ func(g *gin.RouterGroup, x *FirebackApp) error { - meta := EventBusSubscriptionActionMeta() - g.GET( - meta.URL, - WithSocketAuthorization(EventBusSubscriptionSecurityModel), - EventBusSubscriptionActionReactiveHandler(EventBusSubscriptionActionSig), - ) + { + meta := EventBusSubscriptionActionMeta() + g.GET( + meta.URL, + WithSocketAuthorization(EventBusSubscriptionSecurityModel), + EventBusSubscriptionActionReactiveHandler(EventBusSubscriptionActionSig), + ) + } + { + meta := ReactiveSearchActionMeta() + g.GET( + meta.URL, + WithSocketAuthorization(ReactiveSearchSecurityModel), + ReactiveSearchActionReactiveHandler(CreateReactiveSearchHanlder(x)), + ) + } return nil }, diff --git a/modules/fireback/FirebackModule3.yml b/modules/fireback/FirebackModule3.yml index d431b6a36..1b6e02a2a 100644 --- a/modules/fireback/FirebackModule3.yml +++ b/modules/fireback/FirebackModule3.yml @@ -2,60 +2,53 @@ name: fireback meta-workspace: true config: - name: cookieAuthOnly - description: When true, the sessions (after authentication) would not return the token + description: + When true, the sessions (after authentication) would not return the token back in the response, and token will be only accessible via secure cookie. type: bool - name: clickhouseDsn - description: + description: In case of using clickhouse replica option, then you need to provide this configuration for connection, make sure you add the username, password also in the same dsn type: string hint: 127.0.0.1:9000 - name: mongodbDsn - description: - In case of mongodb replica option, you need to provide the installation url and all necessary config + description: In case of mongodb replica option, you need to provide the installation url and all necessary config type: string hint: defaultmongodb instalaltion - name: elasticsearchDsn - description: - Elastic search installation url in case some entities require to write into the elastic search. + description: Elastic search installation url in case some entities require to write into the elastic search. type: string hint: default elastic search installation - name: production type: bool - description: - If true, set's the environment behavior to production, and some functionality will be limited + description: If true, set's the environment behavior to production, and some functionality will be limited - name: redisEventsUrl type: string - description: + description: The address of the redis, which will be used to distribute the events. If provided empty, internal golang event library will be used, and events won't be distributed across different instances - default: '127.0.0.1:6379' + default: "127.0.0.1:6379" - name: tablePrefix type: string - description: - Prefix all gorm tables with some string + description: Prefix all gorm tables with some string - name: vapidPublicKey type: string - description: - VAPID Web push notification public key + description: VAPID Web push notification public key - name: vapidPrivateKey type: string - description: - VAPID Web push notification private key + description: VAPID Web push notification private key - name: tokenGenerationStrategy type: string default: random - description: - Fireback supports generating tokens based on random short string, or jwt. + description: Fireback supports generating tokens based on random short string, or jwt. - name: jwtSecretKey type: string - description: - If tokenGenerationStrategy is set to jwt, then these secret will be used. + description: If tokenGenerationStrategy is set to jwt, then these secret will be used. - name: withTaskServer - description: + description: Runs the tasks server asyncq library when the http server starts. Useful for all in one applications to run everything in single instance type: bool @@ -64,7 +57,7 @@ config: description: >- Environment name, such as dev, prod, test, test-eu, etc... - name: dbName - default: ':memory:' + default: ":memory:" description: >- Database name for vendors which provide database names, such as mysql. Filename on disk for sqlite. @@ -79,7 +72,7 @@ config: description: If set to true, all http traffic will be redirected into https. Needs certFile and keyFile to be defined otherwise no effect type: bool - name: dbPort - description: 'Database port for those which are having a port, 3306 on mysql for example' + description: "Database port for those which are having a port, 3306 on mysql for example" type: int64 - name: driveEnabled type: bool @@ -93,13 +86,13 @@ config: with all credentials and configs. This has hight priority, if set other details will be ignored. - name: dbHost - description: 'Database host, such as localhost, or 127.0.0.1' + description: "Database host, such as localhost, or 127.0.0.1" - name: dbUsername - description: 'Database username for connection, such as root.' + description: "Database username for connection, such as root." - name: dbPassword description: Database password for connection. Can be empty if there is no password - name: ginMode - description: 'Gin framework mode, which could be ''test'', ''debug'', ''release''' + description: "Gin framework mode, which could be 'test', 'debug', 'release'" - name: storage description: This is the storage url which files will be uploaded to - name: dbVendor @@ -113,7 +106,7 @@ config: description: >- This is the url (host and port) of a queue service. If not set, we use the internal queue system - default: '127.0.0.1:6379' + default: "127.0.0.1:6379" - name: workerConcurrency description: How many tasks worker can take concurrently default: 10 @@ -123,12 +116,12 @@ config: - name: tusPort description: Resumable file upload server port. - name: cliToken - description: 'Authorization token for cli apps, to access resoruces similar on http api' + description: "Authorization token for cli apps, to access resoruces similar on http api" - name: cliRegion - description: 'Region, for example us or pl' + description: "Region, for example us or pl" default: us - name: cliLanguage - description: 'Language of the cli operations, for example en or pl' + description: "Language of the cli operations, for example en or pl" default: en - name: cliWorkspace description: Selected workspace in the cli context. @@ -198,9 +191,17 @@ messages: en: The form data submitted is malformed or contains invalid fields. Please check the form and ensure all required fields are properly filled out. invalidFormDataContentType: en: The content type of the form data is not supported. Please ensure you are sending data with the correct content type, such as 'application/x-www-form-urlencoded' or 'multipart/form-data'. - acts: + - name: ReactiveSearch + description: + Reactive search is a general purpose search mechanism for different modules, + and could be used in mobile apps or front-end to quickly search for a entity. + url: /reactive-search + method: reactive + security: + resolveStrategy: workspace + - name: EventBusSubscription description: Connects a client to all events related to their user profile, or workspace they are in method: reactive @@ -215,8 +216,7 @@ acts: requires: - completeKey: root.manage.fireback.capability.query resolveStrategy: workspace - description: - dLists all of the capabilities in database as a array of string as root access + description: dLists all of the capabilities in database as a array of string as root access out: envelope: GResponse fields: @@ -227,32 +227,45 @@ acts: type: collection target: CapabilityInfoDto dtom: + - name: reactiveSearchResult + fields: + - type: string + name: uniqueId + - type: string + name: phrase + - type: string + name: icon + - type: string + name: description + - type: string + name: group + - type: string + name: uiLocation + - type: string + name: actionFn - name: capabilityInfo - description: - Capability and permission level which is suitable for front-end application to interact... + description: Capability and permission level which is suitable for front-end application to interact... fields: - - name: uniqueId - type: string - - name: name - type: string - - name: children - type: collection - target: self@ - + - name: uniqueId + type: string + - name: name + type: string + - name: children + type: collection + target: self@ + - name: okayResponse entities: - name: webPushConfig security: resolveStrategy: user distinctBy: user - description: - Keep the web push notification configuration for each user - fields: - - name: subscription - type: json - validate: required - description: - The json content of the web push after getting it from browser + description: Keep the web push notification configuration for each user + fields: + - name: subscription + type: json + validate: required + description: The json content of the web push after getting it from browser - name: capability permRewrite: replace: root.modules @@ -268,4 +281,4 @@ entities: type: string - name: description type: string - translate: true \ No newline at end of file + translate: true diff --git a/modules/fireback/ReactiveSearchAction.dyno.go b/modules/fireback/ReactiveSearchAction.dyno.go new file mode 100644 index 000000000..1a52c2e68 --- /dev/null +++ b/modules/fireback/ReactiveSearchAction.dyno.go @@ -0,0 +1,205 @@ +package fireback + +import ( + "fmt" + "github.com/gin-gonic/gin" + "github.com/gorilla/websocket" + "github.com/torabian/emi/emigo" + "net/http" + "net/url" + "unicode/utf8" +) + +/** +* Action to communicate with the action ReactiveSearchAction + */ +func ReactiveSearchActionMeta() struct { + Name string + URL string + Method string + CliName string + Description string +} { + return struct { + Name string + URL string + Method string + CliName string + Description string + }{ + Name: "ReactiveSearchAction", + URL: "/reactive-search", + Method: "REACTIVE", + CliName: "", + Description: "Reactive search is a general purpose search mechanism for different modules, and could be used in mobile apps or front-end to quickly search for a entity.", + } +} + +/** + * Query parameters for ReactiveSearchAction + */ +// Query wrapper with private fields +type ReactiveSearchActionQuery struct { + values url.Values + mapped map[string]interface{} + // Typesafe fields +} + +func ReactiveSearchActionQueryFromString(rawQuery string) ReactiveSearchActionQuery { + v := ReactiveSearchActionQuery{} + values, _ := url.ParseQuery(rawQuery) + mapped := map[string]interface{}{} + if result, err := emigo.UnmarshalQs(rawQuery); err == nil { + mapped = result + } + decoder, err := emigo.NewDecoder(&emigo.DecoderConfig{ + TagName: "json", // reuse json tags + WeaklyTypedInput: true, // "1" -> int, "true" -> bool + Result: &v, + }) + if err == nil { + _ = decoder.Decode(mapped) + } + v.values = values + v.mapped = mapped + return v +} +func ReactiveSearchActionQueryFromGin(c *gin.Context) ReactiveSearchActionQuery { + return ReactiveSearchActionQueryFromString(c.Request.URL.RawQuery) +} +func ReactiveSearchActionQueryFromHttp(r *http.Request) ReactiveSearchActionQuery { + return ReactiveSearchActionQueryFromString(r.URL.RawQuery) +} +func (q ReactiveSearchActionQuery) Values() url.Values { + return q.values +} +func (q ReactiveSearchActionQuery) Mapped() map[string]interface{} { + return q.mapped +} +func (q *ReactiveSearchActionQuery) SetValues(v url.Values) { + q.values = v +} +func (q *ReactiveSearchActionQuery) SetMapped(m map[string]interface{}) { + q.mapped = m +} + +// WebSocket upgrader +var upgraderReactiveSearchAction = websocket.Upgrader{ + CheckOrigin: func(r *http.Request) bool { return true }, +} + +type ReactiveSearchActionMessage struct { + Raw []byte + Conn *websocket.Conn + MessageType int + Error error +} + +// Developer handler type +type ReactiveSearchActionHandler func(msg ReactiveSearchActionMessage) error + +// Generated handler +func ReactiveSearchAction(r *gin.Engine, handler ReactiveSearchActionHandler) { + meta := ReactiveSearchActionMeta() + r.GET(meta.URL, func(c *gin.Context) { + ws, err := upgraderReactiveSearchAction.Upgrade(c.Writer, c.Request, nil) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": "cannot upgrade websocket"}) + return + } + defer ws.Close() + for { + mt, raw, err := ws.ReadMessage() + msg := ReactiveSearchActionMessage{ + Conn: ws, + Raw: raw, + Error: err, + MessageType: mt, + } + // Provide raw message to developer handler + if err := handler(msg); err != nil { + errMsg := fmt.Sprintf("handler error: %v", err) + if writeErr := ws.WriteMessage(mt, []byte(errMsg)); writeErr != nil { + break + } + } + } + }) +} + +type ReactiveSearchActionSession struct { + Ctx *gin.Context + Socket *websocket.Conn + Done chan bool + Read chan ReactiveSearchActionReadChan + QueryParams ReactiveSearchActionQuery +} +type ReactiveSearchActionHandlerDuplex func(*ReactiveSearchActionSession) +type ReactiveSearchActionReadChan struct { + Data []byte + Error error +} + +func ReactiveSearchActionReactiveHandler(factory func( + session ReactiveSearchActionSession, +) (chan []byte, error)) gin.HandlerFunc { + return func(ctx *gin.Context) { + read := make(chan ReactiveSearchActionReadChan) + done := make(chan bool) + c, err := Upgrader.Upgrade(ctx.Writer, ctx.Request, nil) + if err != nil { + c.WriteMessage(websocket.TextMessage, []byte(err.Error())) + c.Close() + return + } + session := ReactiveSearchActionSession{ + Ctx: ctx, + Socket: c, + Done: done, + Read: read, + } + session.QueryParams = ReactiveSearchActionQueryFromGin(ctx) + write, err := factory(session) + if err != nil { + c.WriteMessage(websocket.TextMessage, []byte(err.Error())) + } + go func() { + for { + _, data, err := c.ReadMessage() + read <- ReactiveSearchActionReadChan{ + Data: data, + Error: err, + } + if err != nil { + return + } + } + }() + go func() { + for { + select { + case msg, ok := <-write: + if !ok { + // Channel closed; shutdown + c.WriteMessage(websocket.CloseMessage, websocket.FormatCloseMessage(websocket.CloseNormalClosure, "")) + done <- true + return + } + msgType := websocket.TextMessage + if !utf8.Valid(msg) { + msgType = websocket.BinaryMessage + } + err := c.WriteMessage(msgType, msg) + if err != nil { + // Optionally log the error or send to a logger + done <- true + return + } + case <-done: + c.WriteMessage(websocket.CloseMessage, websocket.FormatCloseMessage(websocket.CloseNormalClosure, "")) + return + } + } + }() + } +} diff --git a/modules/fireback/ReactiveSearchAction.go b/modules/fireback/ReactiveSearchAction.go new file mode 100644 index 000000000..3f875c859 --- /dev/null +++ b/modules/fireback/ReactiveSearchAction.go @@ -0,0 +1,62 @@ +package fireback + +import ( + "encoding/json" + "sync" +) + +func init() { + // Override the implementation with our actual code. + // ReactiveSearchImpl = // Trigger intelisense, it would auto complete. +} + +func CreateReactiveSearchHanlder(app *FirebackApp) func( + session ReactiveSearchActionSession, +) (chan []byte, error) { + + return func( + session ReactiveSearchActionSession, + ) (chan []byte, error) { + query := ExtractQueryDslFromGinContext(session.Ctx) + query.RawSocketConnection = session.Socket + resultChan := make(chan *ReactiveSearchResultDto) + + go func() { + var wg sync.WaitGroup + + for _, handler := range app.SearchProviders { + wg.Add(1) + + go func(h SearchProviderFn) { + defer wg.Done() + h(query, resultChan) + }(handler) + } + + wg.Wait() + + close(resultChan) + }() + + return AdaptResultsToBytes(resultChan), nil + } + +} + +func AdaptResultsToBytes(input chan *ReactiveSearchResultDto) chan []byte { + out := make(chan []byte) + + go func() { + defer close(out) + + for res := range input { + b, err := json.Marshal(res) + if err != nil { + continue // or log error + } + out <- b + } + }() + + return out +} diff --git a/modules/fireback/ReactiveSearchActions.go b/modules/fireback/ReactiveSearchActions.go deleted file mode 100644 index db2776033..000000000 --- a/modules/fireback/ReactiveSearchActions.go +++ /dev/null @@ -1,41 +0,0 @@ -package fireback - -import ( - "fmt" - - "github.com/gin-gonic/gin" -) - -func InjectReactiveSearch(e *gin.Engine, app *FirebackApp) { - CastRoutes([]Module3Action{ - { - Method: "REACTIVE", - Url: "/reactiveSearch", - Handlers: []gin.HandlerFunc{ - - // @todo Doesn't search require a security anyway? - WithSocketAuthorization(&SecurityModel{}), - func(ctx *gin.Context) { - HttpReactiveQuery(ctx, - func(query QueryDSL, j chan bool, read chan map[string]interface{}) chan *ReactiveSearchResultDto { - - chanStream := make(chan *ReactiveSearchResultDto) - - go func() { - // defer close(chanStream) - fmt.Println("Search providers", app.SearchProviders) - for _, handler := range app.SearchProviders { - handler(query, chanStream) - } - - }() - - return chanStream - }, - ) - }, - }, - ResponseEntity: &ReactiveSearchResultDto{}, - }, - }, e) -} diff --git a/modules/fireback/ReactiveSearchResultDto.dyno.go b/modules/fireback/ReactiveSearchResultDto.dyno.go index d1e7ab572..f014f8d0d 100644 --- a/modules/fireback/ReactiveSearchResultDto.dyno.go +++ b/modules/fireback/ReactiveSearchResultDto.dyno.go @@ -1,151 +1,84 @@ package fireback -/* -* Generated by fireback 1.2.1 -* Written by Ali Torabi. -* Checkout the repository for licenses and contribution: https://github.com/torabian/fireback - */ import ( "encoding/json" - "fmt" - "strings" - "github.com/urfave/cli" + emigo "github.com/torabian/emi/emigo" ) -func CastReactiveSearchResultFromCli(c *cli.Context) *ReactiveSearchResultDto { - template := &ReactiveSearchResultDto{} +func GetReactiveSearchResultDtoCliFlags(prefix string) []emigo.CliFlag { + return []emigo.CliFlag{ + { + Name: prefix + "unique-id", + Type: "string", + }, + { + Name: prefix + "phrase", + Type: "string", + }, + { + Name: prefix + "icon", + Type: "string", + }, + { + Name: prefix + "description", + Type: "string", + }, + { + Name: prefix + "group", + Type: "string", + }, + { + Name: prefix + "ui-location", + Type: "string", + }, + { + Name: prefix + "action-fn", + Type: "string", + }, + } +} +func CastReactiveSearchResultDtoFromCli(c emigo.CliCastable) ReactiveSearchResultDto { + data := ReactiveSearchResultDto{} if c.IsSet("unique-id") { - template.UniqueId = c.String("unique-id") + data.UniqueId = c.String("unique-id") } if c.IsSet("phrase") { - template.Phrase = c.String("phrase") + data.Phrase = c.String("phrase") } if c.IsSet("icon") { - template.Icon = c.String("icon") + data.Icon = c.String("icon") } if c.IsSet("description") { - template.Description = c.String("description") + data.Description = c.String("description") } if c.IsSet("group") { - template.Group = c.String("group") + data.Group = c.String("group") } if c.IsSet("ui-location") { - template.UiLocation = c.String("ui-location") + data.UiLocation = c.String("ui-location") } if c.IsSet("action-fn") { - template.ActionFn = c.String("action-fn") + data.ActionFn = c.String("action-fn") } - return template -} - -var ReactiveSearchResultDtoCommonCliFlagsOptional = []cli.Flag{ - &cli.StringFlag{ - Name: "wid", - Required: false, - Usage: "Provide workspace id, if you want to change the data workspace", - }, - &cli.StringFlag{ - Name: "uid", - Required: false, - Usage: "Unique Id - external unique hash to query entity", - }, - &cli.StringFlag{ - Name: "pid", - Required: false, - Usage: " Parent record id of the same type", - }, - &cli.StringFlag{ - Name: "unique-id", - Required: false, - Usage: `uniqueId (string)`, - }, - &cli.StringFlag{ - Name: "phrase", - Required: false, - Usage: `phrase (string)`, - }, - &cli.StringFlag{ - Name: "icon", - Required: false, - Usage: `icon (string)`, - }, - &cli.StringFlag{ - Name: "description", - Required: false, - Usage: `description (string)`, - }, - &cli.StringFlag{ - Name: "group", - Required: false, - Usage: `group (string)`, - }, - &cli.StringFlag{ - Name: "ui-location", - Required: false, - Usage: `uiLocation (string)`, - }, - &cli.StringFlag{ - Name: "action-fn", - Required: false, - Usage: `actionFn (string)`, - }, + return data } +// The base class definition for reactiveSearchResultDto type ReactiveSearchResultDto struct { - UniqueId string `json:"uniqueId" yaml:"uniqueId" ` - Phrase string `json:"phrase" yaml:"phrase" ` - Icon string `json:"icon" yaml:"icon" ` - Description string `json:"description" yaml:"description" ` - Group string `json:"group" yaml:"group" ` - UiLocation string `json:"uiLocation" yaml:"uiLocation" ` - ActionFn string `json:"actionFn" yaml:"actionFn" ` -} -type ReactiveSearchResultDtoList struct { - Items []*ReactiveSearchResultDto + UniqueId string `json:"uniqueId" yaml:"uniqueId"` + Phrase string `json:"phrase" yaml:"phrase"` + Icon string `json:"icon" yaml:"icon"` + Description string `json:"description" yaml:"description"` + Group string `json:"group" yaml:"group"` + UiLocation string `json:"uiLocation" yaml:"uiLocation"` + ActionFn string `json:"actionFn" yaml:"actionFn"` } -func NewReactiveSearchResultDtoList(items []*ReactiveSearchResultDto) *ReactiveSearchResultDtoList { - return &ReactiveSearchResultDtoList{ - Items: items, - } -} -func (x *ReactiveSearchResultDtoList) Json() string { - if x != nil { - str, _ := json.MarshalIndent(x, "", " ") - return (string(str)) - } - return "" -} func (x *ReactiveSearchResultDto) Json() string { if x != nil { str, _ := json.MarshalIndent(x, "", " ") - return (string(str)) - } - // Intentional trim (so strings lib is always imported) - return strings.TrimSpace("") -} -func (x *ReactiveSearchResultDto) JsonPrint() { - fmt.Println(x.Json()) -} - -// This is an experimental way to create new dtos, with exluding the pointers as helper. -func NewReactiveSearchResultDto( - UniqueId string, - Phrase string, - Icon string, - Description string, - Group string, - UiLocation string, - ActionFn string, -) ReactiveSearchResultDto { - return ReactiveSearchResultDto{ - UniqueId: UniqueId, - Phrase: Phrase, - Icon: Icon, - Description: Description, - Group: Group, - UiLocation: UiLocation, - ActionFn: ActionFn, + return string(str) } + return "" } diff --git a/modules/fireback/codegen/go-desktop/cmd/projectname-desktop/main.go.tpl b/modules/fireback/codegen/go-desktop/cmd/projectname-desktop/main.go.tpl index 6b077a53a..5f8e5850a 100644 --- a/modules/fireback/codegen/go-desktop/cmd/projectname-desktop/main.go.tpl +++ b/modules/fireback/codegen/go-desktop/cmd/projectname-desktop/main.go.tpl @@ -199,7 +199,6 @@ var xapp = &fireback.FirebackApp{ {{ end }} - InjectSearchEndpoint: fireback.InjectReactiveSearch, PublicFolders: []fireback.PublicFolderInfo{ // You can set a series of static folders to be served along with fireback. // This is only for static content. For advanced MVX render templates, you need to diff --git a/modules/fireback/codegen/go-new/cmd/projectname-server/main.go.tpl b/modules/fireback/codegen/go-new/cmd/projectname-server/main.go.tpl index d15f6b007..9bbe5eeb3 100644 --- a/modules/fireback/codegen/go-new/cmd/projectname-server/main.go.tpl +++ b/modules/fireback/codegen/go-new/cmd/projectname-server/main.go.tpl @@ -61,9 +61,7 @@ var xapp = &fireback.FirebackApp{ {{ end }} }, - - InjectSearchEndpoint: fireback.InjectReactiveSearch, - PublicFolders: []fireback.PublicFolderInfo{ + PublicFolders: []fireback.PublicFolderInfo{ // You can set a series of static folders to be served along with fireback. // This is only for static content. For advanced MVX render templates, you need to // Bootstrap those themes diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/mock/api/auth.ts b/modules/fireback/codegen/react-new/src/modules/fireback/mock/api/auth.ts index 087ed3d83..57918ab12 100644 --- a/modules/fireback/codegen/react-new/src/modules/fireback/mock/api/auth.ts +++ b/modules/fireback/codegen/react-new/src/modules/fireback/mock/api/auth.ts @@ -6,12 +6,11 @@ import { method, uriMatch, } from "../../hooks/mock-tools"; -import { - ConfirmClassicPassportTotpActionResDto, -} from "../../sdk/modules/abac/AbacActionsDto"; + import type { CheckClassicPassportActionRes } from "../../sdk/modules/abac/CheckClassicPassport"; import { CheckPassportMethodsActionRes } from "../../sdk/modules/abac/CheckPassportMethods"; import type { ClassicSignupActionRes } from "../../sdk/modules/abac/ClassicSignup"; +import type { ConfirmClassicPassportTotpActionRes } from "../../sdk/modules/abac/ConfirmClassicPassportTotp"; import { UserSessionDto } from "../../sdk/modules/abac/UserSessionDto"; import { WorkspaceInviteEntity } from "../../sdk/modules/abac/WorkspaceInviteEntity"; @@ -128,7 +127,7 @@ export class AuthMockServer { @method("post") async postConfirm( ctx: Context, - ): Promise>> { + ): Promise>> { return { data: { session: commonSession.data, @@ -140,7 +139,7 @@ export class AuthMockServer { @method("post") async postOtp( ctx: Context, - ): Promise>> { + ): Promise>> { return { data: { session: commonSession.data, diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts b/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts index 25198e2e9..f2b974959 100644 --- a/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts +++ b/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts @@ -5,7 +5,7 @@ * Checkout the repository for licenses and contribution: https://github.com/torabian/fireback */ import { type FormikHelpers } from "formik"; -import React, { +import React, { useCallback, useContext, useState, @@ -21,7 +21,7 @@ import { } from "react-query"; import { RemoteQueryContext } from "../../core/react-tools"; interface ReactiveQueryProps { - query?: any , + query?: any, queryClient?: QueryClient, unauthorized?: boolean, execFnOverride?: any, @@ -29,7 +29,7 @@ interface ReactiveQueryProps { onMessage?: (msg: string) => void; presistResult?: boolean; } -export function useReactivereactiveSearch({ +export function useReactivereactiveSearch({ queryOptions, execFnOverride, query, @@ -37,7 +37,7 @@ export function useReactivereactiveSearch({ unauthorized, onMessage, presistResult, - }: ReactiveQueryProps) { +}: ReactiveQueryProps) { const { options } = useContext(RemoteQueryContext); const remote = options.prefix; const token = options.headers?.authorization; @@ -66,12 +66,11 @@ export function useReactivereactiveSearch({ } setResult([]); const wsRemote = remote?.replace("https", "wss").replace("http", "ws"); - const remoteUrl = `reactive-search`.substr(1) - let url = `${wsRemote}${remoteUrl}?acceptLanguage=${ - (options as any).headers["accept-language"] - }&token=${token}&workspaceId=${workspaceId}&${new URLSearchParams( - value - )}&${new URLSearchParams(query || {})}`; + const remoteUrl = `/reactive-search`.substr(1) + let url = `${wsRemote}${remoteUrl}?acceptLanguage=${(options as any).headers["accept-language"] + }&token=${token}&workspaceId=${workspaceId}&${new URLSearchParams( + value + )}&${new URLSearchParams(query || {})}`; url = url.replace(":uniqueId", query?.uniqueId); let conn = new WebSocket(url); connection.current = conn; @@ -104,5 +103,5 @@ export function useReactivereactiveSearch({ close(); }; }, []); - return { operate, data: result, close, connected, write }; + return { operate, data: result, close, connected, write }; } diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/fireback/ReactiveSearch.ts b/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/fireback/ReactiveSearch.ts new file mode 100644 index 000000000..4bf968720 --- /dev/null +++ b/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/fireback/ReactiveSearch.ts @@ -0,0 +1,41 @@ +import { WebSocketX } from "../../sdk/common/WebSocketX"; +import { buildUrl } from "../../sdk/common/buildUrl"; +import { useWebSocketX } from "../../sdk/react/useWebSocketX"; +/** + * Action to communicate with the action ReactiveSearch + */ +export type ReactiveSearchActionOptions = { + queryKey?: unknown[]; + qs?: URLSearchParams; +}; +export const useReactiveSearchAction = (options?: { + qs?: URLSearchParams; + overrideUrl?: string; +}) => { + return useWebSocketX(() => + ReactiveSearchAction.Create(options?.overrideUrl, options?.qs), + ); +}; +/** + * ReactiveSearchAction + */ +export class ReactiveSearchAction { + // + static URL = "/reactive-search"; + static NewUrl = (qs?: URLSearchParams) => + buildUrl(ReactiveSearchAction.URL, undefined, qs); + static Method = "reactive"; + static Create = (overrideUrl?: string, qs?: URLSearchParams) => { + const url = overrideUrl ?? ReactiveSearchAction.NewUrl(qs); + return new WebSocketX(url, undefined, { + MessageFactoryClass: undefined, + }); + }; + static Definition = { + name: "ReactiveSearch", + url: "/reactive-search", + method: "reactive", + description: + "Reactive search is a general purpose search mechanism for different modules, and could be used in mobile apps or front-end to quickly search for a entity.", + }; +} diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/ReactiveSearchResultDto.ts b/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/fireback/ReactiveSearchResultDto.ts similarity index 100% rename from modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/ReactiveSearchResultDto.ts rename to modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/fireback/ReactiveSearchResultDto.ts diff --git a/modules/fireback/fireback-app.go b/modules/fireback/fireback-app.go index 2bf60ca51..20f1faef4 100644 --- a/modules/fireback/fireback-app.go +++ b/modules/fireback/fireback-app.go @@ -45,12 +45,11 @@ type FirebackApp struct { // Custom cli actions or command that you might want to add to the project CliActions func() []cli.Command - InjectSearchEndpoint func(*gin.Engine, *FirebackApp) - SetupWebServerHook func(*gin.Engine, *FirebackApp) - SearchProviders []SearchProviderFn - SeedersSync func() - MockSync func() - PublicFolders []PublicFolderInfo + SetupWebServerHook func(*gin.Engine, *FirebackApp) + SearchProviders []SearchProviderFn + SeedersSync func() + MockSync func() + PublicFolders []PublicFolderInfo } /* @@ -290,10 +289,6 @@ func SetupHttpServer(x *FirebackApp, cfg HttpServerInstanceConfig) *gin.Engine { x.SetupWebServerHook(r, x) } - if x.InjectSearchEndpoint != nil { - x.InjectSearchEndpoint(r, x) - } - r.GET("/stoplight.js", func(c *gin.Context) { file, err := statics.StaticFs.ReadFile("stoplight.js") if err != nil { From a76f69ed5a7d16e8e9be78d487a65865d93373db Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 14 Apr 2026 23:14:43 +0200 Subject: [PATCH 2/5] Works e2e --- .../reactive-search/ReactiveSearch.tsx | 2 +- .../reactive-search/useReactiveSearchOld.tsx | 111 ++++++++++++++++++ .../modules/abac/useReactivereactiveSearch.ts | 107 ----------------- 3 files changed, 112 insertions(+), 108 deletions(-) create mode 100644 modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/useReactiveSearchOld.tsx delete mode 100644 modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/ReactiveSearch.tsx b/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/ReactiveSearch.tsx index 64038e5a8..6bbec6b78 100644 --- a/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/ReactiveSearch.tsx +++ b/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/ReactiveSearch.tsx @@ -3,10 +3,10 @@ import { useKeyPress } from "../../hooks/useKeyPress"; import { useLocale } from "../../hooks/useLocale"; import { useT } from "../../hooks/useT"; import { useRouter } from "../../hooks/useRouter"; -import { useReactivereactiveSearch } from "../../sdk/modules/abac/useReactivereactiveSearch"; import { useContext, useEffect, useRef, useState } from "react"; import { ReactiveSearchContext } from "./ReactiveSearchContext"; import { detectDeviceType } from "../../hooks/deviceInformation"; +import { useReactivereactiveSearch } from "./useReactiveSearchOld"; export function ReactiveSearch() { const t = useT(); diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/useReactiveSearchOld.tsx b/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/useReactiveSearchOld.tsx new file mode 100644 index 000000000..62ef60e15 --- /dev/null +++ b/modules/fireback/codegen/react-new/src/modules/fireback/components/reactive-search/useReactiveSearchOld.tsx @@ -0,0 +1,111 @@ +// I have copied this code, from older generated code. +// it needs to be deleted, and new emi generated code has to be used. + +/* +* Generated by fireback 1.2.5 +* Written by Ali Torabi. +* The code is generated for react-query@v3.39.3 +* Checkout the repository for licenses and contribution: https://github.com/torabian/fireback +*/ +import { type FormikHelpers } from "formik"; +import React, { + useCallback, + useContext, + useState, + useRef, + useEffect +} from "react"; +import { + useMutation, + useQuery, + useQueryClient, + type QueryClient, + type UseQueryOptions +} from "react-query"; +import { RemoteQueryContext } from "../../sdk/core/react-tools"; + +interface ReactiveQueryProps { + query?: any, + queryClient?: QueryClient, + unauthorized?: boolean, + execFnOverride?: any, + queryOptions?: UseQueryOptions, + onMessage?: (msg: string) => void; + presistResult?: boolean; +} +export function useReactivereactiveSearch({ + queryOptions, + execFnOverride, + query, + queryClient, + unauthorized, + onMessage, + presistResult, +}: ReactiveQueryProps) { + const { options } = useContext(RemoteQueryContext); + const remote = options.prefix; + const token = options.headers?.authorization; + const workspaceId = (options.headers as any)["workspace-id"]; + const connection = useRef(); + const [result, setResult] = useState([]); + const appendResult = (result: any) => { + setResult((v) => [...v, result]); + }; + const [connected, setConnected] = useState(false); + const close = () => { + if (connection.current?.readyState === 1) { + connection.current?.close(); + } + setConnected(false); + }; + const write = (data: string | Blob | BufferSource) => { + connection.current?.send(data); + }; + /* + * Creates the connection and tries to establish the connection + */ + const operate = (value: any, callback: any = null) => { + if (connection.current?.readyState === 1) { + connection.current?.close(); + } + setResult([]); + const wsRemote = remote?.replace("https", "wss").replace("http", "ws"); + const remoteUrl = `/reactive-search`.substr(1) + let url = `${wsRemote}${remoteUrl}?acceptLanguage=${(options as any).headers["accept-language"] + }&token=${token}&workspaceId=${workspaceId}&${new URLSearchParams( + value + )}&${new URLSearchParams(query || {})}`; + url = url.replace(":uniqueId", query?.uniqueId); + let conn = new WebSocket(url); + connection.current = conn; + conn.onopen = function () { + setConnected(true); + }; + conn.onmessage = function (evt: any) { + if (callback !== null) { + return callback(evt); + } + if (evt.data instanceof Blob || evt.data instanceof ArrayBuffer) { + onMessage?.(evt.data); + } else { + try { + const msg = JSON.parse(evt.data); + if (msg) { + onMessage && onMessage(msg); + if (presistResult !== false) { + appendResult(msg); + } + } + } catch (e: any) { + // Intenrionnaly left blank + } + } + }; + }; + useEffect(() => { + return () => { + close(); + }; + }, []); + return { operate, data: result, close, connected, write }; +} diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts b/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts deleted file mode 100644 index f2b974959..000000000 --- a/modules/fireback/codegen/react-new/src/modules/fireback/sdk/modules/abac/useReactivereactiveSearch.ts +++ /dev/null @@ -1,107 +0,0 @@ -/* -* Generated by fireback 1.2.5 -* Written by Ali Torabi. -* The code is generated for react-query@v3.39.3 -* Checkout the repository for licenses and contribution: https://github.com/torabian/fireback -*/ -import { type FormikHelpers } from "formik"; -import React, { - useCallback, - useContext, - useState, - useRef, - useEffect -} from "react"; -import { - useMutation, - useQuery, - useQueryClient, - type QueryClient, - type UseQueryOptions -} from "react-query"; -import { RemoteQueryContext } from "../../core/react-tools"; -interface ReactiveQueryProps { - query?: any, - queryClient?: QueryClient, - unauthorized?: boolean, - execFnOverride?: any, - queryOptions?: UseQueryOptions, - onMessage?: (msg: string) => void; - presistResult?: boolean; -} -export function useReactivereactiveSearch({ - queryOptions, - execFnOverride, - query, - queryClient, - unauthorized, - onMessage, - presistResult, -}: ReactiveQueryProps) { - const { options } = useContext(RemoteQueryContext); - const remote = options.prefix; - const token = options.headers?.authorization; - const workspaceId = (options.headers as any)["workspace-id"]; - const connection = useRef(); - const [result, setResult] = useState([]); - const appendResult = (result: any) => { - setResult((v) => [...v, result]); - }; - const [connected, setConnected] = useState(false); - const close = () => { - if (connection.current?.readyState === 1) { - connection.current?.close(); - } - setConnected(false); - }; - const write = (data: string | Blob | BufferSource) => { - connection.current?.send(data); - }; - /* - * Creates the connection and tries to establish the connection - */ - const operate = (value: any, callback: any = null) => { - if (connection.current?.readyState === 1) { - connection.current?.close(); - } - setResult([]); - const wsRemote = remote?.replace("https", "wss").replace("http", "ws"); - const remoteUrl = `/reactive-search`.substr(1) - let url = `${wsRemote}${remoteUrl}?acceptLanguage=${(options as any).headers["accept-language"] - }&token=${token}&workspaceId=${workspaceId}&${new URLSearchParams( - value - )}&${new URLSearchParams(query || {})}`; - url = url.replace(":uniqueId", query?.uniqueId); - let conn = new WebSocket(url); - connection.current = conn; - conn.onopen = function () { - setConnected(true); - }; - conn.onmessage = function (evt: any) { - if (callback !== null) { - return callback(evt); - } - if (evt.data instanceof Blob || evt.data instanceof ArrayBuffer) { - onMessage?.(evt.data); - } else { - try { - const msg = JSON.parse(evt.data); - if (msg) { - onMessage && onMessage(msg); - if (presistResult !== false) { - appendResult(msg); - } - } - } catch (e: any) { - // Intenrionnaly left blank - } - } - }; - }; - useEffect(() => { - return () => { - close(); - }; - }, []); - return { operate, data: result, close, connected, write }; -} From 634018c4903aaff7492fb937e53abf95ca65a4c7 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 14 Apr 2026 23:21:00 +0200 Subject: [PATCH 3/5] U --- modules/abac/AbacModule.go | 60 ++++++++++++++---------------- modules/fireback/FirebackModule.go | 46 ++++++++++------------- 2 files changed, 47 insertions(+), 59 deletions(-) diff --git a/modules/abac/AbacModule.go b/modules/abac/AbacModule.go index 4e2a84ba4..4df4bee48 100644 --- a/modules/abac/AbacModule.go +++ b/modules/abac/AbacModule.go @@ -26,7 +26,33 @@ func AppMenuWriteQueryCteMock(ctx fireback.MockQueryContext) { } } -func workspaceModuleCore(module *fireback.ModuleProvider) { +type MicroserviceSetupConfig struct { + AuthorizationResolver WithAuthorizationPureImpl +} + +// Inject this into any project as a complete solution +func AbacCompleteModules() []*fireback.ModuleProvider { + return []*fireback.ModuleProvider{ + WorkspaceModuleSetup(), + DriveModuleSetup(), + NotificationModuleSetup(), + PassportsModuleSetup(), + } +} + +func WorkspaceModuleSetup() *fireback.ModuleProvider { + + // Default Fireback authorization. You can Override this on microservices + fireback.WithAuthorizationPure = WithAuthorizationPureDefault + fireback.WithAuthorizationFn = WithAuthorizationFn + fireback.WithSocketAuthorization = WithSocketAuthorization + + module := &fireback.ModuleProvider{ + Name: "abac", + Definitions: &Module3Definitions, + OnEnvInit: OnInitEnvHook, + GoMigrateDirectory: &migrations.MigrationsFs, + } module.ProvidePermissionHandler( ALL_WORKSPACE_CONFIG_PERMISSIONS, @@ -88,38 +114,6 @@ func workspaceModuleCore(module *fireback.ModuleProvider) { return RepairTheWorkspaces() }) -} - -type MicroserviceSetupConfig struct { - AuthorizationResolver WithAuthorizationPureImpl -} - -// Inject this into any project as a complete solution -func AbacCompleteModules() []*fireback.ModuleProvider { - return []*fireback.ModuleProvider{ - WorkspaceModuleSetup(), - DriveModuleSetup(), - NotificationModuleSetup(), - PassportsModuleSetup(), - } -} - -func WorkspaceModuleSetup() *fireback.ModuleProvider { - - // Default Fireback authorization. You can Override this on microservices - fireback.WithAuthorizationPure = WithAuthorizationPureDefault - fireback.WithAuthorizationFn = WithAuthorizationFn - fireback.WithSocketAuthorization = WithSocketAuthorization - - module := &fireback.ModuleProvider{ - Name: "abac", - Definitions: &Module3Definitions, - OnEnvInit: OnInitEnvHook, - GoMigrateDirectory: &migrations.MigrationsFs, - } - - workspaceModuleCore(module) - module.ProvideMockWriterHandler(func(languages []string) { // WorkspaceTypeWriteQueryMock(MockQueryContext{Languages: languages}) // GsmProviderWriteQueryMock(MockQueryContext{Languages: languages}) diff --git a/modules/fireback/FirebackModule.go b/modules/fireback/FirebackModule.go index b4d607132..5b552d276 100644 --- a/modules/fireback/FirebackModule.go +++ b/modules/fireback/FirebackModule.go @@ -18,31 +18,6 @@ var EverRunEntities []interface{} = []interface{}{ &CapabilityEntityPolyglot{}, } -func workspaceModuleCore(module *ModuleProvider) { - - module.ProvidePermissionHandler( - - ALL_CAPABILITY_PERMISSIONS, - ) - - module.ProvideEntityHandlers(func(dbref *gorm.DB) error { - - items2 := []interface{}{} - items2 = append(items2, EverRunEntities...) - - for _, item := range items2 { - - if err := dbref.AutoMigrate(item); err != nil { - fmt.Println("Migrating entity issue:", GetInterfaceName(item)) - return err - } - } - - return nil - }) - -} - type FirebackModuleConfig struct{} type X = func(query QueryDSL, done chan bool, read chan SocketReadChan) (chan []byte, error) @@ -92,7 +67,26 @@ func FirebackModuleSetup(setup *FirebackModuleConfig) *ModuleProvider { CapabilitiesTreeActionDef.ToCli(), }) - workspaceModuleCore(module) + module.ProvidePermissionHandler( + + ALL_CAPABILITY_PERMISSIONS, + ) + + module.ProvideEntityHandlers(func(dbref *gorm.DB) error { + + items2 := []interface{}{} + items2 = append(items2, EverRunEntities...) + + for _, item := range items2 { + + if err := dbref.AutoMigrate(item); err != nil { + fmt.Println("Migrating entity issue:", GetInterfaceName(item)) + return err + } + } + + return nil + }) return module } From fd9822bb19d1cb479333de0908f8d6bcb207f167 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 14 Apr 2026 23:22:54 +0200 Subject: [PATCH 4/5] U --- modules/fireback/ReactiveSearchResultDto.dyno.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/fireback/ReactiveSearchResultDto.dyno.go b/modules/fireback/ReactiveSearchResultDto.dyno.go index f014f8d0d..72afebf1c 100644 --- a/modules/fireback/ReactiveSearchResultDto.dyno.go +++ b/modules/fireback/ReactiveSearchResultDto.dyno.go @@ -1,10 +1,7 @@ package fireback -import ( - "encoding/json" - - emigo "github.com/torabian/emi/emigo" -) +import "encoding/json" +import emigo "github.com/torabian/emi/emigo" func GetReactiveSearchResultDtoCliFlags(prefix string) []emigo.CliFlag { return []emigo.CliFlag{ From 9a820d790c33949f9cda10a37648408389050fa3 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 14 Apr 2026 23:27:46 +0200 Subject: [PATCH 5/5] Rebuild the bundle --- .../{index-C4YzIYQ2.js => index-DPN0Vq7F.js} | 176 +++---- ...{index-CjN2LFXZ.css => index-mOPJlpTq.css} | 2 +- .../codegen/fireback-manage/index.html | 4 +- .../styles/apple-family/theme-osx-core.scss | 81 ++-- .../selfservice/assets/index-BBXZj-nV.js | 456 ++++++++++++++++++ ...{index-C70Q3qZt.css => index-BPOS91Ib.css} | 2 +- .../selfservice/assets/index-BSIH_rIU.js | 456 ------------------ .../fireback/codegen/selfservice/index.html | 4 +- 8 files changed, 602 insertions(+), 579 deletions(-) rename modules/fireback/codegen/fireback-manage/assets/{index-C4YzIYQ2.js => index-DPN0Vq7F.js} (62%) rename modules/fireback/codegen/fireback-manage/assets/{index-CjN2LFXZ.css => index-mOPJlpTq.css} (99%) create mode 100644 modules/fireback/codegen/selfservice/assets/index-BBXZj-nV.js rename modules/fireback/codegen/selfservice/assets/{index-C70Q3qZt.css => index-BPOS91Ib.css} (96%) delete mode 100644 modules/fireback/codegen/selfservice/assets/index-BSIH_rIU.js diff --git a/modules/fireback/codegen/fireback-manage/assets/index-C4YzIYQ2.js b/modules/fireback/codegen/fireback-manage/assets/index-DPN0Vq7F.js similarity index 62% rename from modules/fireback/codegen/fireback-manage/assets/index-C4YzIYQ2.js rename to modules/fireback/codegen/fireback-manage/assets/index-DPN0Vq7F.js index 6bea15a83..95d8b04e3 100644 --- a/modules/fireback/codegen/fireback-manage/assets/index-C4YzIYQ2.js +++ b/modules/fireback/codegen/fireback-manage/assets/index-DPN0Vq7F.js @@ -1,4 +1,4 @@ -var Lie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var w_t=Lie((Ms,eo)=>{function Fie(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var bl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function jt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var MO={exports:{}},Bw={};/** +var Eoe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var bOt=Eoe((Ds,to)=>{function Toe(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var El=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function jt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var mR={exports:{}},g1={};/** * @license React * react-jsx-runtime.production.js * @@ -6,7 +6,7 @@ var Lie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var w_t=Lie((Ms, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var i4;function jie(){if(i4)return Bw;i4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,i){var o=null;if(i!==void 0&&(o=""+i),a.key!==void 0&&(o=""+a.key),"key"in a){i={};for(var l in a)l!=="key"&&(i[l]=a[l])}else i=a;return a=i.ref,{$$typeof:e,type:r,key:o,ref:a!==void 0?a:null,props:i}}return Bw.Fragment=t,Bw.jsx=n,Bw.jsxs=n,Bw}var o4;function _K(){return o4||(o4=1,MO.exports=jie()),MO.exports}var w=_K(),IO={exports:{}},Nn={};/** + */var V4;function Coe(){if(V4)return g1;V4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,i){var o=null;if(i!==void 0&&(o=""+i),a.key!==void 0&&(o=""+a.key),"key"in a){i={};for(var l in a)l!=="key"&&(i[l]=a[l])}else i=a;return a=i.ref,{$$typeof:e,type:r,key:o,ref:a!==void 0?a:null,props:i}}return g1.Fragment=t,g1.jsx=n,g1.jsxs=n,g1}var G4;function hX(){return G4||(G4=1,mR.exports=Coe()),mR.exports}var w=hX(),gR={exports:{}},Nn={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ var Lie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var w_t=Lie((Ms, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var s4;function Uie(){if(s4)return Nn;s4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.iterator;function y(H){return H===null||typeof H!="object"?null:(H=g&&H[g]||H["@@iterator"],typeof H=="function"?H:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,E={};function T(H,Y,ie){this.props=H,this.context=Y,this.refs=E,this.updater=ie||p}T.prototype.isReactComponent={},T.prototype.setState=function(H,Y){if(typeof H!="object"&&typeof H!="function"&&H!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,H,Y,"setState")},T.prototype.forceUpdate=function(H){this.updater.enqueueForceUpdate(this,H,"forceUpdate")};function C(){}C.prototype=T.prototype;function k(H,Y,ie){this.props=H,this.context=Y,this.refs=E,this.updater=ie||p}var _=k.prototype=new C;_.constructor=k,v(_,T.prototype),_.isPureReactComponent=!0;var A=Array.isArray,P={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function I(H,Y,ie,Z,ee,J){return ie=J.ref,{$$typeof:e,type:H,key:Y,ref:ie!==void 0?ie:null,props:J}}function L(H,Y){return I(H.type,Y,void 0,void 0,void 0,H.props)}function j(H){return typeof H=="object"&&H!==null&&H.$$typeof===e}function z(H){var Y={"=":"=0",":":"=2"};return"$"+H.replace(/[=:]/g,function(ie){return Y[ie]})}var Q=/\/+/g;function le(H,Y){return typeof H=="object"&&H!==null&&H.key!=null?z(""+H.key):Y.toString(36)}function re(){}function ge(H){switch(H.status){case"fulfilled":return H.value;case"rejected":throw H.reason;default:switch(typeof H.status=="string"?H.then(re,re):(H.status="pending",H.then(function(Y){H.status==="pending"&&(H.status="fulfilled",H.value=Y)},function(Y){H.status==="pending"&&(H.status="rejected",H.reason=Y)})),H.status){case"fulfilled":return H.value;case"rejected":throw H.reason}}throw H}function he(H,Y,ie,Z,ee){var J=typeof H;(J==="undefined"||J==="boolean")&&(H=null);var ue=!1;if(H===null)ue=!0;else switch(J){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(H.$$typeof){case e:case t:ue=!0;break;case f:return ue=H._init,he(ue(H._payload),Y,ie,Z,ee)}}if(ue)return ee=ee(H),ue=Z===""?"."+le(H,0):Z,A(ee)?(ie="",ue!=null&&(ie=ue.replace(Q,"$&/")+"/"),he(ee,Y,ie,"",function(xe){return xe})):ee!=null&&(j(ee)&&(ee=L(ee,ie+(ee.key==null||H&&H.key===ee.key?"":(""+ee.key).replace(Q,"$&/")+"/")+ue)),Y.push(ee)),1;ue=0;var ke=Z===""?".":Z+":";if(A(H))for(var fe=0;fe()=>(t||e((t={exports:{}}).exports,t),t.exports);var w_t=Lie((Ms, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var u4;function Bie(){return u4||(u4=1,(function(e){function t(W,G){var q=W.length;W.push(G);e:for(;0>>1,H=W[ce];if(0>>1;cea(Z,q))eea(J,Z)?(W[ce]=J,W[ee]=q,ce=ee):(W[ce]=Z,W[ie]=q,ce=ie);else if(eea(J,q))W[ce]=J,W[ee]=q,ce=ee;else break e}}return G}function a(W,G){var q=W.sortIndex-G.sortIndex;return q!==0?q:W.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var u=[],d=[],f=1,g=null,y=3,p=!1,v=!1,E=!1,T=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function _(W){for(var G=n(d);G!==null;){if(G.callback===null)r(d);else if(G.startTime<=W)r(d),G.sortIndex=G.expirationTime,t(u,G);else break;G=n(d)}}function A(W){if(E=!1,_(W),!v)if(n(u)!==null)v=!0,ge();else{var G=n(d);G!==null&&he(A,G.startTime-W)}}var P=!1,N=-1,I=5,L=-1;function j(){return!(e.unstable_now()-LW&&j());){var ce=g.callback;if(typeof ce=="function"){g.callback=null,y=g.priorityLevel;var H=ce(g.expirationTime<=W);if(W=e.unstable_now(),typeof H=="function"){g.callback=H,_(W),G=!0;break t}g===n(u)&&r(u),_(W)}else r(u);g=n(u)}if(g!==null)G=!0;else{var Y=n(d);Y!==null&&he(A,Y.startTime-W),G=!1}}break e}finally{g=null,y=q,p=!1}G=void 0}}finally{G?Q():P=!1}}}var Q;if(typeof k=="function")Q=function(){k(z)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,re=le.port2;le.port1.onmessage=z,Q=function(){re.postMessage(null)}}else Q=function(){T(z,0)};function ge(){P||(P=!0,Q())}function he(W,G){N=T(function(){W(e.unstable_now())},G)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_continueExecution=function(){v||p||(v=!0,ge())},e.unstable_forceFrameRate=function(W){0>W||125ce?(W.sortIndex=q,t(d,W),n(u)===null&&W===n(d)&&(E?(C(N),N=-1):E=!0,he(A,q-ce))):(W.sortIndex=H,t(u,W),v||p||(v=!0,ge())),W},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(W){var G=y;return function(){var q=y;y=G;try{return W.apply(this,arguments)}finally{y=q}}}})(LO)),LO}var c4;function Wie(){return c4||(c4=1,$O.exports=Bie()),$O.exports}var FO={exports:{}},Yi={};/** + */var X4;function xoe(){return X4||(X4=1,(function(e){function t(W,G){var q=W.length;W.push(G);e:for(;0>>1,H=W[ce];if(0>>1;cea(J,q))eea(Z,J)?(W[ce]=Z,W[ee]=q,ce=ee):(W[ce]=J,W[ie]=q,ce=ie);else if(eea(Z,q))W[ce]=Z,W[ee]=q,ce=ee;else break e}}return G}function a(W,G){var q=W.sortIndex-G.sortIndex;return q!==0?q:W.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var u=[],d=[],f=1,g=null,y=3,h=!1,v=!1,E=!1,T=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function _(W){for(var G=n(d);G!==null;){if(G.callback===null)r(d);else if(G.startTime<=W)r(d),G.sortIndex=G.expirationTime,t(u,G);else break;G=n(d)}}function A(W){if(E=!1,_(W),!v)if(n(u)!==null)v=!0,ge();else{var G=n(d);G!==null&&me(A,G.startTime-W)}}var P=!1,N=-1,I=5,L=-1;function j(){return!(e.unstable_now()-LW&&j());){var ce=g.callback;if(typeof ce=="function"){g.callback=null,y=g.priorityLevel;var H=ce(g.expirationTime<=W);if(W=e.unstable_now(),typeof H=="function"){g.callback=H,_(W),G=!0;break t}g===n(u)&&r(u),_(W)}else r(u);g=n(u)}if(g!==null)G=!0;else{var Y=n(d);Y!==null&&me(A,Y.startTime-W),G=!1}}break e}finally{g=null,y=q,h=!1}G=void 0}}finally{G?Q():P=!1}}}var Q;if(typeof k=="function")Q=function(){k(z)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,re=le.port2;le.port1.onmessage=z,Q=function(){re.postMessage(null)}}else Q=function(){T(z,0)};function ge(){P||(P=!0,Q())}function me(W,G){N=T(function(){W(e.unstable_now())},G)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,ge())},e.unstable_forceFrameRate=function(W){0>W||125ce?(W.sortIndex=q,t(d,W),n(u)===null&&W===n(d)&&(E?(C(N),N=-1):E=!0,me(A,q-ce))):(W.sortIndex=H,t(u,W),v||h||(v=!0,ge())),W},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(W){var G=y;return function(){var q=y;y=G;try{return W.apply(this,arguments)}finally{y=q}}}})(bR)),bR}var Q4;function _oe(){return Q4||(Q4=1,yR.exports=xoe()),yR.exports}var wR={exports:{}},Ki={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ var Lie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var w_t=Lie((Ms, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var d4;function zie(){if(d4)return Yi;d4=1;var e=$s();function t(u){var d="https://react.dev/errors/"+u;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),FO.exports=zie(),FO.exports}/** + */var J4;function Ooe(){if(J4)return Ki;J4=1;var e=Fs();function t(u){var d="https://react.dev/errors/"+u;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),wR.exports=Ooe(),wR.exports}/** * @license React * react-dom-client.production.js * @@ -38,15 +38,15 @@ var Lie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var w_t=Lie((Ms, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var p4;function qie(){if(p4)return Ww;p4=1;var e=Wie(),t=$s(),n=GL();function r(s){var c="https://react.dev/errors/"+s;if(1)":-1)":-1x||de[S]!==Pe[x]){var Ke=` -`+de[S].replace(" at new "," at ");return s.displayName&&Ke.includes("")&&(Ke=Ke.replace("",s.displayName)),Ke}while(1<=S&&0<=x);break}}}finally{ge=!1,Error.prepareStackTrace=m}return(m=s?s.displayName||s.name:"")?re(m):""}function W(s){switch(s.tag){case 26:case 27:case 5:return re(s.type);case 16:return re("Lazy");case 13:return re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return s=he(s.type,!1),s;case 11:return s=he(s.type.render,!1),s;case 1:return s=he(s.type,!0),s;default:return""}}function G(s){try{var c="";do c+=W(s),s=s.return;while(s);return c}catch(m){return` -Error generating stack: `+m.message+` -`+m.stack}}function q(s){var c=s,m=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(m=c.return),s=c.return;while(s)}return c.tag===3?m:null}function ce(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function H(s){if(q(s)!==s)throw Error(r(188))}function Y(s){var c=s.alternate;if(!c){if(c=q(s),c===null)throw Error(r(188));return c!==s?null:s}for(var m=s,S=c;;){var x=m.return;if(x===null)break;var M=x.alternate;if(M===null){if(S=x.return,S!==null){m=S;continue}break}if(x.child===M.child){for(M=x.child;M;){if(M===m)return H(x),s;if(M===S)return H(x),c;M=M.sibling}throw Error(r(188))}if(m.return!==S.return)m=x,S=M;else{for(var B=!1,X=x.child;X;){if(X===m){B=!0,m=x,S=M;break}if(X===S){B=!0,S=x,m=M;break}X=X.sibling}if(!B){for(X=M.child;X;){if(X===m){B=!0,m=M,S=x;break}if(X===S){B=!0,S=M,m=x;break}X=X.sibling}if(!B)throw Error(r(189))}}if(m.alternate!==S)throw Error(r(190))}if(m.tag!==3)throw Error(r(188));return m.stateNode.current===m?s:c}function ie(s){var c=s.tag;if(c===5||c===26||c===27||c===6)return s;for(s=s.child;s!==null;){if(c=ie(s),c!==null)return c;s=s.sibling}return null}var Z=Array.isArray,ee=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ue=[],ke=-1;function fe(s){return{current:s}}function xe(s){0>ke||(s.current=ue[ke],ue[ke]=null,ke--)}function Ie(s,c){ke++,ue[ke]=s.current,s.current=c}var qe=fe(null),nt=fe(null),Ge=fe(null),at=fe(null);function Et(s,c){switch(Ie(Ge,c),Ie(nt,s),Ie(qe,null),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)&&(c=c.namespaceURI)?FT(c):0;break;default:if(s=s===8?c.parentNode:c,c=s.tagName,s=s.namespaceURI)s=FT(s),c=jT(s,c);else switch(c){case"svg":c=1;break;case"math":c=2;break;default:c=0}}xe(qe),Ie(qe,c)}function kt(){xe(qe),xe(nt),xe(Ge)}function xt(s){s.memoizedState!==null&&Ie(at,s);var c=qe.current,m=jT(c,s.type);c!==m&&(Ie(nt,s),Ie(qe,m))}function Rt(s){nt.current===s&&(xe(qe),xe(nt)),at.current===s&&(xe(at),ph._currentValue=J)}var cn=Object.prototype.hasOwnProperty,Ht=e.unstable_scheduleCallback,Wt=e.unstable_cancelCallback,Oe=e.unstable_shouldYield,dt=e.unstable_requestPaint,ft=e.unstable_now,ut=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,U=e.unstable_UserBlockingPriority,D=e.unstable_NormalPriority,F=e.unstable_LowPriority,ae=e.unstable_IdlePriority,Te=e.log,Fe=e.unstable_setDisableYieldValue,We=null,Tt=null;function Mt(s){if(Tt&&typeof Tt.onCommitFiberRoot=="function")try{Tt.onCommitFiberRoot(We,s,void 0,(s.current.flags&128)===128)}catch{}}function be(s){if(typeof Te=="function"&&Fe(s),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(We,s)}catch{}}var Ee=Math.clz32?Math.clz32:_t,gt=Math.log,Lt=Math.LN2;function _t(s){return s>>>=0,s===0?32:31-(gt(s)/Lt|0)|0}var Ut=128,On=4194304;function gn(s){var c=s&42;if(c!==0)return c;switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return s&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function ln(s,c){var m=s.pendingLanes;if(m===0)return 0;var S=0,x=s.suspendedLanes,M=s.pingedLanes,B=s.warmLanes;s=s.finishedLanes!==0;var X=m&134217727;return X!==0?(m=X&~x,m!==0?S=gn(m):(M&=X,M!==0?S=gn(M):s||(B=X&~B,B!==0&&(S=gn(B))))):(X=m&~x,X!==0?S=gn(X):M!==0?S=gn(M):s||(B=m&~B,B!==0&&(S=gn(B)))),S===0?0:c!==0&&c!==S&&(c&x)===0&&(x=S&-S,B=c&-c,x>=B||x===32&&(B&4194176)!==0)?c:S}function Bn(s,c){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&c)===0}function oa(s,c){switch(s){case 1:case 2:case 4:case 8:return c+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Xa(){var s=Ut;return Ut<<=1,(Ut&4194176)===0&&(Ut=128),s}function ma(){var s=On;return On<<=1,(On&62914560)===0&&(On=4194304),s}function vn(s){for(var c=[],m=0;31>m;m++)c.push(s);return c}function _a(s,c){s.pendingLanes|=c,c!==268435456&&(s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0)}function Uo(s,c,m,S,x,M){var B=s.pendingLanes;s.pendingLanes=m,s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0,s.expiredLanes&=m,s.entangledLanes&=m,s.errorRecoveryDisabledLanes&=m,s.shellSuspendCounter=0;var X=s.entanglements,de=s.expirationTimes,Pe=s.hiddenUpdates;for(m=B&~m;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xd=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),wv={},bm={};function Qb(s){return cn.call(bm,s)?!0:cn.call(wv,s)?!1:Xd.test(s)?bm[s]=!0:(wv[s]=!0,!1)}function Oc(s,c,m){if(Qb(c))if(m===null)s.removeAttribute(c);else{switch(typeof m){case"undefined":case"function":case"symbol":s.removeAttribute(c);return;case"boolean":var S=c.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-"){s.removeAttribute(c);return}}s.setAttribute(c,""+m)}}function zi(s,c,m){if(m===null)s.removeAttribute(c);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(c);return}s.setAttribute(c,""+m)}}function Wo(s,c,m,S){if(S===null)s.removeAttribute(m);else{switch(typeof S){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(m);return}s.setAttributeNS(c,m,""+S)}}function wi(s){switch(typeof s){case"bigint":case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function Qd(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Tu(s){var c=Qd(s)?"checked":"value",m=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),S=""+s[c];if(!s.hasOwnProperty(c)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var x=m.get,M=m.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return x.call(this)},set:function(B){S=""+B,M.call(this,B)}}),Object.defineProperty(s,c,{enumerable:m.enumerable}),{getValue:function(){return S},setValue:function(B){S=""+B},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function Ws(s){s._valueTracker||(s._valueTracker=Tu(s))}function zs(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var m=c.getValue(),S="";return s&&(S=Qd(s)?s.checked?"true":"false":s.value),s=S,s!==m?(c.setValue(s),!0):!1}function Rc(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}var Zb=/[\n"\\]/g;function Si(s){return s.replace(Zb,function(c){return"\\"+c.charCodeAt(0).toString(16)+" "})}function Zd(s,c,m,S,x,M,B,X){s.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?s.type=B:s.removeAttribute("type"),c!=null?B==="number"?(c===0&&s.value===""||s.value!=c)&&(s.value=""+wi(c)):s.value!==""+wi(c)&&(s.value=""+wi(c)):B!=="submit"&&B!=="reset"||s.removeAttribute("value"),c!=null?wm(s,B,wi(c)):m!=null?wm(s,B,wi(m)):S!=null&&s.removeAttribute("value"),x==null&&M!=null&&(s.defaultChecked=!!M),x!=null&&(s.checked=x&&typeof x!="function"&&typeof x!="symbol"),X!=null&&typeof X!="function"&&typeof X!="symbol"&&typeof X!="boolean"?s.name=""+wi(X):s.removeAttribute("name")}function Jd(s,c,m,S,x,M,B,X){if(M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(s.type=M),c!=null||m!=null){if(!(M!=="submit"&&M!=="reset"||c!=null))return;m=m!=null?""+wi(m):"",c=c!=null?""+wi(c):m,X||c===s.value||(s.value=c),s.defaultValue=c}S=S??x,S=typeof S!="function"&&typeof S!="symbol"&&!!S,s.checked=X?s.checked:!!S,s.defaultChecked=!!S,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(s.name=B)}function wm(s,c,m){c==="number"&&Rc(s.ownerDocument)===s||s.defaultValue===""+m||(s.defaultValue=""+m)}function Pl(s,c,m,S){if(s=s.options,c){c={};for(var x=0;x=cf),Rv=" ",r0=!1;function wE(s,c){switch(s){case"keyup":return uf.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pv(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var _u=!1;function M_(s,c){switch(s){case"compositionend":return Pv(c);case"keypress":return c.which!==32?null:(r0=!0,Rv);case"textInput":return s=c.data,s===Rv&&r0?null:s;default:return null}}function SE(s,c){if(_u)return s==="compositionend"||!n0&&wE(s,c)?(s=Tv(),qs=xu=ls=null,_u=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:m,offset:c-s};s=S}e:{for(;m;){if(m.nextSibling){m=m.nextSibling;break e}m=m.parentNode}m=void 0}m=qo(m)}}function _E(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?_E(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function OE(s){s=s!=null&&s.ownerDocument!=null&&s.ownerDocument.defaultView!=null?s.ownerDocument.defaultView:window;for(var c=Rc(s.document);c instanceof s.HTMLIFrameElement;){try{var m=typeof c.contentWindow.location.href=="string"}catch{m=!1}if(m)s=c.contentWindow;else break;c=Rc(s.document)}return c}function o0(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function L_(s,c){var m=OE(c);c=s.focusedElem;var S=s.selectionRange;if(m!==c&&c&&c.ownerDocument&&_E(c.ownerDocument.documentElement,c)){if(S!==null&&o0(c)){if(s=S.start,m=S.end,m===void 0&&(m=s),"selectionStart"in c)c.selectionStart=s,c.selectionEnd=Math.min(m,c.value.length);else if(m=(s=c.ownerDocument||document)&&s.defaultView||window,m.getSelection){m=m.getSelection();var x=c.textContent.length,M=Math.min(S.start,x);S=S.end===void 0?M:Math.min(S.end,x),!m.extend&&M>S&&(x=S,S=M,M=x),x=i0(c,M);var B=i0(c,S);x&&B&&(m.rangeCount!==1||m.anchorNode!==x.node||m.anchorOffset!==x.offset||m.focusNode!==B.node||m.focusOffset!==B.offset)&&(s=s.createRange(),s.setStart(x.node,x.offset),m.removeAllRanges(),M>S?(m.addRange(s),m.extend(B.node,B.offset)):(s.setEnd(B.node,B.offset),m.addRange(s)))}}for(s=[],m=c;m=m.parentNode;)m.nodeType===1&&s.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,us=null,Ae=null,He=null,Be=!1;function It(s,c,m){var S=m.window===m?m.document:m.nodeType===9?m:m.ownerDocument;Be||us==null||us!==Rc(S)||(S=us,"selectionStart"in S&&o0(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),He&&Gs(He,S)||(He=S,S=vy(Ae,"onSelect"),0>=B,x-=B,Yo=1<<32-Ee(c)+x|m<sn?(or=Yt,Yt=null):or=Yt.sibling;var Yn=Ue(Le,Yt,je[sn],et);if(Yn===null){Yt===null&&(Yt=or);break}s&&Yt&&Yn.alternate===null&&c(Le,Yt),_e=M(Yn,_e,sn),$n===null?$t=Yn:$n.sibling=Yn,$n=Yn,Yt=or}if(sn===je.length)return m(Le,Yt),pn&&Ll(Le,sn),$t;if(Yt===null){for(;snsn?(or=Yt,Yt=null):or=Yt.sibling;var Ju=Ue(Le,Yt,Yn.value,et);if(Ju===null){Yt===null&&(Yt=or);break}s&&Yt&&Ju.alternate===null&&c(Le,Yt),_e=M(Ju,_e,sn),$n===null?$t=Ju:$n.sibling=Ju,$n=Ju,Yt=or}if(Yn.done)return m(Le,Yt),pn&&Ll(Le,sn),$t;if(Yt===null){for(;!Yn.done;sn++,Yn=je.next())Yn=st(Le,Yn.value,et),Yn!==null&&(_e=M(Yn,_e,sn),$n===null?$t=Yn:$n.sibling=Yn,$n=Yn);return pn&&Ll(Le,sn),$t}for(Yt=S(Yt);!Yn.done;sn++,Yn=je.next())Yn=Ve(Yt,Le,sn,Yn.value,et),Yn!==null&&(s&&Yn.alternate!==null&&Yt.delete(Yn.key===null?sn:Yn.key),_e=M(Yn,_e,sn),$n===null?$t=Yn:$n.sibling=Yn,$n=Yn);return s&&Yt.forEach(function(OO){return c(Le,OO)}),pn&&Ll(Le,sn),$t}function Hr(Le,_e,je,et){if(typeof je=="object"&&je!==null&&je.type===u&&je.key===null&&(je=je.props.children),typeof je=="object"&&je!==null){switch(je.$$typeof){case o:e:{for(var $t=je.key;_e!==null;){if(_e.key===$t){if($t=je.type,$t===u){if(_e.tag===7){m(Le,_e.sibling),et=x(_e,je.props.children),et.return=Le,Le=et;break e}}else if(_e.elementType===$t||typeof $t=="object"&&$t!==null&&$t.$$typeof===k&&Am($t)===_e.type){m(Le,_e.sibling),et=x(_e,je.props),K(et,je),et.return=Le,Le=et;break e}m(Le,_e);break}else c(Le,_e);_e=_e.sibling}je.type===u?(et=Gc(je.props.children,Le.mode,et,je.key),et.return=Le,Le=et):(et=eh(je.type,je.key,je.props,null,Le.mode,et),K(et,je),et.return=Le,Le=et)}return B(Le);case l:e:{for($t=je.key;_e!==null;){if(_e.key===$t)if(_e.tag===4&&_e.stateNode.containerInfo===je.containerInfo&&_e.stateNode.implementation===je.implementation){m(Le,_e.sibling),et=x(_e,je.children||[]),et.return=Le,Le=et;break e}else{m(Le,_e);break}else c(Le,_e);_e=_e.sibling}et=ew(je,Le.mode,et),et.return=Le,Le=et}return B(Le);case k:return $t=je._init,je=$t(je._payload),Hr(Le,_e,je,et)}if(Z(je))return Vt(Le,_e,je,et);if(N(je)){if($t=N(je),typeof $t!="function")throw Error(r(150));return je=$t.call(je),mn(Le,_e,je,et)}if(typeof je.then=="function")return Hr(Le,_e,Pm(je),et);if(je.$$typeof===p)return Hr(Le,_e,oy(Le,je),et);Wl(Le,je)}return typeof je=="string"&&je!==""||typeof je=="number"||typeof je=="bigint"?(je=""+je,_e!==null&&_e.tag===6?(m(Le,_e.sibling),et=x(_e,je),et.return=Le,Le=et):(m(Le,_e),et=J0(je,Le.mode,et),et.return=Le,Le=et),B(Le)):m(Le,_e)}return function(Le,_e,je,et){try{Bl=0;var $t=Hr(Le,_e,je,et);return Ul=null,$t}catch(Yt){if(Yt===jl)throw Yt;var $n=So(29,Yt,null,Le.mode);return $n.lanes=et,$n.return=Le,$n}finally{}}}var Cn=mo(!0),DE=mo(!1),vf=fe(null),Bv=fe(0);function Au(s,c){s=Jl,Ie(Bv,s),Ie(vf,c),Jl=s|c.baseLanes}function d0(){Ie(Bv,Jl),Ie(vf,vf.current)}function f0(){Jl=Bv.current,xe(vf),xe(Bv)}var Xo=fe(null),Js=null;function Nu(s){var c=s.alternate;Ie(Aa,Aa.current&1),Ie(Xo,s),Js===null&&(c===null||vf.current!==null||c.memoizedState!==null)&&(Js=s)}function el(s){if(s.tag===22){if(Ie(Aa,Aa.current),Ie(Xo,s),Js===null){var c=s.alternate;c!==null&&c.memoizedState!==null&&(Js=s)}}else Mu()}function Mu(){Ie(Aa,Aa.current),Ie(Xo,Xo.current)}function zl(s){xe(Xo),Js===s&&(Js=null),xe(Aa)}var Aa=fe(0);function Wv(s){for(var c=s;c!==null;){if(c.tag===13){var m=c.memoizedState;if(m!==null&&(m=m.dehydrated,m===null||m.data==="$?"||m.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var U_=typeof AbortController<"u"?AbortController:function(){var s=[],c=this.signal={aborted:!1,addEventListener:function(m,S){s.push(S)}};this.abort=function(){c.aborted=!0,s.forEach(function(m){return m()})}},ql=e.unstable_scheduleCallback,B_=e.unstable_NormalPriority,Na={$$typeof:p,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function p0(){return{controller:new U_,data:new Map,refCount:0}}function Nm(s){s.refCount--,s.refCount===0&&ql(B_,function(){s.controller.abort()})}var Mm=null,Hl=0,yf=0,bf=null;function fs(s,c){if(Mm===null){var m=Mm=[];Hl=0,yf=vw(),bf={status:"pending",value:void 0,then:function(S){m.push(S)}}}return Hl++,c.then($E,$E),c}function $E(){if(--Hl===0&&Mm!==null){bf!==null&&(bf.status="fulfilled");var s=Mm;Mm=null,yf=0,bf=null;for(var c=0;cM?M:8;var B=j.T,X={};j.T=X,_f(s,!1,c,m);try{var de=x(),Pe=j.S;if(Pe!==null&&Pe(X,de),de!==null&&typeof de=="object"&&typeof de.then=="function"){var Ke=W_(de,S);Um(s,c,Ke,To(s))}else Um(s,c,S,To(s))}catch(st){Um(s,c,{then:function(){},status:"rejected",reason:st},To())}finally{ee.p=M,j.T=B}}function q_(){}function jm(s,c,m,S){if(s.tag!==5)throw Error(r(476));var x=Rn(s).queue;Qv(s,x,c,J,m===null?q_:function(){return XE(s),m(S)})}function Rn(s){var c=s.memoizedState;if(c!==null)return c;c={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:J},next:null};var m={};return c.next={memoizedState:m,baseState:m,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:m},next:null},s.memoizedState=c,s=s.alternate,s!==null&&(s.memoizedState=c),c}function XE(s){var c=Rn(s).next.queue;Um(s,c,{},To())}function R0(){return ui(ph)}function xf(){return la().memoizedState}function P0(){return la().memoizedState}function H_(s){for(var c=s.return;c!==null;){switch(c.tag){case 24:case 3:var m=To();s=ys(m);var S=vo(c,s,m);S!==null&&(di(S,c,m),Qt(S,c,m)),c={cache:p0()},s.payload=c;return}c=c.return}}function V_(s,c,m){var S=To();m={lane:S,revertLane:0,action:m,hasEagerState:!1,eagerState:null,next:null},Of(s)?A0(c,m):(m=Ys(s,c,m,S),m!==null&&(di(m,s,S),N0(m,c,S)))}function go(s,c,m){var S=To();Um(s,c,m,S)}function Um(s,c,m,S){var x={lane:S,revertLane:0,action:m,hasEagerState:!1,eagerState:null,next:null};if(Of(s))A0(c,x);else{var M=s.alternate;if(s.lanes===0&&(M===null||M.lanes===0)&&(M=c.lastRenderedReducer,M!==null))try{var B=c.lastRenderedState,X=M(B,m);if(x.hasEagerState=!0,x.eagerState=X,fo(X,B))return Nc(s,c,x,0),Tr===null&&$v(),!1}catch{}finally{}if(m=Ys(s,c,x,S),m!==null)return di(m,s,S),N0(m,c,S),!0}return!1}function _f(s,c,m,S){if(S={lane:2,revertLane:vw(),action:S,hasEagerState:!1,eagerState:null,next:null},Of(s)){if(c)throw Error(r(479))}else c=Ys(s,m,S,2),c!==null&&di(c,s,2)}function Of(s){var c=s.alternate;return s===An||c!==null&&c===An}function A0(s,c){wf=Bc=!0;var m=s.pending;m===null?c.next=c:(c.next=m.next,m.next=c),s.pending=c}function N0(s,c,m){if((m&4194176)!==0){var S=c.lanes;S&=s.pendingLanes,m|=S,c.lanes=m,Ra(s,m)}}var Xr={readContext:ui,use:Dm,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useLayoutEffect:er,useInsertionEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useSyncExternalStore:er,useId:er};Xr.useCacheRefresh=er,Xr.useMemoCache=er,Xr.useHostTransitionStatus=er,Xr.useFormState=er,Xr.useActionState=er,Xr.useOptimistic=er;var Hi={readContext:ui,use:Dm,useCallback:function(s,c){return qi().memoizedState=[s,c===void 0?null:c],s},useContext:ui,useEffect:T0,useImperativeHandle:function(s,c,m){m=m!=null?m.concat([s]):null,kf(4194308,4,C0.bind(null,c,s),m)},useLayoutEffect:function(s,c){return kf(4194308,4,s,c)},useInsertionEffect:function(s,c){kf(4,2,s,c)},useMemo:function(s,c){var m=qi();c=c===void 0?null:c;var S=s();if(Du){be(!0);try{s()}finally{be(!1)}}return m.memoizedState=[S,c],S},useReducer:function(s,c,m){var S=qi();if(m!==void 0){var x=m(c);if(Du){be(!0);try{m(c)}finally{be(!1)}}}else x=c;return S.memoizedState=S.baseState=x,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:x},S.queue=s,s=s.dispatch=V_.bind(null,An,s),[S.memoizedState,s]},useRef:function(s){var c=qi();return s={current:s},c.memoizedState=s},useState:function(s){s=b0(s);var c=s.queue,m=go.bind(null,An,c);return c.dispatch=m,[s.memoizedState,m]},useDebugValue:x0,useDeferredValue:function(s,c){var m=qi();return Fm(m,s,c)},useTransition:function(){var s=b0(!1);return s=Qv.bind(null,An,s.queue,!0,!1),qi().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,c,m){var S=An,x=qi();if(pn){if(m===void 0)throw Error(r(407));m=m()}else{if(m=c(),Tr===null)throw Error(r(349));(Gn&60)!==0||Gv(S,c,m)}x.memoizedState=m;var M={value:m,getSnapshot:c};return x.queue=M,T0(jE.bind(null,S,M,s),[s]),S.flags|=2048,Fu(9,FE.bind(null,S,M,m,c),{destroy:void 0},null),m},useId:function(){var s=qi(),c=Tr.identifierPrefix;if(pn){var m=Ko,S=Yo;m=(S&~(1<<32-Ee(S)-1)).toString(32)+m,c=":"+c+"R"+m,m=zv++,0 title"))),ei(M,S,m),M[ye]=s,lr(M),S=M;break e;case"link":var B=HT("link","href",x).get(S+(m.href||""));if(B){for(var X=0;X<\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof S.is=="string"?x.createElement("select",{is:S.is}):x.createElement("select"),S.multiple?s.multiple=!0:S.size&&(s.size=S.size);break;default:s=typeof S.is=="string"?x.createElement(m,{is:S.is}):x.createElement(m)}}s[ye]=c,s[Se]=S;e:for(x=c.child;x!==null;){if(x.tag===5||x.tag===6)s.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===c)break e;for(;x.sibling===null;){if(x.return===null||x.return===c)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}c.stateNode=s;e:switch(ei(s,m,S),m){case"button":case"input":case"select":case"textarea":s=!!S.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Ql(c)}}return Wr(c),c.flags&=-16777217,null;case 6:if(s&&c.stateNode!=null)s.memoizedProps!==S&&Ql(c);else{if(typeof S!="string"&&c.stateNode===null)throw Error(r(166));if(s=Ge.current,jc(c)){if(s=c.stateNode,m=c.memoizedProps,S=null,x=Ci,x!==null)switch(x.tag){case 27:case 5:S=x.memoizedProps}s[ye]=c,s=!!(s.nodeValue===m||S!==null&&S.suppressHydrationWarning===!0||bn(s.nodeValue,m)),s||Fc(c)}else s=by(s).createTextNode(S),s[ye]=c,c.stateNode=s}return Wr(c),null;case 13:if(S=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(x=jc(c),S!==null&&S.dehydrated!==null){if(s===null){if(!x)throw Error(r(318));if(x=c.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(r(317));x[ye]=c}else Zs(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Wr(c),x=!1}else ds!==null&&(Wf(ds),ds=null),x=!0;if(!x)return c.flags&256?(zl(c),c):(zl(c),null)}if(zl(c),(c.flags&128)!==0)return c.lanes=m,c;if(m=S!==null,s=s!==null&&s.memoizedState!==null,m){S=c.child,x=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(x=S.alternate.memoizedState.cachePool.pool);var M=null;S.memoizedState!==null&&S.memoizedState.cachePool!==null&&(M=S.memoizedState.cachePool.pool),M!==x&&(S.flags|=2048)}return m!==s&&m&&(c.child.flags|=8192),_i(c,c.updateQueue),Wr(c),null;case 4:return kt(),s===null&&Ew(c.stateNode.containerInfo),Wr(c),null;case 10:return nl(c.type),Wr(c),null;case 19:if(xe(Aa),x=c.memoizedState,x===null)return Wr(c),null;if(S=(c.flags&128)!==0,M=x.rendering,M===null)if(S)th(x,!1);else{if(Zr!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(M=Wv(s),M!==null){for(c.flags|=128,th(x,!1),s=M.updateQueue,c.updateQueue=s,_i(c,s),c.subtreeFlags=0,s=m,m=c.child;m!==null;)hT(m,s),m=m.sibling;return Ie(Aa,Aa.current&1|2),c.child}s=s.sibling}x.tail!==null&&ft()>dy&&(c.flags|=128,S=!0,th(x,!1),c.lanes=4194304)}else{if(!S)if(s=Wv(M),s!==null){if(c.flags|=128,S=!0,s=s.updateQueue,c.updateQueue=s,_i(c,s),th(x,!0),x.tail===null&&x.tailMode==="hidden"&&!M.alternate&&!pn)return Wr(c),null}else 2*ft()-x.renderingStartTime>dy&&m!==536870912&&(c.flags|=128,S=!0,th(x,!1),c.lanes=4194304);x.isBackwards?(M.sibling=c.child,c.child=M):(s=x.last,s!==null?s.sibling=M:c.child=M,x.last=M)}return x.tail!==null?(c=x.tail,x.rendering=c,x.tail=c.sibling,x.renderingStartTime=ft(),c.sibling=null,s=Aa.current,Ie(Aa,S?s&1|2:s&1),c):(Wr(c),null);case 22:case 23:return zl(c),f0(),S=c.memoizedState!==null,s!==null?s.memoizedState!==null!==S&&(c.flags|=8192):S&&(c.flags|=8192),S?(m&536870912)!==0&&(c.flags&128)===0&&(Wr(c),c.subtreeFlags&6&&(c.flags|=8192)):Wr(c),m=c.updateQueue,m!==null&&_i(c,m.retryQueue),m=null,s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),S=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(S=c.memoizedState.cachePool.pool),S!==m&&(c.flags|=2048),s!==null&&xe(Uc),null;case 24:return m=null,s!==null&&(m=s.memoizedState.cache),c.memoizedState.cache!==m&&(c.flags|=2048),nl(Na),Wr(c),null;case 25:return null}throw Error(r(156,c.tag))}function yT(s,c){switch(c0(c),c.tag){case 1:return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return nl(Na),kt(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 26:case 27:case 5:return Rt(c),null;case 13:if(zl(c),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(r(340));Zs()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return xe(Aa),null;case 4:return kt(),null;case 10:return nl(c.type),null;case 22:case 23:return zl(c),f0(),s!==null&&xe(Uc),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 24:return nl(Na),null;case 25:return null;default:return null}}function bT(s,c){switch(c0(c),c.tag){case 3:nl(Na),kt();break;case 26:case 27:case 5:Rt(c);break;case 4:kt();break;case 13:zl(c);break;case 19:xe(Aa);break;case 10:nl(c.type);break;case 22:case 23:zl(c),f0(),s!==null&&xe(Uc);break;case 24:nl(Na)}}var X_={getCacheForType:function(s){var c=ui(Na),m=c.data.get(s);return m===void 0&&(m=s(),c.data.set(s,m)),m}},Q_=typeof WeakMap=="function"?WeakMap:Map,zr=0,Tr=null,Un=null,Gn=0,Nr=0,Eo=null,Zl=!1,Uf=!1,tw=!1,Jl=0,Zr=0,Gu=0,Yc=0,nw=0,Zo=0,Bf=0,nh=null,sl=null,rw=!1,aw=0,dy=1/0,fy=null,ll=null,rh=!1,Kc=null,ah=0,iw=0,ow=null,ih=0,sw=null;function To(){if((zr&2)!==0&&Gn!==0)return Gn&-Gn;if(j.T!==null){var s=yf;return s!==0?s:vw()}return we()}function wT(){Zo===0&&(Zo=(Gn&536870912)===0||pn?Xa():536870912);var s=Xo.current;return s!==null&&(s.flags|=32),Zo}function di(s,c,m){(s===Tr&&Nr===2||s.cancelPendingCommit!==null)&&(zf(s,0),eu(s,Gn,Zo,!1)),_a(s,m),((zr&2)===0||s!==Tr)&&(s===Tr&&((zr&2)===0&&(Yc|=m),Zr===4&&eu(s,Gn,Zo,!1)),Ss(s))}function ST(s,c,m){if((zr&6)!==0)throw Error(r(327));var S=!m&&(c&60)===0&&(c&s.expiredLanes)===0||Bn(s,c),x=S?eO(s,c):cw(s,c,!0),M=S;do{if(x===0){Uf&&!S&&eu(s,c,0,!1);break}else if(x===6)eu(s,c,0,!Zl);else{if(m=s.current.alternate,M&&!Z_(m)){x=cw(s,c,!1),M=!1;continue}if(x===2){if(M=c,s.errorRecoveryDisabledLanes&M)var B=0;else B=s.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){c=B;e:{var X=s;x=nh;var de=X.current.memoizedState.isDehydrated;if(de&&(zf(X,B).flags|=256),B=cw(X,B,!1),B!==2){if(tw&&!de){X.errorRecoveryDisabledLanes|=M,Yc|=M,x=4;break e}M=sl,sl=x,M!==null&&Wf(M)}x=B}if(M=!1,x!==2)continue}}if(x===1){zf(s,0),eu(s,c,0,!0);break}e:{switch(S=s,x){case 0:case 1:throw Error(r(345));case 4:if((c&4194176)===c){eu(S,c,Zo,!Zl);break e}break;case 2:sl=null;break;case 3:case 5:break;default:throw Error(r(329))}if(S.finishedWork=m,S.finishedLanes=c,(c&62914560)===c&&(M=aw+300-ft(),10m?32:m,j.T=null,Kc===null)var M=!1;else{m=ow,ow=null;var B=Kc,X=ah;if(Kc=null,ah=0,(zr&6)!==0)throw Error(r(331));var de=zr;if(zr|=4,pT(B.current),cT(B,B.current,X,m),zr=de,Zc(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(We,B)}catch{}M=!0}return M}finally{ee.p=x,j.T=S,PT(s,c)}}return!1}function AT(s,c,m){c=Ti(m,c),c=Wm(s.stateNode,c,2),s=vo(s,c,2),s!==null&&(_a(s,2),Ss(s))}function _r(s,c,m){if(s.tag===3)AT(s,s,m);else for(;c!==null;){if(c.tag===3){AT(c,s,m);break}else if(c.tag===1){var S=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(ll===null||!ll.has(S))){s=Ti(m,s),m=ZE(2),S=vo(c,m,2),S!==null&&(JE(m,S,c,s),_a(S,2),Ss(S));break}}c=c.return}}function dw(s,c,m){var S=s.pingCache;if(S===null){S=s.pingCache=new Q_;var x=new Set;S.set(c,x)}else x=S.get(c),x===void 0&&(x=new Set,S.set(c,x));x.has(m)||(tw=!0,x.add(m),s=rO.bind(null,s,c,m),c.then(s,s))}function rO(s,c,m){var S=s.pingCache;S!==null&&S.delete(c),s.pingedLanes|=s.suspendedLanes&m,s.warmLanes&=~m,Tr===s&&(Gn&m)===m&&(Zr===4||Zr===3&&(Gn&62914560)===Gn&&300>ft()-aw?(zr&2)===0&&zf(s,0):nw|=m,Bf===Gn&&(Bf=0)),Ss(s)}function NT(s,c){c===0&&(c=ma()),s=cs(s,c),s!==null&&(_a(s,c),Ss(s))}function aO(s){var c=s.memoizedState,m=0;c!==null&&(m=c.retryLane),NT(s,m)}function iO(s,c){var m=0;switch(s.tag){case 13:var S=s.stateNode,x=s.memoizedState;x!==null&&(m=x.retryLane);break;case 19:S=s.stateNode;break;case 22:S=s.stateNode._retryCache;break;default:throw Error(r(314))}S!==null&&S.delete(c),NT(s,m)}function oO(s,c){return Ht(s,c)}var my=null,qf=null,fw=!1,Qc=!1,pw=!1,Yu=0;function Ss(s){s!==qf&&s.next===null&&(qf===null?my=qf=s:qf=qf.next=s),Qc=!0,fw||(fw=!0,sO(MT))}function Zc(s,c){if(!pw&&Qc){pw=!0;do for(var m=!1,S=my;S!==null;){if(s!==0){var x=S.pendingLanes;if(x===0)var M=0;else{var B=S.suspendedLanes,X=S.pingedLanes;M=(1<<31-Ee(42|s)+1)-1,M&=x&~(B&~X),M=M&201326677?M&201326677|1:M?M|2:0}M!==0&&(m=!0,gw(S,M))}else M=Gn,M=ln(S,S===Tr?M:0),(M&3)===0||Bn(S,M)||(m=!0,gw(S,M));S=S.next}while(m);pw=!1}}function MT(){Qc=fw=!1;var s=0;Yu!==0&&(nu()&&(s=Yu),Yu=0);for(var c=ft(),m=null,S=my;S!==null;){var x=S.next,M=mw(S,c);M===0?(S.next=null,m===null?my=x:m.next=x,x===null&&(qf=m)):(m=S,(s!==0||(M&3)!==0)&&(Qc=!0)),S=x}Zc(s)}function mw(s,c){for(var m=s.suspendedLanes,S=s.pingedLanes,x=s.expirationTimes,M=s.pendingLanes&-62914561;0"u"?null:document;function WT(s,c,m){var S=Ts;if(S&&typeof c=="string"&&c){var x=Si(c);x='link[rel="'+s+'"][href="'+x+'"]',typeof m=="string"&&(x+='[crossorigin="'+m+'"]'),Sy.has(x)||(Sy.add(x),s={rel:s,crossOrigin:m,href:c},S.querySelector(x)===null&&(c=S.createElement("link"),ei(c,"link",s),lr(c),S.head.appendChild(c)))}}function pO(s){ul.D(s),WT("dns-prefetch",s,null)}function mO(s,c){ul.C(s,c),WT("preconnect",s,c)}function hO(s,c,m){ul.L(s,c,m);var S=Ts;if(S&&s&&c){var x='link[rel="preload"][as="'+Si(c)+'"]';c==="image"&&m&&m.imageSrcSet?(x+='[imagesrcset="'+Si(m.imageSrcSet)+'"]',typeof m.imageSizes=="string"&&(x+='[imagesizes="'+Si(m.imageSizes)+'"]')):x+='[href="'+Si(s)+'"]';var M=x;switch(c){case"style":M=ti(s);break;case"script":M=Gf(s)}fi.has(M)||(s=z({rel:"preload",href:c==="image"&&m&&m.imageSrcSet?void 0:s,as:c},m),fi.set(M,s),S.querySelector(x)!==null||c==="style"&&S.querySelector(Vf(M))||c==="script"&&S.querySelector(Yf(M))||(c=S.createElement("link"),ei(c,"link",s),lr(c),S.head.appendChild(c)))}}function gO(s,c){ul.m(s,c);var m=Ts;if(m&&s){var S=c&&typeof c.as=="string"?c.as:"script",x='link[rel="modulepreload"][as="'+Si(S)+'"][href="'+Si(s)+'"]',M=x;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":M=Gf(s)}if(!fi.has(M)&&(s=z({rel:"modulepreload",href:s},c),fi.set(M,s),m.querySelector(x)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(m.querySelector(Yf(M)))return}S=m.createElement("link"),ei(S,"link",s),lr(S),m.head.appendChild(S)}}}function zT(s,c,m){ul.S(s,c,m);var S=Ts;if(S&&s){var x=Pr(S).hoistableStyles,M=ti(s);c=c||"default";var B=x.get(M);if(!B){var X={loading:0,preload:null};if(B=S.querySelector(Vf(M)))X.loading=5;else{s=z({rel:"stylesheet",href:s,"data-precedence":c},m),(m=fi.get(M))&&Nw(s,m);var de=B=S.createElement("link");lr(de),ei(de,"link",s),de._p=new Promise(function(Pe,Ke){de.onload=Pe,de.onerror=Ke}),de.addEventListener("load",function(){X.loading|=1}),de.addEventListener("error",function(){X.loading|=2}),X.loading|=4,Cy(B,c,S)}B={type:"stylesheet",instance:B,count:1,state:X},x.set(M,B)}}}function ru(s,c){ul.X(s,c);var m=Ts;if(m&&s){var S=Pr(m).hoistableScripts,x=Gf(s),M=S.get(x);M||(M=m.querySelector(Yf(x)),M||(s=z({src:s,async:!0},c),(c=fi.get(x))&&Mw(s,c),M=m.createElement("script"),lr(M),ei(M,"link",s),m.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},S.set(x,M))}}function _n(s,c){ul.M(s,c);var m=Ts;if(m&&s){var S=Pr(m).hoistableScripts,x=Gf(s),M=S.get(x);M||(M=m.querySelector(Yf(x)),M||(s=z({src:s,async:!0,type:"module"},c),(c=fi.get(x))&&Mw(s,c),M=m.createElement("script"),lr(M),ei(M,"link",s),m.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},S.set(x,M))}}function Aw(s,c,m,S){var x=(x=Ge.current)?Ey(x):null;if(!x)throw Error(r(446));switch(s){case"meta":case"title":return null;case"style":return typeof m.precedence=="string"&&typeof m.href=="string"?(c=ti(m.href),m=Pr(x).hoistableStyles,S=m.get(c),S||(S={type:"style",instance:null,count:0,state:null},m.set(c,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(m.rel==="stylesheet"&&typeof m.href=="string"&&typeof m.precedence=="string"){s=ti(m.href);var M=Pr(x).hoistableStyles,B=M.get(s);if(B||(x=x.ownerDocument||x,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},M.set(s,B),(M=x.querySelector(Vf(s)))&&!M._p&&(B.instance=M,B.state.loading=5),fi.has(s)||(m={rel:"preload",as:"style",href:m.href,crossOrigin:m.crossOrigin,integrity:m.integrity,media:m.media,hrefLang:m.hrefLang,referrerPolicy:m.referrerPolicy},fi.set(s,m),M||fr(x,s,m,B.state))),c&&S===null)throw Error(r(528,""));return B}if(c&&S!==null)throw Error(r(529,""));return null;case"script":return c=m.async,m=m.src,typeof m=="string"&&c&&typeof c!="function"&&typeof c!="symbol"?(c=Gf(m),m=Pr(x).hoistableScripts,S=m.get(c),S||(S={type:"script",instance:null,count:0,state:null},m.set(c,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,s))}}function ti(s){return'href="'+Si(s)+'"'}function Vf(s){return'link[rel="stylesheet"]['+s+"]"}function qT(s){return z({},s,{"data-precedence":s.precedence,precedence:null})}function fr(s,c,m,S){s.querySelector('link[rel="preload"][as="style"]['+c+"]")?S.loading=1:(c=s.createElement("link"),S.preload=c,c.addEventListener("load",function(){return S.loading|=1}),c.addEventListener("error",function(){return S.loading|=2}),ei(c,"link",m),lr(c),s.head.appendChild(c))}function Gf(s){return'[src="'+Si(s)+'"]'}function Yf(s){return"script[async]"+s}function dh(s,c,m){if(c.count++,c.instance===null)switch(c.type){case"style":var S=s.querySelector('style[data-href~="'+Si(m.href)+'"]');if(S)return c.instance=S,lr(S),S;var x=z({},m,{"data-href":m.href,"data-precedence":m.precedence,href:null,precedence:null});return S=(s.ownerDocument||s).createElement("style"),lr(S),ei(S,"style",x),Cy(S,m.precedence,s),c.instance=S;case"stylesheet":x=ti(m.href);var M=s.querySelector(Vf(x));if(M)return c.state.loading|=4,c.instance=M,lr(M),M;S=qT(m),(x=fi.get(x))&&Nw(S,x),M=(s.ownerDocument||s).createElement("link"),lr(M);var B=M;return B._p=new Promise(function(X,de){B.onload=X,B.onerror=de}),ei(M,"link",S),c.state.loading|=4,Cy(M,m.precedence,s),c.instance=M;case"script":return M=Gf(m.src),(x=s.querySelector(Yf(M)))?(c.instance=x,lr(x),x):(S=m,(x=fi.get(M))&&(S=z({},m),Mw(S,x)),s=s.ownerDocument||s,x=s.createElement("script"),lr(x),ei(x,"link",S),s.head.appendChild(x),c.instance=x);case"void":return null;default:throw Error(r(443,c.type))}else c.type==="stylesheet"&&(c.state.loading&4)===0&&(S=c.instance,c.state.loading|=4,Cy(S,m.precedence,s));return c.instance}function Cy(s,c,m){for(var S=m.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=S.length?S[S.length-1]:null,M=x,B=0;B title"):null)}function vO(s,c,m){if(m===1||c.itemProp!=null)return!1;switch(s){case"meta":case"title":return!0;case"style":if(typeof c.precedence!="string"||typeof c.href!="string"||c.href==="")break;return!0;case"link":if(typeof c.rel!="string"||typeof c.href!="string"||c.href===""||c.onLoad||c.onError)break;switch(c.rel){case"stylesheet":return s=c.disabled,typeof c.precedence=="string"&&s==null;default:return!0}case"script":if(c.async&&typeof c.async!="function"&&typeof c.async!="symbol"&&!c.onLoad&&!c.onError&&c.src&&typeof c.src=="string")return!0}return!1}function GT(s){return!(s.type==="stylesheet"&&(s.state.loading&3)===0)}var fh=null;function yO(){}function bO(s,c,m){if(fh===null)throw Error(r(475));var S=fh;if(c.type==="stylesheet"&&(typeof m.media!="string"||matchMedia(m.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var x=ti(m.href),M=s.querySelector(Vf(x));if(M){s=M._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(S.count++,S=xy.bind(S),s.then(S,S)),c.state.loading|=4,c.instance=M,lr(M);return}M=s.ownerDocument||s,m=qT(m),(x=fi.get(x))&&Nw(m,x),M=M.createElement("link"),lr(M);var B=M;B._p=new Promise(function(X,de){B.onload=X,B.onerror=de}),ei(M,"link",m),c.instance=M}S.stylesheets===null&&(S.stylesheets=new Map),S.stylesheets.set(c,s),(s=c.state.preload)&&(c.state.loading&3)===0&&(S.count++,c=xy.bind(S),s.addEventListener("load",c),s.addEventListener("error",c))}}function wO(){if(fh===null)throw Error(r(475));var s=fh;return s.stylesheets&&s.count===0&&Iw(s,s.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),DO.exports=qie(),DO.exports}var Vie=Hie();const Gie=Sc(Vie);var fc=GL();const Yie=Sc(fc);/** +`+de[S].replace(" at new "," at ");return s.displayName&&Ke.includes("")&&(Ke=Ke.replace("",s.displayName)),Ke}while(1<=S&&0<=x);break}}}finally{ge=!1,Error.prepareStackTrace=p}return(p=s?s.displayName||s.name:"")?re(p):""}function W(s){switch(s.tag){case 26:case 27:case 5:return re(s.type);case 16:return re("Lazy");case 13:return re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return s=me(s.type,!1),s;case 11:return s=me(s.type.render,!1),s;case 1:return s=me(s.type,!0),s;default:return""}}function G(s){try{var c="";do c+=W(s),s=s.return;while(s);return c}catch(p){return` +Error generating stack: `+p.message+` +`+p.stack}}function q(s){var c=s,p=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(p=c.return),s=c.return;while(s)}return c.tag===3?p:null}function ce(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function H(s){if(q(s)!==s)throw Error(r(188))}function Y(s){var c=s.alternate;if(!c){if(c=q(s),c===null)throw Error(r(188));return c!==s?null:s}for(var p=s,S=c;;){var x=p.return;if(x===null)break;var M=x.alternate;if(M===null){if(S=x.return,S!==null){p=S;continue}break}if(x.child===M.child){for(M=x.child;M;){if(M===p)return H(x),s;if(M===S)return H(x),c;M=M.sibling}throw Error(r(188))}if(p.return!==S.return)p=x,S=M;else{for(var B=!1,X=x.child;X;){if(X===p){B=!0,p=x,S=M;break}if(X===S){B=!0,S=x,p=M;break}X=X.sibling}if(!B){for(X=M.child;X;){if(X===p){B=!0,p=M,S=x;break}if(X===S){B=!0,S=M,p=x;break}X=X.sibling}if(!B)throw Error(r(189))}}if(p.alternate!==S)throw Error(r(190))}if(p.tag!==3)throw Error(r(188));return p.stateNode.current===p?s:c}function ie(s){var c=s.tag;if(c===5||c===26||c===27||c===6)return s;for(s=s.child;s!==null;){if(c=ie(s),c!==null)return c;s=s.sibling}return null}var J=Array.isArray,ee=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},ue=[],ke=-1;function fe(s){return{current:s}}function xe(s){0>ke||(s.current=ue[ke],ue[ke]=null,ke--)}function Ie(s,c){ke++,ue[ke]=s.current,s.current=c}var qe=fe(null),tt=fe(null),Ge=fe(null),at=fe(null);function Et(s,c){switch(Ie(Ge,c),Ie(tt,s),Ie(qe,null),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)&&(c=c.namespaceURI)?wC(c):0;break;default:if(s=s===8?c.parentNode:c,c=s.tagName,s=s.namespaceURI)s=wC(s),c=SC(s,c);else switch(c){case"svg":c=1;break;case"math":c=2;break;default:c=0}}xe(qe),Ie(qe,c)}function kt(){xe(qe),xe(tt),xe(Ge)}function xt(s){s.memoizedState!==null&&Ie(at,s);var c=qe.current,p=SC(c,s.type);c!==p&&(Ie(tt,s),Ie(qe,p))}function Rt(s){tt.current===s&&(xe(qe),xe(tt)),at.current===s&&(xe(at),Cm._currentValue=Z)}var cn=Object.prototype.hasOwnProperty,qt=e.unstable_scheduleCallback,Wt=e.unstable_cancelCallback,Oe=e.unstable_shouldYield,dt=e.unstable_requestPaint,ft=e.unstable_now,ut=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,U=e.unstable_UserBlockingPriority,D=e.unstable_NormalPriority,F=e.unstable_LowPriority,ae=e.unstable_IdlePriority,Te=e.log,Fe=e.unstable_setDisableYieldValue,We=null,Tt=null;function Mt(s){if(Tt&&typeof Tt.onCommitFiberRoot=="function")try{Tt.onCommitFiberRoot(We,s,void 0,(s.current.flags&128)===128)}catch{}}function be(s){if(typeof Te=="function"&&Fe(s),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(We,s)}catch{}}var Ee=Math.clz32?Math.clz32:_t,gt=Math.log,Lt=Math.LN2;function _t(s){return s>>>=0,s===0?32:31-(gt(s)/Lt|0)|0}var Ut=128,On=4194304;function gn(s){var c=s&42;if(c!==0)return c;switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return s&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function ln(s,c){var p=s.pendingLanes;if(p===0)return 0;var S=0,x=s.suspendedLanes,M=s.pingedLanes,B=s.warmLanes;s=s.finishedLanes!==0;var X=p&134217727;return X!==0?(p=X&~x,p!==0?S=gn(p):(M&=X,M!==0?S=gn(M):s||(B=X&~B,B!==0&&(S=gn(B))))):(X=p&~x,X!==0?S=gn(X):M!==0?S=gn(M):s||(B=p&~B,B!==0&&(S=gn(B)))),S===0?0:c!==0&&c!==S&&(c&x)===0&&(x=S&-S,B=c&-c,x>=B||x===32&&(B&4194176)!==0)?c:S}function Bn(s,c){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&c)===0}function oa(s,c){switch(s){case 1:case 2:case 4:case 8:return c+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qa(){var s=Ut;return Ut<<=1,(Ut&4194176)===0&&(Ut=128),s}function ha(){var s=On;return On<<=1,(On&62914560)===0&&(On=4194304),s}function vn(s){for(var c=[],p=0;31>p;p++)c.push(s);return c}function _a(s,c){s.pendingLanes|=c,c!==268435456&&(s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0)}function Bo(s,c,p,S,x,M){var B=s.pendingLanes;s.pendingLanes=p,s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0,s.expiredLanes&=p,s.entangledLanes&=p,s.errorRecoveryDisabledLanes&=p,s.shellSuspendCounter=0;var X=s.entanglements,de=s.expirationTimes,Pe=s.hiddenUpdates;for(p=B&~p;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),of=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Yv={},Ph={};function x0(s){return cn.call(Ph,s)?!0:cn.call(Yv,s)?!1:of.test(s)?Ph[s]=!0:(Yv[s]=!0,!1)}function Dc(s,c,p){if(x0(c))if(p===null)s.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":s.removeAttribute(c);return;case"boolean":var S=c.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-"){s.removeAttribute(c);return}}s.setAttribute(c,""+p)}}function qi(s,c,p){if(p===null)s.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(c);return}s.setAttribute(c,""+p)}}function zo(s,c,p,S){if(S===null)s.removeAttribute(p);else{switch(typeof S){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(p);return}s.setAttributeNS(c,p,""+S)}}function Si(s){switch(typeof s){case"bigint":case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function sf(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Au(s){var c=sf(s)?"checked":"value",p=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),S=""+s[c];if(!s.hasOwnProperty(c)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var x=p.get,M=p.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return x.call(this)},set:function(B){S=""+B,M.call(this,B)}}),Object.defineProperty(s,c,{enumerable:p.enumerable}),{getValue:function(){return S},setValue:function(B){S=""+B},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function Hs(s){s._valueTracker||(s._valueTracker=Au(s))}function Vs(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var p=c.getValue(),S="";return s&&(S=sf(s)?s.checked?"true":"false":s.value),s=S,s!==p?(c.setValue(s),!0):!1}function $c(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}var _0=/[\n"\\]/g;function Ei(s){return s.replace(_0,function(c){return"\\"+c.charCodeAt(0).toString(16)+" "})}function lf(s,c,p,S,x,M,B,X){s.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?s.type=B:s.removeAttribute("type"),c!=null?B==="number"?(c===0&&s.value===""||s.value!=c)&&(s.value=""+Si(c)):s.value!==""+Si(c)&&(s.value=""+Si(c)):B!=="submit"&&B!=="reset"||s.removeAttribute("value"),c!=null?Ah(s,B,Si(c)):p!=null?Ah(s,B,Si(p)):S!=null&&s.removeAttribute("value"),x==null&&M!=null&&(s.defaultChecked=!!M),x!=null&&(s.checked=x&&typeof x!="function"&&typeof x!="symbol"),X!=null&&typeof X!="function"&&typeof X!="symbol"&&typeof X!="boolean"?s.name=""+Si(X):s.removeAttribute("name")}function uf(s,c,p,S,x,M,B,X){if(M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(s.type=M),c!=null||p!=null){if(!(M!=="submit"&&M!=="reset"||c!=null))return;p=p!=null?""+Si(p):"",c=c!=null?""+Si(c):p,X||c===s.value||(s.value=c),s.defaultValue=c}S=S??x,S=typeof S!="function"&&typeof S!="symbol"&&!!S,s.checked=X?s.checked:!!S,s.defaultChecked=!!S,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(s.name=B)}function Ah(s,c,p){c==="number"&&$c(s.ownerDocument)===s||s.defaultValue===""+p||(s.defaultValue=""+p)}function Ll(s,c,p,S){if(s=s.options,c){c={};for(var x=0;x=bf),ry=" ",N0=!1;function nT(s,c){switch(s){case"keyup":return yf.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ay(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Du=!1;function mO(s,c){switch(s){case"compositionend":return ay(c);case"keypress":return c.which!==32?null:(N0=!0,ry);case"textInput":return s=c.data,s===ry&&N0?null:s;default:return null}}function rT(s,c){if(Du)return s==="compositionend"||!A0&&nT(s,c)?(s=Qv(),Gs=Iu=us=null,Du=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:p,offset:c-s};s=S}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=Ho(p)}}function uT(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?uT(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function cT(s){s=s!=null&&s.ownerDocument!=null&&s.ownerDocument.defaultView!=null?s.ownerDocument.defaultView:window;for(var c=$c(s.document);c instanceof s.HTMLIFrameElement;){try{var p=typeof c.contentWindow.location.href=="string"}catch{p=!1}if(p)s=c.contentWindow;else break;c=$c(s.document)}return c}function D0(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function bO(s,c){var p=cT(c);c=s.focusedElem;var S=s.selectionRange;if(p!==c&&c&&c.ownerDocument&&uT(c.ownerDocument.documentElement,c)){if(S!==null&&D0(c)){if(s=S.start,p=S.end,p===void 0&&(p=s),"selectionStart"in c)c.selectionStart=s,c.selectionEnd=Math.min(p,c.value.length);else if(p=(s=c.ownerDocument||document)&&s.defaultView||window,p.getSelection){p=p.getSelection();var x=c.textContent.length,M=Math.min(S.start,x);S=S.end===void 0?M:Math.min(S.end,x),!p.extend&&M>S&&(x=S,S=M,M=x),x=I0(c,M);var B=I0(c,S);x&&B&&(p.rangeCount!==1||p.anchorNode!==x.node||p.anchorOffset!==x.offset||p.focusNode!==B.node||p.focusOffset!==B.offset)&&(s=s.createRange(),s.setStart(x.node,x.offset),p.removeAllRanges(),M>S?(p.addRange(s),p.extend(B.node,B.offset)):(s.setEnd(B.node,B.offset),p.addRange(s)))}}for(s=[],p=c;p=p.parentNode;)p.nodeType===1&&s.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,cs=null,Ae=null,He=null,Be=!1;function It(s,c,p){var S=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;Be||cs==null||cs!==$c(S)||(S=cs,"selectionStart"in S&&D0(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),He&&Xs(He,S)||(He=S,S=Hy(Ae,"onSelect"),0>=B,x-=B,Ko=1<<32-Ee(c)+x|p<sn?(or=Yt,Yt=null):or=Yt.sibling;var Yn=Ue(Le,Yt,je[sn],Ze);if(Yn===null){Yt===null&&(Yt=or);break}s&&Yt&&Yn.alternate===null&&c(Le,Yt),_e=M(Yn,_e,sn),$n===null?$t=Yn:$n.sibling=Yn,$n=Yn,Yt=or}if(sn===je.length)return p(Le,Yt),pn&&ql(Le,sn),$t;if(Yt===null){for(;snsn?(or=Yt,Yt=null):or=Yt.sibling;var sc=Ue(Le,Yt,Yn.value,Ze);if(sc===null){Yt===null&&(Yt=or);break}s&&Yt&&sc.alternate===null&&c(Le,Yt),_e=M(sc,_e,sn),$n===null?$t=sc:$n.sibling=sc,$n=sc,Yt=or}if(Yn.done)return p(Le,Yt),pn&&ql(Le,sn),$t;if(Yt===null){for(;!Yn.done;sn++,Yn=je.next())Yn=st(Le,Yn.value,Ze),Yn!==null&&(_e=M(Yn,_e,sn),$n===null?$t=Yn:$n.sibling=Yn,$n=Yn);return pn&&ql(Le,sn),$t}for(Yt=S(Yt);!Yn.done;sn++,Yn=je.next())Yn=Ve(Yt,Le,sn,Yn.value,Ze),Yn!==null&&(s&&Yn.alternate!==null&&Yt.delete(Yn.key===null?sn:Yn.key),_e=M(Yn,_e,sn),$n===null?$t=Yn:$n.sibling=Yn,$n=Yn);return s&&Yt.forEach(function(cR){return c(Le,cR)}),pn&&ql(Le,sn),$t}function Hr(Le,_e,je,Ze){if(typeof je=="object"&&je!==null&&je.type===u&&je.key===null&&(je=je.props.children),typeof je=="object"&&je!==null){switch(je.$$typeof){case o:e:{for(var $t=je.key;_e!==null;){if(_e.key===$t){if($t=je.type,$t===u){if(_e.tag===7){p(Le,_e.sibling),Ze=x(_e,je.props.children),Ze.return=Le,Le=Ze;break e}}else if(_e.elementType===$t||typeof $t=="object"&&$t!==null&&$t.$$typeof===k&&Wh($t)===_e.type){p(Le,_e.sibling),Ze=x(_e,je.props),K(Ze,je),Ze.return=Le,Le=Ze;break e}p(Le,_e);break}else c(Le,_e);_e=_e.sibling}je.type===u?(Ze=ed(je.props.children,Le.mode,Ze,je.key),Ze.return=Le,Le=Ze):(Ze=dm(je.type,je.key,je.props,null,Le.mode,Ze),K(Ze,je),Ze.return=Le,Le=Ze)}return B(Le);case l:e:{for($t=je.key;_e!==null;){if(_e.key===$t)if(_e.tag===4&&_e.stateNode.containerInfo===je.containerInfo&&_e.stateNode.implementation===je.implementation){p(Le,_e.sibling),Ze=x(_e,je.children||[]),Ze.return=Le,Le=Ze;break e}else{p(Le,_e);break}else c(Le,_e);_e=_e.sibling}Ze=Rw(je,Le.mode,Ze),Ze.return=Le,Le=Ze}return B(Le);case k:return $t=je._init,je=$t(je._payload),Hr(Le,_e,je,Ze)}if(J(je))return Ht(Le,_e,je,Ze);if(N(je)){if($t=N(je),typeof $t!="function")throw Error(r(150));return je=$t.call(je),hn(Le,_e,je,Ze)}if(typeof je.then=="function")return Hr(Le,_e,Bh(je),Ze);if(je.$$typeof===h)return Hr(Le,_e,Iy(Le,je),Ze);Kl(Le,je)}return typeof je=="string"&&je!==""||typeof je=="number"||typeof je=="bigint"?(je=""+je,_e!==null&&_e.tag===6?(p(Le,_e.sibling),Ze=x(_e,je),Ze.return=Le,Le=Ze):(p(Le,_e),Ze=Ow(je,Le.mode,Ze),Ze.return=Le,Le=Ze),B(Le)):p(Le,_e)}return function(Le,_e,je,Ze){try{Yl=0;var $t=Hr(Le,_e,je,Ze);return Gl=null,$t}catch(Yt){if(Yt===Vl)throw Yt;var $n=Eo(29,Yt,null,Le.mode);return $n.lanes=Ze,$n.return=Le,$n}finally{}}}var Tn=mo(!0),vT=mo(!1),xf=fe(null),my=fe(0);function ju(s,c){s=ou,Ie(my,s),Ie(xf,c),ou=s|c.baseLanes}function U0(){Ie(my,ou),Ie(xf,xf.current)}function B0(){ou=my.current,xe(xf),xe(my)}var Qo=fe(null),nl=null;function Uu(s){var c=s.alternate;Ie(Aa,Aa.current&1),Ie(Qo,s),nl===null&&(c===null||xf.current!==null||c.memoizedState!==null)&&(nl=s)}function rl(s){if(s.tag===22){if(Ie(Aa,Aa.current),Ie(Qo,s),nl===null){var c=s.alternate;c!==null&&c.memoizedState!==null&&(nl=s)}}else Bu()}function Bu(){Ie(Aa,Aa.current),Ie(Qo,Qo.current)}function Xl(s){xe(Qo),nl===s&&(nl=null),xe(Aa)}var Aa=fe(0);function gy(s){for(var c=s;c!==null;){if(c.tag===13){var p=c.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var EO=typeof AbortController<"u"?AbortController:function(){var s=[],c=this.signal={aborted:!1,addEventListener:function(p,S){s.push(S)}};this.abort=function(){c.aborted=!0,s.forEach(function(p){return p()})}},Ql=e.unstable_scheduleCallback,TO=e.unstable_NormalPriority,Na={$$typeof:h,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function W0(){return{controller:new EO,data:new Map,refCount:0}}function zh(s){s.refCount--,s.refCount===0&&Ql(TO,function(){s.controller.abort()})}var qh=null,Jl=0,_f=0,Of=null;function ps(s,c){if(qh===null){var p=qh=[];Jl=0,_f=Vw(),Of={status:"pending",value:void 0,then:function(S){p.push(S)}}}return Jl++,c.then(yT,yT),c}function yT(){if(--Jl===0&&qh!==null){Of!==null&&(Of.status="fulfilled");var s=qh;qh=null,_f=0,Of=null;for(var c=0;cM?M:8;var B=j.T,X={};j.T=X,$f(s,!1,c,p);try{var de=x(),Pe=j.S;if(Pe!==null&&Pe(X,de),de!==null&&typeof de=="object"&&typeof de.then=="function"){var Ke=CO(de,S);Qh(s,c,Ke,Co(s))}else Qh(s,c,S,Co(s))}catch(st){Qh(s,c,{then:function(){},status:"rejected",reason:st},Co())}finally{ee.p=M,j.T=B}}function xO(){}function Xh(s,c,p,S){if(s.tag!==5)throw Error(r(476));var x=Rn(s).queue;ky(s,x,c,Z,p===null?xO:function(){return NT(s),p(S)})}function Rn(s){var c=s.memoizedState;if(c!==null)return c;c={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:Z},next:null};var p={};return c.next={memoizedState:p,baseState:p,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:p},next:null},s.memoizedState=c,s=s.alternate,s!==null&&(s.memoizedState=c),c}function NT(s){var c=Rn(s).next.queue;Qh(s,c,{},Co())}function aw(){return ci(Cm)}function Df(){return la().memoizedState}function iw(){return la().memoizedState}function _O(s){for(var c=s.return;c!==null;){switch(c.tag){case 24:case 3:var p=Co();s=bs(p);var S=yo(c,s,p);S!==null&&(fi(S,c,p),Qt(S,c,p)),c={cache:W0()},s.payload=c;return}c=c.return}}function OO(s,c,p){var S=Co();p={lane:S,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null},Lf(s)?ow(c,p):(p=Qs(s,c,p,S),p!==null&&(fi(p,s,S),sw(p,c,S)))}function vo(s,c,p){var S=Co();Qh(s,c,p,S)}function Qh(s,c,p,S){var x={lane:S,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null};if(Lf(s))ow(c,x);else{var M=s.alternate;if(s.lanes===0&&(M===null||M.lanes===0)&&(M=c.lastRenderedReducer,M!==null))try{var B=c.lastRenderedState,X=M(B,p);if(x.hasEagerState=!0,x.eagerState=X,po(X,B))return jc(s,c,x,0),Tr===null&&cy(),!1}catch{}finally{}if(p=Qs(s,c,x,S),p!==null)return fi(p,s,S),sw(p,c,S),!0}return!1}function $f(s,c,p,S){if(S={lane:2,revertLane:Vw(),action:S,hasEagerState:!1,eagerState:null,next:null},Lf(s)){if(c)throw Error(r(479))}else c=Qs(s,p,S,2),c!==null&&fi(c,s,2)}function Lf(s){var c=s.alternate;return s===An||c!==null&&c===An}function ow(s,c){Rf=Yc=!0;var p=s.pending;p===null?c.next=c:(c.next=p.next,p.next=c),s.pending=c}function sw(s,c,p){if((p&4194176)!==0){var S=c.lanes;S&=s.pendingLanes,p|=S,c.lanes=p,Ra(s,p)}}var Xr={readContext:ci,use:Vh,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useLayoutEffect:er,useInsertionEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useSyncExternalStore:er,useId:er};Xr.useCacheRefresh=er,Xr.useMemoCache=er,Xr.useHostTransitionStatus=er,Xr.useFormState=er,Xr.useActionState=er,Xr.useOptimistic=er;var Vi={readContext:ci,use:Vh,useCallback:function(s,c){return Hi().memoizedState=[s,c===void 0?null:c],s},useContext:ci,useEffect:J0,useImperativeHandle:function(s,c,p){p=p!=null?p.concat([s]):null,If(4194308,4,Z0.bind(null,c,s),p)},useLayoutEffect:function(s,c){return If(4194308,4,s,c)},useInsertionEffect:function(s,c){If(4,2,s,c)},useMemo:function(s,c){var p=Hi();c=c===void 0?null:c;var S=s();if(zu){be(!0);try{s()}finally{be(!1)}}return p.memoizedState=[S,c],S},useReducer:function(s,c,p){var S=Hi();if(p!==void 0){var x=p(c);if(zu){be(!0);try{p(c)}finally{be(!1)}}}else x=c;return S.memoizedState=S.baseState=x,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:x},S.queue=s,s=s.dispatch=OO.bind(null,An,s),[S.memoizedState,s]},useRef:function(s){var c=Hi();return s={current:s},c.memoizedState=s},useState:function(s){s=Y0(s);var c=s.queue,p=vo.bind(null,An,c);return c.dispatch=p,[s.memoizedState,p]},useDebugValue:tw,useDeferredValue:function(s,c){var p=Hi();return Kh(p,s,c)},useTransition:function(){var s=Y0(!1);return s=ky.bind(null,An,s.queue,!0,!1),Hi().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,c,p){var S=An,x=Hi();if(pn){if(p===void 0)throw Error(r(407));p=p()}else{if(p=c(),Tr===null)throw Error(r(349));(Gn&60)!==0||Sy(S,c,p)}x.memoizedState=p;var M={value:p,getSnapshot:c};return x.queue=M,J0(ST.bind(null,S,M,s),[s]),S.flags|=2048,Vu(9,wT.bind(null,S,M,p,c),{destroy:void 0},null),p},useId:function(){var s=Hi(),c=Tr.identifierPrefix;if(pn){var p=Xo,S=Ko;p=(S&~(1<<32-Ee(S)-1)).toString(32)+p,c=":"+c+"R"+p,p=vy++,0 title"))),ti(M,S,p),M[ye]=s,lr(M),S=M;break e;case"link":var B=_C("link","href",x).get(S+(p.href||""));if(B){for(var X=0;X<\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof S.is=="string"?x.createElement("select",{is:S.is}):x.createElement("select"),S.multiple?s.multiple=!0:S.size&&(s.size=S.size);break;default:s=typeof S.is=="string"?x.createElement(p,{is:S.is}):x.createElement(p)}}s[ye]=c,s[Se]=S;e:for(x=c.child;x!==null;){if(x.tag===5||x.tag===6)s.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===c)break e;for(;x.sibling===null;){if(x.return===null||x.return===c)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}c.stateNode=s;e:switch(ti(s,p,S),p){case"button":case"input":case"select":case"textarea":s=!!S.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&au(c)}}return Wr(c),c.flags&=-16777217,null;case 6:if(s&&c.stateNode!=null)s.memoizedProps!==S&&au(c);else{if(typeof S!="string"&&c.stateNode===null)throw Error(r(166));if(s=Ge.current,Vc(c)){if(s=c.stateNode,p=c.memoizedProps,S=null,x=ki,x!==null)switch(x.tag){case 27:case 5:S=x.memoizedProps}s[ye]=c,s=!!(s.nodeValue===p||S!==null&&S.suppressHydrationWarning===!0||bn(s.nodeValue,p)),s||Hc(c)}else s=Gy(s).createTextNode(S),s[ye]=c,c.stateNode=s}return Wr(c),null;case 13:if(S=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(x=Vc(c),S!==null&&S.dehydrated!==null){if(s===null){if(!x)throw Error(r(318));if(x=c.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(r(317));x[ye]=c}else tl(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Wr(c),x=!1}else fs!==null&&(Qf(fs),fs=null),x=!0;if(!x)return c.flags&256?(Xl(c),c):(Xl(c),null)}if(Xl(c),(c.flags&128)!==0)return c.lanes=p,c;if(p=S!==null,s=s!==null&&s.memoizedState!==null,p){S=c.child,x=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(x=S.alternate.memoizedState.cachePool.pool);var M=null;S.memoizedState!==null&&S.memoizedState.cachePool!==null&&(M=S.memoizedState.cachePool.pool),M!==x&&(S.flags|=2048)}return p!==s&&p&&(c.child.flags|=8192),Oi(c,c.updateQueue),Wr(c),null;case 4:return kt(),s===null&&Qw(c.stateNode.containerInfo),Wr(c),null;case 10:return il(c.type),Wr(c),null;case 19:if(xe(Aa),x=c.memoizedState,x===null)return Wr(c),null;if(S=(c.flags&128)!==0,M=x.rendering,M===null)if(S)fm(x,!1);else{if(Jr!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(M=gy(s),M!==null){for(c.flags|=128,fm(x,!1),s=M.updateQueue,c.updateQueue=s,Oi(c,s),c.subtreeFlags=0,s=p,p=c.child;p!==null;)QT(p,s),p=p.sibling;return Ie(Aa,Aa.current&1|2),c.child}s=s.sibling}x.tail!==null&&ft()>jy&&(c.flags|=128,S=!0,fm(x,!1),c.lanes=4194304)}else{if(!S)if(s=gy(M),s!==null){if(c.flags|=128,S=!0,s=s.updateQueue,c.updateQueue=s,Oi(c,s),fm(x,!0),x.tail===null&&x.tailMode==="hidden"&&!M.alternate&&!pn)return Wr(c),null}else 2*ft()-x.renderingStartTime>jy&&p!==536870912&&(c.flags|=128,S=!0,fm(x,!1),c.lanes=4194304);x.isBackwards?(M.sibling=c.child,c.child=M):(s=x.last,s!==null?s.sibling=M:c.child=M,x.last=M)}return x.tail!==null?(c=x.tail,x.rendering=c,x.tail=c.sibling,x.renderingStartTime=ft(),c.sibling=null,s=Aa.current,Ie(Aa,S?s&1|2:s&1),c):(Wr(c),null);case 22:case 23:return Xl(c),B0(),S=c.memoizedState!==null,s!==null?s.memoizedState!==null!==S&&(c.flags|=8192):S&&(c.flags|=8192),S?(p&536870912)!==0&&(c.flags&128)===0&&(Wr(c),c.subtreeFlags&6&&(c.flags|=8192)):Wr(c),p=c.updateQueue,p!==null&&Oi(c,p.retryQueue),p=null,s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),S=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(S=c.memoizedState.cachePool.pool),S!==p&&(c.flags|=2048),s!==null&&xe(Gc),null;case 24:return p=null,s!==null&&(p=s.memoizedState.cache),c.memoizedState.cache!==p&&(c.flags|=2048),il(Na),Wr(c),null;case 25:return null}throw Error(r(156,c.tag))}function eC(s,c){switch(j0(c),c.tag){case 1:return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return il(Na),kt(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 26:case 27:case 5:return Rt(c),null;case 13:if(Xl(c),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(r(340));tl()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return xe(Aa),null;case 4:return kt(),null;case 10:return il(c.type),null;case 22:case 23:return Xl(c),B0(),s!==null&&xe(Gc),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 24:return il(Na),null;case 25:return null;default:return null}}function tC(s,c){switch(j0(c),c.tag){case 3:il(Na),kt();break;case 26:case 27:case 5:Rt(c);break;case 4:kt();break;case 13:Xl(c);break;case 19:xe(Aa);break;case 10:il(c.type);break;case 22:case 23:Xl(c),B0(),s!==null&&xe(Gc);break;case 24:il(Na)}}var NO={getCacheForType:function(s){var c=ci(Na),p=c.data.get(s);return p===void 0&&(p=s(),c.data.set(s,p)),p}},MO=typeof WeakMap=="function"?WeakMap:Map,zr=0,Tr=null,Un=null,Gn=0,Nr=0,To=null,iu=!1,Kf=!1,Pw=!1,ou=0,Jr=0,tc=0,td=0,Aw=0,Zo=0,Xf=0,pm=null,cl=null,Nw=!1,Mw=0,jy=1/0,Uy=null,dl=null,hm=!1,nd=null,mm=0,Iw=0,Dw=null,gm=0,$w=null;function Co(){if((zr&2)!==0&&Gn!==0)return Gn&-Gn;if(j.T!==null){var s=_f;return s!==0?s:Vw()}return we()}function nC(){Zo===0&&(Zo=(Gn&536870912)===0||pn?Qa():536870912);var s=Qo.current;return s!==null&&(s.flags|=32),Zo}function fi(s,c,p){(s===Tr&&Nr===2||s.cancelPendingCommit!==null)&&(Jf(s,0),su(s,Gn,Zo,!1)),_a(s,p),((zr&2)===0||s!==Tr)&&(s===Tr&&((zr&2)===0&&(td|=p),Jr===4&&su(s,Gn,Zo,!1)),Es(s))}function rC(s,c,p){if((zr&6)!==0)throw Error(r(327));var S=!p&&(c&60)===0&&(c&s.expiredLanes)===0||Bn(s,c),x=S?$O(s,c):jw(s,c,!0),M=S;do{if(x===0){Kf&&!S&&su(s,c,0,!1);break}else if(x===6)su(s,c,0,!iu);else{if(p=s.current.alternate,M&&!IO(p)){x=jw(s,c,!1),M=!1;continue}if(x===2){if(M=c,s.errorRecoveryDisabledLanes&M)var B=0;else B=s.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){c=B;e:{var X=s;x=pm;var de=X.current.memoizedState.isDehydrated;if(de&&(Jf(X,B).flags|=256),B=jw(X,B,!1),B!==2){if(Pw&&!de){X.errorRecoveryDisabledLanes|=M,td|=M,x=4;break e}M=cl,cl=x,M!==null&&Qf(M)}x=B}if(M=!1,x!==2)continue}}if(x===1){Jf(s,0),su(s,c,0,!0);break}e:{switch(S=s,x){case 0:case 1:throw Error(r(345));case 4:if((c&4194176)===c){su(S,c,Zo,!iu);break e}break;case 2:cl=null;break;case 3:case 5:break;default:throw Error(r(329))}if(S.finishedWork=p,S.finishedLanes=c,(c&62914560)===c&&(M=Mw+300-ft(),10p?32:p,j.T=null,nd===null)var M=!1;else{p=Dw,Dw=null;var B=nd,X=mm;if(nd=null,mm=0,(zr&6)!==0)throw Error(r(331));var de=zr;if(zr|=4,KT(B.current),VT(B,B.current,X,p),zr=de,id(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(We,B)}catch{}M=!0}return M}finally{ee.p=x,j.T=S,fC(s,c)}}return!1}function pC(s,c,p){c=Ci(p,c),c=Zh(s.stateNode,c,2),s=yo(s,c,2),s!==null&&(_a(s,2),Es(s))}function _r(s,c,p){if(s.tag===3)pC(s,s,p);else for(;c!==null;){if(c.tag===3){pC(c,s,p);break}else if(c.tag===1){var S=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(dl===null||!dl.has(S))){s=Ci(p,s),p=IT(2),S=yo(c,p,2),S!==null&&(DT(p,S,c,s),_a(S,2),Es(S));break}}c=c.return}}function Uw(s,c,p){var S=s.pingCache;if(S===null){S=s.pingCache=new MO;var x=new Set;S.set(c,x)}else x=S.get(c),x===void 0&&(x=new Set,S.set(c,x));x.has(p)||(Pw=!0,x.add(p),s=jO.bind(null,s,c,p),c.then(s,s))}function jO(s,c,p){var S=s.pingCache;S!==null&&S.delete(c),s.pingedLanes|=s.suspendedLanes&p,s.warmLanes&=~p,Tr===s&&(Gn&p)===p&&(Jr===4||Jr===3&&(Gn&62914560)===Gn&&300>ft()-Mw?(zr&2)===0&&Jf(s,0):Aw|=p,Xf===Gn&&(Xf=0)),Es(s)}function hC(s,c){c===0&&(c=ha()),s=ds(s,c),s!==null&&(_a(s,c),Es(s))}function UO(s){var c=s.memoizedState,p=0;c!==null&&(p=c.retryLane),hC(s,p)}function BO(s,c){var p=0;switch(s.tag){case 13:var S=s.stateNode,x=s.memoizedState;x!==null&&(p=x.retryLane);break;case 19:S=s.stateNode;break;case 22:S=s.stateNode._retryCache;break;default:throw Error(r(314))}S!==null&&S.delete(c),hC(s,p)}function WO(s,c){return qt(s,c)}var Wy=null,Zf=null,Bw=!1,ad=!1,Ww=!1,nc=0;function Es(s){s!==Zf&&s.next===null&&(Zf===null?Wy=Zf=s:Zf=Zf.next=s),ad=!0,Bw||(Bw=!0,zO(mC))}function id(s,c){if(!Ww&&ad){Ww=!0;do for(var p=!1,S=Wy;S!==null;){if(s!==0){var x=S.pendingLanes;if(x===0)var M=0;else{var B=S.suspendedLanes,X=S.pingedLanes;M=(1<<31-Ee(42|s)+1)-1,M&=x&~(B&~X),M=M&201326677?M&201326677|1:M?M|2:0}M!==0&&(p=!0,Hw(S,M))}else M=Gn,M=ln(S,S===Tr?M:0),(M&3)===0||Bn(S,M)||(p=!0,Hw(S,M));S=S.next}while(p);Ww=!1}}function mC(){ad=Bw=!1;var s=0;nc!==0&&(uu()&&(s=nc),nc=0);for(var c=ft(),p=null,S=Wy;S!==null;){var x=S.next,M=zw(S,c);M===0?(S.next=null,p===null?Wy=x:p.next=x,x===null&&(Zf=p)):(p=S,(s!==0||(M&3)!==0)&&(ad=!0)),S=x}id(s)}function zw(s,c){for(var p=s.suspendedLanes,S=s.pingedLanes,x=s.expirationTimes,M=s.pendingLanes&-62914561;0"u"?null:document;function CC(s,c,p){var S=Cs;if(S&&typeof c=="string"&&c){var x=Ei(c);x='link[rel="'+s+'"][href="'+x+'"]',typeof p=="string"&&(x+='[crossorigin="'+p+'"]'),Ky.has(x)||(Ky.add(x),s={rel:s,crossOrigin:p,href:c},S.querySelector(x)===null&&(c=S.createElement("link"),ti(c,"link",s),lr(c),S.head.appendChild(c)))}}function KO(s){fl.D(s),CC("dns-prefetch",s,null)}function XO(s,c){fl.C(s,c),CC("preconnect",s,c)}function QO(s,c,p){fl.L(s,c,p);var S=Cs;if(S&&s&&c){var x='link[rel="preload"][as="'+Ei(c)+'"]';c==="image"&&p&&p.imageSrcSet?(x+='[imagesrcset="'+Ei(p.imageSrcSet)+'"]',typeof p.imageSizes=="string"&&(x+='[imagesizes="'+Ei(p.imageSizes)+'"]')):x+='[href="'+Ei(s)+'"]';var M=x;switch(c){case"style":M=ni(s);break;case"script":M=np(s)}pi.has(M)||(s=z({rel:"preload",href:c==="image"&&p&&p.imageSrcSet?void 0:s,as:c},p),pi.set(M,s),S.querySelector(x)!==null||c==="style"&&S.querySelector(tp(M))||c==="script"&&S.querySelector(rp(M))||(c=S.createElement("link"),ti(c,"link",s),lr(c),S.head.appendChild(c)))}}function JO(s,c){fl.m(s,c);var p=Cs;if(p&&s){var S=c&&typeof c.as=="string"?c.as:"script",x='link[rel="modulepreload"][as="'+Ei(S)+'"][href="'+Ei(s)+'"]',M=x;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":M=np(s)}if(!pi.has(M)&&(s=z({rel:"modulepreload",href:s},c),pi.set(M,s),p.querySelector(x)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(p.querySelector(rp(M)))return}S=p.createElement("link"),ti(S,"link",s),lr(S),p.head.appendChild(S)}}}function kC(s,c,p){fl.S(s,c,p);var S=Cs;if(S&&s){var x=Pr(S).hoistableStyles,M=ni(s);c=c||"default";var B=x.get(M);if(!B){var X={loading:0,preload:null};if(B=S.querySelector(tp(M)))X.loading=5;else{s=z({rel:"stylesheet",href:s,"data-precedence":c},p),(p=pi.get(M))&&s1(s,p);var de=B=S.createElement("link");lr(de),ti(de,"link",s),de._p=new Promise(function(Pe,Ke){de.onload=Pe,de.onerror=Ke}),de.addEventListener("load",function(){X.loading|=1}),de.addEventListener("error",function(){X.loading|=2}),X.loading|=4,Jy(B,c,S)}B={type:"stylesheet",instance:B,count:1,state:X},x.set(M,B)}}}function cu(s,c){fl.X(s,c);var p=Cs;if(p&&s){var S=Pr(p).hoistableScripts,x=np(s),M=S.get(x);M||(M=p.querySelector(rp(x)),M||(s=z({src:s,async:!0},c),(c=pi.get(x))&&l1(s,c),M=p.createElement("script"),lr(M),ti(M,"link",s),p.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},S.set(x,M))}}function xn(s,c){fl.M(s,c);var p=Cs;if(p&&s){var S=Pr(p).hoistableScripts,x=np(s),M=S.get(x);M||(M=p.querySelector(rp(x)),M||(s=z({src:s,async:!0,type:"module"},c),(c=pi.get(x))&&l1(s,c),M=p.createElement("script"),lr(M),ti(M,"link",s),p.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},S.set(x,M))}}function o1(s,c,p,S){var x=(x=Ge.current)?Xy(x):null;if(!x)throw Error(r(446));switch(s){case"meta":case"title":return null;case"style":return typeof p.precedence=="string"&&typeof p.href=="string"?(c=ni(p.href),p=Pr(x).hoistableStyles,S=p.get(c),S||(S={type:"style",instance:null,count:0,state:null},p.set(c,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(p.rel==="stylesheet"&&typeof p.href=="string"&&typeof p.precedence=="string"){s=ni(p.href);var M=Pr(x).hoistableStyles,B=M.get(s);if(B||(x=x.ownerDocument||x,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},M.set(s,B),(M=x.querySelector(tp(s)))&&!M._p&&(B.instance=M,B.state.loading=5),pi.has(s)||(p={rel:"preload",as:"style",href:p.href,crossOrigin:p.crossOrigin,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy},pi.set(s,p),M||fr(x,s,p,B.state))),c&&S===null)throw Error(r(528,""));return B}if(c&&S!==null)throw Error(r(529,""));return null;case"script":return c=p.async,p=p.src,typeof p=="string"&&c&&typeof c!="function"&&typeof c!="symbol"?(c=np(p),p=Pr(x).hoistableScripts,S=p.get(c),S||(S={type:"script",instance:null,count:0,state:null},p.set(c,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,s))}}function ni(s){return'href="'+Ei(s)+'"'}function tp(s){return'link[rel="stylesheet"]['+s+"]"}function xC(s){return z({},s,{"data-precedence":s.precedence,precedence:null})}function fr(s,c,p,S){s.querySelector('link[rel="preload"][as="style"]['+c+"]")?S.loading=1:(c=s.createElement("link"),S.preload=c,c.addEventListener("load",function(){return S.loading|=1}),c.addEventListener("error",function(){return S.loading|=2}),ti(c,"link",p),lr(c),s.head.appendChild(c))}function np(s){return'[src="'+Ei(s)+'"]'}function rp(s){return"script[async]"+s}function Em(s,c,p){if(c.count++,c.instance===null)switch(c.type){case"style":var S=s.querySelector('style[data-href~="'+Ei(p.href)+'"]');if(S)return c.instance=S,lr(S),S;var x=z({},p,{"data-href":p.href,"data-precedence":p.precedence,href:null,precedence:null});return S=(s.ownerDocument||s).createElement("style"),lr(S),ti(S,"style",x),Jy(S,p.precedence,s),c.instance=S;case"stylesheet":x=ni(p.href);var M=s.querySelector(tp(x));if(M)return c.state.loading|=4,c.instance=M,lr(M),M;S=xC(p),(x=pi.get(x))&&s1(S,x),M=(s.ownerDocument||s).createElement("link"),lr(M);var B=M;return B._p=new Promise(function(X,de){B.onload=X,B.onerror=de}),ti(M,"link",S),c.state.loading|=4,Jy(M,p.precedence,s),c.instance=M;case"script":return M=np(p.src),(x=s.querySelector(rp(M)))?(c.instance=x,lr(x),x):(S=p,(x=pi.get(M))&&(S=z({},p),l1(S,x)),s=s.ownerDocument||s,x=s.createElement("script"),lr(x),ti(x,"link",S),s.head.appendChild(x),c.instance=x);case"void":return null;default:throw Error(r(443,c.type))}else c.type==="stylesheet"&&(c.state.loading&4)===0&&(S=c.instance,c.state.loading|=4,Jy(S,p.precedence,s));return c.instance}function Jy(s,c,p){for(var S=p.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=S.length?S[S.length-1]:null,M=x,B=0;B title"):null)}function ZO(s,c,p){if(p===1||c.itemProp!=null)return!1;switch(s){case"meta":case"title":return!0;case"style":if(typeof c.precedence!="string"||typeof c.href!="string"||c.href==="")break;return!0;case"link":if(typeof c.rel!="string"||typeof c.href!="string"||c.href===""||c.onLoad||c.onError)break;switch(c.rel){case"stylesheet":return s=c.disabled,typeof c.precedence=="string"&&s==null;default:return!0}case"script":if(c.async&&typeof c.async!="function"&&typeof c.async!="symbol"&&!c.onLoad&&!c.onError&&c.src&&typeof c.src=="string")return!0}return!1}function RC(s){return!(s.type==="stylesheet"&&(s.state.loading&3)===0)}var Tm=null;function eR(){}function tR(s,c,p){if(Tm===null)throw Error(r(475));var S=Tm;if(c.type==="stylesheet"&&(typeof p.media!="string"||matchMedia(p.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var x=ni(p.href),M=s.querySelector(tp(x));if(M){s=M._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(S.count++,S=eb.bind(S),s.then(S,S)),c.state.loading|=4,c.instance=M,lr(M);return}M=s.ownerDocument||s,p=xC(p),(x=pi.get(x))&&s1(p,x),M=M.createElement("link"),lr(M);var B=M;B._p=new Promise(function(X,de){B.onload=X,B.onerror=de}),ti(M,"link",p),c.instance=M}S.stylesheets===null&&(S.stylesheets=new Map),S.stylesheets.set(c,s),(s=c.state.preload)&&(c.state.loading&3)===0&&(S.count++,c=eb.bind(S),s.addEventListener("load",c),s.addEventListener("error",c))}}function nR(){if(Tm===null)throw Error(r(475));var s=Tm;return s.stylesheets&&s.count===0&&u1(s,s.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),vR.exports=Roe(),vR.exports}var Aoe=Poe();const Noe=Rc(Aoe);var wc=D3();const Moe=Rc(wc);/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+m.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function X1(){return X1=Object.assign?Object.assign.bind():function(e){for(var t=1;tf(p,typeof p=="string"?null:p.state,v===0?"default":void 0));let i=u(n??a.length-1),o=wl.Pop,l=null;function u(p){return Math.min(Math.max(p,0),a.length-1)}function d(){return a[i]}function f(p,v,E){v===void 0&&(v=null);let T=ck(a?d().pathname:"/",p,v,E);return fx(T.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(p)),T}function g(p){return typeof p=="string"?p:Q1(p)}return{get index(){return i},get action(){return o},get location(){return d()},createHref:g,createURL(p){return new URL(g(p),"http://localhost")},encodeLocation(p){let v=typeof p=="string"?Qp(p):p;return{pathname:v.pathname||"",search:v.search||"",hash:v.hash||""}},push(p,v){o=wl.Push;let E=f(p,v);i+=1,a.splice(i,a.length,E),r&&l&&l({action:o,location:E,delta:1})},replace(p,v){o=wl.Replace;let E=f(p,v);a[i]=E,r&&l&&l({action:o,location:E,delta:0})},go(p){o=wl.Pop;let v=u(i+p),E=a[v];i=v,l&&l({action:o,location:E,delta:p})},listen(p){return l=p,()=>{l=null}}}}function Xie(e){e===void 0&&(e={});function t(a,i){let{pathname:o="/",search:l="",hash:u=""}=Qp(a.location.hash.substr(1));return!o.startsWith("/")&&!o.startsWith(".")&&(o="/"+o),ck("",{pathname:o,search:l,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(a,i){let o=a.document.querySelector("base"),l="";if(o&&o.getAttribute("href")){let u=a.location.href,d=u.indexOf("#");l=d===-1?u:u.slice(0,d)}return l+"#"+(typeof i=="string"?i:Q1(i))}function r(a,i){fx(a.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return Zie(t,n,r,e)}function za(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function fx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Qie(){return Math.random().toString(36).substr(2,8)}function g4(e,t){return{usr:e.state,key:e.key,idx:t}}function ck(e,t,n,r){return n===void 0&&(n=null),X1({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Qp(t):t,{state:n,key:t&&t.key||r||Qie()})}function Q1(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Qp(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Zie(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,l=wl.Pop,u=null,d=f();d==null&&(d=0,o.replaceState(X1({},o.state,{idx:d}),""));function f(){return(o.state||{idx:null}).idx}function g(){l=wl.Pop;let T=f(),C=T==null?null:T-d;d=T,u&&u({action:l,location:E.location,delta:C})}function y(T,C){l=wl.Push;let k=ck(E.location,T,C);n&&n(k,T),d=f()+1;let _=g4(k,d),A=E.createHref(k);try{o.pushState(_,"",A)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;a.location.assign(A)}i&&u&&u({action:l,location:E.location,delta:1})}function p(T,C){l=wl.Replace;let k=ck(E.location,T,C);n&&n(k,T),d=f();let _=g4(k,d),A=E.createHref(k);o.replaceState(_,"",A),i&&u&&u({action:l,location:E.location,delta:0})}function v(T){let C=a.location.origin!=="null"?a.location.origin:a.location.href,k=typeof T=="string"?T:Q1(T);return k=k.replace(/ $/,"%20"),za(C,"No window.location.(origin|href) available to create URL for href: "+k),new URL(k,C)}let E={get action(){return l},get location(){return e(a,o)},listen(T){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(h4,g),u=T,()=>{a.removeEventListener(h4,g),u=null}},createHref(T){return t(a,T)},createURL:v,encodeLocation(T){let C=v(T);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:y,replace:p,go(T){return o.go(T)}};return E}var v4;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(v4||(v4={}));function Jie(e,t,n){return n===void 0&&(n="/"),eoe(e,t,n)}function eoe(e,t,n,r){let a=typeof t=="string"?Qp(t):t,i=YL(a.pathname||"/",n);if(i==null)return null;let o=OK(e);toe(o);let l=null;for(let u=0;l==null&&u{let u={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(za(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let d=zp([r,u.relativePath]),f=n.concat(u);i.children&&i.children.length>0&&(za(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),OK(i.children,t,f,d)),!(i.path==null&&!i.index)&&t.push({path:d,score:loe(d,i.index),routesMeta:f})};return e.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))a(i,o);else for(let u of RK(i.path))a(i,o,u)}),t}function RK(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=RK(r.join("/")),l=[];return l.push(...o.map(u=>u===""?i:[i,u].join("/"))),a&&l.push(...o),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function toe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:uoe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const noe=/^:[\w-]+$/,roe=3,aoe=2,ioe=1,ooe=10,soe=-2,y4=e=>e==="*";function loe(e,t){let n=e.split("/"),r=n.length;return n.some(y4)&&(r+=soe),t&&(r+=aoe),n.filter(a=>!y4(a)).reduce((a,i)=>a+(noe.test(i)?roe:i===""?ioe:ooe),r)}function uoe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function coe(e,t,n){let{routesMeta:r}=e,a={},i="/",o=[];for(let l=0;l{let{paramName:y,isOptional:p}=f;if(y==="*"){let E=l[g]||"";o=i.slice(0,i.length-E.length).replace(/(.)\/+$/,"$1")}const v=l[g];return p&&!v?d[y]=void 0:d[y]=(v||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:o,pattern:e}}function foe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),fx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,u)=>(r.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function poe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return fx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function YL(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function moe(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?Qp(e):e;return{pathname:n?n.startsWith("/")?n:hoe(n,t):t,search:yoe(r),hash:boe(a)}}function hoe(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function jO(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function goe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function KL(e,t){let n=goe(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function XL(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=Qp(e):(a=X1({},e),za(!a.pathname||!a.pathname.includes("?"),jO("?","pathname","search",a)),za(!a.pathname||!a.pathname.includes("#"),jO("#","pathname","hash",a)),za(!a.search||!a.search.includes("#"),jO("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,l;if(o==null)l=n;else{let g=t.length-1;if(!r&&o.startsWith("..")){let y=o.split("/");for(;y[0]==="..";)y.shift(),g-=1;a.pathname=y.join("/")}l=g>=0?t[g]:"/"}let u=moe(a,l),d=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||f)&&(u.pathname+="/"),u}const zp=e=>e.join("/").replace(/\/\/+/g,"/"),voe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),yoe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,boe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function woe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const PK=["post","put","patch","delete"];new Set(PK);const Soe=["get",...PK];new Set(Soe);/** + */function xS(){return xS=Object.assign?Object.assign.bind():function(e){for(var t=1;tf(h,typeof h=="string"?null:h.state,v===0?"default":void 0));let i=u(n??a.length-1),o=Tl.Pop,l=null;function u(h){return Math.min(Math.max(h,0),a.length-1)}function d(){return a[i]}function f(h,v,E){v===void 0&&(v=null);let T=Vk(a?d().pathname:"/",h,v,E);return Yx(T.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(h)),T}function g(h){return typeof h=="string"?h:_S(h)}return{get index(){return i},get action(){return o},get location(){return d()},createHref:g,createURL(h){return new URL(g(h),"http://localhost")},encodeLocation(h){let v=typeof h=="string"?uh(h):h;return{pathname:v.pathname||"",search:v.search||"",hash:v.hash||""}},push(h,v){o=Tl.Push;let E=f(h,v);i+=1,a.splice(i,a.length,E),r&&l&&l({action:o,location:E,delta:1})},replace(h,v){o=Tl.Replace;let E=f(h,v);a[i]=E,r&&l&&l({action:o,location:E,delta:0})},go(h){o=Tl.Pop;let v=u(i+h),E=a[v];i=v,l&&l({action:o,location:E,delta:h})},listen(h){return l=h,()=>{l=null}}}}function Doe(e){e===void 0&&(e={});function t(a,i){let{pathname:o="/",search:l="",hash:u=""}=uh(a.location.hash.substr(1));return!o.startsWith("/")&&!o.startsWith(".")&&(o="/"+o),Vk("",{pathname:o,search:l,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(a,i){let o=a.document.querySelector("base"),l="";if(o&&o.getAttribute("href")){let u=a.location.href,d=u.indexOf("#");l=d===-1?u:u.slice(0,d)}return l+"#"+(typeof i=="string"?i:_S(i))}function r(a,i){Yx(a.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return Loe(t,n,r,e)}function za(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Yx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $oe(){return Math.random().toString(36).substr(2,8)}function rU(e,t){return{usr:e.state,key:e.key,idx:t}}function Vk(e,t,n,r){return n===void 0&&(n=null),xS({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?uh(t):t,{state:n,key:t&&t.key||r||$oe()})}function _S(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function uh(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Loe(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,l=Tl.Pop,u=null,d=f();d==null&&(d=0,o.replaceState(xS({},o.state,{idx:d}),""));function f(){return(o.state||{idx:null}).idx}function g(){l=Tl.Pop;let T=f(),C=T==null?null:T-d;d=T,u&&u({action:l,location:E.location,delta:C})}function y(T,C){l=Tl.Push;let k=Vk(E.location,T,C);n&&n(k,T),d=f()+1;let _=rU(k,d),A=E.createHref(k);try{o.pushState(_,"",A)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;a.location.assign(A)}i&&u&&u({action:l,location:E.location,delta:1})}function h(T,C){l=Tl.Replace;let k=Vk(E.location,T,C);n&&n(k,T),d=f();let _=rU(k,d),A=E.createHref(k);o.replaceState(_,"",A),i&&u&&u({action:l,location:E.location,delta:0})}function v(T){let C=a.location.origin!=="null"?a.location.origin:a.location.href,k=typeof T=="string"?T:_S(T);return k=k.replace(/ $/,"%20"),za(C,"No window.location.(origin|href) available to create URL for href: "+k),new URL(k,C)}let E={get action(){return l},get location(){return e(a,o)},listen(T){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(nU,g),u=T,()=>{a.removeEventListener(nU,g),u=null}},createHref(T){return t(a,T)},createURL:v,encodeLocation(T){let C=v(T);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:y,replace:h,go(T){return o.go(T)}};return E}var aU;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(aU||(aU={}));function Foe(e,t,n){return n===void 0&&(n="/"),joe(e,t,n)}function joe(e,t,n,r){let a=typeof t=="string"?uh(t):t,i=$3(a.pathname||"/",n);if(i==null)return null;let o=mX(e);Uoe(o);let l=null;for(let u=0;l==null&&u{let u={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(za(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let d=eh([r,u.relativePath]),f=n.concat(u);i.children&&i.children.length>0&&(za(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),mX(i.children,t,f,d)),!(i.path==null&&!i.index)&&t.push({path:d,score:Goe(d,i.index),routesMeta:f})};return e.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))a(i,o);else for(let u of gX(i.path))a(i,o,u)}),t}function gX(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=gX(r.join("/")),l=[];return l.push(...o.map(u=>u===""?i:[i,u].join("/"))),a&&l.push(...o),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function Uoe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Yoe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Boe=/^:[\w-]+$/,Woe=3,zoe=2,qoe=1,Hoe=10,Voe=-2,iU=e=>e==="*";function Goe(e,t){let n=e.split("/"),r=n.length;return n.some(iU)&&(r+=Voe),t&&(r+=zoe),n.filter(a=>!iU(a)).reduce((a,i)=>a+(Boe.test(i)?Woe:i===""?qoe:Hoe),r)}function Yoe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function Koe(e,t,n){let{routesMeta:r}=e,a={},i="/",o=[];for(let l=0;l{let{paramName:y,isOptional:h}=f;if(y==="*"){let E=l[g]||"";o=i.slice(0,i.length-E.length).replace(/(.)\/+$/,"$1")}const v=l[g];return h&&!v?d[y]=void 0:d[y]=(v||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:o,pattern:e}}function Qoe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Yx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,u)=>(r.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function Joe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Yx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function $3(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Zoe(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?uh(e):e;return{pathname:n?n.startsWith("/")?n:ese(n,t):t,search:rse(r),hash:ase(a)}}function ese(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function SR(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function tse(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function L3(e,t){let n=tse(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function F3(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=uh(e):(a=xS({},e),za(!a.pathname||!a.pathname.includes("?"),SR("?","pathname","search",a)),za(!a.pathname||!a.pathname.includes("#"),SR("#","pathname","hash",a)),za(!a.search||!a.search.includes("#"),SR("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,l;if(o==null)l=n;else{let g=t.length-1;if(!r&&o.startsWith("..")){let y=o.split("/");for(;y[0]==="..";)y.shift(),g-=1;a.pathname=y.join("/")}l=g>=0?t[g]:"/"}let u=Zoe(a,l),d=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||f)&&(u.pathname+="/"),u}const eh=e=>e.join("/").replace(/\/\/+/g,"/"),nse=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rse=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ase=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ise(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const vX=["post","put","patch","delete"];new Set(vX);const ose=["get",...vX];new Set(ose);/** * React Router v6.30.0 * * Copyright (c) Remix Software Inc. @@ -64,7 +64,7 @@ Error generating stack: `+m.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Z1(){return Z1=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),R.useCallback(function(d,f){if(f===void 0&&(f={}),!l.current)return;if(typeof d=="number"){r.go(d);return}let g=XL(d,JSON.parse(o),i,f.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:zp([t,g.pathname])),(f.replace?r.replace:r.push)(g,f.state,f)},[t,r,o,i,e])}const koe=R.createContext(null);function xoe(e){let t=R.useContext(Ec).outlet;return t&&R.createElement(koe.Provider,{value:e},t)}function _oe(){let{matches:e}=R.useContext(Ec),t=e[e.length-1];return t?t.params:{}}function MK(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=R.useContext(Zp),{matches:a}=R.useContext(Ec),{pathname:i}=Bd(),o=JSON.stringify(KL(a,r.v7_relativeSplatPath));return R.useMemo(()=>XL(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Ooe(e,t){return Roe(e,t)}function Roe(e,t,n,r){Mb()||za(!1);let{navigator:a,static:i}=R.useContext(Zp),{matches:o}=R.useContext(Ec),l=o[o.length-1],u=l?l.params:{};l&&l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let f=Bd(),g;if(t){var y;let C=typeof t=="string"?Qp(t):t;d==="/"||(y=C.pathname)!=null&&y.startsWith(d)||za(!1),g=C}else g=f;let p=g.pathname||"/",v=p;if(d!=="/"){let C=d.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(C.length).join("/")}let E=Jie(e,{pathname:v}),T=Ioe(E&&E.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:zp([d,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?d:zp([d,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),o,n,r);return t&&T?R.createElement(px.Provider,{value:{location:Z1({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:wl.Pop}},T):T}function Poe(){let e=Foe(),t=woe(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:a},n):null,null)}const Aoe=R.createElement(Poe,null);class Noe extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(Ec.Provider,{value:this.props.routeContext},R.createElement(AK.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Moe(e){let{routeContext:t,match:n,children:r}=e,a=R.useContext(QL);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Ec.Provider,{value:t},r)}function Ioe(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(a=n)==null?void 0:a.errors;if(l!=null){let f=o.findIndex(g=>g.route.id&&(l==null?void 0:l[g.route.id])!==void 0);f>=0||za(!1),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,d+1):o=[o[0]];break}}}return o.reduceRight((f,g,y)=>{let p,v=!1,E=null,T=null;n&&(p=l&&g.route.id?l[g.route.id]:void 0,E=g.route.errorElement||Aoe,u&&(d<0&&y===0?(Uoe("route-fallback"),v=!0,T=null):d===y&&(v=!0,T=g.route.hydrateFallbackElement||null)));let C=t.concat(o.slice(0,y+1)),k=()=>{let _;return p?_=E:v?_=T:g.route.Component?_=R.createElement(g.route.Component,null):g.route.element?_=g.route.element:_=f,R.createElement(Moe,{match:g,routeContext:{outlet:f,matches:C,isDataRoute:n!=null},children:_})};return n&&(g.route.ErrorBoundary||g.route.errorElement||y===0)?R.createElement(Noe,{location:n.location,revalidation:n.revalidation,component:E,error:p,children:k(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):k()},null)}var IK=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(IK||{}),DK=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(DK||{});function Doe(e){let t=R.useContext(QL);return t||za(!1),t}function $oe(e){let t=R.useContext(Eoe);return t||za(!1),t}function Loe(e){let t=R.useContext(Ec);return t||za(!1),t}function $K(e){let t=Loe(),n=t.matches[t.matches.length-1];return n.route.id||za(!1),n.route.id}function Foe(){var e;let t=R.useContext(AK),n=$oe(),r=$K();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function joe(){let{router:e}=Doe(IK.UseNavigateStable),t=$K(DK.UseNavigateStable),n=R.useRef(!1);return NK(()=>{n.current=!0}),R.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Z1({fromRouteId:t},i)))},[e,t])}const b4={};function Uoe(e,t,n){b4[e]||(b4[e]=!0)}function LK(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}const Boe="startTransition",w4=K1[Boe];function Woe(e){let{basename:t,children:n,initialEntries:r,initialIndex:a,future:i}=e,o=R.useRef();o.current==null&&(o.current=Kie({initialEntries:r,initialIndex:a,v5Compat:!0}));let l=o.current,[u,d]=R.useState({action:l.action,location:l.location}),{v7_startTransition:f}=i||{},g=R.useCallback(y=>{f&&w4?w4(()=>d(y)):d(y)},[d,f]);return R.useLayoutEffect(()=>l.listen(g),[l,g]),R.useEffect(()=>LK(i),[i]),R.createElement(FK,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:i})}function JL(e){let{to:t,replace:n,state:r,relative:a}=e;Mb()||za(!1);let{future:i,static:o}=R.useContext(Zp),{matches:l}=R.useContext(Ec),{pathname:u}=Bd(),d=ZL(),f=XL(t,KL(l,i.v7_relativeSplatPath),u,a==="path"),g=JSON.stringify(f);return R.useEffect(()=>d(JSON.parse(g),{replace:n,state:r,relative:a}),[d,g,a,n,r]),null}function zoe(e){return xoe(e.context)}function ht(e){za(!1)}function FK(e){let{basename:t="/",children:n=null,location:r,navigationType:a=wl.Pop,navigator:i,static:o=!1,future:l}=e;Mb()&&za(!1);let u=t.replace(/^\/*/,"/"),d=R.useMemo(()=>({basename:u,navigator:i,static:o,future:Z1({v7_relativeSplatPath:!1},l)}),[u,l,i,o]);typeof r=="string"&&(r=Qp(r));let{pathname:f="/",search:g="",hash:y="",state:p=null,key:v="default"}=r,E=R.useMemo(()=>{let T=YL(f,u);return T==null?null:{location:{pathname:T,search:g,hash:y,state:p,key:v},navigationType:a}},[u,f,g,y,p,v,a]);return E==null?null:R.createElement(Zp.Provider,{value:d},R.createElement(px.Provider,{children:n,value:E}))}function jK(e){let{children:t,location:n}=e;return Ooe(YD(t),n)}new Promise(()=>{});function YD(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(r,a)=>{if(!R.isValidElement(r))return;let i=[...t,a];if(r.type===R.Fragment){n.push.apply(n,YD(r.props.children,i));return}r.type!==ht&&za(!1),!r.props.index||!r.props.children||za(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=YD(r.props.children,i)),n.push(o)}),n}/** + */function OS(){return OS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),R.useCallback(function(d,f){if(f===void 0&&(f={}),!l.current)return;if(typeof d=="number"){r.go(d);return}let g=F3(d,JSON.parse(o),i,f.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:eh([t,g.pathname])),(f.replace?r.replace:r.push)(g,f.state,f)},[t,r,o,i,e])}const cse=R.createContext(null);function dse(e){let t=R.useContext(Pc).outlet;return t&&R.createElement(cse.Provider,{value:e},t)}function fse(){let{matches:e}=R.useContext(Pc),t=e[e.length-1];return t?t.params:{}}function wX(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=R.useContext(ch),{matches:a}=R.useContext(Pc),{pathname:i}=Xd(),o=JSON.stringify(L3(a,r.v7_relativeSplatPath));return R.useMemo(()=>F3(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function pse(e,t){return hse(e,t)}function hse(e,t,n,r){l0()||za(!1);let{navigator:a,static:i}=R.useContext(ch),{matches:o}=R.useContext(Pc),l=o[o.length-1],u=l?l.params:{};l&&l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let f=Xd(),g;if(t){var y;let C=typeof t=="string"?uh(t):t;d==="/"||(y=C.pathname)!=null&&y.startsWith(d)||za(!1),g=C}else g=f;let h=g.pathname||"/",v=h;if(d!=="/"){let C=d.replace(/^\//,"").split("/");v="/"+h.replace(/^\//,"").split("/").slice(C.length).join("/")}let E=Foe(e,{pathname:v}),T=bse(E&&E.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:eh([d,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?d:eh([d,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),o,n,r);return t&&T?R.createElement(Kx.Provider,{value:{location:OS({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Tl.Pop}},T):T}function mse(){let e=Tse(),t=ise(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:a},n):null,null)}const gse=R.createElement(mse,null);class vse extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(Pc.Provider,{value:this.props.routeContext},R.createElement(yX.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function yse(e){let{routeContext:t,match:n,children:r}=e,a=R.useContext(j3);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Pc.Provider,{value:t},r)}function bse(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(a=n)==null?void 0:a.errors;if(l!=null){let f=o.findIndex(g=>g.route.id&&(l==null?void 0:l[g.route.id])!==void 0);f>=0||za(!1),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,d+1):o=[o[0]];break}}}return o.reduceRight((f,g,y)=>{let h,v=!1,E=null,T=null;n&&(h=l&&g.route.id?l[g.route.id]:void 0,E=g.route.errorElement||gse,u&&(d<0&&y===0?(kse("route-fallback"),v=!0,T=null):d===y&&(v=!0,T=g.route.hydrateFallbackElement||null)));let C=t.concat(o.slice(0,y+1)),k=()=>{let _;return h?_=E:v?_=T:g.route.Component?_=R.createElement(g.route.Component,null):g.route.element?_=g.route.element:_=f,R.createElement(yse,{match:g,routeContext:{outlet:f,matches:C,isDataRoute:n!=null},children:_})};return n&&(g.route.ErrorBoundary||g.route.errorElement||y===0)?R.createElement(vse,{location:n.location,revalidation:n.revalidation,component:E,error:h,children:k(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):k()},null)}var SX=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(SX||{}),EX=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(EX||{});function wse(e){let t=R.useContext(j3);return t||za(!1),t}function Sse(e){let t=R.useContext(sse);return t||za(!1),t}function Ese(e){let t=R.useContext(Pc);return t||za(!1),t}function TX(e){let t=Ese(),n=t.matches[t.matches.length-1];return n.route.id||za(!1),n.route.id}function Tse(){var e;let t=R.useContext(yX),n=Sse(),r=TX();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Cse(){let{router:e}=wse(SX.UseNavigateStable),t=TX(EX.UseNavigateStable),n=R.useRef(!1);return bX(()=>{n.current=!0}),R.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,OS({fromRouteId:t},i)))},[e,t])}const oU={};function kse(e,t,n){oU[e]||(oU[e]=!0)}function CX(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}const xse="startTransition",sU=kS[xse];function _se(e){let{basename:t,children:n,initialEntries:r,initialIndex:a,future:i}=e,o=R.useRef();o.current==null&&(o.current=Ioe({initialEntries:r,initialIndex:a,v5Compat:!0}));let l=o.current,[u,d]=R.useState({action:l.action,location:l.location}),{v7_startTransition:f}=i||{},g=R.useCallback(y=>{f&&sU?sU(()=>d(y)):d(y)},[d,f]);return R.useLayoutEffect(()=>l.listen(g),[l,g]),R.useEffect(()=>CX(i),[i]),R.createElement(kX,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:i})}function B3(e){let{to:t,replace:n,state:r,relative:a}=e;l0()||za(!1);let{future:i,static:o}=R.useContext(ch),{matches:l}=R.useContext(Pc),{pathname:u}=Xd(),d=U3(),f=F3(t,L3(l,i.v7_relativeSplatPath),u,a==="path"),g=JSON.stringify(f);return R.useEffect(()=>d(JSON.parse(g),{replace:n,state:r,relative:a}),[d,g,a,n,r]),null}function Ose(e){return dse(e.context)}function mt(e){za(!1)}function kX(e){let{basename:t="/",children:n=null,location:r,navigationType:a=Tl.Pop,navigator:i,static:o=!1,future:l}=e;l0()&&za(!1);let u=t.replace(/^\/*/,"/"),d=R.useMemo(()=>({basename:u,navigator:i,static:o,future:OS({v7_relativeSplatPath:!1},l)}),[u,l,i,o]);typeof r=="string"&&(r=uh(r));let{pathname:f="/",search:g="",hash:y="",state:h=null,key:v="default"}=r,E=R.useMemo(()=>{let T=$3(f,u);return T==null?null:{location:{pathname:T,search:g,hash:y,state:h,key:v},navigationType:a}},[u,f,g,y,h,v,a]);return E==null?null:R.createElement(ch.Provider,{value:d},R.createElement(Kx.Provider,{children:n,value:E}))}function xX(e){let{children:t,location:n}=e;return pse(L$(t),n)}new Promise(()=>{});function L$(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(r,a)=>{if(!R.isValidElement(r))return;let i=[...t,a];if(r.type===R.Fragment){n.push.apply(n,L$(r.props.children,i));return}r.type!==mt&&za(!1),!r.props.index||!r.props.children||za(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=L$(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.30.0 * * Copyright (c) Remix Software Inc. @@ -73,7 +73,7 @@ Error generating stack: `+m.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function KD(){return KD=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function Hoe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Voe(e,t){return e.button===0&&(!t||t==="_self")&&!Hoe(e)}const Goe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Yoe="6";try{window.__reactRouterVersion=Yoe}catch{}const Koe="startTransition",S4=K1[Koe];function UK(e){let{basename:t,children:n,future:r,window:a}=e,i=R.useRef();i.current==null&&(i.current=Xie({window:a,v5Compat:!0}));let o=i.current,[l,u]=R.useState({action:o.action,location:o.location}),{v7_startTransition:d}=r||{},f=R.useCallback(g=>{d&&S4?S4(()=>u(g)):u(g)},[u,d]);return R.useLayoutEffect(()=>o.listen(f),[o,f]),R.useEffect(()=>LK(r),[r]),R.createElement(FK,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const Xoe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Qoe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,XD=R.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:l,target:u,to:d,preventScrollReset:f,viewTransition:g}=t,y=qoe(t,Goe),{basename:p}=R.useContext(Zp),v,E=!1;if(typeof d=="string"&&Qoe.test(d)&&(v=d,Xoe))try{let _=new URL(window.location.href),A=d.startsWith("//")?new URL(_.protocol+d):new URL(d),P=YL(A.pathname,p);A.origin===_.origin&&P!=null?d=P+A.search+A.hash:E=!0}catch{}let T=Toe(d,{relative:a}),C=Zoe(d,{replace:o,state:l,target:u,preventScrollReset:f,relative:a,viewTransition:g});function k(_){r&&r(_),_.defaultPrevented||C(_)}return R.createElement("a",KD({},y,{href:v||T,onClick:E||i?r:k,ref:n,target:u}))});var E4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(E4||(E4={}));var T4;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(T4||(T4={}));function Zoe(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,viewTransition:l}=t===void 0?{}:t,u=ZL(),d=Bd(),f=MK(e,{relative:o});return R.useCallback(g=>{if(Voe(g,n)){g.preventDefault();let y=r!==void 0?r:Q1(d)===Q1(f);u(e,{replace:y,state:a,preventScrollReset:i,relative:o,viewTransition:l})}},[d,u,f,r,a,n,e,i,o,l])}const Jp=ze.createContext({patchConfig(){},config:{}});function Joe(){const e=localStorage.getItem("app_config2");if(e){try{const t=JSON.parse(e);return t?{...t}:{}}catch{}return{}}}const ese=Joe();function BK({children:e,initialConfig:t}){const[n,r]=R.useState({...t,...ese}),a=i=>{r(o=>{const l={...o,...i};return localStorage.setItem("app_config2",JSON.stringify(l)),l})};return w.jsx(Jp.Provider,{value:{config:n,patchConfig:a},children:e})}const WK={onlyOnRoot:"This feature is only available for root access, please ask your administrator for more details",productName:"Fireback",orders:{archiveTitle:"Orders",discountCode:"Discount code",discountCodeHint:"Discount code",editOrder:"Edit order",invoiceNumber:"Invoice number",invoiceNumberHint:"Invoice number",items:"Items",itemsHint:"Items",newOrder:"New order",orderStatus:"Order status",orderStatusHint:"Order status",paymentStatus:"Payment status",paymentStatusHint:"Payment status",shippingAddress:"Shipping address",shippingAddressHint:"Shipping address",totalPrice:"Total price",totalPriceHint:"Total price"},shoppingCarts:{archiveTitle:"Shopping carts",editShoppingCart:"Edit shopping cart",items:"Items",itemsHint:"Items",newShoppingCart:"New shopping cart",product:"Product",productHint:"Select the product item",quantity:"Quantity",quantityHint:"How many products do you want"},discountCodes:{appliedCategories:"Applied categories",appliedCategoriesHint:"Applied categories",appliedProducts:"Applied products",appliedProductsHint:"Applied products",archiveTitle:"Discount codes",editDiscountCode:"Edit discount code",excludedCategories:"Excluded categories",excludedCategoriesHint:"Excluded categories",excludedProducts:"Excluded products",excludedProductsHint:"Excluded products",limit:"Limit",limitHint:"Limit",newDiscountCode:"New discount code",series:"Series",seriesHint:"Series",validFrom:"Valid from",validFromHint:"Valid from",validUntil:"Valid until",validUntilHint:"Valid until"},postcategories:{archiveTitle:"Post Category",editpostCategory:"Edit Post category",name:"Name",nameHint:"Name",newpostCategory:"Newpost category"},pagecategories:{archiveTitle:"Page category",editpageCategory:"Edit page category",name:"Name",nameHint:"Name",newpageCategory:"New page category"},posttags:{archiveTitle:"Post tag",editpostTag:"Edit post tag",name:"Name",nameHint:"Name",newpostTag:"New post tag"},pagetags:{archiveTitle:"Page tag",editpageTag:"Edit page tag",name:"Name",nameHint:"Name",newpageTag:"New page tag"},posts:{archiveTitle:"Posts",category:"Category",categoryHint:"Category",content:"Content",contentHint:"content",editpost:"Edit post",newpost:"New post",tags:"Tags",tagsHint:"Tags",title:"Title",titleHint:"Title"},pages:{archiveTitle:"Pages",category:"Category",categoryHint:"Page category",content:"Content",contentHint:"",editpage:"Edit page",newpage:"New page",tags:"Tags",tagsHint:"Page tags",title:"Title",titleHint:"Page title"},components:{currency:"Currency",currencyHint:"Currency type",amount:"Amount",amountHint:"Amount in numbers, separated by . for cents"},brands:{archiveTitle:"Brand",editBrand:"Edit brand",name:"Name",nameHint:"Brand's name",newBrand:"New brand"},tags:{archiveTitle:"Tags",editTag:"Edit tag",name:"Name",nameHint:"Tag name",newTag:"Name of the tag"},productsubmissions:{name:"Name",nameHint:"Name of the product",archiveTitle:"Product Inventory",brand:"Brand",brandHint:"If the product belongs to an specific brand",category:"Category",categoryHint:"Product category",description:"Description",descriptionHint:"Product description",editproductSubmission:"Edit product submission",newproductSubmission:"Newproduct submission",price:"Price",priceHint:"Set the price tag for the product",product:"Product",productHint:"Select the product type",sku:"SKU",skuHint:"SKU code for the product",tags:"Tags",tagsHint:"Product tags"},products:{archiveTitle:"product",description:"Description",descriptionHint:"Describe the product form",editproduct:"Edit product",fields:"fields",fieldsHint:"fields hint",jsonSchema:"json schema",jsonSchemaHint:"json schema hint",name:"Form name",nameHint:"Name the type of products which this form represents",newproduct:"New product",uiSchema:"ui schema",uiSchemaHint:"ui schema hint"},categories:{archiveTitle:"Categories",editCategory:"Edit category",name:"Name",nameHint:"Name of the category",newCategory:"New category",parent:"Parent category",parentHint:"This category would be under the parent category in display or search"},abac:{backToApp:"Go back to the app",email:"Email",emailAddress:"Email address",firstName:"First name",lastName:"Last name",otpOrDifferent:"Or try a different account instead",otpResetMethod:"Reset method",otpTitle:"One time password",otpTitleHint:`Login to your account via a 6-8 digit pins, which we will + */function F$(){return F$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function Pse(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ase(e,t){return e.button===0&&(!t||t==="_self")&&!Pse(e)}const Nse=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Mse="6";try{window.__reactRouterVersion=Mse}catch{}const Ise="startTransition",lU=kS[Ise];function _X(e){let{basename:t,children:n,future:r,window:a}=e,i=R.useRef();i.current==null&&(i.current=Doe({window:a,v5Compat:!0}));let o=i.current,[l,u]=R.useState({action:o.action,location:o.location}),{v7_startTransition:d}=r||{},f=R.useCallback(g=>{d&&lU?lU(()=>u(g)):u(g)},[u,d]);return R.useLayoutEffect(()=>o.listen(f),[o,f]),R.useEffect(()=>CX(r),[r]),R.createElement(kX,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const Dse=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$se=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,j$=R.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:l,target:u,to:d,preventScrollReset:f,viewTransition:g}=t,y=Rse(t,Nse),{basename:h}=R.useContext(ch),v,E=!1;if(typeof d=="string"&&$se.test(d)&&(v=d,Dse))try{let _=new URL(window.location.href),A=d.startsWith("//")?new URL(_.protocol+d):new URL(d),P=$3(A.pathname,h);A.origin===_.origin&&P!=null?d=P+A.search+A.hash:E=!0}catch{}let T=lse(d,{relative:a}),C=Lse(d,{replace:o,state:l,target:u,preventScrollReset:f,relative:a,viewTransition:g});function k(_){r&&r(_),_.defaultPrevented||C(_)}return R.createElement("a",F$({},y,{href:v||T,onClick:E||i?r:k,ref:n,target:u}))});var uU;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uU||(uU={}));var cU;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cU||(cU={}));function Lse(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,viewTransition:l}=t===void 0?{}:t,u=U3(),d=Xd(),f=wX(e,{relative:o});return R.useCallback(g=>{if(Ase(g,n)){g.preventDefault();let y=r!==void 0?r:_S(d)===_S(f);u(e,{replace:y,state:a,preventScrollReset:i,relative:o,viewTransition:l})}},[d,u,f,r,a,n,e,i,o,l])}const dh=ze.createContext({patchConfig(){},config:{}});function Fse(){const e=localStorage.getItem("app_config2");if(e){try{const t=JSON.parse(e);return t?{...t}:{}}catch{}return{}}}const jse=Fse();function OX({children:e,initialConfig:t}){const[n,r]=R.useState({...t,...jse}),a=i=>{r(o=>{const l={...o,...i};return localStorage.setItem("app_config2",JSON.stringify(l)),l})};return w.jsx(dh.Provider,{value:{config:n,patchConfig:a},children:e})}const RX={onlyOnRoot:"This feature is only available for root access, please ask your administrator for more details",productName:"Fireback",orders:{archiveTitle:"Orders",discountCode:"Discount code",discountCodeHint:"Discount code",editOrder:"Edit order",invoiceNumber:"Invoice number",invoiceNumberHint:"Invoice number",items:"Items",itemsHint:"Items",newOrder:"New order",orderStatus:"Order status",orderStatusHint:"Order status",paymentStatus:"Payment status",paymentStatusHint:"Payment status",shippingAddress:"Shipping address",shippingAddressHint:"Shipping address",totalPrice:"Total price",totalPriceHint:"Total price"},shoppingCarts:{archiveTitle:"Shopping carts",editShoppingCart:"Edit shopping cart",items:"Items",itemsHint:"Items",newShoppingCart:"New shopping cart",product:"Product",productHint:"Select the product item",quantity:"Quantity",quantityHint:"How many products do you want"},discountCodes:{appliedCategories:"Applied categories",appliedCategoriesHint:"Applied categories",appliedProducts:"Applied products",appliedProductsHint:"Applied products",archiveTitle:"Discount codes",editDiscountCode:"Edit discount code",excludedCategories:"Excluded categories",excludedCategoriesHint:"Excluded categories",excludedProducts:"Excluded products",excludedProductsHint:"Excluded products",limit:"Limit",limitHint:"Limit",newDiscountCode:"New discount code",series:"Series",seriesHint:"Series",validFrom:"Valid from",validFromHint:"Valid from",validUntil:"Valid until",validUntilHint:"Valid until"},postcategories:{archiveTitle:"Post Category",editpostCategory:"Edit Post category",name:"Name",nameHint:"Name",newpostCategory:"Newpost category"},pagecategories:{archiveTitle:"Page category",editpageCategory:"Edit page category",name:"Name",nameHint:"Name",newpageCategory:"New page category"},posttags:{archiveTitle:"Post tag",editpostTag:"Edit post tag",name:"Name",nameHint:"Name",newpostTag:"New post tag"},pagetags:{archiveTitle:"Page tag",editpageTag:"Edit page tag",name:"Name",nameHint:"Name",newpageTag:"New page tag"},posts:{archiveTitle:"Posts",category:"Category",categoryHint:"Category",content:"Content",contentHint:"content",editpost:"Edit post",newpost:"New post",tags:"Tags",tagsHint:"Tags",title:"Title",titleHint:"Title"},pages:{archiveTitle:"Pages",category:"Category",categoryHint:"Page category",content:"Content",contentHint:"",editpage:"Edit page",newpage:"New page",tags:"Tags",tagsHint:"Page tags",title:"Title",titleHint:"Page title"},components:{currency:"Currency",currencyHint:"Currency type",amount:"Amount",amountHint:"Amount in numbers, separated by . for cents"},brands:{archiveTitle:"Brand",editBrand:"Edit brand",name:"Name",nameHint:"Brand's name",newBrand:"New brand"},tags:{archiveTitle:"Tags",editTag:"Edit tag",name:"Name",nameHint:"Tag name",newTag:"Name of the tag"},productsubmissions:{name:"Name",nameHint:"Name of the product",archiveTitle:"Product Inventory",brand:"Brand",brandHint:"If the product belongs to an specific brand",category:"Category",categoryHint:"Product category",description:"Description",descriptionHint:"Product description",editproductSubmission:"Edit product submission",newproductSubmission:"Newproduct submission",price:"Price",priceHint:"Set the price tag for the product",product:"Product",productHint:"Select the product type",sku:"SKU",skuHint:"SKU code for the product",tags:"Tags",tagsHint:"Product tags"},products:{archiveTitle:"product",description:"Description",descriptionHint:"Describe the product form",editproduct:"Edit product",fields:"fields",fieldsHint:"fields hint",jsonSchema:"json schema",jsonSchemaHint:"json schema hint",name:"Form name",nameHint:"Name the type of products which this form represents",newproduct:"New product",uiSchema:"ui schema",uiSchemaHint:"ui schema hint"},categories:{archiveTitle:"Categories",editCategory:"Edit category",name:"Name",nameHint:"Name of the category",newCategory:"New category",parent:"Parent category",parentHint:"This category would be under the parent category in display or search"},abac:{backToApp:"Go back to the app",email:"Email",emailAddress:"Email address",firstName:"First name",lastName:"Last name",otpOrDifferent:"Or try a different account instead",otpResetMethod:"Reset method",otpTitle:"One time password",otpTitleHint:`Login to your account via a 6-8 digit pins, which we will send by phone or email. You can change your password later in account center.`,password:"Password",remember:"Remember my credentials",signin:"Sign in",signout:"Sign out",signup:"Sign up",signupType:"Signup Type",signupTypeHint:"Select how do you want to use software",viaEmail:"Send pin via email address",viaSms:"Phone number (SMS)"},about:"About",acChecks:{moduleName:"Checks"},acbankbranches:{acBankBranchArchiveTitle:"Bank Branches",bank:"Bank",bankHint:"The bank that this branch belongs to",bankId:"Bank",city:"City",cityHint:"City that this bank branch is located",cityId:"City",editAcBank:"Edit Bank Branch",editAcBankBranch:"Edit Bank Branch",locaitonHint:"Physical location of the branch",location:"Location",name:"Bank Branch Name",nameHint:"The branch name of the bank, town may be included",newAcBankBranch:"New Bank Branch",province:"Province",provinceHint:"Province that this bank branch is located"},acbanks:{acBankArchiveTitle:"Banks",editAcBank:"Edit Bank",name:"Bank name",nameHint:"The national name of the bank to make it easier recognize",newAcBank:"New Bank"},accesibility:{leftHand:"Left handed",rightHand:"Right handed"},acchecks:{acCheckArchiveTitle:"Checks",amount:"Amount",amountFormatted:"Amount",amountHint:"Amount of this check",bankBranch:"Bank Branch",bankBranchCityName:"City name",bankBranchHint:"The branch which has issued this check",bankBranchId:"Bank Branch",bankBranchName:"Branch name",currency:"Currency",currencyHint:"The currency which this check is written in",customer:"Customer",customerHint:"The customer that this check is from or belongs to",customerId:"Customer",dueDate:"Due Date",dueDateFormatted:"Due Date",dueDateHint:"The date that this check should be passed",editAcCheck:"Edit Check",identifier:"Identifier",identifierHint:"Identifier is special code for this check or unique id",issueDate:"Issue date",issueDateFormatted:"Issue Date",issueDateHint:"The date that check has been issued",newAcCheck:"New Check",recipientBankBranch:"Recipient Bank Branch",recipientBankBranchHint:"The bank which this check has been taken to",recipientCustomer:"Recipient Customer",recipientCustomerHint:"The customer who has this check",status:"Status",statusHint:"The status of this check"},accheckstatuses:{acCheckStatusArchiveTitle:"Check Statuses",editAcCheckStatus:"Edit Check Status",name:"Status Name",nameHint:"Status name which will be assigned to a check in workflow",newAcCheckStatus:"New Check Status"},accountcollections:{archiveTitle:"Account Collections",editAccountCollection:"Edit Collection",name:"Collection Name",nameHint:"Name the account collection",newAccountCollection:"New Account Collection"},accounting:{account:{currency:"Currency",name:"Name"},accountCollections:"Account Collections",accountCollectionsHint:"Account Collections",amount:"Amount",legalUnit:{name:"Name"},settlementDate:"Settlement Date",summary:"summary",title:"Title",transactionDate:"Transaction Date"},actions:{addJob:"+ Add job",back:"Back",edit:"Edit",new:"New"},addLocation:"Add location",alreadyHaveAnAccount:"Already have an account? Sign in instead",answerSheet:{grammarProgress:"Grammar %",listeningProgress:"Listening %",readingProgress:"Reading %",sourceExam:"Source exam",speakingProgress:"Speaking %",takerFullname:"Student fullname",writingProgress:"Writing %"},authenticatedOnly:"This section requires you to login before viewing or editing of any kind.",backup:{generateAndDownload:"Generate & Download",generateDescription:`You can create a backup of the system here. It's important to remember you will generate back from data which are visible to you. Making @@ -88,29 +88,29 @@ Error generating stack: `+m.message+` subsequent workspaces, by registering via email, phone number or other types of the passports. In this section you can enable, disable, and make some other - configurations.`,resetToDefault:"Reset to default",role:"role",roleHint:"Select role",sender:"Sender",sidetitle:"Workspaces",slug:"Slug",title:"Title",type:"Type",workspaceName:"Workspace name",workspaceNameHint:"Enter the workspace name",workspaceTypeSlug:"Slug address",workspaceTypeSlugHint:"The path that publicly will be available to users, if they signup through this account this role would be assigned to them.",workspaceTypeTitle:"Title",workspaceTypeUniqueId:"Unique Id",workspaceTypeUniqueIdHint:"Unique id can be used to redirect user to direct signin",workspaceTypeTitleHint:"The title of the Workspace"}};function tse(e){let t="en";const n=e.match(/^\/(fa|en|ar|pl|de|ua|ru)\//);return n&&n[1]&&(t=n[1]),["fa","en","ar","pl","de","ru","ua"].includes(t)?t:"en"}const nse=e=>w.jsx(XD,{...e,to:e.href,children:e.children});function xr(){const e=ZL(),t=_oe(),n=Bd(),r=(i,o,l,u=!1)=>{const d=tse(window.location.pathname);let f=i.replace("{locale}",d);e(f,{replace:u,state:l})},a=(i,o,l)=>{r(i,o,l,!0)};return{asPath:n.pathname,state:n.state,pathname:"",query:t,push:r,goBack:()=>e(-1),goBackOrDefault:i=>e(-1),goForward:()=>e(1),replace:a}}var rse={VITE_REMOTE_SERVICE:"/",PUBLIC_URL:"/manage/",VITE_DEFAULT_ROUTE:"/{locale}/dashboard",VITE_SUPPORTED_LANGUAGES:"fa,en"};const Xf=rse,kr={REMOTE_SERVICE:Xf.VITE_REMOTE_SERVICE,PUBLIC_URL:Xf.PUBLIC_URL,DEFAULT_ROUTE:Xf.VITE_DEFAULT_ROUTE,SUPPORTED_LANGUAGES:Xf.VITE_SUPPORTED_LANGUAGES,GITHUB_DEMO:Xf.VITE_GITHUB_DEMO,FORCED_LOCALE:Xf.VITE_FORCED_LOCALE,FORCE_APP_THEME:Xf.VITE_FORCE_APP_THEME,NAVIGATE_ON_SIGNOUT:Xf.VITE_NAVIGATE_ON_SIGNOUT};function ase(e){let t="en";const n=e.match(/^\/(fa|en|ar|pl|de)\//);return n&&n[1]&&(t=n[1]),t}function sr(){const e=xr();let t="en",n="us",r="ltr";return kr.FORCED_LOCALE?t=kr.FORCED_LOCALE:e.query.locale?t=`${e.query.locale}`:t=ase(e.asPath),t==="fa"&&(n="ir",r="rtl"),{locale:t,asPath:e.asPath,region:n,dir:r}}const ise={onlyOnRoot:"این بخش فقط برای دسترسی روت قابل مشاهده است. در صورت نیاز به اطلاعات بیشتر با مدیر سیستم خود تماس بگیرید.",abac:{backToApp:"رفتن به صفحات داخلی",email:"ایمیل",emailAddress:"آدرس ایمیل",firstName:"نام",lastName:"نام خانوادگی",otpOrDifferent:"یا یه حساب کاربری دیگه را امتحان کنید",otpResetMethod:"روش ریست کردن رمز",otpTitle:"رمز یک بار ورود",otpTitleHint:"برای ورود یک کد ۶ رقمی به وسیله یکی از روش های ارتباطی دریافت میکنید. بعدا میتوانید رمز خود را از طریق تنظیمات عوض کنید.",password:"کلمه عبور",remember:"مرا به یاد بسپار",signin:"ورود",signout:"خروج",signup:"ثبت نام",signupType:"نوع ثبت نام",signupTypeHint:"نوع حساب کاربری خود را مشخص کنید.",viaEmail:"از طریق ایمیل",viaSms:"از طریق پیامک"},about:"درباره",acChecks:{moduleName:"چک ها"},acbankbranches:{acBankBranchArchiveTitle:"شعب بانک",bank:"بانک",bankHint:"بانکی که این شعبه به آن تعلق دارد",bankId:"بانک",city:"شهر",cityHint:"شهری که این بانک در آن وجود دارد",cityId:"شهر",editAcBank:"ویرایش شعبه",editAcBankBranch:"ویرایش شعبه",locaitonHint:"شهر، استان و یا ناحیه ای که این شعبه در آن است",location:"مکان",name:"نام شعبه",nameHint:"نام این شعبه بانک، کد یا اسم محل یا شهر هم مجاز است",newAcBankBranch:"شعبه جدید بانک",province:"استان",provinceHint:"استانی که این بانک در آن قرار دارد"},acbanks:{acBankArchiveTitle:"بانک ها",editAcBank:"ویرایش بانک",name:"نام بانک",nameHint:"نام بانک را به صورت کلی برای شناسایی راحت تر وارد کنید",newAcBank:"بانک جدید"},accesibility:{leftHand:"چپ دست",rightHand:"راست دست"},accheck:{acCheckArchiveTitle:"چک ها"},acchecks:{acCheckArchiveTitle:"چک ها",amount:"مبلغ",amountFormatted:"مبلغ",amountHint:"مبلغ قابل پرداخت چک",bankBranch:"شعبه بانک",bankBranchCityName:"نام شهر",bankBranchHint:"شعبه بانکی که این چک را صادر کرده است",bankBranchId:"شعبه بانک",bankBranchName:"ن",currency:"واحد پول",currencyHint:"واحد پولی که این چک دارد",customer:"مشتری",customerHint:"مشتری یا شخصی که این چک به او مربوط است",customerId:"مشتری",dueDate:"تاریخ سررسید",dueDateFormatted:"تاریخ سررسید",dueDateHint:"زمانی که چک قابل نقد شدن در بانک باشد",editAcCheck:"ویرایش چک",identifier:"شناسه چک",identifierHint:"شناسه یا کد مخصوص این چک",issueDate:"تاریخ صدور",issueDateFormatted:"تاریخ صدور",issueDateHint:"تاریخی که چک صادر شده است",newAcCheck:"چک جدید",recipientBankBranch:"بانک دریافت کننده",recipientBankBranchHint:"بانکی که این چک برای نقد شدن به آن ارسال شده",recipientCustomer:"مشتری دریافت کننده",recipientCustomerHint:"مشتری که این چک را دریافت کرده است",status:"وضعیت",statusHint:"وضعیت نهایی این چک"},accheckstatuses:{acCheckStatusArchiveTitle:"وضعیت چک",editAcCheckStatus:"ویرایش وضعیت چک",name:"نام وضعیت",nameHint:"نام وضعیتی که به چک ها اختصاص داده میشود",newAcCheckStatus:"وضعیت جدید چک"},accountcollections:{archiveTitle:"سرفصل های حسابداری",editAccountCollection:"ویرایش سرفصل",name:"نام سرفصل",nameHint:"نامی که برای این سرفصل حسابداری در نظر گرفته شده",newAccountCollection:"سرفصل جدید"},accounting:{account:{currency:"واحد پول",name:"نام"},accountCollections:"سرفصل های حسابداری",accountCollectionsHint:"سرفصل های حسابداری",amount:"میزان",legalUnit:{name:"نام"},settlementDate:"تاریخ حل و فصل",summary:"خلاصه",title:"عنوان",transactionDate:"تاریخ معامله"},actions:{addJob:"+ اضافه کردن شغل",back:"Back",edit:"ویرایش",new:"جدید"},addLocation:"اضافه کردن لوکیشن",alreadyHaveAnAccount:"از قبل حساب کاربری دارید؟ به جای آن وارد شوید",answerSheet:{grammarProgress:"گرامر %",listeningProgress:"استماع ٪",readingProgress:"خواندن %",sourceExam:"آزمون منبع",speakingProgress:"صحبت كردن ٪",takerFullname:"نام کامل دانش آموز",writingProgress:"% نوشتن"},authenticatedOnly:"این بخش شما را ملزم می کند که قبل از مشاهده یا ویرایش هر نوع وارد شوید.",b1PolishSample:{b12018:"2018 B1 Sample",grammar:"گرامر",listenning:"شنیدار",reading:"خواندن",speaking:"صحبت",writing:"نوشتار"},backup:{generateAndDownload:"ایجاد و دانلود",generateDescription:`در اینجا می توانید یک نسخه پشتیبان از سیستم ایجاد کنید. مهم است که به خاطر داشته باشید + configurations.`,resetToDefault:"Reset to default",role:"role",roleHint:"Select role",sender:"Sender",sidetitle:"Workspaces",slug:"Slug",title:"Title",type:"Type",workspaceName:"Workspace name",workspaceNameHint:"Enter the workspace name",workspaceTypeSlug:"Slug address",workspaceTypeSlugHint:"The path that publicly will be available to users, if they signup through this account this role would be assigned to them.",workspaceTypeTitle:"Title",workspaceTypeUniqueId:"Unique Id",workspaceTypeUniqueIdHint:"Unique id can be used to redirect user to direct signin",workspaceTypeTitleHint:"The title of the Workspace"}};function Use(e){let t="en";const n=e.match(/^\/(fa|en|ar|pl|de|ua|ru)\//);return n&&n[1]&&(t=n[1]),["fa","en","ar","pl","de","ru","ua"].includes(t)?t:"en"}const Bse=e=>w.jsx(j$,{...e,to:e.href,children:e.children});function xr(){const e=U3(),t=fse(),n=Xd(),r=(i,o,l,u=!1)=>{const d=Use(window.location.pathname);let f=i.replace("{locale}",d);e(f,{replace:u,state:l})},a=(i,o,l)=>{r(i,o,l,!0)};return{asPath:n.pathname,state:n.state,pathname:"",query:t,push:r,goBack:()=>e(-1),goBackOrDefault:i=>e(-1),goForward:()=>e(1),replace:a}}var Wse={VITE_REMOTE_SERVICE:"/",PUBLIC_URL:"/manage/",VITE_DEFAULT_ROUTE:"/{locale}/dashboard",VITE_SUPPORTED_LANGUAGES:"fa,en"};const ip=Wse,kr={REMOTE_SERVICE:ip.VITE_REMOTE_SERVICE,PUBLIC_URL:ip.PUBLIC_URL,DEFAULT_ROUTE:ip.VITE_DEFAULT_ROUTE,SUPPORTED_LANGUAGES:ip.VITE_SUPPORTED_LANGUAGES,GITHUB_DEMO:ip.VITE_GITHUB_DEMO,FORCED_LOCALE:ip.VITE_FORCED_LOCALE,FORCE_APP_THEME:ip.VITE_FORCE_APP_THEME,NAVIGATE_ON_SIGNOUT:ip.VITE_NAVIGATE_ON_SIGNOUT};function zse(e){let t="en";const n=e.match(/^\/(fa|en|ar|pl|de)\//);return n&&n[1]&&(t=n[1]),t}function sr(){const e=xr();let t="en",n="us",r="ltr";return kr.FORCED_LOCALE?t=kr.FORCED_LOCALE:e.query.locale?t=`${e.query.locale}`:t=zse(e.asPath),t==="fa"&&(n="ir",r="rtl"),{locale:t,asPath:e.asPath,region:n,dir:r}}const qse={onlyOnRoot:"این بخش فقط برای دسترسی روت قابل مشاهده است. در صورت نیاز به اطلاعات بیشتر با مدیر سیستم خود تماس بگیرید.",abac:{backToApp:"رفتن به صفحات داخلی",email:"ایمیل",emailAddress:"آدرس ایمیل",firstName:"نام",lastName:"نام خانوادگی",otpOrDifferent:"یا یه حساب کاربری دیگه را امتحان کنید",otpResetMethod:"روش ریست کردن رمز",otpTitle:"رمز یک بار ورود",otpTitleHint:"برای ورود یک کد ۶ رقمی به وسیله یکی از روش های ارتباطی دریافت میکنید. بعدا میتوانید رمز خود را از طریق تنظیمات عوض کنید.",password:"کلمه عبور",remember:"مرا به یاد بسپار",signin:"ورود",signout:"خروج",signup:"ثبت نام",signupType:"نوع ثبت نام",signupTypeHint:"نوع حساب کاربری خود را مشخص کنید.",viaEmail:"از طریق ایمیل",viaSms:"از طریق پیامک"},about:"درباره",acChecks:{moduleName:"چک ها"},acbankbranches:{acBankBranchArchiveTitle:"شعب بانک",bank:"بانک",bankHint:"بانکی که این شعبه به آن تعلق دارد",bankId:"بانک",city:"شهر",cityHint:"شهری که این بانک در آن وجود دارد",cityId:"شهر",editAcBank:"ویرایش شعبه",editAcBankBranch:"ویرایش شعبه",locaitonHint:"شهر، استان و یا ناحیه ای که این شعبه در آن است",location:"مکان",name:"نام شعبه",nameHint:"نام این شعبه بانک، کد یا اسم محل یا شهر هم مجاز است",newAcBankBranch:"شعبه جدید بانک",province:"استان",provinceHint:"استانی که این بانک در آن قرار دارد"},acbanks:{acBankArchiveTitle:"بانک ها",editAcBank:"ویرایش بانک",name:"نام بانک",nameHint:"نام بانک را به صورت کلی برای شناسایی راحت تر وارد کنید",newAcBank:"بانک جدید"},accesibility:{leftHand:"چپ دست",rightHand:"راست دست"},accheck:{acCheckArchiveTitle:"چک ها"},acchecks:{acCheckArchiveTitle:"چک ها",amount:"مبلغ",amountFormatted:"مبلغ",amountHint:"مبلغ قابل پرداخت چک",bankBranch:"شعبه بانک",bankBranchCityName:"نام شهر",bankBranchHint:"شعبه بانکی که این چک را صادر کرده است",bankBranchId:"شعبه بانک",bankBranchName:"ن",currency:"واحد پول",currencyHint:"واحد پولی که این چک دارد",customer:"مشتری",customerHint:"مشتری یا شخصی که این چک به او مربوط است",customerId:"مشتری",dueDate:"تاریخ سررسید",dueDateFormatted:"تاریخ سررسید",dueDateHint:"زمانی که چک قابل نقد شدن در بانک باشد",editAcCheck:"ویرایش چک",identifier:"شناسه چک",identifierHint:"شناسه یا کد مخصوص این چک",issueDate:"تاریخ صدور",issueDateFormatted:"تاریخ صدور",issueDateHint:"تاریخی که چک صادر شده است",newAcCheck:"چک جدید",recipientBankBranch:"بانک دریافت کننده",recipientBankBranchHint:"بانکی که این چک برای نقد شدن به آن ارسال شده",recipientCustomer:"مشتری دریافت کننده",recipientCustomerHint:"مشتری که این چک را دریافت کرده است",status:"وضعیت",statusHint:"وضعیت نهایی این چک"},accheckstatuses:{acCheckStatusArchiveTitle:"وضعیت چک",editAcCheckStatus:"ویرایش وضعیت چک",name:"نام وضعیت",nameHint:"نام وضعیتی که به چک ها اختصاص داده میشود",newAcCheckStatus:"وضعیت جدید چک"},accountcollections:{archiveTitle:"سرفصل های حسابداری",editAccountCollection:"ویرایش سرفصل",name:"نام سرفصل",nameHint:"نامی که برای این سرفصل حسابداری در نظر گرفته شده",newAccountCollection:"سرفصل جدید"},accounting:{account:{currency:"واحد پول",name:"نام"},accountCollections:"سرفصل های حسابداری",accountCollectionsHint:"سرفصل های حسابداری",amount:"میزان",legalUnit:{name:"نام"},settlementDate:"تاریخ حل و فصل",summary:"خلاصه",title:"عنوان",transactionDate:"تاریخ معامله"},actions:{addJob:"+ اضافه کردن شغل",back:"Back",edit:"ویرایش",new:"جدید"},addLocation:"اضافه کردن لوکیشن",alreadyHaveAnAccount:"از قبل حساب کاربری دارید؟ به جای آن وارد شوید",answerSheet:{grammarProgress:"گرامر %",listeningProgress:"استماع ٪",readingProgress:"خواندن %",sourceExam:"آزمون منبع",speakingProgress:"صحبت كردن ٪",takerFullname:"نام کامل دانش آموز",writingProgress:"% نوشتن"},authenticatedOnly:"این بخش شما را ملزم می کند که قبل از مشاهده یا ویرایش هر نوع وارد شوید.",b1PolishSample:{b12018:"2018 B1 Sample",grammar:"گرامر",listenning:"شنیدار",reading:"خواندن",speaking:"صحبت",writing:"نوشتار"},backup:{generateAndDownload:"ایجاد و دانلود",generateDescription:`در اینجا می توانید یک نسخه پشتیبان از سیستم ایجاد کنید. مهم است که به خاطر داشته باشید شما از داده هایی که برای شما قابل مشاهده است تولید خواهید کرد. پشتیبان‌گیری باید با استفاده از حساب‌های مدیریتی انجام شود تا از پوشش همه داده‌های موجود در سیستم اطمینان حاصل شود.`,generateTitle:"ایجاد پشتیبان",restoreDescription:"در اینجا می‌توانید فایل‌های پشتیبان یا داده‌هایی را که از نصب دیگری منتقل کرده‌اید، وارد سیستم کنید.",restoreTitle:"بازیابی نسخه های پشتیبان",uploadAndRestore:"آپلود و بازیابی"},banks:{title:"بانک ها"},classroom:{classRoomName:"نام کلاس درس",classRoomNameHint:"عنوان کلاس را وارد کنید، به عنوان مثال: اسپانیایی گروه A1.1",description:"شرح",descriptionHint:"با چند کلمه توضیح دهید که این کلاس درس در مورد چیست، تا دانش آموزان آن را به راحتی پیدا کنند",editClassRoom:"ویرایش کلاس درس",gogoleMeetUrlHint:"آدرس اینترنتی را که زبان آموزان برای دسترسی به کلاس باز می کنند قرار دهید",googleMeetUrl:"آدرس اینترنتی Google Meet",members:"اعضا",membersHint:"دانش آموزان (اعضایی) را که می توانند به این محتوای کلاس دسترسی داشته باشند انتخاب کنید و شرکت کنید",newClassroom:"کلاس درس جدید",provider:"ارائه دهنده را انتخاب کنید",providerHint:"ارائه دهندگان نرم افزارهایی هستند که می توانید جلسه تماس ویدیویی خود را در بالای آن میزبانی کنید",providers:{googleMeet:"Google Meet",zoom:"بزرگنمایی"},title:"کلاس درس"},close:"بستن",cloudProjects:{clientId:"شناسه مشتری",name:"نام",secret:"راز"},common:{isNUll:"تعیین نشده",cancel:"لغو",no:"خیر",noaccess:"شما به این بخش از برنامه دسترسی ندارید. برای مشاوره با سرپرست خود تماس بگیرید",parent:"رکورد مادر",parentHint:"اگر این رکورد دارای سر مجموعه است آن را انتخاب کنید",save:"ذخیره",yes:"بله"},commonProfile:{},confirm:"تایید",continue:"ادامه",controlsheets:{active:"فعال",archiveTitle:"کنترل شیت",editControlSheet:"ویرایش کنترل شیت",inactive:"غیرفعال",isRunning:"درحال اجرا",name:"نام",nameHint:"نام کنترل شیت برای دسترسی بهتر",newControlSheet:"کنترل شیت جدید"},course:{availableCourses:"دوره های موجود",courseDescription:"شرح دوره",courseDescriptionHint:"در مورد دوره به طور کامل توضیح دهید تا افراد بتوانند قبل از ثبت نام در مورد آن مطالعه کنند",courseExcerpt:"گزیده دوره",courseExcerptHint:"شرح دوره را در 1 یا 2 خط خلاصه کنید",courseId:"Course Id",courseTitle:"عنوان دوره",courseTitleHint:"عنوان دوره را وارد کنید، مانند الگوریتم در C++",editCourse:"ویرایش دوره",myCourses:"دوره های من",name:"Ali",newCourse:"دوره جدید",noCourseAvailable:"هیچ دوره ای در اینجا موجود نیست. برای دیدن دوره های اختصاصی ممکن است لازم باشد با حساب دیگری وارد شوید",noCourseEnrolled:"شما در حال حاضر در هیچ دوره ای ثبت نام نکرده اید. دوره زیر را پیدا کنید و ثبت نام کنید.",title:"عنوان"},createAccount:"ایجاد حساب کاربری",created:"زمان ایجاد شد",currentUser:{editProfile:"ویرایش نمایه",profile:"مشخصات",signin:"ورود",signout:"خروج از سیستم"},dashboards:"محیط کار",datanodes:{addReader:"اضافه کردن خواننده",addWriter:"اضافه کردن نویسنده",archiveTitle:"دیتا نود ها",dataType:"نوع دیتا",expanderFunction:"Expander function",expanderFunctionHint:"How to cast the content into value array",filePath:"File Path",filePathHint:"File address on the system",key:"Data key",keyHint:"Data key is the sub key of a data node",keyReadable:"Readable",keyReadableHint:"If this sub key is readable",keyWritable:"Writable",keyWritableHint:"If this sub key is writable",modbusRtuAddress:"Address",modbusRtuAddressHint:"Address",modbusRtuDataBits:"DataBits",modbusRtuDataBitsHint:"DataBits",modbusRtuParity:"Parity",modbusRtuParityHint:"Parity",modbusRtuSlaveId:"SlaveId",modbusRtuSlaveIdHint:"SlaveId",modbusRtuStopBits:"StopBits",modbusRtuStopBitsHint:"StopBits",modbusRtuTimeout:"Timeout",modbusRtuTimeoutHint:"Timeout",modbusTcpHost:"Host",modbusTcpHostHint:"Host",modbusTcpPort:"Port",modbusTcpPortHint:"Port",modbusTcpSlaveId:"Slave id",modbusTcpSlaveIdHint:"Slave id",modbusTcpTimeout:"Timeout",modbusTcpTimeoutHint:"Timeout",mode:"حالت",modeHint:"حالت دیتا نود",mqttBody:"بدنه پیام",mqttBodyHInt:"پیامی که ارسال خواهد شد",mqttTopic:"عنوان پیام",mqttTopicHint:"موضوع پیام که به MQTT ارسال خواهد شد",nodeReader:"خواننده نود",nodeReaderConfig:"تنظیم نود",nodeReaderConfigHint:"تنظیمات مربوط به نحوه خواندن اطلاعات",nodeReaderHint:"نوع خواننده اطلاعات از روی نود مشخص کنید",nodeWriter:"نویسنده نود",nodeWriterHint:"نوع نویسنده که اطلاعات را بر روی نود مینویسد مشخص کنید",serialPort:"سریال پورت",serialPortHint:"انتخاب سریال پورت های موجود و متصل به سیستم",type:"نوع دیتا",typeHint:"نوع دیتایی که این نوع نگهداری یا منتقل میکند.",udpHost:"Host",udpHostHint:"UDP Host Address",udpPort:"Port",udpPortHint:"UDP Port Number"},datepicker:{day:"روز",month:"ماه",year:"سال"},debugInfo:"نمایش اطلاعات دیباگ",deleteAction:"حذف",deleteConfirmMessage:"آیا از حذف کردن این آیتم ها مطمین هستید؟",deleteConfirmation:"مطمئنی؟",devices:{deviceModbusConfig:"تنظیمات مدباس دستگاه",deviceModbusConfigHint:"تنظیمات مربوط به نوع دستگاه مدباس مانند آدرس ها و رجیستر ها",devicetemplateArchiveTitle:"دستگاه ها",editDevice:"ویرایش دستگاه",ip:"IP",ipHint:"آدرس دستگاه به صورت آی پی ۴",model:"مدل",modelHint:"مدل یا سریال دستگاه",name:"نام دستگاه",nameHint:"نامی که برای دستگاه در سطح نرم افزار گذاشته میشود",newDevice:"دستگاه جدید",securityType:"نوع امنیت بی سیم",securityTypeHint:"نوع رمزگذاری هنگام اتصال به این شبکه وایرلس",type:"نوع دستگاه",typeHint:"نوع فیزیکی دستگاه ",typeId:"نوع",typeIdHint:"نوع دستگاه",wifiPassword:"رمز وای فای",wifiPasswordHint:"رمز هنگام اتصال به وای فای (خالی هم مورد قبول است)",wifiSSID:"شناسه وای فای",wifiSSIDHint:"نام شبکه وای فای یا همان SSID"},devicetype:{archiveTitle:"انواع دستگاه",editDeviceType:"ویرایش نوع دستگاه",name:"نام نوع دستگاه",nameHint:"نوع دستگاه را نام گذاری کنید",newDeviceType:"نوع دستگاه جدید"},diagram:"دیاگرام",drive:{attachFile:"اضافه کردن فایل پیوست",driveTitle:"درایو",menu:"فایل ها",name:"نام",size:"اندازه",title:"عنوان",type:"تایپ کنید",viewPath:"آدرس نمایش",virtualPath:"مسیر مجازی"},dropNFiles:"برای شروع آپلود، {n} فایل را رها کنید",edit:"ویرایش",errors:{UNKOWN_ERRROR:"خطای ناشناخته ای رخ داده است"},exam:{startInstruction:"امتحان جدیدی را با کلیک کردن روی دکمه شروع کنید، ما پیشرفت شما را پیگیری می کنیم تا بتوانید بعداً بازگردید.",startNew:"امتحان جدیدی را شروع کنید",title:"امتحان"},examProgress:{grammarProgress:"پیشرفت گرامر:",listeningProgress:"پیشرفت گوش دادن:",readingProgress:"پیشرفت خواندن:",speakingProgress:"پیشرفت صحبت کردن:",writingProgress:"پیشرفت نوشتن:"},examSession:{highlightMissing:"برجسته کردن از دست رفته",showAnswers:"نمایش پاسخ ها"},fb:{commonProfile:"پروفایل خودت را ویرایش کن",editMailProvider:"ارائه دهنده ایمیل",editMailSender:"فرستنده ایمیل را ویرایش کنید",editPublicJoinKey:"کلید پیوستن عمومی را ویرایش کنید",editRole:"نقش را ویرایش کنید",editWorkspaceType:"ویرایش نوع تیم",newMailProvider:"ارائه دهنده ایمیل جدید",newMailSender:"فرستنده ایمیل جدید",newPublicJoinKey:"کلید پیوستن عمومی جدید",newRole:"نقش جدید",newWorkspaceType:"تیم جدید",publicJoinKey:"کلید پیوستن عمومی"},fbMenu:{emailProvider:"ارائه دهنده ایمیل",emailProviders:"ارائه دهندگان ایمیل",emailSender:"فرستنده ایمیل",emailSenders:"ارسال کنندگان ایمیل",gsmProvider:"سرویس های تماس",keyboardShortcuts:"میانبرها",myInvitations:"دعوتنامه های من",publicJoinKey:"کلیدهای پیوستن عمومی",roles:"نقش ها",title:"سیستم",users:"کاربران",workspaceInvites:"دعوت نامه ها",workspaceTypes:"انواع تیم ها",workspaces:"فضاهای کاری"},featureNotAvailableOnMock:"این بخش در نسخه دمو وجود ندارد. دقت فرمایید که نسخه ای از نرم افزار که شما با آن کار میکنید صرفا برای نمایش بوده و سرور واقعی ارتباط نمی گیرد. بنابراین هیچ اطلاعاتی ذخیره نمیشوند.",financeMenu:{accountName:"نام کیف پول",accountNameHint:"نامی که کیف پول را از بقیه متمایز میکند",amount:"میزان",amountHint:"مبلغ پرداختی را وارد کنید",currency:"واحد پول",currencyHint:"ارزی که این حساب باید در آن باشد را انتخاب کنید",editPaymentRequest:"درخواست پرداخت را ویرایش کنید",editVirtualAccount:"ویرایش حساب مجازی",newPaymentRequest:"درخواست پرداخت جدید",newVirtualAccount:"اکانت مجازی جدید",paymentMethod:"روش پرداخت",paymentMethodHint:"مکانیزم روش پرداخت را انتخاب کنید",paymentRequest:"درخواست پرداخت",paymentRequests:"درخواست های پرداخت",paymentStatus:"وضعیت پرداخت",subject:"موضوع",summary:"مانده",title:"امور مالی",transaction:{amount:"مقدار",subject:"موضوع",summary:"مانده"},virtualAccount:"حساب کاربری مجازی",virtualAccountHint:"حساب مجازی را انتخاب کنید که پرداخت به آن انجام می شود",virtualAccounts:"حساب های مجازی"},firstTime:"اولین بار در برنامه، یا رمز عبور را گم کرده اید؟",forcedLayout:{forcedLayoutGeneralMessage:"دسترسی به این بخش نیازمند حساب کاربری و ورود به سیستم است"},forgotPassword:"رمز عبور را فراموش کرده اید",generalSettings:{accessibility:{description:"تنظیماتی که مربوط به توانایی های فیزیکی و یا شرایط ویژه جسمانی مرتبط هستند",title:"دسترسی بهتر"},debugSettings:{description:"اطلاعات اشکال زدایی برنامه را برای توسعه دهندگان یا میزهای راهنمایی ببینید",title:"تنظیمات اشکال زدایی"},grpcMethod:"بیش از grpc",hostAddress:"نشانی میزبان",httpMethod:"بیش از http",interfaceLang:{description:"در اینجا می توانید تنظیمات زبان رابط نرم افزار خود را تغییر دهید",title:"زبان و منطقه"},port:"بندر",remoteDescripton:"سرویس از راه دور، مکانی است که تمامی داده ها، منطق ها و سرویس ها در آن نصب می شوند. ممکن است ابری یا محلی باشد. فقط کاربران پیشرفته، تغییر آن به آدرس اشتباه ممکن است باعث عدم دسترسی شود.",remoteTitle:"سرویس از راه دور",richTextEditor:{description:"نحوه ویرایش محتوای متنی را در برنامه مدیریت کنید",title:"ویرایشگر متن"},theme:{description:"رنگ تم رابط را تغییر دهید",title:"قالب"}},geo:{geocities:{country:"کشور",countryHint:"کشوری که این شهر در آن قرار داده شده",editGeoCity:"ویرایش شهر",geoCityArchiveTitle:"شهرها",menu:"شهرها",name:"نام شهر",nameHint:"نام شهر",newGeoCity:"شهر جدید",province:"استان",provinceHint:"استانی که این شهر در آن قرار دارد."},geocountries:{editGeoCountry:"ویرایش کشور",geoCountryArchiveTitle:"کشورها",menu:"کشورها",name:"نام کشور",nameHint:"نام کشور",newGeoCountry:"کشور جدید"},geoprovinces:{country:"کشور",editGeoProvince:"ویرایش استان",geoProvinceArchiveTitle:"استان ها",menu:"استان ها",name:"نام استان",nameHint:"نام استان",newGeoProvince:"استان جدید"},lat:"افقی",lng:"عمودی",menu:"ابزار جغرافیایی"},geolocations:{archiveTitle:"مکان ها",children:"children",childrenHint:"children Hint",code:"کد",codeHint:"کد دسترسی",editGeoLocation:"ویرایش",flag:"پرچم",flagHint:"پرچم مکان",name:"نام",nameHint:"نام عمومی مکان",newGeoLocation:"مکان جدید",officialName:"نام رسمی",officialNameHint:"",status:"وضعیت",statusHint:"وضعیت مکان (معمولا کشور)",type:"نوع",typeHint:"نوع مکان"},gpiomodes:{archiveTitle:"حالت های پایه",description:"توضیحات",descriptionHint:"جزیات بیشتر در مورد عملکرد این پایه",editGpioMode:"ویرایش حالت پایه",index:"ایندکس عددی",indexHint:"مقدار عددی این پایه هنگام تنظیمات پایه در ابتدای نرم افزار",key:"کلید عددی",keyHint:"کلید عددی این پایه",newGpioMode:"حالت پایه جدید"},gpios:{analogFunction:"تابع آنالوگ",analogFunctionHint:"جزیات در مورد تابع آنالوگ",archiveTitle:"پایه ها",comments:"توضیحات",commentsHint:"توضیحات بیشتر یا قابلیت های این پایه",editGpio:"ویرایش پایه",index:"ایندکس این پایه",indexHint:"شماره عددی این پایه در قطعه که میتوان با آن مقدار پایه را کنترل کرد",modeId:"حالت پایه",modeIdHint:"انتخاب حالت استفاده پایه مانند ورودی یا خروجی",name:"عنوان پایه",nameHint:"اسم پایه مانند GPIO_1",newGpio:"پایه جدید",rtcGpio:"پایه RTC",rtcGpioHint:"اطلاعات پایه RTC در صورت موجود بودن"},gpiostates:{archiveTitle:"وضعیت پایه ها",editGpioState:"ویرایش وضعیت پایه",gpio:"پایه",gpioHint:"پایه را از لیست پایه های موجود این قطعه انتخاب کنید",gpioMode:"حالت",gpioModeHint:"حالتی که پایه باید تنظیم شود را انتخاب کنید",high:"بالا (روشن)",low:"پایین (خاموش)",newGpioState:"حالت جدید پایه",value:"مقدار",valueHint:"وضعیت فعلی پین"},gsmproviders:{apiKey:"کلید API",apiKeyHint:"کلید دسترسی به سرویس فراهم کننده پیامکی یا تماس",editGsmProvider:"ویرایش GSM",gsmProviderArchiveTitle:"سرویس های GSM",invokeBody:"بدنه درخواست",invokeBodyHint:"اطلاعاتی که به صورت متد پست به سرویس ارسال میشوند",invokeUrl:"آدرس API",invokeUrlHint:"آدرسی که باید برای ارسال پیامک از آن استفاده شود.",mainSenderNumber:"شماره ارسال کننده",mainSenderNumberHint:"شماره تلفنی که برای پیامک یا تماس استفاده میشوند",newGsmProvider:"سرویس GSM جدید",terminal:"ترمینال",type:"نوع سرویس",typeHint:"نوع سرویس فراهم کننده GSM (امکانات مختلف نصبت به نوع سرویس موجود است)",url:"وب سرویس"},hmi:{archiveTitle:"Hmis",editHmi:"Edit Hmi",name:"Hmi Name",nameHint:"Name of the hmi to recognize",newHmi:"New Hmi"},hmiComponents:{archiveTitle:"Hmi Components",editHmiComponent:"Edit HmiComponent",hmi:"hmi",hmiHint:"hmi Hint",hmiId:"hmiId",hmiIdHint:"hmiId Hint",icon:"icon",iconHint:"icon Hint",label:"label",labelHint:"label Hint",layoutMode:"layoutMode",layoutModeHint:"layoutMode Hint",newHmiComponent:"New HmiComponent",position:"position",positionHint:"position Hint",read:"read",readHint:"read Hint",readId:"readId",readIdHint:"readId Hint",states:"states",statesHint:"states Hint",type:"type",typeHint:"type Hint",write:"write",writeHint:"write Hint",writeId:"writeId",writeIdHint:"writeId Hint"},hmicomponents:{archiveTitle:"Hmi Components",editHmiComponent:"Edit HmiComponent",hmi:"hmi",hmiHint:"hmi Hint",hmiId:"hmiId",hmiIdHint:"hmiId Hint",icon:"icon",iconHint:"icon Hint",label:"label",labelHint:"label Hint",layoutMode:"layoutMode",layoutModeHint:"layoutMode Hint",newHmiComponent:"New HmiComponent",position:"position",positionHint:"position Hint",read:"read",readHint:"read Hint",readId:"readId",readIdHint:"readId Hint",states:"states",statesHint:"states Hint",type:"type",typeHint:"type Hint",write:"write",writeHint:"write Hint",writeId:"writeId",writeIdHint:"writeId Hint"},hmis:{archiveTitle:"Hmis",editHmi:"Edit Hmi",name:"Hmi Name",nameHint:"Name of the hmi to recognize",newHmi:"New Hmi"},home:{line1:"{username}، به dEIA خوش آمدید",line2:"ابزار ارزیابی اثرات زیست محیطی PixelPlux",title:"GADM"},intacodes:{description:"شرح فعالیت",descriptionHint:"شرح فعالیت در مورد این اینتاکد",editIntacode:"ویرایش اینتاکد",intacodeArchiveTitle:"اینتاکدها",margin:"حاشیه سود",marginHint:"میزان سودی که برای این نوع از اینتاکد در نظر گرفته شده است (درصد)",newIntacode:"اینتاکد جدید",note:"ملاحضات",noteHint:"نکات اضافی در مورد محاسبات این نوع اینتاکد",year:"سال",yearHint:"سالی که این اینتاکد برای آن معتبر است"},iot:{dataNodeDatum:"تاریخچه تغییرات",dataNodeName:"نام دیتانود",dataNodeNameHint:"نام ویژه این دیتانود که از بقیه دیتا ها متمایز شناخته شود",dataNodes:"دیتانود ها",editDataNode:"ویرایش دیتانود",ingestedAt:"ساخته شده",newDataNode:"دیتانود جدید",title:"هوشمند",valueFloat64:"مقدار اعشاری",valueInt64:"مقدار عددی",valueString:"مقدار متنی"},jalaliMonths:{0:"فروردین",1:"اردیبهشت",2:"خرداد",3:"تیر",4:"مرداد",5:"شهریور",6:"مهر",7:"آبان",8:"آذر",9:"دی",10:"بهمن",11:"اسفند"},jobsList:{completionDate:"تاریخ تکمیل",consumerId:"شناسه مصرف کننده",projectCode:"کد پروژه",projectName:"نام پروژه",result:"نتیجه",status:"وضعیت",submissionDate:"تاریخ ارسال"},katexPlugin:{body:"فرمول",cancel:"لغپ",insert:"افزودن",title:"پلاگین فرمول",toolbarName:"افزودن فرمول"},keyboardShortcut:{action:"عملکرد",defaultBinding:"کلید های پیش فرض",keyboardShortcut:"میانبرهای صفحه کلید",pressToDefine:"برای ثبت کلید ها را فشار دهید",userDefinedBinding:"کلید های تعیین شده کاربر"},lackOfPermission:"برای دسترسی به این بخش از نرم افزار به مجوزهای بیشتری نیاز دارید.",learningMenu:{answerSheets:"پاسخنامه",enrolledCourses:"دوره های ثبت نام شده",myClassRooms:"کلاس ها",myCourses:"دوره های آموزشی",myExams:"امتحانات",practiseBoard:"چرک نویس",title:"یادگیری"},licenses:{activationKeySeries:"سلسله",activationKeys:"کلیدهای فعال سازی",code:"Code",duration:"مدت زمان (روزها)",durationHint:"طول دوره فعال سازی برای مجوز یک آن فعال می شود",editActivationKey:"ویرایش کلید فعال سازی",editLicensableProduct:"ویرایش محصول دارای مجوز",editLicense:"ویرایش مجوز",editProductPlan:"ویرایش طرح محصول",endDate:"End Date",licensableProducts:"محصولات قابل مجوز",licenseName:"نام مجوز",licenseNameHint:"نام مجوز، می تواند ترکیبی از چیزهای مختلف باشد",licenses:"مجوزها",menuActivationKey:"کلیدهای فعال سازی",menuLicenses:"مجوزها",menuProductPlans:"طرح ها",menuProducts:"محصولات",newActivationKey:"کلید فعال سازی جدید",newLicensableProduct:"محصول جدید دارای مجوز",newLicense:"مجوز جدید",newProductPlan:"طرح محصول جدید",planName:"طرح",planNameHint:"کلید فعال سازی آن طرح خاص را انتخاب کنید",planProductName:"محصول پلان",planProductNameHint:"محصولی را که می خواهید این طرح برای آن باشد انتخاب کنید.",privateKey:"کلید خصوصی",privateKeyHint:"کلید خصوصی مجوز که برای صدور گواهی استفاده می شود",productName:"نام محصول",productNameHint:"نام محصول می تواند هر چیزی باشد که مشتریان آن را تشخیص دهند",productPlanName:"نام طرح",productPlanNameHint:"یک نام برای این طرح تعیین کنید، به عنوان مثال شروع کننده یا حرفه ای",productPlans:"طرح های محصول",publicKey:"کلید عمومی",publicKeyHint:"کلید عمومی مجوز که برای صدور گواهی استفاده می شود",series:"سلسله",seriesHint:"یک برچسب را به عنوان سری تنظیم کنید، به عنوان مثال first_1000_codes تا بتوانید تشخیص دهید که چه زمانی آنها را ایجاد کرده اید",startDate:"تاریخ شروع"},locale:{englishWorldwide:"انگلیسی (English)",persianIran:"فارسی - ایران (Persian WorldWide)",polishPoland:"لهستانی (Polski)"},loginButton:"وارد شدن",loginButtonOs:"ورود با سیستم عامل",mailProvider:{apiKey:"کلید ای پی ای",apiKeyHint:"کلید دسترسی به API در صورتی که مورد نیاز باشد.",fromEmailAddress:"از آدرس ایمیل",fromEmailAddressHint:"آدرسی که از آن ارسال می کنید، معمولاً باید در سرویس پستی ثبت شود",fromName:"از نام",fromNameHint:"نام فرستنده",nickName:"نام مستعار",nickNameHint:"نام مستعار فرستنده ایمیل، معمولاً فروشنده یا پشتیبانی مشتری",replyTo:"پاسخ دادن به",replyToHint:"آدرسی که گیرنده قرار است به آن پاسخ دهد. (noreply@domain) به عنوان مثال",senderAddress:"آدرس فرستنده",senderName:"نام فرستنده",type:"نوع سرویس",typeHint:"سرویس ایمیلی که توسط آن ایمیل ها ارسال میشوند"},menu:{answerSheets:"برگه های پاسخ",classRooms:"کلاس های درس",courses:"دوره های آموزشی",exams:"امتحانات",personal:"شخصی سازی کنید",questionBanks:"بانک سوالات",questions:"سوالات",quizzes:"آزمون ها",settings:"تنظیمات",title:"اقدامات",units:"واحدها"},meta:{titleAffix:"PixelPlux"},misc:{currencies:"ارز ها",currency:{editCurrency:"ویرایش ارز",name:"نام ارز",nameHint:"نام بازاری ارز که واحد آن نیز میباشد",newCurrency:"ارز جدید",symbol:"علامت یا سمبل",symbolHint:"کاراکتری که معمولا واحد پول را مشخص میکند. برخی واحد ها سمبل ندارند",symbolNative:"سمبل داخلی",symbolNativeHint:"سمبل یا علامتی از ارز که در کشور استفاده میشود"},title:"سرویس های مخلوط"},mockNotice:"شما در حال دیدن نسخه نمایشی هستید. این نسخه دارای بک اند نیست، اطلاعات شما ذخیره نمیشوند و هیچ گارانتی نسبت به کارکردن ماژول ها وجود ندارد.",myClassrooms:{availableClassrooms:"کلاس های درس موجود",noCoursesAvailable:"هیچ دوره ای در اینجا موجود نیست. ممکن است لازم باشد با حساب دیگری وارد شوید تا انحصاری را ببینید",title:"کلاس های درس من",youHaveNoClasses:"شما به هیچ کلاسی اضافه نمی شوید."},networkError:"شما به شبکه متصل نیستید، دریافت داده انجام نشد. اتصال شبکه خود را بررسی کنید",noOptions:"هیچ گزینه نیست، جستجو کنید",noPendingInvite:"شما هیچ دعوت نامه ای برای پیوستن به تیم های دیگری ندارید.",noSignupType:"ساختن اکانت در حال حاضر ممکن نیست، لطفا با مدیریت تماس بگیرید",node:{Oddeven:"زوج/فرد",average:"میانگین",circularInput:"گردی",color:"رنگ",containerLevelValue:"Container",cron:"کرون",delay:"تاخیری",digital:"دیجیتال",interpolate:"اینترپولیت",run:"اجرا",source:"مبدا",start:"شروع",stop:"توقف",switch:"دگمه",target:"مقصد",timer:"تایمر",value:"مقدار",valueGauge:"گیج"},not_found_404:"صفحه ای که به دنبال آن هستید وجود ندارد. ممکن است این قسمت در زبان فارسی موجود نباشد و یا حذف شده باشد.",notfound:"اطلاعات یا ماژول مورد نظر شما در این نسخه از سرور وجود ندارد.",pages:{catalog:"کاتالوگ",feedback:"بازخورد",jobs:"مشاغل من"},payments:{approve:"تایید",reject:"ریجکت"},priceTag:{add:"اضافه کردن قیمت",priceTag:"برچسب قیمتی",priceTagHint:"نوع قیمت گذاری با توجه منطقه یا نوع ارز"},question:{editQuestion:"سوال جدید",newQuestion:"سوال جدید"},questionBank:{editEntity:"بانک سوالات را ویرایش کنید",editQuestion:"ویرایش سوال",name:"نام بانک",newEntity:"بانک سوالات جدید",newQuestion:"سوال جدید",title:"عنوان بانک سوال",titleHint:'بانک سوالات را نام ببرید، مانند "504 سوال برای طراحی برق"'},questionSemester:{editQuestionSemester:"ویرایش دوره سوال",menu:"دوره های سوال",name:"نام دوره",nameHint:"نام دوره سوال معمولا با ماه آزمون یا سوال مرتبط است، مانند تیرماه یا نیم فصل اول",newQuestionSemester:"دوره جدید",questionSemesterArchiveTitle:"دوره های سوال"},questionlevels:{editQuestionLevel:"ویرایش سطح سوال",name:"سطح سوال",nameHint:"نامی که برای سطح سوال انتخاب میکنید، مانند (کشوری، استانی)",newQuestionLevel:"سطح سوال جدید",questionLevelArchiveTitle:"سطوح سوالات"},questions:{addAnswerHint:"برای اضافه کردن پاسخ کلیک کنید",addQuestion:"اضافه کردن سوال",answer:"پاسخ",answerHint:"یکی از پاسخ های سوال و یا تنها پاسخ",durationInSeconds:"زمان پاسخ (ثانیه)",durationInSecondsHint:"مدت زمانی که دانش آموز باید به این سوال پاسخ بدهد.",province:"استان",provinceHint:"استان یا استان هایی که این سوال به آن مربوط است",question:"سوال",questionBank:"بانک سوالات",questionBankHint:"بانک سوالاتی که این سوال به آن تعلق دارد",questionDifficulityLevel:"سطح دشواری",questionDifficulityLevelHint:"درجه سختی حل این سوال برای دانش آموز",questionLevel:"تیپ سوال",questionLevelHint:"سطح سوال به صورت کشوری یا استانی - منطقه ای",questionSchoolType:"نوع مدرسه",questionSchoolTypeHint:"نوع مدرسه ای که این سوالات در آن نشان داده شده اند.",questionSemester:"دوره سوال",questionSemesterHint:"مانند تیر یا دو نوبت کنکور",questionTitle:"صورت سوال",questionTitleHint:"صورت سوال همان چیزی است که باید به آن جواب داده شود.",questions:"سوالات",studyYear:"سال تحصیلی",studyYearHint:"سال تحصیلی که این سوال وارد شده است"},quiz:{editQuiz:"ویرایش مسابقه",name:"نام",newQuiz:"آزمون جدید"},reactiveSearch:{noResults:"جستجو هیچ نتیجه ای نداشت",placeholder:"جستجو (کلید S)..."},requestReset:"درخواست تنظیم مجدد",resume:{clientLocation:"مکان مشتری:",companyLocation:"مکان شرکت فعالیت:",jobCountry:"کشوری که کار در آن انجام شده:",keySkills:"توانایی های کلیدی",level:"سطح",level_1:"آشنایی",level_2:"متوسط",level_3:"کاربر روزمره",level_4:"حرفه ای",level_5:"معمار",noScreenMessage1:"به نسخه چاپی رزومه من خوش آمدید. برای ایجاد تغیرات و اطلاعات بیشتر حتما ادامه رزومه را در گیت هاب به آدرس",noScreenMessage2:"مشاهده کنید. در نسخه گیت هاب میتوانید اصل پروژه ها، ویدیو ها و حتی امکان دسته بندی یا تغییر در رزومه را داشته باشید",preferredPositions:"مشاغل و پروژ های مورد علاقه",products:"محصولات",projectDescription:"توضیحات پروژه",projects:"پروژه ها",services:"توانایی های مستقل",showDescription:"نمایش توضیحات پروژه",showTechnicalInfo:"نمایش اطلاعات فنی پروژه",skillDuration:"مدت مهارت",skillName:"عنوان مهارت",technicalDescription:"اطلاعات فنی",usage:"میزان استفاده",usage_1:"به صورت محدود",usage_2:"گاها",usage_3:"استفاده مرتب",usage_4:"استفاده پیشرفته",usage_5:"استفاده فوق حرفه ای",videos:"ویدیو ها",years:"سال"},role:{name:"نام",permissions:"دسترسی ها"},saveChanges:"ذخیره",scenariolanguages:{archiveTitle:"زبان های سناریو",editScenarioLanguage:"ویرایش زبان سناریو",name:"نام زبان",nameHint:"نام زبان یا ابزار طراحی سناریو",newScenarioLanguage:"ویرایش زبان سناریو"},scenariooperationtypes:{archiveTitle:"انواع عملیات",editScenarioOperationType:"ویرایش نوع عملیات",name:"نام عملیات",nameHint:"عنوانی که این عملیات با آن شناخته میشود",newScenarioOperationType:"عملیات جدید"},scenarios:{archiveTitle:"سناریو ها",editScenario:"ویرایش سناریو",lammerSequences:"دستورات لمر",lammerSequencesHint:"طراحی دستورالعمل مربوط به این سناریو در زبان لمر",name:"نام سناریو",nameHint:"نامی که این سناریو در سطح نرم افزار شناخته میشود",newScenario:"سناریو جدید",script:"کد سناریو",scriptHint:"کد سناریو که هنگام اجرای سناریو باید اجرا شود"},schooltypes:{editSchoolType:"ویرایش نوع مدرسه",menu:"انواع مدرسه",name:"نام مدرسه",nameHint:"نام مدرسه که عموما افراد آن را در سطح کشور میشناسند",newSchoolType:"نوع مدرسه جدید",schoolTypeTitle:"انواع مدارس"},searchplaceholder:"جستجو...",selectPlaceholder:"- انتخاب کنید -",settings:{apply:"ذخیره",inaccessibleRemote:"سرور خارج از دسترس است",interfaceLanguage:"زبان رابط",interfaceLanguageHint:"زبانی که دوست دارید رابط کاربری به شما نشان داده شود",preferredHand:"دست اصلی",preferredHandHint:"از کدام دست بیشتر برای استفاده از موبایل بهره میبرید؟",remoteAddress:"آدرس سرور",serverConnected:"سرور با موفقیت و صحت کار میکند و متصل هستیم",textEditorModule:"ماژول ویرایشگر متن",textEditorModuleHint:"شما می‌توانید بین ویرایشگرهای متنی مختلفی که ما ارائه می‌دهیم، یکی را انتخاب کنید و از ویرایشگرهایی که راحت‌تر هستید استفاده کنید",theme:"قالب",themeHint:"قالب و یا رنگ تم را انتخاب کنید"},signinInstead:"ورود",signup:{continueAs:"ادامه به عنوان {currentUser}",continueAsHint:`با وارد شدن به عنوان {currentUser}، تمام اطلاعات شما، به صورت آفلاین در رایانه شما، تحت مجوزهای این کاربر ذخیره می‌شود.`,defaultDescription:"برای ایجاد حساب کاربری لطفا فیلدهای زیر را پر کنید",mobileAuthentication:"In order to login with mobile",signupToWorkspace:"برای ثبت نام به عنوان {roleName}، فیلدهای زیر را پر کنید"},signupButton:"ثبت نام",simpleTextEditor:"باکس ساده سیستم برای متن",studentExams:{history:"سابقه امتحان",noExams:"هیچ امتحانی برای شرکت کردن وجود ندارد",noHistory:"شما هرگز در هیچ نوع امتحانی شرکت نکرده اید، وقتی امتحانی را انتخاب و مطالعه می کنید، در اینجا لیست می شود.",title:"امتحانات"},studentRooms:{title:"کلاس های درس من"},studyYears:{editStudyYear:"ویرایش سال تحصیلی",name:"نام",nameHint:"سال تحصیلی مدت زمان یه دوره مانند سال ۹۴-۹۵ است",newStudyYear:"سال تحصیلی جدید",studyYearArchiveTitle:"سالهای تحصیلی"},table:{created:"ساخته شده",filter:{contains:"شامل",endsWith:"پایان یابد",equal:"برابر",filterPlaceholder:"فیلتر...",greaterThan:"بزرگتر از",greaterThanOrEqual:"بزرگتر یا مساوری",lessThan:"کمتر از",lessThanOrEqual:"کمتر یا مساوی",notContains:"شامل نباشد",notEqual:"برابر نباشد",startsWith:"شروع با"},info:"داده",next:"بعدی",noRecords:"هیچ سابقه ای برای نمایش وجود ندارد. برای ایجاد یکی، دکمه مثبت را فشار دهید.",previous:"قبلی",uniqueId:"شناسه",value:"مقدار"},tempControlWidget:{decrese:"کاهش",increase:"افزایش"},tinymceeditor:"ویرایش گر TinyMCE",triggers:{archiveTitle:"شرط ها",editTrigger:"ویرایش شرط",name:"نام شرط",nameHint:"نامی که این شرط در سطح نرم افزار با آن شناخته میشود.",newTrigger:"شرط جدید",triggerType:"نوغ شرط",triggerTypeCronjob:"شرط زمانی (Cronjob)",triggerTypeCronjobHint:"تعریف شرط بر اساس رخداد های زمانی",triggerTypeGpioValue:"شرط تغییر مقدار",triggerTypeGpioValueHint:"شرط بر اساس تغییر مقدار خروجی یا ورودی",triggerTypeHint:"نوغ شرط",triggerTypeId:"نوع شرط",triggerTypeIdHint:"نوع شرط تعیین کننده نحوه استفاده از این شرط است"},triggertypes:{archiveTitle:"نوع شرط",editTriggerType:"ویرایش نوع شرط",name:"نام نوع شرط",nameHint:"نامی که این نوع شرط با آن شناخته میشود",newTriggerType:"ویرایش نوع شرط"},tuyaDevices:{cloudProjectId:"شناسه پروژه ابری",name:"نام دستگاه Tuya"},unit:{editUnit:"ویرایش واحد",newUnit:"واحد جدید",title:"عنوان"},units:{content:"محتویات",editUnit:"واحد ویرایش",newUnit:"واحد جدید",parentId:"واحد مادر",subUnits:"زیر واحد ها"},unnamedRole:"نقش نامعلوم",unnamedWorkspace:"فضای کاری بی نام",user:{editUser:"ویرایش کاربر",newUser:"کاربر جدید"},users:{firstName:"نام کوچک",lastName:"نام خانوادگی"},webrtcconfig:"پیکربندی WebRTC",widgetPicker:{instructions:"کلید های فلش را از روی کیبرد برای جا به جایی فشار دهید. ",instructionsFlat:`Press Arrows from keyboard to change slide
Press Ctrl + Arrows from keyboard to switch to - flat mode`,widgets:"ویدجت ها"},widgets:{noItems:"هیچ ویدجتی در این صفحه وجود ندارد."},wokspaces:{body:"بدن",cascadeNotificationConfig:"پیکربندی اعلان آبشار در فضاهای کاری فرعی",cascadeNotificationConfigHint:"با بررسی این مورد، تمام فضاهای کاری بعدی از این ارائه دهنده ایمیل برای ارسال ایمیل استفاده خواهند کرد. برای محصولاتی که به‌عنوان سرویس آنلاین اجرا می‌شوند، معمولاً می‌خواهید که فضای کاری والد سرور ایمیل را پیکربندی کند. شما ممکن است علامت این را در محصولات بزرگ‌تر که به صورت جهانی اجرا می‌شوند، بردارید و هر فضای کاری باید فضاهای فرعی و پیکربندی ایمیل خود را داشته باشد.",config:"تنظیم تیم",configurateWorkspaceNotification:"سرویس های اطلاع رسانی را پیکربندی کنید",confirmEmailSender:"ثبت نام کاربر ایمیل حساب را تایید کنید",createNewWorkspace:"فضای کاری جدید",customizedTemplate:"ویرایش قالب",disablePublicSignup:"غیر فعال کردن ثبت نام ها",disablePublicSignupHint:"با انتخاب این گزینه هیچ کس نمی تواند به این تیم یا زیر مجموعه های این تیم با فرم ثبت نام آنلاین به صورت خودکار عضو شود.",editWorkspae:"ویرایش فضای کاری",emailSendingConfig:"تنظیمات ارسال ایمیل",emailSendingConfigHint:"نحوه ارسال ایمیل ها و قالب های آنها و ارسال کننده ها را کنترل کنید.",emailSendingConfiguration:"پیکربندی ارسال ایمیل",emailSendingConfigurationHint:"نحوه ارسال ایمیل های سیستمی را کنترل کنید، پیام را سفارشی کنید و غیره.",forceEmailConfigToSubWorkspaces:"استفاده از این تنظیمات برای تیم های زیر مجموعه اجباری باشد",forceEmailConfigToSubWorkspacesHint:"با انتخاب این گزینه، همه تیم های زیر مجموعه باید از همین قالب ها برای ارسال ایمیل استفاده کنند. اطلاعات مختص به این تیم را در این قالب ها قرار ندهید.",forceSubWorkspaceUseConfig:"فضاهای کاری فرعی را مجبور کنید از این پیکربندی ارائه دهنده استفاده کنند",forgetPasswordSender:"دستورالعمل های رمز عبور را فراموش کنید",generalMailProvider:"سرویس اصلی ارسال ایمیل",invite:{createInvitation:"ایجاد دعوت نامه",editInvitation:"ویرایش دعوت نامه",email:"آدرس ایمیل",emailHint:"آدرس ایمیل دعوت کننده، آنها پیوند را با استفاده از این ایمیل دریافت خواهند کرد",firstName:"نام کوچک",firstNameHint:"نام دعوت شده را بنویسید",forcePassport:"کاربر را مجبور کنید فقط با ایمیل یا شماره تلفن تعریف شده ثبت نام کند یا بپیوندد",lastName:"نام خانوادگی",lastNameHint:"نام خانوادگی دعوت شده را بنویسید",name:"نام",phoneNumber:"شماره تلفن",phoneNumberHint:"شماره تلفن دعوت شوندگان، اگر شماره آنها را نیز ارائه دهید، از طریق پیامک دعوتنامه دریافت خواهند کرد",role:"نقش",roleHint:"نقش(هایی) را که می خواهید به کاربر هنگام پیوستن به فضای کاری بدهید، انتخاب کنید. این را می توان بعدا نیز تغییر داد.",roleName:"نام نقش"},inviteToWorkspace:"دعوت به فضای کاری",joinKeyWorkspace:"فضای کار",joinKeyWorkspaceHint:"فضای کاری که برای عموم در دسترس خواهد بود",mailServerConfiguration:"پیکربندی سرور ایمیل",name:"نام",notification:{dialogTitle:"قالب نامه را ویرایش کنید"},publicSignup:"ثبت نام آنلاین و عمومی",publicSignupHint:"این نرم افزار به شما اجازه کنترل نحوه ارسال ایمیل و پیامک، و همچنین نحوه عضو گیری آنلاین را میدهد. در این قسمت میتوانید عضو شدن افراد و ساختن تیم های جدید را کنترل کنید",resetToDefault:"تنظیم مجدد به حالت پیش فرض",role:"نقش",roleHint:"نقش",sender:"فرستنده",sidetitle:"فضاهای کاری",slug:"اسلاگ",title:"عنوان",type:"تایپ کنید",workspaceName:"نام فضای کاری",workspaceNameHint:"نام فضای کاری را وارد کنید",workspaceTypeSlug:"آدرس اسلاگ",workspaceTypeSlugHint:"آدرسی که به صورت عمومی در دسترس خواهد بود و وقتی کسی از این طریق ثبت نام کند رول مشخصی دریافت میکند.",workspaceTypeTitle:"عنوان",workspaceTypeTitleHint:"عنوان ورک اسپیس"}},C4={en:WK,fa:ise};function At(){const{locale:e}=sr();return!e||!C4[e]?WK:C4[e]}var _1={exports:{}};/** + flat mode`,widgets:"ویدجت ها"},widgets:{noItems:"هیچ ویدجتی در این صفحه وجود ندارد."},wokspaces:{body:"بدن",cascadeNotificationConfig:"پیکربندی اعلان آبشار در فضاهای کاری فرعی",cascadeNotificationConfigHint:"با بررسی این مورد، تمام فضاهای کاری بعدی از این ارائه دهنده ایمیل برای ارسال ایمیل استفاده خواهند کرد. برای محصولاتی که به‌عنوان سرویس آنلاین اجرا می‌شوند، معمولاً می‌خواهید که فضای کاری والد سرور ایمیل را پیکربندی کند. شما ممکن است علامت این را در محصولات بزرگ‌تر که به صورت جهانی اجرا می‌شوند، بردارید و هر فضای کاری باید فضاهای فرعی و پیکربندی ایمیل خود را داشته باشد.",config:"تنظیم تیم",configurateWorkspaceNotification:"سرویس های اطلاع رسانی را پیکربندی کنید",confirmEmailSender:"ثبت نام کاربر ایمیل حساب را تایید کنید",createNewWorkspace:"فضای کاری جدید",customizedTemplate:"ویرایش قالب",disablePublicSignup:"غیر فعال کردن ثبت نام ها",disablePublicSignupHint:"با انتخاب این گزینه هیچ کس نمی تواند به این تیم یا زیر مجموعه های این تیم با فرم ثبت نام آنلاین به صورت خودکار عضو شود.",editWorkspae:"ویرایش فضای کاری",emailSendingConfig:"تنظیمات ارسال ایمیل",emailSendingConfigHint:"نحوه ارسال ایمیل ها و قالب های آنها و ارسال کننده ها را کنترل کنید.",emailSendingConfiguration:"پیکربندی ارسال ایمیل",emailSendingConfigurationHint:"نحوه ارسال ایمیل های سیستمی را کنترل کنید، پیام را سفارشی کنید و غیره.",forceEmailConfigToSubWorkspaces:"استفاده از این تنظیمات برای تیم های زیر مجموعه اجباری باشد",forceEmailConfigToSubWorkspacesHint:"با انتخاب این گزینه، همه تیم های زیر مجموعه باید از همین قالب ها برای ارسال ایمیل استفاده کنند. اطلاعات مختص به این تیم را در این قالب ها قرار ندهید.",forceSubWorkspaceUseConfig:"فضاهای کاری فرعی را مجبور کنید از این پیکربندی ارائه دهنده استفاده کنند",forgetPasswordSender:"دستورالعمل های رمز عبور را فراموش کنید",generalMailProvider:"سرویس اصلی ارسال ایمیل",invite:{createInvitation:"ایجاد دعوت نامه",editInvitation:"ویرایش دعوت نامه",email:"آدرس ایمیل",emailHint:"آدرس ایمیل دعوت کننده، آنها پیوند را با استفاده از این ایمیل دریافت خواهند کرد",firstName:"نام کوچک",firstNameHint:"نام دعوت شده را بنویسید",forcePassport:"کاربر را مجبور کنید فقط با ایمیل یا شماره تلفن تعریف شده ثبت نام کند یا بپیوندد",lastName:"نام خانوادگی",lastNameHint:"نام خانوادگی دعوت شده را بنویسید",name:"نام",phoneNumber:"شماره تلفن",phoneNumberHint:"شماره تلفن دعوت شوندگان، اگر شماره آنها را نیز ارائه دهید، از طریق پیامک دعوتنامه دریافت خواهند کرد",role:"نقش",roleHint:"نقش(هایی) را که می خواهید به کاربر هنگام پیوستن به فضای کاری بدهید، انتخاب کنید. این را می توان بعدا نیز تغییر داد.",roleName:"نام نقش"},inviteToWorkspace:"دعوت به فضای کاری",joinKeyWorkspace:"فضای کار",joinKeyWorkspaceHint:"فضای کاری که برای عموم در دسترس خواهد بود",mailServerConfiguration:"پیکربندی سرور ایمیل",name:"نام",notification:{dialogTitle:"قالب نامه را ویرایش کنید"},publicSignup:"ثبت نام آنلاین و عمومی",publicSignupHint:"این نرم افزار به شما اجازه کنترل نحوه ارسال ایمیل و پیامک، و همچنین نحوه عضو گیری آنلاین را میدهد. در این قسمت میتوانید عضو شدن افراد و ساختن تیم های جدید را کنترل کنید",resetToDefault:"تنظیم مجدد به حالت پیش فرض",role:"نقش",roleHint:"نقش",sender:"فرستنده",sidetitle:"فضاهای کاری",slug:"اسلاگ",title:"عنوان",type:"تایپ کنید",workspaceName:"نام فضای کاری",workspaceNameHint:"نام فضای کاری را وارد کنید",workspaceTypeSlug:"آدرس اسلاگ",workspaceTypeSlugHint:"آدرسی که به صورت عمومی در دسترس خواهد بود و وقتی کسی از این طریق ثبت نام کند رول مشخصی دریافت میکند.",workspaceTypeTitle:"عنوان",workspaceTypeTitleHint:"عنوان ورک اسپیس"}},dU={en:RX,fa:qse};function At(){const{locale:e}=sr();return!e||!dU[e]?RX:dU[e]}var rS={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */var ose=_1.exports,k4;function sse(){return k4||(k4=1,(function(e,t){(function(){var n,r="4.17.21",a=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",l="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",g=1,y=2,p=4,v=1,E=2,T=1,C=2,k=4,_=8,A=16,P=32,N=64,I=128,L=256,j=512,z=30,Q="...",le=800,re=16,ge=1,he=2,W=3,G=1/0,q=9007199254740991,ce=17976931348623157e292,H=NaN,Y=4294967295,ie=Y-1,Z=Y>>>1,ee=[["ary",I],["bind",T],["bindKey",C],["curry",_],["curryRight",A],["flip",j],["partial",P],["partialRight",N],["rearg",L]],J="[object Arguments]",ue="[object Array]",ke="[object AsyncFunction]",fe="[object Boolean]",xe="[object Date]",Ie="[object DOMException]",qe="[object Error]",nt="[object Function]",Ge="[object GeneratorFunction]",at="[object Map]",Et="[object Number]",kt="[object Null]",xt="[object Object]",Rt="[object Promise]",cn="[object Proxy]",Ht="[object RegExp]",Wt="[object Set]",Oe="[object String]",dt="[object Symbol]",ft="[object Undefined]",ut="[object WeakMap]",Nt="[object WeakSet]",U="[object ArrayBuffer]",D="[object DataView]",F="[object Float32Array]",ae="[object Float64Array]",Te="[object Int8Array]",Fe="[object Int16Array]",We="[object Int32Array]",Tt="[object Uint8Array]",Mt="[object Uint8ClampedArray]",be="[object Uint16Array]",Ee="[object Uint32Array]",gt=/\b__p \+= '';/g,Lt=/\b(__p \+=) '' \+/g,_t=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ut=/&(?:amp|lt|gt|quot|#39);/g,On=/[&<>"']/g,gn=RegExp(Ut.source),ln=RegExp(On.source),Bn=/<%-([\s\S]+?)%>/g,oa=/<%([\s\S]+?)%>/g,Xa=/<%=([\s\S]+?)%>/g,ma=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vn=/^\w*$/,_a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Uo=/[\\^$.*+?()[\]{}|]/g,Oa=RegExp(Uo.source),Ra=/^\s+/,Bo=/\s/,we=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ve=/\{\n\/\* \[wrapped with (.+)\] \*/,$e=/,? & /,ye=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Se=/[()=,{}\[\]\/\s]/,ne=/\\(\\)?/g,Me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qe=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,Bt=/^0b[01]+$/i,yn=/^\[object .+?Constructor\]$/,an=/^0o[0-7]+$/i,Dn=/^(?:0|[1-9]\d*)$/,Tn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rr=/($^)/,Pr=/['\n\r\u2028\u2029\\]/g,lr="\\ud800-\\udfff",Bs="\\u0300-\\u036f",bv="\\ufe20-\\ufe2f",Rl="\\u20d0-\\u20ff",oo=Bs+bv+Rl,ii="\\u2700-\\u27bf",Xd="a-z\\xdf-\\xf6\\xf8-\\xff",wv="\\xac\\xb1\\xd7\\xf7",bm="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qb="\\u2000-\\u206f",Oc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zi="A-Z\\xc0-\\xd6\\xd8-\\xde",Wo="\\ufe0e\\ufe0f",wi=wv+bm+Qb+Oc,Qd="['’]",Tu="["+lr+"]",Ws="["+wi+"]",zs="["+oo+"]",Rc="\\d+",Zb="["+ii+"]",Si="["+Xd+"]",Zd="[^"+lr+wi+Rc+ii+Xd+zi+"]",Jd="\\ud83c[\\udffb-\\udfff]",wm="(?:"+zs+"|"+Jd+")",Pl="[^"+lr+"]",ef="(?:\\ud83c[\\udde6-\\uddff]){2}",tf="[\\ud800-\\udbff][\\udc00-\\udfff]",so="["+zi+"]",nf="\\u200d",rf="(?:"+Si+"|"+Zd+")",af="(?:"+so+"|"+Zd+")",Cu="(?:"+Qd+"(?:d|ll|m|re|s|t|ve))?",Sv="(?:"+Qd+"(?:D|LL|M|RE|S|T|VE))?",Sm=wm+"?",Pc="["+Wo+"]?",Em="(?:"+nf+"(?:"+[Pl,ef,tf].join("|")+")"+Pc+Sm+")*",ku="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Al="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nl=Pc+Sm+Em,Ev="(?:"+[Zb,ef,tf].join("|")+")"+Nl,Tm="(?:"+[Pl+zs+"?",zs,ef,tf,Tu].join("|")+")",Cm=RegExp(Qd,"g"),lo=RegExp(zs,"g"),Ml=RegExp(Jd+"(?="+Jd+")|"+Tm+Nl,"g"),Ac=RegExp([so+"?"+Si+"+"+Cu+"(?="+[Ws,so,"$"].join("|")+")",af+"+"+Sv+"(?="+[Ws,so+rf,"$"].join("|")+")",so+"?"+rf+"+"+Cu,so+"+"+Sv,Al,ku,Rc,Ev].join("|"),"g"),ls=RegExp("["+nf+lr+oo+Wo+"]"),xu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Tv=-1,ar={};ar[F]=ar[ae]=ar[Te]=ar[Fe]=ar[We]=ar[Tt]=ar[Mt]=ar[be]=ar[Ee]=!0,ar[J]=ar[ue]=ar[U]=ar[fe]=ar[D]=ar[xe]=ar[qe]=ar[nt]=ar[at]=ar[Et]=ar[xt]=ar[Ht]=ar[Wt]=ar[Oe]=ar[ut]=!1;var ir={};ir[J]=ir[ue]=ir[U]=ir[D]=ir[fe]=ir[xe]=ir[F]=ir[ae]=ir[Te]=ir[Fe]=ir[We]=ir[at]=ir[Et]=ir[xt]=ir[Ht]=ir[Wt]=ir[Oe]=ir[dt]=ir[Tt]=ir[Mt]=ir[be]=ir[Ee]=!0,ir[qe]=ir[nt]=ir[ut]=!1;var Cv={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},oi={"&":"&","<":"<",">":">",'"':""","'":"'"},uo={"&":"&","<":"<",">":">",""":'"',"'":"'"},of={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Hs=parseFloat,km=parseInt,rt=typeof bl=="object"&&bl&&bl.Object===Object&&bl,pt=typeof self=="object"&&self&&self.Object===Object&&self,wt=rt||pt||Function("return this")(),qt=t&&!t.nodeType&&t,En=qt&&!0&&e&&!e.nodeType&&e,ur=En&&En.exports===qt,Ar=ur&&rt.process,Zn=(function(){try{var Ae=En&&En.require&&En.require("util").types;return Ae||Ar&&Ar.binding&&Ar.binding("util")}catch{}})(),Pa=Zn&&Zn.isArrayBuffer,Qa=Zn&&Zn.isDate,Il=Zn&&Zn.isMap,kv=Zn&&Zn.isRegExp,sf=Zn&&Zn.isSet,lf=Zn&&Zn.isTypedArray;function si(Ae,He,Be){switch(Be.length){case 0:return Ae.call(He);case 1:return Ae.call(He,Be[0]);case 2:return Ae.call(He,Be[0],Be[1]);case 3:return Ae.call(He,Be[0],Be[1],Be[2])}return Ae.apply(He,Be)}function __(Ae,He,Be,It){for(var on=-1,Wn=Ae==null?0:Ae.length;++on-1}function Jb(Ae,He,Be){for(var It=-1,on=Ae==null?0:Ae.length;++It-1;);return Be}function pf(Ae,He){for(var Be=Ae.length;Be--&&uf(He,Ae[Be],0)>-1;);return Be}function I_(Ae,He){for(var Be=Ae.length,It=0;Be--;)Ae[Be]===He&&++It;return It}var Nv=Rv(Cv),EE=Rv(oi);function TE(Ae){return"\\"+of[Ae]}function a0(Ae,He){return Ae==null?n:Ae[He]}function Ou(Ae){return ls.test(Ae)}function CE(Ae){return xu.test(Ae)}function kE(Ae){for(var He,Be=[];!(He=Ae.next()).done;)Be.push(He.value);return Be}function Mv(Ae){var He=-1,Be=Array(Ae.size);return Ae.forEach(function(It,on){Be[++He]=[on,It]}),Be}function xE(Ae,He){return function(Be){return Ae(He(Be))}}function Ru(Ae,He){for(var Be=-1,It=Ae.length,on=0,Wn=[];++Be-1}function U_(h,b){var O=this.__data__,$=Bc(O,h);return $<0?(++this.size,O.push([h,b])):O[$][1]=b,this}el.prototype.clear=Mu,el.prototype.delete=zl,el.prototype.get=Aa,el.prototype.has=Wv,el.prototype.set=U_;function ql(h){var b=-1,O=h==null?0:h.length;for(this.clear();++b=b?h:b)),h}function er(h,b,O,$,V,te){var pe,Ce=b&g,De=b&y,Ze=b&p;if(O&&(pe=V?O(h,$,V,te):O(h)),pe!==n)return pe;if(!jr(h))return h;var tt=bn(h);if(tt){if(pe=Vc(h),!Ce)return ki(h,pe)}else{var ct=ga(h),Ct=ct==nt||ct==Ge;if(Xu(h))return I0(h,Ce);if(ct==xt||ct==J||Ct&&!V){if(pe=De||Ct?{}:Vi(h),!Ce)return De?zm(h,zv(pe,h)):eT(h,Du(pe,h))}else{if(!ir[ct])return V?h:{};pe=nT(h,ct,Ce)}}te||(te=new fs);var Gt=te.get(h);if(Gt)return Gt;te.set(h,pe),ul(h)?h.forEach(function(fn){pe.add(er(fn,b,O,fn,h,te))}):UT(h)&&h.forEach(function(fn,Hn){pe.set(Hn,er(fn,b,O,Hn,h,te))});var dn=Ze?De?Vm:al:De?Oi:Ia,Ln=tt?n:dn(h);return zo(Ln||h,function(fn,Hn){Ln&&(Hn=fn,fn=h[Hn]),Lr(pe,Hn,er(fn,b,O,Hn,h,te))}),pe}function g0(h){var b=Ia(h);return function(O){return qv(O,h,b)}}function qv(h,b,O){var $=O.length;if(h==null)return!$;for(h=Er(h);$--;){var V=O[$],te=b[V],pe=h[V];if(pe===n&&!(V in h)||!te(pe))return!1}return!0}function v0(h,b,O){if(typeof h!="function")throw new po(o);return ci(function(){h.apply(n,O)},b)}function Sf(h,b,O,$){var V=-1,te=xv,pe=!0,Ce=h.length,De=[],Ze=b.length;if(!Ce)return De;O&&(b=$r(b,co(O))),$?(te=Jb,pe=!1):b.length>=a&&(te=df,pe=!1,b=new Hl(b));e:for(;++VV?0:V+O),$=$===n||$>V?V:_n($),$<0&&($+=V),$=O>$?0:Aw($);O<$;)h[O++]=b;return h}function la(h,b){var O=[];return Lu(h,function($,V,te){b($,V,te)&&O.push($)}),O}function ha(h,b,O,$,V){var te=-1,pe=h.length;for(O||(O=aT),V||(V=[]);++te0&&O(Ce)?b>1?ha(Ce,b-1,O,$,V):Dl(V,Ce):$||(V[V.length]=Ce)}return V}var zc=j0(),Dm=j0(!0);function Qo(h,b){return h&&zc(h,b,Ia)}function ps(h,b){return h&&Dm(h,b,Ia)}function qc(h,b){return Vs(b,function(O){return nu(h[O])})}function Vl(h,b){b=Yl(b,h);for(var O=0,$=b.length;h!=null&&O<$;)h=h[xi(b[O++])];return O&&O==$?h:n}function Vv(h,b,O){var $=b(h);return bn(h)?$:Dl($,O(h))}function li(h){return h==null?h===n?ft:kt:Xs&&Xs in Er(h)?Km(h):yo(h)}function Gv(h,b){return h>b}function FE(h,b){return h!=null&&cr.call(h,b)}function jE(h,b){return h!=null&&b in Er(h)}function UE(h,b,O){return h>=pn(b,O)&&h=120&&tt.length>=120)?new Hl(pe&&tt):n}tt=h[0];var ct=-1,Ct=Ce[0];e:for(;++ct-1;)Ce!==h&&Ti.call(Ce,De,1),Ti.call(h,De,1);return h}function O0(h,b){for(var O=h?b.length:0,$=O-1;O--;){var V=b[O];if(O==$||V!==te){var te=V;ws(V)?Ti.call(h,V,1):tl(h,V)}}return h}function Qv(h,b){return h+Ko(Fv()*(b-h+1))}function q_(h,b,O,$){for(var V=-1,te=zn(Yo((b-h)/(O||1)),0),pe=Be(te);te--;)pe[$?te:++V]=h,h+=O;return pe}function jm(h,b){var O="";if(!h||b<1||b>q)return O;do b%2&&(O+=h),b=Ko(b/2),b&&(h+=h);while(b);return O}function Rn(h,b){return bo(il(h,b,or),h+"")}function XE(h){return h0(ko(h))}function R0(h,b){var O=ko(h);return Xm(O,Wc(b,0,O.length))}function xf(h,b,O,$){if(!jr(h))return h;b=Yl(b,h);for(var V=-1,te=b.length,pe=te-1,Ce=h;Ce!=null&&++VV?0:V+b),O=O>V?V:O,O<0&&(O+=V),V=b>O?0:O-b>>>0,b>>>=0;for(var te=Be(V);++$>>1,pe=h[te];pe!==null&&!Co(pe)&&(O?pe<=b:pe=a){var Ze=b?null:Wu(h);if(Ze)return Iv(Ze);pe=!1,V=df,De=new Hl}else De=b?[]:Ce;e:for(;++$=$?h:go(h,b,O)}var Bm=Vo||function(h){return wt.clearTimeout(h)};function I0(h,b){if(b)return h.slice();var O=h.length,$=l0?l0(O):new h.constructor(O);return h.copy($),$}function Wm(h){var b=new h.constructor(h.byteLength);return new cs(b).set(new cs(h)),b}function ZE(h,b){var O=b?Wm(h.buffer):h.buffer;return new h.constructor(O,h.byteOffset,h.byteLength)}function JE(h){var b=new h.constructor(h.source,Qe.exec(h));return b.lastIndex=h.lastIndex,b}function G_(h){return Bl?Er(Bl.call(h)):{}}function D0(h,b){var O=b?Wm(h.buffer):h.buffer;return new h.constructor(O,h.byteOffset,h.length)}function Ma(h,b){if(h!==b){var O=h!==n,$=h===null,V=h===h,te=Co(h),pe=b!==n,Ce=b===null,De=b===b,Ze=Co(b);if(!Ce&&!Ze&&!te&&h>b||te&&pe&&De&&!Ce&&!Ze||$&&pe&&De||!O&&De||!V)return 1;if(!$&&!te&&!Ze&&h=Ce)return De;var Ze=O[$];return De*(Ze=="desc"?-1:1)}}return h.index-b.index}function $0(h,b,O,$){for(var V=-1,te=h.length,pe=O.length,Ce=-1,De=b.length,Ze=zn(te-pe,0),tt=Be(De+Ze),ct=!$;++Ce1?O[V-1]:n,pe=V>2?O[2]:n;for(te=h.length>3&&typeof te=="function"?(V--,te):n,pe&&Ja(O[0],O[1],pe)&&(te=V<3?n:te,V=1),b=Er(b);++$-1?V[te?b[pe]:pe]:n}}function ny(h){return rl(function(b){var O=b.length,$=O,V=mo.prototype.thru;for(h&&b.reverse();$--;){var te=b[$];if(typeof te!="function")throw new po(o);if(V&&!pe&&ys(te)=="wrapper")var pe=new mo([],!0)}for($=pe?$:O;++$1&&Jn.reverse(),tt&&DeCe))return!1;var Ze=te.get(h),tt=te.get(b);if(Ze&&tt)return Ze==b&&tt==h;var ct=-1,Ct=!0,Gt=O&E?new Hl:n;for(te.set(h,b),te.set(b,h);++ct1?"& ":"")+b[$],b=b.join(O>2?", ":" "),h.replace(we,`{ + */var Hse=rS.exports,fU;function Vse(){return fU||(fU=1,(function(e,t){(function(){var n,r="4.17.21",a=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",l="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",g=1,y=2,h=4,v=1,E=2,T=1,C=2,k=4,_=8,A=16,P=32,N=64,I=128,L=256,j=512,z=30,Q="...",le=800,re=16,ge=1,me=2,W=3,G=1/0,q=9007199254740991,ce=17976931348623157e292,H=NaN,Y=4294967295,ie=Y-1,J=Y>>>1,ee=[["ary",I],["bind",T],["bindKey",C],["curry",_],["curryRight",A],["flip",j],["partial",P],["partialRight",N],["rearg",L]],Z="[object Arguments]",ue="[object Array]",ke="[object AsyncFunction]",fe="[object Boolean]",xe="[object Date]",Ie="[object DOMException]",qe="[object Error]",tt="[object Function]",Ge="[object GeneratorFunction]",at="[object Map]",Et="[object Number]",kt="[object Null]",xt="[object Object]",Rt="[object Promise]",cn="[object Proxy]",qt="[object RegExp]",Wt="[object Set]",Oe="[object String]",dt="[object Symbol]",ft="[object Undefined]",ut="[object WeakMap]",Nt="[object WeakSet]",U="[object ArrayBuffer]",D="[object DataView]",F="[object Float32Array]",ae="[object Float64Array]",Te="[object Int8Array]",Fe="[object Int16Array]",We="[object Int32Array]",Tt="[object Uint8Array]",Mt="[object Uint8ClampedArray]",be="[object Uint16Array]",Ee="[object Uint32Array]",gt=/\b__p \+= '';/g,Lt=/\b(__p \+=) '' \+/g,_t=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ut=/&(?:amp|lt|gt|quot|#39);/g,On=/[&<>"']/g,gn=RegExp(Ut.source),ln=RegExp(On.source),Bn=/<%-([\s\S]+?)%>/g,oa=/<%([\s\S]+?)%>/g,Qa=/<%=([\s\S]+?)%>/g,ha=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vn=/^\w*$/,_a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bo=/[\\^$.*+?()[\]{}|]/g,Oa=RegExp(Bo.source),Ra=/^\s+/,Wo=/\s/,we=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ve=/\{\n\/\* \[wrapped with (.+)\] \*/,$e=/,? & /,ye=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Se=/[()=,{}\[\]\/\s]/,ne=/\\(\\)?/g,Me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qe=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,Bt=/^0b[01]+$/i,yn=/^\[object .+?Constructor\]$/,an=/^0o[0-7]+$/i,Dn=/^(?:0|[1-9]\d*)$/,En=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rr=/($^)/,Pr=/['\n\r\u2028\u2029\\]/g,lr="\\ud800-\\udfff",qs="\\u0300-\\u036f",Gv="\\ufe20-\\ufe2f",$l="\\u20d0-\\u20ff",so=qs+Gv+$l,oi="\\u2700-\\u27bf",of="a-z\\xdf-\\xf6\\xf8-\\xff",Yv="\\xac\\xb1\\xd7\\xf7",Ph="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",x0="\\u2000-\\u206f",Dc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qi="A-Z\\xc0-\\xd6\\xd8-\\xde",zo="\\ufe0e\\ufe0f",Si=Yv+Ph+x0+Dc,sf="['’]",Au="["+lr+"]",Hs="["+Si+"]",Vs="["+so+"]",$c="\\d+",_0="["+oi+"]",Ei="["+of+"]",lf="[^"+lr+Si+$c+oi+of+qi+"]",uf="\\ud83c[\\udffb-\\udfff]",Ah="(?:"+Vs+"|"+uf+")",Ll="[^"+lr+"]",cf="(?:\\ud83c[\\udde6-\\uddff]){2}",df="[\\ud800-\\udbff][\\udc00-\\udfff]",lo="["+qi+"]",ff="\\u200d",pf="(?:"+Ei+"|"+lf+")",hf="(?:"+lo+"|"+lf+")",Nu="(?:"+sf+"(?:d|ll|m|re|s|t|ve))?",Kv="(?:"+sf+"(?:D|LL|M|RE|S|T|VE))?",Nh=Ah+"?",Lc="["+zo+"]?",Mh="(?:"+ff+"(?:"+[Ll,cf,df].join("|")+")"+Lc+Nh+")*",Mu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jl=Lc+Nh+Mh,Xv="(?:"+[_0,cf,df].join("|")+")"+jl,Ih="(?:"+[Ll+Vs+"?",Vs,cf,df,Au].join("|")+")",Dh=RegExp(sf,"g"),uo=RegExp(Vs,"g"),Ul=RegExp(uf+"(?="+uf+")|"+Ih+jl,"g"),Fc=RegExp([lo+"?"+Ei+"+"+Nu+"(?="+[Hs,lo,"$"].join("|")+")",hf+"+"+Kv+"(?="+[Hs,lo+pf,"$"].join("|")+")",lo+"?"+pf+"+"+Nu,lo+"+"+Kv,Fl,Mu,$c,Xv].join("|"),"g"),us=RegExp("["+ff+lr+so+zo+"]"),Iu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qv=-1,ar={};ar[F]=ar[ae]=ar[Te]=ar[Fe]=ar[We]=ar[Tt]=ar[Mt]=ar[be]=ar[Ee]=!0,ar[Z]=ar[ue]=ar[U]=ar[fe]=ar[D]=ar[xe]=ar[qe]=ar[tt]=ar[at]=ar[Et]=ar[xt]=ar[qt]=ar[Wt]=ar[Oe]=ar[ut]=!1;var ir={};ir[Z]=ir[ue]=ir[U]=ir[D]=ir[fe]=ir[xe]=ir[F]=ir[ae]=ir[Te]=ir[Fe]=ir[We]=ir[at]=ir[Et]=ir[xt]=ir[qt]=ir[Wt]=ir[Oe]=ir[dt]=ir[Tt]=ir[Mt]=ir[be]=ir[Ee]=!0,ir[qe]=ir[tt]=ir[ut]=!1;var Jv={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},si={"&":"&","<":"<",">":">",'"':""","'":"'"},co={"&":"&","<":"<",">":">",""":'"',"'":"'"},mf={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ys=parseFloat,$h=parseInt,rt=typeof El=="object"&&El&&El.Object===Object&&El,pt=typeof self=="object"&&self&&self.Object===Object&&self,bt=rt||pt||Function("return this")(),zt=t&&!t.nodeType&&t,Sn=zt&&!0&&e&&!e.nodeType&&e,ur=Sn&&Sn.exports===zt,Ar=ur&&rt.process,Jn=(function(){try{var Ae=Sn&&Sn.require&&Sn.require("util").types;return Ae||Ar&&Ar.binding&&Ar.binding("util")}catch{}})(),Pa=Jn&&Jn.isArrayBuffer,Ja=Jn&&Jn.isDate,Bl=Jn&&Jn.isMap,Zv=Jn&&Jn.isRegExp,gf=Jn&&Jn.isSet,vf=Jn&&Jn.isTypedArray;function li(Ae,He,Be){switch(Be.length){case 0:return Ae.call(He);case 1:return Ae.call(He,Be[0]);case 2:return Ae.call(He,Be[0],Be[1]);case 3:return Ae.call(He,Be[0],Be[1],Be[2])}return Ae.apply(He,Be)}function uO(Ae,He,Be,It){for(var on=-1,Wn=Ae==null?0:Ae.length;++on-1}function O0(Ae,He,Be){for(var It=-1,on=Ae==null?0:Ae.length;++It-1;);return Be}function Ef(Ae,He){for(var Be=Ae.length;Be--&&yf(He,Ae[Be],0)>-1;);return Be}function gO(Ae,He){for(var Be=Ae.length,It=0;Be--;)Ae[Be]===He&&++It;return It}var oy=ry(Jv),aT=ry(si);function iT(Ae){return"\\"+mf[Ae]}function M0(Ae,He){return Ae==null?n:Ae[He]}function $u(Ae){return us.test(Ae)}function oT(Ae){return Iu.test(Ae)}function sT(Ae){for(var He,Be=[];!(He=Ae.next()).done;)Be.push(He.value);return Be}function sy(Ae){var He=-1,Be=Array(Ae.size);return Ae.forEach(function(It,on){Be[++He]=[on,It]}),Be}function lT(Ae,He){return function(Be){return Ae(He(Be))}}function Lu(Ae,He){for(var Be=-1,It=Ae.length,on=0,Wn=[];++Be-1}function EO(m,b){var O=this.__data__,$=Yc(O,m);return $<0?(++this.size,O.push([m,b])):O[$][1]=b,this}rl.prototype.clear=Bu,rl.prototype.delete=Xl,rl.prototype.get=Aa,rl.prototype.has=gy,rl.prototype.set=EO;function Ql(m){var b=-1,O=m==null?0:m.length;for(this.clear();++b=b?m:b)),m}function er(m,b,O,$,V,te){var pe,Ce=b&g,De=b&y,Je=b&h;if(O&&(pe=V?O(m,$,V,te):O(m)),pe!==n)return pe;if(!jr(m))return m;var et=bn(m);if(et){if(pe=Zc(m),!Ce)return xi(m,pe)}else{var ct=ga(m),Ct=ct==tt||ct==Ge;if(ac(m))return uw(m,Ce);if(ct==xt||ct==Z||Ct&&!V){if(pe=De||Ct?{}:Gi(m),!Ce)return De?em(m,vy(pe,m)):$T(m,zu(pe,m))}else{if(!ir[ct])return V?m:{};pe=FT(m,ct,Ce)}}te||(te=new ps);var Vt=te.get(m);if(Vt)return Vt;te.set(m,pe),fl(m)?m.forEach(function(fn){pe.add(er(fn,b,O,fn,m,te))}):EC(m)&&m.forEach(function(fn,Hn){pe.set(Hn,er(fn,b,O,Hn,m,te))});var dn=Je?De?rm:sl:De?Ri:Ia,Ln=et?n:dn(m);return qo(Ln||m,function(fn,Hn){Ln&&(Hn=fn,fn=m[Hn]),Lr(pe,Hn,er(fn,b,O,Hn,m,te))}),pe}function H0(m){var b=Ia(m);return function(O){return yy(O,m,b)}}function yy(m,b,O){var $=O.length;if(m==null)return!$;for(m=Er(m);$--;){var V=O[$],te=b[V],pe=m[V];if(pe===n&&!(V in m)||!te(pe))return!1}return!0}function V0(m,b,O){if(typeof m!="function")throw new ho(o);return di(function(){m.apply(n,O)},b)}function Pf(m,b,O,$){var V=-1,te=ey,pe=!0,Ce=m.length,De=[],Je=b.length;if(!Ce)return De;O&&(b=$r(b,fo(O))),$?(te=O0,pe=!1):b.length>=a&&(te=wf,pe=!1,b=new Jl(b));e:for(;++VV?0:V+O),$=$===n||$>V?V:xn($),$<0&&($+=V),$=O>$?0:o1($);O<$;)m[O++]=b;return m}function la(m,b){var O=[];return Hu(m,function($,V,te){b($,V,te)&&O.push($)}),O}function ma(m,b,O,$,V){var te=-1,pe=m.length;for(O||(O=UT),V||(V=[]);++te0&&O(Ce)?b>1?ma(Ce,b-1,O,$,V):Wl(V,Ce):$||(V[V.length]=Ce)}return V}var Xc=hw(),Vh=hw(!0);function Jo(m,b){return m&&Xc(m,b,Ia)}function hs(m,b){return m&&Vh(m,b,Ia)}function Qc(m,b){return Ks(b,function(O){return uu(m[O])})}function Zl(m,b){b=tu(b,m);for(var O=0,$=b.length;m!=null&&O<$;)m=m[_i(b[O++])];return O&&O==$?m:n}function wy(m,b,O){var $=b(m);return bn(m)?$:Wl($,O(m))}function ui(m){return m==null?m===n?ft:kt:Zs&&Zs in Er(m)?om(m):bo(m)}function Sy(m,b){return m>b}function wT(m,b){return m!=null&&cr.call(m,b)}function ST(m,b){return m!=null&&b in Er(m)}function ET(m,b,O){return m>=pn(b,O)&&m=120&&et.length>=120)?new Jl(pe&&et):n}et=m[0];var ct=-1,Ct=Ce[0];e:for(;++ct-1;)Ce!==m&&Ci.call(Ce,De,1),Ci.call(m,De,1);return m}function rw(m,b){for(var O=m?b.length:0,$=O-1;O--;){var V=b[O];if(O==$||V!==te){var te=V;Ss(V)?Ci.call(m,V,1):al(m,V)}}return m}function ky(m,b){return m+Xo(fy()*(b-m+1))}function xO(m,b,O,$){for(var V=-1,te=zn(Ko((b-m)/(O||1)),0),pe=Be(te);te--;)pe[$?te:++V]=m,m+=O;return pe}function Xh(m,b){var O="";if(!m||b<1||b>q)return O;do b%2&&(O+=m),b=Xo(b/2),b&&(m+=m);while(b);return O}function Rn(m,b){return wo(ll(m,b,or),m+"")}function NT(m){return q0(xo(m))}function aw(m,b){var O=xo(m);return sm(O,Kc(b,0,O.length))}function Df(m,b,O,$){if(!jr(m))return m;b=tu(b,m);for(var V=-1,te=b.length,pe=te-1,Ce=m;Ce!=null&&++VV?0:V+b),O=O>V?V:O,O<0&&(O+=V),V=b>O?0:O-b>>>0,b>>>=0;for(var te=Be(V);++$>>1,pe=m[te];pe!==null&&!ko(pe)&&(O?pe<=b:pe=a){var Je=b?null:Xu(m);if(Je)return ly(Je);pe=!1,V=wf,De=new Jl}else De=b?[]:Ce;e:for(;++$=$?m:vo(m,b,O)}var Jh=Go||function(m){return bt.clearTimeout(m)};function uw(m,b){if(b)return m.slice();var O=m.length,$=L0?L0(O):new m.constructor(O);return m.copy($),$}function Zh(m){var b=new m.constructor(m.byteLength);return new ds(b).set(new ds(m)),b}function IT(m,b){var O=b?Zh(m.buffer):m.buffer;return new m.constructor(O,m.byteOffset,m.byteLength)}function DT(m){var b=new m.constructor(m.source,Qe.exec(m));return b.lastIndex=m.lastIndex,b}function RO(m){return Yl?Er(Yl.call(m)):{}}function cw(m,b){var O=b?Zh(m.buffer):m.buffer;return new m.constructor(O,m.byteOffset,m.length)}function Ma(m,b){if(m!==b){var O=m!==n,$=m===null,V=m===m,te=ko(m),pe=b!==n,Ce=b===null,De=b===b,Je=ko(b);if(!Ce&&!Je&&!te&&m>b||te&&pe&&De&&!Ce&&!Je||$&&pe&&De||!O&&De||!V)return 1;if(!$&&!te&&!Je&&m=Ce)return De;var Je=O[$];return De*(Je=="desc"?-1:1)}}return m.index-b.index}function dw(m,b,O,$){for(var V=-1,te=m.length,pe=O.length,Ce=-1,De=b.length,Je=zn(te-pe,0),et=Be(De+Je),ct=!$;++Ce1?O[V-1]:n,pe=V>2?O[2]:n;for(te=m.length>3&&typeof te=="function"?(V--,te):n,pe&&ei(O[0],O[1],pe)&&(te=V<3?n:te,V=1),b=Er(b);++$-1?V[te?b[pe]:pe]:n}}function Py(m){return ol(function(b){var O=b.length,$=O,V=mo.prototype.thru;for(m&&b.reverse();$--;){var te=b[$];if(typeof te!="function")throw new ho(o);if(V&&!pe&&bs(te)=="wrapper")var pe=new mo([],!0)}for($=pe?$:O;++$1&&Zn.reverse(),et&&DeCe))return!1;var Je=te.get(m),et=te.get(b);if(Je&&et)return Je==b&&et==m;var ct=-1,Ct=!0,Vt=O&E?new Jl:n;for(te.set(m,b),te.set(b,m);++ct1?"& ":"")+b[$],b=b.join(O>2?", ":" "),m.replace(we,`{ /* [wrapped with `+b+`] */ -`)}function aT(h){return bn(h)||Ku(h)||!!(Dc&&h&&h[Dc])}function ws(h,b){var O=typeof h;return b=b??q,!!b&&(O=="number"||O!="symbol"&&Dn.test(h))&&h>-1&&h%1==0&&h0){if(++b>=le)return arguments[0]}else b=0;return h.apply(n,arguments)}}function Xm(h,b){var O=-1,$=h.length,V=$-1;for(b=b===n?$:b;++O1?h[b-1]:n;return O=typeof O=="function"?(h.pop(),O):n,rh(h,O)});function di(h){var b=K(h);return b.__chain__=!0,b}function ST(h,b){return b(h),h}function Wf(h,b){return b(h)}var ET=rl(function(h){var b=h.length,O=b?h[0]:0,$=this.__wrapped__,V=function(te){return $u(te,h)};return b>1||this.__actions__.length||!($ instanceof Cn)||!ws(O)?this.thru(V):($=$.slice(O,+O+(b?1:0)),$.__actions__.push({func:Wf,args:[V],thisArg:n}),new mo($,this.__chain__).thru(function(te){return b&&!te.length&&te.push(n),te}))});function Z_(){return di(this)}function eu(){return new mo(this.value(),this.__chain__)}function py(){this.__values__===n&&(this.__values__=zT(this.value()));var h=this.__index__>=this.__values__.length,b=h?n:this.__values__[this.__index__++];return{done:h,value:b}}function lw(){return this}function zf(h){for(var b,O=this;O instanceof Am;){var $=uy(O);$.__index__=0,$.__values__=n,b?V.__wrapped__=$:b=$;var V=$;O=O.__wrapped__}return V.__wrapped__=h,b}function TT(){var h=this.__wrapped__;if(h instanceof Cn){var b=h;return this.__actions__.length&&(b=new Cn(this)),b=b.reverse(),b.__actions__.push({func:Wf,args:[Tr],thisArg:n}),new mo(b,this.__chain__)}return this.thru(Tr)}function CT(){return Zv(this.__wrapped__,this.__actions__)}var kT=Af(function(h,b,O){cr.call(h,O)?++h[O]:ho(h,O,1)});function uw(h,b,O){var $=bn(h)?vE:y0;return O&&Ja(h,b,O)&&(b=n),$(h,Qt(b,3))}function cw(h,b){var O=bn(h)?Vs:la;return O(h,Qt(b,3))}var J_=ty(Q0),eO=ty(mT);function tO(h,b){return ha(tu(h,b),1)}function xT(h,b){return ha(tu(h,b),G)}function _T(h,b,O){return O=O===n?1:_n(O),ha(tu(h,b),O)}function Xc(h,b){var O=bn(h)?zo:Lu;return O(h,Qt(b,3))}function oh(h,b){var O=bn(h)?O_:Hv;return O(h,Qt(b,3))}var OT=Af(function(h,b,O){cr.call(h,O)?h[O].push(b):ho(h,O,[b])});function RT(h,b,O,$){h=xn(h)?h:ko(h),O=O&&!$?_n(O):0;var V=h.length;return O<0&&(O=zn(V+O,0)),Ty(h)?O<=V&&h.indexOf(b,O)>-1:!!V&&uf(h,b,O)>-1}var nO=Rn(function(h,b,O){var $=-1,V=typeof b=="function",te=xn(h)?Be(h.length):[];return Lu(h,function(pe){te[++$]=V?si(b,pe,O):Tf(pe,b,O)}),te}),PT=Af(function(h,b,O){ho(h,O,b)});function tu(h,b){var O=bn(h)?$r:$m;return O(h,Qt(b,3))}function AT(h,b,O,$){return h==null?[]:(bn(b)||(b=b==null?[]:[b]),O=$?n:O,bn(O)||(O=O==null?[]:[O]),k0(h,b,O))}var _r=Af(function(h,b,O){h[O?0:1].push(b)},function(){return[[],[]]});function dw(h,b,O){var $=bn(h)?e0:r0,V=arguments.length<3;return $(h,Qt(b,4),O,V,Lu)}function rO(h,b,O){var $=bn(h)?R_:r0,V=arguments.length<3;return $(h,Qt(b,4),O,V,Hv)}function NT(h,b){var O=bn(h)?Vs:la;return O(h,hy(Qt(b,3)))}function aO(h){var b=bn(h)?h0:XE;return b(h)}function iO(h,b,O){(O?Ja(h,b,O):b===n)?b=1:b=_n(b);var $=bn(h)?Iu:R0;return $(h,b)}function oO(h){var b=bn(h)?An:V_;return b(h)}function my(h){if(h==null)return 0;if(xn(h))return Ty(h)?Gs(h):h.length;var b=ga(h);return b==at||b==Wt?h.size:Fu(h).length}function qf(h,b,O){var $=bn(h)?t0:Um;return O&&Ja(h,b,O)&&(b=n),$(h,Qt(b,3))}var fw=Rn(function(h,b){if(h==null)return[];var O=b.length;return O>1&&Ja(h,b[0],b[1])?b=[]:O>2&&Ja(b[0],b[1],b[2])&&(b=[b[0]]),k0(h,ha(b,1),[])}),Qc=Go||function(){return wt.Date.now()};function pw(h,b){if(typeof b!="function")throw new po(o);return h=_n(h),function(){if(--h<1)return b.apply(this,arguments)}}function Yu(h,b,O){return b=O?n:b,b=h&&b==null?h.length:b,vs(h,I,n,n,n,n,b)}function Ss(h,b){var O;if(typeof b!="function")throw new po(o);return h=_n(h),function(){return--h>0&&(O=b.apply(this,arguments)),h<=1&&(b=n),O}}var Zc=Rn(function(h,b,O){var $=T;if(O.length){var V=Ru(O,vo(Zc));$|=P}return vs(h,$,b,O,V)}),MT=Rn(function(h,b,O){var $=T|C;if(O.length){var V=Ru(O,vo(MT));$|=P}return vs(b,$,h,O,V)});function mw(h,b,O){b=O?n:b;var $=vs(h,_,n,n,n,n,n,b);return $.placeholder=mw.placeholder,$}function hw(h,b,O){b=O?n:b;var $=vs(h,A,n,n,n,n,n,b);return $.placeholder=hw.placeholder,$}function gw(h,b,O){var $,V,te,pe,Ce,De,Ze=0,tt=!1,ct=!1,Ct=!0;if(typeof h!="function")throw new po(o);b=ti(b)||0,jr(O)&&(tt=!!O.leading,ct="maxWait"in O,te=ct?zn(ti(O.maxWait)||0,b):te,Ct="trailing"in O?!!O.trailing:Ct);function Gt(Da){var iu=$,Jc=V;return $=V=n,Ze=Da,pe=h.apply(Jc,iu),pe}function dn(Da){return Ze=Da,Ce=ci(Hn,b),tt?Gt(Da):pe}function Ln(Da){var iu=Da-De,Jc=Da-Ze,a4=b-iu;return ct?pn(a4,te-Jc):a4}function fn(Da){var iu=Da-De,Jc=Da-Ze;return De===n||iu>=b||iu<0||ct&&Jc>=te}function Hn(){var Da=Qc();if(fn(Da))return Jn(Da);Ce=ci(Hn,Ln(Da))}function Jn(Da){return Ce=n,Ct&&$?Gt(Da):($=V=n,pe)}function Cs(){Ce!==n&&Bm(Ce),Ze=0,$=De=V=Ce=n}function xo(){return Ce===n?pe:Jn(Qc())}function ks(){var Da=Qc(),iu=fn(Da);if($=arguments,V=this,De=Da,iu){if(Ce===n)return dn(De);if(ct)return Bm(Ce),Ce=ci(Hn,b),Gt(De)}return Ce===n&&(Ce=ci(Hn,b)),pe}return ks.cancel=Cs,ks.flush=xo,ks}var sO=Rn(function(h,b){return v0(h,1,b)}),vw=Rn(function(h,b,O){return v0(h,ti(b)||0,O)});function IT(h){return vs(h,j)}function sh(h,b){if(typeof h!="function"||b!=null&&typeof b!="function")throw new po(o);var O=function(){var $=arguments,V=b?b.apply(this,$):$[0],te=O.cache;if(te.has(V))return te.get(V);var pe=h.apply(this,$);return O.cache=te.set(V,pe)||te,pe};return O.cache=new(sh.Cache||ql),O}sh.Cache=ql;function hy(h){if(typeof h!="function")throw new po(o);return function(){var b=arguments;switch(b.length){case 0:return!h.call(this);case 1:return!h.call(this,b[0]);case 2:return!h.call(this,b[0],b[1]);case 3:return!h.call(this,b[0],b[1],b[2])}return!h.apply(this,b)}}function yw(h){return Ss(2,h)}var bw=QE(function(h,b){b=b.length==1&&bn(b[0])?$r(b[0],co(Qt())):$r(ha(b,1),co(Qt()));var O=b.length;return Rn(function($){for(var V=-1,te=pn($.length,O);++V=b}),Ku=BE((function(){return arguments})())?BE:function(h){return Jr(h)&&cr.call(h,"callee")&&!u0.call(h,"callee")},bn=Be.isArray,yy=Pa?co(Pa):WE;function xn(h){return h!=null&&wy(h.length)&&!nu(h)}function qr(h){return Jr(h)&&xn(h)}function ei(h){return h===!0||h===!1||Jr(h)&&li(h)==fe}var Xu=AE||NO,Cw=Qa?co(Qa):zE;function kw(h){return Jr(h)&&h.nodeType===1&&!fi(h)}function by(h){if(h==null)return!0;if(xn(h)&&(bn(h)||typeof h=="string"||typeof h.splice=="function"||Xu(h)||Ts(h)||Ku(h)))return!h.length;var b=ga(h);if(b==at||b==Wt)return!h.size;if(Qr(h))return!Fu(h).length;for(var O in h)if(cr.call(h,O))return!1;return!0}function FT(h,b){return Cf(h,b)}function jT(h,b,O){O=typeof O=="function"?O:n;var $=O?O(h,b):n;return $===n?Cf(h,b,n,O):!!$}function ch(h){if(!Jr(h))return!1;var b=li(h);return b==qe||b==Ie||typeof h.message=="string"&&typeof h.name=="string"&&!fi(h)}function xw(h){return typeof h=="number"&&Lv(h)}function nu(h){if(!jr(h))return!1;var b=li(h);return b==nt||b==Ge||b==ke||b==cn}function _w(h){return typeof h=="number"&&h==_n(h)}function wy(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=q}function jr(h){var b=typeof h;return h!=null&&(b=="object"||b=="function")}function Jr(h){return h!=null&&typeof h=="object"}var UT=Il?co(Il):qE;function Ow(h,b){return h===b||Kv(h,b,Ym(b))}function Rw(h,b,O){return O=typeof O=="function"?O:n,Kv(h,b,Ym(b),O)}function dO(h){return Pw(h)&&h!=+h}function fO(h){if(iT(h))throw new on(i);return S0(h)}function Es(h){return h===null}function BT(h){return h==null}function Pw(h){return typeof h=="number"||Jr(h)&&li(h)==Et}function fi(h){if(!Jr(h)||li(h)!=xt)return!1;var b=Mc(h);if(b===null)return!0;var O=cr.call(b,"constructor")&&b.constructor;return typeof O=="function"&&O instanceof O&&_m.call(O)==hf}var Sy=kv?co(kv):HE;function Ey(h){return _w(h)&&h>=-q&&h<=q}var ul=sf?co(sf):VE;function Ty(h){return typeof h=="string"||!bn(h)&&Jr(h)&&li(h)==Oe}function Co(h){return typeof h=="symbol"||Jr(h)&&li(h)==dt}var Ts=lf?co(lf):z_;function WT(h){return h===n}function pO(h){return Jr(h)&&ga(h)==ut}function mO(h){return Jr(h)&&li(h)==Nt}var hO=If(kf),gO=If(function(h,b){return h<=b});function zT(h){if(!h)return[];if(xn(h))return Ty(h)?qo(h):ki(h);if(Ks&&h[Ks])return kE(h[Ks]());var b=ga(h),O=b==at?Mv:b==Wt?Iv:ko;return O(h)}function ru(h){if(!h)return h===0?h:0;if(h=ti(h),h===G||h===-G){var b=h<0?-1:1;return b*ce}return h===h?h:0}function _n(h){var b=ru(h),O=b%1;return b===b?O?b-O:b:0}function Aw(h){return h?Wc(_n(h),0,Y):0}function ti(h){if(typeof h=="number")return h;if(Co(h))return H;if(jr(h)){var b=typeof h.valueOf=="function"?h.valueOf():h;h=jr(b)?b+"":b}if(typeof h!="string")return h===0?h:+h;h=SE(h);var O=Bt.test(h);return O||an.test(h)?km(h.slice(2),O?2:8):ot.test(h)?H:+h}function Vf(h){return ms(h,Oi(h))}function qT(h){return h?Wc(_n(h),-q,q):h===0?h:0}function fr(h){return h==null?"":Xr(h)}var Gf=Hc(function(h,b){if(Qr(b)||xn(b)){ms(b,Ia(b),h);return}for(var O in b)cr.call(b,O)&&Lr(h,O,b[O])}),Yf=Hc(function(h,b){ms(b,Oi(b),h)}),dh=Hc(function(h,b,O,$){ms(b,Oi(b),h,$)}),Cy=Hc(function(h,b,O,$){ms(b,Ia(b),h,$)}),Nw=rl($u);function Mw(h,b){var O=Wl(h);return b==null?O:Du(O,b)}var ky=Rn(function(h,b){h=Er(h);var O=-1,$=b.length,V=$>2?b[2]:n;for(V&&Ja(b[0],b[1],V)&&($=1);++O<$;)for(var te=b[O],pe=Oi(te),Ce=-1,De=pe.length;++Ce1),te}),ms(h,Vm(h),O),$&&(O=er(O,g|y|p,iy));for(var V=b.length;V--;)tl(O,b[V]);return O});function TO(h,b){return _y(h,hy(Qt(b)))}var Lw=rl(function(h,b){return h==null?{}:x0(h,b)});function _y(h,b){if(h==null)return{};var O=$r(Vm(h),function($){return[$]});return b=Qt(b),_0(h,O,function($,V){return b($,V[0])})}function Oy(h,b,O){b=Yl(b,h);var $=-1,V=b.length;for(V||(V=1,h=n);++$b){var $=h;h=b,b=$}if(O||h%1||b%1){var V=Fv();return pn(h+V*(b-h+Hs("1e-"+((V+"").length-1))),b)}return Qv(h,b)}var JT=Uu(function(h,b,O){return b=b.toLowerCase(),h+(O?yh(b):b)});function yh(h){return mn(fr(h).toLowerCase())}function jw(h){return h=fr(h),h&&h.replace(Tn,Nv).replace(lo,"")}function xO(h,b,O){h=fr(h),b=Xr(b);var $=h.length;O=O===n?$:Wc(_n(O),0,$);var V=O;return O-=b.length,O>=0&&h.slice(O,V)==b}function Py(h){return h=fr(h),h&&ln.test(h)?h.replace(On,EE):h}function Ay(h){return h=fr(h),h&&Oa.test(h)?h.replace(Uo,"\\$&"):h}var eC=Uu(function(h,b,O){return h+(O?"-":"")+b.toLowerCase()}),bh=Uu(function(h,b,O){return h+(O?" ":"")+b.toLowerCase()}),Uw=ey("toLowerCase");function Ny(h,b,O){h=fr(h),b=_n(b);var $=b?Gs(h):0;if(!b||$>=b)return h;var V=(b-$)/2;return Mf(Ko(V),O)+h+Mf(Yo(V),O)}function tC(h,b,O){h=fr(h),b=_n(b);var $=b?Gs(h):0;return b&&$>>0,O?(h=fr(h),h&&(typeof b=="string"||b!=null&&!Sy(b))&&(b=Xr(b),!b&&Ou(h))?Kl(qo(h),0,O):h.split(b,O)):[]}var x=Uu(function(h,b,O){return h+(O?" ":"")+mn(b)});function M(h,b,O){return h=fr(h),O=O==null?0:Wc(_n(O),0,h.length),b=Xr(b),h.slice(O,O+b.length)==b}function B(h,b,O){var $=K.templateSettings;O&&Ja(h,b,O)&&(b=n),h=fr(h),b=dh({},b,$,ay);var V=dh({},b.imports,$.imports,ay),te=Ia(V),pe=Av(V,te),Ce,De,Ze=0,tt=b.interpolate||Rr,ct="__p += '",Ct=$l((b.escape||Rr).source+"|"+tt.source+"|"+(tt===Xa?Me:Rr).source+"|"+(b.evaluate||Rr).source+"|$","g"),Gt="//# sourceURL="+(cr.call(b,"sourceURL")?(b.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Tv+"]")+` -`;h.replace(Ct,function(fn,Hn,Jn,Cs,xo,ks){return Jn||(Jn=Cs),ct+=h.slice(Ze,ks).replace(Pr,TE),Hn&&(Ce=!0,ct+=`' + +`)}function UT(m){return bn(m)||rc(m)||!!(Wc&&m&&m[Wc])}function Ss(m,b){var O=typeof m;return b=b??q,!!b&&(O=="number"||O!="symbol"&&Dn.test(m))&&m>-1&&m%1==0&&m0){if(++b>=le)return arguments[0]}else b=0;return m.apply(n,arguments)}}function sm(m,b){var O=-1,$=m.length,V=$-1;for(b=b===n?$:b;++O1?m[b-1]:n;return O=typeof O=="function"?(m.pop(),O):n,hm(m,O)});function fi(m){var b=K(m);return b.__chain__=!0,b}function rC(m,b){return b(m),m}function Qf(m,b){return b(m)}var aC=ol(function(m){var b=m.length,O=b?m[0]:0,$=this.__wrapped__,V=function(te){return qu(te,m)};return b>1||this.__actions__.length||!($ instanceof Tn)||!Ss(O)?this.thru(V):($=$.slice(O,+O+(b?1:0)),$.__actions__.push({func:Qf,args:[V],thisArg:n}),new mo($,this.__chain__).thru(function(te){return b&&!te.length&&te.push(n),te}))});function IO(){return fi(this)}function su(){return new mo(this.value(),this.__chain__)}function By(){this.__values__===n&&(this.__values__=kC(this.value()));var m=this.__index__>=this.__values__.length,b=m?n:this.__values__[this.__index__++];return{done:m,value:b}}function Lw(){return this}function Jf(m){for(var b,O=this;O instanceof Wh;){var $=Ly(O);$.__index__=0,$.__values__=n,b?V.__wrapped__=$:b=$;var V=$;O=O.__wrapped__}return V.__wrapped__=m,b}function iC(){var m=this.__wrapped__;if(m instanceof Tn){var b=m;return this.__actions__.length&&(b=new Tn(this)),b=b.reverse(),b.__actions__.push({func:Qf,args:[Tr],thisArg:n}),new mo(b,this.__chain__)}return this.thru(Tr)}function oC(){return xy(this.__wrapped__,this.__actions__)}var sC=Uf(function(m,b,O){cr.call(m,O)?++m[O]:go(m,O,1)});function Fw(m,b,O){var $=bn(m)?ZE:G0;return O&&ei(m,b,O)&&(b=n),$(m,Qt(b,3))}function jw(m,b){var O=bn(m)?Ks:la;return O(m,Qt(b,3))}var DO=Ry(xw),$O=Ry(XT);function LO(m,b){return ma(lu(m,b),1)}function lC(m,b){return ma(lu(m,b),G)}function uC(m,b,O){return O=O===n?1:xn(O),ma(lu(m,b),O)}function rd(m,b){var O=bn(m)?qo:Hu;return O(m,Qt(b,3))}function vm(m,b){var O=bn(m)?cO:by;return O(m,Qt(b,3))}var cC=Uf(function(m,b,O){cr.call(m,O)?m[O].push(b):go(m,O,[b])});function dC(m,b,O,$){m=kn(m)?m:xo(m),O=O&&!$?xn(O):0;var V=m.length;return O<0&&(O=zn(V+O,0)),Qy(m)?O<=V&&m.indexOf(b,O)>-1:!!V&&yf(m,b,O)>-1}var FO=Rn(function(m,b,O){var $=-1,V=typeof b=="function",te=kn(m)?Be(m.length):[];return Hu(m,function(pe){te[++$]=V?li(b,pe,O):Nf(pe,b,O)}),te}),fC=Uf(function(m,b,O){go(m,O,b)});function lu(m,b){var O=bn(m)?$r:Gh;return O(m,Qt(b,3))}function pC(m,b,O,$){return m==null?[]:(bn(b)||(b=b==null?[]:[b]),O=$?n:O,bn(O)||(O=O==null?[]:[O]),ew(m,b,O))}var _r=Uf(function(m,b,O){m[O?0:1].push(b)},function(){return[[],[]]});function Uw(m,b,O){var $=bn(m)?R0:N0,V=arguments.length<3;return $(m,Qt(b,4),O,V,Hu)}function jO(m,b,O){var $=bn(m)?dO:N0,V=arguments.length<3;return $(m,Qt(b,4),O,V,by)}function hC(m,b){var O=bn(m)?Ks:la;return O(m,zy(Qt(b,3)))}function UO(m){var b=bn(m)?q0:NT;return b(m)}function BO(m,b,O){(O?ei(m,b,O):b===n)?b=1:b=xn(b);var $=bn(m)?Wu:aw;return $(m,b)}function WO(m){var b=bn(m)?An:OO;return b(m)}function Wy(m){if(m==null)return 0;if(kn(m))return Qy(m)?Xs(m):m.length;var b=ga(m);return b==at||b==Wt?m.size:Vu(m).length}function Zf(m,b,O){var $=bn(m)?P0:Qh;return O&&ei(m,b,O)&&(b=n),$(m,Qt(b,3))}var Bw=Rn(function(m,b){if(m==null)return[];var O=b.length;return O>1&&ei(m,b[0],b[1])?b=[]:O>2&&ei(b[0],b[1],b[2])&&(b=[b[0]]),ew(m,ma(b,1),[])}),ad=Yo||function(){return bt.Date.now()};function Ww(m,b){if(typeof b!="function")throw new ho(o);return m=xn(m),function(){if(--m<1)return b.apply(this,arguments)}}function nc(m,b,O){return b=O?n:b,b=m&&b==null?m.length:b,ys(m,I,n,n,n,n,b)}function Es(m,b){var O;if(typeof b!="function")throw new ho(o);return m=xn(m),function(){return--m>0&&(O=b.apply(this,arguments)),m<=1&&(b=n),O}}var id=Rn(function(m,b,O){var $=T;if(O.length){var V=Lu(O,yo(id));$|=P}return ys(m,$,b,O,V)}),mC=Rn(function(m,b,O){var $=T|C;if(O.length){var V=Lu(O,yo(mC));$|=P}return ys(b,$,m,O,V)});function zw(m,b,O){b=O?n:b;var $=ys(m,_,n,n,n,n,n,b);return $.placeholder=zw.placeholder,$}function qw(m,b,O){b=O?n:b;var $=ys(m,A,n,n,n,n,n,b);return $.placeholder=qw.placeholder,$}function Hw(m,b,O){var $,V,te,pe,Ce,De,Je=0,et=!1,ct=!1,Ct=!0;if(typeof m!="function")throw new ho(o);b=ni(b)||0,jr(O)&&(et=!!O.leading,ct="maxWait"in O,te=ct?zn(ni(O.maxWait)||0,b):te,Ct="trailing"in O?!!O.trailing:Ct);function Vt(Da){var fu=$,od=V;return $=V=n,Je=Da,pe=m.apply(od,fu),pe}function dn(Da){return Je=Da,Ce=di(Hn,b),et?Vt(Da):pe}function Ln(Da){var fu=Da-De,od=Da-Je,H4=b-fu;return ct?pn(H4,te-od):H4}function fn(Da){var fu=Da-De,od=Da-Je;return De===n||fu>=b||fu<0||ct&&od>=te}function Hn(){var Da=ad();if(fn(Da))return Zn(Da);Ce=di(Hn,Ln(Da))}function Zn(Da){return Ce=n,Ct&&$?Vt(Da):($=V=n,pe)}function ks(){Ce!==n&&Jh(Ce),Je=0,$=De=V=Ce=n}function _o(){return Ce===n?pe:Zn(ad())}function xs(){var Da=ad(),fu=fn(Da);if($=arguments,V=this,De=Da,fu){if(Ce===n)return dn(De);if(ct)return Jh(Ce),Ce=di(Hn,b),Vt(De)}return Ce===n&&(Ce=di(Hn,b)),pe}return xs.cancel=ks,xs.flush=_o,xs}var zO=Rn(function(m,b){return V0(m,1,b)}),Vw=Rn(function(m,b,O){return V0(m,ni(b)||0,O)});function gC(m){return ys(m,j)}function ym(m,b){if(typeof m!="function"||b!=null&&typeof b!="function")throw new ho(o);var O=function(){var $=arguments,V=b?b.apply(this,$):$[0],te=O.cache;if(te.has(V))return te.get(V);var pe=m.apply(this,$);return O.cache=te.set(V,pe)||te,pe};return O.cache=new(ym.Cache||Ql),O}ym.Cache=Ql;function zy(m){if(typeof m!="function")throw new ho(o);return function(){var b=arguments;switch(b.length){case 0:return!m.call(this);case 1:return!m.call(this,b[0]);case 2:return!m.call(this,b[0],b[1]);case 3:return!m.call(this,b[0],b[1],b[2])}return!m.apply(this,b)}}function Gw(m){return Es(2,m)}var Yw=MT(function(m,b){b=b.length==1&&bn(b[0])?$r(b[0],fo(Qt())):$r(ma(b,1),fo(Qt()));var O=b.length;return Rn(function($){for(var V=-1,te=pn($.length,O);++V=b}),rc=TT((function(){return arguments})())?TT:function(m){return Zr(m)&&cr.call(m,"callee")&&!F0.call(m,"callee")},bn=Be.isArray,Vy=Pa?fo(Pa):CT;function kn(m){return m!=null&&Yy(m.length)&&!uu(m)}function qr(m){return Zr(m)&&kn(m)}function ti(m){return m===!0||m===!1||Zr(m)&&ui(m)==fe}var ac=pT||hR,Zw=Ja?fo(Ja):kT;function e1(m){return Zr(m)&&m.nodeType===1&&!pi(m)}function Gy(m){if(m==null)return!0;if(kn(m)&&(bn(m)||typeof m=="string"||typeof m.splice=="function"||ac(m)||Cs(m)||rc(m)))return!m.length;var b=ga(m);if(b==at||b==Wt)return!m.size;if(Qr(m))return!Vu(m).length;for(var O in m)if(cr.call(m,O))return!1;return!0}function wC(m,b){return Mf(m,b)}function SC(m,b,O){O=typeof O=="function"?O:n;var $=O?O(m,b):n;return $===n?Mf(m,b,n,O):!!$}function Sm(m){if(!Zr(m))return!1;var b=ui(m);return b==qe||b==Ie||typeof m.message=="string"&&typeof m.name=="string"&&!pi(m)}function t1(m){return typeof m=="number"&&dy(m)}function uu(m){if(!jr(m))return!1;var b=ui(m);return b==tt||b==Ge||b==ke||b==cn}function n1(m){return typeof m=="number"&&m==xn(m)}function Yy(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=q}function jr(m){var b=typeof m;return m!=null&&(b=="object"||b=="function")}function Zr(m){return m!=null&&typeof m=="object"}var EC=Bl?fo(Bl):xT;function r1(m,b){return m===b||Ty(m,b,im(b))}function a1(m,b,O){return O=typeof O=="function"?O:n,Ty(m,b,im(b),O)}function GO(m){return i1(m)&&m!=+m}function YO(m){if(BT(m))throw new on(i);return X0(m)}function Ts(m){return m===null}function TC(m){return m==null}function i1(m){return typeof m=="number"||Zr(m)&&ui(m)==Et}function pi(m){if(!Zr(m)||ui(m)!=xt)return!1;var b=Uc(m);if(b===null)return!0;var O=cr.call(b,"constructor")&&b.constructor;return typeof O=="function"&&O instanceof O&&Fh.call(O)==Cf}var Ky=Zv?fo(Zv):_T;function Xy(m){return n1(m)&&m>=-q&&m<=q}var fl=gf?fo(gf):OT;function Qy(m){return typeof m=="string"||!bn(m)&&Zr(m)&&ui(m)==Oe}function ko(m){return typeof m=="symbol"||Zr(m)&&ui(m)==dt}var Cs=vf?fo(vf):kO;function CC(m){return m===n}function KO(m){return Zr(m)&&ga(m)==ut}function XO(m){return Zr(m)&&ui(m)==Nt}var QO=zf(If),JO=zf(function(m,b){return m<=b});function kC(m){if(!m)return[];if(kn(m))return Qy(m)?Ho(m):xi(m);if(Js&&m[Js])return sT(m[Js]());var b=ga(m),O=b==at?sy:b==Wt?ly:xo;return O(m)}function cu(m){if(!m)return m===0?m:0;if(m=ni(m),m===G||m===-G){var b=m<0?-1:1;return b*ce}return m===m?m:0}function xn(m){var b=cu(m),O=b%1;return b===b?O?b-O:b:0}function o1(m){return m?Kc(xn(m),0,Y):0}function ni(m){if(typeof m=="number")return m;if(ko(m))return H;if(jr(m)){var b=typeof m.valueOf=="function"?m.valueOf():m;m=jr(b)?b+"":b}if(typeof m!="string")return m===0?m:+m;m=rT(m);var O=Bt.test(m);return O||an.test(m)?$h(m.slice(2),O?2:8):ot.test(m)?H:+m}function tp(m){return ms(m,Ri(m))}function xC(m){return m?Kc(xn(m),-q,q):m===0?m:0}function fr(m){return m==null?"":Xr(m)}var np=Jc(function(m,b){if(Qr(b)||kn(b)){ms(b,Ia(b),m);return}for(var O in b)cr.call(b,O)&&Lr(m,O,b[O])}),rp=Jc(function(m,b){ms(b,Ri(b),m)}),Em=Jc(function(m,b,O,$){ms(b,Ri(b),m,$)}),Jy=Jc(function(m,b,O,$){ms(b,Ia(b),m,$)}),s1=ol(qu);function l1(m,b){var O=Kl(m);return b==null?O:zu(O,b)}var Zy=Rn(function(m,b){m=Er(m);var O=-1,$=b.length,V=$>2?b[2]:n;for(V&&ei(b[0],b[1],V)&&($=1);++O<$;)for(var te=b[O],pe=Ri(te),Ce=-1,De=pe.length;++Ce1),te}),ms(m,rm(m),O),$&&(O=er(O,g|y|h,My));for(var V=b.length;V--;)al(O,b[V]);return O});function iR(m,b){return tb(m,zy(Qt(b)))}var f1=ol(function(m,b){return m==null?{}:tw(m,b)});function tb(m,b){if(m==null)return{};var O=$r(rm(m),function($){return[$]});return b=Qt(b),nw(m,O,function($,V){return b($,V[0])})}function nb(m,b,O){b=tu(b,m);var $=-1,V=b.length;for(V||(V=1,m=n);++$b){var $=m;m=b,b=$}if(O||m%1||b%1){var V=fy();return pn(m+V*(b-m+Ys("1e-"+((V+"").length-1))),b)}return ky(m,b)}var DC=Yu(function(m,b,O){return b=b.toLowerCase(),m+(O?Rm(b):b)});function Rm(m){return hn(fr(m).toLowerCase())}function h1(m){return m=fr(m),m&&m.replace(En,oy).replace(uo,"")}function lR(m,b,O){m=fr(m),b=Xr(b);var $=m.length;O=O===n?$:Kc(xn(O),0,$);var V=O;return O-=b.length,O>=0&&m.slice(O,V)==b}function ab(m){return m=fr(m),m&&ln.test(m)?m.replace(On,aT):m}function ib(m){return m=fr(m),m&&Oa.test(m)?m.replace(Bo,"\\$&"):m}var $C=Yu(function(m,b,O){return m+(O?"-":"")+b.toLowerCase()}),Pm=Yu(function(m,b,O){return m+(O?" ":"")+b.toLowerCase()}),m1=Oy("toLowerCase");function ob(m,b,O){m=fr(m),b=xn(b);var $=b?Xs(m):0;if(!b||$>=b)return m;var V=(b-$)/2;return Wf(Xo(V),O)+m+Wf(Ko(V),O)}function LC(m,b,O){m=fr(m),b=xn(b);var $=b?Xs(m):0;return b&&$>>0,O?(m=fr(m),m&&(typeof b=="string"||b!=null&&!Ky(b))&&(b=Xr(b),!b&&$u(m))?nu(Ho(m),0,O):m.split(b,O)):[]}var x=Yu(function(m,b,O){return m+(O?" ":"")+hn(b)});function M(m,b,O){return m=fr(m),O=O==null?0:Kc(xn(O),0,m.length),b=Xr(b),m.slice(O,O+b.length)==b}function B(m,b,O){var $=K.templateSettings;O&&ei(m,b,O)&&(b=n),m=fr(m),b=Em({},b,$,Ny);var V=Em({},b.imports,$.imports,Ny),te=Ia(V),pe=iy(V,te),Ce,De,Je=0,et=b.interpolate||Rr,ct="__p += '",Ct=zl((b.escape||Rr).source+"|"+et.source+"|"+(et===Qa?Me:Rr).source+"|"+(b.evaluate||Rr).source+"|$","g"),Vt="//# sourceURL="+(cr.call(b,"sourceURL")?(b.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Qv+"]")+` +`;m.replace(Ct,function(fn,Hn,Zn,ks,_o,xs){return Zn||(Zn=ks),ct+=m.slice(Je,xs).replace(Pr,iT),Hn&&(Ce=!0,ct+=`' + __e(`+Hn+`) + -'`),xo&&(De=!0,ct+=`'; -`+xo+`; -__p += '`),Jn&&(ct+=`' + -((__t = (`+Jn+`)) == null ? '' : __t) + -'`),Ze=ks+fn.length,fn}),ct+=`'; +'`),_o&&(De=!0,ct+=`'; +`+_o+`; +__p += '`),Zn&&(ct+=`' + +((__t = (`+Zn+`)) == null ? '' : __t) + +'`),Je=xs+fn.length,fn}),ct+=`'; `;var dn=cr.call(b,"variable")&&b.variable;if(!dn)ct=`with (obj) { `+ct+` } @@ -120,26 +120,26 @@ __p += '`),Jn&&(ct+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+ct+`return __p -}`;var Ln=Le(function(){return Wn(te,Gt+"return "+ct).apply(n,pe)});if(Ln.source=ct,ch(Ln))throw Ln;return Ln}function X(h){return fr(h).toLowerCase()}function de(h){return fr(h).toUpperCase()}function Pe(h,b,O){if(h=fr(h),h&&(O||b===n))return SE(h);if(!h||!(b=Xr(b)))return h;var $=qo(h),V=qo(b),te=ff($,V),pe=pf($,V)+1;return Kl($,te,pe).join("")}function Ke(h,b,O){if(h=fr(h),h&&(O||b===n))return h.slice(0,i0(h)+1);if(!h||!(b=Xr(b)))return h;var $=qo(h),V=pf($,qo(b))+1;return Kl($,0,V).join("")}function st(h,b,O){if(h=fr(h),h&&(O||b===n))return h.replace(Ra,"");if(!h||!(b=Xr(b)))return h;var $=qo(h),V=ff($,qo(b));return Kl($,V).join("")}function Ue(h,b){var O=z,$=Q;if(jr(b)){var V="separator"in b?b.separator:V;O="length"in b?_n(b.length):O,$="omission"in b?Xr(b.omission):$}h=fr(h);var te=h.length;if(Ou(h)){var pe=qo(h);te=pe.length}if(O>=te)return h;var Ce=O-Gs($);if(Ce<1)return $;var De=pe?Kl(pe,0,Ce).join(""):h.slice(0,Ce);if(V===n)return De+$;if(pe&&(Ce+=De.length-Ce),Sy(V)){if(h.slice(Ce).search(V)){var Ze,tt=De;for(V.global||(V=$l(V.source,fr(Qe.exec(V))+"g")),V.lastIndex=0;Ze=V.exec(tt);)var ct=Ze.index;De=De.slice(0,ct===n?Ce:ct)}}else if(h.indexOf(Xr(V),Ce)!=Ce){var Ct=De.lastIndexOf(V);Ct>-1&&(De=De.slice(0,Ct))}return De+$}function Ve(h){return h=fr(h),h&&gn.test(h)?h.replace(Ut,_E):h}var Vt=Uu(function(h,b,O){return h+(O?" ":"")+b.toUpperCase()}),mn=ey("toUpperCase");function Hr(h,b,O){return h=fr(h),b=O?n:b,b===n?CE(h)?L_(h):N_(h):h.match(b)||[]}var Le=Rn(function(h,b){try{return si(h,n,b)}catch(O){return ch(O)?O:new on(O)}}),_e=rl(function(h,b){return zo(b,function(O){O=xi(O),ho(h,O,Zc(h[O],h))}),h});function je(h){var b=h==null?0:h.length,O=Qt();return h=b?$r(h,function($){if(typeof $[1]!="function")throw new po(o);return[O($[0]),$[1]]}):[],Rn(function($){for(var V=-1;++Vq)return[];var O=Y,$=pn(h,Y);b=Qt(b),h-=Y;for(var V=_u($,b);++O0||b<0)?new Cn(O):(h<0?O=O.takeRight(-h):h&&(O=O.drop(h)),b!==n&&(b=_n(b),O=b<0?O.dropRight(-b):O.take(b-h)),O)},Cn.prototype.takeRightWhile=function(h){return this.reverse().takeWhile(h).reverse()},Cn.prototype.toArray=function(){return this.take(Y)},Qo(Cn.prototype,function(h,b){var O=/^(?:filter|find|map|reject)|While$/.test(b),$=/^(?:head|last)$/.test(b),V=K[$?"take"+(b=="last"?"Right":""):b],te=$||/^find/.test(b);V&&(K.prototype[b]=function(){var pe=this.__wrapped__,Ce=$?[1]:arguments,De=pe instanceof Cn,Ze=Ce[0],tt=De||bn(pe),ct=function(Hn){var Jn=V.apply(K,Dl([Hn],Ce));return $&&Ct?Jn[0]:Jn};tt&&O&&typeof Ze=="function"&&Ze.length!=1&&(De=tt=!1);var Ct=this.__chain__,Gt=!!this.__actions__.length,dn=te&&!Ct,Ln=De&&!Gt;if(!te&&tt){pe=Ln?pe:new Cn(this);var fn=h.apply(pe,Ce);return fn.__actions__.push({func:Wf,args:[ct],thisArg:n}),new mo(fn,Ct)}return dn&&Ln?h.apply(this,Ce):(fn=this.thru(ct),dn?$?fn.value()[0]:fn.value():fn)})}),zo(["pop","push","shift","sort","splice","unshift"],function(h){var b=xm[h],O=/^(?:push|sort|unshift)$/.test(h)?"tap":"thru",$=/^(?:pop|shift)$/.test(h);K.prototype[h]=function(){var V=arguments;if($&&!this.__chain__){var te=this.value();return b.apply(bn(te)?te:[],V)}return this[O](function(pe){return b.apply(bn(pe)?pe:[],V)})}}),Qo(Cn.prototype,function(h,b){var O=K[b];if(O){var $=O.name+"";cr.call(Pu,$)||(Pu[$]=[]),Pu[$].push({name:b,func:O})}}),Pu[qm(n,C).name]=[{name:"wrapper",func:n}],Cn.prototype.clone=DE,Cn.prototype.reverse=vf,Cn.prototype.value=Bv,K.prototype.at=ET,K.prototype.chain=Z_,K.prototype.commit=eu,K.prototype.next=py,K.prototype.plant=zf,K.prototype.reverse=TT,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=CT,K.prototype.first=K.prototype.head,Ks&&(K.prototype[Ks]=lw),K}),us=F_();En?((En.exports=us)._=us,qt._=us):wt._=us}).call(ose)})(_1,_1.exports)),_1.exports}var Ea=sse();function Sn(e){var n,r,a,i,o,l,u,d;const t={};if(e.error&&Array.isArray((n=e.error)==null?void 0:n.errors))for(const f of(r=e.error)==null?void 0:r.errors)Ea.set(t,f.location,f.messageTranslated||f.message);return e.status&&e.ok===!1?{form:`${e.status}`}:((a=e==null?void 0:e.error)!=null&&a.code&&(t.form=(i=e==null?void 0:e.error)==null?void 0:i.code),(o=e==null?void 0:e.error)!=null&&o.message&&(t.form=(l=e==null?void 0:e.error)==null?void 0:l.message),(u=e==null?void 0:e.error)!=null&&u.messageTranslated&&(t.form=(d=e==null?void 0:e.error)==null?void 0:d.messageTranslated),e.message?{form:`${e.message}`}:t)}const bt=e=>(t,n,r)=>{const a=e.prefix+n;return fetch(a,{method:t,headers:{Accept:"application/json","Content-Type":"application/json",...e.headers||{}},body:JSON.stringify(r)}).then(i=>{const o=i.headers.get("content-type");if(o&&o.indexOf("application/json")!==-1)return i.json().then(l=>{if(i.ok)return l;throw l});throw i})};var lse=function(t){return use(t)&&!cse(t)};function use(e){return!!e&&typeof e=="object"}function cse(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||pse(e)}var dse=typeof Symbol=="function"&&Symbol.for,fse=dse?Symbol.for("react.element"):60103;function pse(e){return e.$$typeof===fse}function mse(e){return Array.isArray(e)?[]:{}}function dk(e,t){return t.clone!==!1&&t.isMergeableObject(e)?J1(mse(e),e,t):e}function hse(e,t,n){return e.concat(t).map(function(r){return dk(r,n)})}function gse(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=dk(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=dk(t[a],n):r[a]=J1(e[a],t[a],n)}),r}function J1(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||hse,n.isMergeableObject=n.isMergeableObject||lse;var r=Array.isArray(t),a=Array.isArray(e),i=r===a;return i?r?n.arrayMerge(e,t,n):gse(e,t,n):dk(t,n)}J1.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return J1(r,a,n)},{})};var QD=J1,zK=typeof global=="object"&&global&&global.Object===Object&&global,vse=typeof self=="object"&&self&&self.Object===Object&&self,Tc=zK||vse||Function("return this")(),Vp=Tc.Symbol,qK=Object.prototype,yse=qK.hasOwnProperty,bse=qK.toString,zw=Vp?Vp.toStringTag:void 0;function wse(e){var t=yse.call(e,zw),n=e[zw];try{e[zw]=void 0;var r=!0}catch{}var a=bse.call(e);return r&&(t?e[zw]=n:delete e[zw]),a}var Sse=Object.prototype,Ese=Sse.toString;function Tse(e){return Ese.call(e)}var Cse="[object Null]",kse="[object Undefined]",x4=Vp?Vp.toStringTag:void 0;function iv(e){return e==null?e===void 0?kse:Cse:x4&&x4 in Object(e)?wse(e):Tse(e)}function HK(e,t){return function(n){return e(t(n))}}var e3=HK(Object.getPrototypeOf,Object);function ov(e){return e!=null&&typeof e=="object"}var xse="[object Object]",_se=Function.prototype,Ose=Object.prototype,VK=_se.toString,Rse=Ose.hasOwnProperty,Pse=VK.call(Object);function _4(e){if(!ov(e)||iv(e)!=xse)return!1;var t=e3(e);if(t===null)return!0;var n=Rse.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&VK.call(n)==Pse}function Ase(){this.__data__=[],this.size=0}function GK(e,t){return e===t||e!==e&&t!==t}function mx(e,t){for(var n=e.length;n--;)if(GK(e[n][0],t))return n;return-1}var Nse=Array.prototype,Mse=Nse.splice;function Ise(e){var t=this.__data__,n=mx(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Mse.call(t,n,1),--this.size,!0}function Dse(e){var t=this.__data__,n=mx(t,e);return n<0?void 0:t[n][1]}function $se(e){return mx(this.__data__,e)>-1}function Lse(e,t){var n=this.__data__,r=mx(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Wd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Lle}var Fle="[object Arguments]",jle="[object Array]",Ule="[object Boolean]",Ble="[object Date]",Wle="[object Error]",zle="[object Function]",qle="[object Map]",Hle="[object Number]",Vle="[object Object]",Gle="[object RegExp]",Yle="[object Set]",Kle="[object String]",Xle="[object WeakMap]",Qle="[object ArrayBuffer]",Zle="[object DataView]",Jle="[object Float32Array]",eue="[object Float64Array]",tue="[object Int8Array]",nue="[object Int16Array]",rue="[object Int32Array]",aue="[object Uint8Array]",iue="[object Uint8ClampedArray]",oue="[object Uint16Array]",sue="[object Uint32Array]",Gr={};Gr[Jle]=Gr[eue]=Gr[tue]=Gr[nue]=Gr[rue]=Gr[aue]=Gr[iue]=Gr[oue]=Gr[sue]=!0;Gr[Fle]=Gr[jle]=Gr[Qle]=Gr[Ule]=Gr[Zle]=Gr[Ble]=Gr[Wle]=Gr[zle]=Gr[qle]=Gr[Hle]=Gr[Vle]=Gr[Gle]=Gr[Yle]=Gr[Kle]=Gr[Xle]=!1;function lue(e){return ov(e)&&eX(e.length)&&!!Gr[iv(e)]}function t3(e){return function(t){return e(t)}}var tX=typeof Ms=="object"&&Ms&&!Ms.nodeType&&Ms,D1=tX&&typeof eo=="object"&&eo&&!eo.nodeType&&eo,uue=D1&&D1.exports===tX,BO=uue&&zK.process,Eb=(function(){try{var e=D1&&D1.require&&D1.require("util").types;return e||BO&&BO.binding&&BO.binding("util")}catch{}})(),M4=Eb&&Eb.isTypedArray,cue=M4?t3(M4):lue,due=Object.prototype,fue=due.hasOwnProperty;function nX(e,t){var n=BS(e),r=!n&&Ple(e),a=!n&&!r&&JK(e),i=!n&&!r&&!a&&cue(e),o=n||r||a||i,l=o?xle(e.length,String):[],u=l.length;for(var d in e)(t||fue.call(e,d))&&!(o&&(d=="length"||a&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||$le(d,u)))&&l.push(d);return l}var pue=Object.prototype;function n3(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||pue;return e===n}var mue=HK(Object.keys,Object),hue=Object.prototype,gue=hue.hasOwnProperty;function vue(e){if(!n3(e))return mue(e);var t=[];for(var n in Object(e))gue.call(e,n)&&n!="constructor"&&t.push(n);return t}function rX(e){return e!=null&&eX(e.length)&&!YK(e)}function r3(e){return rX(e)?nX(e):vue(e)}function yue(e,t){return e&&gx(t,r3(t),e)}function bue(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var wue=Object.prototype,Sue=wue.hasOwnProperty;function Eue(e){if(!US(e))return bue(e);var t=n3(e),n=[];for(var r in e)r=="constructor"&&(t||!Sue.call(e,r))||n.push(r);return n}function a3(e){return rX(e)?nX(e,!0):Eue(e)}function Tue(e,t){return e&&gx(t,a3(t),e)}var aX=typeof Ms=="object"&&Ms&&!Ms.nodeType&&Ms,I4=aX&&typeof eo=="object"&&eo&&!eo.nodeType&&eo,Cue=I4&&I4.exports===aX,D4=Cue?Tc.Buffer:void 0,$4=D4?D4.allocUnsafe:void 0;function kue(e,t){if(t)return e.slice();var n=e.length,r=$4?$4(n):new e.constructor(n);return e.copy(r),r}function iX(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=te)return m;var Ce=O-Xs($);if(Ce<1)return $;var De=pe?nu(pe,0,Ce).join(""):m.slice(0,Ce);if(V===n)return De+$;if(pe&&(Ce+=De.length-Ce),Ky(V)){if(m.slice(Ce).search(V)){var Je,et=De;for(V.global||(V=zl(V.source,fr(Qe.exec(V))+"g")),V.lastIndex=0;Je=V.exec(et);)var ct=Je.index;De=De.slice(0,ct===n?Ce:ct)}}else if(m.indexOf(Xr(V),Ce)!=Ce){var Ct=De.lastIndexOf(V);Ct>-1&&(De=De.slice(0,Ct))}return De+$}function Ve(m){return m=fr(m),m&&gn.test(m)?m.replace(Ut,uT):m}var Ht=Yu(function(m,b,O){return m+(O?" ":"")+b.toUpperCase()}),hn=Oy("toUpperCase");function Hr(m,b,O){return m=fr(m),b=O?n:b,b===n?oT(m)?bO(m):hO(m):m.match(b)||[]}var Le=Rn(function(m,b){try{return li(m,n,b)}catch(O){return Sm(O)?O:new on(O)}}),_e=ol(function(m,b){return qo(b,function(O){O=_i(O),go(m,O,id(m[O],m))}),m});function je(m){var b=m==null?0:m.length,O=Qt();return m=b?$r(m,function($){if(typeof $[1]!="function")throw new ho(o);return[O($[0]),$[1]]}):[],Rn(function($){for(var V=-1;++Vq)return[];var O=Y,$=pn(m,Y);b=Qt(b),m-=Y;for(var V=Du($,b);++O0||b<0)?new Tn(O):(m<0?O=O.takeRight(-m):m&&(O=O.drop(m)),b!==n&&(b=xn(b),O=b<0?O.dropRight(-b):O.take(b-m)),O)},Tn.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Tn.prototype.toArray=function(){return this.take(Y)},Jo(Tn.prototype,function(m,b){var O=/^(?:filter|find|map|reject)|While$/.test(b),$=/^(?:head|last)$/.test(b),V=K[$?"take"+(b=="last"?"Right":""):b],te=$||/^find/.test(b);V&&(K.prototype[b]=function(){var pe=this.__wrapped__,Ce=$?[1]:arguments,De=pe instanceof Tn,Je=Ce[0],et=De||bn(pe),ct=function(Hn){var Zn=V.apply(K,Wl([Hn],Ce));return $&&Ct?Zn[0]:Zn};et&&O&&typeof Je=="function"&&Je.length!=1&&(De=et=!1);var Ct=this.__chain__,Vt=!!this.__actions__.length,dn=te&&!Ct,Ln=De&&!Vt;if(!te&&et){pe=Ln?pe:new Tn(this);var fn=m.apply(pe,Ce);return fn.__actions__.push({func:Qf,args:[ct],thisArg:n}),new mo(fn,Ct)}return dn&&Ln?m.apply(this,Ce):(fn=this.thru(ct),dn?$?fn.value()[0]:fn.value():fn)})}),qo(["pop","push","shift","sort","splice","unshift"],function(m){var b=Lh[m],O=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",$=/^(?:pop|shift)$/.test(m);K.prototype[m]=function(){var V=arguments;if($&&!this.__chain__){var te=this.value();return b.apply(bn(te)?te:[],V)}return this[O](function(pe){return b.apply(bn(pe)?pe:[],V)})}}),Jo(Tn.prototype,function(m,b){var O=K[b];if(O){var $=O.name+"";cr.call(Fu,$)||(Fu[$]=[]),Fu[$].push({name:b,func:O})}}),Fu[tm(n,C).name]=[{name:"wrapper",func:n}],Tn.prototype.clone=vT,Tn.prototype.reverse=xf,Tn.prototype.value=my,K.prototype.at=aC,K.prototype.chain=IO,K.prototype.commit=su,K.prototype.next=By,K.prototype.plant=Jf,K.prototype.reverse=iC,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=oC,K.prototype.first=K.prototype.head,Js&&(K.prototype[Js]=Lw),K}),cs=wO();Sn?((Sn.exports=cs)._=cs,zt._=cs):bt._=cs}).call(Hse)})(rS,rS.exports)),rS.exports}var Ea=Vse();function _n(e){var n,r,a,i,o,l,u,d;const t={};if(e.error&&Array.isArray((n=e.error)==null?void 0:n.errors))for(const f of(r=e.error)==null?void 0:r.errors)Ea.set(t,f.location,f.messageTranslated||f.message);return e.status&&e.ok===!1?{form:`${e.status}`}:((a=e==null?void 0:e.error)!=null&&a.code&&(t.form=(i=e==null?void 0:e.error)==null?void 0:i.code),(o=e==null?void 0:e.error)!=null&&o.message&&(t.form=(l=e==null?void 0:e.error)==null?void 0:l.message),(u=e==null?void 0:e.error)!=null&&u.messageTranslated&&(t.form=(d=e==null?void 0:e.error)==null?void 0:d.messageTranslated),e.message?{form:`${e.message}`}:t)}const St=e=>(t,n,r)=>{const a=e.prefix+n;return fetch(a,{method:t,headers:{Accept:"application/json","Content-Type":"application/json",...e.headers||{}},body:JSON.stringify(r)}).then(i=>{const o=i.headers.get("content-type");if(o&&o.indexOf("application/json")!==-1)return i.json().then(l=>{if(i.ok)return l;throw l});throw i})};var Gse=function(t){return Yse(t)&&!Kse(t)};function Yse(e){return!!e&&typeof e=="object"}function Kse(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Jse(e)}var Xse=typeof Symbol=="function"&&Symbol.for,Qse=Xse?Symbol.for("react.element"):60103;function Jse(e){return e.$$typeof===Qse}function Zse(e){return Array.isArray(e)?[]:{}}function Gk(e,t){return t.clone!==!1&&t.isMergeableObject(e)?RS(Zse(e),e,t):e}function ele(e,t,n){return e.concat(t).map(function(r){return Gk(r,n)})}function tle(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=Gk(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=Gk(t[a],n):r[a]=RS(e[a],t[a],n)}),r}function RS(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||ele,n.isMergeableObject=n.isMergeableObject||Gse;var r=Array.isArray(t),a=Array.isArray(e),i=r===a;return i?r?n.arrayMerge(e,t,n):tle(e,t,n):Gk(t,n)}RS.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return RS(r,a,n)},{})};var U$=RS,PX=typeof global=="object"&&global&&global.Object===Object&&global,nle=typeof self=="object"&&self&&self.Object===Object&&self,Ac=PX||nle||Function("return this")(),rh=Ac.Symbol,AX=Object.prototype,rle=AX.hasOwnProperty,ale=AX.toString,y1=rh?rh.toStringTag:void 0;function ile(e){var t=rle.call(e,y1),n=e[y1];try{e[y1]=void 0;var r=!0}catch{}var a=ale.call(e);return r&&(t?e[y1]=n:delete e[y1]),a}var ole=Object.prototype,sle=ole.toString;function lle(e){return sle.call(e)}var ule="[object Null]",cle="[object Undefined]",pU=rh?rh.toStringTag:void 0;function Nv(e){return e==null?e===void 0?cle:ule:pU&&pU in Object(e)?ile(e):lle(e)}function NX(e,t){return function(n){return e(t(n))}}var W3=NX(Object.getPrototypeOf,Object);function Mv(e){return e!=null&&typeof e=="object"}var dle="[object Object]",fle=Function.prototype,ple=Object.prototype,MX=fle.toString,hle=ple.hasOwnProperty,mle=MX.call(Object);function hU(e){if(!Mv(e)||Nv(e)!=dle)return!1;var t=W3(e);if(t===null)return!0;var n=hle.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&MX.call(n)==mle}function gle(){this.__data__=[],this.size=0}function IX(e,t){return e===t||e!==e&&t!==t}function Xx(e,t){for(var n=e.length;n--;)if(IX(e[n][0],t))return n;return-1}var vle=Array.prototype,yle=vle.splice;function ble(e){var t=this.__data__,n=Xx(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():yle.call(t,n,1),--this.size,!0}function wle(e){var t=this.__data__,n=Xx(t,e);return n<0?void 0:t[n][1]}function Sle(e){return Xx(this.__data__,e)>-1}function Ele(e,t){var n=this.__data__,r=Xx(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Qd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Eue}var Tue="[object Arguments]",Cue="[object Array]",kue="[object Boolean]",xue="[object Date]",_ue="[object Error]",Oue="[object Function]",Rue="[object Map]",Pue="[object Number]",Aue="[object Object]",Nue="[object RegExp]",Mue="[object Set]",Iue="[object String]",Due="[object WeakMap]",$ue="[object ArrayBuffer]",Lue="[object DataView]",Fue="[object Float32Array]",jue="[object Float64Array]",Uue="[object Int8Array]",Bue="[object Int16Array]",Wue="[object Int32Array]",zue="[object Uint8Array]",que="[object Uint8ClampedArray]",Hue="[object Uint16Array]",Vue="[object Uint32Array]",Gr={};Gr[Fue]=Gr[jue]=Gr[Uue]=Gr[Bue]=Gr[Wue]=Gr[zue]=Gr[que]=Gr[Hue]=Gr[Vue]=!0;Gr[Tue]=Gr[Cue]=Gr[$ue]=Gr[kue]=Gr[Lue]=Gr[xue]=Gr[_ue]=Gr[Oue]=Gr[Rue]=Gr[Pue]=Gr[Aue]=Gr[Nue]=Gr[Mue]=Gr[Iue]=Gr[Due]=!1;function Gue(e){return Mv(e)&&BX(e.length)&&!!Gr[Nv(e)]}function z3(e){return function(t){return e(t)}}var WX=typeof Ds=="object"&&Ds&&!Ds.nodeType&&Ds,dS=WX&&typeof to=="object"&&to&&!to.nodeType&&to,Yue=dS&&dS.exports===WX,TR=Yue&&PX.process,Qb=(function(){try{var e=dS&&dS.require&&dS.require("util").types;return e||TR&&TR.binding&&TR.binding("util")}catch{}})(),wU=Qb&&Qb.isTypedArray,Kue=wU?z3(wU):Gue,Xue=Object.prototype,Que=Xue.hasOwnProperty;function zX(e,t){var n=SE(e),r=!n&&mue(e),a=!n&&!r&&UX(e),i=!n&&!r&&!a&&Kue(e),o=n||r||a||i,l=o?due(e.length,String):[],u=l.length;for(var d in e)(t||Que.call(e,d))&&!(o&&(d=="length"||a&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Sue(d,u)))&&l.push(d);return l}var Jue=Object.prototype;function q3(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Jue;return e===n}var Zue=NX(Object.keys,Object),ece=Object.prototype,tce=ece.hasOwnProperty;function nce(e){if(!q3(e))return Zue(e);var t=[];for(var n in Object(e))tce.call(e,n)&&n!="constructor"&&t.push(n);return t}function qX(e){return e!=null&&BX(e.length)&&!DX(e)}function H3(e){return qX(e)?zX(e):nce(e)}function rce(e,t){return e&&Jx(t,H3(t),e)}function ace(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var ice=Object.prototype,oce=ice.hasOwnProperty;function sce(e){if(!wE(e))return ace(e);var t=q3(e),n=[];for(var r in e)r=="constructor"&&(t||!oce.call(e,r))||n.push(r);return n}function V3(e){return qX(e)?zX(e,!0):sce(e)}function lce(e,t){return e&&Jx(t,V3(t),e)}var HX=typeof Ds=="object"&&Ds&&!Ds.nodeType&&Ds,SU=HX&&typeof to=="object"&&to&&!to.nodeType&&to,uce=SU&&SU.exports===HX,EU=uce?Ac.Buffer:void 0,TU=EU?EU.allocUnsafe:void 0;function cce(e,t){if(t)return e.slice();var n=e.length,r=TU?TU(n):new e.constructor(n);return e.copy(r),r}function VX(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var vx=R.createContext(void 0);vx.displayName="FormikContext";var pde=vx.Provider;vx.Consumer;function mde(){var e=R.useContext(vx);return e}var fl=function(t){return typeof t=="function"},yx=function(t){return t!==null&&typeof t=="object"},hde=function(t){return String(Math.floor(Number(t)))===t},HO=function(t){return Object.prototype.toString.call(t)==="[object String]"},gde=function(t){return R.Children.count(t)===0},VO=function(t){return yx(t)&&fl(t.then)};function Os(e,t,n,r){r===void 0&&(r=0);for(var a=hX(t);e&&r=0?[]:{}}}return(i===0?e:a)[o[i]]===n?e:(n===void 0?delete a[o[i]]:a[o[i]]=n,i===0&&n===void 0&&delete r[o[i]],r)}function vX(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,i=Object.keys(e);a0?dt.map(function(ut){return z(ut,Os(Oe,ut))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ft).then(function(ut){return ut.reduce(function(Nt,U,D){return U==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||U&&(Nt=Hg(Nt,dt[D],U)),Nt},{})})},[z]),le=R.useCallback(function(Oe){return Promise.all([Q(Oe),y.validationSchema?j(Oe):{},y.validate?L(Oe):{}]).then(function(dt){var ft=dt[0],ut=dt[1],Nt=dt[2],U=QD.all([ft,ut,Nt],{arrayMerge:wde});return U})},[y.validate,y.validationSchema,Q,L,j]),re=cl(function(Oe){return Oe===void 0&&(Oe=N.values),I({type:"SET_ISVALIDATING",payload:!0}),le(Oe).then(function(dt){return C.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:dt})),dt})});R.useEffect(function(){o&&C.current===!0&&Rg(p.current,y.initialValues)&&re(p.current)},[o,re]);var ge=R.useCallback(function(Oe){var dt=Oe&&Oe.values?Oe.values:p.current,ft=Oe&&Oe.errors?Oe.errors:v.current?v.current:y.initialErrors||{},ut=Oe&&Oe.touched?Oe.touched:E.current?E.current:y.initialTouched||{},Nt=Oe&&Oe.status?Oe.status:T.current?T.current:y.initialStatus;p.current=dt,v.current=ft,E.current=ut,T.current=Nt;var U=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!Oe&&!!Oe.isSubmitting,errors:ft,touched:ut,status:Nt,values:dt,isValidating:!!Oe&&!!Oe.isValidating,submitCount:Oe&&Oe.submitCount&&typeof Oe.submitCount=="number"?Oe.submitCount:0}})};if(y.onReset){var D=y.onReset(N.values,Ge);VO(D)?D.then(U):U()}else U()},[y.initialErrors,y.initialStatus,y.initialTouched,y.onReset]);R.useEffect(function(){C.current===!0&&!Rg(p.current,y.initialValues)&&d&&(p.current=y.initialValues,ge(),o&&re(p.current))},[d,y.initialValues,ge,o,re]),R.useEffect(function(){d&&C.current===!0&&!Rg(v.current,y.initialErrors)&&(v.current=y.initialErrors||wh,I({type:"SET_ERRORS",payload:y.initialErrors||wh}))},[d,y.initialErrors]),R.useEffect(function(){d&&C.current===!0&&!Rg(E.current,y.initialTouched)&&(E.current=y.initialTouched||rC,I({type:"SET_TOUCHED",payload:y.initialTouched||rC}))},[d,y.initialTouched]),R.useEffect(function(){d&&C.current===!0&&!Rg(T.current,y.initialStatus)&&(T.current=y.initialStatus,I({type:"SET_STATUS",payload:y.initialStatus}))},[d,y.initialStatus,y.initialTouched]);var he=cl(function(Oe){if(k.current[Oe]&&fl(k.current[Oe].validate)){var dt=Os(N.values,Oe),ft=k.current[Oe].validate(dt);return VO(ft)?(I({type:"SET_ISVALIDATING",payload:!0}),ft.then(function(ut){return ut}).then(function(ut){I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:ut}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:ft}}),Promise.resolve(ft))}else if(y.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),j(N.values,Oe).then(function(ut){return ut}).then(function(ut){I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:Os(ut,Oe)}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),W=R.useCallback(function(Oe,dt){var ft=dt.validate;k.current[Oe]={validate:ft}},[]),G=R.useCallback(function(Oe){delete k.current[Oe]},[]),q=cl(function(Oe,dt){I({type:"SET_TOUCHED",payload:Oe});var ft=dt===void 0?a:dt;return ft?re(N.values):Promise.resolve()}),ce=R.useCallback(function(Oe){I({type:"SET_ERRORS",payload:Oe})},[]),H=cl(function(Oe,dt){var ft=fl(Oe)?Oe(N.values):Oe;I({type:"SET_VALUES",payload:ft});var ut=dt===void 0?n:dt;return ut?re(ft):Promise.resolve()}),Y=R.useCallback(function(Oe,dt){I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:dt}})},[]),ie=cl(function(Oe,dt,ft){I({type:"SET_FIELD_VALUE",payload:{field:Oe,value:dt}});var ut=ft===void 0?n:ft;return ut?re(Hg(N.values,Oe,dt)):Promise.resolve()}),Z=R.useCallback(function(Oe,dt){var ft=dt,ut=Oe,Nt;if(!HO(Oe)){Oe.persist&&Oe.persist();var U=Oe.target?Oe.target:Oe.currentTarget,D=U.type,F=U.name,ae=U.id,Te=U.value,Fe=U.checked;U.outerHTML;var We=U.options,Tt=U.multiple;ft=dt||F||ae,ut=/number|range/.test(D)?(Nt=parseFloat(Te),isNaN(Nt)?"":Nt):/checkbox/.test(D)?Ede(Os(N.values,ft),Fe,Te):We&&Tt?Sde(We):Te}ft&&ie(ft,ut)},[ie,N.values]),ee=cl(function(Oe){if(HO(Oe))return function(dt){return Z(dt,Oe)};Z(Oe)}),J=cl(function(Oe,dt,ft){dt===void 0&&(dt=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:Oe,value:dt}});var ut=ft===void 0?a:ft;return ut?re(N.values):Promise.resolve()}),ue=R.useCallback(function(Oe,dt){Oe.persist&&Oe.persist();var ft=Oe.target,ut=ft.name,Nt=ft.id;ft.outerHTML;var U=dt||ut||Nt;J(U,!0)},[J]),ke=cl(function(Oe){if(HO(Oe))return function(dt){return ue(dt,Oe)};ue(Oe)}),fe=R.useCallback(function(Oe){fl(Oe)?I({type:"SET_FORMIK_STATE",payload:Oe}):I({type:"SET_FORMIK_STATE",payload:function(){return Oe}})},[]),xe=R.useCallback(function(Oe){I({type:"SET_STATUS",payload:Oe})},[]),Ie=R.useCallback(function(Oe){I({type:"SET_ISSUBMITTING",payload:Oe})},[]),qe=cl(function(){return I({type:"SUBMIT_ATTEMPT"}),re().then(function(Oe){var dt=Oe instanceof Error,ft=!dt&&Object.keys(Oe).length===0;if(ft){var ut;try{if(ut=at(),ut===void 0)return}catch(Nt){throw Nt}return Promise.resolve(ut).then(function(Nt){return C.current&&I({type:"SUBMIT_SUCCESS"}),Nt}).catch(function(Nt){if(C.current)throw I({type:"SUBMIT_FAILURE"}),Nt})}else if(C.current&&(I({type:"SUBMIT_FAILURE"}),dt))throw Oe})}),nt=cl(function(Oe){Oe&&Oe.preventDefault&&fl(Oe.preventDefault)&&Oe.preventDefault(),Oe&&Oe.stopPropagation&&fl(Oe.stopPropagation)&&Oe.stopPropagation(),qe().catch(function(dt){console.warn("Warning: An unhandled error was caught from submitForm()",dt)})}),Ge={resetForm:ge,validateForm:re,validateField:he,setErrors:ce,setFieldError:Y,setFieldTouched:J,setFieldValue:ie,setStatus:xe,setSubmitting:Ie,setTouched:q,setValues:H,setFormikState:fe,submitForm:qe},at=cl(function(){return f(N.values,Ge)}),Et=cl(function(Oe){Oe&&Oe.preventDefault&&fl(Oe.preventDefault)&&Oe.preventDefault(),Oe&&Oe.stopPropagation&&fl(Oe.stopPropagation)&&Oe.stopPropagation(),ge()}),kt=R.useCallback(function(Oe){return{value:Os(N.values,Oe),error:Os(N.errors,Oe),touched:!!Os(N.touched,Oe),initialValue:Os(p.current,Oe),initialTouched:!!Os(E.current,Oe),initialError:Os(v.current,Oe)}},[N.errors,N.touched,N.values]),xt=R.useCallback(function(Oe){return{setValue:function(ft,ut){return ie(Oe,ft,ut)},setTouched:function(ft,ut){return J(Oe,ft,ut)},setError:function(ft){return Y(Oe,ft)}}},[ie,J,Y]),Rt=R.useCallback(function(Oe){var dt=yx(Oe),ft=dt?Oe.name:Oe,ut=Os(N.values,ft),Nt={name:ft,value:ut,onChange:ee,onBlur:ke};if(dt){var U=Oe.type,D=Oe.value,F=Oe.as,ae=Oe.multiple;U==="checkbox"?D===void 0?Nt.checked=!!ut:(Nt.checked=!!(Array.isArray(ut)&&~ut.indexOf(D)),Nt.value=D):U==="radio"?(Nt.checked=ut===D,Nt.value=D):F==="select"&&ae&&(Nt.value=Nt.value||[],Nt.multiple=!0)}return Nt},[ke,ee,N.values]),cn=R.useMemo(function(){return!Rg(p.current,N.values)},[p.current,N.values]),Ht=R.useMemo(function(){return typeof l<"u"?cn?N.errors&&Object.keys(N.errors).length===0:l!==!1&&fl(l)?l(y):l:N.errors&&Object.keys(N.errors).length===0},[l,cn,N.errors,y]),Wt=pi({},N,{initialValues:p.current,initialErrors:v.current,initialTouched:E.current,initialStatus:T.current,handleBlur:ke,handleChange:ee,handleReset:Et,handleSubmit:nt,resetForm:ge,setErrors:ce,setFormikState:fe,setFieldTouched:J,setFieldValue:ie,setFieldError:Y,setStatus:xe,setSubmitting:Ie,setTouched:q,setValues:H,submitForm:qe,validateForm:re,validateField:he,isValid:Ht,dirty:cn,unregisterField:G,registerField:W,getFieldProps:Rt,getFieldMeta:kt,getFieldHelpers:xt,validateOnBlur:a,validateOnChange:n,validateOnMount:o});return Wt}function os(e){var t=Cc(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return R.useImperativeHandle(i,function(){return t}),R.createElement(pde,{value:t},n?R.createElement(n,t):a?a(t):r?fl(r)?r(t):gde(r)?null:R.Children.only(r):null)}function yde(e){var t={};if(e.inner){if(e.inner.length===0)return Hg(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var i;if(n){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var o=i;Os(t,o.path)||(t=Hg(t,o.path,o.message))}}return t}function bde(e,t,n,r){n===void 0&&(n=!1);var a=n$(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function n$(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||_4(a)?n$(a):a!==""?a:void 0}):_4(e[r])?t[r]=n$(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function wde(e,t,n){var r=e.slice();return t.forEach(function(i,o){if(typeof r[o]>"u"){var l=n.clone!==!1,u=l&&n.isMergeableObject(i);r[o]=u?QD(Array.isArray(i)?[]:{},i,n):i}else n.isMergeableObject(i)?r[o]=QD(e[o],i,n):e.indexOf(i)===-1&&r.push(i)}),r}function Sde(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function Ede(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,i).concat(r.slice(i+1)):r}var Tde=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?R.useLayoutEffect:R.useEffect;function cl(e){var t=R.useRef(e);return Tde(function(){t.current=e}),R.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a(e.NewEntity="new_entity",e.SidebarToggle="sidebarToggle",e.NewChildEntity="new_child_entity",e.EditEntity="edit_entity",e.ViewQuestions="view_questions",e.ExportTable="export_table",e.CommonBack="common_back",e.StopStart="StopStart",e.Delete="delete",e.Select1Index="select1_index",e.Select2Index="select2_index",e.Select3Index="select3_index",e.Select4Index="select4_index",e.Select5Index="select5_index",e.Select6Index="select6_index",e.Select7Index="select7_index",e.Select8Index="select8_index",e.Select9Index="select9_index",e.ToggleLock="l",e))(Ir||{});function r$(){if(typeof window>"u")return"mac";let e=window==null?void 0:window.navigator.userAgent,t=window==null?void 0:window.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],r=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"],i="mac";return n.indexOf(t)!==-1?i="mac":a.indexOf(t)!==-1?i="ios":r.indexOf(t)!==-1?i="windows":/Android/.test(e)?i="android":!i&&/Linux/.test(t)?i="linux":i="web",i}const Pt=r$(),it={edit:{default:"ios-theme/icons/edit.svg"},add:{default:"ios-theme/icons/add.svg"},cancel:{default:"ios-theme/icons/cancel.svg"},delete:{default:"ios-theme/icons/delete.svg"},entity:{default:"ios-theme/icons/entity.svg"},left:{default:"ios-theme/icons/left.svg"},menu:{default:"ios-theme/icons/menu.svg"},backup:{default:"ios-theme/icons/backup.svg"},right:{default:"ios-theme/icons/right.svg"},settings:{default:"ios-theme/icons/settings.svg"},user:{default:"ios-theme/icons/user.svg"},export:{default:"ios-theme/icons/export.svg"},up:{default:"ios-theme/icons/up.svg"},dataNode:{default:"ios-theme/icons/dnode.svg"},ctrlSheet:{default:"ios-theme/icons/ctrlsheet.svg"},gpiomode:{default:"ios-theme/icons/gpiomode.svg"},gpiostate:{default:"ios-theme/icons/gpiostate.svg"},down:{default:"ios-theme/icons/down.svg"},turnoff:{default:"ios-theme/icons/turnoff.svg"},mqtt:{default:"ios-theme/icons/mqtt.svg"},cart:{default:"ios-theme/icons/cart.svg"},questionBank:{default:"ios-theme/icons/questions.svg"},dashboard:{default:"ios-theme/icons/dashboard.svg"},country:{default:"ios-theme/icons/country.svg"},order:{default:"ios-theme/icons/order.svg"},province:{default:"ios-theme/icons/province.svg"},city:{default:"ios-theme/icons/city.svg"},about:{default:"ios-theme/icons/about.svg"},sms:{default:"ios-theme/icons/sms.svg"},product:{default:"ios-theme/icons/product.svg"},discount:{default:"ios-theme/icons/discount.svg"},tag:{default:"ios-theme/icons/tag.svg"},category:{default:"ios-theme/icons/category.svg"},brand:{default:"ios-theme/icons/brand.svg"},form:{default:"ios-theme/icons/form.svg"}},vu={dashboard:it.dashboard[Pt]?it.dashboard[Pt]:it.dashboard.default,up:it.up[Pt]?it.up[Pt]:it.up.default,questionBank:it.questionBank[Pt]?it.questionBank[Pt]:it.questionBank.default,down:it.down[Pt]?it.down[Pt]:it.down.default,edit:it.edit[Pt]?it.edit[Pt]:it.edit.default,add:it.add[Pt]?it.add[Pt]:it.add.default,cancel:it.cancel[Pt]?it.cancel[Pt]:it.cancel.default,delete:it.delete[Pt]?it.delete[Pt]:it.delete.default,discount:it.discount[Pt]?it.discount[Pt]:it.discount.default,cart:it.cart[Pt]?it.cart[Pt]:it.cart.default,entity:it.entity[Pt]?it.entity[Pt]:it.entity.default,sms:it.sms[Pt]?it.sms[Pt]:it.sms.default,left:it.left[Pt]?it.left[Pt]:it.left.default,brand:it.brand[Pt]?it.brand[Pt]:it.brand.default,menu:it.menu[Pt]?it.menu[Pt]:it.menu.default,right:it.right[Pt]?it.right[Pt]:it.right.default,settings:it.settings[Pt]?it.settings[Pt]:it.settings.default,dataNode:it.dataNode[Pt]?it.dataNode[Pt]:it.dataNode.default,user:it.user[Pt]?it.user[Pt]:it.user.default,city:it.city[Pt]?it.city[Pt]:it.city.default,province:it.province[Pt]?it.province[Pt]:it.province.default,about:it.about[Pt]?it.about[Pt]:it.about.default,turnoff:it.turnoff[Pt]?it.turnoff[Pt]:it.turnoff.default,ctrlSheet:it.ctrlSheet[Pt]?it.ctrlSheet[Pt]:it.ctrlSheet.default,country:it.country[Pt]?it.country[Pt]:it.country.default,export:it.export[Pt]?it.export[Pt]:it.export.default,gpio:it.ctrlSheet[Pt]?it.ctrlSheet[Pt]:it.ctrlSheet.default,order:it.order[Pt]?it.order[Pt]:it.order.default,mqtt:it.mqtt[Pt]?it.mqtt[Pt]:it.mqtt.default,tag:it.tag[Pt]?it.tag[Pt]:it.tag.default,product:it.product[Pt]?it.product[Pt]:it.product.default,category:it.category[Pt]?it.category[Pt]:it.category.default,form:it.form[Pt]?it.form[Pt]:it.form.default,gpiomode:it.gpiomode[Pt]?it.gpiomode[Pt]:it.gpiomode.default,backup:it.backup[Pt]?it.backup[Pt]:it.backup.default,gpiostate:it.gpiostate[Pt]?it.gpiostate[Pt]:it.gpiostate.default};function Is(e){const t=kr.PUBLIC_URL;return e.startsWith("$")?t+vu[e.substr(1)]:e.startsWith(t)?e:t+e}function nU(){const e=At();return sr(),w.jsx(w.Fragment,{children:w.jsxs("div",{className:"not-found-pagex",children:[w.jsx("img",{src:Is("/common/error.svg")}),w.jsx("div",{className:"content",children:w.jsx("p",{children:e.not_found_404})})]})})}function kde(){const{locale:e,asPath:t}=sr();R.useEffect(()=>{var n;(n=document.querySelector("html"))==null||n.setAttribute("dir",["fa","ar"].includes(e)?"rtl":"ltr")},[t])}var a$=(e=>(e.Green="#00bd00",e.Red="#ff0313",e.Orange="#fa7a00",e.Yellow="#f4b700",e.Blue="#0072ff",e.Purple="#ad41d1",e.Grey="#717176",e))(a$||{});function i$(e){"@babel/helpers - typeof";return i$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i$(e)}function xde(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function _de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ode(e,t,n){return t=rS(t),Rde(e,u3()?Reflect.construct(t,n||[],rS(e).constructor):t.apply(e,n))}function Rde(e,t){if(t&&(i$(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pde(e)}function Pde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ade(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nS(e,t)}function o$(e){var t=typeof Map=="function"?new Map:void 0;return o$=function(r){if(r===null||!Mde(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return Nde(r,arguments,rS(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),nS(a,r)},o$(e)}function Nde(e,t,n){if(u3())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&nS(a,n.prototype),a}function u3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(u3=function(){return!!e})()}function Mde(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function nS(e,t){return nS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},nS(e,t)}function rS(e){return rS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},rS(e)}var aC=(function(e){function t(n){var r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(_de(this,t),r=Ode(this,t,[n]),r.originalRequest=i,r.originalResponse=o,r.causingError=a,a!=null&&(n+=", caused by ".concat(a.toString())),i!=null){var l=i.getHeader("X-Request-ID")||"n/a",u=i.getMethod(),d=i.getURL(),f=o?o.getStatus():"n/a",g=o?o.getBody()||"":"n/a";n+=", originated from request (method: ".concat(u,", url: ").concat(d,", response code: ").concat(f,", response text: ").concat(g,", request id: ").concat(l,")")}return r.message=n,r}return Ade(t,e),xde(t)})(o$(Error));function aS(e){"@babel/helpers - typeof";return aS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aS(e)}function Ide(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dde(e,t){for(var n=0;n{let t={};return e.forEach((n,r)=>t[n]=r),t})(O1),Wde=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,ji=String.fromCharCode.bind(String),iU=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),bX=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),wX=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),SX=e=>{let t,n,r,a,i="";const o=e.length%3;for(let l=0;l255||(r=e.charCodeAt(l++))>255||(a=e.charCodeAt(l++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|a,i+=O1[t>>18&63]+O1[t>>12&63]+O1[t>>6&63]+O1[t&63]}return o?i.slice(0,o-3)+"===".substring(o):i},c3=typeof btoa=="function"?e=>btoa(e):Db?e=>Buffer.from(e,"binary").toString("base64"):SX,s$=Db?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let r=0,a=e.length;rt?bX(s$(e)):s$(e),zde=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ji(192|t>>>6)+ji(128|t&63):ji(224|t>>>12&15)+ji(128|t>>>6&63)+ji(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ji(240|t>>>18&7)+ji(128|t>>>12&63)+ji(128|t>>>6&63)+ji(128|t&63)}},qde=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,EX=e=>e.replace(qde,zde),oU=Db?e=>Buffer.from(e,"utf8").toString("base64"):aU?e=>s$(aU.encode(e)):e=>c3(EX(e)),ub=(e,t=!1)=>t?bX(oU(e)):oU(e),sU=e=>ub(e,!0),Hde=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Vde=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return ji((n>>>10)+55296)+ji((n&1023)+56320);case 3:return ji((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return ji((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},TX=e=>e.replace(Hde,Vde),CX=e=>{if(e=e.replace(/\s+/g,""),!Wde.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,n="",r,a;for(let i=0;i>16&255):a===64?ji(t>>16&255,t>>8&255):ji(t>>16&255,t>>8&255,t&255);return n},d3=typeof atob=="function"?e=>atob(wX(e)):Db?e=>Buffer.from(e,"base64").toString("binary"):CX,kX=Db?e=>iU(Buffer.from(e,"base64")):e=>iU(d3(e).split("").map(t=>t.charCodeAt(0))),xX=e=>kX(_X(e)),Gde=Db?e=>Buffer.from(e,"base64").toString("utf8"):rU?e=>rU.decode(kX(e)):e=>TX(d3(e)),_X=e=>wX(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),l$=e=>Gde(_X(e)),Yde=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},OX=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),RX=function(){const e=(t,n)=>Object.defineProperty(String.prototype,t,OX(n));e("fromBase64",function(){return l$(this)}),e("toBase64",function(t){return ub(this,t)}),e("toBase64URI",function(){return ub(this,!0)}),e("toBase64URL",function(){return ub(this,!0)}),e("toUint8Array",function(){return xX(this)})},PX=function(){const e=(t,n)=>Object.defineProperty(Uint8Array.prototype,t,OX(n));e("toBase64",function(t){return FC(this,t)}),e("toBase64URI",function(){return FC(this,!0)}),e("toBase64URL",function(){return FC(this,!0)})},Kde=()=>{RX(),PX()},Xde={version:yX,VERSION:Ude,atob:d3,atobPolyfill:CX,btoa:c3,btoaPolyfill:SX,fromBase64:l$,toBase64:ub,encode:ub,encodeURI:sU,encodeURL:sU,utob:EX,btou:TX,decode:l$,isValid:Yde,fromUint8Array:FC,toUint8Array:xX,extendString:RX,extendUint8Array:PX,extendBuiltins:Kde};var GO,lU;function Qde(){return lU||(lU=1,GO=function(t,n){if(n=n.split(":")[0],t=+t,!t)return!1;switch(n){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0}),GO}var oC={},uU;function Zde(){if(uU)return oC;uU=1;var e=Object.prototype.hasOwnProperty,t;function n(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}function r(o){try{return encodeURIComponent(o)}catch{return null}}function a(o){for(var l=/([^=?#&]+)=?([^&]*)/g,u={},d;d=l.exec(o);){var f=n(d[1]),g=n(d[2]);f===null||g===null||f in u||(u[f]=g)}return u}function i(o,l){l=l||"";var u=[],d,f;typeof l!="string"&&(l="?");for(f in o)if(e.call(o,f)){if(d=o[f],!d&&(d===null||d===t||isNaN(d))&&(d=""),f=r(f),d=r(d),f===null||d===null)continue;u.push(f+"="+d)}return u.length?l+u.join("&"):""}return oC.stringify=i,oC.parse=a,oC}var YO,cU;function Jde(){if(cU)return YO;cU=1;var e=Qde(),t=Zde(),n=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,r=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/:\d+$/,o=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function u(k){return(k||"").toString().replace(n,"")}var d=[["#","hash"],["?","query"],function(_,A){return y(A.protocol)?_.replace(/\\/g,"/"):_},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function g(k){var _;typeof window<"u"?_=window:typeof bl<"u"?_=bl:typeof self<"u"?_=self:_={};var A=_.location||{};k=k||A;var P={},N=typeof k,I;if(k.protocol==="blob:")P=new E(unescape(k.pathname),{});else if(N==="string"){P=new E(k,{});for(I in f)delete P[I]}else if(N==="object"){for(I in k)I in f||(P[I]=k[I]);P.slashes===void 0&&(P.slashes=a.test(k.href))}return P}function y(k){return k==="file:"||k==="ftp:"||k==="http:"||k==="https:"||k==="ws:"||k==="wss:"}function p(k,_){k=u(k),k=k.replace(r,""),_=_||{};var A=o.exec(k),P=A[1]?A[1].toLowerCase():"",N=!!A[2],I=!!A[3],L=0,j;return N?I?(j=A[2]+A[3]+A[4],L=A[2].length+A[3].length):(j=A[2]+A[4],L=A[2].length):I?(j=A[3]+A[4],L=A[3].length):j=A[4],P==="file:"?L>=2&&(j=j.slice(2)):y(P)?j=A[4]:P?N&&(j=j.slice(2)):L>=2&&y(_.protocol)&&(j=A[4]),{protocol:P,slashes:N||y(P),slashesCount:L,rest:j}}function v(k,_){if(k==="")return _;for(var A=(_||"/").split("/").slice(0,-1).concat(k.split("/")),P=A.length,N=A[P-1],I=!1,L=0;P--;)A[P]==="."?A.splice(P,1):A[P]===".."?(A.splice(P,1),L++):L&&(P===0&&(I=!0),A.splice(P,1),L--);return I&&A.unshift(""),(N==="."||N==="..")&&A.push(""),A.join("/")}function E(k,_,A){if(k=u(k),k=k.replace(r,""),!(this instanceof E))return new E(k,_,A);var P,N,I,L,j,z,Q=d.slice(),le=typeof _,re=this,ge=0;for(le!=="object"&&le!=="string"&&(A=_,_=null),A&&typeof A!="function"&&(A=t.parse),_=g(_),N=p(k||"",_),P=!N.protocol&&!N.slashes,re.slashes=N.slashes||P&&_.slashes,re.protocol=N.protocol||_.protocol||"",k=N.rest,(N.protocol==="file:"&&(N.slashesCount!==2||l.test(k))||!N.slashes&&(N.protocol||N.slashesCount<2||!y(re.protocol)))&&(Q[3]=[/(.*)/,"pathname"]);ge=0;--H){var Y=this.tryEntries[H],ie=Y.completion;if(Y.tryLoc==="root")return ce("end");if(Y.tryLoc<=this.prev){var Z=r.call(Y,"catchLoc"),ee=r.call(Y,"finallyLoc");if(Z&&ee){if(this.prev=0;--ce){var H=this.tryEntries[ce];if(H.tryLoc<=this.prev&&r.call(H,"finallyLoc")&&this.prev=0;--q){var ce=this.tryEntries[q];if(ce.finallyLoc===G)return this.complete(ce.completion,ce.afterLoc),re(ce),T}},catch:function(G){for(var q=this.tryEntries.length-1;q>=0;--q){var ce=this.tryEntries[q];if(ce.tryLoc===G){var H=ce.completion;if(H.type==="throw"){var Y=H.arg;re(ce)}return Y}}throw Error("illegal catch attempt")},delegateYield:function(G,q,ce){return this.delegate={iterator:he(G),resultName:q,nextLoc:ce},this.method==="next"&&(this.arg=e),T}},t}function dU(e,t,n,r,a,i,o){try{var l=e[i](o),u=l.value}catch(d){n(d);return}l.done?t(u):Promise.resolve(u).then(r,a)}function rfe(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(u){dU(i,r,a,o,l,"next",u)}function l(u){dU(i,r,a,o,l,"throw",u)}o(void 0)})}}function AX(e,t){return ofe(e)||ife(e,t)||NX(e,t)||afe()}function afe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ife(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,o,l=[],u=!0,d=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(f){d=!0,a=f}finally{try{if(!u&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw a}}return l}}function ofe(e){if(Array.isArray(e))return e}function Zg(e){"@babel/helpers - typeof";return Zg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zg(e)}function sfe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=NX(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return i=d.done,d},e:function(d){o=!0,l=d},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw l}}}}function NX(e,t){if(e){if(typeof e=="string")return fU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fU(e,t)}}function fU(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1)for(var i=0,o=["uploadUrl","uploadSize","uploadLengthDeferred"];i1||n._parallelUploadUrls!=null?n._startParallelUpload():n._startSingleUpload()}).catch(function(u){n._emitError(u)})}},{key:"_startParallelUpload",value:function(){var n,r=this,a=this._size,i=0;this._parallelUploads=[];var o=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,l=(n=this.options.parallelUploadBoundaries)!==null&&n!==void 0?n:mfe(this._source.size,o);this._parallelUploadUrls&&l.forEach(function(f,g){f.uploadUrl=r._parallelUploadUrls[g]||null}),this._parallelUploadUrls=new Array(l.length);var u=l.map(function(f,g){var y=0;return r._source.slice(f.start,f.end).then(function(p){var v=p.value;return new Promise(function(E,T){var C=Iy(Iy({},r.options),{},{uploadUrl:f.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:r.options.metadataForPartialUploads,headers:Iy(Iy({},r.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:E,onError:T,onProgress:function(A){i=i-y+A,y=A,r._emitProgress(i,a)},onUploadUrlAvailable:function(){r._parallelUploadUrls[g]=k.url,r._parallelUploadUrls.filter(function(A){return!!A}).length===l.length&&r._saveUploadInUrlStorage()}}),k=new e(v,C);k.start(),r._parallelUploads.push(k)})})}),d;Promise.all(u).then(function(){d=r._openRequest("POST",r.options.endpoint),d.setHeader("Upload-Concat","final;".concat(r._parallelUploadUrls.join(" ")));var f=hU(r.options.metadata);return f!==""&&d.setHeader("Upload-Metadata",f),r._sendRequest(d,null)}).then(function(f){if(!Gy(f.getStatus(),200)){r._emitHttpError(d,f,"tus: unexpected response while creating upload");return}var g=f.getHeader("Location");if(g==null){r._emitHttpError(d,f,"tus: invalid or missing Location header");return}r.url=bU(r.options.endpoint,g),"Created upload at ".concat(r.url),r._emitSuccess(f)}).catch(function(f){r._emitError(f)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){"Resuming upload from previous URL: ".concat(this.url),this._resumeUpload();return}if(this.options.uploadUrl!=null){"Resuming upload from provided URL: ".concat(this.options.uploadUrl),this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(n){var r=this;if(this._parallelUploads!=null){var a=sfe(this._parallelUploads),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;o.abort(n)}}catch(l){a.e(l)}finally{a.f()}}return this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!n||this.url==null?Promise.resolve():e.terminate(this.url,this.options).then(function(){return r._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(n,r,a,i){this._emitError(new aC(a,i,n,r))}},{key:"_emitError",value:function(n){var r=this;if(!this._aborted){if(this.options.retryDelays!=null){var a=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(a&&(this._retryAttempt=0),yU(n,this._retryAttempt,this.options)){var i=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){r.start()},i);return}}if(typeof this.options.onError=="function")this.options.onError(n);else throw n}}},{key:"_emitSuccess",value:function(n){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess({lastResponse:n})}},{key:"_emitProgress",value:function(n,r){typeof this.options.onProgress=="function"&&this.options.onProgress(n,r)}},{key:"_emitChunkComplete",value:function(n,r,a){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(n,r,a)}},{key:"_createUpload",value:function(){var n=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var r=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?r.setHeader("Upload-Defer-Length","1"):r.setHeader("Upload-Length","".concat(this._size));var a=hU(this.options.metadata);a!==""&&r.setHeader("Upload-Metadata",a);var i;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,i=this._addChunkToRequest(r)):((this.options.protocol===UC||this.options.protocol===R1)&&r.setHeader("Upload-Complete","?0"),i=this._sendRequest(r,null)),i.then(function(o){if(!Gy(o.getStatus(),200)){n._emitHttpError(r,o,"tus: unexpected response while creating upload");return}var l=o.getHeader("Location");if(l==null){n._emitHttpError(r,o,"tus: invalid or missing Location header");return}if(n.url=bU(n.options.endpoint,l),"Created upload at ".concat(n.url),typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._size===0){n._emitSuccess(o),n._source.close();return}n._saveUploadInUrlStorage().then(function(){n.options.uploadDataDuringCreation?n._handleUploadResponse(r,o):(n._offset=0,n._performUpload())})}).catch(function(o){n._emitHttpError(r,null,"tus: failed to create upload",o)})}},{key:"_resumeUpload",value:function(){var n=this,r=this._openRequest("HEAD",this.url),a=this._sendRequest(r,null);a.then(function(i){var o=i.getStatus();if(!Gy(o,200)){if(o===423){n._emitHttpError(r,i,"tus: upload is currently locked; retry later");return}if(Gy(o,400)&&n._removeFromUrlStorage(),!n.options.endpoint){n._emitHttpError(r,i,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}n.url=null,n._createUpload();return}var l=Number.parseInt(i.getHeader("Upload-Offset"),10);if(Number.isNaN(l)){n._emitHttpError(r,i,"tus: invalid or missing offset value");return}var u=Number.parseInt(i.getHeader("Upload-Length"),10);if(Number.isNaN(u)&&!n.options.uploadLengthDeferred&&n.options.protocol===jC){n._emitHttpError(r,i,"tus: invalid or missing length value");return}typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._saveUploadInUrlStorage().then(function(){if(l===u){n._emitProgress(u,u),n._emitSuccess(i);return}n._offset=l,n._performUpload()})}).catch(function(i){n._emitHttpError(r,null,"tus: failed to resume upload",i)})}},{key:"_performUpload",value:function(){var n=this;if(!this._aborted){var r;this.options.overridePatchMethod?(r=this._openRequest("POST",this.url),r.setHeader("X-HTTP-Method-Override","PATCH")):r=this._openRequest("PATCH",this.url),r.setHeader("Upload-Offset","".concat(this._offset));var a=this._addChunkToRequest(r);a.then(function(i){if(!Gy(i.getStatus(),200)){n._emitHttpError(r,i,"tus: unexpected response while uploading chunk");return}n._handleUploadResponse(r,i)}).catch(function(i){n._aborted||n._emitHttpError(r,null,"tus: failed to upload chunk at offset ".concat(n._offset),i)})}}},{key:"_addChunkToRequest",value:function(n){var r=this,a=this._offset,i=this._offset+this.options.chunkSize;return n.setProgressHandler(function(o){r._emitProgress(a+o,r._size)}),this.options.protocol===jC?n.setHeader("Content-Type","application/offset+octet-stream"):this.options.protocol===R1&&n.setHeader("Content-Type","application/partial-upload"),(i===Number.POSITIVE_INFINITY||i>this._size)&&!this.options.uploadLengthDeferred&&(i=this._size),this._source.slice(a,i).then(function(o){var l=o.value,u=o.done,d=l!=null&&l.size?l.size:0;r.options.uploadLengthDeferred&&u&&(r._size=r._offset+d,n.setHeader("Upload-Length","".concat(r._size)));var f=r._offset+d;return!r.options.uploadLengthDeferred&&u&&f!==r._size?Promise.reject(new Error("upload was configured with a size of ".concat(r._size," bytes, but the source is done after ").concat(f," bytes"))):l===null?r._sendRequest(n):((r.options.protocol===UC||r.options.protocol===R1)&&n.setHeader("Upload-Complete",u?"?1":"?0"),r._emitProgress(r._offset,r._size),r._sendRequest(n,l))})}},{key:"_handleUploadResponse",value:function(n,r){var a=Number.parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(a)){this._emitHttpError(n,r,"tus: invalid or missing offset value");return}if(this._emitProgress(a,this._size),this._emitChunkComplete(a-this._offset,a,this._size),this._offset=a,a===this._size){this._emitSuccess(r),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(n,r){var a=gU(n,r,this.options);return this._req=a,a}},{key:"_removeFromUrlStorage",value:function(){var n=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(r){n._emitError(r)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var n=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var r={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?r.parallelUploadUrls=this._parallelUploadUrls:r.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,r).then(function(a){n._urlStorageKey=a})}},{key:"_sendRequest",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return vU(n,r,this.options)}}],[{key:"terminate",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=gU("DELETE",n,r);return vU(a,null,r).then(function(i){if(i.getStatus()!==204)throw new aC("tus: unexpected response while terminating upload",null,a,i)}).catch(function(i){if(i instanceof aC||(i=new aC("tus: failed to terminate upload",i,a,null)),!yU(i,0,r))throw i;var o=r.retryDelays[0],l=r.retryDelays.slice(1),u=Iy(Iy({},r),{},{retryDelays:l});return new Promise(function(d){return setTimeout(d,o)}).then(function(){return e.terminate(n,u)})})}}])})();function hU(e){return Object.entries(e).map(function(t){var n=AX(t,2),r=n[0],a=n[1];return"".concat(r," ").concat(Xde.encode(String(a)))}).join(",")}function Gy(e,t){return e>=t&&e=n.retryDelays.length||e.originalRequest==null?!1:n&&typeof n.onShouldRetry=="function"?n.onShouldRetry(e,t,n):IX(e)}function IX(e){var t=e.originalResponse?e.originalResponse.getStatus():0;return(!Gy(t,400)||t===409||t===423)&&pfe()}function bU(e,t){return new tfe(t,e).toString()}function mfe(e,t){for(var n=Math.floor(e/t),r=[],a=0;a=this.size;return Promise.resolve({value:a,done:i})}},{key:"close",value:function(){}}])})();function oS(e){"@babel/helpers - typeof";return oS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oS(e)}function Tfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cfe(e,t){for(var n=0;nthis._bufferOffset&&(this._buffer=this._buffer.slice(n-this._bufferOffset),this._bufferOffset=n);var a=SU(this._buffer)===0;return this._done&&a?null:this._buffer.slice(0,r-n)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])})();function Jg(e){"@babel/helpers - typeof";return Jg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jg(e)}function d$(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d$=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(W,G,q){W[G]=q.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function d(W,G,q){return Object.defineProperty(W,G,{value:q,enumerable:!0,configurable:!0,writable:!0}),W[G]}try{d({},"")}catch{d=function(q,ce,H){return q[ce]=H}}function f(W,G,q,ce){var H=G&&G.prototype instanceof C?G:C,Y=Object.create(H.prototype),ie=new ge(ce||[]);return a(Y,"_invoke",{value:z(W,q,ie)}),Y}function g(W,G,q){try{return{type:"normal",arg:W.call(G,q)}}catch(ce){return{type:"throw",arg:ce}}}t.wrap=f;var y="suspendedStart",p="suspendedYield",v="executing",E="completed",T={};function C(){}function k(){}function _(){}var A={};d(A,o,function(){return this});var P=Object.getPrototypeOf,N=P&&P(P(he([])));N&&N!==n&&r.call(N,o)&&(A=N);var I=_.prototype=C.prototype=Object.create(A);function L(W){["next","throw","return"].forEach(function(G){d(W,G,function(q){return this._invoke(G,q)})})}function j(W,G){function q(H,Y,ie,Z){var ee=g(W[H],W,Y);if(ee.type!=="throw"){var J=ee.arg,ue=J.value;return ue&&Jg(ue)=="object"&&r.call(ue,"__await")?G.resolve(ue.__await).then(function(ke){q("next",ke,ie,Z)},function(ke){q("throw",ke,ie,Z)}):G.resolve(ue).then(function(ke){J.value=ke,ie(J)},function(ke){return q("throw",ke,ie,Z)})}Z(ee.arg)}var ce;a(this,"_invoke",{value:function(Y,ie){function Z(){return new G(function(ee,J){q(Y,ie,ee,J)})}return ce=ce?ce.then(Z,Z):Z()}})}function z(W,G,q){var ce=y;return function(H,Y){if(ce===v)throw Error("Generator is already running");if(ce===E){if(H==="throw")throw Y;return{value:e,done:!0}}for(q.method=H,q.arg=Y;;){var ie=q.delegate;if(ie){var Z=Q(ie,q);if(Z){if(Z===T)continue;return Z}}if(q.method==="next")q.sent=q._sent=q.arg;else if(q.method==="throw"){if(ce===y)throw ce=E,q.arg;q.dispatchException(q.arg)}else q.method==="return"&&q.abrupt("return",q.arg);ce=v;var ee=g(W,G,q);if(ee.type==="normal"){if(ce=q.done?E:p,ee.arg===T)continue;return{value:ee.arg,done:q.done}}ee.type==="throw"&&(ce=E,q.method="throw",q.arg=ee.arg)}}}function Q(W,G){var q=G.method,ce=W.iterator[q];if(ce===e)return G.delegate=null,q==="throw"&&W.iterator.return&&(G.method="return",G.arg=e,Q(W,G),G.method==="throw")||q!=="return"&&(G.method="throw",G.arg=new TypeError("The iterator does not provide a '"+q+"' method")),T;var H=g(ce,W.iterator,G.arg);if(H.type==="throw")return G.method="throw",G.arg=H.arg,G.delegate=null,T;var Y=H.arg;return Y?Y.done?(G[W.resultName]=Y.value,G.next=W.nextLoc,G.method!=="return"&&(G.method="next",G.arg=e),G.delegate=null,T):Y:(G.method="throw",G.arg=new TypeError("iterator result is not an object"),G.delegate=null,T)}function le(W){var G={tryLoc:W[0]};1 in W&&(G.catchLoc=W[1]),2 in W&&(G.finallyLoc=W[2],G.afterLoc=W[3]),this.tryEntries.push(G)}function re(W){var G=W.completion||{};G.type="normal",delete G.arg,W.completion=G}function ge(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(le,this),this.reset(!0)}function he(W){if(W||W===""){var G=W[o];if(G)return G.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var q=-1,ce=function H(){for(;++q=0;--H){var Y=this.tryEntries[H],ie=Y.completion;if(Y.tryLoc==="root")return ce("end");if(Y.tryLoc<=this.prev){var Z=r.call(Y,"catchLoc"),ee=r.call(Y,"finallyLoc");if(Z&&ee){if(this.prev=0;--ce){var H=this.tryEntries[ce];if(H.tryLoc<=this.prev&&r.call(H,"finallyLoc")&&this.prev=0;--q){var ce=this.tryEntries[q];if(ce.finallyLoc===G)return this.complete(ce.completion,ce.afterLoc),re(ce),T}},catch:function(G){for(var q=this.tryEntries.length-1;q>=0;--q){var ce=this.tryEntries[q];if(ce.tryLoc===G){var H=ce.completion;if(H.type==="throw"){var Y=H.arg;re(ce)}return Y}}throw Error("illegal catch attempt")},delegateYield:function(G,q,ce){return this.delegate={iterator:he(G),resultName:q,nextLoc:ce},this.method==="next"&&(this.arg=e),T}},t}function EU(e,t,n,r,a,i,o){try{var l=e[i](o),u=l.value}catch(d){n(d);return}l.done?t(u):Promise.resolve(u).then(r,a)}function Pfe(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(u){EU(i,r,a,o,l,"next",u)}function l(u){EU(i,r,a,o,l,"throw",u)}o(void 0)})}}function Afe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nfe(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(a,i){n._xhr.onload=function(){a(new Hfe(n._xhr))},n._xhr.onerror=function(o){i(o)},n._xhr.send(r)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})(),Hfe=(function(){function e(t){f3(this,e),this._xhr=t}return p3(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(n){return this._xhr.getResponseHeader(n)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})();function lS(e){"@babel/helpers - typeof";return lS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lS(e)}function Vfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gfe(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Jfe(this,t),r=Qy(Qy({},kU),r),npe(this,t,[n,r])}return ipe(t,e),tpe(t,null,[{key:"terminate",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a=Qy(Qy({},kU),a),fk.terminate(r,a)}}])})(fk);const Je=ze.createContext({setSession(e){},options:{}});class upe{async setItem(t,n){return localStorage.setItem(t,n)}async getItem(t){return localStorage.getItem(t)}async removeItem(t){return localStorage.removeItem(t)}}async function cpe(e,t,n){n.setItem("fb_microservice_"+e,JSON.stringify(t))}function dpe(e,t,n){n.setItem("fb_selected_workspace_"+e,JSON.stringify(t))}async function fpe(e,t){let n=null;try{n=JSON.parse(await t.getItem("fb_microservice_"+e))}catch{}return n}async function ppe(e,t){let n=null;try{n=JSON.parse(await t.getItem("fb_selected_workspace_"+e))}catch{}return n}function mpe({children:e,remote:t,selectedUrw:n,identifier:r,token:a,preferredAcceptLanguage:i,queryClient:o,defaultExecFn:l,socketEnabled:u,socket:d,credentialStorage:f,prefix:g}){var G;const[y,p]=R.useState(!1),[v,E]=R.useState(),[T,C]=R.useState(""),[k,_]=R.useState(),A=R.useRef(f||new upe),P=async()=>{const q=await ppe(r,A.current),ce=await fpe(r,A.current);_(q),E(ce),p(!0)};R.useEffect(()=>{P()},[]);const[N,I]=R.useState([]),[L,j]=R.useState(l),z=!!v,Q=q=>{dpe(r,q,A.current),_(q)},le=q=>{E(()=>(cpe(r,q,A.current),q))},re={headers:{authorization:a||(v==null?void 0:v.token)},prefix:(T||t)+(g||"")};if(k)re.headers["workspace-id"]=k.workspaceId,re.headers["role-id"]=k.roleId;else if(n)re.headers["workspace-id"]=n.workspaceId,re.headers["role-id"]=n.roleId;else if(v!=null&&v.userWorkspaces&&v.userWorkspaces.length>0){const q=v.userWorkspaces[0];re.headers["workspace-id"]=q.workspaceId,re.headers["role-id"]=q.roleId}i&&(re.headers["accept-language"]=i),R.useEffect(()=>{a&&E({...v||{},token:a})},[a]);const ge=()=>{var q;E(null),(q=A.current)==null||q.removeItem("fb_microservice_"+r),Q(void 0)},he=()=>{I([])},{socketState:W}=hpe(t,(G=re.headers)==null?void 0:G.authorization,re.headers["workspace-id"],o,u);return w.jsx(Je.Provider,{value:{options:re,signout:ge,setOverrideRemoteUrl:C,overrideRemoteUrl:T,setSession:le,socketState:W,checked:y,selectedUrw:k,selectUrw:Q,session:v,preferredAcceptLanguage:i,activeUploads:N,setActiveUploads:I,execFn:L,setExecFn:j,discardActiveUploads:he,isAuthenticated:z},children:e})}function hpe(e,t,n,r,a=!0){const[i,o]=R.useState({state:"unknown"});return R.useEffect(()=>{if(!e||!t||t==="undefined"||a===!1)return;const l=e.replace("https","wss").replace("http","ws");let u;try{u=new WebSocket(`${l}ws?token=${t}&workspaceId=${n}`),u.onerror=function(d){o({state:"error"})},u.onclose=function(d){o({state:"closed"})},u.onmessage=function(d){try{const f=JSON.parse(d.data);f!=null&&f.cacheKey&&r.invalidateQueries(f==null?void 0:f.cacheKey)}catch{console.error("Socket message parsing error",d)}},u.onopen=function(d){o({state:"connected"})}}catch{}return()=>{(u==null?void 0:u.readyState)===1&&u.close()}},[t,n]),{socketState:i}}function zt(e){if(!e)return{};const t={};return e.startIndex&&(t.startIndex=e.startIndex),e.itemsPerPage&&(t.itemsPerPage=e.itemsPerPage),e.query&&(t.query=e.query),e.deep&&(t.deep=e.deep),e.jsonQuery&&(t.jsonQuery=JSON.stringify(e.jsonQuery)),e.withPreloads&&(t.withPreloads=e.withPreloads),e.uniqueId&&(t.uniqueId=e.uniqueId),e.sort&&(t.sort=e.sort),t}function gpe(){const{activeUploads:e,setActiveUploads:t}=R.useContext(Je),n=()=>{t([])};return e.length===0?null:w.jsxs("div",{className:"active-upload-box",children:[w.jsxs("div",{className:"upload-header",children:[w.jsxs("span",{children:[e.length," Uploads"]}),w.jsx("span",{className:"action-section",children:w.jsx("button",{onClick:n,children:w.jsx("img",{src:"/common/close.svg"})})})]}),e.map(r=>w.jsxs("div",{className:"upload-file-item",children:[w.jsx("span",{children:r.filename}),w.jsxs("span",{children:[Math.ceil(r.bytesSent/r.bytesTotal*100),"%"]})]},r.uploadId))]})}var XO={exports:{}};/*! + */var UU;function Gde(){if(UU)return Cr;UU=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function _(P){if(typeof P=="object"&&P!==null){var N=P.$$typeof;switch(N){case t:switch(P=P.type,P){case u:case d:case r:case i:case a:case g:return P;default:switch(P=P&&P.$$typeof,P){case l:case f:case v:case h:case o:return P;default:return N}}case n:return N}}}function A(P){return _(P)===d}return Cr.AsyncMode=u,Cr.ConcurrentMode=d,Cr.ContextConsumer=l,Cr.ContextProvider=o,Cr.Element=t,Cr.ForwardRef=f,Cr.Fragment=r,Cr.Lazy=v,Cr.Memo=h,Cr.Portal=n,Cr.Profiler=i,Cr.StrictMode=a,Cr.Suspense=g,Cr.isAsyncMode=function(P){return A(P)||_(P)===u},Cr.isConcurrentMode=A,Cr.isContextConsumer=function(P){return _(P)===l},Cr.isContextProvider=function(P){return _(P)===o},Cr.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},Cr.isForwardRef=function(P){return _(P)===f},Cr.isFragment=function(P){return _(P)===r},Cr.isLazy=function(P){return _(P)===v},Cr.isMemo=function(P){return _(P)===h},Cr.isPortal=function(P){return _(P)===n},Cr.isProfiler=function(P){return _(P)===i},Cr.isStrictMode=function(P){return _(P)===a},Cr.isSuspense=function(P){return _(P)===g},Cr.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===r||P===d||P===i||P===a||P===g||P===y||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===h||P.$$typeof===o||P.$$typeof===l||P.$$typeof===f||P.$$typeof===T||P.$$typeof===C||P.$$typeof===k||P.$$typeof===E)},Cr.typeOf=_,Cr}var BU;function Yde(){return BU||(BU=1,kR.exports=Gde()),kR.exports}var xR,WU;function Kde(){if(WU)return xR;WU=1;var e=Yde(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=a;function o(v){return e.isMemo(v)?a:i[v.$$typeof]||t}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,y=Object.prototype;function h(v,E,T){if(typeof E!="string"){if(y){var C=g(E);C&&C!==y&&h(v,C,T)}var k=u(E);d&&(k=k.concat(d(E)));for(var _=o(v),A=o(E),P=0;P=0)&&(n[a]=e[a]);return n}var Zx=R.createContext(void 0);Zx.displayName="FormikContext";var Jde=Zx.Provider;Zx.Consumer;function Zde(){var e=R.useContext(Zx);return e}var ml=function(t){return typeof t=="function"},e_=function(t){return t!==null&&typeof t=="object"},efe=function(t){return String(Math.floor(Number(t)))===t},_R=function(t){return Object.prototype.toString.call(t)==="[object String]"},tfe=function(t){return R.Children.count(t)===0},OR=function(t){return e_(t)&&ml(t.then)};function Ps(e,t,n,r){r===void 0&&(r=0);for(var a=nQ(t);e&&r=0?[]:{}}}return(i===0?e:a)[o[i]]===n?e:(n===void 0?delete a[o[i]]:a[o[i]]=n,i===0&&n===void 0&&delete r[o[i]],r)}function aQ(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,i=Object.keys(e);a0?dt.map(function(ut){return z(ut,Ps(Oe,ut))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ft).then(function(ut){return ut.reduce(function(Nt,U,D){return U==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||U&&(Nt=bv(Nt,dt[D],U)),Nt},{})})},[z]),le=R.useCallback(function(Oe){return Promise.all([Q(Oe),y.validationSchema?j(Oe):{},y.validate?L(Oe):{}]).then(function(dt){var ft=dt[0],ut=dt[1],Nt=dt[2],U=U$.all([ft,ut,Nt],{arrayMerge:ife});return U})},[y.validate,y.validationSchema,Q,L,j]),re=pl(function(Oe){return Oe===void 0&&(Oe=N.values),I({type:"SET_ISVALIDATING",payload:!0}),le(Oe).then(function(dt){return C.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:dt})),dt})});R.useEffect(function(){o&&C.current===!0&&Jg(h.current,y.initialValues)&&re(h.current)},[o,re]);var ge=R.useCallback(function(Oe){var dt=Oe&&Oe.values?Oe.values:h.current,ft=Oe&&Oe.errors?Oe.errors:v.current?v.current:y.initialErrors||{},ut=Oe&&Oe.touched?Oe.touched:E.current?E.current:y.initialTouched||{},Nt=Oe&&Oe.status?Oe.status:T.current?T.current:y.initialStatus;h.current=dt,v.current=ft,E.current=ut,T.current=Nt;var U=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!Oe&&!!Oe.isSubmitting,errors:ft,touched:ut,status:Nt,values:dt,isValidating:!!Oe&&!!Oe.isValidating,submitCount:Oe&&Oe.submitCount&&typeof Oe.submitCount=="number"?Oe.submitCount:0}})};if(y.onReset){var D=y.onReset(N.values,Ge);OR(D)?D.then(U):U()}else U()},[y.initialErrors,y.initialStatus,y.initialTouched,y.onReset]);R.useEffect(function(){C.current===!0&&!Jg(h.current,y.initialValues)&&d&&(h.current=y.initialValues,ge(),o&&re(h.current))},[d,y.initialValues,ge,o,re]),R.useEffect(function(){d&&C.current===!0&&!Jg(v.current,y.initialErrors)&&(v.current=y.initialErrors||Am,I({type:"SET_ERRORS",payload:y.initialErrors||Am}))},[d,y.initialErrors]),R.useEffect(function(){d&&C.current===!0&&!Jg(E.current,y.initialTouched)&&(E.current=y.initialTouched||jC,I({type:"SET_TOUCHED",payload:y.initialTouched||jC}))},[d,y.initialTouched]),R.useEffect(function(){d&&C.current===!0&&!Jg(T.current,y.initialStatus)&&(T.current=y.initialStatus,I({type:"SET_STATUS",payload:y.initialStatus}))},[d,y.initialStatus,y.initialTouched]);var me=pl(function(Oe){if(k.current[Oe]&&ml(k.current[Oe].validate)){var dt=Ps(N.values,Oe),ft=k.current[Oe].validate(dt);return OR(ft)?(I({type:"SET_ISVALIDATING",payload:!0}),ft.then(function(ut){return ut}).then(function(ut){I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:ut}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:ft}}),Promise.resolve(ft))}else if(y.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),j(N.values,Oe).then(function(ut){return ut}).then(function(ut){I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:Ps(ut,Oe)}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),W=R.useCallback(function(Oe,dt){var ft=dt.validate;k.current[Oe]={validate:ft}},[]),G=R.useCallback(function(Oe){delete k.current[Oe]},[]),q=pl(function(Oe,dt){I({type:"SET_TOUCHED",payload:Oe});var ft=dt===void 0?a:dt;return ft?re(N.values):Promise.resolve()}),ce=R.useCallback(function(Oe){I({type:"SET_ERRORS",payload:Oe})},[]),H=pl(function(Oe,dt){var ft=ml(Oe)?Oe(N.values):Oe;I({type:"SET_VALUES",payload:ft});var ut=dt===void 0?n:dt;return ut?re(ft):Promise.resolve()}),Y=R.useCallback(function(Oe,dt){I({type:"SET_FIELD_ERROR",payload:{field:Oe,value:dt}})},[]),ie=pl(function(Oe,dt,ft){I({type:"SET_FIELD_VALUE",payload:{field:Oe,value:dt}});var ut=ft===void 0?n:ft;return ut?re(bv(N.values,Oe,dt)):Promise.resolve()}),J=R.useCallback(function(Oe,dt){var ft=dt,ut=Oe,Nt;if(!_R(Oe)){Oe.persist&&Oe.persist();var U=Oe.target?Oe.target:Oe.currentTarget,D=U.type,F=U.name,ae=U.id,Te=U.value,Fe=U.checked;U.outerHTML;var We=U.options,Tt=U.multiple;ft=dt||F||ae,ut=/number|range/.test(D)?(Nt=parseFloat(Te),isNaN(Nt)?"":Nt):/checkbox/.test(D)?sfe(Ps(N.values,ft),Fe,Te):We&&Tt?ofe(We):Te}ft&&ie(ft,ut)},[ie,N.values]),ee=pl(function(Oe){if(_R(Oe))return function(dt){return J(dt,Oe)};J(Oe)}),Z=pl(function(Oe,dt,ft){dt===void 0&&(dt=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:Oe,value:dt}});var ut=ft===void 0?a:ft;return ut?re(N.values):Promise.resolve()}),ue=R.useCallback(function(Oe,dt){Oe.persist&&Oe.persist();var ft=Oe.target,ut=ft.name,Nt=ft.id;ft.outerHTML;var U=dt||ut||Nt;Z(U,!0)},[Z]),ke=pl(function(Oe){if(_R(Oe))return function(dt){return ue(dt,Oe)};ue(Oe)}),fe=R.useCallback(function(Oe){ml(Oe)?I({type:"SET_FORMIK_STATE",payload:Oe}):I({type:"SET_FORMIK_STATE",payload:function(){return Oe}})},[]),xe=R.useCallback(function(Oe){I({type:"SET_STATUS",payload:Oe})},[]),Ie=R.useCallback(function(Oe){I({type:"SET_ISSUBMITTING",payload:Oe})},[]),qe=pl(function(){return I({type:"SUBMIT_ATTEMPT"}),re().then(function(Oe){var dt=Oe instanceof Error,ft=!dt&&Object.keys(Oe).length===0;if(ft){var ut;try{if(ut=at(),ut===void 0)return}catch(Nt){throw Nt}return Promise.resolve(ut).then(function(Nt){return C.current&&I({type:"SUBMIT_SUCCESS"}),Nt}).catch(function(Nt){if(C.current)throw I({type:"SUBMIT_FAILURE"}),Nt})}else if(C.current&&(I({type:"SUBMIT_FAILURE"}),dt))throw Oe})}),tt=pl(function(Oe){Oe&&Oe.preventDefault&&ml(Oe.preventDefault)&&Oe.preventDefault(),Oe&&Oe.stopPropagation&&ml(Oe.stopPropagation)&&Oe.stopPropagation(),qe().catch(function(dt){console.warn("Warning: An unhandled error was caught from submitForm()",dt)})}),Ge={resetForm:ge,validateForm:re,validateField:me,setErrors:ce,setFieldError:Y,setFieldTouched:Z,setFieldValue:ie,setStatus:xe,setSubmitting:Ie,setTouched:q,setValues:H,setFormikState:fe,submitForm:qe},at=pl(function(){return f(N.values,Ge)}),Et=pl(function(Oe){Oe&&Oe.preventDefault&&ml(Oe.preventDefault)&&Oe.preventDefault(),Oe&&Oe.stopPropagation&&ml(Oe.stopPropagation)&&Oe.stopPropagation(),ge()}),kt=R.useCallback(function(Oe){return{value:Ps(N.values,Oe),error:Ps(N.errors,Oe),touched:!!Ps(N.touched,Oe),initialValue:Ps(h.current,Oe),initialTouched:!!Ps(E.current,Oe),initialError:Ps(v.current,Oe)}},[N.errors,N.touched,N.values]),xt=R.useCallback(function(Oe){return{setValue:function(ft,ut){return ie(Oe,ft,ut)},setTouched:function(ft,ut){return Z(Oe,ft,ut)},setError:function(ft){return Y(Oe,ft)}}},[ie,Z,Y]),Rt=R.useCallback(function(Oe){var dt=e_(Oe),ft=dt?Oe.name:Oe,ut=Ps(N.values,ft),Nt={name:ft,value:ut,onChange:ee,onBlur:ke};if(dt){var U=Oe.type,D=Oe.value,F=Oe.as,ae=Oe.multiple;U==="checkbox"?D===void 0?Nt.checked=!!ut:(Nt.checked=!!(Array.isArray(ut)&&~ut.indexOf(D)),Nt.value=D):U==="radio"?(Nt.checked=ut===D,Nt.value=D):F==="select"&&ae&&(Nt.value=Nt.value||[],Nt.multiple=!0)}return Nt},[ke,ee,N.values]),cn=R.useMemo(function(){return!Jg(h.current,N.values)},[h.current,N.values]),qt=R.useMemo(function(){return typeof l<"u"?cn?N.errors&&Object.keys(N.errors).length===0:l!==!1&&ml(l)?l(y):l:N.errors&&Object.keys(N.errors).length===0},[l,cn,N.errors,y]),Wt=hi({},N,{initialValues:h.current,initialErrors:v.current,initialTouched:E.current,initialStatus:T.current,handleBlur:ke,handleChange:ee,handleReset:Et,handleSubmit:tt,resetForm:ge,setErrors:ce,setFormikState:fe,setFieldTouched:Z,setFieldValue:ie,setFieldError:Y,setStatus:xe,setSubmitting:Ie,setTouched:q,setValues:H,submitForm:qe,validateForm:re,validateField:me,isValid:qt,dirty:cn,unregisterField:G,registerField:W,getFieldProps:Rt,getFieldMeta:kt,getFieldHelpers:xt,validateOnBlur:a,validateOnChange:n,validateOnMount:o});return Wt}function ss(e){var t=Jd(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return R.useImperativeHandle(i,function(){return t}),R.createElement(Jde,{value:t},n?R.createElement(n,t):a?a(t):r?ml(r)?r(t):tfe(r)?null:R.Children.only(r):null)}function rfe(e){var t={};if(e.inner){if(e.inner.length===0)return bv(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var i;if(n){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var o=i;Ps(t,o.path)||(t=bv(t,o.path,o.message))}}return t}function afe(e,t,n,r){n===void 0&&(n=!1);var a=H$(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function H$(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||hU(a)?H$(a):a!==""?a:void 0}):hU(e[r])?t[r]=H$(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function ife(e,t,n){var r=e.slice();return t.forEach(function(i,o){if(typeof r[o]>"u"){var l=n.clone!==!1,u=l&&n.isMergeableObject(i);r[o]=u?U$(Array.isArray(i)?[]:{},i,n):i}else n.isMergeableObject(i)?r[o]=U$(e[o],i,n):e.indexOf(i)===-1&&r.push(i)}),r}function ofe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function sfe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,i).concat(r.slice(i+1)):r}var lfe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?R.useLayoutEffect:R.useEffect;function pl(e){var t=R.useRef(e);return lfe(function(){t.current=e}),R.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a(e.NewEntity="new_entity",e.SidebarToggle="sidebarToggle",e.NewChildEntity="new_child_entity",e.EditEntity="edit_entity",e.ViewQuestions="view_questions",e.ExportTable="export_table",e.CommonBack="common_back",e.StopStart="StopStart",e.Delete="delete",e.Select1Index="select1_index",e.Select2Index="select2_index",e.Select3Index="select3_index",e.Select4Index="select4_index",e.Select5Index="select5_index",e.Select6Index="select6_index",e.Select7Index="select7_index",e.Select8Index="select8_index",e.Select9Index="select9_index",e.ToggleLock="l",e))(Ir||{});function V$(){if(typeof window>"u")return"mac";let e=window==null?void 0:window.navigator.userAgent,t=window==null?void 0:window.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],r=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"],i="mac";return n.indexOf(t)!==-1?i="mac":a.indexOf(t)!==-1?i="ios":r.indexOf(t)!==-1?i="windows":/Android/.test(e)?i="android":!i&&/Linux/.test(t)?i="linux":i="web",i}const Pt=V$(),it={edit:{default:"ios-theme/icons/edit.svg"},add:{default:"ios-theme/icons/add.svg"},cancel:{default:"ios-theme/icons/cancel.svg"},delete:{default:"ios-theme/icons/delete.svg"},entity:{default:"ios-theme/icons/entity.svg"},left:{default:"ios-theme/icons/left.svg"},menu:{default:"ios-theme/icons/menu.svg"},backup:{default:"ios-theme/icons/backup.svg"},right:{default:"ios-theme/icons/right.svg"},settings:{default:"ios-theme/icons/settings.svg"},user:{default:"ios-theme/icons/user.svg"},export:{default:"ios-theme/icons/export.svg"},up:{default:"ios-theme/icons/up.svg"},dataNode:{default:"ios-theme/icons/dnode.svg"},ctrlSheet:{default:"ios-theme/icons/ctrlsheet.svg"},gpiomode:{default:"ios-theme/icons/gpiomode.svg"},gpiostate:{default:"ios-theme/icons/gpiostate.svg"},down:{default:"ios-theme/icons/down.svg"},turnoff:{default:"ios-theme/icons/turnoff.svg"},mqtt:{default:"ios-theme/icons/mqtt.svg"},cart:{default:"ios-theme/icons/cart.svg"},questionBank:{default:"ios-theme/icons/questions.svg"},dashboard:{default:"ios-theme/icons/dashboard.svg"},country:{default:"ios-theme/icons/country.svg"},order:{default:"ios-theme/icons/order.svg"},province:{default:"ios-theme/icons/province.svg"},city:{default:"ios-theme/icons/city.svg"},about:{default:"ios-theme/icons/about.svg"},sms:{default:"ios-theme/icons/sms.svg"},product:{default:"ios-theme/icons/product.svg"},discount:{default:"ios-theme/icons/discount.svg"},tag:{default:"ios-theme/icons/tag.svg"},category:{default:"ios-theme/icons/category.svg"},brand:{default:"ios-theme/icons/brand.svg"},form:{default:"ios-theme/icons/form.svg"}},ku={dashboard:it.dashboard[Pt]?it.dashboard[Pt]:it.dashboard.default,up:it.up[Pt]?it.up[Pt]:it.up.default,questionBank:it.questionBank[Pt]?it.questionBank[Pt]:it.questionBank.default,down:it.down[Pt]?it.down[Pt]:it.down.default,edit:it.edit[Pt]?it.edit[Pt]:it.edit.default,add:it.add[Pt]?it.add[Pt]:it.add.default,cancel:it.cancel[Pt]?it.cancel[Pt]:it.cancel.default,delete:it.delete[Pt]?it.delete[Pt]:it.delete.default,discount:it.discount[Pt]?it.discount[Pt]:it.discount.default,cart:it.cart[Pt]?it.cart[Pt]:it.cart.default,entity:it.entity[Pt]?it.entity[Pt]:it.entity.default,sms:it.sms[Pt]?it.sms[Pt]:it.sms.default,left:it.left[Pt]?it.left[Pt]:it.left.default,brand:it.brand[Pt]?it.brand[Pt]:it.brand.default,menu:it.menu[Pt]?it.menu[Pt]:it.menu.default,right:it.right[Pt]?it.right[Pt]:it.right.default,settings:it.settings[Pt]?it.settings[Pt]:it.settings.default,dataNode:it.dataNode[Pt]?it.dataNode[Pt]:it.dataNode.default,user:it.user[Pt]?it.user[Pt]:it.user.default,city:it.city[Pt]?it.city[Pt]:it.city.default,province:it.province[Pt]?it.province[Pt]:it.province.default,about:it.about[Pt]?it.about[Pt]:it.about.default,turnoff:it.turnoff[Pt]?it.turnoff[Pt]:it.turnoff.default,ctrlSheet:it.ctrlSheet[Pt]?it.ctrlSheet[Pt]:it.ctrlSheet.default,country:it.country[Pt]?it.country[Pt]:it.country.default,export:it.export[Pt]?it.export[Pt]:it.export.default,gpio:it.ctrlSheet[Pt]?it.ctrlSheet[Pt]:it.ctrlSheet.default,order:it.order[Pt]?it.order[Pt]:it.order.default,mqtt:it.mqtt[Pt]?it.mqtt[Pt]:it.mqtt.default,tag:it.tag[Pt]?it.tag[Pt]:it.tag.default,product:it.product[Pt]?it.product[Pt]:it.product.default,category:it.category[Pt]?it.category[Pt]:it.category.default,form:it.form[Pt]?it.form[Pt]:it.form.default,gpiomode:it.gpiomode[Pt]?it.gpiomode[Pt]:it.gpiomode.default,backup:it.backup[Pt]?it.backup[Pt]:it.backup.default,gpiostate:it.gpiostate[Pt]?it.gpiostate[Pt]:it.gpiostate.default};function $s(e){const t=kr.PUBLIC_URL;return e.startsWith("$")?t+ku[e.substr(1)]:e.startsWith(t)?e:t+e}function zU(){const e=At();return sr(),w.jsx(w.Fragment,{children:w.jsxs("div",{className:"not-found-pagex",children:[w.jsx("img",{src:$s("/common/error.svg")}),w.jsx("div",{className:"content",children:w.jsx("p",{children:e.not_found_404})})]})})}function cfe(){const{locale:e,asPath:t}=sr();R.useEffect(()=>{var n;(n=document.querySelector("html"))==null||n.setAttribute("dir",["fa","ar"].includes(e)?"rtl":"ltr")},[t])}var G$=(e=>(e.Green="#00bd00",e.Red="#ff0313",e.Orange="#fa7a00",e.Yellow="#f4b700",e.Blue="#0072ff",e.Purple="#ad41d1",e.Grey="#717176",e))(G$||{});function Y$(e){"@babel/helpers - typeof";return Y$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y$(e)}function dfe(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function ffe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pfe(e,t,n){return t=MS(t),hfe(e,Q3()?Reflect.construct(t,n||[],MS(e).constructor):t.apply(e,n))}function hfe(e,t){if(t&&(Y$(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mfe(e)}function mfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NS(e,t)}function K$(e){var t=typeof Map=="function"?new Map:void 0;return K$=function(r){if(r===null||!yfe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return vfe(r,arguments,MS(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),NS(a,r)},K$(e)}function vfe(e,t,n){if(Q3())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&NS(a,n.prototype),a}function Q3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Q3=function(){return!!e})()}function yfe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function NS(e,t){return NS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},NS(e,t)}function MS(e){return MS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},MS(e)}var UC=(function(e){function t(n){var r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(ffe(this,t),r=pfe(this,t,[n]),r.originalRequest=i,r.originalResponse=o,r.causingError=a,a!=null&&(n+=", caused by ".concat(a.toString())),i!=null){var l=i.getHeader("X-Request-ID")||"n/a",u=i.getMethod(),d=i.getURL(),f=o?o.getStatus():"n/a",g=o?o.getBody()||"":"n/a";n+=", originated from request (method: ".concat(u,", url: ").concat(d,", response code: ").concat(f,", response text: ").concat(g,", request id: ").concat(l,")")}return r.message=n,r}return gfe(t,e),dfe(t)})(K$(Error));function IS(e){"@babel/helpers - typeof";return IS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},IS(e)}function bfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wfe(e,t){for(var n=0;n{let t={};return e.forEach((n,r)=>t[n]=r),t})(aS),_fe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Bi=String.fromCharCode.bind(String),VU=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),oQ=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),sQ=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),lQ=e=>{let t,n,r,a,i="";const o=e.length%3;for(let l=0;l255||(r=e.charCodeAt(l++))>255||(a=e.charCodeAt(l++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|a,i+=aS[t>>18&63]+aS[t>>12&63]+aS[t>>6&63]+aS[t&63]}return o?i.slice(0,o-3)+"===".substring(o):i},J3=typeof btoa=="function"?e=>btoa(e):c0?e=>Buffer.from(e,"binary").toString("base64"):lQ,X$=c0?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let r=0,a=e.length;rt?oQ(X$(e)):X$(e),Ofe=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Bi(192|t>>>6)+Bi(128|t&63):Bi(224|t>>>12&15)+Bi(128|t>>>6&63)+Bi(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Bi(240|t>>>18&7)+Bi(128|t>>>12&63)+Bi(128|t>>>6&63)+Bi(128|t&63)}},Rfe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,uQ=e=>e.replace(Rfe,Ofe),GU=c0?e=>Buffer.from(e,"utf8").toString("base64"):HU?e=>X$(HU.encode(e)):e=>J3(uQ(e)),Fb=(e,t=!1)=>t?oQ(GU(e)):GU(e),YU=e=>Fb(e,!0),Pfe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Afe=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Bi((n>>>10)+55296)+Bi((n&1023)+56320);case 3:return Bi((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Bi((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},cQ=e=>e.replace(Pfe,Afe),dQ=e=>{if(e=e.replace(/\s+/g,""),!_fe.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,n="",r,a;for(let i=0;i>16&255):a===64?Bi(t>>16&255,t>>8&255):Bi(t>>16&255,t>>8&255,t&255);return n},Z3=typeof atob=="function"?e=>atob(sQ(e)):c0?e=>Buffer.from(e,"base64").toString("binary"):dQ,fQ=c0?e=>VU(Buffer.from(e,"base64")):e=>VU(Z3(e).split("").map(t=>t.charCodeAt(0))),pQ=e=>fQ(hQ(e)),Nfe=c0?e=>Buffer.from(e,"base64").toString("utf8"):qU?e=>qU.decode(fQ(e)):e=>cQ(Z3(e)),hQ=e=>sQ(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),Q$=e=>Nfe(hQ(e)),Mfe=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},mQ=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),gQ=function(){const e=(t,n)=>Object.defineProperty(String.prototype,t,mQ(n));e("fromBase64",function(){return Q$(this)}),e("toBase64",function(t){return Fb(this,t)}),e("toBase64URI",function(){return Fb(this,!0)}),e("toBase64URL",function(){return Fb(this,!0)}),e("toUint8Array",function(){return pQ(this)})},vQ=function(){const e=(t,n)=>Object.defineProperty(Uint8Array.prototype,t,mQ(n));e("toBase64",function(t){return wk(this,t)}),e("toBase64URI",function(){return wk(this,!0)}),e("toBase64URL",function(){return wk(this,!0)})},Ife=()=>{gQ(),vQ()},Dfe={version:iQ,VERSION:kfe,atob:Z3,atobPolyfill:dQ,btoa:J3,btoaPolyfill:lQ,fromBase64:Q$,toBase64:Fb,encode:Fb,encodeURI:YU,encodeURL:YU,utob:uQ,btou:cQ,decode:Q$,isValid:Mfe,fromUint8Array:wk,toUint8Array:pQ,extendString:gQ,extendUint8Array:vQ,extendBuiltins:Ife};var RR,KU;function $fe(){return KU||(KU=1,RR=function(t,n){if(n=n.split(":")[0],t=+t,!t)return!1;switch(n){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0}),RR}var WC={},XU;function Lfe(){if(XU)return WC;XU=1;var e=Object.prototype.hasOwnProperty,t;function n(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}function r(o){try{return encodeURIComponent(o)}catch{return null}}function a(o){for(var l=/([^=?#&]+)=?([^&]*)/g,u={},d;d=l.exec(o);){var f=n(d[1]),g=n(d[2]);f===null||g===null||f in u||(u[f]=g)}return u}function i(o,l){l=l||"";var u=[],d,f;typeof l!="string"&&(l="?");for(f in o)if(e.call(o,f)){if(d=o[f],!d&&(d===null||d===t||isNaN(d))&&(d=""),f=r(f),d=r(d),f===null||d===null)continue;u.push(f+"="+d)}return u.length?l+u.join("&"):""}return WC.stringify=i,WC.parse=a,WC}var PR,QU;function Ffe(){if(QU)return PR;QU=1;var e=$fe(),t=Lfe(),n=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,r=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/:\d+$/,o=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function u(k){return(k||"").toString().replace(n,"")}var d=[["#","hash"],["?","query"],function(_,A){return y(A.protocol)?_.replace(/\\/g,"/"):_},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function g(k){var _;typeof window<"u"?_=window:typeof El<"u"?_=El:typeof self<"u"?_=self:_={};var A=_.location||{};k=k||A;var P={},N=typeof k,I;if(k.protocol==="blob:")P=new E(unescape(k.pathname),{});else if(N==="string"){P=new E(k,{});for(I in f)delete P[I]}else if(N==="object"){for(I in k)I in f||(P[I]=k[I]);P.slashes===void 0&&(P.slashes=a.test(k.href))}return P}function y(k){return k==="file:"||k==="ftp:"||k==="http:"||k==="https:"||k==="ws:"||k==="wss:"}function h(k,_){k=u(k),k=k.replace(r,""),_=_||{};var A=o.exec(k),P=A[1]?A[1].toLowerCase():"",N=!!A[2],I=!!A[3],L=0,j;return N?I?(j=A[2]+A[3]+A[4],L=A[2].length+A[3].length):(j=A[2]+A[4],L=A[2].length):I?(j=A[3]+A[4],L=A[3].length):j=A[4],P==="file:"?L>=2&&(j=j.slice(2)):y(P)?j=A[4]:P?N&&(j=j.slice(2)):L>=2&&y(_.protocol)&&(j=A[4]),{protocol:P,slashes:N||y(P),slashesCount:L,rest:j}}function v(k,_){if(k==="")return _;for(var A=(_||"/").split("/").slice(0,-1).concat(k.split("/")),P=A.length,N=A[P-1],I=!1,L=0;P--;)A[P]==="."?A.splice(P,1):A[P]===".."?(A.splice(P,1),L++):L&&(P===0&&(I=!0),A.splice(P,1),L--);return I&&A.unshift(""),(N==="."||N==="..")&&A.push(""),A.join("/")}function E(k,_,A){if(k=u(k),k=k.replace(r,""),!(this instanceof E))return new E(k,_,A);var P,N,I,L,j,z,Q=d.slice(),le=typeof _,re=this,ge=0;for(le!=="object"&&le!=="string"&&(A=_,_=null),A&&typeof A!="function"&&(A=t.parse),_=g(_),N=h(k||"",_),P=!N.protocol&&!N.slashes,re.slashes=N.slashes||P&&_.slashes,re.protocol=N.protocol||_.protocol||"",k=N.rest,(N.protocol==="file:"&&(N.slashesCount!==2||l.test(k))||!N.slashes&&(N.protocol||N.slashesCount<2||!y(re.protocol)))&&(Q[3]=[/(.*)/,"pathname"]);ge=0;--H){var Y=this.tryEntries[H],ie=Y.completion;if(Y.tryLoc==="root")return ce("end");if(Y.tryLoc<=this.prev){var J=r.call(Y,"catchLoc"),ee=r.call(Y,"finallyLoc");if(J&&ee){if(this.prev=0;--ce){var H=this.tryEntries[ce];if(H.tryLoc<=this.prev&&r.call(H,"finallyLoc")&&this.prev=0;--q){var ce=this.tryEntries[q];if(ce.finallyLoc===G)return this.complete(ce.completion,ce.afterLoc),re(ce),T}},catch:function(G){for(var q=this.tryEntries.length-1;q>=0;--q){var ce=this.tryEntries[q];if(ce.tryLoc===G){var H=ce.completion;if(H.type==="throw"){var Y=H.arg;re(ce)}return Y}}throw Error("illegal catch attempt")},delegateYield:function(G,q,ce){return this.delegate={iterator:me(G),resultName:q,nextLoc:ce},this.method==="next"&&(this.arg=e),T}},t}function JU(e,t,n,r,a,i,o){try{var l=e[i](o),u=l.value}catch(d){n(d);return}l.done?t(u):Promise.resolve(u).then(r,a)}function Wfe(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(u){JU(i,r,a,o,l,"next",u)}function l(u){JU(i,r,a,o,l,"throw",u)}o(void 0)})}}function yQ(e,t){return Hfe(e)||qfe(e,t)||bQ(e,t)||zfe()}function zfe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qfe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,o,l=[],u=!0,d=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(u=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(f){d=!0,a=f}finally{try{if(!u&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw a}}return l}}function Hfe(e){if(Array.isArray(e))return e}function xv(e){"@babel/helpers - typeof";return xv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xv(e)}function Vfe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=bQ(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return i=d.done,d},e:function(d){o=!0,l=d},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw l}}}}function bQ(e,t){if(e){if(typeof e=="string")return ZU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ZU(e,t)}}function ZU(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1)for(var i=0,o=["uploadUrl","uploadSize","uploadLengthDeferred"];i1||n._parallelUploadUrls!=null?n._startParallelUpload():n._startSingleUpload()}).catch(function(u){n._emitError(u)})}},{key:"_startParallelUpload",value:function(){var n,r=this,a=this._size,i=0;this._parallelUploads=[];var o=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,l=(n=this.options.parallelUploadBoundaries)!==null&&n!==void 0?n:Zfe(this._source.size,o);this._parallelUploadUrls&&l.forEach(function(f,g){f.uploadUrl=r._parallelUploadUrls[g]||null}),this._parallelUploadUrls=new Array(l.length);var u=l.map(function(f,g){var y=0;return r._source.slice(f.start,f.end).then(function(h){var v=h.value;return new Promise(function(E,T){var C=lb(lb({},r.options),{},{uploadUrl:f.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:r.options.metadataForPartialUploads,headers:lb(lb({},r.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:E,onError:T,onProgress:function(A){i=i-y+A,y=A,r._emitProgress(i,a)},onUploadUrlAvailable:function(){r._parallelUploadUrls[g]=k.url,r._parallelUploadUrls.filter(function(A){return!!A}).length===l.length&&r._saveUploadInUrlStorage()}}),k=new e(v,C);k.start(),r._parallelUploads.push(k)})})}),d;Promise.all(u).then(function(){d=r._openRequest("POST",r.options.endpoint),d.setHeader("Upload-Concat","final;".concat(r._parallelUploadUrls.join(" ")));var f=n6(r.options.metadata);return f!==""&&d.setHeader("Upload-Metadata",f),r._sendRequest(d,null)}).then(function(f){if(!Sb(f.getStatus(),200)){r._emitHttpError(d,f,"tus: unexpected response while creating upload");return}var g=f.getHeader("Location");if(g==null){r._emitHttpError(d,f,"tus: invalid or missing Location header");return}r.url=o6(r.options.endpoint,g),"Created upload at ".concat(r.url),r._emitSuccess(f)}).catch(function(f){r._emitError(f)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){"Resuming upload from previous URL: ".concat(this.url),this._resumeUpload();return}if(this.options.uploadUrl!=null){"Resuming upload from provided URL: ".concat(this.options.uploadUrl),this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(n){var r=this;if(this._parallelUploads!=null){var a=Vfe(this._parallelUploads),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;o.abort(n)}}catch(l){a.e(l)}finally{a.f()}}return this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!n||this.url==null?Promise.resolve():e.terminate(this.url,this.options).then(function(){return r._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(n,r,a,i){this._emitError(new UC(a,i,n,r))}},{key:"_emitError",value:function(n){var r=this;if(!this._aborted){if(this.options.retryDelays!=null){var a=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(a&&(this._retryAttempt=0),i6(n,this._retryAttempt,this.options)){var i=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){r.start()},i);return}}if(typeof this.options.onError=="function")this.options.onError(n);else throw n}}},{key:"_emitSuccess",value:function(n){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess({lastResponse:n})}},{key:"_emitProgress",value:function(n,r){typeof this.options.onProgress=="function"&&this.options.onProgress(n,r)}},{key:"_emitChunkComplete",value:function(n,r,a){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(n,r,a)}},{key:"_createUpload",value:function(){var n=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var r=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?r.setHeader("Upload-Defer-Length","1"):r.setHeader("Upload-Length","".concat(this._size));var a=n6(this.options.metadata);a!==""&&r.setHeader("Upload-Metadata",a);var i;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,i=this._addChunkToRequest(r)):((this.options.protocol===Ek||this.options.protocol===iS)&&r.setHeader("Upload-Complete","?0"),i=this._sendRequest(r,null)),i.then(function(o){if(!Sb(o.getStatus(),200)){n._emitHttpError(r,o,"tus: unexpected response while creating upload");return}var l=o.getHeader("Location");if(l==null){n._emitHttpError(r,o,"tus: invalid or missing Location header");return}if(n.url=o6(n.options.endpoint,l),"Created upload at ".concat(n.url),typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._size===0){n._emitSuccess(o),n._source.close();return}n._saveUploadInUrlStorage().then(function(){n.options.uploadDataDuringCreation?n._handleUploadResponse(r,o):(n._offset=0,n._performUpload())})}).catch(function(o){n._emitHttpError(r,null,"tus: failed to create upload",o)})}},{key:"_resumeUpload",value:function(){var n=this,r=this._openRequest("HEAD",this.url),a=this._sendRequest(r,null);a.then(function(i){var o=i.getStatus();if(!Sb(o,200)){if(o===423){n._emitHttpError(r,i,"tus: upload is currently locked; retry later");return}if(Sb(o,400)&&n._removeFromUrlStorage(),!n.options.endpoint){n._emitHttpError(r,i,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}n.url=null,n._createUpload();return}var l=Number.parseInt(i.getHeader("Upload-Offset"),10);if(Number.isNaN(l)){n._emitHttpError(r,i,"tus: invalid or missing offset value");return}var u=Number.parseInt(i.getHeader("Upload-Length"),10);if(Number.isNaN(u)&&!n.options.uploadLengthDeferred&&n.options.protocol===Sk){n._emitHttpError(r,i,"tus: invalid or missing length value");return}typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._saveUploadInUrlStorage().then(function(){if(l===u){n._emitProgress(u,u),n._emitSuccess(i);return}n._offset=l,n._performUpload()})}).catch(function(i){n._emitHttpError(r,null,"tus: failed to resume upload",i)})}},{key:"_performUpload",value:function(){var n=this;if(!this._aborted){var r;this.options.overridePatchMethod?(r=this._openRequest("POST",this.url),r.setHeader("X-HTTP-Method-Override","PATCH")):r=this._openRequest("PATCH",this.url),r.setHeader("Upload-Offset","".concat(this._offset));var a=this._addChunkToRequest(r);a.then(function(i){if(!Sb(i.getStatus(),200)){n._emitHttpError(r,i,"tus: unexpected response while uploading chunk");return}n._handleUploadResponse(r,i)}).catch(function(i){n._aborted||n._emitHttpError(r,null,"tus: failed to upload chunk at offset ".concat(n._offset),i)})}}},{key:"_addChunkToRequest",value:function(n){var r=this,a=this._offset,i=this._offset+this.options.chunkSize;return n.setProgressHandler(function(o){r._emitProgress(a+o,r._size)}),this.options.protocol===Sk?n.setHeader("Content-Type","application/offset+octet-stream"):this.options.protocol===iS&&n.setHeader("Content-Type","application/partial-upload"),(i===Number.POSITIVE_INFINITY||i>this._size)&&!this.options.uploadLengthDeferred&&(i=this._size),this._source.slice(a,i).then(function(o){var l=o.value,u=o.done,d=l!=null&&l.size?l.size:0;r.options.uploadLengthDeferred&&u&&(r._size=r._offset+d,n.setHeader("Upload-Length","".concat(r._size)));var f=r._offset+d;return!r.options.uploadLengthDeferred&&u&&f!==r._size?Promise.reject(new Error("upload was configured with a size of ".concat(r._size," bytes, but the source is done after ").concat(f," bytes"))):l===null?r._sendRequest(n):((r.options.protocol===Ek||r.options.protocol===iS)&&n.setHeader("Upload-Complete",u?"?1":"?0"),r._emitProgress(r._offset,r._size),r._sendRequest(n,l))})}},{key:"_handleUploadResponse",value:function(n,r){var a=Number.parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(a)){this._emitHttpError(n,r,"tus: invalid or missing offset value");return}if(this._emitProgress(a,this._size),this._emitChunkComplete(a-this._offset,a,this._size),this._offset=a,a===this._size){this._emitSuccess(r),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(n,r){var a=r6(n,r,this.options);return this._req=a,a}},{key:"_removeFromUrlStorage",value:function(){var n=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(r){n._emitError(r)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var n=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var r={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?r.parallelUploadUrls=this._parallelUploadUrls:r.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,r).then(function(a){n._urlStorageKey=a})}},{key:"_sendRequest",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return a6(n,r,this.options)}}],[{key:"terminate",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r6("DELETE",n,r);return a6(a,null,r).then(function(i){if(i.getStatus()!==204)throw new UC("tus: unexpected response while terminating upload",null,a,i)}).catch(function(i){if(i instanceof UC||(i=new UC("tus: failed to terminate upload",i,a,null)),!i6(i,0,r))throw i;var o=r.retryDelays[0],l=r.retryDelays.slice(1),u=lb(lb({},r),{},{retryDelays:l});return new Promise(function(d){return setTimeout(d,o)}).then(function(){return e.terminate(n,u)})})}}])})();function n6(e){return Object.entries(e).map(function(t){var n=yQ(t,2),r=n[0],a=n[1];return"".concat(r," ").concat(Dfe.encode(String(a)))}).join(",")}function Sb(e,t){return e>=t&&e=n.retryDelays.length||e.originalRequest==null?!1:n&&typeof n.onShouldRetry=="function"?n.onShouldRetry(e,t,n):SQ(e)}function SQ(e){var t=e.originalResponse?e.originalResponse.getStatus():0;return(!Sb(t,400)||t===409||t===423)&&Jfe()}function o6(e,t){return new Ufe(t,e).toString()}function Zfe(e,t){for(var n=Math.floor(e/t),r=[],a=0;a=this.size;return Promise.resolve({value:a,done:i})}},{key:"close",value:function(){}}])})();function $S(e){"@babel/helpers - typeof";return $S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$S(e)}function lpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function upe(e,t){for(var n=0;nthis._bufferOffset&&(this._buffer=this._buffer.slice(n-this._bufferOffset),this._bufferOffset=n);var a=l6(this._buffer)===0;return this._done&&a?null:this._buffer.slice(0,r-n)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])})();function _v(e){"@babel/helpers - typeof";return _v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_v(e)}function eL(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */eL=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(W,G,q){W[G]=q.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function d(W,G,q){return Object.defineProperty(W,G,{value:q,enumerable:!0,configurable:!0,writable:!0}),W[G]}try{d({},"")}catch{d=function(q,ce,H){return q[ce]=H}}function f(W,G,q,ce){var H=G&&G.prototype instanceof C?G:C,Y=Object.create(H.prototype),ie=new ge(ce||[]);return a(Y,"_invoke",{value:z(W,q,ie)}),Y}function g(W,G,q){try{return{type:"normal",arg:W.call(G,q)}}catch(ce){return{type:"throw",arg:ce}}}t.wrap=f;var y="suspendedStart",h="suspendedYield",v="executing",E="completed",T={};function C(){}function k(){}function _(){}var A={};d(A,o,function(){return this});var P=Object.getPrototypeOf,N=P&&P(P(me([])));N&&N!==n&&r.call(N,o)&&(A=N);var I=_.prototype=C.prototype=Object.create(A);function L(W){["next","throw","return"].forEach(function(G){d(W,G,function(q){return this._invoke(G,q)})})}function j(W,G){function q(H,Y,ie,J){var ee=g(W[H],W,Y);if(ee.type!=="throw"){var Z=ee.arg,ue=Z.value;return ue&&_v(ue)=="object"&&r.call(ue,"__await")?G.resolve(ue.__await).then(function(ke){q("next",ke,ie,J)},function(ke){q("throw",ke,ie,J)}):G.resolve(ue).then(function(ke){Z.value=ke,ie(Z)},function(ke){return q("throw",ke,ie,J)})}J(ee.arg)}var ce;a(this,"_invoke",{value:function(Y,ie){function J(){return new G(function(ee,Z){q(Y,ie,ee,Z)})}return ce=ce?ce.then(J,J):J()}})}function z(W,G,q){var ce=y;return function(H,Y){if(ce===v)throw Error("Generator is already running");if(ce===E){if(H==="throw")throw Y;return{value:e,done:!0}}for(q.method=H,q.arg=Y;;){var ie=q.delegate;if(ie){var J=Q(ie,q);if(J){if(J===T)continue;return J}}if(q.method==="next")q.sent=q._sent=q.arg;else if(q.method==="throw"){if(ce===y)throw ce=E,q.arg;q.dispatchException(q.arg)}else q.method==="return"&&q.abrupt("return",q.arg);ce=v;var ee=g(W,G,q);if(ee.type==="normal"){if(ce=q.done?E:h,ee.arg===T)continue;return{value:ee.arg,done:q.done}}ee.type==="throw"&&(ce=E,q.method="throw",q.arg=ee.arg)}}}function Q(W,G){var q=G.method,ce=W.iterator[q];if(ce===e)return G.delegate=null,q==="throw"&&W.iterator.return&&(G.method="return",G.arg=e,Q(W,G),G.method==="throw")||q!=="return"&&(G.method="throw",G.arg=new TypeError("The iterator does not provide a '"+q+"' method")),T;var H=g(ce,W.iterator,G.arg);if(H.type==="throw")return G.method="throw",G.arg=H.arg,G.delegate=null,T;var Y=H.arg;return Y?Y.done?(G[W.resultName]=Y.value,G.next=W.nextLoc,G.method!=="return"&&(G.method="next",G.arg=e),G.delegate=null,T):Y:(G.method="throw",G.arg=new TypeError("iterator result is not an object"),G.delegate=null,T)}function le(W){var G={tryLoc:W[0]};1 in W&&(G.catchLoc=W[1]),2 in W&&(G.finallyLoc=W[2],G.afterLoc=W[3]),this.tryEntries.push(G)}function re(W){var G=W.completion||{};G.type="normal",delete G.arg,W.completion=G}function ge(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(le,this),this.reset(!0)}function me(W){if(W||W===""){var G=W[o];if(G)return G.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var q=-1,ce=function H(){for(;++q=0;--H){var Y=this.tryEntries[H],ie=Y.completion;if(Y.tryLoc==="root")return ce("end");if(Y.tryLoc<=this.prev){var J=r.call(Y,"catchLoc"),ee=r.call(Y,"finallyLoc");if(J&&ee){if(this.prev=0;--ce){var H=this.tryEntries[ce];if(H.tryLoc<=this.prev&&r.call(H,"finallyLoc")&&this.prev=0;--q){var ce=this.tryEntries[q];if(ce.finallyLoc===G)return this.complete(ce.completion,ce.afterLoc),re(ce),T}},catch:function(G){for(var q=this.tryEntries.length-1;q>=0;--q){var ce=this.tryEntries[q];if(ce.tryLoc===G){var H=ce.completion;if(H.type==="throw"){var Y=H.arg;re(ce)}return Y}}throw Error("illegal catch attempt")},delegateYield:function(G,q,ce){return this.delegate={iterator:me(G),resultName:q,nextLoc:ce},this.method==="next"&&(this.arg=e),T}},t}function u6(e,t,n,r,a,i,o){try{var l=e[i](o),u=l.value}catch(d){n(d);return}l.done?t(u):Promise.resolve(u).then(r,a)}function mpe(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(u){u6(i,r,a,o,l,"next",u)}function l(u){u6(i,r,a,o,l,"throw",u)}o(void 0)})}}function gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vpe(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(a,i){n._xhr.onload=function(){a(new Ppe(n._xhr))},n._xhr.onerror=function(o){i(o)},n._xhr.send(r)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})(),Ppe=(function(){function e(t){eF(this,e),this._xhr=t}return tF(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(n){return this._xhr.getResponseHeader(n)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})();function FS(e){"@babel/helpers - typeof";return FS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},FS(e)}function Ape(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Npe(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fpe(this,t),r=kb(kb({},f6),r),Bpe(this,t,[n,r])}return qpe(t,e),Upe(t,null,[{key:"terminate",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a=kb(kb({},f6),a),Yk.terminate(r,a)}}])})(Yk);const nt=ze.createContext({setSession(e){},options:{}});class Ype{async setItem(t,n){return localStorage.setItem(t,n)}async getItem(t){return localStorage.getItem(t)}async removeItem(t){return localStorage.removeItem(t)}}async function Kpe(e,t,n){n.setItem("fb_microservice_"+e,JSON.stringify(t))}function Xpe(e,t,n){n.setItem("fb_selected_workspace_"+e,JSON.stringify(t))}async function Qpe(e,t){let n=null;try{n=JSON.parse(await t.getItem("fb_microservice_"+e))}catch{}return n}async function Jpe(e,t){let n=null;try{n=JSON.parse(await t.getItem("fb_selected_workspace_"+e))}catch{}return n}function Zpe({children:e,remote:t,selectedUrw:n,identifier:r,token:a,preferredAcceptLanguage:i,queryClient:o,defaultExecFn:l,socketEnabled:u,socket:d,credentialStorage:f,prefix:g}){var G;const[y,h]=R.useState(!1),[v,E]=R.useState(),[T,C]=R.useState(""),[k,_]=R.useState(),A=R.useRef(f||new Ype),P=async()=>{const q=await Jpe(r,A.current),ce=await Qpe(r,A.current);_(q),E(ce),h(!0)};R.useEffect(()=>{P()},[]);const[N,I]=R.useState([]),[L,j]=R.useState(l),z=!!v,Q=q=>{Xpe(r,q,A.current),_(q)},le=q=>{E(()=>(Kpe(r,q,A.current),q))},re={headers:{authorization:a||(v==null?void 0:v.token)},prefix:(T||t)+(g||"")};if(k)re.headers["workspace-id"]=k.workspaceId,re.headers["role-id"]=k.roleId;else if(n)re.headers["workspace-id"]=n.workspaceId,re.headers["role-id"]=n.roleId;else if(v!=null&&v.userWorkspaces&&v.userWorkspaces.length>0){const q=v.userWorkspaces[0];re.headers["workspace-id"]=q.workspaceId,re.headers["role-id"]=q.roleId}i&&(re.headers["accept-language"]=i),R.useEffect(()=>{a&&E({...v||{},token:a})},[a]);const ge=()=>{var q;E(null),(q=A.current)==null||q.removeItem("fb_microservice_"+r),Q(void 0)},me=()=>{I([])},{socketState:W}=ehe(t,(G=re.headers)==null?void 0:G.authorization,re.headers["workspace-id"],o,u);return w.jsx(nt.Provider,{value:{options:re,signout:ge,setOverrideRemoteUrl:C,overrideRemoteUrl:T,setSession:le,socketState:W,checked:y,selectedUrw:k,selectUrw:Q,session:v,preferredAcceptLanguage:i,activeUploads:N,setActiveUploads:I,execFn:L,setExecFn:j,discardActiveUploads:me,isAuthenticated:z},children:e})}function ehe(e,t,n,r,a=!0){const[i,o]=R.useState({state:"unknown"});return R.useEffect(()=>{if(!e||!t||t==="undefined"||a===!1)return;const l=e.replace("https","wss").replace("http","ws");let u;try{u=new WebSocket(`${l}ws?token=${t}&workspaceId=${n}`),u.onerror=function(d){o({state:"error"})},u.onclose=function(d){o({state:"closed"})},u.onmessage=function(d){try{const f=JSON.parse(d.data);f!=null&&f.cacheKey&&r.invalidateQueries(f==null?void 0:f.cacheKey)}catch{console.error("Socket message parsing error",d)}},u.onopen=function(d){o({state:"connected"})}}catch{}return()=>{(u==null?void 0:u.readyState)===1&&u.close()}},[t,n]),{socketState:i}}function Gt(e){if(!e)return{};const t={};return e.startIndex&&(t.startIndex=e.startIndex),e.itemsPerPage&&(t.itemsPerPage=e.itemsPerPage),e.query&&(t.query=e.query),e.deep&&(t.deep=e.deep),e.jsonQuery&&(t.jsonQuery=JSON.stringify(e.jsonQuery)),e.withPreloads&&(t.withPreloads=e.withPreloads),e.uniqueId&&(t.uniqueId=e.uniqueId),e.sort&&(t.sort=e.sort),t}function the(){const{activeUploads:e,setActiveUploads:t}=R.useContext(nt),n=()=>{t([])};return e.length===0?null:w.jsxs("div",{className:"active-upload-box",children:[w.jsxs("div",{className:"upload-header",children:[w.jsxs("span",{children:[e.length," Uploads"]}),w.jsx("span",{className:"action-section",children:w.jsx("button",{onClick:n,children:w.jsx("img",{src:"/common/close.svg"})})})]}),e.map(r=>w.jsxs("div",{className:"upload-file-item",children:[w.jsx("span",{children:r.filename}),w.jsxs("span",{children:[Math.ceil(r.bytesSent/r.bytesTotal*100),"%"]})]},r.uploadId))]})}var NR={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/var xU;function tm(){return xU||(xU=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",o=0;o{if(!e.body)throw new Error("SSE requires readable body");const r=e.body.getReader(),a=new TextDecoder;let i="";const o=new Promise((l,u)=>{function d(){r.read().then(({done:f,value:g})=>{if(n!=null&&n.aborted)return r.cancel(),l();if(f)return l();i+=a.decode(g,{stream:!0});const y=i.split(` +*/var p6;function ph(){return p6||(p6=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",o=0;o{if(!e.body)throw new Error("SSE requires readable body");const r=e.body.getReader(),a=new TextDecoder;let i="";const o=new Promise((l,u)=>{function d(){r.read().then(({done:f,value:g})=>{if(n!=null&&n.aborted)return r.cancel(),l();if(f)return l();i+=a.decode(g,{stream:!0});const y=i.split(` -`);i=y.pop()||"";for(const p of y){let v="",E="message";if(p.split(` -`).forEach(T=>{T.startsWith("data:")?v+=T.slice(5).trim():T.startsWith("event:")&&(E=T.slice(6).trim())}),v){if(v==="[DONE]")return l();t==null||t(new MessageEvent(E,{data:v}))}}d()}).catch(f=>{f.name==="AbortError"?l():u(f)})}d()});return{response:e,done:o}};class m3{constructor(t="",n={},r,a,i=null){this.baseUrl=t,this.defaultHeaders=n,this.requestInterceptor=r,this.responseInterceptor=a,this.fetchOverrideFn=i}async apply(t,n){return/^https?:\/\//.test(t)||(t=this.baseUrl+t),n.headers={...this.defaultHeaders,...n.headers||{}},this.requestInterceptor?this.requestInterceptor(t,n):[t,n]}async handle(t){return this.responseInterceptor?this.responseInterceptor(t):t}clone(t){return new m3((t==null?void 0:t.baseUrl)??this.baseUrl,{...this.defaultHeaders,...(t==null?void 0:t.defaultHeaders)||{}},(t==null?void 0:t.requestInterceptor)??this.requestInterceptor,(t==null?void 0:t.responseInterceptor)??this.responseInterceptor)}}function ev(e,t){const n={};for(const[r,a]of Object.entries(t))typeof a=="string"?n[r]=`${e}.${a}`:typeof a=="object"&&a!==null&&(n[r]=a);return n}function ya(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var wpe=0;function uv(e){return"__private_"+wpe+++"_"+e}var ed=uv("passport"),Sh=uv("token"),Eh=uv("exchangeKey"),td=uv("userWorkspaces"),nd=uv("user"),Th=uv("userId"),QO=uv("isJsonAppliable");class Bi{get passport(){return ya(this,ed)[ed]}set passport(t){t instanceof uS?ya(this,ed)[ed]=t:ya(this,ed)[ed]=new uS(t)}setPassport(t){return this.passport=t,this}get token(){return ya(this,Sh)[Sh]}set token(t){ya(this,Sh)[Sh]=String(t)}setToken(t){return this.token=t,this}get exchangeKey(){return ya(this,Eh)[Eh]}set exchangeKey(t){ya(this,Eh)[Eh]=String(t)}setExchangeKey(t){return this.exchangeKey=t,this}get userWorkspaces(){return ya(this,td)[td]}set userWorkspaces(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof cb?ya(this,td)[td]=t:ya(this,td)[td]=t.map(n=>new cb(n)))}setUserWorkspaces(t){return this.userWorkspaces=t,this}get user(){return ya(this,nd)[nd]}set user(t){t instanceof aa?ya(this,nd)[nd]=t:ya(this,nd)[nd]=new aa(t)}setUser(t){return this.user=t,this}get userId(){return ya(this,Th)[Th]}set userId(t){const n=typeof t=="string"||t===void 0||t===null;ya(this,Th)[Th]=n?t:String(t)}setUserId(t){return this.userId=t,this}constructor(t=void 0){if(Object.defineProperty(this,QO,{value:Spe}),Object.defineProperty(this,ed,{writable:!0,value:void 0}),Object.defineProperty(this,Sh,{writable:!0,value:""}),Object.defineProperty(this,Eh,{writable:!0,value:""}),Object.defineProperty(this,td,{writable:!0,value:[]}),Object.defineProperty(this,nd,{writable:!0,value:void 0}),Object.defineProperty(this,Th,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(ya(this,QO)[QO](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.passport!==void 0&&(this.passport=n.passport),n.token!==void 0&&(this.token=n.token),n.exchangeKey!==void 0&&(this.exchangeKey=n.exchangeKey),n.userWorkspaces!==void 0&&(this.userWorkspaces=n.userWorkspaces),n.user!==void 0&&(this.user=n.user),n.userId!==void 0&&(this.userId=n.userId)}toJSON(){return{passport:ya(this,ed)[ed],token:ya(this,Sh)[Sh],exchangeKey:ya(this,Eh)[Eh],userWorkspaces:ya(this,td)[td],user:ya(this,nd)[nd],userId:ya(this,Th)[Th]}}toString(){return JSON.stringify(this)}static get Fields(){return{passport:"passport",token:"token",exchangeKey:"exchangeKey",userWorkspaces$:"userWorkspaces",get userWorkspaces(){return ev("userWorkspaces[:i]",cb.Fields)},user:"user",userId:"userId"}}static from(t){return new Bi(t)}static with(t){return new Bi(t)}copyWith(t){return new Bi({...this.toJSON(),...t})}clone(){return new Bi(this.toJSON())}}function Spe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}class bx{constructor(){this.password=void 0,this.uniqueId=void 0}}bx.Fields={password:"password",uniqueId:"uniqueId"};class h3{constructor(){this.value=void 0,this.password=void 0,this.totpCode=void 0}}h3.Fields={value:"value",password:"password",totpCode:"totpCode"};function Epe(e,t){var r,a;let n=!1;for(const i of((r=e==null?void 0:e.role)==null?void 0:r.capabilities)||[])if(i.uniqueId===t||i.uniqueId==="root.*"||(a=i==null?void 0:i.uniqueId)!=null&&a.endsWith(".*")&&t.includes(i.uniqueId.replace("*",""))){n=!0;break}return n}function Tpe(e,t,n){let r=!1,a=!1;if(!e)return!1;const i=t.find(l=>l.uniqueId===e.workspaceId);if(!i)return!1;for(const l of i.capabilities||[])if(new RegExp(l).test(n)){r=!0;break}const o=(i.roles||[]).find(l=>l.uniqueId===e.roleId);if(!o)return!1;for(const l of o.capabilities||[])if(new RegExp(l).test(n)){a=!0;break}return r&&a}function FX(e){for(var t=[],n=e.length,r,a=0;a>>0,t.push(String.fromCharCode(r));return t.join("")}function Cpe(e,t,n,r,a){var i=new XMLHttpRequest;i.open(t,e),i.addEventListener("load",function(){var o=FX(this.responseText);o="data:application/text;base64,"+btoa(o),document.location=o},!1),i.setRequestHeader("Authorization",n),i.setRequestHeader("Workspace-Id",r),i.setRequestHeader("role-Id",a),i.overrideMimeType("application/octet-stream; charset=x-user-defined;"),i.send(null)}const kpe=({path:e})=>{At();const{options:t}=R.useContext(Je);UX(e?()=>{const n=t==null?void 0:t.headers;Cpe(t.prefix+""+e,"GET",n.authorization||"",n["workspace-id"]||"",n["role-id"]||"")}:void 0,Ir.ExportTable)};function $b(e,t){const n={[Ir.NewEntity]:"n",[Ir.NewChildEntity]:"n",[Ir.EditEntity]:"e",[Ir.SidebarToggle]:"m",[Ir.ViewQuestions]:"q",[Ir.Delete]:"Backspace",[Ir.StopStart]:" ",[Ir.ExportTable]:"x",[Ir.CommonBack]:"Escape",[Ir.Select1Index]:"1",[Ir.Select2Index]:"2",[Ir.Select3Index]:"3",[Ir.Select4Index]:"4",[Ir.Select5Index]:"5",[Ir.Select6Index]:"6",[Ir.Select7Index]:"7",[Ir.Select8Index]:"8",[Ir.Select9Index]:"9"};let r;return typeof e=="object"?r=e.map(a=>n[a]):typeof e=="string"&&(r=n[e]),g3(r,t)}function g3(e,t){R.useEffect(()=>{if(!e||e.length===0||!t)return;function n(r){var a=r||window.event,i=a.target||a.srcElement;const o=i.tagName.toUpperCase(),l=i.type;if(["TEXTAREA","SELECT"].includes(o)){r.key==="Escape"&&a.target.blur();return}if(o==="INPUT"&&(l==="text"||l==="password")){r.key==="Escape"&&a.target.blur();return}let u=!1;typeof e=="string"&&r.key===e?u=!0:Array.isArray(e)&&(u=e.includes(r.key)),u&&t&&t(r.key)}if(t)return window.addEventListener("keyup",n),()=>{window.removeEventListener("keyup",n)}},[t,e])}function m$({filter:e}){const t=R.useContext(wx);return w.jsx(w.Fragment,{children:(t.refs||[]).filter(e||Boolean).map(n=>w.jsx(xpe,{mref:n},n.id))})}function xpe({mref:e}){var t;return w.jsx("div",{className:"action-menu",children:w.jsx("ul",{className:"navbar-nav",children:(t=e.actions)==null?void 0:t.filter(Boolean).map(n=>w.jsx(_pe,{item:n},n.uniqueActionKey))})})}function _pe({item:e}){if(e.Component){const t=e.Component;return w.jsx("li",{className:"action-menu-item",children:w.jsx(t,{})})}return w.jsx("li",{className:ia("action-menu-item",e.className),onClick:e.onSelect,children:e.icon?w.jsx("span",{children:w.jsx("img",{src:kr.PUBLIC_URL+e.icon,title:e.label,alt:e.label})}):w.jsx("span",{children:e.label})})}const wx=ze.createContext({setActionMenu(){},removeActionMenu(){},removeActionMenuItems(e,t){},refs:[]});function Ope(){const e=R.useContext(wx);return{addActions:(a,i)=>(e.setActionMenu(a,i),()=>e.removeActionMenu(a)),removeActionMenu:a=>{e.removeActionMenu(a)},deleteActions:(a,i)=>{e.removeActionMenuItems(a,i)}}}function WS(e,t,n,r){const a=R.useContext(wx);return R.useEffect(()=>(a.setActionMenu(e,t.filter(i=>i!==void 0)),()=>{a.removeActionMenu(e)}),[]),{addActions(i,o=e){a.setActionMenu(o,i)},deleteActions(i,o=e){a.removeActionMenuItems(o,i)}}}function Rpe({children:e}){const[t,n]=R.useState([]),r=(o,l)=>{n(u=>(u.find(f=>f.id===o)?u=u.map(f=>f.id===o?{...f,actions:l}:f):u.push({id:o,actions:l}),[...u]))},a=o=>{n(l=>[...l.filter(u=>u.id!==o)])},i=(o,l)=>{for(let d=0;dv===y.uniqueActionKey)||g.push(y);f.actions=g}}const u=[...t];n(u)};return w.jsx(wx.Provider,{value:{refs:t,setActionMenu:r,removeActionMenuItems:i,removeActionMenu:a},children:e})}function Ppe({onCancel:e,onSave:t,access:n}){const{selectedUrw:r}=R.useContext(Je),a=R.useMemo(()=>n?(r==null?void 0:r.workspaceId)!=="root"&&(n!=null&&n.onlyRoot)?!1:!(n!=null&&n.permissions)||n.permissions.length===0?!0:Epe(r,n.permissions[0]):!0,[r,n]),i=At();WS("editing-core",(({onSave:l,onCancel:u})=>a?[{icon:"",label:i.common.save,uniqueActionKey:"save",onSelect:()=>{l()}},u&&{icon:"",label:i.common.cancel,uniqueActionKey:"cancel",onSelect:()=>{u()}}]:[])({onCancel:e,onSave:t}))}function Ape(e,t){const n=At();$b(t,e),WS("commonEntityActions",[e&&{icon:vu.add,label:n.actions.new,uniqueActionKey:"new",onSelect:e}])}function jX(e,t){const n=At();$b(t,e),WS("navigation",[e&&{icon:vu.left,label:n.actions.back,uniqueActionKey:"back",className:"navigator-back-button",onSelect:e}])}function Npe(){const{session:e,options:t}=R.useContext(Je);UX(()=>{var n=new XMLHttpRequest;n.open("GET",t.prefix+"roles/export"),n.addEventListener("load",function(){var a=FX(this.responseText);a="data:application/text;base64,"+btoa(a),document.location=a},!1);const r=t==null?void 0:t.headers;n.setRequestHeader("Authorization",r.authorization||""),n.setRequestHeader("Workspace-Id",r["workspace-id"]||""),n.setRequestHeader("role-Id",r["role-id"]||""),n.overrideMimeType("application/octet-stream; charset=x-user-defined;"),n.send(null)},Ir.ExportTable)}function UX(e,t){const n=At();$b(t,e),WS("exportTools",[e&&{icon:vu.export,label:n.actions.new,uniqueActionKey:"export",onSelect:e}])}function Mpe(e,t){const n=At();$b(t,e),WS("commonEntityActions",[e&&{icon:vu.edit,label:n.actions.edit,uniqueActionKey:"new",onSelect:e}])}function Ipe(e,t,n=100){const r=R.useRef(window.innerWidth);R.useEffect(()=>{let a;const i=()=>{const l=window.innerWidth,u=l=e&&u||r.current{clearTimeout(a),a=setTimeout(i,n)};return window.addEventListener("resize",o),i(),()=>{window.removeEventListener("resize",o),clearTimeout(a)}},[e,t,n])}function BX(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="number"&&!isNaN(e),tv=e=>typeof e=="string",rs=e=>typeof e=="function",BC=e=>tv(e)||rs(e)?e:null,ZO=e=>R.isValidElement(e)||tv(e)||rs(e)||L1(e);function Dpe(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=r+"px",a.transition=`all ${n}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,n)})})}function Sx(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:a=!0,collapseDuration:i=300}=e;return function(o){let{children:l,position:u,preventExitTransition:d,done:f,nodeRef:g,isIn:y}=o;const p=r?`${t}--${u}`:t,v=r?`${n}--${u}`:n,E=R.useRef(0);return R.useLayoutEffect(()=>{const T=g.current,C=p.split(" "),k=_=>{_.target===g.current&&(T.dispatchEvent(new Event("d")),T.removeEventListener("animationend",k),T.removeEventListener("animationcancel",k),E.current===0&&_.type!=="animationcancel"&&T.classList.remove(...C))};T.classList.add(...C),T.addEventListener("animationend",k),T.addEventListener("animationcancel",k)},[]),R.useEffect(()=>{const T=g.current,C=()=>{T.removeEventListener("animationend",C),a?Dpe(T,f,i):f()};y||(d?C():(E.current=1,T.className+=` ${v}`,T.addEventListener("animationend",C)))},[y]),ze.createElement(ze.Fragment,null,l)}}function _U(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const hl={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter(r=>r!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{const n=setTimeout(()=>{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},sC=e=>{let{theme:t,type:n,...r}=e;return ze.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...r})},JO={info:function(e){return ze.createElement(sC,{...e},ze.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return ze.createElement(sC,{...e},ze.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return ze.createElement(sC,{...e},ze.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return ze.createElement(sC,{...e},ze.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return ze.createElement("div",{className:"Toastify__spinner"})}};function $pe(e){const[,t]=R.useReducer(p=>p+1,0),[n,r]=R.useState([]),a=R.useRef(null),i=R.useRef(new Map).current,o=p=>n.indexOf(p)!==-1,l=R.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:o,getToast:p=>i.get(p)}).current;function u(p){let{containerId:v}=p;const{limit:E}=l.props;!E||v&&l.containerId!==v||(l.count-=l.queue.length,l.queue=[])}function d(p){r(v=>p==null?[]:v.filter(E=>E!==p))}function f(){const{toastContent:p,toastProps:v,staleId:E}=l.queue.shift();y(p,v,E)}function g(p,v){let{delay:E,staleId:T,...C}=v;if(!ZO(p)||(function(le){return!a.current||l.props.enableMultiContainer&&le.containerId!==l.props.containerId||i.has(le.toastId)&&le.updateId==null})(C))return;const{toastId:k,updateId:_,data:A}=C,{props:P}=l,N=()=>d(k),I=_==null;I&&l.count++;const L={...P,style:P.toastStyle,key:l.toastKey++,...Object.fromEntries(Object.entries(C).filter(le=>{let[re,ge]=le;return ge!=null})),toastId:k,updateId:_,data:A,closeToast:N,isIn:!1,className:BC(C.className||P.toastClassName),bodyClassName:BC(C.bodyClassName||P.bodyClassName),progressClassName:BC(C.progressClassName||P.progressClassName),autoClose:!C.isLoading&&(j=C.autoClose,z=P.autoClose,j===!1||L1(j)&&j>0?j:z),deleteToast(){const le=_U(i.get(k),"removed");i.delete(k),hl.emit(4,le);const re=l.queue.length;if(l.count=k==null?l.count-l.displayedToast:l.count-1,l.count<0&&(l.count=0),re>0){const ge=k==null?l.props.limit:1;if(re===1||ge===1)l.displayedToast++,f();else{const he=ge>re?re:ge;l.displayedToast=he;for(let W=0;Wce in JO)(ge)&&(G=JO[ge](q))),G})(L),rs(C.onOpen)&&(L.onOpen=C.onOpen),rs(C.onClose)&&(L.onClose=C.onClose),L.closeButton=P.closeButton,C.closeButton===!1||ZO(C.closeButton)?L.closeButton=C.closeButton:C.closeButton===!0&&(L.closeButton=!ZO(P.closeButton)||P.closeButton);let Q=p;R.isValidElement(p)&&!tv(p.type)?Q=R.cloneElement(p,{closeToast:N,toastProps:L,data:A}):rs(p)&&(Q=p({closeToast:N,toastProps:L,data:A})),P.limit&&P.limit>0&&l.count>P.limit&&I?l.queue.push({toastContent:Q,toastProps:L,staleId:T}):L1(E)?setTimeout(()=>{y(Q,L,T)},E):y(Q,L,T)}function y(p,v,E){const{toastId:T}=v;E&&i.delete(E);const C={content:p,props:v};i.set(T,C),r(k=>[...k,T].filter(_=>_!==E)),hl.emit(4,_U(C,C.props.updateId==null?"added":"updated"))}return R.useEffect(()=>(l.containerId=e.containerId,hl.cancelEmit(3).on(0,g).on(1,p=>a.current&&d(p)).on(5,u).emit(2,l),()=>{i.clear(),hl.emit(3,l)}),[]),R.useEffect(()=>{l.props=e,l.isToastActive=o,l.displayedToast=n.length}),{getToastToRender:function(p){const v=new Map,E=Array.from(i.values());return e.newestOnTop&&E.reverse(),E.forEach(T=>{const{position:C}=T.props;v.has(C)||v.set(C,[]),v.get(C).push(T)}),Array.from(v,T=>p(T[0],T[1]))},containerRef:a,isToastActive:o}}function OU(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function RU(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function Lpe(e){const[t,n]=R.useState(!1),[r,a]=R.useState(!1),i=R.useRef(null),o=R.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,l=R.useRef(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:g,closeOnClick:y}=e;function p(A){if(e.draggable){A.nativeEvent.type==="touchstart"&&A.nativeEvent.preventDefault(),o.didMove=!1,document.addEventListener("mousemove",C),document.addEventListener("mouseup",k),document.addEventListener("touchmove",C),document.addEventListener("touchend",k);const P=i.current;o.canCloseOnClick=!0,o.canDrag=!0,o.boundingRect=P.getBoundingClientRect(),P.style.transition="",o.x=OU(A.nativeEvent),o.y=RU(A.nativeEvent),e.draggableDirection==="x"?(o.start=o.x,o.removalDistance=P.offsetWidth*(e.draggablePercent/100)):(o.start=o.y,o.removalDistance=P.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(A){if(o.boundingRect){const{top:P,bottom:N,left:I,right:L}=o.boundingRect;A.nativeEvent.type!=="touchend"&&e.pauseOnHover&&o.x>=I&&o.x<=L&&o.y>=P&&o.y<=N?T():E()}}function E(){n(!0)}function T(){n(!1)}function C(A){const P=i.current;o.canDrag&&P&&(o.didMove=!0,t&&T(),o.x=OU(A),o.y=RU(A),o.delta=e.draggableDirection==="x"?o.x-o.start:o.y-o.start,o.start!==o.x&&(o.canCloseOnClick=!1),P.style.transform=`translate${e.draggableDirection}(${o.delta}px)`,P.style.opacity=""+(1-Math.abs(o.delta/o.removalDistance)))}function k(){document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",k),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",k);const A=i.current;if(o.canDrag&&o.didMove&&A){if(o.canDrag=!1,Math.abs(o.delta)>o.removalDistance)return a(!0),void e.closeToast();A.style.transition="transform 0.2s, opacity 0.2s",A.style.transform=`translate${e.draggableDirection}(0)`,A.style.opacity="1"}}R.useEffect(()=>{l.current=e}),R.useEffect(()=>(i.current&&i.current.addEventListener("d",E,{once:!0}),rs(e.onOpen)&&e.onOpen(R.isValidElement(e.children)&&e.children.props),()=>{const A=l.current;rs(A.onClose)&&A.onClose(R.isValidElement(A.children)&&A.children.props)}),[]),R.useEffect(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||T(),window.addEventListener("focus",E),window.addEventListener("blur",T)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",E),window.removeEventListener("blur",T))}),[e.pauseOnFocusLoss]);const _={onMouseDown:p,onTouchStart:p,onMouseUp:v,onTouchEnd:v};return u&&d&&(_.onMouseEnter=T,_.onMouseLeave=E),y&&(_.onClick=A=>{g&&g(A),o.canCloseOnClick&&f()}),{playToast:E,pauseToast:T,isRunning:t,preventExitTransition:r,toastRef:i,eventHandlers:_}}function WX(e){let{closeToast:t,theme:n,ariaLabel:r="close"}=e;return ze.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:a=>{a.stopPropagation(),t(a)},"aria-label":r},ze.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},ze.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function Fpe(e){let{delay:t,isRunning:n,closeToast:r,type:a="default",hide:i,className:o,style:l,controlledProgress:u,progress:d,rtl:f,isIn:g,theme:y}=e;const p=i||u&&d===0,v={...l,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:p?0:1};u&&(v.transform=`scaleX(${d})`);const E=Fp("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":f}),T=rs(o)?o({rtl:f,type:a,defaultClassName:E}):Fp(E,o);return ze.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:T,style:v,[u&&d>=1?"onTransitionEnd":"onAnimationEnd"]:u&&d<1?null:()=>{g&&r()}})}const jpe=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:a}=Lpe(e),{closeButton:i,children:o,autoClose:l,onClick:u,type:d,hideProgressBar:f,closeToast:g,transition:y,position:p,className:v,style:E,bodyClassName:T,bodyStyle:C,progressClassName:k,progressStyle:_,updateId:A,role:P,progress:N,rtl:I,toastId:L,deleteToast:j,isIn:z,isLoading:Q,iconOut:le,closeOnClick:re,theme:ge}=e,he=Fp("Toastify__toast",`Toastify__toast-theme--${ge}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":re}),W=rs(v)?v({rtl:I,position:p,type:d,defaultClassName:he}):Fp(he,v),G=!!N||!l,q={closeToast:g,type:d,theme:ge};let ce=null;return i===!1||(ce=rs(i)?i(q):R.isValidElement(i)?R.cloneElement(i,q):WX(q)),ze.createElement(y,{isIn:z,done:j,position:p,preventExitTransition:n,nodeRef:r},ze.createElement("div",{id:L,onClick:u,className:W,...a,style:E,ref:r},ze.createElement("div",{...z&&{role:P},className:rs(T)?T({type:d}):Fp("Toastify__toast-body",T),style:C},le!=null&&ze.createElement("div",{className:Fp("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Q})},le),ze.createElement("div",null,o)),ce,ze.createElement(Fpe,{...A&&!G?{key:`pb-${A}`}:{},rtl:I,theme:ge,delay:l,isRunning:t,isIn:z,closeToast:g,hide:f,type:d,style:_,className:k,controlledProgress:G,progress:N||0})))},Ex=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Upe=Sx(Ex("bounce",!0));Sx(Ex("slide",!0));Sx(Ex("zoom"));Sx(Ex("flip"));const h$=R.forwardRef((e,t)=>{const{getToastToRender:n,containerRef:r,isToastActive:a}=$pe(e),{className:i,style:o,rtl:l,containerId:u}=e;function d(f){const g=Fp("Toastify__toast-container",`Toastify__toast-container--${f}`,{"Toastify__toast-container--rtl":l});return rs(i)?i({position:f,rtl:l,defaultClassName:g}):Fp(g,BC(i))}return R.useEffect(()=>{t&&(t.current=r.current)},[]),ze.createElement("div",{ref:r,className:"Toastify",id:u},n((f,g)=>{const y=g.length?{...o}:{...o,pointerEvents:"none"};return ze.createElement("div",{className:d(f),style:y,key:`container-${f}`},g.map((p,v)=>{let{content:E,props:T}=p;return ze.createElement(jpe,{...T,isIn:a(T.toastId),style:{...T.style,"--nth":v+1,"--len":g.length},key:`toast-${T.key}`},E)}))}))});h$.displayName="ToastContainer",h$.defaultProps={position:"top-right",transition:Upe,autoClose:5e3,closeButton:WX,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let eR,Pg=new Map,P1=[],Bpe=1;function zX(){return""+Bpe++}function Wpe(e){return e&&(tv(e.toastId)||L1(e.toastId))?e.toastId:zX()}function F1(e,t){return Pg.size>0?hl.emit(0,e,t):P1.push({content:e,options:t}),t.toastId}function mk(e,t){return{...t,type:t&&t.type||e,toastId:Wpe(t)}}function lC(e){return(t,n)=>F1(t,mk(e,n))}function ea(e,t){return F1(e,mk("default",t))}ea.loading=(e,t)=>F1(e,mk("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),ea.promise=function(e,t,n){let r,{pending:a,error:i,success:o}=t;a&&(r=tv(a)?ea.loading(a,n):ea.loading(a.render,{...n,...a}));const l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(f,g,y)=>{if(g==null)return void ea.dismiss(r);const p={type:f,...l,...n,data:y},v=tv(g)?{render:g}:g;return r?ea.update(r,{...p,...v}):ea(v.render,{...p,...v}),y},d=rs(e)?e():e;return d.then(f=>u("success",o,f)).catch(f=>u("error",i,f)),d},ea.success=lC("success"),ea.info=lC("info"),ea.error=lC("error"),ea.warning=lC("warning"),ea.warn=ea.warning,ea.dark=(e,t)=>F1(e,mk("default",{theme:"dark",...t})),ea.dismiss=e=>{Pg.size>0?hl.emit(1,e):P1=P1.filter(t=>e!=null&&t.options.toastId!==e)},ea.clearWaitingQueue=function(e){return e===void 0&&(e={}),hl.emit(5,e)},ea.isActive=e=>{let t=!1;return Pg.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},ea.update=function(e,t){t===void 0&&(t={}),setTimeout(()=>{const n=(function(r,a){let{containerId:i}=a;const o=Pg.get(i||eR);return o&&o.getToast(r)})(e,t);if(n){const{props:r,content:a}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:zX()};i.toastId!==e&&(i.staleId=e);const o=i.render||a;delete i.render,F1(o,i)}},0)},ea.done=e=>{ea.update(e,{progress:1})},ea.onChange=e=>(hl.on(4,e),()=>{hl.off(4,e)}),ea.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},ea.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},hl.on(2,e=>{eR=e.containerId||e,Pg.set(eR,e),P1.forEach(t=>{hl.emit(0,t.content,t.options)}),P1=[]}).on(3,e=>{Pg.delete(e.containerId||e),Pg.size===0&&hl.off(0).off(1).off(5)});let qw=null;const PU=2500;function zpe(e,t){if((qw==null?void 0:qw.content)==e)return;const n=ea(e,{hideProgressBar:!0,autoClose:PU,...t});qw={content:e,key:n},setTimeout(()=>{qw=null},PU)}function Lb(e){var n,r,a,i;const t={};if(e.error&&Array.isArray((n=e.error)==null?void 0:n.errors))for(const o of(r=e.error)==null?void 0:r.errors)t[o.location]=o.message;return e.status&&e.ok===!1?{form:`${e.status}`}:((a=e==null?void 0:e.error)!=null&&a.message&&(t.form=(i=e==null?void 0:e.error)==null?void 0:i.message),e.message?{form:`${e.message}`}:t)}function qX(){return("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}function qpe(e,t,n,r){const[a,i]=R.useState(null);return R.useEffect(()=>{const o=document.querySelector(e);if(!o)return;let l=null;const u=new ResizeObserver(d=>{for(const f of d){const g=f.contentRect.width;let y=null;for(const{name:p,value:v}of t)if(g{u.unobserve(o),u.disconnect()}},[e,t,n,r]),a}const Gp=()=>{const e=navigator.userAgent.toLowerCase(),t="ontouchstart"in window||navigator.maxTouchPoints>0,n=window.innerWidth||document.documentElement.clientWidth,r=!!window.cordova||!!window.cordovaPlatformId,a=/iphone|android.*mobile|blackberry|windows phone|opera mini|iemobile/,i=/ipad|android(?!.*mobile)|tablet/,o=/windows|macintosh|linux|x11/,l=a.test(e),u=i.test(e),d=!t||o.test(e);let f="large";n<600?f="small":n<1024&&(f="medium");const g=n<1024;return{isPhysicalPhone:l,isTablet:u,isDesktop:d,isMobileView:g,isCordova:r,viewSize:f}},HX=ze.createContext({sidebarVisible:!1,threshold:"desktop",routers:[{id:"url-router"}],toggleSidebar(){},setSidebarRef(e){},persistSidebarSize(e){},setFocusedRouter(e){},closeCurrentRouter(){},sidebarItemSelected(){},collapseLeftPanel(){},addRouter(){},updateSidebarSize(){},hide(){},show(){}});function cv(){return R.useContext(HX)}function Hpe({children:e}){const t=R.useRef(null),n=R.useRef(null),[r,a]=R.useState(!1),[i,o]=R.useState([{id:"url-router"}]),l=N=>{n.current=N,localStorage.setItem("sidebarState",N.toString())};R.useEffect(()=>{const N=localStorage.getItem("sidebarState"),I=N!==null?parseFloat(N):null;I&&(n.current=I)},[]);const u=R.useRef(!1),d=N=>{var I;(I=t.current)==null||I.resize(N)};Ipe(768,N=>{d(N?0:20)});const f=N=>{o(I=>[...I,{id:qX(),href:N}])},g=N=>{o(I=>I.map(L=>L.id===N?{...L,focused:!0}:{...L,focused:!1}))},y=()=>{var N;t.current&&u.current&&(E(),u.current=!1),C((N=t.current)==null?void 0:N.getSize())},p=()=>{var j;const N=(j=t.current)==null?void 0:j.getSize(),I=180/window.innerWidth*100;let L=I;n.current&&n.current>I&&(L=n.current),Gp().isMobileView&&(L=80),N&&N>0?(d(0),localStorage.setItem("sidebarState","-1"),a(!1)):(localStorage.setItem("sidebarState",L.toString()),d(L),a(!0))},v=N=>{t.current=N},E=()=>{d(0),a(!1)},T=N=>{o(I=>I.filter(L=>L.id!==N))},C=N=>{d(N)},k=()=>{t.current&&(d(20),a(!0))},_=N=>{N==="closed"?u.current=!0:u.current=!1},A=qpe(".sidebar-panel",[{name:"closed",value:50},{name:"tablet",value:100},{name:"desktop",value:150}],_,_),P=()=>{window.innerWidth<500&&E()};return w.jsx(HX.Provider,{value:{hide:E,sidebarItemSelected:P,addRouter:f,show:k,updateSidebarSize:C,setFocusedRouter:g,setSidebarRef:v,persistSidebarSize:l,closeCurrentRouter:T,threshold:A,collapseLeftPanel:y,routers:i,sidebarVisible:r,toggleSidebar:p},children:e})}class wd extends wn{constructor(...t){super(...t),this.children=void 0,this.name=void 0,this.operationId=void 0,this.diskPath=void 0,this.size=void 0,this.virtualPath=void 0,this.type=void 0,this.variations=void 0}}wd.Navigation={edit(e,t){return`${t?"/"+t:".."}/file/edit/${e}`},create(e){return`${e?"/"+e:".."}/file/new`},single(e,t){return`${t?"/"+t:".."}/file/${e}`},query(e={},t){return`${t?"/"+t:".."}/files`},Redit:"file/edit/:uniqueId",Rcreate:"file/new",Rsingle:"file/:uniqueId",Rquery:"files",rVariationsCreate:"file/:linkerId/variations/new",rVariationsEdit:"file/:linkerId/variations/edit/:uniqueId",editVariations(e,t,n){return`${n?"/"+n:""}/file/${e}/variations/edit/${t}`},createVariations(e,t){return`${t?"/"+t:""}/file/${e}/variations/new`}};wd.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"file",features:{},gormMap:{},fields:[{name:"name",type:"string",computedType:"string",gormMap:{}},{name:"operationId",description:"For each upload, we need to assign a operation id, so if the operation has been cancelled, it would be cleared automatically, and there won't be orphant files in the database.",type:"string",computedType:"string",gormMap:{}},{name:"diskPath",type:"string",computedType:"string",gormMap:{}},{name:"size",type:"int64",computedType:"number",gormMap:{}},{name:"virtualPath",type:"string",computedType:"string",gormMap:{}},{name:"type",type:"string",computedType:"string",gormMap:{}},{name:"variations",type:"array",computedType:"FileVariations[]",gormMap:{},"-":"FileVariations",fields:[{name:"name",type:"string",computedType:"string",gormMap:{}}],linkedTo:"FileEntity"}],description:"Tus file uploading reference of the content. Every files being uploaded using tus will be stored in this table."};wd.Fields={...wn.Fields,name:"name",operationId:"operationId",diskPath:"diskPath",size:"size",virtualPath:"virtualPath",type:"type",variations$:"variations",variationsAt:e=>({$:`variations[${e}]`,...wn.Fields,name:`variations[${e}].name`})};function AU(e){let t=(e||"").replaceAll(/fbtusid_____(.*)_____/g,kr.REMOTE_SERVICE+"files/$1");return t=(t||"").replaceAll(/directasset_____(.*)_____/g,kr.REMOTE_SERVICE+"$1"),t}function Vpe(){return{compiler:"unknown"}}function VX(){return{directPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?AU(n.uniqueId):`${kr.REMOTE_SERVICE}files-inline/${n==null?void 0:n.diskPath}`,downloadPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?AU(n.uniqueId):`${kr.REMOTE_SERVICE}files/${n==null?void 0:n.diskPath}`}}const El=({children:e,isActive:t,skip:n,activeClassName:r,inActiveClassName:a,...i})=>{var g;const o=xr(),{locale:l}=sr(),u=i.locale||l||"en",{compiler:d}=Vpe();let f=(i==null?void 0:i.href)||(o==null?void 0:o.asPath)||"";return typeof f=="string"&&(f!=null&&f.indexOf)&&f.indexOf("http")===0&&(n=!0),typeof f=="string"&&u&&!n&&!f.startsWith(".")&&(f=f?`/${l}`+f:(g=o.pathname)==null?void 0:g.replace("[locale]",u)),t&&(i.className=`${i.className||""} ${r||"active"}`),!t&&a&&(i.className=`${i.className||""} ${a}`),w.jsx(nse,{...i,href:f,compiler:d,children:e})},db=e=>{const{children:t,forceActive:n,...r}=e,{locale:a,asPath:i}=sr(),o=R.Children.only(t),l=i===`/${a}`+r.href||i+"/"==`/${a}`+r.href||n;return e.disabled?w.jsx("span",{className:"disabled",children:o}):w.jsx(El,{...r,isActive:l,children:o})};function Gpe(){const e=R.useContext(v3);return w.jsx("span",{children:e.ref.title})}const v3=ze.createContext({setPageTitle(){},removePageTitle(){},ref:{title:""}});function am(e){const t=R.useContext(v3);R.useEffect(()=>(t.setPageTitle(e||""),()=>{t.removePageTitle("")}),[e])}function Ype({children:e,prefix:t,affix:n}){const[r,a]=R.useState(""),i=l=>{const u=[t,l,n].filter(Boolean).join(" | ");document.title=u,a(l)},o=()=>{document.title="",a("")};return w.jsx(v3.Provider,{value:{ref:{title:r},setPageTitle:i,removePageTitle:o},children:e})}const GX=()=>{const e=R.useRef();return{withDebounce:(n,r)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(n,r)}}};function hk(e,t){return hk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},hk(e,t)}function dv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,hk(e,t)}var Fb=(function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(r){var a=this,i=r||function(){};return this.listeners.push(i),this.onSubscribe(),function(){a.listeners=a.listeners.filter(function(o){return o!==i}),a.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e})();function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u";function Fi(){}function Kpe(e,t){return typeof e=="function"?e(t):e}function g$(e){return typeof e=="number"&&e>=0&&e!==1/0}function vk(e){return Array.isArray(e)?e:[e]}function YX(e,t){return Math.max(e+(t||0)-Date.now(),0)}function WC(e,t,n){return zS(e)?typeof t=="function"?vt({},n,{queryKey:e,queryFn:t}):vt({},t,{queryKey:e}):e}function Xpe(e,t,n){return zS(e)?vt({},t,{mutationKey:e}):typeof e=="function"?vt({},t,{mutationFn:e}):vt({},e)}function Ip(e,t,n){return zS(e)?[vt({},t,{queryKey:e}),n]:[e||{},t]}function Qpe(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var n=e??!t;return n?"active":"inactive"}function NU(e,t){var n=e.active,r=e.exact,a=e.fetching,i=e.inactive,o=e.predicate,l=e.queryKey,u=e.stale;if(zS(l)){if(r){if(t.queryHash!==y3(l,t.options))return!1}else if(!yk(t.queryKey,l))return!1}var d=Qpe(n,i);if(d==="none")return!1;if(d!=="all"){var f=t.isActive();if(d==="active"&&!f||d==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||typeof a=="boolean"&&t.isFetching()!==a||o&&!o(t))}function MU(e,t){var n=e.exact,r=e.fetching,a=e.predicate,i=e.mutationKey;if(zS(i)){if(!t.options.mutationKey)return!1;if(n){if(Mg(t.options.mutationKey)!==Mg(i))return!1}else if(!yk(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||a&&!a(t))}function y3(e,t){var n=(t==null?void 0:t.queryKeyHashFn)||Mg;return n(e)}function Mg(e){var t=vk(e);return Zpe(t)}function Zpe(e){return JSON.stringify(e,function(t,n){return v$(n)?Object.keys(n).sort().reduce(function(r,a){return r[a]=n[a],r},{}):n})}function yk(e,t){return KX(vk(e),vk(t))}function KX(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(n){return!KX(e[n],t[n])}):!1}function bk(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||v$(e)&&v$(t)){for(var r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),i=a.length,o=n?[]:{},l=0,u=0;u"u")return!0;var n=t.prototype;return!(!IU(n)||!n.hasOwnProperty("isPrototypeOf"))}function IU(e){return Object.prototype.toString.call(e)==="[object Object]"}function zS(e){return typeof e=="string"||Array.isArray(e)}function eme(e){return new Promise(function(t){setTimeout(t,e)})}function DU(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function XX(){if(typeof AbortController=="function")return new AbortController}var tme=(function(e){dv(t,e);function t(){var r;return r=e.call(this)||this,r.setup=function(a){var i;if(!gk&&((i=window)!=null&&i.addEventListener)){var o=function(){return a()};return window.addEventListener("visibilitychange",o,!1),window.addEventListener("focus",o,!1),function(){window.removeEventListener("visibilitychange",o),window.removeEventListener("focus",o)}}},r}var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var a;(a=this.cleanup)==null||a.call(this),this.cleanup=void 0}},n.setEventListener=function(a){var i,o=this;this.setup=a,(i=this.cleanup)==null||i.call(this),this.cleanup=a(function(l){typeof l=="boolean"?o.setFocused(l):o.onFocus()})},n.setFocused=function(a){this.focused=a,a&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(a){a()})},n.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t})(Fb),j1=new tme,nme=(function(e){dv(t,e);function t(){var r;return r=e.call(this)||this,r.setup=function(a){var i;if(!gk&&((i=window)!=null&&i.addEventListener)){var o=function(){return a()};return window.addEventListener("online",o,!1),window.addEventListener("offline",o,!1),function(){window.removeEventListener("online",o),window.removeEventListener("offline",o)}}},r}var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var a;(a=this.cleanup)==null||a.call(this),this.cleanup=void 0}},n.setEventListener=function(a){var i,o=this;this.setup=a,(i=this.cleanup)==null||i.call(this),this.cleanup=a(function(l){typeof l=="boolean"?o.setOnline(l):o.onOnline()})},n.setOnline=function(a){this.online=a,a&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(a){a()})},n.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t})(Fb),zC=new nme;function rme(e){return Math.min(1e3*Math.pow(2,e),3e4)}function wk(e){return typeof(e==null?void 0:e.cancel)=="function"}var QX=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function qC(e){return e instanceof QX}var ZX=function(t){var n=this,r=!1,a,i,o,l;this.abort=t.abort,this.cancel=function(y){return a==null?void 0:a(y)},this.cancelRetry=function(){r=!0},this.continueRetry=function(){r=!1},this.continue=function(){return i==null?void 0:i()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(y,p){o=y,l=p});var u=function(p){n.isResolved||(n.isResolved=!0,t.onSuccess==null||t.onSuccess(p),i==null||i(),o(p))},d=function(p){n.isResolved||(n.isResolved=!0,t.onError==null||t.onError(p),i==null||i(),l(p))},f=function(){return new Promise(function(p){i=p,n.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){i=void 0,n.isPaused=!1,t.onContinue==null||t.onContinue()})},g=function y(){if(!n.isResolved){var p;try{p=t.fn()}catch(v){p=Promise.reject(v)}a=function(E){if(!n.isResolved&&(d(new QX(E)),n.abort==null||n.abort(),wk(p)))try{p.cancel()}catch{}},n.isTransportCancelable=wk(p),Promise.resolve(p).then(u).catch(function(v){var E,T;if(!n.isResolved){var C=(E=t.retry)!=null?E:3,k=(T=t.retryDelay)!=null?T:rme,_=typeof k=="function"?k(n.failureCount,v):k,A=C===!0||typeof C=="number"&&n.failureCount"u"&&(l.exact=!0),this.queries.find(function(u){return NU(l,u)})},n.findAll=function(a,i){var o=Ip(a,i),l=o[0];return Object.keys(l).length>0?this.queries.filter(function(u){return NU(l,u)}):this.queries},n.notify=function(a){var i=this;ra.batch(function(){i.listeners.forEach(function(o){o(a)})})},n.onFocus=function(){var a=this;ra.batch(function(){a.queries.forEach(function(i){i.onFocus()})})},n.onOnline=function(){var a=this;ra.batch(function(){a.queries.forEach(function(i){i.onOnline()})})},t})(Fb),lme=(function(){function e(n){this.options=vt({},n.defaultOptions,n.options),this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.observers=[],this.state=n.state||eQ(),this.meta=n.meta}var t=e.prototype;return t.setState=function(r){this.dispatch({type:"setState",state:r})},t.addObserver=function(r){this.observers.indexOf(r)===-1&&this.observers.push(r)},t.removeObserver=function(r){this.observers=this.observers.filter(function(a){return a!==r})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Fi).catch(Fi)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var r=this,a,i=this.state.status==="loading",o=Promise.resolve();return i||(this.dispatch({type:"loading",variables:this.options.variables}),o=o.then(function(){r.mutationCache.config.onMutate==null||r.mutationCache.config.onMutate(r.state.variables,r)}).then(function(){return r.options.onMutate==null?void 0:r.options.onMutate(r.state.variables)}).then(function(l){l!==r.state.context&&r.dispatch({type:"loading",context:l,variables:r.state.variables})})),o.then(function(){return r.executeMutation()}).then(function(l){a=l,r.mutationCache.config.onSuccess==null||r.mutationCache.config.onSuccess(a,r.state.variables,r.state.context,r)}).then(function(){return r.options.onSuccess==null?void 0:r.options.onSuccess(a,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(a,null,r.state.variables,r.state.context)}).then(function(){return r.dispatch({type:"success",data:a}),a}).catch(function(l){return r.mutationCache.config.onError==null||r.mutationCache.config.onError(l,r.state.variables,r.state.context,r),Sk().error(l),Promise.resolve().then(function(){return r.options.onError==null?void 0:r.options.onError(l,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(void 0,l,r.state.variables,r.state.context)}).then(function(){throw r.dispatch({type:"error",error:l}),l})})},t.executeMutation=function(){var r=this,a;return this.retryer=new ZX({fn:function(){return r.options.mutationFn?r.options.mutationFn(r.state.variables):Promise.reject("No mutationFn found")},onFail:function(){r.dispatch({type:"failed"})},onPause:function(){r.dispatch({type:"pause"})},onContinue:function(){r.dispatch({type:"continue"})},retry:(a=this.options.retry)!=null?a:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(r){var a=this;this.state=ume(this.state,r),ra.batch(function(){a.observers.forEach(function(i){i.onMutationUpdate(r)}),a.mutationCache.notify(a)})},e})();function eQ(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function ume(e,t){switch(t.type){case"failed":return vt({},e,{failureCount:e.failureCount+1});case"pause":return vt({},e,{isPaused:!0});case"continue":return vt({},e,{isPaused:!1});case"loading":return vt({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return vt({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return vt({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return vt({},e,t.state);default:return e}}var cme=(function(e){dv(t,e);function t(r){var a;return a=e.call(this)||this,a.config=r||{},a.mutations=[],a.mutationId=0,a}var n=t.prototype;return n.build=function(a,i,o){var l=new lme({mutationCache:this,mutationId:++this.mutationId,options:a.defaultMutationOptions(i),state:o,defaultOptions:i.mutationKey?a.getMutationDefaults(i.mutationKey):void 0,meta:i.meta});return this.add(l),l},n.add=function(a){this.mutations.push(a),this.notify(a)},n.remove=function(a){this.mutations=this.mutations.filter(function(i){return i!==a}),a.cancel(),this.notify(a)},n.clear=function(){var a=this;ra.batch(function(){a.mutations.forEach(function(i){a.remove(i)})})},n.getAll=function(){return this.mutations},n.find=function(a){return typeof a.exact>"u"&&(a.exact=!0),this.mutations.find(function(i){return MU(a,i)})},n.findAll=function(a){return this.mutations.filter(function(i){return MU(a,i)})},n.notify=function(a){var i=this;ra.batch(function(){i.listeners.forEach(function(o){o(a)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var a=this.mutations.filter(function(i){return i.state.isPaused});return ra.batch(function(){return a.reduce(function(i,o){return i.then(function(){return o.continue().catch(Fi)})},Promise.resolve())})},t})(Fb);function dme(){return{onFetch:function(t){t.fetchFn=function(){var n,r,a,i,o,l,u=(n=t.fetchOptions)==null||(r=n.meta)==null?void 0:r.refetchPage,d=(a=t.fetchOptions)==null||(i=a.meta)==null?void 0:i.fetchMore,f=d==null?void 0:d.pageParam,g=(d==null?void 0:d.direction)==="forward",y=(d==null?void 0:d.direction)==="backward",p=((o=t.state.data)==null?void 0:o.pages)||[],v=((l=t.state.data)==null?void 0:l.pageParams)||[],E=XX(),T=E==null?void 0:E.signal,C=v,k=!1,_=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},A=function(ge,he,W,G){return C=G?[he].concat(C):[].concat(C,[he]),G?[W].concat(ge):[].concat(ge,[W])},P=function(ge,he,W,G){if(k)return Promise.reject("Cancelled");if(typeof W>"u"&&!he&&ge.length)return Promise.resolve(ge);var q={queryKey:t.queryKey,signal:T,pageParam:W,meta:t.meta},ce=_(q),H=Promise.resolve(ce).then(function(ie){return A(ge,W,ie,G)});if(wk(ce)){var Y=H;Y.cancel=ce.cancel}return H},N;if(!p.length)N=P([]);else if(g){var I=typeof f<"u",L=I?f:$U(t.options,p);N=P(p,I,L)}else if(y){var j=typeof f<"u",z=j?f:fme(t.options,p);N=P(p,j,z,!0)}else(function(){C=[];var re=typeof t.options.getNextPageParam>"u",ge=u&&p[0]?u(p[0],0,p):!0;N=ge?P([],re,v[0]):Promise.resolve(A([],v[0],p[0]));for(var he=function(q){N=N.then(function(ce){var H=u&&p[q]?u(p[q],q,p):!0;if(H){var Y=re?v[q]:$U(t.options,ce);return P(ce,re,Y)}return Promise.resolve(A(ce,v[q],p[q]))})},W=1;W"u"&&(f.revert=!0);var g=ra.batch(function(){return o.queryCache.findAll(u).map(function(y){return y.cancel(f)})});return Promise.all(g).then(Fi).catch(Fi)},t.invalidateQueries=function(r,a,i){var o,l,u,d=this,f=Ip(r,a,i),g=f[0],y=f[1],p=vt({},g,{active:(o=(l=g.refetchActive)!=null?l:g.active)!=null?o:!0,inactive:(u=g.refetchInactive)!=null?u:!1});return ra.batch(function(){return d.queryCache.findAll(g).forEach(function(v){v.invalidate()}),d.refetchQueries(p,y)})},t.refetchQueries=function(r,a,i){var o=this,l=Ip(r,a,i),u=l[0],d=l[1],f=ra.batch(function(){return o.queryCache.findAll(u).map(function(y){return y.fetch(void 0,vt({},d,{meta:{refetchPage:u==null?void 0:u.refetchPage}}))})}),g=Promise.all(f).then(Fi);return d!=null&&d.throwOnError||(g=g.catch(Fi)),g},t.fetchQuery=function(r,a,i){var o=WC(r,a,i),l=this.defaultQueryOptions(o);typeof l.retry>"u"&&(l.retry=!1);var u=this.queryCache.build(this,l);return u.isStaleByTime(l.staleTime)?u.fetch(l):Promise.resolve(u.state.data)},t.prefetchQuery=function(r,a,i){return this.fetchQuery(r,a,i).then(Fi).catch(Fi)},t.fetchInfiniteQuery=function(r,a,i){var o=WC(r,a,i);return o.behavior=dme(),this.fetchQuery(o)},t.prefetchInfiniteQuery=function(r,a,i){return this.fetchInfiniteQuery(r,a,i).then(Fi).catch(Fi)},t.cancelMutations=function(){var r=this,a=ra.batch(function(){return r.mutationCache.getAll().map(function(i){return i.cancel()})});return Promise.all(a).then(Fi).catch(Fi)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(r){return this.mutationCache.build(this,r).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(r){this.defaultOptions=r},t.setQueryDefaults=function(r,a){var i=this.queryDefaults.find(function(o){return Mg(r)===Mg(o.queryKey)});i?i.defaultOptions=a:this.queryDefaults.push({queryKey:r,defaultOptions:a})},t.getQueryDefaults=function(r){var a;return r?(a=this.queryDefaults.find(function(i){return yk(r,i.queryKey)}))==null?void 0:a.defaultOptions:void 0},t.setMutationDefaults=function(r,a){var i=this.mutationDefaults.find(function(o){return Mg(r)===Mg(o.mutationKey)});i?i.defaultOptions=a:this.mutationDefaults.push({mutationKey:r,defaultOptions:a})},t.getMutationDefaults=function(r){var a;return r?(a=this.mutationDefaults.find(function(i){return yk(r,i.mutationKey)}))==null?void 0:a.defaultOptions:void 0},t.defaultQueryOptions=function(r){if(r!=null&&r._defaulted)return r;var a=vt({},this.defaultOptions.queries,this.getQueryDefaults(r==null?void 0:r.queryKey),r,{_defaulted:!0});return!a.queryHash&&a.queryKey&&(a.queryHash=y3(a.queryKey,a)),a},t.defaultQueryObserverOptions=function(r){return this.defaultQueryOptions(r)},t.defaultMutationOptions=function(r){return r!=null&&r._defaulted?r:vt({},this.defaultOptions.mutations,this.getMutationDefaults(r==null?void 0:r.mutationKey),r,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e})(),mme=(function(e){dv(t,e);function t(r,a){var i;return i=e.call(this)||this,i.client=r,i.options=a,i.trackedProps=[],i.selectError=null,i.bindMethods(),i.setOptions(a),i}var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),LU(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return y$(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return y$(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(a,i){var o=this.options,l=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(a),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=o.queryKey),this.updateQuery();var u=this.hasListeners();u&&FU(this.currentQuery,l,this.options,o)&&this.executeFetch(),this.updateResult(i),u&&(this.currentQuery!==l||this.options.enabled!==o.enabled||this.options.staleTime!==o.staleTime)&&this.updateStaleTimeout();var d=this.computeRefetchInterval();u&&(this.currentQuery!==l||this.options.enabled!==o.enabled||d!==this.currentRefetchInterval)&&this.updateRefetchInterval(d)},n.getOptimisticResult=function(a){var i=this.client.defaultQueryObserverOptions(a),o=this.client.getQueryCache().build(this.client,i);return this.createResult(o,i)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(a,i){var o=this,l={},u=function(f){o.trackedProps.includes(f)||o.trackedProps.push(f)};return Object.keys(a).forEach(function(d){Object.defineProperty(l,d,{configurable:!1,enumerable:!0,get:function(){return u(d),a[d]}})}),(i.useErrorBoundary||i.suspense)&&u("error"),l},n.getNextResult=function(a){var i=this;return new Promise(function(o,l){var u=i.subscribe(function(d){d.isFetching||(u(),d.isError&&(a!=null&&a.throwOnError)?l(d.error):o(d))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(a){return this.fetch(vt({},a,{meta:{refetchPage:a==null?void 0:a.refetchPage}}))},n.fetchOptimistic=function(a){var i=this,o=this.client.defaultQueryObserverOptions(a),l=this.client.getQueryCache().build(this.client,o);return l.fetch().then(function(){return i.createResult(l,o)})},n.fetch=function(a){var i=this;return this.executeFetch(a).then(function(){return i.updateResult(),i.currentResult})},n.executeFetch=function(a){this.updateQuery();var i=this.currentQuery.fetch(this.options,a);return a!=null&&a.throwOnError||(i=i.catch(Fi)),i},n.updateStaleTimeout=function(){var a=this;if(this.clearStaleTimeout(),!(gk||this.currentResult.isStale||!g$(this.options.staleTime))){var i=YX(this.currentResult.dataUpdatedAt,this.options.staleTime),o=i+1;this.staleTimeoutId=setTimeout(function(){a.currentResult.isStale||a.updateResult()},o)}},n.computeRefetchInterval=function(){var a;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(a=this.options.refetchInterval)!=null?a:!1},n.updateRefetchInterval=function(a){var i=this;this.clearRefetchInterval(),this.currentRefetchInterval=a,!(gk||this.options.enabled===!1||!g$(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(i.options.refetchIntervalInBackground||j1.isFocused())&&i.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(a,i){var o=this.currentQuery,l=this.options,u=this.currentResult,d=this.currentResultState,f=this.currentResultOptions,g=a!==o,y=g?a.state:this.currentQueryInitialState,p=g?this.currentResult:this.previousQueryResult,v=a.state,E=v.dataUpdatedAt,T=v.error,C=v.errorUpdatedAt,k=v.isFetching,_=v.status,A=!1,P=!1,N;if(i.optimisticResults){var I=this.hasListeners(),L=!I&&LU(a,i),j=I&&FU(a,o,i,l);(L||j)&&(k=!0,E||(_="loading"))}if(i.keepPreviousData&&!v.dataUpdateCount&&(p!=null&&p.isSuccess)&&_!=="error")N=p.data,E=p.dataUpdatedAt,_=p.status,A=!0;else if(i.select&&typeof v.data<"u")if(u&&v.data===(d==null?void 0:d.data)&&i.select===this.selectFn)N=this.selectResult;else try{this.selectFn=i.select,N=i.select(v.data),i.structuralSharing!==!1&&(N=bk(u==null?void 0:u.data,N)),this.selectResult=N,this.selectError=null}catch(le){Sk().error(le),this.selectError=le}else N=v.data;if(typeof i.placeholderData<"u"&&typeof N>"u"&&(_==="loading"||_==="idle")){var z;if(u!=null&&u.isPlaceholderData&&i.placeholderData===(f==null?void 0:f.placeholderData))z=u.data;else if(z=typeof i.placeholderData=="function"?i.placeholderData():i.placeholderData,i.select&&typeof z<"u")try{z=i.select(z),i.structuralSharing!==!1&&(z=bk(u==null?void 0:u.data,z)),this.selectError=null}catch(le){Sk().error(le),this.selectError=le}typeof z<"u"&&(_="success",N=z,P=!0)}this.selectError&&(T=this.selectError,N=this.selectResult,C=Date.now(),_="error");var Q={status:_,isLoading:_==="loading",isSuccess:_==="success",isError:_==="error",isIdle:_==="idle",data:N,dataUpdatedAt:E,error:T,errorUpdatedAt:C,failureCount:v.fetchFailureCount,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>y.dataUpdateCount||v.errorUpdateCount>y.errorUpdateCount,isFetching:k,isRefetching:k&&_!=="loading",isLoadingError:_==="error"&&v.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:A,isRefetchError:_==="error"&&v.dataUpdatedAt!==0,isStale:b3(a,i),refetch:this.refetch,remove:this.remove};return Q},n.shouldNotifyListeners=function(a,i){if(!i)return!0;var o=this.options,l=o.notifyOnChangeProps,u=o.notifyOnChangePropsExclusions;if(!l&&!u||l==="tracked"&&!this.trackedProps.length)return!0;var d=l==="tracked"?this.trackedProps:l;return Object.keys(a).some(function(f){var g=f,y=a[g]!==i[g],p=d==null?void 0:d.some(function(E){return E===f}),v=u==null?void 0:u.some(function(E){return E===f});return y&&!v&&(!d||p)})},n.updateResult=function(a){var i=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!Jpe(this.currentResult,i)){var o={cache:!0};(a==null?void 0:a.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,i)&&(o.listeners=!0),this.notify(vt({},o,a))}},n.updateQuery=function(){var a=this.client.getQueryCache().build(this.client,this.options);if(a!==this.currentQuery){var i=this.currentQuery;this.currentQuery=a,this.currentQueryInitialState=a.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(i==null||i.removeObserver(this),a.addObserver(this))}},n.onQueryUpdate=function(a){var i={};a.type==="success"?i.onSuccess=!0:a.type==="error"&&!qC(a.error)&&(i.onError=!0),this.updateResult(i),this.hasListeners()&&this.updateTimers()},n.notify=function(a){var i=this;ra.batch(function(){a.onSuccess?(i.options.onSuccess==null||i.options.onSuccess(i.currentResult.data),i.options.onSettled==null||i.options.onSettled(i.currentResult.data,null)):a.onError&&(i.options.onError==null||i.options.onError(i.currentResult.error),i.options.onSettled==null||i.options.onSettled(void 0,i.currentResult.error)),a.listeners&&i.listeners.forEach(function(o){o(i.currentResult)}),a.cache&&i.client.getQueryCache().notify({query:i.currentQuery,type:"observerResultsUpdated"})})},t})(Fb);function hme(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function LU(e,t){return hme(e,t)||e.state.dataUpdatedAt>0&&y$(e,t,t.refetchOnMount)}function y$(e,t,n){if(t.enabled!==!1){var r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&b3(e,t)}return!1}function FU(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&b3(e,n)}function b3(e,t){return e.isStaleByTime(t.staleTime)}var gme=(function(e){dv(t,e);function t(r,a){var i;return i=e.call(this)||this,i.client=r,i.setOptions(a),i.bindMethods(),i.updateResult(),i}var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(a){this.options=this.client.defaultMutationOptions(a)},n.onUnsubscribe=function(){if(!this.listeners.length){var a;(a=this.currentMutation)==null||a.removeObserver(this)}},n.onMutationUpdate=function(a){this.updateResult();var i={listeners:!0};a.type==="success"?i.onSuccess=!0:a.type==="error"&&(i.onError=!0),this.notify(i)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(a,i){return this.mutateOptions=i,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,vt({},this.options,{variables:typeof a<"u"?a:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var a=this.currentMutation?this.currentMutation.state:eQ(),i=vt({},a,{isLoading:a.status==="loading",isSuccess:a.status==="success",isError:a.status==="error",isIdle:a.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=i},n.notify=function(a){var i=this;ra.batch(function(){i.mutateOptions&&(a.onSuccess?(i.mutateOptions.onSuccess==null||i.mutateOptions.onSuccess(i.currentResult.data,i.currentResult.variables,i.currentResult.context),i.mutateOptions.onSettled==null||i.mutateOptions.onSettled(i.currentResult.data,null,i.currentResult.variables,i.currentResult.context)):a.onError&&(i.mutateOptions.onError==null||i.mutateOptions.onError(i.currentResult.error,i.currentResult.variables,i.currentResult.context),i.mutateOptions.onSettled==null||i.mutateOptions.onSettled(void 0,i.currentResult.error,i.currentResult.variables,i.currentResult.context))),a.listeners&&i.listeners.forEach(function(o){o(i.currentResult)})})},t})(Fb),vme=Yie.unstable_batchedUpdates;ra.setBatchNotifyFunction(vme);var yme=console;ime(yme);var jU=ze.createContext(void 0),tQ=ze.createContext(!1);function nQ(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=jU),window.ReactQueryClientContext):jU}var Ls=function(){var t=ze.useContext(nQ(ze.useContext(tQ)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},bme=function(t){var n=t.client,r=t.contextSharing,a=r===void 0?!1:r,i=t.children;ze.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var o=nQ(a);return ze.createElement(tQ.Provider,{value:a},ze.createElement(o.Provider,{value:n},i))};function wme(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var Sme=ze.createContext(wme()),Eme=function(){return ze.useContext(Sme)};function rQ(e,t,n){return typeof t=="function"?t.apply(void 0,n):typeof t=="boolean"?t:!!e}function un(e,t,n){var r=ze.useRef(!1),a=ze.useState(0),i=a[1],o=Xpe(e,t),l=Ls(),u=ze.useRef();u.current?u.current.setOptions(o):u.current=new gme(l,o);var d=u.current.getCurrentResult();ze.useEffect(function(){r.current=!0;var g=u.current.subscribe(ra.batchCalls(function(){r.current&&i(function(y){return y+1})}));return function(){r.current=!1,g()}},[]);var f=ze.useCallback(function(g,y){u.current.mutate(g,y).catch(Fi)},[]);if(d.error&&rQ(void 0,u.current.options.useErrorBoundary,[d.error]))throw d.error;return vt({},d,{mutate:f,mutateAsync:d.mutate})}function Tme(e,t){var n=ze.useRef(!1),r=ze.useState(0),a=r[1],i=Ls(),o=Eme(),l=i.defaultQueryObserverOptions(e);l.optimisticResults=!0,l.onError&&(l.onError=ra.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=ra.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=ra.batchCalls(l.onSettled)),l.suspense&&(typeof l.staleTime!="number"&&(l.staleTime=1e3),l.cacheTime===0&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(o.isReset()||(l.retryOnMount=!1));var u=ze.useState(function(){return new t(i,l)}),d=u[0],f=d.getOptimisticResult(l);if(ze.useEffect(function(){n.current=!0,o.clearReset();var g=d.subscribe(ra.batchCalls(function(){n.current&&a(function(y){return y+1})}));return d.updateResult(),function(){n.current=!1,g()}},[o,d]),ze.useEffect(function(){d.setOptions(l,{listeners:!1})},[l,d]),l.suspense&&f.isLoading)throw d.fetchOptimistic(l).then(function(g){var y=g.data;l.onSuccess==null||l.onSuccess(y),l.onSettled==null||l.onSettled(y,null)}).catch(function(g){o.clearReset(),l.onError==null||l.onError(g),l.onSettled==null||l.onSettled(void 0,g)});if(f.isError&&!o.isReset()&&!f.isFetching&&rQ(l.suspense,l.useErrorBoundary,[f.error,d.getCurrentQuery()]))throw f.error;return l.notifyOnChangeProps==="tracked"&&(f=d.trackResult(f,l)),f}function jn(e,t,n){var r=WC(e,t,n);return Tme(r,mme)}function Cme({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a,onMessage:i,presistResult:o}){var A;const{options:l}=R.useContext(Je),u=l.prefix,d=(A=l.headers)==null?void 0:A.authorization,f=l.headers["workspace-id"],g=R.useRef(),[y,p]=R.useState([]),v=P=>{p(N=>[...N,P])},[E,T]=R.useState(!1),C=()=>{var P,N;((P=g.current)==null?void 0:P.readyState)===1&&((N=g.current)==null||N.close()),T(!1)},k=P=>{var N;(N=g.current)==null||N.send(P)},_=(P,N=null)=>{var Q,le;((Q=g.current)==null?void 0:Q.readyState)===1&&((le=g.current)==null||le.close()),p([]);const I=u==null?void 0:u.replace("https","wss").replace("http","ws"),L="reactive-search".substr(1);let j=`${I}${L}?acceptLanguage=${l.headers["accept-language"]}&token=${d}&workspaceId=${f}&${new URLSearchParams(P)}&${new URLSearchParams(n||{})}`;j=j.replace(":uniqueId",n==null?void 0:n.uniqueId);let z=new WebSocket(j);g.current=z,z.onopen=function(){T(!0)},z.onmessage=function(re){if(N!==null)return N(re);if(re.data instanceof Blob||re.data instanceof ArrayBuffer)i==null||i(re.data);else try{const ge=JSON.parse(re.data);ge&&(i&&i(ge),o!==!1&&v(ge))}catch{}}};return R.useEffect(()=>()=>{C()},[]),{operate:_,data:y,close:C,connected:E,write:k}}const Tx=ze.createContext({result:[],setResult(){},reset(){},appendResult(){},setPhrase(){},phrase:""});function kme({children:e}){const[t,n]=R.useState(""),[r,a]=R.useState([]),i=l=>{a(u=>[...u,l])},o=()=>{n(""),a([])};return w.jsx(Tx.Provider,{value:{result:r,setResult:a,reset:o,appendResult:i,setPhrase:n,phrase:t},children:e})}function xme(){const e=At(),{withDebounce:t}=GX(),{setResult:n,setPhrase:r,phrase:a,result:i,reset:o}=R.useContext(Tx),{operate:l,data:u}=Cme({}),d=xr(),f=R.useRef(),[g,y]=R.useState(""),{locale:p}=sr();R.useEffect(()=>{a||y("")},[a]),R.useEffect(()=>{n(u)},[u]);const v=T=>{t(()=>{r(T),l({searchPhrase:encodeURIComponent(T)})},500)};g3("s",()=>{var T;(T=f.current)==null||T.focus()});const{isMobileView:E}=Gp();return E?null:w.jsx("form",{className:"navbar-search-box",onSubmit:T=>{T.preventDefault(),i.length>0&&i[0].actionFn==="navigate"&&i[0].uiLocation&&(d.push(`/${p}${i[0].uiLocation}`),o())},children:w.jsx("input",{ref:T=>{f.current=T},value:g,placeholder:e.reactiveSearch.placeholder,onInput:T=>{y(T.target.value),v(T.target.value)},className:"form-control"})})}const _me=({children:e,close:t,visible:n,params:r})=>w.jsx("div",{className:ia("modal d-block with-fade-in modal-overlay",n?"visible":"invisible"),children:w.jsx("div",{className:"modal-dialog",children:w.jsxs("div",{className:"modal-content",children:[w.jsxs("div",{className:"modal-header",children:[w.jsx("h5",{className:"modal-title",children:r==null?void 0:r.title}),w.jsx("button",{type:"button",id:"cls",className:"btn-close",onClick:t,"aria-label":"Close"})]}),e]})})});function b$(){return b$=Object.assign||function(e){for(var t=1;tw.jsx(Rme,{open:n,direction:(e==null?void 0:e.direction)||"right",zIndex:1e4,onClose:r,duration:e==null?void 0:e.speed,size:e==null?void 0:e.size,children:t}),aQ=R.createContext(null);let Ame=0;const Nme=({children:e,BaseModalWrapper:t=_me,OverlayWrapper:n=Pme})=>{const[r,a]=R.useState([]),i=R.useRef(r);i.current=r,R.useEffect(()=>{const f=g=>{var y;if(g.key==="Escape"&&r.length>0){const p=r[r.length-1];(y=p==null?void 0:p.close)==null||y.call(p)}};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[r]);const o=(f,g)=>{const y=Ame++,p=ze.createRef();let v,E;const T=new Promise((A,P)=>{v=A,E=P}),C=()=>{a(A=>A.map(P=>P.id===y?{...P,visible:!1}:P)),setTimeout(()=>{a(A=>A.filter(P=>P.id!==y))},300)},k={id:y,ref:p,Component:f,type:(g==null?void 0:g.type)||"modal",params:g==null?void 0:g.params,data:{},visible:!1,onBeforeClose:void 0,resolve:A=>{setTimeout(()=>v({type:"resolved",data:A}),50),C()},close:async()=>{var N;const A=i.current.find(I=>I.id===y);A!=null&&A.onBeforeClose&&!await A.onBeforeClose()||!await(((N=k.onBeforeClose)==null?void 0:N.call(k))??!0)||(setTimeout(()=>v({data:null,type:"closed"}),50),C())},reject:A=>{setTimeout(()=>E({data:A,type:"rejected"}),50),C()}};a(A=>[...A,k]),setTimeout(()=>{a(A=>A.map(P=>P.id===y?{...P,visible:!0}:P))},50);const _=A=>{a(P=>P.map(N=>N.id===y?{...N,data:{...N.data,...A}}:N))};return{id:y,ref:p,promise:T,close:k.close,resolve:k.resolve,reject:k.reject,updateData:_}},l=(f,g)=>o(f,{type:"modal",params:g}),u=(f,g)=>o(f,{type:"drawer",params:g}),d=()=>{i.current.forEach(f=>{var g;return(g=f.reject)==null?void 0:g.call(f,"dismiss-all")}),a([])};return w.jsxs(aQ.Provider,{value:{openOverlay:o,openDrawer:u,openModal:l,dismissAll:d},children:[e,r.map(({id:f,type:g,Component:y,resolve:p,reject:v,close:E,params:T,visible:C,data:k})=>{const _=g==="drawer"?n:t;return w.jsx(_,{visible:C,close:E,reject:v,resolve:p,params:T,children:w.jsx(y,{resolve:p,reject:v,close:E,data:k,setOnBeforeClose:A=>{a(P=>P.map(N=>N.id===f?{...N,onBeforeClose:A}:N))}})},f)})]})},w3=()=>{const e=R.useContext(aQ);if(!e)throw new Error("useOverlay must be inside OverlayProvider");return e};var tR,UU;function jb(){return UU||(UU=1,tR=TypeError),tR}const Mme={},Ime=Object.freeze(Object.defineProperty({__proto__:null,default:Mme},Symbol.toStringTag,{value:"Module"})),Dme=jt(Ime);var nR,BU;function Cx(){if(BU)return nR;BU=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=a&&i&&typeof i.get=="function"?i.get:null,l=a&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,d=u?WeakMap.prototype.has:null,f=typeof WeakSet=="function"&&WeakSet.prototype,g=f?WeakSet.prototype.has:null,y=typeof WeakRef=="function"&&WeakRef.prototype,p=y?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,E=Object.prototype.toString,T=Function.prototype.toString,C=String.prototype.match,k=String.prototype.slice,_=String.prototype.replace,A=String.prototype.toUpperCase,P=String.prototype.toLowerCase,N=RegExp.prototype.test,I=Array.prototype.concat,L=Array.prototype.join,j=Array.prototype.slice,z=Math.floor,Q=typeof BigInt=="function"?BigInt.prototype.valueOf:null,le=Object.getOwnPropertySymbols,re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ge=typeof Symbol=="function"&&typeof Symbol.iterator=="object",he=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ge||!0)?Symbol.toStringTag:null,W=Object.prototype.propertyIsEnumerable,G=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(be){return be.__proto__}:null);function q(be,Ee){if(be===1/0||be===-1/0||be!==be||be&&be>-1e3&&be<1e3||N.call(/e/,Ee))return Ee;var gt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof be=="number"){var Lt=be<0?-z(-be):z(be);if(Lt!==be){var _t=String(Lt),Ut=k.call(Ee,_t.length+1);return _.call(_t,gt,"$&_")+"."+_.call(_.call(Ut,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(Ee,gt,"$&_")}var ce=Dme,H=ce.custom,Y=at(H)?H:null,ie={__proto__:null,double:'"',single:"'"},Z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};nR=function be(Ee,gt,Lt,_t){var Ut=gt||{};if(xt(Ut,"quoteStyle")&&!xt(ie,Ut.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xt(Ut,"maxStringLength")&&(typeof Ut.maxStringLength=="number"?Ut.maxStringLength<0&&Ut.maxStringLength!==1/0:Ut.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var On=xt(Ut,"customInspect")?Ut.customInspect:!0;if(typeof On!="boolean"&&On!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xt(Ut,"indent")&&Ut.indent!==null&&Ut.indent!==" "&&!(parseInt(Ut.indent,10)===Ut.indent&&Ut.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xt(Ut,"numericSeparator")&&typeof Ut.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var gn=Ut.numericSeparator;if(typeof Ee>"u")return"undefined";if(Ee===null)return"null";if(typeof Ee=="boolean")return Ee?"true":"false";if(typeof Ee=="string")return U(Ee,Ut);if(typeof Ee=="number"){if(Ee===0)return 1/0/Ee>0?"0":"-0";var ln=String(Ee);return gn?q(Ee,ln):ln}if(typeof Ee=="bigint"){var Bn=String(Ee)+"n";return gn?q(Ee,Bn):Bn}var oa=typeof Ut.depth>"u"?5:Ut.depth;if(typeof Lt>"u"&&(Lt=0),Lt>=oa&&oa>0&&typeof Ee=="object")return ke(Ee)?"[Array]":"[Object]";var Xa=We(Ut,Lt);if(typeof _t>"u")_t=[];else if(Ht(_t,Ee)>=0)return"[Circular]";function ma(yn,an,Dn){if(an&&(_t=j.call(_t),_t.push(an)),Dn){var Tn={depth:Ut.depth};return xt(Ut,"quoteStyle")&&(Tn.quoteStyle=Ut.quoteStyle),be(yn,Tn,Lt+1,_t)}return be(yn,Ut,Lt+1,_t)}if(typeof Ee=="function"&&!xe(Ee)){var vn=cn(Ee),_a=Mt(Ee,ma);return"[Function"+(vn?": "+vn:" (anonymous)")+"]"+(_a.length>0?" { "+L.call(_a,", ")+" }":"")}if(at(Ee)){var Uo=ge?_.call(String(Ee),/^(Symbol\(.*\))_[^)]*$/,"$1"):re.call(Ee);return typeof Ee=="object"&&!ge?F(Uo):Uo}if(Nt(Ee)){for(var Oa="<"+P.call(String(Ee.nodeName)),Ra=Ee.attributes||[],Bo=0;Bo",Oa}if(ke(Ee)){if(Ee.length===0)return"[]";var we=Mt(Ee,ma);return Xa&&!Fe(we)?"["+Tt(we,Xa)+"]":"[ "+L.call(we,", ")+" ]"}if(Ie(Ee)){var ve=Mt(Ee,ma);return!("cause"in Error.prototype)&&"cause"in Ee&&!W.call(Ee,"cause")?"{ ["+String(Ee)+"] "+L.call(I.call("[cause]: "+ma(Ee.cause),ve),", ")+" }":ve.length===0?"["+String(Ee)+"]":"{ ["+String(Ee)+"] "+L.call(ve,", ")+" }"}if(typeof Ee=="object"&&On){if(Y&&typeof Ee[Y]=="function"&&ce)return ce(Ee,{depth:oa-Lt});if(On!=="symbol"&&typeof Ee.inspect=="function")return Ee.inspect()}if(Wt(Ee)){var $e=[];return r&&r.call(Ee,function(yn,an){$e.push(ma(an,Ee,!0)+" => "+ma(yn,Ee))}),Te("Map",n.call(Ee),$e,Xa)}if(ft(Ee)){var ye=[];return l&&l.call(Ee,function(yn){ye.push(ma(yn,Ee))}),Te("Set",o.call(Ee),ye,Xa)}if(Oe(Ee))return ae("WeakMap");if(ut(Ee))return ae("WeakSet");if(dt(Ee))return ae("WeakRef");if(nt(Ee))return F(ma(Number(Ee)));if(Et(Ee))return F(ma(Q.call(Ee)));if(Ge(Ee))return F(v.call(Ee));if(qe(Ee))return F(ma(String(Ee)));if(typeof window<"u"&&Ee===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Ee===globalThis||typeof bl<"u"&&Ee===bl)return"{ [object globalThis] }";if(!fe(Ee)&&!xe(Ee)){var Se=Mt(Ee,ma),ne=G?G(Ee)===Object.prototype:Ee instanceof Object||Ee.constructor===Object,Me=Ee instanceof Object?"":"null prototype",Qe=!ne&&he&&Object(Ee)===Ee&&he in Ee?k.call(Rt(Ee),8,-1):Me?"Object":"",ot=ne||typeof Ee.constructor!="function"?"":Ee.constructor.name?Ee.constructor.name+" ":"",Bt=ot+(Qe||Me?"["+L.call(I.call([],Qe||[],Me||[]),": ")+"] ":"");return Se.length===0?Bt+"{}":Xa?Bt+"{"+Tt(Se,Xa)+"}":Bt+"{ "+L.call(Se,", ")+" }"}return String(Ee)};function ee(be,Ee,gt){var Lt=gt.quoteStyle||Ee,_t=ie[Lt];return _t+be+_t}function J(be){return _.call(String(be),/"/g,""")}function ue(be){return!he||!(typeof be=="object"&&(he in be||typeof be[he]<"u"))}function ke(be){return Rt(be)==="[object Array]"&&ue(be)}function fe(be){return Rt(be)==="[object Date]"&&ue(be)}function xe(be){return Rt(be)==="[object RegExp]"&&ue(be)}function Ie(be){return Rt(be)==="[object Error]"&&ue(be)}function qe(be){return Rt(be)==="[object String]"&&ue(be)}function nt(be){return Rt(be)==="[object Number]"&&ue(be)}function Ge(be){return Rt(be)==="[object Boolean]"&&ue(be)}function at(be){if(ge)return be&&typeof be=="object"&&be instanceof Symbol;if(typeof be=="symbol")return!0;if(!be||typeof be!="object"||!re)return!1;try{return re.call(be),!0}catch{}return!1}function Et(be){if(!be||typeof be!="object"||!Q)return!1;try{return Q.call(be),!0}catch{}return!1}var kt=Object.prototype.hasOwnProperty||function(be){return be in this};function xt(be,Ee){return kt.call(be,Ee)}function Rt(be){return E.call(be)}function cn(be){if(be.name)return be.name;var Ee=C.call(T.call(be),/^function\s*([\w$]+)/);return Ee?Ee[1]:null}function Ht(be,Ee){if(be.indexOf)return be.indexOf(Ee);for(var gt=0,Lt=be.length;gtEe.maxStringLength){var gt=be.length-Ee.maxStringLength,Lt="... "+gt+" more character"+(gt>1?"s":"");return U(k.call(be,0,Ee.maxStringLength),Ee)+Lt}var _t=Z[Ee.quoteStyle||"single"];_t.lastIndex=0;var Ut=_.call(_.call(be,_t,"\\$1"),/[\x00-\x1f]/g,D);return ee(Ut,"single",Ee)}function D(be){var Ee=be.charCodeAt(0),gt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Ee];return gt?"\\"+gt:"\\x"+(Ee<16?"0":"")+A.call(Ee.toString(16))}function F(be){return"Object("+be+")"}function ae(be){return be+" { ? }"}function Te(be,Ee,gt,Lt){var _t=Lt?Tt(gt,Lt):L.call(gt,", ");return be+" ("+Ee+") {"+_t+"}"}function Fe(be){for(var Ee=0;Ee{T.startsWith("data:")?v+=T.slice(5).trim():T.startsWith("event:")&&(E=T.slice(6).trim())}),v){if(v==="[DONE]")return l();t==null||t(new MessageEvent(E,{data:v}))}}d()}).catch(f=>{f.name==="AbortError"?l():u(f)})}d()});return{response:e,done:o}};class nF{constructor(t="",n={},r,a,i=null){this.baseUrl=t,this.defaultHeaders=n,this.requestInterceptor=r,this.responseInterceptor=a,this.fetchOverrideFn=i}async apply(t,n){return/^https?:\/\//.test(t)||(t=this.baseUrl+t),n.headers={...this.defaultHeaders,...n.headers||{}},this.requestInterceptor?this.requestInterceptor(t,n):[t,n]}async handle(t){return this.responseInterceptor?this.responseInterceptor(t):t}clone(t){return new nF((t==null?void 0:t.baseUrl)??this.baseUrl,{...this.defaultHeaders,...(t==null?void 0:t.defaultHeaders)||{}},(t==null?void 0:t.requestInterceptor)??this.requestInterceptor,(t==null?void 0:t.responseInterceptor)??this.responseInterceptor)}}function ah(e,t){const n={};for(const[r,a]of Object.entries(t))typeof a=="string"?n[r]=`${e}.${a}`:typeof a=="object"&&a!==null&&(n[r]=a);return n}function ya(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var ihe=0;function $v(e){return"__private_"+ihe+++"_"+e}var sd=$v("passport"),Nm=$v("token"),Mm=$v("exchangeKey"),ld=$v("userWorkspaces"),ud=$v("user"),Im=$v("userId"),MR=$v("isJsonAppliable");class Ta{get passport(){return ya(this,sd)[sd]}set passport(t){t instanceof jS?ya(this,sd)[sd]=t:ya(this,sd)[sd]=new jS(t)}setPassport(t){return this.passport=t,this}get token(){return ya(this,Nm)[Nm]}set token(t){ya(this,Nm)[Nm]=String(t)}setToken(t){return this.token=t,this}get exchangeKey(){return ya(this,Mm)[Mm]}set exchangeKey(t){ya(this,Mm)[Mm]=String(t)}setExchangeKey(t){return this.exchangeKey=t,this}get userWorkspaces(){return ya(this,ld)[ld]}set userWorkspaces(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof jb?ya(this,ld)[ld]=t:ya(this,ld)[ld]=t.map(n=>new jb(n)))}setUserWorkspaces(t){return this.userWorkspaces=t,this}get user(){return ya(this,ud)[ud]}set user(t){t instanceof aa?ya(this,ud)[ud]=t:ya(this,ud)[ud]=new aa(t)}setUser(t){return this.user=t,this}get userId(){return ya(this,Im)[Im]}set userId(t){const n=typeof t=="string"||t===void 0||t===null;ya(this,Im)[Im]=n?t:String(t)}setUserId(t){return this.userId=t,this}constructor(t=void 0){if(Object.defineProperty(this,MR,{value:ohe}),Object.defineProperty(this,sd,{writable:!0,value:void 0}),Object.defineProperty(this,Nm,{writable:!0,value:""}),Object.defineProperty(this,Mm,{writable:!0,value:""}),Object.defineProperty(this,ld,{writable:!0,value:[]}),Object.defineProperty(this,ud,{writable:!0,value:void 0}),Object.defineProperty(this,Im,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(ya(this,MR)[MR](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.passport!==void 0&&(this.passport=n.passport),n.token!==void 0&&(this.token=n.token),n.exchangeKey!==void 0&&(this.exchangeKey=n.exchangeKey),n.userWorkspaces!==void 0&&(this.userWorkspaces=n.userWorkspaces),n.user!==void 0&&(this.user=n.user),n.userId!==void 0&&(this.userId=n.userId)}toJSON(){return{passport:ya(this,sd)[sd],token:ya(this,Nm)[Nm],exchangeKey:ya(this,Mm)[Mm],userWorkspaces:ya(this,ld)[ld],user:ya(this,ud)[ud],userId:ya(this,Im)[Im]}}toString(){return JSON.stringify(this)}static get Fields(){return{passport:"passport",token:"token",exchangeKey:"exchangeKey",userWorkspaces$:"userWorkspaces",get userWorkspaces(){return ah("userWorkspaces[:i]",jb.Fields)},user:"user",userId:"userId"}}static from(t){return new Ta(t)}static with(t){return new Ta(t)}copyWith(t){return new Ta({...this.toJSON(),...t})}clone(){return new Ta(this.toJSON())}}function ohe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function she(e,t){var r,a;let n=!1;for(const i of((r=e==null?void 0:e.role)==null?void 0:r.capabilities)||[])if(i.uniqueId===t||i.uniqueId==="root.*"||(a=i==null?void 0:i.uniqueId)!=null&&a.endsWith(".*")&&t.includes(i.uniqueId.replace("*",""))){n=!0;break}return n}function lhe(e,t,n){let r=!1,a=!1;if(!e)return!1;const i=t.find(l=>l.uniqueId===e.workspaceId);if(!i)return!1;for(const l of i.capabilities||[])if(new RegExp(l).test(n)){r=!0;break}const o=(i.roles||[]).find(l=>l.uniqueId===e.roleId);if(!o)return!1;for(const l of o.capabilities||[])if(new RegExp(l).test(n)){a=!0;break}return r&&a}function kQ(e){for(var t=[],n=e.length,r,a=0;a>>0,t.push(String.fromCharCode(r));return t.join("")}function uhe(e,t,n,r,a){var i=new XMLHttpRequest;i.open(t,e),i.addEventListener("load",function(){var o=kQ(this.responseText);o="data:application/text;base64,"+btoa(o),document.location=o},!1),i.setRequestHeader("Authorization",n),i.setRequestHeader("Workspace-Id",r),i.setRequestHeader("role-Id",a),i.overrideMimeType("application/octet-stream; charset=x-user-defined;"),i.send(null)}const che=({path:e})=>{At();const{options:t}=R.useContext(nt);_Q(e?()=>{const n=t==null?void 0:t.headers;uhe(t.prefix+""+e,"GET",n.authorization||"",n["workspace-id"]||"",n["role-id"]||"")}:void 0,Ir.ExportTable)};function d0(e,t){const n={[Ir.NewEntity]:"n",[Ir.NewChildEntity]:"n",[Ir.EditEntity]:"e",[Ir.SidebarToggle]:"m",[Ir.ViewQuestions]:"q",[Ir.Delete]:"Backspace",[Ir.StopStart]:" ",[Ir.ExportTable]:"x",[Ir.CommonBack]:"Escape",[Ir.Select1Index]:"1",[Ir.Select2Index]:"2",[Ir.Select3Index]:"3",[Ir.Select4Index]:"4",[Ir.Select5Index]:"5",[Ir.Select6Index]:"6",[Ir.Select7Index]:"7",[Ir.Select8Index]:"8",[Ir.Select9Index]:"9"};let r;return typeof e=="object"?r=e.map(a=>n[a]):typeof e=="string"&&(r=n[e]),rF(r,t)}function rF(e,t){R.useEffect(()=>{if(!e||e.length===0||!t)return;function n(r){var a=r||window.event,i=a.target||a.srcElement;const o=i.tagName.toUpperCase(),l=i.type;if(["TEXTAREA","SELECT"].includes(o)){r.key==="Escape"&&a.target.blur();return}if(o==="INPUT"&&(l==="text"||l==="password")){r.key==="Escape"&&a.target.blur();return}let u=!1;typeof e=="string"&&r.key===e?u=!0:Array.isArray(e)&&(u=e.includes(r.key)),u&&t&&t(r.key)}if(t)return window.addEventListener("keyup",n),()=>{window.removeEventListener("keyup",n)}},[t,e])}function rL({filter:e}){const t=R.useContext(t_);return w.jsx(w.Fragment,{children:(t.refs||[]).filter(e||Boolean).map(n=>w.jsx(dhe,{mref:n},n.id))})}function dhe({mref:e}){var t;return w.jsx("div",{className:"action-menu",children:w.jsx("ul",{className:"navbar-nav",children:(t=e.actions)==null?void 0:t.filter(Boolean).map(n=>w.jsx(fhe,{item:n},n.uniqueActionKey))})})}function fhe({item:e}){if(e.Component){const t=e.Component;return w.jsx("li",{className:"action-menu-item",children:w.jsx(t,{})})}return w.jsx("li",{className:ia("action-menu-item",e.className),onClick:e.onSelect,children:e.icon?w.jsx("span",{children:w.jsx("img",{src:kr.PUBLIC_URL+e.icon,title:e.label,alt:e.label})}):w.jsx("span",{children:e.label})})}const t_=ze.createContext({setActionMenu(){},removeActionMenu(){},removeActionMenuItems(e,t){},refs:[]});function phe(){const e=R.useContext(t_);return{addActions:(a,i)=>(e.setActionMenu(a,i),()=>e.removeActionMenu(a)),removeActionMenu:a=>{e.removeActionMenu(a)},deleteActions:(a,i)=>{e.removeActionMenuItems(a,i)}}}function EE(e,t,n,r){const a=R.useContext(t_);return R.useEffect(()=>(a.setActionMenu(e,t.filter(i=>i!==void 0)),()=>{a.removeActionMenu(e)}),[]),{addActions(i,o=e){a.setActionMenu(o,i)},deleteActions(i,o=e){a.removeActionMenuItems(o,i)}}}function hhe({children:e}){const[t,n]=R.useState([]),r=(o,l)=>{n(u=>(u.find(f=>f.id===o)?u=u.map(f=>f.id===o?{...f,actions:l}:f):u.push({id:o,actions:l}),[...u]))},a=o=>{n(l=>[...l.filter(u=>u.id!==o)])},i=(o,l)=>{for(let d=0;dv===y.uniqueActionKey)||g.push(y);f.actions=g}}const u=[...t];n(u)};return w.jsx(t_.Provider,{value:{refs:t,setActionMenu:r,removeActionMenuItems:i,removeActionMenu:a},children:e})}function mhe({onCancel:e,onSave:t,access:n}){const{selectedUrw:r}=R.useContext(nt),a=R.useMemo(()=>n?(r==null?void 0:r.workspaceId)!=="root"&&(n!=null&&n.onlyRoot)?!1:!(n!=null&&n.permissions)||n.permissions.length===0?!0:she(r,n.permissions[0]):!0,[r,n]),i=At();EE("editing-core",(({onSave:l,onCancel:u})=>a?[{icon:"",label:i.common.save,uniqueActionKey:"save",onSelect:()=>{l()}},u&&{icon:"",label:i.common.cancel,uniqueActionKey:"cancel",onSelect:()=>{u()}}]:[])({onCancel:e,onSave:t}))}function ghe(e,t){const n=At();d0(t,e),EE("commonEntityActions",[e&&{icon:ku.add,label:n.actions.new,uniqueActionKey:"new",onSelect:e}])}function xQ(e,t){const n=At();d0(t,e),EE("navigation",[e&&{icon:ku.left,label:n.actions.back,uniqueActionKey:"back",className:"navigator-back-button",onSelect:e}])}function vhe(){const{session:e,options:t}=R.useContext(nt);_Q(()=>{var n=new XMLHttpRequest;n.open("GET",t.prefix+"roles/export"),n.addEventListener("load",function(){var a=kQ(this.responseText);a="data:application/text;base64,"+btoa(a),document.location=a},!1);const r=t==null?void 0:t.headers;n.setRequestHeader("Authorization",r.authorization||""),n.setRequestHeader("Workspace-Id",r["workspace-id"]||""),n.setRequestHeader("role-Id",r["role-id"]||""),n.overrideMimeType("application/octet-stream; charset=x-user-defined;"),n.send(null)},Ir.ExportTable)}function _Q(e,t){const n=At();d0(t,e),EE("exportTools",[e&&{icon:ku.export,label:n.actions.new,uniqueActionKey:"export",onSelect:e}])}function yhe(e,t){const n=At();d0(t,e),EE("commonEntityActions",[e&&{icon:ku.edit,label:n.actions.edit,uniqueActionKey:"new",onSelect:e}])}function bhe(e,t,n=100){const r=R.useRef(window.innerWidth);R.useEffect(()=>{let a;const i=()=>{const l=window.innerWidth,u=l=e&&u||r.current{clearTimeout(a),a=setTimeout(i,n)};return window.addEventListener("resize",o),i(),()=>{window.removeEventListener("resize",o),clearTimeout(a)}},[e,t,n])}function OQ(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="number"&&!isNaN(e),Ov=e=>typeof e=="string",as=e=>typeof e=="function",Tk=e=>Ov(e)||as(e)?e:null,IR=e=>R.isValidElement(e)||Ov(e)||as(e)||pS(e);function whe(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=r+"px",a.transition=`all ${n}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,n)})})}function n_(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:a=!0,collapseDuration:i=300}=e;return function(o){let{children:l,position:u,preventExitTransition:d,done:f,nodeRef:g,isIn:y}=o;const h=r?`${t}--${u}`:t,v=r?`${n}--${u}`:n,E=R.useRef(0);return R.useLayoutEffect(()=>{const T=g.current,C=h.split(" "),k=_=>{_.target===g.current&&(T.dispatchEvent(new Event("d")),T.removeEventListener("animationend",k),T.removeEventListener("animationcancel",k),E.current===0&&_.type!=="animationcancel"&&T.classList.remove(...C))};T.classList.add(...C),T.addEventListener("animationend",k),T.addEventListener("animationcancel",k)},[]),R.useEffect(()=>{const T=g.current,C=()=>{T.removeEventListener("animationend",C),a?whe(T,f,i):f()};y||(d?C():(E.current=1,T.className+=` ${v}`,T.addEventListener("animationend",C)))},[y]),ze.createElement(ze.Fragment,null,l)}}function h6(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const yl={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter(r=>r!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{const n=setTimeout(()=>{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},zC=e=>{let{theme:t,type:n,...r}=e;return ze.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...r})},DR={info:function(e){return ze.createElement(zC,{...e},ze.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return ze.createElement(zC,{...e},ze.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return ze.createElement(zC,{...e},ze.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return ze.createElement(zC,{...e},ze.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return ze.createElement("div",{className:"Toastify__spinner"})}};function She(e){const[,t]=R.useReducer(h=>h+1,0),[n,r]=R.useState([]),a=R.useRef(null),i=R.useRef(new Map).current,o=h=>n.indexOf(h)!==-1,l=R.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:o,getToast:h=>i.get(h)}).current;function u(h){let{containerId:v}=h;const{limit:E}=l.props;!E||v&&l.containerId!==v||(l.count-=l.queue.length,l.queue=[])}function d(h){r(v=>h==null?[]:v.filter(E=>E!==h))}function f(){const{toastContent:h,toastProps:v,staleId:E}=l.queue.shift();y(h,v,E)}function g(h,v){let{delay:E,staleId:T,...C}=v;if(!IR(h)||(function(le){return!a.current||l.props.enableMultiContainer&&le.containerId!==l.props.containerId||i.has(le.toastId)&&le.updateId==null})(C))return;const{toastId:k,updateId:_,data:A}=C,{props:P}=l,N=()=>d(k),I=_==null;I&&l.count++;const L={...P,style:P.toastStyle,key:l.toastKey++,...Object.fromEntries(Object.entries(C).filter(le=>{let[re,ge]=le;return ge!=null})),toastId:k,updateId:_,data:A,closeToast:N,isIn:!1,className:Tk(C.className||P.toastClassName),bodyClassName:Tk(C.bodyClassName||P.bodyClassName),progressClassName:Tk(C.progressClassName||P.progressClassName),autoClose:!C.isLoading&&(j=C.autoClose,z=P.autoClose,j===!1||pS(j)&&j>0?j:z),deleteToast(){const le=h6(i.get(k),"removed");i.delete(k),yl.emit(4,le);const re=l.queue.length;if(l.count=k==null?l.count-l.displayedToast:l.count-1,l.count<0&&(l.count=0),re>0){const ge=k==null?l.props.limit:1;if(re===1||ge===1)l.displayedToast++,f();else{const me=ge>re?re:ge;l.displayedToast=me;for(let W=0;Wce in DR)(ge)&&(G=DR[ge](q))),G})(L),as(C.onOpen)&&(L.onOpen=C.onOpen),as(C.onClose)&&(L.onClose=C.onClose),L.closeButton=P.closeButton,C.closeButton===!1||IR(C.closeButton)?L.closeButton=C.closeButton:C.closeButton===!0&&(L.closeButton=!IR(P.closeButton)||P.closeButton);let Q=h;R.isValidElement(h)&&!Ov(h.type)?Q=R.cloneElement(h,{closeToast:N,toastProps:L,data:A}):as(h)&&(Q=h({closeToast:N,toastProps:L,data:A})),P.limit&&P.limit>0&&l.count>P.limit&&I?l.queue.push({toastContent:Q,toastProps:L,staleId:T}):pS(E)?setTimeout(()=>{y(Q,L,T)},E):y(Q,L,T)}function y(h,v,E){const{toastId:T}=v;E&&i.delete(E);const C={content:h,props:v};i.set(T,C),r(k=>[...k,T].filter(_=>_!==E)),yl.emit(4,h6(C,C.props.updateId==null?"added":"updated"))}return R.useEffect(()=>(l.containerId=e.containerId,yl.cancelEmit(3).on(0,g).on(1,h=>a.current&&d(h)).on(5,u).emit(2,l),()=>{i.clear(),yl.emit(3,l)}),[]),R.useEffect(()=>{l.props=e,l.isToastActive=o,l.displayedToast=n.length}),{getToastToRender:function(h){const v=new Map,E=Array.from(i.values());return e.newestOnTop&&E.reverse(),E.forEach(T=>{const{position:C}=T.props;v.has(C)||v.set(C,[]),v.get(C).push(T)}),Array.from(v,T=>h(T[0],T[1]))},containerRef:a,isToastActive:o}}function m6(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function g6(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function Ehe(e){const[t,n]=R.useState(!1),[r,a]=R.useState(!1),i=R.useRef(null),o=R.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,l=R.useRef(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:g,closeOnClick:y}=e;function h(A){if(e.draggable){A.nativeEvent.type==="touchstart"&&A.nativeEvent.preventDefault(),o.didMove=!1,document.addEventListener("mousemove",C),document.addEventListener("mouseup",k),document.addEventListener("touchmove",C),document.addEventListener("touchend",k);const P=i.current;o.canCloseOnClick=!0,o.canDrag=!0,o.boundingRect=P.getBoundingClientRect(),P.style.transition="",o.x=m6(A.nativeEvent),o.y=g6(A.nativeEvent),e.draggableDirection==="x"?(o.start=o.x,o.removalDistance=P.offsetWidth*(e.draggablePercent/100)):(o.start=o.y,o.removalDistance=P.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(A){if(o.boundingRect){const{top:P,bottom:N,left:I,right:L}=o.boundingRect;A.nativeEvent.type!=="touchend"&&e.pauseOnHover&&o.x>=I&&o.x<=L&&o.y>=P&&o.y<=N?T():E()}}function E(){n(!0)}function T(){n(!1)}function C(A){const P=i.current;o.canDrag&&P&&(o.didMove=!0,t&&T(),o.x=m6(A),o.y=g6(A),o.delta=e.draggableDirection==="x"?o.x-o.start:o.y-o.start,o.start!==o.x&&(o.canCloseOnClick=!1),P.style.transform=`translate${e.draggableDirection}(${o.delta}px)`,P.style.opacity=""+(1-Math.abs(o.delta/o.removalDistance)))}function k(){document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",k),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",k);const A=i.current;if(o.canDrag&&o.didMove&&A){if(o.canDrag=!1,Math.abs(o.delta)>o.removalDistance)return a(!0),void e.closeToast();A.style.transition="transform 0.2s, opacity 0.2s",A.style.transform=`translate${e.draggableDirection}(0)`,A.style.opacity="1"}}R.useEffect(()=>{l.current=e}),R.useEffect(()=>(i.current&&i.current.addEventListener("d",E,{once:!0}),as(e.onOpen)&&e.onOpen(R.isValidElement(e.children)&&e.children.props),()=>{const A=l.current;as(A.onClose)&&A.onClose(R.isValidElement(A.children)&&A.children.props)}),[]),R.useEffect(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||T(),window.addEventListener("focus",E),window.addEventListener("blur",T)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",E),window.removeEventListener("blur",T))}),[e.pauseOnFocusLoss]);const _={onMouseDown:h,onTouchStart:h,onMouseUp:v,onTouchEnd:v};return u&&d&&(_.onMouseEnter=T,_.onMouseLeave=E),y&&(_.onClick=A=>{g&&g(A),o.canCloseOnClick&&f()}),{playToast:E,pauseToast:T,isRunning:t,preventExitTransition:r,toastRef:i,eventHandlers:_}}function RQ(e){let{closeToast:t,theme:n,ariaLabel:r="close"}=e;return ze.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:a=>{a.stopPropagation(),t(a)},"aria-label":r},ze.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},ze.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function The(e){let{delay:t,isRunning:n,closeToast:r,type:a="default",hide:i,className:o,style:l,controlledProgress:u,progress:d,rtl:f,isIn:g,theme:y}=e;const h=i||u&&d===0,v={...l,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:h?0:1};u&&(v.transform=`scaleX(${d})`);const E=Gp("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":f}),T=as(o)?o({rtl:f,type:a,defaultClassName:E}):Gp(E,o);return ze.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:T,style:v,[u&&d>=1?"onTransitionEnd":"onAnimationEnd"]:u&&d<1?null:()=>{g&&r()}})}const Che=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:a}=Ehe(e),{closeButton:i,children:o,autoClose:l,onClick:u,type:d,hideProgressBar:f,closeToast:g,transition:y,position:h,className:v,style:E,bodyClassName:T,bodyStyle:C,progressClassName:k,progressStyle:_,updateId:A,role:P,progress:N,rtl:I,toastId:L,deleteToast:j,isIn:z,isLoading:Q,iconOut:le,closeOnClick:re,theme:ge}=e,me=Gp("Toastify__toast",`Toastify__toast-theme--${ge}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":re}),W=as(v)?v({rtl:I,position:h,type:d,defaultClassName:me}):Gp(me,v),G=!!N||!l,q={closeToast:g,type:d,theme:ge};let ce=null;return i===!1||(ce=as(i)?i(q):R.isValidElement(i)?R.cloneElement(i,q):RQ(q)),ze.createElement(y,{isIn:z,done:j,position:h,preventExitTransition:n,nodeRef:r},ze.createElement("div",{id:L,onClick:u,className:W,...a,style:E,ref:r},ze.createElement("div",{...z&&{role:P},className:as(T)?T({type:d}):Gp("Toastify__toast-body",T),style:C},le!=null&&ze.createElement("div",{className:Gp("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Q})},le),ze.createElement("div",null,o)),ce,ze.createElement(The,{...A&&!G?{key:`pb-${A}`}:{},rtl:I,theme:ge,delay:l,isRunning:t,isIn:z,closeToast:g,hide:f,type:d,style:_,className:k,controlledProgress:G,progress:N||0})))},r_=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},khe=n_(r_("bounce",!0));n_(r_("slide",!0));n_(r_("zoom"));n_(r_("flip"));const aL=R.forwardRef((e,t)=>{const{getToastToRender:n,containerRef:r,isToastActive:a}=She(e),{className:i,style:o,rtl:l,containerId:u}=e;function d(f){const g=Gp("Toastify__toast-container",`Toastify__toast-container--${f}`,{"Toastify__toast-container--rtl":l});return as(i)?i({position:f,rtl:l,defaultClassName:g}):Gp(g,Tk(i))}return R.useEffect(()=>{t&&(t.current=r.current)},[]),ze.createElement("div",{ref:r,className:"Toastify",id:u},n((f,g)=>{const y=g.length?{...o}:{...o,pointerEvents:"none"};return ze.createElement("div",{className:d(f),style:y,key:`container-${f}`},g.map((h,v)=>{let{content:E,props:T}=h;return ze.createElement(Che,{...T,isIn:a(T.toastId),style:{...T.style,"--nth":v+1,"--len":g.length},key:`toast-${T.key}`},E)}))}))});aL.displayName="ToastContainer",aL.defaultProps={position:"top-right",transition:khe,autoClose:5e3,closeButton:RQ,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let $R,Zg=new Map,oS=[],xhe=1;function PQ(){return""+xhe++}function _he(e){return e&&(Ov(e.toastId)||pS(e.toastId))?e.toastId:PQ()}function hS(e,t){return Zg.size>0?yl.emit(0,e,t):oS.push({content:e,options:t}),t.toastId}function Xk(e,t){return{...t,type:t&&t.type||e,toastId:_he(t)}}function qC(e){return(t,n)=>hS(t,Xk(e,n))}function ea(e,t){return hS(e,Xk("default",t))}ea.loading=(e,t)=>hS(e,Xk("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),ea.promise=function(e,t,n){let r,{pending:a,error:i,success:o}=t;a&&(r=Ov(a)?ea.loading(a,n):ea.loading(a.render,{...n,...a}));const l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(f,g,y)=>{if(g==null)return void ea.dismiss(r);const h={type:f,...l,...n,data:y},v=Ov(g)?{render:g}:g;return r?ea.update(r,{...h,...v}):ea(v.render,{...h,...v}),y},d=as(e)?e():e;return d.then(f=>u("success",o,f)).catch(f=>u("error",i,f)),d},ea.success=qC("success"),ea.info=qC("info"),ea.error=qC("error"),ea.warning=qC("warning"),ea.warn=ea.warning,ea.dark=(e,t)=>hS(e,Xk("default",{theme:"dark",...t})),ea.dismiss=e=>{Zg.size>0?yl.emit(1,e):oS=oS.filter(t=>e!=null&&t.options.toastId!==e)},ea.clearWaitingQueue=function(e){return e===void 0&&(e={}),yl.emit(5,e)},ea.isActive=e=>{let t=!1;return Zg.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},ea.update=function(e,t){t===void 0&&(t={}),setTimeout(()=>{const n=(function(r,a){let{containerId:i}=a;const o=Zg.get(i||$R);return o&&o.getToast(r)})(e,t);if(n){const{props:r,content:a}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:PQ()};i.toastId!==e&&(i.staleId=e);const o=i.render||a;delete i.render,hS(o,i)}},0)},ea.done=e=>{ea.update(e,{progress:1})},ea.onChange=e=>(yl.on(4,e),()=>{yl.off(4,e)}),ea.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},ea.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},yl.on(2,e=>{$R=e.containerId||e,Zg.set($R,e),oS.forEach(t=>{yl.emit(0,t.content,t.options)}),oS=[]}).on(3,e=>{Zg.delete(e.containerId||e),Zg.size===0&&yl.off(0).off(1).off(5)});let b1=null;const v6=2500;function Ohe(e,t){if((b1==null?void 0:b1.content)==e)return;const n=ea(e,{hideProgressBar:!0,autoClose:v6,...t});b1={content:e,key:n},setTimeout(()=>{b1=null},v6)}function f0(e){var n,r,a,i;const t={};if(e.error&&Array.isArray((n=e.error)==null?void 0:n.errors))for(const o of(r=e.error)==null?void 0:r.errors)t[o.location]=o.message;return e.status&&e.ok===!1?{form:`${e.status}`}:((a=e==null?void 0:e.error)!=null&&a.message&&(t.form=(i=e==null?void 0:e.error)==null?void 0:i.message),e.message?{form:`${e.message}`}:t)}function AQ(){return("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}function Rhe(e,t,n,r){const[a,i]=R.useState(null);return R.useEffect(()=>{const o=document.querySelector(e);if(!o)return;let l=null;const u=new ResizeObserver(d=>{for(const f of d){const g=f.contentRect.width;let y=null;for(const{name:h,value:v}of t)if(g{u.unobserve(o),u.disconnect()}},[e,t,n,r]),a}const ih=()=>{const e=navigator.userAgent.toLowerCase(),t="ontouchstart"in window||navigator.maxTouchPoints>0,n=window.innerWidth||document.documentElement.clientWidth,r=!!window.cordova||!!window.cordovaPlatformId,a=/iphone|android.*mobile|blackberry|windows phone|opera mini|iemobile/,i=/ipad|android(?!.*mobile)|tablet/,o=/windows|macintosh|linux|x11/,l=a.test(e),u=i.test(e),d=!t||o.test(e);let f="large";n<600?f="small":n<1024&&(f="medium");const g=n<1024;return{isPhysicalPhone:l,isTablet:u,isDesktop:d,isMobileView:g,isCordova:r,viewSize:f}},NQ=ze.createContext({sidebarVisible:!1,threshold:"desktop",routers:[{id:"url-router"}],toggleSidebar(){},setSidebarRef(e){},persistSidebarSize(e){},setFocusedRouter(e){},closeCurrentRouter(){},sidebarItemSelected(){},collapseLeftPanel(){},addRouter(){},updateSidebarSize(){},hide(){},show(){}});function Lv(){return R.useContext(NQ)}function Phe({children:e}){const t=R.useRef(null),n=R.useRef(null),[r,a]=R.useState(!1),[i,o]=R.useState([{id:"url-router"}]),l=N=>{n.current=N,localStorage.setItem("sidebarState",N.toString())};R.useEffect(()=>{const N=localStorage.getItem("sidebarState"),I=N!==null?parseFloat(N):null;I&&(n.current=I)},[]);const u=R.useRef(!1),d=N=>{var I;(I=t.current)==null||I.resize(N)};bhe(768,N=>{d(N?0:20)});const f=N=>{o(I=>[...I,{id:AQ(),href:N}])},g=N=>{o(I=>I.map(L=>L.id===N?{...L,focused:!0}:{...L,focused:!1}))},y=()=>{var N;t.current&&u.current&&(E(),u.current=!1),C((N=t.current)==null?void 0:N.getSize())},h=()=>{var j;const N=(j=t.current)==null?void 0:j.getSize(),I=180/window.innerWidth*100;let L=I;n.current&&n.current>I&&(L=n.current),ih().isMobileView&&(L=80),N&&N>0?(d(0),localStorage.setItem("sidebarState","-1"),a(!1)):(localStorage.setItem("sidebarState",L.toString()),d(L),a(!0))},v=N=>{t.current=N},E=()=>{d(0),a(!1)},T=N=>{o(I=>I.filter(L=>L.id!==N))},C=N=>{d(N)},k=()=>{t.current&&(d(20),a(!0))},_=N=>{N==="closed"?u.current=!0:u.current=!1},A=Rhe(".sidebar-panel",[{name:"closed",value:50},{name:"tablet",value:100},{name:"desktop",value:150}],_,_),P=()=>{window.innerWidth<500&&E()};return w.jsx(NQ.Provider,{value:{hide:E,sidebarItemSelected:P,addRouter:f,show:k,updateSidebarSize:C,setFocusedRouter:g,setSidebarRef:v,persistSidebarSize:l,closeCurrentRouter:T,threshold:A,collapseLeftPanel:y,routers:i,sidebarVisible:r,toggleSidebar:h},children:e})}class Od extends wn{constructor(...t){super(...t),this.children=void 0,this.name=void 0,this.operationId=void 0,this.diskPath=void 0,this.size=void 0,this.virtualPath=void 0,this.type=void 0,this.variations=void 0}}Od.Navigation={edit(e,t){return`${t?"/"+t:".."}/file/edit/${e}`},create(e){return`${e?"/"+e:".."}/file/new`},single(e,t){return`${t?"/"+t:".."}/file/${e}`},query(e={},t){return`${t?"/"+t:".."}/files`},Redit:"file/edit/:uniqueId",Rcreate:"file/new",Rsingle:"file/:uniqueId",Rquery:"files",rVariationsCreate:"file/:linkerId/variations/new",rVariationsEdit:"file/:linkerId/variations/edit/:uniqueId",editVariations(e,t,n){return`${n?"/"+n:""}/file/${e}/variations/edit/${t}`},createVariations(e,t){return`${t?"/"+t:""}/file/${e}/variations/new`}};Od.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"file",features:{},gormMap:{},fields:[{name:"name",type:"string",computedType:"string",gormMap:{}},{name:"operationId",description:"For each upload, we need to assign a operation id, so if the operation has been cancelled, it would be cleared automatically, and there won't be orphant files in the database.",type:"string",computedType:"string",gormMap:{}},{name:"diskPath",type:"string",computedType:"string",gormMap:{}},{name:"size",type:"int64",computedType:"number",gormMap:{}},{name:"virtualPath",type:"string",computedType:"string",gormMap:{}},{name:"type",type:"string",computedType:"string",gormMap:{}},{name:"variations",type:"array",computedType:"FileVariations[]",gormMap:{},"-":"FileVariations",fields:[{name:"name",type:"string",computedType:"string",gormMap:{}}],linkedTo:"FileEntity"}],description:"Tus file uploading reference of the content. Every files being uploaded using tus will be stored in this table."};Od.Fields={...wn.Fields,name:"name",operationId:"operationId",diskPath:"diskPath",size:"size",virtualPath:"virtualPath",type:"type",variations$:"variations",variationsAt:e=>({$:`variations[${e}]`,...wn.Fields,name:`variations[${e}].name`})};function y6(e){let t=(e||"").replaceAll(/fbtusid_____(.*)_____/g,kr.REMOTE_SERVICE+"files/$1");return t=(t||"").replaceAll(/directasset_____(.*)_____/g,kr.REMOTE_SERVICE+"$1"),t}function Ahe(){return{compiler:"unknown"}}function MQ(){return{directPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?y6(n.uniqueId):`${kr.REMOTE_SERVICE}files-inline/${n==null?void 0:n.diskPath}`,downloadPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?y6(n.uniqueId):`${kr.REMOTE_SERVICE}files/${n==null?void 0:n.diskPath}`}}const kl=({children:e,isActive:t,skip:n,activeClassName:r,inActiveClassName:a,...i})=>{var g;const o=xr(),{locale:l}=sr(),u=i.locale||l||"en",{compiler:d}=Ahe();let f=(i==null?void 0:i.href)||(o==null?void 0:o.asPath)||"";return typeof f=="string"&&(f!=null&&f.indexOf)&&f.indexOf("http")===0&&(n=!0),typeof f=="string"&&u&&!n&&!f.startsWith(".")&&(f=f?`/${l}`+f:(g=o.pathname)==null?void 0:g.replace("[locale]",u)),t&&(i.className=`${i.className||""} ${r||"active"}`),!t&&a&&(i.className=`${i.className||""} ${a}`),w.jsx(Bse,{...i,href:f,compiler:d,children:e})},Ub=e=>{const{children:t,forceActive:n,...r}=e,{locale:a,asPath:i}=sr(),o=R.Children.only(t),l=i===`/${a}`+r.href||i+"/"==`/${a}`+r.href||n;return e.disabled?w.jsx("span",{className:"disabled",children:o}):w.jsx(kl,{...r,isActive:l,children:o})};function Nhe(){const e=R.useContext(aF);return w.jsx("span",{children:e.ref.title})}const aF=ze.createContext({setPageTitle(){},removePageTitle(){},ref:{title:""}});function hh(e){const t=R.useContext(aF);R.useEffect(()=>(t.setPageTitle(e||""),()=>{t.removePageTitle("")}),[e])}function Mhe({children:e,prefix:t,affix:n}){const[r,a]=R.useState(""),i=l=>{const u=[t,l,n].filter(Boolean).join(" | ");document.title=u,a(l)},o=()=>{document.title="",a("")};return w.jsx(aF.Provider,{value:{ref:{title:r},setPageTitle:i,removePageTitle:o},children:e})}const IQ=()=>{const e=R.useRef();return{withDebounce:(n,r)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(n,r)}}},a_=ze.createContext({result:[],setResult(){},reset(){},appendResult(){},setPhrase(){},phrase:""});function Ihe({children:e}){const[t,n]=R.useState(""),[r,a]=R.useState([]),i=l=>{a(u=>[...u,l])},o=()=>{n(""),a([])};return w.jsx(a_.Provider,{value:{result:r,setResult:a,reset:o,appendResult:i,setPhrase:n,phrase:t},children:e})}function Qk(e,t){return Qk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},Qk(e,t)}function Fv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Qk(e,t)}var p0=(function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(r){var a=this,i=r||function(){};return this.listeners.push(i),this.onSubscribe(),function(){a.listeners=a.listeners.filter(function(o){return o!==i}),a.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e})();function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u";function ji(){}function Dhe(e,t){return typeof e=="function"?e(t):e}function iL(e){return typeof e=="number"&&e>=0&&e!==1/0}function Zk(e){return Array.isArray(e)?e:[e]}function DQ(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ck(e,t,n){return TE(e)?typeof t=="function"?vt({},n,{queryKey:e,queryFn:t}):vt({},t,{queryKey:e}):e}function $he(e,t,n){return TE(e)?vt({},t,{mutationKey:e}):typeof e=="function"?vt({},t,{mutationFn:e}):vt({},e)}function zp(e,t,n){return TE(e)?[vt({},t,{queryKey:e}),n]:[e||{},t]}function Lhe(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var n=e??!t;return n?"active":"inactive"}function b6(e,t){var n=e.active,r=e.exact,a=e.fetching,i=e.inactive,o=e.predicate,l=e.queryKey,u=e.stale;if(TE(l)){if(r){if(t.queryHash!==iF(l,t.options))return!1}else if(!ex(t.queryKey,l))return!1}var d=Lhe(n,i);if(d==="none")return!1;if(d!=="all"){var f=t.isActive();if(d==="active"&&!f||d==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||typeof a=="boolean"&&t.isFetching()!==a||o&&!o(t))}function w6(e,t){var n=e.exact,r=e.fetching,a=e.predicate,i=e.mutationKey;if(TE(i)){if(!t.options.mutationKey)return!1;if(n){if(nv(t.options.mutationKey)!==nv(i))return!1}else if(!ex(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||a&&!a(t))}function iF(e,t){var n=(t==null?void 0:t.queryKeyHashFn)||nv;return n(e)}function nv(e){var t=Zk(e);return Fhe(t)}function Fhe(e){return JSON.stringify(e,function(t,n){return oL(n)?Object.keys(n).sort().reduce(function(r,a){return r[a]=n[a],r},{}):n})}function ex(e,t){return $Q(Zk(e),Zk(t))}function $Q(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(n){return!$Q(e[n],t[n])}):!1}function tx(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||oL(e)&&oL(t)){for(var r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),i=a.length,o=n?[]:{},l=0,u=0;u"u")return!0;var n=t.prototype;return!(!S6(n)||!n.hasOwnProperty("isPrototypeOf"))}function S6(e){return Object.prototype.toString.call(e)==="[object Object]"}function TE(e){return typeof e=="string"||Array.isArray(e)}function Uhe(e){return new Promise(function(t){setTimeout(t,e)})}function E6(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function LQ(){if(typeof AbortController=="function")return new AbortController}var Bhe=(function(e){Fv(t,e);function t(){var r;return r=e.call(this)||this,r.setup=function(a){var i;if(!Jk&&((i=window)!=null&&i.addEventListener)){var o=function(){return a()};return window.addEventListener("visibilitychange",o,!1),window.addEventListener("focus",o,!1),function(){window.removeEventListener("visibilitychange",o),window.removeEventListener("focus",o)}}},r}var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var a;(a=this.cleanup)==null||a.call(this),this.cleanup=void 0}},n.setEventListener=function(a){var i,o=this;this.setup=a,(i=this.cleanup)==null||i.call(this),this.cleanup=a(function(l){typeof l=="boolean"?o.setFocused(l):o.onFocus()})},n.setFocused=function(a){this.focused=a,a&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(a){a()})},n.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t})(p0),mS=new Bhe,Whe=(function(e){Fv(t,e);function t(){var r;return r=e.call(this)||this,r.setup=function(a){var i;if(!Jk&&((i=window)!=null&&i.addEventListener)){var o=function(){return a()};return window.addEventListener("online",o,!1),window.addEventListener("offline",o,!1),function(){window.removeEventListener("online",o),window.removeEventListener("offline",o)}}},r}var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var a;(a=this.cleanup)==null||a.call(this),this.cleanup=void 0}},n.setEventListener=function(a){var i,o=this;this.setup=a,(i=this.cleanup)==null||i.call(this),this.cleanup=a(function(l){typeof l=="boolean"?o.setOnline(l):o.onOnline()})},n.setOnline=function(a){this.online=a,a&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(a){a()})},n.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t})(p0),kk=new Whe;function zhe(e){return Math.min(1e3*Math.pow(2,e),3e4)}function nx(e){return typeof(e==null?void 0:e.cancel)=="function"}var FQ=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function xk(e){return e instanceof FQ}var jQ=function(t){var n=this,r=!1,a,i,o,l;this.abort=t.abort,this.cancel=function(y){return a==null?void 0:a(y)},this.cancelRetry=function(){r=!0},this.continueRetry=function(){r=!1},this.continue=function(){return i==null?void 0:i()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(y,h){o=y,l=h});var u=function(h){n.isResolved||(n.isResolved=!0,t.onSuccess==null||t.onSuccess(h),i==null||i(),o(h))},d=function(h){n.isResolved||(n.isResolved=!0,t.onError==null||t.onError(h),i==null||i(),l(h))},f=function(){return new Promise(function(h){i=h,n.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){i=void 0,n.isPaused=!1,t.onContinue==null||t.onContinue()})},g=function y(){if(!n.isResolved){var h;try{h=t.fn()}catch(v){h=Promise.reject(v)}a=function(E){if(!n.isResolved&&(d(new FQ(E)),n.abort==null||n.abort(),nx(h)))try{h.cancel()}catch{}},n.isTransportCancelable=nx(h),Promise.resolve(h).then(u).catch(function(v){var E,T;if(!n.isResolved){var C=(E=t.retry)!=null?E:3,k=(T=t.retryDelay)!=null?T:zhe,_=typeof k=="function"?k(n.failureCount,v):k,A=C===!0||typeof C=="number"&&n.failureCount"u"&&(l.exact=!0),this.queries.find(function(u){return b6(l,u)})},n.findAll=function(a,i){var o=zp(a,i),l=o[0];return Object.keys(l).length>0?this.queries.filter(function(u){return b6(l,u)}):this.queries},n.notify=function(a){var i=this;ra.batch(function(){i.listeners.forEach(function(o){o(a)})})},n.onFocus=function(){var a=this;ra.batch(function(){a.queries.forEach(function(i){i.onFocus()})})},n.onOnline=function(){var a=this;ra.batch(function(){a.queries.forEach(function(i){i.onOnline()})})},t})(p0),Yhe=(function(){function e(n){this.options=vt({},n.defaultOptions,n.options),this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.observers=[],this.state=n.state||BQ(),this.meta=n.meta}var t=e.prototype;return t.setState=function(r){this.dispatch({type:"setState",state:r})},t.addObserver=function(r){this.observers.indexOf(r)===-1&&this.observers.push(r)},t.removeObserver=function(r){this.observers=this.observers.filter(function(a){return a!==r})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(ji).catch(ji)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var r=this,a,i=this.state.status==="loading",o=Promise.resolve();return i||(this.dispatch({type:"loading",variables:this.options.variables}),o=o.then(function(){r.mutationCache.config.onMutate==null||r.mutationCache.config.onMutate(r.state.variables,r)}).then(function(){return r.options.onMutate==null?void 0:r.options.onMutate(r.state.variables)}).then(function(l){l!==r.state.context&&r.dispatch({type:"loading",context:l,variables:r.state.variables})})),o.then(function(){return r.executeMutation()}).then(function(l){a=l,r.mutationCache.config.onSuccess==null||r.mutationCache.config.onSuccess(a,r.state.variables,r.state.context,r)}).then(function(){return r.options.onSuccess==null?void 0:r.options.onSuccess(a,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(a,null,r.state.variables,r.state.context)}).then(function(){return r.dispatch({type:"success",data:a}),a}).catch(function(l){return r.mutationCache.config.onError==null||r.mutationCache.config.onError(l,r.state.variables,r.state.context,r),rx().error(l),Promise.resolve().then(function(){return r.options.onError==null?void 0:r.options.onError(l,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(void 0,l,r.state.variables,r.state.context)}).then(function(){throw r.dispatch({type:"error",error:l}),l})})},t.executeMutation=function(){var r=this,a;return this.retryer=new jQ({fn:function(){return r.options.mutationFn?r.options.mutationFn(r.state.variables):Promise.reject("No mutationFn found")},onFail:function(){r.dispatch({type:"failed"})},onPause:function(){r.dispatch({type:"pause"})},onContinue:function(){r.dispatch({type:"continue"})},retry:(a=this.options.retry)!=null?a:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(r){var a=this;this.state=Khe(this.state,r),ra.batch(function(){a.observers.forEach(function(i){i.onMutationUpdate(r)}),a.mutationCache.notify(a)})},e})();function BQ(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function Khe(e,t){switch(t.type){case"failed":return vt({},e,{failureCount:e.failureCount+1});case"pause":return vt({},e,{isPaused:!0});case"continue":return vt({},e,{isPaused:!1});case"loading":return vt({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return vt({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return vt({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return vt({},e,t.state);default:return e}}var Xhe=(function(e){Fv(t,e);function t(r){var a;return a=e.call(this)||this,a.config=r||{},a.mutations=[],a.mutationId=0,a}var n=t.prototype;return n.build=function(a,i,o){var l=new Yhe({mutationCache:this,mutationId:++this.mutationId,options:a.defaultMutationOptions(i),state:o,defaultOptions:i.mutationKey?a.getMutationDefaults(i.mutationKey):void 0,meta:i.meta});return this.add(l),l},n.add=function(a){this.mutations.push(a),this.notify(a)},n.remove=function(a){this.mutations=this.mutations.filter(function(i){return i!==a}),a.cancel(),this.notify(a)},n.clear=function(){var a=this;ra.batch(function(){a.mutations.forEach(function(i){a.remove(i)})})},n.getAll=function(){return this.mutations},n.find=function(a){return typeof a.exact>"u"&&(a.exact=!0),this.mutations.find(function(i){return w6(a,i)})},n.findAll=function(a){return this.mutations.filter(function(i){return w6(a,i)})},n.notify=function(a){var i=this;ra.batch(function(){i.listeners.forEach(function(o){o(a)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var a=this.mutations.filter(function(i){return i.state.isPaused});return ra.batch(function(){return a.reduce(function(i,o){return i.then(function(){return o.continue().catch(ji)})},Promise.resolve())})},t})(p0);function Qhe(){return{onFetch:function(t){t.fetchFn=function(){var n,r,a,i,o,l,u=(n=t.fetchOptions)==null||(r=n.meta)==null?void 0:r.refetchPage,d=(a=t.fetchOptions)==null||(i=a.meta)==null?void 0:i.fetchMore,f=d==null?void 0:d.pageParam,g=(d==null?void 0:d.direction)==="forward",y=(d==null?void 0:d.direction)==="backward",h=((o=t.state.data)==null?void 0:o.pages)||[],v=((l=t.state.data)==null?void 0:l.pageParams)||[],E=LQ(),T=E==null?void 0:E.signal,C=v,k=!1,_=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},A=function(ge,me,W,G){return C=G?[me].concat(C):[].concat(C,[me]),G?[W].concat(ge):[].concat(ge,[W])},P=function(ge,me,W,G){if(k)return Promise.reject("Cancelled");if(typeof W>"u"&&!me&&ge.length)return Promise.resolve(ge);var q={queryKey:t.queryKey,signal:T,pageParam:W,meta:t.meta},ce=_(q),H=Promise.resolve(ce).then(function(ie){return A(ge,W,ie,G)});if(nx(ce)){var Y=H;Y.cancel=ce.cancel}return H},N;if(!h.length)N=P([]);else if(g){var I=typeof f<"u",L=I?f:T6(t.options,h);N=P(h,I,L)}else if(y){var j=typeof f<"u",z=j?f:Jhe(t.options,h);N=P(h,j,z,!0)}else(function(){C=[];var re=typeof t.options.getNextPageParam>"u",ge=u&&h[0]?u(h[0],0,h):!0;N=ge?P([],re,v[0]):Promise.resolve(A([],v[0],h[0]));for(var me=function(q){N=N.then(function(ce){var H=u&&h[q]?u(h[q],q,h):!0;if(H){var Y=re?v[q]:T6(t.options,ce);return P(ce,re,Y)}return Promise.resolve(A(ce,v[q],h[q]))})},W=1;W"u"&&(f.revert=!0);var g=ra.batch(function(){return o.queryCache.findAll(u).map(function(y){return y.cancel(f)})});return Promise.all(g).then(ji).catch(ji)},t.invalidateQueries=function(r,a,i){var o,l,u,d=this,f=zp(r,a,i),g=f[0],y=f[1],h=vt({},g,{active:(o=(l=g.refetchActive)!=null?l:g.active)!=null?o:!0,inactive:(u=g.refetchInactive)!=null?u:!1});return ra.batch(function(){return d.queryCache.findAll(g).forEach(function(v){v.invalidate()}),d.refetchQueries(h,y)})},t.refetchQueries=function(r,a,i){var o=this,l=zp(r,a,i),u=l[0],d=l[1],f=ra.batch(function(){return o.queryCache.findAll(u).map(function(y){return y.fetch(void 0,vt({},d,{meta:{refetchPage:u==null?void 0:u.refetchPage}}))})}),g=Promise.all(f).then(ji);return d!=null&&d.throwOnError||(g=g.catch(ji)),g},t.fetchQuery=function(r,a,i){var o=Ck(r,a,i),l=this.defaultQueryOptions(o);typeof l.retry>"u"&&(l.retry=!1);var u=this.queryCache.build(this,l);return u.isStaleByTime(l.staleTime)?u.fetch(l):Promise.resolve(u.state.data)},t.prefetchQuery=function(r,a,i){return this.fetchQuery(r,a,i).then(ji).catch(ji)},t.fetchInfiniteQuery=function(r,a,i){var o=Ck(r,a,i);return o.behavior=Qhe(),this.fetchQuery(o)},t.prefetchInfiniteQuery=function(r,a,i){return this.fetchInfiniteQuery(r,a,i).then(ji).catch(ji)},t.cancelMutations=function(){var r=this,a=ra.batch(function(){return r.mutationCache.getAll().map(function(i){return i.cancel()})});return Promise.all(a).then(ji).catch(ji)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(r){return this.mutationCache.build(this,r).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(r){this.defaultOptions=r},t.setQueryDefaults=function(r,a){var i=this.queryDefaults.find(function(o){return nv(r)===nv(o.queryKey)});i?i.defaultOptions=a:this.queryDefaults.push({queryKey:r,defaultOptions:a})},t.getQueryDefaults=function(r){var a;return r?(a=this.queryDefaults.find(function(i){return ex(r,i.queryKey)}))==null?void 0:a.defaultOptions:void 0},t.setMutationDefaults=function(r,a){var i=this.mutationDefaults.find(function(o){return nv(r)===nv(o.mutationKey)});i?i.defaultOptions=a:this.mutationDefaults.push({mutationKey:r,defaultOptions:a})},t.getMutationDefaults=function(r){var a;return r?(a=this.mutationDefaults.find(function(i){return ex(r,i.mutationKey)}))==null?void 0:a.defaultOptions:void 0},t.defaultQueryOptions=function(r){if(r!=null&&r._defaulted)return r;var a=vt({},this.defaultOptions.queries,this.getQueryDefaults(r==null?void 0:r.queryKey),r,{_defaulted:!0});return!a.queryHash&&a.queryKey&&(a.queryHash=iF(a.queryKey,a)),a},t.defaultQueryObserverOptions=function(r){return this.defaultQueryOptions(r)},t.defaultMutationOptions=function(r){return r!=null&&r._defaulted?r:vt({},this.defaultOptions.mutations,this.getMutationDefaults(r==null?void 0:r.mutationKey),r,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e})(),eme=(function(e){Fv(t,e);function t(r,a){var i;return i=e.call(this)||this,i.client=r,i.options=a,i.trackedProps=[],i.selectError=null,i.bindMethods(),i.setOptions(a),i}var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),C6(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return sL(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return sL(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(a,i){var o=this.options,l=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(a),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=o.queryKey),this.updateQuery();var u=this.hasListeners();u&&k6(this.currentQuery,l,this.options,o)&&this.executeFetch(),this.updateResult(i),u&&(this.currentQuery!==l||this.options.enabled!==o.enabled||this.options.staleTime!==o.staleTime)&&this.updateStaleTimeout();var d=this.computeRefetchInterval();u&&(this.currentQuery!==l||this.options.enabled!==o.enabled||d!==this.currentRefetchInterval)&&this.updateRefetchInterval(d)},n.getOptimisticResult=function(a){var i=this.client.defaultQueryObserverOptions(a),o=this.client.getQueryCache().build(this.client,i);return this.createResult(o,i)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(a,i){var o=this,l={},u=function(f){o.trackedProps.includes(f)||o.trackedProps.push(f)};return Object.keys(a).forEach(function(d){Object.defineProperty(l,d,{configurable:!1,enumerable:!0,get:function(){return u(d),a[d]}})}),(i.useErrorBoundary||i.suspense)&&u("error"),l},n.getNextResult=function(a){var i=this;return new Promise(function(o,l){var u=i.subscribe(function(d){d.isFetching||(u(),d.isError&&(a!=null&&a.throwOnError)?l(d.error):o(d))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(a){return this.fetch(vt({},a,{meta:{refetchPage:a==null?void 0:a.refetchPage}}))},n.fetchOptimistic=function(a){var i=this,o=this.client.defaultQueryObserverOptions(a),l=this.client.getQueryCache().build(this.client,o);return l.fetch().then(function(){return i.createResult(l,o)})},n.fetch=function(a){var i=this;return this.executeFetch(a).then(function(){return i.updateResult(),i.currentResult})},n.executeFetch=function(a){this.updateQuery();var i=this.currentQuery.fetch(this.options,a);return a!=null&&a.throwOnError||(i=i.catch(ji)),i},n.updateStaleTimeout=function(){var a=this;if(this.clearStaleTimeout(),!(Jk||this.currentResult.isStale||!iL(this.options.staleTime))){var i=DQ(this.currentResult.dataUpdatedAt,this.options.staleTime),o=i+1;this.staleTimeoutId=setTimeout(function(){a.currentResult.isStale||a.updateResult()},o)}},n.computeRefetchInterval=function(){var a;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(a=this.options.refetchInterval)!=null?a:!1},n.updateRefetchInterval=function(a){var i=this;this.clearRefetchInterval(),this.currentRefetchInterval=a,!(Jk||this.options.enabled===!1||!iL(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(i.options.refetchIntervalInBackground||mS.isFocused())&&i.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(a,i){var o=this.currentQuery,l=this.options,u=this.currentResult,d=this.currentResultState,f=this.currentResultOptions,g=a!==o,y=g?a.state:this.currentQueryInitialState,h=g?this.currentResult:this.previousQueryResult,v=a.state,E=v.dataUpdatedAt,T=v.error,C=v.errorUpdatedAt,k=v.isFetching,_=v.status,A=!1,P=!1,N;if(i.optimisticResults){var I=this.hasListeners(),L=!I&&C6(a,i),j=I&&k6(a,o,i,l);(L||j)&&(k=!0,E||(_="loading"))}if(i.keepPreviousData&&!v.dataUpdateCount&&(h!=null&&h.isSuccess)&&_!=="error")N=h.data,E=h.dataUpdatedAt,_=h.status,A=!0;else if(i.select&&typeof v.data<"u")if(u&&v.data===(d==null?void 0:d.data)&&i.select===this.selectFn)N=this.selectResult;else try{this.selectFn=i.select,N=i.select(v.data),i.structuralSharing!==!1&&(N=tx(u==null?void 0:u.data,N)),this.selectResult=N,this.selectError=null}catch(le){rx().error(le),this.selectError=le}else N=v.data;if(typeof i.placeholderData<"u"&&typeof N>"u"&&(_==="loading"||_==="idle")){var z;if(u!=null&&u.isPlaceholderData&&i.placeholderData===(f==null?void 0:f.placeholderData))z=u.data;else if(z=typeof i.placeholderData=="function"?i.placeholderData():i.placeholderData,i.select&&typeof z<"u")try{z=i.select(z),i.structuralSharing!==!1&&(z=tx(u==null?void 0:u.data,z)),this.selectError=null}catch(le){rx().error(le),this.selectError=le}typeof z<"u"&&(_="success",N=z,P=!0)}this.selectError&&(T=this.selectError,N=this.selectResult,C=Date.now(),_="error");var Q={status:_,isLoading:_==="loading",isSuccess:_==="success",isError:_==="error",isIdle:_==="idle",data:N,dataUpdatedAt:E,error:T,errorUpdatedAt:C,failureCount:v.fetchFailureCount,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>y.dataUpdateCount||v.errorUpdateCount>y.errorUpdateCount,isFetching:k,isRefetching:k&&_!=="loading",isLoadingError:_==="error"&&v.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:A,isRefetchError:_==="error"&&v.dataUpdatedAt!==0,isStale:oF(a,i),refetch:this.refetch,remove:this.remove};return Q},n.shouldNotifyListeners=function(a,i){if(!i)return!0;var o=this.options,l=o.notifyOnChangeProps,u=o.notifyOnChangePropsExclusions;if(!l&&!u||l==="tracked"&&!this.trackedProps.length)return!0;var d=l==="tracked"?this.trackedProps:l;return Object.keys(a).some(function(f){var g=f,y=a[g]!==i[g],h=d==null?void 0:d.some(function(E){return E===f}),v=u==null?void 0:u.some(function(E){return E===f});return y&&!v&&(!d||h)})},n.updateResult=function(a){var i=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!jhe(this.currentResult,i)){var o={cache:!0};(a==null?void 0:a.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,i)&&(o.listeners=!0),this.notify(vt({},o,a))}},n.updateQuery=function(){var a=this.client.getQueryCache().build(this.client,this.options);if(a!==this.currentQuery){var i=this.currentQuery;this.currentQuery=a,this.currentQueryInitialState=a.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(i==null||i.removeObserver(this),a.addObserver(this))}},n.onQueryUpdate=function(a){var i={};a.type==="success"?i.onSuccess=!0:a.type==="error"&&!xk(a.error)&&(i.onError=!0),this.updateResult(i),this.hasListeners()&&this.updateTimers()},n.notify=function(a){var i=this;ra.batch(function(){a.onSuccess?(i.options.onSuccess==null||i.options.onSuccess(i.currentResult.data),i.options.onSettled==null||i.options.onSettled(i.currentResult.data,null)):a.onError&&(i.options.onError==null||i.options.onError(i.currentResult.error),i.options.onSettled==null||i.options.onSettled(void 0,i.currentResult.error)),a.listeners&&i.listeners.forEach(function(o){o(i.currentResult)}),a.cache&&i.client.getQueryCache().notify({query:i.currentQuery,type:"observerResultsUpdated"})})},t})(p0);function tme(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function C6(e,t){return tme(e,t)||e.state.dataUpdatedAt>0&&sL(e,t,t.refetchOnMount)}function sL(e,t,n){if(t.enabled!==!1){var r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&oF(e,t)}return!1}function k6(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&oF(e,n)}function oF(e,t){return e.isStaleByTime(t.staleTime)}var nme=(function(e){Fv(t,e);function t(r,a){var i;return i=e.call(this)||this,i.client=r,i.setOptions(a),i.bindMethods(),i.updateResult(),i}var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(a){this.options=this.client.defaultMutationOptions(a)},n.onUnsubscribe=function(){if(!this.listeners.length){var a;(a=this.currentMutation)==null||a.removeObserver(this)}},n.onMutationUpdate=function(a){this.updateResult();var i={listeners:!0};a.type==="success"?i.onSuccess=!0:a.type==="error"&&(i.onError=!0),this.notify(i)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(a,i){return this.mutateOptions=i,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,vt({},this.options,{variables:typeof a<"u"?a:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var a=this.currentMutation?this.currentMutation.state:BQ(),i=vt({},a,{isLoading:a.status==="loading",isSuccess:a.status==="success",isError:a.status==="error",isIdle:a.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=i},n.notify=function(a){var i=this;ra.batch(function(){i.mutateOptions&&(a.onSuccess?(i.mutateOptions.onSuccess==null||i.mutateOptions.onSuccess(i.currentResult.data,i.currentResult.variables,i.currentResult.context),i.mutateOptions.onSettled==null||i.mutateOptions.onSettled(i.currentResult.data,null,i.currentResult.variables,i.currentResult.context)):a.onError&&(i.mutateOptions.onError==null||i.mutateOptions.onError(i.currentResult.error,i.currentResult.variables,i.currentResult.context),i.mutateOptions.onSettled==null||i.mutateOptions.onSettled(void 0,i.currentResult.error,i.currentResult.variables,i.currentResult.context))),a.listeners&&i.listeners.forEach(function(o){o(i.currentResult)})})},t})(p0),rme=Moe.unstable_batchedUpdates;ra.setBatchNotifyFunction(rme);var ame=console;Hhe(ame);var x6=ze.createContext(void 0),WQ=ze.createContext(!1);function zQ(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=x6),window.ReactQueryClientContext):x6}var js=function(){var t=ze.useContext(zQ(ze.useContext(WQ)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},ime=function(t){var n=t.client,r=t.contextSharing,a=r===void 0?!1:r,i=t.children;ze.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var o=zQ(a);return ze.createElement(WQ.Provider,{value:a},ze.createElement(o.Provider,{value:n},i))};function ome(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var sme=ze.createContext(ome()),lme=function(){return ze.useContext(sme)};function qQ(e,t,n){return typeof t=="function"?t.apply(void 0,n):typeof t=="boolean"?t:!!e}function un(e,t,n){var r=ze.useRef(!1),a=ze.useState(0),i=a[1],o=$he(e,t),l=js(),u=ze.useRef();u.current?u.current.setOptions(o):u.current=new nme(l,o);var d=u.current.getCurrentResult();ze.useEffect(function(){r.current=!0;var g=u.current.subscribe(ra.batchCalls(function(){r.current&&i(function(y){return y+1})}));return function(){r.current=!1,g()}},[]);var f=ze.useCallback(function(g,y){u.current.mutate(g,y).catch(ji)},[]);if(d.error&&qQ(void 0,u.current.options.useErrorBoundary,[d.error]))throw d.error;return vt({},d,{mutate:f,mutateAsync:d.mutate})}function ume(e,t){var n=ze.useRef(!1),r=ze.useState(0),a=r[1],i=js(),o=lme(),l=i.defaultQueryObserverOptions(e);l.optimisticResults=!0,l.onError&&(l.onError=ra.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=ra.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=ra.batchCalls(l.onSettled)),l.suspense&&(typeof l.staleTime!="number"&&(l.staleTime=1e3),l.cacheTime===0&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(o.isReset()||(l.retryOnMount=!1));var u=ze.useState(function(){return new t(i,l)}),d=u[0],f=d.getOptimisticResult(l);if(ze.useEffect(function(){n.current=!0,o.clearReset();var g=d.subscribe(ra.batchCalls(function(){n.current&&a(function(y){return y+1})}));return d.updateResult(),function(){n.current=!1,g()}},[o,d]),ze.useEffect(function(){d.setOptions(l,{listeners:!1})},[l,d]),l.suspense&&f.isLoading)throw d.fetchOptimistic(l).then(function(g){var y=g.data;l.onSuccess==null||l.onSuccess(y),l.onSettled==null||l.onSettled(y,null)}).catch(function(g){o.clearReset(),l.onError==null||l.onError(g),l.onSettled==null||l.onSettled(void 0,g)});if(f.isError&&!o.isReset()&&!f.isFetching&&qQ(l.suspense,l.useErrorBoundary,[f.error,d.getCurrentQuery()]))throw f.error;return l.notifyOnChangeProps==="tracked"&&(f=d.trackResult(f,l)),f}function jn(e,t,n){var r=Ck(e,t,n);return ume(r,eme)}function cme({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a,onMessage:i,presistResult:o}){var A;const{options:l}=R.useContext(nt),u=l.prefix,d=(A=l.headers)==null?void 0:A.authorization,f=l.headers["workspace-id"],g=R.useRef(),[y,h]=R.useState([]),v=P=>{h(N=>[...N,P])},[E,T]=R.useState(!1),C=()=>{var P,N;((P=g.current)==null?void 0:P.readyState)===1&&((N=g.current)==null||N.close()),T(!1)},k=P=>{var N;(N=g.current)==null||N.send(P)},_=(P,N=null)=>{var Q,le;((Q=g.current)==null?void 0:Q.readyState)===1&&((le=g.current)==null||le.close()),h([]);const I=u==null?void 0:u.replace("https","wss").replace("http","ws"),L="/reactive-search".substr(1);let j=`${I}${L}?acceptLanguage=${l.headers["accept-language"]}&token=${d}&workspaceId=${f}&${new URLSearchParams(P)}&${new URLSearchParams(n||{})}`;j=j.replace(":uniqueId",n==null?void 0:n.uniqueId);let z=new WebSocket(j);g.current=z,z.onopen=function(){T(!0)},z.onmessage=function(re){if(N!==null)return N(re);if(re.data instanceof Blob||re.data instanceof ArrayBuffer)i==null||i(re.data);else try{const ge=JSON.parse(re.data);ge&&(i&&i(ge),o!==!1&&v(ge))}catch{}}};return R.useEffect(()=>()=>{C()},[]),{operate:_,data:y,close:C,connected:E,write:k}}function dme(){const e=At(),{withDebounce:t}=IQ(),{setResult:n,setPhrase:r,phrase:a,result:i,reset:o}=R.useContext(a_),{operate:l,data:u}=cme({}),d=xr(),f=R.useRef(),[g,y]=R.useState(""),{locale:h}=sr();R.useEffect(()=>{a||y("")},[a]),R.useEffect(()=>{n(u)},[u]);const v=T=>{t(()=>{r(T),l({searchPhrase:encodeURIComponent(T)})},500)};rF("s",()=>{var T;(T=f.current)==null||T.focus()});const{isMobileView:E}=ih();return E?null:w.jsx("form",{className:"navbar-search-box",onSubmit:T=>{T.preventDefault(),i.length>0&&i[0].actionFn==="navigate"&&i[0].uiLocation&&(d.push(`/${h}${i[0].uiLocation}`),o())},children:w.jsx("input",{ref:T=>{f.current=T},value:g,placeholder:e.reactiveSearch.placeholder,onInput:T=>{y(T.target.value),v(T.target.value)},className:"form-control"})})}const fme=({children:e,close:t,visible:n,params:r})=>w.jsx("div",{className:ia("modal d-block with-fade-in modal-overlay",n?"visible":"invisible"),children:w.jsx("div",{className:"modal-dialog",children:w.jsxs("div",{className:"modal-content",children:[w.jsxs("div",{className:"modal-header",children:[w.jsx("h5",{className:"modal-title",children:r==null?void 0:r.title}),w.jsx("button",{type:"button",id:"cls",className:"btn-close",onClick:t,"aria-label":"Close"})]}),e]})})});function lL(){return lL=Object.assign||function(e){for(var t=1;tw.jsx(hme,{open:n,direction:(e==null?void 0:e.direction)||"right",zIndex:1e4,onClose:r,duration:e==null?void 0:e.speed,size:e==null?void 0:e.size,children:t}),HQ=R.createContext(null);let gme=0;const vme=({children:e,BaseModalWrapper:t=fme,OverlayWrapper:n=mme})=>{const[r,a]=R.useState([]),i=R.useRef(r);i.current=r,R.useEffect(()=>{const f=g=>{var y;if(g.key==="Escape"&&r.length>0){const h=r[r.length-1];(y=h==null?void 0:h.close)==null||y.call(h)}};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[r]);const o=(f,g)=>{const y=gme++,h=ze.createRef();let v,E;const T=new Promise((A,P)=>{v=A,E=P}),C=()=>{a(A=>A.map(P=>P.id===y?{...P,visible:!1}:P)),setTimeout(()=>{a(A=>A.filter(P=>P.id!==y))},300)},k={id:y,ref:h,Component:f,type:(g==null?void 0:g.type)||"modal",params:g==null?void 0:g.params,data:{},visible:!1,onBeforeClose:void 0,resolve:A=>{setTimeout(()=>v({type:"resolved",data:A}),50),C()},close:async()=>{var N;const A=i.current.find(I=>I.id===y);A!=null&&A.onBeforeClose&&!await A.onBeforeClose()||!await(((N=k.onBeforeClose)==null?void 0:N.call(k))??!0)||(setTimeout(()=>v({data:null,type:"closed"}),50),C())},reject:A=>{setTimeout(()=>E({data:A,type:"rejected"}),50),C()}};a(A=>[...A,k]),setTimeout(()=>{a(A=>A.map(P=>P.id===y?{...P,visible:!0}:P))},50);const _=A=>{a(P=>P.map(N=>N.id===y?{...N,data:{...N.data,...A}}:N))};return{id:y,ref:h,promise:T,close:k.close,resolve:k.resolve,reject:k.reject,updateData:_}},l=(f,g)=>o(f,{type:"modal",params:g}),u=(f,g)=>o(f,{type:"drawer",params:g}),d=()=>{i.current.forEach(f=>{var g;return(g=f.reject)==null?void 0:g.call(f,"dismiss-all")}),a([])};return w.jsxs(HQ.Provider,{value:{openOverlay:o,openDrawer:u,openModal:l,dismissAll:d},children:[e,r.map(({id:f,type:g,Component:y,resolve:h,reject:v,close:E,params:T,visible:C,data:k})=>{const _=g==="drawer"?n:t;return w.jsx(_,{visible:C,close:E,reject:v,resolve:h,params:T,children:w.jsx(y,{resolve:h,reject:v,close:E,data:k,setOnBeforeClose:A=>{a(P=>P.map(N=>N.id===f?{...N,onBeforeClose:A}:N))}})},f)})]})},sF=()=>{const e=R.useContext(HQ);if(!e)throw new Error("useOverlay must be inside OverlayProvider");return e};var LR,_6;function h0(){return _6||(_6=1,LR=TypeError),LR}const yme={},bme=Object.freeze(Object.defineProperty({__proto__:null,default:yme},Symbol.toStringTag,{value:"Module"})),wme=jt(bme);var FR,O6;function i_(){if(O6)return FR;O6=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=a&&i&&typeof i.get=="function"?i.get:null,l=a&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,d=u?WeakMap.prototype.has:null,f=typeof WeakSet=="function"&&WeakSet.prototype,g=f?WeakSet.prototype.has:null,y=typeof WeakRef=="function"&&WeakRef.prototype,h=y?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,E=Object.prototype.toString,T=Function.prototype.toString,C=String.prototype.match,k=String.prototype.slice,_=String.prototype.replace,A=String.prototype.toUpperCase,P=String.prototype.toLowerCase,N=RegExp.prototype.test,I=Array.prototype.concat,L=Array.prototype.join,j=Array.prototype.slice,z=Math.floor,Q=typeof BigInt=="function"?BigInt.prototype.valueOf:null,le=Object.getOwnPropertySymbols,re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ge=typeof Symbol=="function"&&typeof Symbol.iterator=="object",me=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ge||!0)?Symbol.toStringTag:null,W=Object.prototype.propertyIsEnumerable,G=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(be){return be.__proto__}:null);function q(be,Ee){if(be===1/0||be===-1/0||be!==be||be&&be>-1e3&&be<1e3||N.call(/e/,Ee))return Ee;var gt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof be=="number"){var Lt=be<0?-z(-be):z(be);if(Lt!==be){var _t=String(Lt),Ut=k.call(Ee,_t.length+1);return _.call(_t,gt,"$&_")+"."+_.call(_.call(Ut,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(Ee,gt,"$&_")}var ce=wme,H=ce.custom,Y=at(H)?H:null,ie={__proto__:null,double:'"',single:"'"},J={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};FR=function be(Ee,gt,Lt,_t){var Ut=gt||{};if(xt(Ut,"quoteStyle")&&!xt(ie,Ut.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xt(Ut,"maxStringLength")&&(typeof Ut.maxStringLength=="number"?Ut.maxStringLength<0&&Ut.maxStringLength!==1/0:Ut.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var On=xt(Ut,"customInspect")?Ut.customInspect:!0;if(typeof On!="boolean"&&On!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xt(Ut,"indent")&&Ut.indent!==null&&Ut.indent!==" "&&!(parseInt(Ut.indent,10)===Ut.indent&&Ut.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xt(Ut,"numericSeparator")&&typeof Ut.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var gn=Ut.numericSeparator;if(typeof Ee>"u")return"undefined";if(Ee===null)return"null";if(typeof Ee=="boolean")return Ee?"true":"false";if(typeof Ee=="string")return U(Ee,Ut);if(typeof Ee=="number"){if(Ee===0)return 1/0/Ee>0?"0":"-0";var ln=String(Ee);return gn?q(Ee,ln):ln}if(typeof Ee=="bigint"){var Bn=String(Ee)+"n";return gn?q(Ee,Bn):Bn}var oa=typeof Ut.depth>"u"?5:Ut.depth;if(typeof Lt>"u"&&(Lt=0),Lt>=oa&&oa>0&&typeof Ee=="object")return ke(Ee)?"[Array]":"[Object]";var Qa=We(Ut,Lt);if(typeof _t>"u")_t=[];else if(qt(_t,Ee)>=0)return"[Circular]";function ha(yn,an,Dn){if(an&&(_t=j.call(_t),_t.push(an)),Dn){var En={depth:Ut.depth};return xt(Ut,"quoteStyle")&&(En.quoteStyle=Ut.quoteStyle),be(yn,En,Lt+1,_t)}return be(yn,Ut,Lt+1,_t)}if(typeof Ee=="function"&&!xe(Ee)){var vn=cn(Ee),_a=Mt(Ee,ha);return"[Function"+(vn?": "+vn:" (anonymous)")+"]"+(_a.length>0?" { "+L.call(_a,", ")+" }":"")}if(at(Ee)){var Bo=ge?_.call(String(Ee),/^(Symbol\(.*\))_[^)]*$/,"$1"):re.call(Ee);return typeof Ee=="object"&&!ge?F(Bo):Bo}if(Nt(Ee)){for(var Oa="<"+P.call(String(Ee.nodeName)),Ra=Ee.attributes||[],Wo=0;Wo",Oa}if(ke(Ee)){if(Ee.length===0)return"[]";var we=Mt(Ee,ha);return Qa&&!Fe(we)?"["+Tt(we,Qa)+"]":"[ "+L.call(we,", ")+" ]"}if(Ie(Ee)){var ve=Mt(Ee,ha);return!("cause"in Error.prototype)&&"cause"in Ee&&!W.call(Ee,"cause")?"{ ["+String(Ee)+"] "+L.call(I.call("[cause]: "+ha(Ee.cause),ve),", ")+" }":ve.length===0?"["+String(Ee)+"]":"{ ["+String(Ee)+"] "+L.call(ve,", ")+" }"}if(typeof Ee=="object"&&On){if(Y&&typeof Ee[Y]=="function"&&ce)return ce(Ee,{depth:oa-Lt});if(On!=="symbol"&&typeof Ee.inspect=="function")return Ee.inspect()}if(Wt(Ee)){var $e=[];return r&&r.call(Ee,function(yn,an){$e.push(ha(an,Ee,!0)+" => "+ha(yn,Ee))}),Te("Map",n.call(Ee),$e,Qa)}if(ft(Ee)){var ye=[];return l&&l.call(Ee,function(yn){ye.push(ha(yn,Ee))}),Te("Set",o.call(Ee),ye,Qa)}if(Oe(Ee))return ae("WeakMap");if(ut(Ee))return ae("WeakSet");if(dt(Ee))return ae("WeakRef");if(tt(Ee))return F(ha(Number(Ee)));if(Et(Ee))return F(ha(Q.call(Ee)));if(Ge(Ee))return F(v.call(Ee));if(qe(Ee))return F(ha(String(Ee)));if(typeof window<"u"&&Ee===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Ee===globalThis||typeof El<"u"&&Ee===El)return"{ [object globalThis] }";if(!fe(Ee)&&!xe(Ee)){var Se=Mt(Ee,ha),ne=G?G(Ee)===Object.prototype:Ee instanceof Object||Ee.constructor===Object,Me=Ee instanceof Object?"":"null prototype",Qe=!ne&&me&&Object(Ee)===Ee&&me in Ee?k.call(Rt(Ee),8,-1):Me?"Object":"",ot=ne||typeof Ee.constructor!="function"?"":Ee.constructor.name?Ee.constructor.name+" ":"",Bt=ot+(Qe||Me?"["+L.call(I.call([],Qe||[],Me||[]),": ")+"] ":"");return Se.length===0?Bt+"{}":Qa?Bt+"{"+Tt(Se,Qa)+"}":Bt+"{ "+L.call(Se,", ")+" }"}return String(Ee)};function ee(be,Ee,gt){var Lt=gt.quoteStyle||Ee,_t=ie[Lt];return _t+be+_t}function Z(be){return _.call(String(be),/"/g,""")}function ue(be){return!me||!(typeof be=="object"&&(me in be||typeof be[me]<"u"))}function ke(be){return Rt(be)==="[object Array]"&&ue(be)}function fe(be){return Rt(be)==="[object Date]"&&ue(be)}function xe(be){return Rt(be)==="[object RegExp]"&&ue(be)}function Ie(be){return Rt(be)==="[object Error]"&&ue(be)}function qe(be){return Rt(be)==="[object String]"&&ue(be)}function tt(be){return Rt(be)==="[object Number]"&&ue(be)}function Ge(be){return Rt(be)==="[object Boolean]"&&ue(be)}function at(be){if(ge)return be&&typeof be=="object"&&be instanceof Symbol;if(typeof be=="symbol")return!0;if(!be||typeof be!="object"||!re)return!1;try{return re.call(be),!0}catch{}return!1}function Et(be){if(!be||typeof be!="object"||!Q)return!1;try{return Q.call(be),!0}catch{}return!1}var kt=Object.prototype.hasOwnProperty||function(be){return be in this};function xt(be,Ee){return kt.call(be,Ee)}function Rt(be){return E.call(be)}function cn(be){if(be.name)return be.name;var Ee=C.call(T.call(be),/^function\s*([\w$]+)/);return Ee?Ee[1]:null}function qt(be,Ee){if(be.indexOf)return be.indexOf(Ee);for(var gt=0,Lt=be.length;gtEe.maxStringLength){var gt=be.length-Ee.maxStringLength,Lt="... "+gt+" more character"+(gt>1?"s":"");return U(k.call(be,0,Ee.maxStringLength),Ee)+Lt}var _t=J[Ee.quoteStyle||"single"];_t.lastIndex=0;var Ut=_.call(_.call(be,_t,"\\$1"),/[\x00-\x1f]/g,D);return ee(Ut,"single",Ee)}function D(be){var Ee=be.charCodeAt(0),gt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Ee];return gt?"\\"+gt:"\\x"+(Ee<16?"0":"")+A.call(Ee.toString(16))}function F(be){return"Object("+be+")"}function ae(be){return be+" { ? }"}function Te(be,Ee,gt,Lt){var _t=Lt?Tt(gt,Lt):L.call(gt,", ");return be+" ("+Ee+") {"+_t+"}"}function Fe(be){for(var Ee=0;Ee=0)return!1;return!0}function We(be,Ee){var gt;if(be.indent===" ")gt=" ";else if(typeof be.indent=="number"&&be.indent>0)gt=L.call(Array(be.indent+1)," ");else return null;return{base:gt,prev:L.call(Array(Ee+1),gt)}}function Tt(be,Ee){if(be.length===0)return"";var gt=` `+Ee.prev+Ee.base;return gt+L.call(be,","+gt)+` -`+Ee.prev}function Mt(be,Ee){var gt=ke(be),Lt=[];if(gt){Lt.length=be.length;for(var _t=0;_t"u"||!I?e:I(Uint8Array),ge={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":N&&I?I([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":T,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":N&&I?I(I([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!N||!I?e:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!N||!I?e:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":N&&I?I(""[Symbol.iterator]()):e,"%Symbol%":N?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":P,"%TypedArray%":re,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":Q,"%Function.prototype.apply%":z,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":L,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":g,"%Math.min%":y,"%Math.pow%":p,"%Math.round%":v,"%Math.sign%":E,"%Reflect.getPrototypeOf%":j};if(I)try{null.error}catch(xe){var he=I(I(xe));ge["%Error.prototype%"]=he}var W=function xe(Ie){var qe;if(Ie==="%AsyncFunction%")qe=C("async function () {}");else if(Ie==="%GeneratorFunction%")qe=C("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")qe=C("async function* () {}");else if(Ie==="%AsyncGenerator%"){var nt=xe("%AsyncGeneratorFunction%");nt&&(qe=nt.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var Ge=xe("%AsyncGenerator%");Ge&&I&&(qe=I(Ge.prototype))}return ge[Ie]=qe,qe},G={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},q=kx(),ce=ohe(),H=q.call(Q,Array.prototype.concat),Y=q.call(z,Array.prototype.splice),ie=q.call(Q,String.prototype.replace),Z=q.call(Q,String.prototype.slice),ee=q.call(Q,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ue=/\\(\\)?/g,ke=function(Ie){var qe=Z(Ie,0,1),nt=Z(Ie,-1);if(qe==="%"&&nt!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(nt==="%"&&qe!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Ge=[];return ie(Ie,J,function(at,Et,kt,xt){Ge[Ge.length]=kt?ie(xt,ue,"$1"):Et||at}),Ge},fe=function(Ie,qe){var nt=Ie,Ge;if(ce(G,nt)&&(Ge=G[nt],nt="%"+Ge[0]+"%"),ce(ge,nt)){var at=ge[nt];if(at===le&&(at=W(nt)),typeof at>"u"&&!qe)throw new l("intrinsic "+Ie+" exists, but is not available. Please file an issue!");return{alias:Ge,name:nt,value:at}}throw new o("intrinsic "+Ie+" does not exist!")};return $R=function(Ie,qe){if(typeof Ie!="string"||Ie.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof qe!="boolean")throw new l('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,Ie)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var nt=ke(Ie),Ge=nt.length>0?nt[0]:"",at=fe("%"+Ge+"%",qe),Et=at.name,kt=at.value,xt=!1,Rt=at.alias;Rt&&(Ge=Rt[0],Y(nt,H([0,1],Rt)));for(var cn=1,Ht=!0;cn=nt.length){var ft=k(kt,Wt);Ht=!!ft,Ht&&"get"in ft&&!("originalValue"in ft.get)?kt=ft.get:kt=kt[Wt]}else Ht=ce(kt,Wt),kt=kt[Wt];Ht&&!xt&&(ge[Et]=kt)}}return kt},$R}var LR,E6;function dQ(){if(E6)return LR;E6=1;var e=E3(),t=cQ(),n=t([e("%String.prototype.indexOf%")]);return LR=function(a,i){var o=e(a,!!i);return typeof o=="function"&&n(a,".prototype.")>-1?t([o]):o},LR}var FR,T6;function fQ(){if(T6)return FR;T6=1;var e=E3(),t=dQ(),n=Cx(),r=jb(),a=e("%Map%",!0),i=t("Map.prototype.get",!0),o=t("Map.prototype.set",!0),l=t("Map.prototype.has",!0),u=t("Map.prototype.delete",!0),d=t("Map.prototype.size",!0);return FR=!!a&&function(){var g,y={assert:function(p){if(!y.has(p))throw new r("Side channel does not contain "+n(p))},delete:function(p){if(g){var v=u(g,p);return d(g)===0&&(g=void 0),v}return!1},get:function(p){if(g)return i(g,p)},has:function(p){return g?l(g,p):!1},set:function(p,v){g||(g=new a),o(g,p,v)}};return y},FR}var jR,C6;function she(){if(C6)return jR;C6=1;var e=E3(),t=dQ(),n=Cx(),r=fQ(),a=jb(),i=e("%WeakMap%",!0),o=t("WeakMap.prototype.get",!0),l=t("WeakMap.prototype.set",!0),u=t("WeakMap.prototype.has",!0),d=t("WeakMap.prototype.delete",!0);return jR=i?function(){var g,y,p={assert:function(v){if(!p.has(v))throw new a("Side channel does not contain "+n(v))},delete:function(v){if(i&&v&&(typeof v=="object"||typeof v=="function")){if(g)return d(g,v)}else if(r&&y)return y.delete(v);return!1},get:function(v){return i&&v&&(typeof v=="object"||typeof v=="function")&&g?o(g,v):y&&y.get(v)},has:function(v){return i&&v&&(typeof v=="object"||typeof v=="function")&&g?u(g,v):!!y&&y.has(v)},set:function(v,E){i&&v&&(typeof v=="object"||typeof v=="function")?(g||(g=new i),l(g,v,E)):r&&(y||(y=r()),y.set(v,E))}};return p}:r,jR}var UR,k6;function lhe(){if(k6)return UR;k6=1;var e=jb(),t=Cx(),n=$me(),r=fQ(),a=she(),i=a||r||n;return UR=function(){var l,u={assert:function(d){if(!u.has(d))throw new e("Side channel does not contain "+t(d))},delete:function(d){return!!l&&l.delete(d)},get:function(d){return l&&l.get(d)},has:function(d){return!!l&&l.has(d)},set:function(d,f){l||(l=i()),l.set(d,f)}};return u},UR}var BR,x6;function T3(){if(x6)return BR;x6=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return BR={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},BR}var WR,_6;function pQ(){if(_6)return WR;_6=1;var e=T3(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r=(function(){for(var T=[],C=0;C<256;++C)T.push("%"+((C<16?"0":"")+C.toString(16)).toUpperCase());return T})(),a=function(C){for(;C.length>1;){var k=C.pop(),_=k.obj[k.prop];if(n(_)){for(var A=[],P=0;P<_.length;++P)typeof _[P]<"u"&&A.push(_[P]);k.obj[k.prop]=A}}},i=function(C,k){for(var _=k&&k.plainObjects?{__proto__:null}:{},A=0;A=d?N.slice(L,L+d):N,z=[],Q=0;Q=48&&le<=57||le>=65&&le<=90||le>=97&&le<=122||P===e.RFC1738&&(le===40||le===41)){z[z.length]=j.charAt(Q);continue}if(le<128){z[z.length]=r[le];continue}if(le<2048){z[z.length]=r[192|le>>6]+r[128|le&63];continue}if(le<55296||le>=57344){z[z.length]=r[224|le>>12]+r[128|le>>6&63]+r[128|le&63];continue}Q+=1,le=65536+((le&1023)<<10|j.charCodeAt(Q)&1023),z[z.length]=r[240|le>>18]+r[128|le>>12&63]+r[128|le>>6&63]+r[128|le&63]}I+=z.join("")}return I},g=function(C){for(var k=[{obj:{o:C},prop:"o"}],_=[],A=0;A"u"&&(H=0)}if(typeof j=="function"?q=j(C,q):q instanceof Date?q=le(q):k==="comma"&&i(q)&&(q=t.maybeMap(q,function(Et){return Et instanceof Date?le(Et):Et})),q===null){if(P)return L&&!he?L(C,f.encoder,W,"key",re):C;q=""}if(g(q)||t.isBuffer(q)){if(L){var Z=he?C:L(C,f.encoder,W,"key",re);return[ge(Z)+"="+ge(L(q,f.encoder,W,"value",re))]}return[ge(C)+"="+ge(String(q))]}var ee=[];if(typeof q>"u")return ee;var J;if(k==="comma"&&i(q))he&&L&&(q=t.maybeMap(q,L)),J=[{value:q.length>0?q.join(",")||null:void 0}];else if(i(j))J=j;else{var ue=Object.keys(q);J=z?ue.sort(z):ue}var ke=I?String(C).replace(/\./g,"%2E"):String(C),fe=_&&i(q)&&q.length===1?ke+"[]":ke;if(A&&i(q)&&q.length===0)return fe+"[]";for(var xe=0;xe"u"?T.encodeDotInKeys===!0?!0:f.allowDots:!!T.allowDots;return{addQueryPrefix:typeof T.addQueryPrefix=="boolean"?T.addQueryPrefix:f.addQueryPrefix,allowDots:N,allowEmptyArrays:typeof T.allowEmptyArrays=="boolean"?!!T.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:P,charset:C,charsetSentinel:typeof T.charsetSentinel=="boolean"?T.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!T.commaRoundTrip,delimiter:typeof T.delimiter>"u"?f.delimiter:T.delimiter,encode:typeof T.encode=="boolean"?T.encode:f.encode,encodeDotInKeys:typeof T.encodeDotInKeys=="boolean"?T.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof T.encoder=="function"?T.encoder:f.encoder,encodeValuesOnly:typeof T.encodeValuesOnly=="boolean"?T.encodeValuesOnly:f.encodeValuesOnly,filter:A,format:k,formatter:_,serializeDate:typeof T.serializeDate=="function"?T.serializeDate:f.serializeDate,skipNulls:typeof T.skipNulls=="boolean"?T.skipNulls:f.skipNulls,sort:typeof T.sort=="function"?T.sort:null,strictNullHandling:typeof T.strictNullHandling=="boolean"?T.strictNullHandling:f.strictNullHandling}};return zR=function(E,T){var C=E,k=v(T),_,A;typeof k.filter=="function"?(A=k.filter,C=A("",C)):i(k.filter)&&(A=k.filter,_=A);var P=[];if(typeof C!="object"||C===null)return"";var N=a[k.arrayFormat],I=N==="comma"&&k.commaRoundTrip;_||(_=Object.keys(C)),k.sort&&_.sort(k.sort);for(var L=e(),j=0;j<_.length;++j){var z=_[j],Q=C[z];k.skipNulls&&Q===null||l(P,p(Q,z,N,I,k.allowEmptyArrays,k.strictNullHandling,k.skipNulls,k.encodeDotInKeys,k.encode?k.encoder:null,k.filter,k.sort,k.allowDots,k.serializeDate,k.format,k.formatter,k.encodeValuesOnly,k.charset,L))}var le=P.join(k.delimiter),re=k.addQueryPrefix===!0?"?":"";return k.charsetSentinel&&(k.charset==="iso-8859-1"?re+="utf8=%26%2310003%3B&":re+="utf8=%E2%9C%93&"),le.length>0?re+le:""},zR}var qR,R6;function che(){if(R6)return qR;R6=1;var e=pQ(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(y){return y.replace(/&#(\d+);/g,function(p,v){return String.fromCharCode(parseInt(v,10))})},i=function(y,p,v){if(y&&typeof y=="string"&&p.comma&&y.indexOf(",")>-1)return y.split(",");if(p.throwOnLimitExceeded&&v>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");return y},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",u=function(p,v){var E={__proto__:null},T=v.ignoreQueryPrefix?p.replace(/^\?/,""):p;T=T.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var C=v.parameterLimit===1/0?void 0:v.parameterLimit,k=T.split(v.delimiter,v.throwOnLimitExceeded?C+1:C);if(v.throwOnLimitExceeded&&k.length>C)throw new RangeError("Parameter limit exceeded. Only "+C+" parameter"+(C===1?"":"s")+" allowed.");var _=-1,A,P=v.charset;if(v.charsetSentinel)for(A=0;A-1&&(z=n(z)?[z]:z);var Q=t.call(E,j);Q&&v.duplicates==="combine"?E[j]=e.combine(E[j],z):(!Q||v.duplicates==="last")&&(E[j]=z)}return E},d=function(y,p,v,E){var T=0;if(y.length>0&&y[y.length-1]==="[]"){var C=y.slice(0,-1).join("");T=Array.isArray(p)&&p[C]?p[C].length:0}for(var k=E?p:i(p,v,T),_=y.length-1;_>=0;--_){var A,P=y[_];if(P==="[]"&&v.parseArrays)A=v.allowEmptyArrays&&(k===""||v.strictNullHandling&&k===null)?[]:e.combine([],k);else{A=v.plainObjects?{__proto__:null}:{};var N=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,I=v.decodeDotInKeys?N.replace(/%2E/g,"."):N,L=parseInt(I,10);!v.parseArrays&&I===""?A={0:k}:!isNaN(L)&&P!==I&&String(L)===I&&L>=0&&v.parseArrays&&L<=v.arrayLimit?(A=[],A[L]=k):I!=="__proto__"&&(A[I]=k)}k=A}return k},f=function(p,v,E,T){if(p){var C=E.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,k=/(\[[^[\]]*])/,_=/(\[[^[\]]*])/g,A=E.depth>0&&k.exec(C),P=A?C.slice(0,A.index):C,N=[];if(P){if(!E.plainObjects&&t.call(Object.prototype,P)&&!E.allowPrototypes)return;N.push(P)}for(var I=0;E.depth>0&&(A=_.exec(C))!==null&&I"u"?r.charset:p.charset,E=typeof p.duplicates>"u"?r.duplicates:p.duplicates;if(E!=="combine"&&E!=="first"&&E!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var T=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:r.allowDots:!!p.allowDots;return{allowDots:T,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:r.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:r.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:r.arrayLimit,charset:v,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:r.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:r.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:r.decoder,delimiter:typeof p.delimiter=="string"||e.isRegExp(p.delimiter)?p.delimiter:r.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:r.depth,duplicates:E,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:r.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:r.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:r.strictDepth,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof p.throwOnLimitExceeded=="boolean"?p.throwOnLimitExceeded:!1}};return qR=function(y,p){var v=g(p);if(y===""||y===null||typeof y>"u")return v.plainObjects?{__proto__:null}:{};for(var E=typeof y=="string"?u(y,v):y,T=v.plainObjects?{__proto__:null}:{},C=Object.keys(E),k=0;kd("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.AppMenuEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}mQ.UKEY="*abac.AppMenuEntity";function qS({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/urw/query".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.QueryUserRoleWorkspacesActionResDto",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}qS.UKEY="*abac.QueryUserRoleWorkspacesActionResDto";function hQ(e){var u,d,f,g,y,p;const t=Ls(),{selectedUrw:n}=R.useContext(Je),{query:r}=qS({query:{}}),{query:a}=mQ({queryClient:t,queryOptions:{refetchOnWindowFocus:!1,enabled:!r.isError&&r.isSuccess},query:{itemsPerPage:9999}}),{locale:i}=sr();R.useEffect(()=>{a.refetch()},[i]);let o=[];const l=v=>{var E,T;return v?Tpe(n,((T=(E=r.data)==null?void 0:E.data)==null?void 0:T.items)||[],v):!0};return(d=(u=a.data)==null?void 0:u.data)!=null&&d.items&&((g=(f=a.data)==null?void 0:f.data)!=null&&g.items.length)&&(o=(p=(y=a.data)==null?void 0:y.data)==null?void 0:p.items.map(v=>yQ(v,l)).filter(Boolean)),o}function fhe({onClick:e}){const{isAuthenticated:t,signout:n}=R.useContext(Je),r=xr(),a=At(),i=Ls(),o=()=>{e(),n(),i.setQueriesData("*fireback.UserRoleWorkspace",[]),kr.NAVIGATE_ON_SIGNOUT&&r.push(kr.NAVIGATE_ON_SIGNOUT,kr.NAVIGATE_ON_SIGNOUT)},l=()=>{confirm("Are you sure to leave the app?")&&o()};return t?w.jsx("div",{className:"sidebar-menu-particle mt-5",children:w.jsx("ul",{className:"nav nav-pills flex-column mb-auto",children:w.jsx("li",{className:"nav-item",children:w.jsx("a",{onClick:l,className:"nav-link text-white",children:w.jsxs("span",{children:[w.jsx("img",{className:"menu-icon",src:Is(vu.turnoff)}),w.jsx("span",{className:"nav-link-text",children:a.currentUser.signout})]})})})})}):w.jsxs(El,{className:"user-signin-section",href:"/signin",onClick:e,children:[w.jsx("img",{src:kr.PUBLIC_URL+"/common/user.svg"}),a.currentUser.signin]})}function A6({item:e}){return w.jsxs("span",{children:[e.icon&&w.jsx("img",{className:"menu-icon",src:Is(e.icon)}),e.color&&!e.icon?w.jsx("span",{className:"tag-circle",style:{backgroundColor:e.color}}):null,w.jsx("span",{className:"nav-link-text",children:e.label})]})}function k3({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/user-workspaces".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserWorkspaceEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}k3.UKEY="*abac.UserWorkspaceEntity";function phe(e,t){var a;let n=!1;const r=(a=e.children)==null?void 0:a.map(i=>{let o=i.activeMatcher?i.activeMatcher.test(t.asPath):void 0;i.forceActive&&(o=!0);let l=i.displayFn?i.displayFn({location:"here",asPath:t.asPath,selectedUrw:t.urw,userRoleWorkspaces:t.urws}):!0;return l&&(n=!0),{...i,isActive:o||!1,isVisible:l}});return n===!1&&!e.href?null:{name:e.label,href:e.href,children:r}}function N6({menu:e,onClick:t}){var l,u,d;const{asPath:n}=sr(),r=Ls(),{selectedUrw:a}=R.useContext(Je),{query:i}=k3({queryClient:r,query:{},queryOptions:{refetchOnWindowFocus:!1,cacheTime:0}}),o=phe(e,{asPath:n,urw:a,urws:((u=(l=i.data)==null?void 0:l.data)==null?void 0:u.items)||[]});return o?w.jsx("div",{className:"sidebar-menu-particle",onClick:t,children:((d=e.children)==null?void 0:d.length)>0?w.jsxs(w.Fragment,{children:[w.jsx("span",{className:"d-flex align-items-center mb-3 mb-md-0 me-md-auto text-white text-decoration-none",children:w.jsx("span",{className:"category",children:e.label})}),w.jsx(gQ,{items:o.children})]}):w.jsx(w.Fragment,{children:w.jsx(vQ,{item:e})})}):null}function gQ({items:e}){return w.jsx("ul",{className:"nav nav-pills flex-column mb-auto",children:e.map(t=>w.jsx(vQ,{item:t},t.label+"_"+t.href))})}function vQ({item:e}){return w.jsxs("li",{className:ia("nav-item"),children:[e.href&&!e.onClick?w.jsx(db,{replace:!0,href:e.href,className:"nav-link","aria-current":"page",forceActive:e.isActive,scroll:null,inActiveClassName:"text-white",activeClassName:"active",children:w.jsx(A6,{item:e})}):w.jsx("a",{className:ia("nav-link",e.isActive&&"active"),onClick:e.onClick,children:w.jsx(A6,{item:e})}),e.children&&w.jsx(gQ,{items:e.children})]},e.label)}function mhe(){var l,u;const e=At(),{selectedUrw:t,selectUrw:n}=R.useContext(Je),{query:r}=qS({queryOptions:{cacheTime:50},query:{}}),a=((u=(l=r.data)==null?void 0:l.data)==null?void 0:u.items)||[],i=a.map(d=>d.uniqueId).join("-")+"_"+(t==null?void 0:t.roleId)+"_"+(t==null?void 0:t.workspaceId);return{menus:R.useMemo(()=>{const d=[];return a.forEach(f=>{f.roles.forEach(g=>{d.push({key:`${g.uniqueId}_${f.uniqueId}`,label:`${f.name} (${g.name})`,children:[],forceActive:(t==null?void 0:t.roleId)===g.uniqueId&&(t==null?void 0:t.workspaceId)===f.uniqueId,color:f.uniqueId==="root"?a$.Orange:a$.Green,onClick:()=>{n({roleId:g.uniqueId,workspaceId:f.uniqueId})}})})}),[{label:e.wokspaces.sidetitle,children:d.sort((f,g)=>f.key!0){if(!t(e.capabilityId))return null;const n=(e.children||[]).map(r=>yQ(r,t)).filter(Boolean);return{label:e.label||"",children:n,displayFn:hhe(),icon:e.icon,href:e.href,activeMatcher:e.activeMatcher?new RegExp(e.activeMatcher):void 0}}function hhe(e){return()=>!0}function ghe({miniSize:e,onClose:t,sidebarItemSelectedExtra:n}){var g;const{sidebarVisible:r,toggleSidebar:a,sidebarItemSelected:i}=cv(),o=hQ(),{reset:l}=R.useContext(Tx),u=()=>{l(),a()};if(!o)return null;let d=[];Array.isArray(o)?d=[...o]:(g=o.children)!=null&&g.length&&d.push(o);const{menus:f}=mhe();return d.push(f[0]),w.jsxs("div",{"data-wails-drag":!0,className:ia(e?"sidebar-extra-small":"","sidebar",r?"open":"","scrollable-element",Gp().isMobileView?"has-bottom-tab":void 0),children:[w.jsx("button",{className:"sidebar-close",onClick:()=>t?t():u(),children:w.jsx("img",{src:Is(vu.cancel)})}),d.map(y=>w.jsx(N6,{onClick:()=>{i(),n==null||n()},menu:y},y.label)),kr.GITHUB_DEMO==="true"&&w.jsx(N6,{onClick:()=>{i(),n==null||n()},menu:{label:"Demo",children:[{label:"Form select",icon:"/ios-theme/icons/settings.svg",children:[],href:"/demo/form-select"},{label:"Form Date/Time",icon:"/ios-theme/icons/settings.svg",children:[],href:"/demo/form-date"},{label:"Overlays & Modal",icon:"/ios-theme/icons/settings.svg",children:[],href:"/demo/modals"}]}}),w.jsx(fhe,{onClick:()=>{i(),n==null||n()}})]})}const bQ=ze.memo(ghe);function vhe({menu:e,isSecondary:t,routerId:n}){const{toggleSidebar:r,closeCurrentRouter:a}=cv(),{openDrawer:i}=w3();return $b(Ir.SidebarToggle,()=>{r()}),w.jsx("nav",{className:"navbar navbar-expand-lg navbar-light",style:{"--wails-draggable":"drag"},children:w.jsxs("div",{className:"container-fluid",children:[w.jsx("div",{className:"page-navigator",children:n==="url-router"?w.jsx("button",{className:"navbar-menu-icon",onClick:()=>Gp().isMobileView?i(({close:o})=>w.jsx(bQ,{sidebarItemSelectedExtra:o,onClose:o,miniSize:!1}),{speed:180,direction:"left"}):r(),children:w.jsx("img",{src:Is(vu.menu)})}):w.jsx("button",{className:"navbar-menu-icon",onClick:()=>a(n),children:w.jsx("img",{src:Is(vu.cancel)})})}),w.jsx(m$,{filter:({id:o})=>o==="navigation"}),w.jsx("div",{className:"page-navigator"}),w.jsx("span",{className:"navbar-brand",children:w.jsx(Gpe,{})}),r$()==="web"&&w.jsx("button",{className:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation",children:w.jsx("span",{className:"navbar-toggler-icon"})}),w.jsxs("div",{className:r$()==="web"?"collapse navbar-collapse":"",id:"navbarSupportedContent",children:[w.jsx("ul",{className:"navbar-nav ms-auto mb-2 mb-lg-0",children:((e==null?void 0:e.children)||[]).map(o=>{var l;return w.jsx("li",{className:ia("nav-item",((l=o.children)==null?void 0:l.length)&&"dropdown"),children:o.children.length?w.jsxs(w.Fragment,{children:[w.jsx(db,{className:"nav-link dropdown-toggle",href:o.href,id:"navbarDropdown",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false",children:w.jsx("span",{children:o.label})}),(o!=null&&o.children,w.jsx("ul",{className:"dropdown-menu","aria-labelledby":"navbarDropdown",children:((o==null?void 0:o.children)||[]).map(u=>{var d;return w.jsx("li",{className:ia("nav-item",((d=u.children)==null?void 0:d.length)&&"dropdown"),children:w.jsx(db,{className:"dropdown-item",href:u.href,children:w.jsx("span",{children:u.label})})},`${u.label}_${u.href}`)})}))]}):w.jsx(db,{className:"nav-link active","aria-current":"page",href:o.href,children:w.jsx("span",{children:o.label})})},`${o.label}_${o.href}`)})}),w.jsx("span",{className:"general-action-menu desktop-view",children:w.jsx(m$,{filter:({id:o})=>o!=="navigation"})}),w.jsx(xme,{})]})]})})}const yhe=ze.memo(vhe);function bhe({result:e,onComplete:t}){const n=At(),r=Ea.groupBy(e,"group"),a=Object.keys(r);return w.jsx("div",{className:"reactive-search-result",children:a.length===0?w.jsx(w.Fragment,{children:n.reactiveSearch.noResults}):w.jsx("ul",{children:a.map((i,o)=>w.jsxs("li",{children:[w.jsx("span",{className:"result-group-name",children:i}),w.jsx("ul",{children:r[i].map((l,u)=>w.jsx("li",{children:l.actionFn?w.jsxs(El,{onClick:t,href:l.uiLocation,children:[l.icon&&w.jsx("img",{className:"result-icon",src:Is(l.icon)}),l.phrase]}):null},l.uniqueId))})]},o))})})}function whe({children:e}){return w.jsxs(w.Fragment,{children:[w.jsx(zoe,{}),e]})}const She=({children:e,navbarMenu:t,sidebarMenu:n,routerId:r})=>{At();const{result:a,phrase:i,reset:o}=R.useContext(Tx),{sidebarVisible:l,toggleSidebar:u}=cv(),d=i.length>0;return w.jsxs(w.Fragment,{children:[w.jsxs("div",{style:{display:"flex",width:"100%"},children:[w.jsx("div",{className:ia("sidebar-overlay",l?"open":""),onClick:f=>{u(),f.stopPropagation()}}),w.jsxs("div",{style:{width:"100%",flex:1},children:[w.jsx(yhe,{routerId:r,menu:t}),w.jsxs("div",{className:"content-section",children:[d?w.jsx("div",{className:"content-container",children:w.jsx(bhe,{onComplete:()=>o(),result:a})}):null,w.jsx("div",{className:"content-container",style:{visibility:d?"hidden":void 0},children:w.jsx(whe,{children:e})})]})]}),w.jsx(gpe,{})]}),w.jsx("span",{className:"general-action-menu mobile-view",children:w.jsx(m$,{})})]})};function Kt(e){const{locale:t}=sr();return!t||t==="en"?e:e["$"+t]?e["$"+t]:e}const Ehe={capabilities:{nameHint:"Name",newCapability:"New capability",archiveTitle:"Capabilities",description:"Description",descriptionHint:"Description",editCapability:"Edit capability",name:"Name"}},HS={...Ehe},Lo=({children:e,newEntityHandler:t,exportPath:n,pageTitle:r})=>{am(r);const a=xr(),{locale:i}=sr();return kpe({path:n||""}),Ape(t?()=>t({locale:i,router:a}):void 0,Ir.NewEntity),w.jsx(w.Fragment,{children:e})};var Ek=function(e){return Array.prototype.slice.call(e)},The=(function(){function e(){this.handlers=[]}return e.prototype.emit=function(t){this.handlers.forEach(function(n){return n(t)})},e.prototype.subscribe=function(t){this.handlers.push(t)},e.prototype.unsubscribe=function(t){this.handlers.splice(this.handlers.indexOf(t),1)},e})(),wQ=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=Object.prototype.hasOwnProperty,i=0;i"u"||!I?e:I(Uint8Array),ge={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":N&&I?I([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":T,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":N&&I?I(I([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!N||!I?e:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!N||!I?e:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":N&&I?I(""[Symbol.iterator]()):e,"%Symbol%":N?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":P,"%TypedArray%":re,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":Q,"%Function.prototype.apply%":z,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":L,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":g,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":v,"%Math.sign%":E,"%Reflect.getPrototypeOf%":j};if(I)try{null.error}catch(xe){var me=I(I(xe));ge["%Error.prototype%"]=me}var W=function xe(Ie){var qe;if(Ie==="%AsyncFunction%")qe=C("async function () {}");else if(Ie==="%GeneratorFunction%")qe=C("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")qe=C("async function* () {}");else if(Ie==="%AsyncGenerator%"){var tt=xe("%AsyncGeneratorFunction%");tt&&(qe=tt.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var Ge=xe("%AsyncGenerator%");Ge&&I&&(qe=I(Ge.prototype))}return ge[Ie]=qe,qe},G={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},q=o_(),ce=Hme(),H=q.call(Q,Array.prototype.concat),Y=q.call(z,Array.prototype.splice),ie=q.call(Q,String.prototype.replace),J=q.call(Q,String.prototype.slice),ee=q.call(Q,RegExp.prototype.exec),Z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ue=/\\(\\)?/g,ke=function(Ie){var qe=J(Ie,0,1),tt=J(Ie,-1);if(qe==="%"&&tt!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(tt==="%"&&qe!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Ge=[];return ie(Ie,Z,function(at,Et,kt,xt){Ge[Ge.length]=kt?ie(xt,ue,"$1"):Et||at}),Ge},fe=function(Ie,qe){var tt=Ie,Ge;if(ce(G,tt)&&(Ge=G[tt],tt="%"+Ge[0]+"%"),ce(ge,tt)){var at=ge[tt];if(at===le&&(at=W(tt)),typeof at>"u"&&!qe)throw new l("intrinsic "+Ie+" exists, but is not available. Please file an issue!");return{alias:Ge,name:tt,value:at}}throw new o("intrinsic "+Ie+" does not exist!")};return yP=function(Ie,qe){if(typeof Ie!="string"||Ie.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof qe!="boolean")throw new l('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,Ie)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var tt=ke(Ie),Ge=tt.length>0?tt[0]:"",at=fe("%"+Ge+"%",qe),Et=at.name,kt=at.value,xt=!1,Rt=at.alias;Rt&&(Ge=Rt[0],Y(tt,H([0,1],Rt)));for(var cn=1,qt=!0;cn=tt.length){var ft=k(kt,Wt);qt=!!ft,qt&&"get"in ft&&!("originalValue"in ft.get)?kt=ft.get:kt=kt[Wt]}else qt=ce(kt,Wt),kt=kt[Wt];qt&&!xt&&(ge[Et]=kt)}}return kt},yP}var bP,uB;function JQ(){if(uB)return bP;uB=1;var e=uF(),t=QQ(),n=t([e("%String.prototype.indexOf%")]);return bP=function(a,i){var o=e(a,!!i);return typeof o=="function"&&n(a,".prototype.")>-1?t([o]):o},bP}var wP,cB;function ZQ(){if(cB)return wP;cB=1;var e=uF(),t=JQ(),n=i_(),r=h0(),a=e("%Map%",!0),i=t("Map.prototype.get",!0),o=t("Map.prototype.set",!0),l=t("Map.prototype.has",!0),u=t("Map.prototype.delete",!0),d=t("Map.prototype.size",!0);return wP=!!a&&function(){var g,y={assert:function(h){if(!y.has(h))throw new r("Side channel does not contain "+n(h))},delete:function(h){if(g){var v=u(g,h);return d(g)===0&&(g=void 0),v}return!1},get:function(h){if(g)return i(g,h)},has:function(h){return g?l(g,h):!1},set:function(h,v){g||(g=new a),o(g,h,v)}};return y},wP}var SP,dB;function Vme(){if(dB)return SP;dB=1;var e=uF(),t=JQ(),n=i_(),r=ZQ(),a=h0(),i=e("%WeakMap%",!0),o=t("WeakMap.prototype.get",!0),l=t("WeakMap.prototype.set",!0),u=t("WeakMap.prototype.has",!0),d=t("WeakMap.prototype.delete",!0);return SP=i?function(){var g,y,h={assert:function(v){if(!h.has(v))throw new a("Side channel does not contain "+n(v))},delete:function(v){if(i&&v&&(typeof v=="object"||typeof v=="function")){if(g)return d(g,v)}else if(r&&y)return y.delete(v);return!1},get:function(v){return i&&v&&(typeof v=="object"||typeof v=="function")&&g?o(g,v):y&&y.get(v)},has:function(v){return i&&v&&(typeof v=="object"||typeof v=="function")&&g?u(g,v):!!y&&y.has(v)},set:function(v,E){i&&v&&(typeof v=="object"||typeof v=="function")?(g||(g=new i),l(g,v,E)):r&&(y||(y=r()),y.set(v,E))}};return h}:r,SP}var EP,fB;function Gme(){if(fB)return EP;fB=1;var e=h0(),t=i_(),n=Sme(),r=ZQ(),a=Vme(),i=a||r||n;return EP=function(){var l,u={assert:function(d){if(!u.has(d))throw new e("Side channel does not contain "+t(d))},delete:function(d){return!!l&&l.delete(d)},get:function(d){return l&&l.get(d)},has:function(d){return!!l&&l.has(d)},set:function(d,f){l||(l=i()),l.set(d,f)}};return u},EP}var TP,pB;function cF(){if(pB)return TP;pB=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return TP={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},TP}var CP,hB;function eJ(){if(hB)return CP;hB=1;var e=cF(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r=(function(){for(var T=[],C=0;C<256;++C)T.push("%"+((C<16?"0":"")+C.toString(16)).toUpperCase());return T})(),a=function(C){for(;C.length>1;){var k=C.pop(),_=k.obj[k.prop];if(n(_)){for(var A=[],P=0;P<_.length;++P)typeof _[P]<"u"&&A.push(_[P]);k.obj[k.prop]=A}}},i=function(C,k){for(var _=k&&k.plainObjects?{__proto__:null}:{},A=0;A=d?N.slice(L,L+d):N,z=[],Q=0;Q=48&&le<=57||le>=65&&le<=90||le>=97&&le<=122||P===e.RFC1738&&(le===40||le===41)){z[z.length]=j.charAt(Q);continue}if(le<128){z[z.length]=r[le];continue}if(le<2048){z[z.length]=r[192|le>>6]+r[128|le&63];continue}if(le<55296||le>=57344){z[z.length]=r[224|le>>12]+r[128|le>>6&63]+r[128|le&63];continue}Q+=1,le=65536+((le&1023)<<10|j.charCodeAt(Q)&1023),z[z.length]=r[240|le>>18]+r[128|le>>12&63]+r[128|le>>6&63]+r[128|le&63]}I+=z.join("")}return I},g=function(C){for(var k=[{obj:{o:C},prop:"o"}],_=[],A=0;A"u"&&(H=0)}if(typeof j=="function"?q=j(C,q):q instanceof Date?q=le(q):k==="comma"&&i(q)&&(q=t.maybeMap(q,function(Et){return Et instanceof Date?le(Et):Et})),q===null){if(P)return L&&!me?L(C,f.encoder,W,"key",re):C;q=""}if(g(q)||t.isBuffer(q)){if(L){var J=me?C:L(C,f.encoder,W,"key",re);return[ge(J)+"="+ge(L(q,f.encoder,W,"value",re))]}return[ge(C)+"="+ge(String(q))]}var ee=[];if(typeof q>"u")return ee;var Z;if(k==="comma"&&i(q))me&&L&&(q=t.maybeMap(q,L)),Z=[{value:q.length>0?q.join(",")||null:void 0}];else if(i(j))Z=j;else{var ue=Object.keys(q);Z=z?ue.sort(z):ue}var ke=I?String(C).replace(/\./g,"%2E"):String(C),fe=_&&i(q)&&q.length===1?ke+"[]":ke;if(A&&i(q)&&q.length===0)return fe+"[]";for(var xe=0;xe"u"?T.encodeDotInKeys===!0?!0:f.allowDots:!!T.allowDots;return{addQueryPrefix:typeof T.addQueryPrefix=="boolean"?T.addQueryPrefix:f.addQueryPrefix,allowDots:N,allowEmptyArrays:typeof T.allowEmptyArrays=="boolean"?!!T.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:P,charset:C,charsetSentinel:typeof T.charsetSentinel=="boolean"?T.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!T.commaRoundTrip,delimiter:typeof T.delimiter>"u"?f.delimiter:T.delimiter,encode:typeof T.encode=="boolean"?T.encode:f.encode,encodeDotInKeys:typeof T.encodeDotInKeys=="boolean"?T.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof T.encoder=="function"?T.encoder:f.encoder,encodeValuesOnly:typeof T.encodeValuesOnly=="boolean"?T.encodeValuesOnly:f.encodeValuesOnly,filter:A,format:k,formatter:_,serializeDate:typeof T.serializeDate=="function"?T.serializeDate:f.serializeDate,skipNulls:typeof T.skipNulls=="boolean"?T.skipNulls:f.skipNulls,sort:typeof T.sort=="function"?T.sort:null,strictNullHandling:typeof T.strictNullHandling=="boolean"?T.strictNullHandling:f.strictNullHandling}};return kP=function(E,T){var C=E,k=v(T),_,A;typeof k.filter=="function"?(A=k.filter,C=A("",C)):i(k.filter)&&(A=k.filter,_=A);var P=[];if(typeof C!="object"||C===null)return"";var N=a[k.arrayFormat],I=N==="comma"&&k.commaRoundTrip;_||(_=Object.keys(C)),k.sort&&_.sort(k.sort);for(var L=e(),j=0;j<_.length;++j){var z=_[j],Q=C[z];k.skipNulls&&Q===null||l(P,h(Q,z,N,I,k.allowEmptyArrays,k.strictNullHandling,k.skipNulls,k.encodeDotInKeys,k.encode?k.encoder:null,k.filter,k.sort,k.allowDots,k.serializeDate,k.format,k.formatter,k.encodeValuesOnly,k.charset,L))}var le=P.join(k.delimiter),re=k.addQueryPrefix===!0?"?":"";return k.charsetSentinel&&(k.charset==="iso-8859-1"?re+="utf8=%26%2310003%3B&":re+="utf8=%E2%9C%93&"),le.length>0?re+le:""},kP}var xP,gB;function Kme(){if(gB)return xP;gB=1;var e=eJ(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(y){return y.replace(/&#(\d+);/g,function(h,v){return String.fromCharCode(parseInt(v,10))})},i=function(y,h,v){if(y&&typeof y=="string"&&h.comma&&y.indexOf(",")>-1)return y.split(",");if(h.throwOnLimitExceeded&&v>=h.arrayLimit)throw new RangeError("Array limit exceeded. Only "+h.arrayLimit+" element"+(h.arrayLimit===1?"":"s")+" allowed in an array.");return y},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",u=function(h,v){var E={__proto__:null},T=v.ignoreQueryPrefix?h.replace(/^\?/,""):h;T=T.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var C=v.parameterLimit===1/0?void 0:v.parameterLimit,k=T.split(v.delimiter,v.throwOnLimitExceeded?C+1:C);if(v.throwOnLimitExceeded&&k.length>C)throw new RangeError("Parameter limit exceeded. Only "+C+" parameter"+(C===1?"":"s")+" allowed.");var _=-1,A,P=v.charset;if(v.charsetSentinel)for(A=0;A-1&&(z=n(z)?[z]:z);var Q=t.call(E,j);Q&&v.duplicates==="combine"?E[j]=e.combine(E[j],z):(!Q||v.duplicates==="last")&&(E[j]=z)}return E},d=function(y,h,v,E){var T=0;if(y.length>0&&y[y.length-1]==="[]"){var C=y.slice(0,-1).join("");T=Array.isArray(h)&&h[C]?h[C].length:0}for(var k=E?h:i(h,v,T),_=y.length-1;_>=0;--_){var A,P=y[_];if(P==="[]"&&v.parseArrays)A=v.allowEmptyArrays&&(k===""||v.strictNullHandling&&k===null)?[]:e.combine([],k);else{A=v.plainObjects?{__proto__:null}:{};var N=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,I=v.decodeDotInKeys?N.replace(/%2E/g,"."):N,L=parseInt(I,10);!v.parseArrays&&I===""?A={0:k}:!isNaN(L)&&P!==I&&String(L)===I&&L>=0&&v.parseArrays&&L<=v.arrayLimit?(A=[],A[L]=k):I!=="__proto__"&&(A[I]=k)}k=A}return k},f=function(h,v,E,T){if(h){var C=E.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,k=/(\[[^[\]]*])/,_=/(\[[^[\]]*])/g,A=E.depth>0&&k.exec(C),P=A?C.slice(0,A.index):C,N=[];if(P){if(!E.plainObjects&&t.call(Object.prototype,P)&&!E.allowPrototypes)return;N.push(P)}for(var I=0;E.depth>0&&(A=_.exec(C))!==null&&I"u"?r.charset:h.charset,E=typeof h.duplicates>"u"?r.duplicates:h.duplicates;if(E!=="combine"&&E!=="first"&&E!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var T=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:r.allowDots:!!h.allowDots;return{allowDots:T,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:r.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:r.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:r.arrayLimit,charset:v,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:r.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:r.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:r.decoder,delimiter:typeof h.delimiter=="string"||e.isRegExp(h.delimiter)?h.delimiter:r.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:r.depth,duplicates:E,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:r.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:r.plainObjects,strictDepth:typeof h.strictDepth=="boolean"?!!h.strictDepth:r.strictDepth,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof h.throwOnLimitExceeded=="boolean"?h.throwOnLimitExceeded:!1}};return xP=function(y,h){var v=g(h);if(y===""||y===null||typeof y>"u")return v.plainObjects?{__proto__:null}:{};for(var E=typeof y=="string"?u(y,v):y,T=v.plainObjects?{__proto__:null}:{},C=Object.keys(E),k=0;kd("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.AppMenuEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}tJ.UKEY="*abac.AppMenuEntity";function CE({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/urw/query".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.QueryUserRoleWorkspacesActionResDto",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}CE.UKEY="*abac.QueryUserRoleWorkspacesActionResDto";function nJ(e){var u,d,f,g,y,h;const t=js(),{selectedUrw:n}=R.useContext(nt),{query:r}=CE({query:{}}),{query:a}=tJ({queryClient:t,queryOptions:{refetchOnWindowFocus:!1,enabled:!r.isError&&r.isSuccess},query:{itemsPerPage:9999}}),{locale:i}=sr();R.useEffect(()=>{a.refetch()},[i]);let o=[];const l=v=>{var E,T;return v?lhe(n,((T=(E=r.data)==null?void 0:E.data)==null?void 0:T.items)||[],v):!0};return(d=(u=a.data)==null?void 0:u.data)!=null&&d.items&&((g=(f=a.data)==null?void 0:f.data)!=null&&g.items.length)&&(o=(h=(y=a.data)==null?void 0:y.data)==null?void 0:h.items.map(v=>iJ(v,l)).filter(Boolean)),o}function Qme({onClick:e}){const{isAuthenticated:t,signout:n}=R.useContext(nt),r=xr(),a=At(),i=js(),o=()=>{e(),n(),i.setQueriesData("*fireback.UserRoleWorkspace",[]),kr.NAVIGATE_ON_SIGNOUT&&r.push(kr.NAVIGATE_ON_SIGNOUT,kr.NAVIGATE_ON_SIGNOUT)},l=()=>{confirm("Are you sure to leave the app?")&&o()};return t?w.jsx("div",{className:"sidebar-menu-particle mt-5",children:w.jsx("ul",{className:"nav nav-pills flex-column mb-auto",children:w.jsx("li",{className:"nav-item",children:w.jsx("a",{onClick:l,className:"nav-link text-white",children:w.jsxs("span",{children:[w.jsx("img",{className:"menu-icon",src:$s(ku.turnoff)}),w.jsx("span",{className:"nav-link-text",children:a.currentUser.signout})]})})})})}):w.jsxs(kl,{className:"user-signin-section",href:"/signin",onClick:e,children:[w.jsx("img",{src:kr.PUBLIC_URL+"/common/user.svg"}),a.currentUser.signin]})}function yB({item:e}){return w.jsxs("span",{children:[e.icon&&w.jsx("img",{className:"menu-icon",src:$s(e.icon)}),e.color&&!e.icon?w.jsx("span",{className:"tag-circle",style:{backgroundColor:e.color}}):null,w.jsx("span",{className:"nav-link-text",children:e.label})]})}function fF({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/user-workspaces".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserWorkspaceEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}fF.UKEY="*abac.UserWorkspaceEntity";function Jme(e,t){var a;let n=!1;const r=(a=e.children)==null?void 0:a.map(i=>{let o=i.activeMatcher?i.activeMatcher.test(t.asPath):void 0;i.forceActive&&(o=!0);let l=i.displayFn?i.displayFn({location:"here",asPath:t.asPath,selectedUrw:t.urw,userRoleWorkspaces:t.urws}):!0;return l&&(n=!0),{...i,isActive:o||!1,isVisible:l}});return n===!1&&!e.href?null:{name:e.label,href:e.href,children:r}}function bB({menu:e,onClick:t}){var l,u,d;const{asPath:n}=sr(),r=js(),{selectedUrw:a}=R.useContext(nt),{query:i}=fF({queryClient:r,query:{},queryOptions:{refetchOnWindowFocus:!1,cacheTime:0}}),o=Jme(e,{asPath:n,urw:a,urws:((u=(l=i.data)==null?void 0:l.data)==null?void 0:u.items)||[]});return o?w.jsx("div",{className:"sidebar-menu-particle",onClick:t,children:((d=e.children)==null?void 0:d.length)>0?w.jsxs(w.Fragment,{children:[w.jsx("span",{className:"d-flex align-items-center mb-3 mb-md-0 me-md-auto text-white text-decoration-none",children:w.jsx("span",{className:"category",children:e.label})}),w.jsx(rJ,{items:o.children})]}):w.jsx(w.Fragment,{children:w.jsx(aJ,{item:e})})}):null}function rJ({items:e}){return w.jsx("ul",{className:"nav nav-pills flex-column mb-auto",children:e.map(t=>w.jsx(aJ,{item:t},t.label+"_"+t.href))})}function aJ({item:e}){return w.jsxs("li",{className:ia("nav-item"),children:[e.href&&!e.onClick?w.jsx(Ub,{replace:!0,href:e.href,className:"nav-link","aria-current":"page",forceActive:e.isActive,scroll:null,inActiveClassName:"text-white",activeClassName:"active",children:w.jsx(yB,{item:e})}):w.jsx("a",{className:ia("nav-link",e.isActive&&"active"),onClick:e.onClick,children:w.jsx(yB,{item:e})}),e.children&&w.jsx(rJ,{items:e.children})]},e.label)}function Zme(){var l,u;const e=At(),{selectedUrw:t,selectUrw:n}=R.useContext(nt),{query:r}=CE({queryOptions:{cacheTime:50},query:{}}),a=((u=(l=r.data)==null?void 0:l.data)==null?void 0:u.items)||[],i=a.map(d=>d.uniqueId).join("-")+"_"+(t==null?void 0:t.roleId)+"_"+(t==null?void 0:t.workspaceId);return{menus:R.useMemo(()=>{const d=[];return a.forEach(f=>{f.roles.forEach(g=>{d.push({key:`${g.uniqueId}_${f.uniqueId}`,label:`${f.name} (${g.name})`,children:[],forceActive:(t==null?void 0:t.roleId)===g.uniqueId&&(t==null?void 0:t.workspaceId)===f.uniqueId,color:f.uniqueId==="root"?G$.Orange:G$.Green,onClick:()=>{n({roleId:g.uniqueId,workspaceId:f.uniqueId})}})})}),[{label:e.wokspaces.sidetitle,children:d.sort((f,g)=>f.key!0){if(!t(e.capabilityId))return null;const n=(e.children||[]).map(r=>iJ(r,t)).filter(Boolean);return{label:e.label||"",children:n,displayFn:ege(),icon:e.icon,href:e.href,activeMatcher:e.activeMatcher?new RegExp(e.activeMatcher):void 0}}function ege(e){return()=>!0}function tge({miniSize:e,onClose:t,sidebarItemSelectedExtra:n}){var g;const{sidebarVisible:r,toggleSidebar:a,sidebarItemSelected:i}=Lv(),o=nJ(),{reset:l}=R.useContext(a_),u=()=>{l(),a()};if(!o)return null;let d=[];Array.isArray(o)?d=[...o]:(g=o.children)!=null&&g.length&&d.push(o);const{menus:f}=Zme();return d.push(f[0]),w.jsxs("div",{"data-wails-drag":!0,className:ia(e?"sidebar-extra-small":"","sidebar",r?"open":"","scrollable-element",ih().isMobileView?"has-bottom-tab":void 0),children:[w.jsx("button",{className:"sidebar-close",onClick:()=>t?t():u(),children:w.jsx("img",{src:$s(ku.cancel)})}),d.map(y=>w.jsx(bB,{onClick:()=>{i(),n==null||n()},menu:y},y.label)),kr.GITHUB_DEMO==="true"&&w.jsx(bB,{onClick:()=>{i(),n==null||n()},menu:{label:"Demo",children:[{label:"Form select",icon:"/ios-theme/icons/settings.svg",children:[],href:"/demo/form-select"},{label:"Form Date/Time",icon:"/ios-theme/icons/settings.svg",children:[],href:"/demo/form-date"},{label:"Overlays & Modal",icon:"/ios-theme/icons/settings.svg",children:[],href:"/demo/modals"}]}}),w.jsx(Qme,{onClick:()=>{i(),n==null||n()}})]})}const oJ=ze.memo(tge);function nge({menu:e,isSecondary:t,routerId:n}){const{toggleSidebar:r,closeCurrentRouter:a}=Lv(),{openDrawer:i}=sF();return d0(Ir.SidebarToggle,()=>{r()}),w.jsx("nav",{className:"navbar navbar-expand-lg navbar-light",style:{"--wails-draggable":"drag"},children:w.jsxs("div",{className:"container-fluid",children:[w.jsx("div",{className:"page-navigator",children:n==="url-router"?w.jsx("button",{className:"navbar-menu-icon",onClick:()=>ih().isMobileView?i(({close:o})=>w.jsx(oJ,{sidebarItemSelectedExtra:o,onClose:o,miniSize:!1}),{speed:180,direction:"left"}):r(),children:w.jsx("img",{src:$s(ku.menu)})}):w.jsx("button",{className:"navbar-menu-icon",onClick:()=>a(n),children:w.jsx("img",{src:$s(ku.cancel)})})}),w.jsx(rL,{filter:({id:o})=>o==="navigation"}),w.jsx("div",{className:"page-navigator"}),w.jsx("span",{className:"navbar-brand",children:w.jsx(Nhe,{})}),V$()==="web"&&w.jsx("button",{className:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation",children:w.jsx("span",{className:"navbar-toggler-icon"})}),w.jsxs("div",{className:V$()==="web"?"collapse navbar-collapse":"",id:"navbarSupportedContent",children:[w.jsx("ul",{className:"navbar-nav ms-auto mb-2 mb-lg-0",children:((e==null?void 0:e.children)||[]).map(o=>{var l;return w.jsx("li",{className:ia("nav-item",((l=o.children)==null?void 0:l.length)&&"dropdown"),children:o.children.length?w.jsxs(w.Fragment,{children:[w.jsx(Ub,{className:"nav-link dropdown-toggle",href:o.href,id:"navbarDropdown",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false",children:w.jsx("span",{children:o.label})}),(o!=null&&o.children,w.jsx("ul",{className:"dropdown-menu","aria-labelledby":"navbarDropdown",children:((o==null?void 0:o.children)||[]).map(u=>{var d;return w.jsx("li",{className:ia("nav-item",((d=u.children)==null?void 0:d.length)&&"dropdown"),children:w.jsx(Ub,{className:"dropdown-item",href:u.href,children:w.jsx("span",{children:u.label})})},`${u.label}_${u.href}`)})}))]}):w.jsx(Ub,{className:"nav-link active","aria-current":"page",href:o.href,children:w.jsx("span",{children:o.label})})},`${o.label}_${o.href}`)})}),w.jsx("span",{className:"general-action-menu desktop-view",children:w.jsx(rL,{filter:({id:o})=>o!=="navigation"})}),w.jsx(dme,{})]})]})})}const rge=ze.memo(nge);function age({result:e,onComplete:t}){const n=At(),r=Ea.groupBy(e,"group"),a=Object.keys(r);return w.jsx("div",{className:"reactive-search-result",children:a.length===0?w.jsx(w.Fragment,{children:n.reactiveSearch.noResults}):w.jsx("ul",{children:a.map((i,o)=>w.jsxs("li",{children:[w.jsx("span",{className:"result-group-name",children:i}),w.jsx("ul",{children:r[i].map((l,u)=>w.jsx("li",{children:l.actionFn?w.jsxs(kl,{onClick:t,href:l.uiLocation,children:[l.icon&&w.jsx("img",{className:"result-icon",src:$s(l.icon)}),l.phrase]}):null},l.uniqueId))})]},o))})})}function ige({children:e}){return w.jsxs(w.Fragment,{children:[w.jsx(Ose,{}),e]})}const oge=({children:e,navbarMenu:t,sidebarMenu:n,routerId:r})=>{At();const{result:a,phrase:i,reset:o}=R.useContext(a_),{sidebarVisible:l,toggleSidebar:u}=Lv(),d=i.length>0;return w.jsxs(w.Fragment,{children:[w.jsxs("div",{style:{display:"flex",width:"100%"},children:[w.jsx("div",{className:ia("sidebar-overlay",l?"open":""),onClick:f=>{u(),f.stopPropagation()}}),w.jsxs("div",{style:{width:"100%",flex:1},children:[w.jsx(rge,{routerId:r,menu:t}),w.jsxs("div",{className:"content-section",children:[d?w.jsx("div",{className:"content-container",children:w.jsx(age,{onComplete:()=>o(),result:a})}):null,w.jsx("div",{className:"content-container",style:{visibility:d?"hidden":void 0},children:w.jsx(ige,{children:e})})]})]}),w.jsx(the,{})]}),w.jsx("span",{className:"general-action-menu mobile-view",children:w.jsx(rL,{})})]})};function Kt(e){const{locale:t}=sr();return!t||t==="en"?e:e["$"+t]?e["$"+t]:e}const sge={capabilities:{nameHint:"Name",newCapability:"New capability",archiveTitle:"Capabilities",description:"Description",descriptionHint:"Description",editCapability:"Edit capability",name:"Name"}},kE={...sge},Fo=({children:e,newEntityHandler:t,exportPath:n,pageTitle:r})=>{hh(r);const a=xr(),{locale:i}=sr();return che({path:n||""}),ghe(t?()=>t({locale:i,router:a}):void 0,Ir.NewEntity),w.jsx(w.Fragment,{children:e})};var ax=function(e){return Array.prototype.slice.call(e)},lge=(function(){function e(){this.handlers=[]}return e.prototype.emit=function(t){this.handlers.forEach(function(n){return n(t)})},e.prototype.subscribe=function(t){this.handlers.push(t)},e.prototype.unsubscribe=function(t){this.handlers.splice(this.handlers.indexOf(t),1)},e})(),sJ=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=Object.prototype.hasOwnProperty,i=0;i0)&&!(a=r.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function $6(e,t,n){if(arguments.length===2)for(var r=0,a=t.length,i;r0?Bhe(t,n,r):t}};Ye.shape({current:Ye.instanceOf(typeof Element<"u"?Element:Object)});var P3=Symbol("group"),Whe=Symbol("".concat(P3.toString(),"_check"));Symbol("".concat(P3.toString(),"_levelKey"));Symbol("".concat(P3.toString(),"_collapsedRows"));var zhe=function(e){return function(t){var n=e(t);return!t[Whe]&&n===void 0&&console.warn("The row id is undefined. Check the getRowId function. The row is",t),n}},qhe=function(e,t){if(!e){var n=new Map(t.map(function(r,a){return[r,a]}));return function(r){return n.get(r)}}return zhe(e)},Hhe=function(e,t){return e[t]},Vhe=function(e,t){e===void 0&&(e=Hhe);var n=!0,r=t.reduce(function(a,i){return i.getCellValue&&(n=!1,a[i.name]=i.getCellValue),a},{});return n?e:function(a,i){return r[i]?r[i](a,i):e(a,i)}};/*! ***************************************************************************** +***************************************************************************** */var uL=function(e,t){return uL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},uL(e,t)};function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");uL(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var yc=function(){return yc=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0)&&!(a=r.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function TB(e,t,n){if(arguments.length===2)for(var r=0,a=t.length,i;r0?xge(t,n,r):t}};Ye.shape({current:Ye.instanceOf(typeof Element<"u"?Element:Object)});var vF=Symbol("group"),_ge=Symbol("".concat(vF.toString(),"_check"));Symbol("".concat(vF.toString(),"_levelKey"));Symbol("".concat(vF.toString(),"_collapsedRows"));var Oge=function(e){return function(t){var n=e(t);return!t[_ge]&&n===void 0&&console.warn("The row id is undefined. Check the getRowId function. The row is",t),n}},Rge=function(e,t){if(!e){var n=new Map(t.map(function(r,a){return[r,a]}));return function(r){return n.get(r)}}return Oge(e)},Pge=function(e,t){return e[t]},Age=function(e,t){e===void 0&&(e=Pge);var n=!0,r=t.reduce(function(a,i){return i.getCellValue&&(n=!1,a[i.name]=i.getCellValue),a},{});return n?e:function(a,i){return r[i]?r[i](a,i):e(a,i)}};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -165,7 +165,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var Cb=function(){return Cb=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0)&&!(a=r.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function kk(e,t,n){if(arguments.length===2)for(var r=0,a=t.length,i;rr){do t[u++]=e[l++];while(l<=a);break}}else if(t[u++]=e[l++],l>a){do t[u++]=e[o++];while(o<=r);break}}},W6=function(e,t,n,r,a){if(!(ri?1:0});var n=Ek(e),r=Ek(e);return T$(n,r,0,n.length-1,t),n}),Khe=function(e,t,n){var r=n.map(function(a){var i=a.columnName;return{column:e.find(function(o){return o.name===i}),draft:!t.some(function(o){return o.columnName===i})}});return t.forEach(function(a,i){var o=a.columnName;n.some(function(l){return l.columnName===o})||r.splice(i,0,{column:e.find(function(l){return l.name===o}),draft:!0})}),r},xk=Symbol("reordering"),Xhe=function(e,t){var n=t.sourceColumnName,r=t.targetColumnName,a=e.indexOf(n),i=e.indexOf(r),o=Ek(e);return o.splice(a,1),o.splice(i,0,n),o},Od=Symbol("data"),Qhe=function(e,t){return e===void 0&&(e=[]),Yhe(e,function(n,r){if(n.type!==Od||r.type!==Od)return 0;var a=t.indexOf(n.column.name),i=t.indexOf(r.column.name);return a-i})},Zhe=function(e){return kk(kk([],E$(e),!1),[{key:xk.toString(),type:xk,height:0}],!1)},Jhe=function(e,t,n){if(t===-1||n===-1||t===n)return e;var r=Ek(e),a=e[t];return r.splice(t,1),r.splice(n,0,a),r},ege=function(e,t){var n=parseInt(e,10),r=n?e.substr(n.toString().length):e,a=isNaN(n)&&r==="auto",i=n>=0&&t.some(function(o){return o===r});return a||i},tge=function(e){if(typeof e=="string"){var t=parseInt(e,10);return e.substr(t.toString().length).length>0?e:t}return e},nge=Symbol("heading"),rge=Symbol("filter"),C$=Symbol("group"),age=Symbol("stub"),ige=function(e,t,n,r){return e.reduce(function(a,i){if(i.type!==Od)return a.push(i),a;var o=i.column&&i.column.name||"",l=t.some(function(d){return d.columnName===o}),u=n.some(function(d){return d.columnName===o});return!l&&!u||r(o)?a.push(i):(!l&&u||l&&!u)&&a.push(Cb(Cb({},i),{draft:!0})),a},[])},oge=function(e,t,n,r,a,i){return kk(kk([],E$(n.map(function(o){var l=e.find(function(u){return u.name===o.columnName});return{key:"".concat(C$.toString(),"_").concat(l.name),type:C$,column:l,width:a}})),!1),E$(ige(t,n,r,i)),!1)},sge=Symbol("band"),lge=["px","%","em","rem","vm","vh","vmin","vmax",""],uge="The columnExtension property of the Table plugin is given an invalid value.",cge=function(e){e&&e.map(function(t){var n=t.width;if(typeof n=="string"&&!ege(n,lge))throw new Error(uge)})},dge=function(e,t){if(!e)return{};var n=e.find(function(r){return r.columnName===t});return n||{}},fge=function(e,t){return e.map(function(n){var r=n.name,a=dge(t,r),i=tge(a.width);return{column:n,key:"".concat(Od.toString(),"_").concat(r),type:Od,width:i,align:a.align,wordWrapEnabled:a.wordWrapEnabled}})},pge=function(e,t){return e===void 0&&(e=[]),e.filter(function(n){return n.type!==Od||t.indexOf(n.column.name)===-1})},mge=function(e,t,n){return function(r){return n.indexOf(r)>-1&&t||typeof e=="function"&&e(r)||void 0}},hge=Symbol("totalSummary");nge.toString();rge.toString();Od.toString();sge.toString();hge.toString();age.toString();C$.toString();var gge=function(e,t){var n=e[t].right-e[t].left,r=function(a){return e[a].right-e[a].left-n};return e.map(function(a,i){var o=a.top,l=a.right,u=a.bottom,d=a.left,f=d;i>0&&i<=t&&(f=Math.min(f,f-r(i-1))),i>t&&(f=Math.max(f,f+r(i)));var g=l;return i=t&&(g=Math.max(g,g+r(i+1))),i=o&&t=e.top&&t<=e.bottom},yge=function(e){var t=e.top,n=e.right,r=e.bottom,a=e.left;return{top:t,right:n,bottom:r,left:a}},bge=function(e){return e.map(function(t,n){return n!==e.length-1&&t.top===e[n+1].top?Cb(Cb({},t),{right:e[n+1].left}):t})},wge=function(e,t,n){var r=n.x,a=n.y;if(e.length===0)return 0;var i=t!==-1?gge(e,t):e.map(yge),o=bge(i).findIndex(function(l,u){var d=z6(l,a),f=r>=l.left&&r<=l.right,g=u===0&&r0)&&!(a=r.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function sx(e,t,n){if(arguments.length===2)for(var r=0,a=t.length,i;rr){do t[u++]=e[l++];while(l<=a);break}}else if(t[u++]=e[l++],l>a){do t[u++]=e[o++];while(o<=r);break}}},RB=function(e,t,n,r,a){if(!(ri?1:0});var n=ax(e),r=ax(e);return fL(n,r,0,n.length-1,t),n}),Ige=function(e,t,n){var r=n.map(function(a){var i=a.columnName;return{column:e.find(function(o){return o.name===i}),draft:!t.some(function(o){return o.columnName===i})}});return t.forEach(function(a,i){var o=a.columnName;n.some(function(l){return l.columnName===o})||r.splice(i,0,{column:e.find(function(l){return l.name===o}),draft:!0})}),r},lx=Symbol("reordering"),Dge=function(e,t){var n=t.sourceColumnName,r=t.targetColumnName,a=e.indexOf(n),i=e.indexOf(r),o=ax(e);return o.splice(a,1),o.splice(i,0,n),o},$d=Symbol("data"),$ge=function(e,t){return e===void 0&&(e=[]),Mge(e,function(n,r){if(n.type!==$d||r.type!==$d)return 0;var a=t.indexOf(n.column.name),i=t.indexOf(r.column.name);return a-i})},Lge=function(e){return sx(sx([],dL(e),!1),[{key:lx.toString(),type:lx,height:0}],!1)},Fge=function(e,t,n){if(t===-1||n===-1||t===n)return e;var r=ax(e),a=e[t];return r.splice(t,1),r.splice(n,0,a),r},jge=function(e,t){var n=parseInt(e,10),r=n?e.substr(n.toString().length):e,a=isNaN(n)&&r==="auto",i=n>=0&&t.some(function(o){return o===r});return a||i},Uge=function(e){if(typeof e=="string"){var t=parseInt(e,10);return e.substr(t.toString().length).length>0?e:t}return e},Bge=Symbol("heading"),Wge=Symbol("filter"),pL=Symbol("group"),zge=Symbol("stub"),qge=function(e,t,n,r){return e.reduce(function(a,i){if(i.type!==$d)return a.push(i),a;var o=i.column&&i.column.name||"",l=t.some(function(d){return d.columnName===o}),u=n.some(function(d){return d.columnName===o});return!l&&!u||r(o)?a.push(i):(!l&&u||l&&!u)&&a.push(Zb(Zb({},i),{draft:!0})),a},[])},Hge=function(e,t,n,r,a,i){return sx(sx([],dL(n.map(function(o){var l=e.find(function(u){return u.name===o.columnName});return{key:"".concat(pL.toString(),"_").concat(l.name),type:pL,column:l,width:a}})),!1),dL(qge(t,n,r,i)),!1)},Vge=Symbol("band"),Gge=["px","%","em","rem","vm","vh","vmin","vmax",""],Yge="The columnExtension property of the Table plugin is given an invalid value.",Kge=function(e){e&&e.map(function(t){var n=t.width;if(typeof n=="string"&&!jge(n,Gge))throw new Error(Yge)})},Xge=function(e,t){if(!e)return{};var n=e.find(function(r){return r.columnName===t});return n||{}},Qge=function(e,t){return e.map(function(n){var r=n.name,a=Xge(t,r),i=Uge(a.width);return{column:n,key:"".concat($d.toString(),"_").concat(r),type:$d,width:i,align:a.align,wordWrapEnabled:a.wordWrapEnabled}})},Jge=function(e,t){return e===void 0&&(e=[]),e.filter(function(n){return n.type!==$d||t.indexOf(n.column.name)===-1})},Zge=function(e,t,n){return function(r){return n.indexOf(r)>-1&&t||typeof e=="function"&&e(r)||void 0}},eve=Symbol("totalSummary");Bge.toString();Wge.toString();$d.toString();Vge.toString();eve.toString();zge.toString();pL.toString();var tve=function(e,t){var n=e[t].right-e[t].left,r=function(a){return e[a].right-e[a].left-n};return e.map(function(a,i){var o=a.top,l=a.right,u=a.bottom,d=a.left,f=d;i>0&&i<=t&&(f=Math.min(f,f-r(i-1))),i>t&&(f=Math.max(f,f+r(i)));var g=l;return i=t&&(g=Math.max(g,g+r(i+1))),i=o&&t=e.top&&t<=e.bottom},rve=function(e){var t=e.top,n=e.right,r=e.bottom,a=e.left;return{top:t,right:n,bottom:r,left:a}},ave=function(e){return e.map(function(t,n){return n!==e.length-1&&t.top===e[n+1].top?Zb(Zb({},t),{right:e[n+1].left}):t})},ive=function(e,t,n){var r=n.x,a=n.y;if(e.length===0)return 0;var i=t!==-1?tve(e,t):e.map(rve),o=ave(i).findIndex(function(l,u){var d=PB(l,a),f=r>=l.left&&r<=l.right,g=u===0&&r{e(!1)})},refs:[]});function zge({mref:e,context:t}){const n=At(),r=e.component,a=async()=>{e.onSubmit&&await e.onSubmit()===!0&&t.closeModal(e.id)};return w.jsx("div",{className:"modal d-block with-fade-in",children:w.jsx("div",{className:"modal-dialog",children:w.jsxs("div",{className:"modal-content",children:[w.jsxs("div",{className:"modal-header",children:[w.jsx("h5",{className:"modal-title",children:e.title}),w.jsx("button",{type:"button",id:"cls",className:"btn-close",onClick:()=>t.closeModal(e.id),"aria-label":"Close"})]}),w.jsx("div",{className:"modal-body",children:w.jsx("p",{children:w.jsx(r,{})})}),w.jsxs("div",{className:"modal-footer",children:[w.jsx("button",{type:"button",className:"btn btn-secondary",autoFocus:!0,onClick:()=>t.closeModal(e.id),children:n.close}),w.jsx("button",{onClick:a,type:"button",className:"btn btn-primary",children:e.confirmButtonLabel||n.saveChanges})]})]})})})}function qge(){const e=R.useContext(_x);return w.jsxs(w.Fragment,{children:[e.refs.map(t=>w.jsx(zge,{context:e,mref:t},t.id)),e.refs.length?w.jsx("div",{className:ia("modal-backdrop fade",e.refs.length&&"show")}):null]})}function Hge({children:e}){const[t,n]=R.useState([]),r=l=>{let u=(Math.random()+1).toString(36).substring(2);const d={...l,id:u};n(f=>[...f,d])},a=l=>{n(u=>u.filter(d=>d.id!==l))},i=()=>new Promise(l=>{l(!0)});return g3("Escape",()=>{n(l=>l.filter((u,d)=>d!==l.length-1))}),w.jsx(_x.Provider,{value:{confirm:i,refs:t,closeModal:a,openModal:r},children:e})}const LQ=()=>{const{openDrawer:e,openModal:t}=w3();return{confirmDrawer:({title:a,description:i,cancelLabel:o,confirmLabel:l})=>e(({close:u,resolve:d})=>w.jsxs("div",{className:"confirm-drawer-container p-3",children:[w.jsx("h2",{children:a}),w.jsx("span",{children:i}),w.jsxs("div",{children:[w.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>d(),children:l}),w.jsx("button",{className:"d-block w-100 btn",onClick:()=>u(),children:o})]})]})),confirmModal:({title:a,description:i,cancelLabel:o,confirmLabel:l})=>t(({close:u,resolve:d})=>w.jsxs("div",{className:"confirm-drawer-container p-3",children:[w.jsx("span",{children:i}),w.jsxs("div",{className:"row mt-4",children:[w.jsx("div",{className:"col-md-6",children:w.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>d(),children:l})}),w.jsx("div",{className:"col-md-6",children:w.jsx("button",{className:"d-block w-100 btn",onClick:()=>u(),children:o})})]})]}),{title:a})}};function Vge({urlMask:e,submitDelete:t,onRecordsDeleted:n,initialFilters:r}){const a=At(),i=xr(),{confirmModal:o}=LQ(),{withDebounce:l}=GX(),u={itemsPerPage:100,startIndex:0,sorting:[],...r||{}},[d,f]=R.useState(u),[g,y]=R.useState(u),{search:p}=Bd(),v=R.useRef(!1);R.useEffect(()=>{if(v.current)return;v.current=!0;let he={};try{he=Ca.parse(p.substring(1)),delete he.startIndex}catch{}f({...u,...he}),y({...u,...he})},[p]);const[E,T]=R.useState([]),k=(he=>{var G;const W={...he};return delete W.startIndex,delete W.itemsPerPage,((G=W==null?void 0:W.sorting)==null?void 0:G.length)===0&&delete W.sorting,JSON.stringify(W)})(d),_=he=>{T(he)},A=(he,W=!0)=>{const G={...d,...he};W&&(G.startIndex=0),f(G),i.push("?"+Ca.stringify(G),void 0,{},!0),l(()=>{y(G)},500)},P=he=>{A({itemsPerPage:he},!1)},N=he=>he.map(W=>`${W.columnName} ${W.direction}`).join(", "),I=he=>{A({sorting:he,sort:N(he)},!1)},L=he=>{A({startIndex:he},!1)},j=he=>{A({startIndex:0})};R.useContext(_x);const z=he=>({query:he.map(W=>`unique_id = ${W}`).join(" or "),uniqueId:""}),Q=async()=>{o({title:a.confirm,confirmLabel:a.common.yes,cancelLabel:a.common.no,description:a.deleteConfirmMessage}).promise.then(({type:he})=>{if(he==="resolved")return t(z(E),null)}).then(()=>{n&&n()})},le=()=>({label:a.deleteAction,onSelect(){Q()},icon:vu.delete,uniqueActionKey:"GENERAL_DELETE_ACTION"}),{addActions:re,removeActionMenu:ge}=Ope();return R.useEffect(()=>{if(E.length>0&&typeof t<"u")return re("table-selection",[le()]);ge("table-selection")},[E]),$b(Ir.Delete,()=>{E.length>0&&typeof t<"u"&&Q()}),{filters:d,setFilters:f,setFilter:A,setSorting:I,setStartIndex:L,selection:E,setSelection:_,onFiltersChange:j,queryHash:k,setPageSize:P,debouncedFilters:g}}function Gge({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/table-view-sizing/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.TableViewSizingEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}class A3 extends wn{constructor(...t){super(...t),this.children=void 0,this.tableName=void 0,this.sizes=void 0}}A3.Navigation={edit(e,t){return`${t?"/"+t:".."}/table-view-sizing/edit/${e}`},create(e){return`${e?"/"+e:".."}/table-view-sizing/new`},single(e,t){return`${t?"/"+t:".."}/table-view-sizing/${e}`},query(e={},t){return`${t?"/"+t:".."}/table-view-sizings`},Redit:"table-view-sizing/edit/:uniqueId",Rcreate:"table-view-sizing/new",Rsingle:"table-view-sizing/:uniqueId",Rquery:"table-view-sizings"};A3.definition={rpc:{query:{}},name:"tableViewSizing",features:{},gormMap:{},fields:[{name:"tableName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"sizes",type:"string",computedType:"string",gormMap:{}}],cliShort:"tvs",description:"Used to store meta data about user tables (in front-end, or apps for example) about the size of the columns"};A3.Fields={...wn.Fields,tableName:"tableName",sizes:"sizes"};function Yge(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/table-view-sizing".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.TableViewSizingEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function FQ(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t1&&(!e.frozen||e.idx+r-1<=t))return r}function Kge(e){e.stopPropagation()}function VC(e){e==null||e.scrollIntoView({inline:"nearest",block:"nearest"})}function U1(e){let t=!1;const n={...e,preventGridDefault(){t=!0},isGridDefaultPrevented(){return t}};return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),n}const Xge=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function x$(e){return(e.ctrlKey||e.metaKey)&&e.key!=="Control"}function Qge(e){return x$(e)&&e.keyCode!==86?!1:!Xge.has(e.key)}function Zge({key:e,target:t}){var n;return e==="Tab"&&(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)?((n=t.closest(".rdg-editor-container"))==null?void 0:n.querySelectorAll("input, textarea, select").length)===1:!1}const Jge="mlln6zg7-0-0-beta-51";function eve(e){return e.map(({key:t,idx:n,minWidth:r,maxWidth:a})=>w.jsx("div",{className:Jge,style:{gridColumnStart:n+1,minWidth:r,maxWidth:a},"data-measuring-cell-key":t},t))}function tve({selectedPosition:e,columns:t,rows:n}){const r=t[e.idx],a=n[e.rowIdx];return jQ(r,a)}function jQ(e,t){return e.renderEditCell!=null&&(typeof e.editable=="function"?e.editable(t):e.editable)!==!1}function nve({rows:e,topSummaryRows:t,bottomSummaryRows:n,rowIdx:r,mainHeaderRowIdx:a,lastFrozenColumnIndex:i,column:o}){const l=(t==null?void 0:t.length)??0;if(r===a)return Sl(o,i,{type:"HEADER"});if(t&&r>a&&r<=l+a)return Sl(o,i,{type:"SUMMARY",row:t[r+l]});if(r>=0&&r{for(const I of a){const L=I.idx;if(L>T)break;const j=nve({rows:i,topSummaryRows:o,bottomSummaryRows:l,rowIdx:C,mainHeaderRowIdx:d,lastFrozenColumnIndex:v,column:I});if(j&&T>L&&TN.level+d,P=()=>{if(t){let I=r[T].parent;for(;I!==void 0;){const L=A(I);if(C===L){T=I.idx+I.colSpan;break}I=I.parent}}else if(e){let I=r[T].parent,L=!1;for(;I!==void 0;){const j=A(I);if(C>=j){T=I.idx,C=j,L=!0;break}I=I.parent}L||(T=g,C=y)}};if(E(p)&&(_(t),C=L&&(C=j,T=I.idx),I=I.parent}}return{idx:T,rowIdx:C}}function ave({maxColIdx:e,minRowIdx:t,maxRowIdx:n,selectedPosition:{rowIdx:r,idx:a},shiftKey:i}){return i?a===0&&r===t:a===e&&r===n}const ive="cj343x07-0-0-beta-51",UQ=`rdg-cell ${ive}`,ove="csofj7r7-0-0-beta-51",sve=`rdg-cell-frozen ${ove}`;function N3(e){return{"--rdg-grid-row-start":e}}function BQ(e,t,n){const r=t+1,a=`calc(${n-1} * var(--rdg-header-row-height))`;return e.parent===void 0?{insetBlockStart:0,gridRowStart:1,gridRowEnd:r,paddingBlockStart:a}:{insetBlockStart:`calc(${t-n} * var(--rdg-header-row-height))`,gridRowStart:r-n,gridRowEnd:r,paddingBlockStart:a}}function Ub(e,t=1){const n=e.idx+1;return{gridColumnStart:n,gridColumnEnd:n+t,insetInlineStart:e.frozen?`var(--rdg-frozen-left-${e.idx})`:void 0}}function GS(e,...t){return Rd(UQ,{[sve]:e.frozen},...t)}const{min:dS,max:_k,floor:q6,sign:lve,abs:uve}=Math;function XR(e){if(typeof e!="function")throw new Error("Please specify the rowKeyGetter prop to use selection")}function WQ(e,{minWidth:t,maxWidth:n}){return e=_k(e,t),typeof n=="number"&&n>=t?dS(e,n):e}function zQ(e,t){return e.parent===void 0?t:e.level-e.parent.level}const cve="c1bn88vv7-0-0-beta-51",dve=`rdg-checkbox-input ${cve}`;function fve({onChange:e,indeterminate:t,...n}){function r(a){e(a.target.checked,a.nativeEvent.shiftKey)}return w.jsx("input",{ref:a=>{a&&(a.indeterminate=t===!0)},type:"checkbox",className:dve,onChange:r,...n})}function pve(e){try{return e.row[e.column.key]}catch{return null}}const qQ=R.createContext(void 0);function Ox(){return R.useContext(qQ)}function M3({value:e,tabIndex:t,indeterminate:n,disabled:r,onChange:a,"aria-label":i,"aria-labelledby":o}){const l=Ox().renderCheckbox;return l({"aria-label":i,"aria-labelledby":o,tabIndex:t,indeterminate:n,disabled:r,checked:e,onChange:a})}const I3=R.createContext(void 0),HQ=R.createContext(void 0);function VQ(){const e=R.useContext(I3),t=R.useContext(HQ);if(e===void 0||t===void 0)throw new Error("useRowSelection must be used within renderCell");return{isRowSelectionDisabled:e.isRowSelectionDisabled,isRowSelected:e.isRowSelected,onRowSelectionChange:t}}const GQ=R.createContext(void 0),YQ=R.createContext(void 0);function mve(){const e=R.useContext(GQ),t=R.useContext(YQ);if(e===void 0||t===void 0)throw new Error("useHeaderRowSelection must be used within renderHeaderCell");return{isIndeterminate:e.isIndeterminate,isRowSelected:e.isRowSelected,onRowSelectionChange:t}}const Ok="rdg-select-column";function hve(e){const{isIndeterminate:t,isRowSelected:n,onRowSelectionChange:r}=mve();return w.jsx(M3,{"aria-label":"Select All",tabIndex:e.tabIndex,indeterminate:t,value:n,onChange:a=>{r({checked:t?!1:a})}})}function gve(e){const{isRowSelectionDisabled:t,isRowSelected:n,onRowSelectionChange:r}=VQ();return w.jsx(M3,{"aria-label":"Select",tabIndex:e.tabIndex,disabled:t,value:n,onChange:(a,i)=>{r({row:e.row,checked:a,isShiftClick:i})}})}function vve(e){const{isRowSelected:t,onRowSelectionChange:n}=VQ();return w.jsx(M3,{"aria-label":"Select Group",tabIndex:e.tabIndex,value:t,onChange:r=>{n({row:e.row,checked:r,isShiftClick:!1})}})}const yve={key:Ok,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell(e){return w.jsx(hve,{...e})},renderCell(e){return w.jsx(gve,{...e})},renderGroupCell(e){return w.jsx(vve,{...e})}},bve="h44jtk67-0-0-beta-51",wve="hcgkhxz7-0-0-beta-51",Sve=`rdg-header-sort-name ${wve}`;function Eve({column:e,sortDirection:t,priority:n}){return e.sortable?w.jsx(Tve,{sortDirection:t,priority:n,children:e.name}):e.name}function Tve({sortDirection:e,priority:t,children:n}){const r=Ox().renderSortStatus;return w.jsxs("span",{className:bve,children:[w.jsx("span",{className:Sve,children:n}),w.jsx("span",{children:r({sortDirection:e,priority:t})})]})}const Cve="auto",kve=50;function xve({rawColumns:e,defaultColumnOptions:t,getColumnWidth:n,viewportWidth:r,scrollLeft:a,enableVirtualization:i}){const o=(t==null?void 0:t.width)??Cve,l=(t==null?void 0:t.minWidth)??kve,u=(t==null?void 0:t.maxWidth)??void 0,d=(t==null?void 0:t.renderCell)??pve,f=(t==null?void 0:t.renderHeaderCell)??Eve,g=(t==null?void 0:t.sortable)??!1,y=(t==null?void 0:t.resizable)??!1,p=(t==null?void 0:t.draggable)??!1,{columns:v,colSpanColumns:E,lastFrozenColumnIndex:T,headerRowsCount:C}=R.useMemo(()=>{let L=-1,j=1;const z=[];Q(e,1);function Q(re,ge,he){for(const W of re){if("children"in W){const ce={name:W.name,parent:he,idx:-1,colSpan:0,level:0,headerCellClass:W.headerCellClass};Q(W.children,ge+1,ce);continue}const G=W.frozen??!1,q={...W,parent:he,idx:0,level:0,frozen:G,width:W.width??o,minWidth:W.minWidth??l,maxWidth:W.maxWidth??u,sortable:W.sortable??g,resizable:W.resizable??y,draggable:W.draggable??p,renderCell:W.renderCell??d,renderHeaderCell:W.renderHeaderCell??f};z.push(q),G&&L++,ge>j&&(j=ge)}}z.sort(({key:re,frozen:ge},{key:he,frozen:W})=>re===Ok?-1:he===Ok?1:ge?W?0:-1:W?1:0);const le=[];return z.forEach((re,ge)=>{re.idx=ge,KQ(re,ge,0),re.colSpan!=null&&le.push(re)}),{columns:z,colSpanColumns:le,lastFrozenColumnIndex:L,headerRowsCount:j}},[e,o,l,u,d,f,y,g,p]),{templateColumns:k,layoutCssVars:_,totalFrozenColumnWidth:A,columnMetrics:P}=R.useMemo(()=>{const L=new Map;let j=0,z=0;const Q=[];for(const re of v){let ge=n(re);typeof ge=="number"?ge=WQ(ge,re):ge=re.minWidth,Q.push(`${ge}px`),L.set(re,{width:ge,left:j}),j+=ge}if(T!==-1){const re=L.get(v[T]);z=re.left+re.width}const le={};for(let re=0;re<=T;re++){const ge=v[re];le[`--rdg-frozen-left-${ge.idx}`]=`${L.get(ge).left}px`}return{templateColumns:Q,layoutCssVars:le,totalFrozenColumnWidth:z,columnMetrics:L}},[n,v,T]),[N,I]=R.useMemo(()=>{if(!i)return[0,v.length-1];const L=a+A,j=a+r,z=v.length-1,Q=dS(T+1,z);if(L>=j)return[Q,Q];let le=Q;for(;leL)break;le++}let re=le;for(;re=j)break;re++}const ge=_k(Q,le-1),he=dS(z,re+1);return[ge,he]},[P,v,T,a,A,r,i]);return{columns:v,colSpanColumns:E,colOverscanStartIdx:N,colOverscanEndIdx:I,templateColumns:k,layoutCssVars:_,headerRowsCount:C,lastFrozenColumnIndex:T,totalFrozenColumnWidth:A}}function KQ(e,t,n){if(n{f.current=a,T(v)});function T(k){k.length!==0&&u(_=>{const A=new Map(_);let P=!1;for(const N of k){const I=H6(r,N);P||(P=I!==_.get(N)),I===void 0?A.delete(N):A.set(N,I)}return P?A:_})}function C(k,_){const{key:A}=k,P=[...n],N=[];for(const{key:L,idx:j,width:z}of t)if(A===L){const Q=typeof _=="number"?`${_}px`:_;P[j]=Q}else g&&typeof z=="string"&&!i.has(L)&&(P[j]=z,N.push(L));r.current.style.gridTemplateColumns=P.join(" ");const I=typeof _=="number"?_:H6(r,A);fc.flushSync(()=>{l(L=>{const j=new Map(L);return j.set(A,I),j}),T(N)}),d==null||d(k,I)}return{gridTemplateColumns:E,handleColumnResize:C}}function H6(e,t){var a;const n=`[data-measuring-cell-key="${CSS.escape(t)}"]`,r=(a=e.current)==null?void 0:a.querySelector(n);return r==null?void 0:r.getBoundingClientRect().width}function Ove(){const e=R.useRef(null),[t,n]=R.useState(1),[r,a]=R.useState(1),[i,o]=R.useState(0);return R.useLayoutEffect(()=>{const{ResizeObserver:l}=window;if(l==null)return;const{clientWidth:u,clientHeight:d,offsetWidth:f,offsetHeight:g}=e.current,{width:y,height:p}=e.current.getBoundingClientRect(),v=g-d,E=y-f+u,T=p-v;n(E),a(T),o(v);const C=new l(k=>{const _=k[0].contentBoxSize[0],{clientHeight:A,offsetHeight:P}=e.current;fc.flushSync(()=>{n(_.inlineSize),a(_.blockSize),o(P-A)})});return C.observe(e.current),()=>{C.disconnect()}},[]),[e,t,r,i]}function Rs(e){const t=R.useRef(e);R.useEffect(()=>{t.current=e});const n=R.useCallback((...r)=>{t.current(...r)},[]);return e&&n}function YS(e){const[t,n]=R.useState(!1);t&&!e&&n(!1);function r(i){i.target!==i.currentTarget&&n(!0)}return{tabIndex:e&&!t?0:-1,childTabIndex:e?0:-1,onFocus:e?r:void 0}}function Rve({columns:e,colSpanColumns:t,rows:n,topSummaryRows:r,bottomSummaryRows:a,colOverscanStartIdx:i,colOverscanEndIdx:o,lastFrozenColumnIndex:l,rowOverscanStartIdx:u,rowOverscanEndIdx:d}){const f=R.useMemo(()=>{if(i===0)return 0;let g=i;const y=(p,v)=>v!==void 0&&p+v>i?(g=p,!0):!1;for(const p of t){const v=p.idx;if(v>=g||y(v,Sl(p,l,{type:"HEADER"})))break;for(let E=u;E<=d;E++){const T=n[E];if(y(v,Sl(p,l,{type:"ROW",row:T})))break}if(r!=null){for(const E of r)if(y(v,Sl(p,l,{type:"SUMMARY",row:E})))break}if(a!=null){for(const E of a)if(y(v,Sl(p,l,{type:"SUMMARY",row:E})))break}}return g},[u,d,n,r,a,i,l,t]);return R.useMemo(()=>{const g=[];for(let y=0;y<=o;y++){const p=e[y];y{if(typeof t=="number")return{totalRowHeight:t*e.length,gridTemplateRows:` repeat(${e.length}, ${t}px)`,getRowTop:T=>T*t,getRowHeight:()=>t,findRowIdx:T=>q6(T/t)};let y=0,p=" ";const v=e.map(T=>{const C=t(T),k={top:y,height:C};return p+=`${C}px `,y+=C,k}),E=T=>_k(0,dS(e.length-1,T));return{totalRowHeight:y,gridTemplateRows:p,getRowTop:T=>v[E(T)].top,getRowHeight:T=>v[E(T)].height,findRowIdx(T){let C=0,k=v.length-1;for(;C<=k;){const _=C+q6((k-C)/2),A=v[_].top;if(A===T)return _;if(AT&&(k=_-1),C>k)return k}return 0}}},[t,e]);let f=0,g=e.length-1;if(a){const p=d(r),v=d(r+n);f=_k(0,p-4),g=dS(e.length-1,v+4)}return{rowOverscanStartIdx:f,rowOverscanEndIdx:g,totalRowHeight:i,gridTemplateRows:o,getRowTop:l,getRowHeight:u,findRowIdx:d}}const Ave="c6ra8a37-0-0-beta-51",Nve=`rdg-cell-copied ${Ave}`,Mve="cq910m07-0-0-beta-51",Ive=`rdg-cell-dragged-over ${Mve}`;function Dve({column:e,colSpan:t,isCellSelected:n,isCopied:r,isDraggedOver:a,row:i,rowIdx:o,className:l,onClick:u,onDoubleClick:d,onContextMenu:f,onRowChange:g,selectCell:y,style:p,...v}){const{tabIndex:E,childTabIndex:T,onFocus:C}=YS(n),{cellClass:k}=e;l=GS(e,{[Nve]:r,[Ive]:a},typeof k=="function"?k(i):k,l);const _=jQ(e,i);function A(j){y({rowIdx:o,idx:e.idx},j)}function P(j){if(u){const z=U1(j);if(u({rowIdx:o,row:i,column:e,selectCell:A},z),z.isGridDefaultPrevented())return}A()}function N(j){if(f){const z=U1(j);if(f({rowIdx:o,row:i,column:e,selectCell:A},z),z.isGridDefaultPrevented())return}A()}function I(j){if(d){const z=U1(j);if(d({rowIdx:o,row:i,column:e,selectCell:A},z),z.isGridDefaultPrevented())return}A(!0)}function L(j){g(e,j)}return w.jsx("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":n,"aria-readonly":!_||void 0,tabIndex:E,className:l,style:{...Ub(e,t),...p},onClick:P,onDoubleClick:I,onContextMenu:N,onFocus:C,...v,children:e.renderCell({column:e,row:i,rowIdx:o,isCellEditable:_,tabIndex:T,onRowChange:L})})}const $ve=R.memo(Dve);function Lve(e,t){return w.jsx($ve,{...t},e)}const Fve="c1w9bbhr7-0-0-beta-51",jve="c1creorc7-0-0-beta-51",Uve=`rdg-cell-drag-handle ${Fve}`;function Bve({gridRowStart:e,rows:t,column:n,columnWidth:r,maxColIdx:a,isLastRow:i,selectedPosition:o,latestDraggedOverRowIdx:l,isCellEditable:u,onRowsChange:d,onFill:f,onClick:g,setDragging:y,setDraggedOverRowIdx:p}){const{idx:v,rowIdx:E}=o;function T(P){if(P.preventDefault(),P.buttons!==1)return;y(!0),window.addEventListener("mouseover",N),window.addEventListener("mouseup",I);function N(L){L.buttons!==1&&I()}function I(){window.removeEventListener("mouseover",N),window.removeEventListener("mouseup",I),y(!1),C()}}function C(){const P=l.current;if(P===void 0)return;const N=E0&&(d==null||d(L,{indexes:j,column:n}))}function A(){var z;const P=((z=n.colSpan)==null?void 0:z.call(n,{type:"ROW",row:t[E]}))??1,{insetInlineStart:N,...I}=Ub(n,P),L="calc(var(--rdg-drag-handle-size) * -0.5 + 1px)",j=n.idx+P-1===a;return{...I,gridRowStart:e,marginInlineEnd:j?void 0:L,marginBlockEnd:i?void 0:L,insetInlineStart:N?`calc(${N} + ${r}px + var(--rdg-drag-handle-size) * -0.5 - 1px)`:void 0}}return w.jsx("div",{style:A(),className:Rd(Uve,n.frozen&&jve),onClick:g,onMouseDown:T,onDoubleClick:k})}const Wve="cis5rrm7-0-0-beta-51";function zve({column:e,colSpan:t,row:n,rowIdx:r,onRowChange:a,closeEditor:i,onKeyDown:o,navigate:l}){var C,k,_;const u=R.useRef(void 0),d=((C=e.editorOptions)==null?void 0:C.commitOnOutsideClick)!==!1,f=Rs(()=>{p(!0,!1)});R.useEffect(()=>{if(!d)return;function A(){u.current=requestAnimationFrame(f)}return addEventListener("mousedown",A,{capture:!0}),()=>{removeEventListener("mousedown",A,{capture:!0}),g()}},[d,f]);function g(){cancelAnimationFrame(u.current)}function y(A){if(o){const P=U1(A);if(o({mode:"EDIT",row:n,column:e,rowIdx:r,navigate(){l(A)},onClose:p},P),P.isGridDefaultPrevented())return}A.key==="Escape"?p():A.key==="Enter"?p(!0):Zge(A)&&l(A)}function p(A=!1,P=!0){A?a(n,!0,P):i(P)}function v(A,P=!1){a(A,P,P)}const{cellClass:E}=e,T=GS(e,"rdg-editor-container",!((k=e.editorOptions)!=null&&k.displayCellContent)&&Wve,typeof E=="function"?E(n):E);return w.jsx("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":!0,className:T,style:Ub(e,t),onKeyDown:y,onMouseDownCapture:g,children:e.renderEditCell!=null&&w.jsxs(w.Fragment,{children:[e.renderEditCell({column:e,row:n,rowIdx:r,onRowChange:v,onClose:p}),((_=e.editorOptions)==null?void 0:_.displayCellContent)&&e.renderCell({column:e,row:n,rowIdx:r,isCellEditable:!0,tabIndex:-1,onRowChange:v})]})})}function qve({column:e,rowIdx:t,isCellSelected:n,selectCell:r}){const{tabIndex:a,onFocus:i}=YS(n),{colSpan:o}=e,l=zQ(e,t),u=e.idx+1;function d(){r({idx:e.idx,rowIdx:t})}return w.jsx("div",{role:"columnheader","aria-colindex":u,"aria-colspan":o,"aria-rowspan":l,"aria-selected":n,tabIndex:a,className:Rd(UQ,e.headerCellClass),style:{...BQ(e,t,l),gridColumnStart:u,gridColumnEnd:u+o},onFocus:i,onClick:d,children:e.name})}const Hve="c6l2wv17-0-0-beta-51",Vve="c1kqdw7y7-0-0-beta-51",Gve=`rdg-cell-resizable ${Vve}`,Yve="r1y6ywlx7-0-0-beta-51",Kve="rdg-cell-draggable",Xve="c1bezg5o7-0-0-beta-51",Qve=`rdg-cell-dragging ${Xve}`,Zve="c1vc96037-0-0-beta-51",Jve=`rdg-cell-drag-over ${Zve}`;function eye({column:e,colSpan:t,rowIdx:n,isCellSelected:r,onColumnResize:a,onColumnsReorder:i,sortColumns:o,onSortColumnsChange:l,selectCell:u,shouldFocusGrid:d,direction:f,dragDropKey:g}){const y=R.useRef(!1),[p,v]=R.useState(!1),[E,T]=R.useState(!1),C=f==="rtl",k=zQ(e,n),{tabIndex:_,childTabIndex:A,onFocus:P}=YS(r),N=o==null?void 0:o.findIndex(fe=>fe.columnKey===e.key),I=N!==void 0&&N>-1?o[N]:void 0,L=I==null?void 0:I.direction,j=I!==void 0&&o.length>1?N+1:void 0,z=L&&!j?L==="ASC"?"ascending":"descending":void 0,{sortable:Q,resizable:le,draggable:re}=e,ge=GS(e,e.headerCellClass,{[Hve]:Q,[Gve]:le,[Kve]:re,[Qve]:p,[Jve]:E});function he(fe){if(fe.pointerType==="mouse"&&fe.buttons!==1)return;fe.preventDefault();const{currentTarget:xe,pointerId:Ie}=fe,qe=xe.parentElement,{right:nt,left:Ge}=qe.getBoundingClientRect(),at=C?fe.clientX-Ge:nt-fe.clientX;y.current=!1;function Et(xt){const{width:Rt,right:cn,left:Ht}=qe.getBoundingClientRect();let Wt=C?cn+at-xt.clientX:xt.clientX+at-Ht;Wt=WQ(Wt,e),Rt>0&&Wt!==Rt&&a(e,Wt)}function kt(xt){y.current||Et(xt),xe.removeEventListener("pointermove",Et),xe.removeEventListener("lostpointercapture",kt)}xe.setPointerCapture(Ie),xe.addEventListener("pointermove",Et),xe.addEventListener("lostpointercapture",kt)}function W(){y.current=!0,a(e,"max-content")}function G(fe){if(l==null)return;const{sortDescendingFirst:xe}=e;if(I===void 0){const Ie={columnKey:e.key,direction:xe?"DESC":"ASC"};l(o&&fe?[...o,Ie]:[Ie])}else{let Ie;if((xe===!0&&L==="DESC"||xe!==!0&&L==="ASC")&&(Ie={columnKey:e.key,direction:L==="ASC"?"DESC":"ASC"}),fe){const qe=[...o];Ie?qe[N]=Ie:qe.splice(N,1),l(qe)}else l(Ie?[Ie]:[])}}function q(fe){u({idx:e.idx,rowIdx:n}),Q&&G(fe.ctrlKey||fe.metaKey)}function ce(fe){P==null||P(fe),d&&u({idx:0,rowIdx:n})}function H(fe){(fe.key===" "||fe.key==="Enter")&&(fe.preventDefault(),G(fe.ctrlKey||fe.metaKey))}function Y(fe){fe.dataTransfer.setData(g,e.key),fe.dataTransfer.dropEffect="move",v(!0)}function ie(){v(!1)}function Z(fe){fe.preventDefault(),fe.dataTransfer.dropEffect="move"}function ee(fe){if(T(!1),fe.dataTransfer.types.includes(g.toLowerCase())){const xe=fe.dataTransfer.getData(g.toLowerCase());xe!==e.key&&(fe.preventDefault(),i==null||i(xe,e.key))}}function J(fe){V6(fe)&&T(!0)}function ue(fe){V6(fe)&&T(!1)}let ke;return re&&(ke={draggable:!0,onDragStart:Y,onDragEnd:ie,onDragOver:Z,onDragEnter:J,onDragLeave:ue,onDrop:ee}),w.jsxs("div",{role:"columnheader","aria-colindex":e.idx+1,"aria-colspan":t,"aria-rowspan":k,"aria-selected":r,"aria-sort":z,tabIndex:d?0:_,className:ge,style:{...BQ(e,n,k),...Ub(e,t)},onFocus:ce,onClick:q,onKeyDown:Q?H:void 0,...ke,children:[e.renderHeaderCell({column:e,sortDirection:L,priority:j,tabIndex:A}),le&&w.jsx("div",{className:Yve,onClick:Kge,onPointerDown:he,onDoubleClick:W})]})}function V6(e){const t=e.relatedTarget;return!e.currentTarget.contains(t)}const tye="r1upfr807-0-0-beta-51",D3=`rdg-row ${tye}`,nye="r190mhd37-0-0-beta-51",Rx="rdg-row-selected",rye="r139qu9m7-0-0-beta-51",aye="rdg-top-summary-row",iye="rdg-bottom-summary-row",oye="h10tskcx7-0-0-beta-51",XQ=`rdg-header-row ${oye}`;function sye({rowIdx:e,columns:t,onColumnResize:n,onColumnsReorder:r,sortColumns:a,onSortColumnsChange:i,lastFrozenColumnIndex:o,selectedCellIdx:l,selectCell:u,shouldFocusGrid:d,direction:f}){const g=R.useId(),y=[];for(let p=0;pt&&u.parent!==void 0;)u=u.parent;if(u.level===t&&!o.has(u)){o.add(u);const{idx:d}=u;i.push(w.jsx(qve,{column:u,rowIdx:e,isCellSelected:r===d,selectCell:a},d))}}}return w.jsx("div",{role:"row","aria-rowindex":e,className:XQ,children:i})}var cye=R.memo(uye);function dye({className:e,rowIdx:t,gridRowStart:n,selectedCellIdx:r,isRowSelectionDisabled:a,isRowSelected:i,copiedCellIdx:o,draggedOverCellIdx:l,lastFrozenColumnIndex:u,row:d,viewportColumns:f,selectedCellEditor:g,onCellClick:y,onCellDoubleClick:p,onCellContextMenu:v,rowClass:E,setDraggedOverRowIdx:T,onMouseEnter:C,onRowChange:k,selectCell:_,...A}){const P=Ox().renderCell,N=Rs((z,Q)=>{k(z,t,Q)});function I(z){T==null||T(t),C==null||C(z)}e=Rd(D3,`rdg-row-${t%2===0?"even":"odd"}`,{[Rx]:r===-1},E==null?void 0:E(d,t),e);const L=[];for(let z=0;z({isRowSelected:i,isRowSelectionDisabled:a}),[a,i]);return w.jsx(I3,{value:j,children:w.jsx("div",{role:"row",className:e,onMouseEnter:I,style:N3(n),...A,children:L})})}const fye=R.memo(dye);function pye(e,t){return w.jsx(fye,{...t},e)}function mye({scrollToPosition:{idx:e,rowIdx:t},gridRef:n,setScrollToCellPosition:r}){const a=R.useRef(null);return R.useLayoutEffect(()=>{VC(a.current)}),R.useLayoutEffect(()=>{function i(){r(null)}const o=new IntersectionObserver(i,{root:n.current,threshold:1});return o.observe(a.current),()=>{o.disconnect()}},[n,r]),w.jsx("div",{ref:a,style:{gridColumn:e===void 0?"1/-1":e+1,gridRow:t===void 0?"1/-1":t+2}})}const hye="a3ejtar7-0-0-beta-51",gye=`rdg-sort-arrow ${hye}`;function vye({sortDirection:e,priority:t}){return w.jsxs(w.Fragment,{children:[yye({sortDirection:e}),bye({priority:t})]})}function yye({sortDirection:e}){return e===void 0?null:w.jsx("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:gye,"aria-hidden":!0,children:w.jsx("path",{d:e==="ASC"?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}function bye({priority:e}){return e}const wye="rnvodz57-0-0-beta-51",Sye=`rdg ${wye}`,Eye="vlqv91k7-0-0-beta-51",Tye=`rdg-viewport-dragging ${Eye}`,Cye="f1lsfrzw7-0-0-beta-51",kye="f1cte0lg7-0-0-beta-51",xye="s8wc6fl7-0-0-beta-51";function _ye({column:e,colSpan:t,row:n,rowIdx:r,isCellSelected:a,selectCell:i}){var y;const{tabIndex:o,childTabIndex:l,onFocus:u}=YS(a),{summaryCellClass:d}=e,f=GS(e,xye,typeof d=="function"?d(n):d);function g(){i({rowIdx:r,idx:e.idx})}return w.jsx("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":a,tabIndex:o,className:f,style:Ub(e,t),onClick:g,onFocus:u,children:(y=e.renderSummaryCell)==null?void 0:y.call(e,{column:e,row:n,tabIndex:l})})}var Oye=R.memo(_ye);const Rye="skuhp557-0-0-beta-51",Pye="tf8l5ub7-0-0-beta-51",Aye=`rdg-summary-row ${Rye}`;function Nye({rowIdx:e,gridRowStart:t,row:n,viewportColumns:r,top:a,bottom:i,lastFrozenColumnIndex:o,selectedCellIdx:l,isTop:u,selectCell:d,"aria-rowindex":f}){const g=[];for(let y=0;ynew Map),[ft,ut]=R.useState(()=>new Map),[Nt,U]=R.useState(null),[D,F]=R.useState(!1),[ae,Te]=R.useState(void 0),[Fe,We]=R.useState(null),[Tt,Mt]=R.useState(!1),[be,Ee]=R.useState(-1),gt=R.useCallback(rt=>Oe.get(rt.key)??ft.get(rt.key)??rt.width,[ft,Oe]),[Lt,_t,Ut,On]=Ove(),{columns:gn,colSpanColumns:ln,lastFrozenColumnIndex:Bn,headerRowsCount:oa,colOverscanStartIdx:Xa,colOverscanEndIdx:ma,templateColumns:vn,layoutCssVars:_a,totalFrozenColumnWidth:Uo}=xve({rawColumns:n,defaultColumnOptions:T,getColumnWidth:gt,scrollLeft:Ht,viewportWidth:_t,enableVirtualization:kt}),Oa=(a==null?void 0:a.length)??0,Ra=(i==null?void 0:i.length)??0,Bo=Oa+Ra,we=oa+Oa,ve=oa-1,$e=-we,ye=$e+ve,Se=r.length+Ra-1,[ne,Me]=R.useState(()=>({idx:-1,rowIdx:$e-1,mode:"SELECT"})),Qe=R.useRef(ae),ot=R.useRef(null),Bt=ke==="treegrid",yn=oa*xe,an=Bo*Ie,Dn=Ut-yn-an,Tn=g!=null&&p!=null,Rr=xt==="rtl",Pr=Rr?"ArrowRight":"ArrowLeft",lr=Rr?"ArrowLeft":"ArrowRight",Bs=Z??oa+r.length+Bo,bv=R.useMemo(()=>({renderCheckbox:at,renderSortStatus:Ge,renderCell:nt}),[at,Ge,nt]),Rl=R.useMemo(()=>{let rt=!1,pt=!1;if(o!=null&&g!=null&&g.size>0){for(const wt of r)if(g.has(o(wt))?rt=!0:pt=!0,rt&&pt)break}return{isRowSelected:rt&&!pt,isIndeterminate:rt&&pt}},[r,g,o]),{rowOverscanStartIdx:oo,rowOverscanEndIdx:ii,totalRowHeight:Xd,gridTemplateRows:wv,getRowTop:bm,getRowHeight:Qb,findRowIdx:Oc}=Pve({rows:r,rowHeight:fe,clientHeight:Dn,scrollTop:Rt,enableVirtualization:kt}),zi=Rve({columns:gn,colSpanColumns:ln,colOverscanStartIdx:Xa,colOverscanEndIdx:ma,lastFrozenColumnIndex:Bn,rowOverscanStartIdx:oo,rowOverscanEndIdx:ii,rows:r,topSummaryRows:a,bottomSummaryRows:i}),{gridTemplateColumns:Wo,handleColumnResize:wi}=_ve(gn,zi,vn,Lt,_t,Oe,ft,dt,ut,I),Qd=Bt?-1:0,Tu=gn.length-1,Ws=Ml(ne),zs=ls(ne),Rc=xe+Xd+an+On,Zb=Rs(wi),Si=Rs(L),Zd=Rs(E),Jd=Rs(C),wm=Rs(k),Pl=Rs(_),ef=Rs(Sv),tf=Rs(Sm),so=Rs(ku),nf=Rs(qs),rf=Rs(({idx:rt,rowIdx:pt})=>{qs({rowIdx:$e+pt-1,idx:rt})}),af=R.useCallback(rt=>{Te(rt),Qe.current=rt},[]),Cu=R.useCallback(()=>{const rt=Y6(Lt.current);if(rt===null)return;VC(rt),(rt.querySelector('[tabindex="0"]')??rt).focus({preventScroll:!0})},[Lt]);R.useLayoutEffect(()=>{ot.current!==null&&Ws&&ne.idx===-1&&(ot.current.focus({preventScroll:!0}),VC(ot.current))},[Ws,ne]),R.useLayoutEffect(()=>{Tt&&(Mt(!1),Cu())},[Tt,Cu]),R.useImperativeHandle(t,()=>({element:Lt.current,scrollToCell({idx:rt,rowIdx:pt}){const wt=rt!==void 0&&rt>Bn&&rt{cn(pt),Wt(uve(wt))}),N==null||N(rt)}function ku(rt,pt,wt){if(typeof l!="function"||wt===r[pt])return;const qt=[...r];qt[pt]=wt,l(qt,{indexes:[pt],column:rt})}function Al(){ne.mode==="EDIT"&&ku(gn[ne.idx],ne.rowIdx,ne.row)}function Nl(){const{idx:rt,rowIdx:pt}=ne,wt=r[pt],qt=gn[rt].key;U({row:wt,columnKey:qt}),z==null||z({sourceRow:wt,sourceColumnKey:qt})}function Ev(){if(!Q||!l||Nt===null||!xu(ne))return;const{idx:rt,rowIdx:pt}=ne,wt=gn[rt],qt=r[pt],En=Q({sourceRow:Nt.row,sourceColumnKey:Nt.columnKey,targetRow:qt,targetColumnKey:wt.key});ku(wt,pt,En)}function Tm(rt){if(!zs)return;const pt=r[ne.rowIdx],{key:wt,shiftKey:qt}=rt;if(Tn&&qt&&wt===" "){XR(o);const En=o(pt);Sm({row:pt,checked:!g.has(En),isShiftClick:!1}),rt.preventDefault();return}xu(ne)&&Qge(rt)&&Me(({idx:En,rowIdx:ur})=>({idx:En,rowIdx:ur,mode:"EDIT",row:pt,originalRow:pt}))}function Cm(rt){return rt>=Qd&&rt<=Tu}function lo(rt){return rt>=0&&rt=$e&&pt<=Se&&Cm(rt)}function Ac({idx:rt,rowIdx:pt}){return lo(pt)&&rt>=0&&rt<=Tu}function ls({idx:rt,rowIdx:pt}){return lo(pt)&&Cm(rt)}function xu(rt){return Ac(rt)&&tve({columns:gn,rows:r,selectedPosition:rt})}function qs(rt,pt){if(!Ml(rt))return;Al();const wt=K6(ne,rt);if(pt&&xu(rt)){const qt=r[rt.rowIdx];Me({...rt,mode:"EDIT",row:qt,originalRow:qt})}else wt?VC(Y6(Lt.current)):(Mt(!0),Me({...rt,mode:"SELECT"}));P&&!wt&&P({rowIdx:rt.rowIdx,row:lo(rt.rowIdx)?r[rt.rowIdx]:void 0,column:gn[rt.idx]})}function Tv(rt,pt,wt){const{idx:qt,rowIdx:En}=ne,ur=Ws&&qt===-1;switch(rt){case"ArrowUp":return{idx:qt,rowIdx:En-1};case"ArrowDown":return{idx:qt,rowIdx:En+1};case Pr:return{idx:qt-1,rowIdx:En};case lr:return{idx:qt+1,rowIdx:En};case"Tab":return{idx:qt+(wt?-1:1),rowIdx:En};case"Home":return ur?{idx:qt,rowIdx:$e}:{idx:0,rowIdx:pt?$e:En};case"End":return ur?{idx:qt,rowIdx:Se}:{idx:Tu,rowIdx:pt?Se:En};case"PageUp":{if(ne.rowIdx===$e)return ne;const Ar=bm(En)+Qb(En)-Dn;return{idx:qt,rowIdx:Ar>0?Oc(Ar):0}}case"PageDown":{if(ne.rowIdx>=r.length)return ne;const Ar=bm(En)+Dn;return{idx:qt,rowIdx:Arrt&&rt>=ae)?ne.idx:void 0}function Cv(){if(j==null||ne.mode==="EDIT"||!ls(ne))return;const{idx:rt,rowIdx:pt}=ne,wt=gn[rt];if(wt.renderEditCell==null||wt.editable===!1)return;const qt=gt(wt);return w.jsx(Bve,{gridRowStart:we+pt+1,rows:r,column:wt,columnWidth:qt,maxColIdx:Tu,isLastRow:pt===Se,selectedPosition:ne,isCellEditable:xu,latestDraggedOverRowIdx:Qe,onRowsChange:l,onClick:Cu,onFill:j,setDragging:F,setDraggedOverRowIdx:af})}function oi(rt){if(ne.rowIdx!==rt||ne.mode==="SELECT")return;const{idx:pt,row:wt}=ne,qt=gn[pt],En=Sl(qt,Bn,{type:"ROW",row:wt}),ur=Zn=>{Mt(Zn),Me(({idx:Pa,rowIdx:Qa})=>({idx:Pa,rowIdx:Qa,mode:"SELECT"}))},Ar=(Zn,Pa,Qa)=>{Pa?fc.flushSync(()=>{ku(qt,ne.rowIdx,Zn),ur(Qa)}):Me(Il=>({...Il,row:Zn}))};return r[ne.rowIdx]!==ne.originalRow&&ur(!1),w.jsx(zve,{column:qt,colSpan:En,row:wt,rowIdx:rt,onRowChange:Ar,closeEditor:ur,onKeyDown:A,navigate:ar},qt.key)}function uo(rt){const pt=ne.idx===-1?void 0:gn[ne.idx];return pt!==void 0&&ne.rowIdx===rt&&!zi.includes(pt)?ne.idx>ma?[...zi,pt]:[...zi.slice(0,Bn+1),pt,...zi.slice(Bn+1)]:zi}function of(){const rt=[],{idx:pt,rowIdx:wt}=ne,qt=zs&&wtii?ii+1:ii;for(let ur=qt;ur<=En;ur++){const Ar=ur===oo-1||ur===ii+1,Zn=Ar?wt:ur;let Pa=zi;const Qa=pt===-1?void 0:gn[pt];Qa!==void 0&&(Ar?Pa=[Qa]:Pa=uo(Zn));const Il=r[Zn],kv=we+Zn+1;let sf=Zn,lf=!1;typeof o=="function"&&(sf=o(Il),lf=(g==null?void 0:g.has(sf))??!1),rt.push(qe(sf,{"aria-rowindex":we+Zn+1,"aria-selected":Tn?lf:void 0,rowIdx:Zn,row:Il,viewportColumns:Pa,isRowSelectionDisabled:(y==null?void 0:y(Il))??!1,isRowSelected:lf,onCellClick:Jd,onCellDoubleClick:wm,onCellContextMenu:Pl,rowClass:W,gridRowStart:kv,copiedCellIdx:Nt!==null&&Nt.row===Il?gn.findIndex(si=>si.key===Nt.columnKey):void 0,selectedCellIdx:wt===Zn?pt:void 0,draggedOverCellIdx:ir(Zn),setDraggedOverRowIdx:D?af:void 0,lastFrozenColumnIndex:Bn,onRowChange:so,selectCell:nf,selectedCellEditor:oi(Zn)}))}return rt}(ne.idx>Tu||ne.rowIdx>Se)&&(Me({idx:-1,rowIdx:$e-1,mode:"SELECT"}),af(void 0));let Hs=`repeat(${oa}, ${xe}px)`;Oa>0&&(Hs+=` repeat(${Oa}, ${Ie}px)`),r.length>0&&(Hs+=wv),Ra>0&&(Hs+=` repeat(${Ra}, ${Ie}px)`);const km=ne.idx===-1&&ne.rowIdx!==$e-1;return w.jsxs("div",{role:ke,"aria-label":ce,"aria-labelledby":H,"aria-description":Y,"aria-describedby":ie,"aria-multiselectable":Tn?!0:void 0,"aria-colcount":gn.length,"aria-rowcount":Bs,className:Rd(Sye,{[Tye]:D},ge),style:{...he,scrollPaddingInlineStart:ne.idx>Bn||(Fe==null?void 0:Fe.idx)!==void 0?`${Uo}px`:void 0,scrollPaddingBlock:lo(ne.rowIdx)||(Fe==null?void 0:Fe.rowIdx)!==void 0?`${yn+Oa*Ie}px ${Ra*Ie}px`:void 0,gridTemplateColumns:Wo,gridTemplateRows:Hs,"--rdg-header-row-height":`${xe}px`,"--rdg-scroll-height":`${Rc}px`,..._a},dir:xt,ref:Lt,onScroll:Em,onKeyDown:Pc,"data-testid":ee,"data-cy":J,children:[w.jsxs(qQ,{value:bv,children:[w.jsx(YQ,{value:ef,children:w.jsxs(GQ,{value:Rl,children:[Array.from({length:ve},(rt,pt)=>w.jsx(cye,{rowIdx:pt+1,level:-ve+pt,columns:uo($e+pt),selectedCellIdx:ne.rowIdx===$e+pt?ne.idx:void 0,selectCell:rf},pt)),w.jsx(lye,{rowIdx:oa,columns:uo(ye),onColumnResize:Zb,onColumnsReorder:Si,sortColumns:v,onSortColumnsChange:Zd,lastFrozenColumnIndex:Bn,selectedCellIdx:ne.rowIdx===ye?ne.idx:void 0,selectCell:rf,shouldFocusGrid:!Ws,direction:xt})]})}),r.length===0&&Et?Et:w.jsxs(w.Fragment,{children:[a==null?void 0:a.map((rt,pt)=>{const wt=oa+1+pt,qt=ye+1+pt,En=ne.rowIdx===qt,ur=yn+Ie*pt;return w.jsx(G6,{"aria-rowindex":wt,rowIdx:qt,gridRowStart:wt,row:rt,top:ur,bottom:void 0,viewportColumns:uo(qt),lastFrozenColumnIndex:Bn,selectedCellIdx:En?ne.idx:void 0,isTop:!0,selectCell:nf},pt)}),w.jsx(HQ,{value:tf,children:of()}),i==null?void 0:i.map((rt,pt)=>{const wt=we+r.length+pt+1,qt=r.length+pt,En=ne.rowIdx===qt,ur=Dn>Xd?Ut-Ie*(i.length-pt):void 0,Ar=ur===void 0?Ie*(i.length-1-pt):void 0;return w.jsx(G6,{"aria-rowindex":Bs-Ra+pt+1,rowIdx:qt,gridRowStart:wt,row:rt,top:ur,bottom:Ar,viewportColumns:uo(qt),lastFrozenColumnIndex:Bn,selectedCellIdx:En?ne.idx:void 0,isTop:!1,selectCell:nf},pt)})]})]}),Cv(),eve(zi),Bt&&w.jsx("div",{ref:ot,tabIndex:km?0:-1,className:Rd(Cye,{[kye]:!lo(ne.rowIdx),[nye]:km,[rye]:km&&Bn!==-1}),style:{gridRowStart:ne.rowIdx+we+1}}),Fe!==null&&w.jsx(mye,{scrollToPosition:Fe,setScrollToCellPosition:We,gridRef:Lt})]})}function Y6(e){return e.querySelector(':scope > [role="row"] > [tabindex="0"]')}function K6(e,t){return e.idx===t.idx&&e.rowIdx===t.rowIdx}function Iye({id:e,groupKey:t,childRows:n,isExpanded:r,isCellSelected:a,column:i,row:o,groupColumnIndex:l,isGroupByColumn:u,toggleGroup:d}){var E;const{tabIndex:f,childTabIndex:g,onFocus:y}=YS(a);function p(){d(e)}const v=u&&l===i.idx;return w.jsx("div",{role:"gridcell","aria-colindex":i.idx+1,"aria-selected":a,tabIndex:f,className:GS(i),style:{...Ub(i),cursor:v?"pointer":"default"},onClick:v?p:void 0,onFocus:y,children:(!u||v)&&((E=i.renderGroupCell)==null?void 0:E.call(i,{groupKey:t,childRows:n,column:i,row:o,isExpanded:r,tabIndex:g,toggleGroup:p}))},i.key)}var Dye=R.memo(Iye);const $ye="g1yxluv37-0-0-beta-51",Lye=`rdg-group-row ${$ye}`;function Fye({className:e,row:t,rowIdx:n,viewportColumns:r,selectedCellIdx:a,isRowSelected:i,selectCell:o,gridRowStart:l,groupBy:u,toggleGroup:d,isRowSelectionDisabled:f,...g}){const y=r[0].key===Ok?t.level+1:t.level;function p(){o({rowIdx:n,idx:-1})}const v=R.useMemo(()=>({isRowSelectionDisabled:!1,isRowSelected:i}),[i]);return w.jsx(I3,{value:v,children:w.jsx("div",{role:"row","aria-level":t.level+1,"aria-setsize":t.setSize,"aria-posinset":t.posInSet+1,"aria-expanded":t.isExpanded,className:Rd(D3,Lye,`rdg-row-${n%2===0?"even":"odd"}`,a===-1&&Rx,e),onClick:p,style:N3(l),...g,children:r.map(E=>w.jsx(Dye,{id:t.id,groupKey:t.groupKey,childRows:t.childRows,isExpanded:t.isExpanded,isCellSelected:a===E.idx,column:E,row:t,groupColumnIndex:y,toggleGroup:d,isGroupByColumn:u.includes(E.key)},E.key))})})}R.memo(Fye);const QQ=({value:e})=>{const t=n=>{n.stopPropagation(),navigator.clipboard.writeText(e).then(()=>{})};return w.jsx("div",{className:"table-btn table-copy-btn",onClick:t,children:w.jsx(jye,{})})},jye=({size:e=16,color:t="silver",style:n={}})=>w.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n,children:w.jsx("path",{d:"M16 1H6C4.9 1 4 1.9 4 3V17H6V3H16V1ZM18 5H10C8.9 5 8 5.9 8 7V21C8 22.1 8.9 23 10 23H18C19.1 23 20 22.1 20 21V7C20 5.9 19.1 5 18 5ZM18 21H10V7H18V21Z",fill:t})}),Uye=({value:e})=>{const{addRouter:t}=cv(),n=r=>{r.stopPropagation(),t(e)};return w.jsx("div",{className:"table-btn table-open-in-new-router",onClick:n,children:w.jsx(Bye,{})})},Bye=({size:e=16,color:t="silver",style:n={}})=>w.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{cursor:"pointer",...n},children:w.jsx("path",{d:"M9 3H5C3.895 3 3 3.895 3 5v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2v-4h-2v4H5V5h4V3ZM21 3h-6v2h3.586l-9.293 9.293 1.414 1.414L20 6.414V10h2V3Z",fill:t})});/** +***************************************************************************** */var hL=function(e,t){return hL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},hL(e,t)};function xE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hL(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ji=function(){return Ji=Object.assign||function(t){for(var n,r=1,a=arguments.length;r{e(!1)})},refs:[]});function Ove({mref:e,context:t}){const n=At(),r=e.component,a=async()=>{e.onSubmit&&await e.onSubmit()===!0&&t.closeModal(e.id)};return w.jsx("div",{className:"modal d-block with-fade-in",children:w.jsx("div",{className:"modal-dialog",children:w.jsxs("div",{className:"modal-content",children:[w.jsxs("div",{className:"modal-header",children:[w.jsx("h5",{className:"modal-title",children:e.title}),w.jsx("button",{type:"button",id:"cls",className:"btn-close",onClick:()=>t.closeModal(e.id),"aria-label":"Close"})]}),w.jsx("div",{className:"modal-body",children:w.jsx("p",{children:w.jsx(r,{})})}),w.jsxs("div",{className:"modal-footer",children:[w.jsx("button",{type:"button",className:"btn btn-secondary",autoFocus:!0,onClick:()=>t.closeModal(e.id),children:n.close}),w.jsx("button",{onClick:a,type:"button",className:"btn btn-primary",children:e.confirmButtonLabel||n.saveChanges})]})]})})})}function Rve(){const e=R.useContext(l_);return w.jsxs(w.Fragment,{children:[e.refs.map(t=>w.jsx(Ove,{context:e,mref:t},t.id)),e.refs.length?w.jsx("div",{className:ia("modal-backdrop fade",e.refs.length&&"show")}):null]})}function Pve({children:e}){const[t,n]=R.useState([]),r=l=>{let u=(Math.random()+1).toString(36).substring(2);const d={...l,id:u};n(f=>[...f,d])},a=l=>{n(u=>u.filter(d=>d.id!==l))},i=()=>new Promise(l=>{l(!0)});return rF("Escape",()=>{n(l=>l.filter((u,d)=>d!==l.length-1))}),w.jsx(l_.Provider,{value:{confirm:i,refs:t,closeModal:a,openModal:r},children:e})}const CJ=()=>{const{openDrawer:e,openModal:t}=sF();return{confirmDrawer:({title:a,description:i,cancelLabel:o,confirmLabel:l})=>e(({close:u,resolve:d})=>w.jsxs("div",{className:"confirm-drawer-container p-3",children:[w.jsx("h2",{children:a}),w.jsx("span",{children:i}),w.jsxs("div",{children:[w.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>d(),children:l}),w.jsx("button",{className:"d-block w-100 btn",onClick:()=>u(),children:o})]})]})),confirmModal:({title:a,description:i,cancelLabel:o,confirmLabel:l})=>t(({close:u,resolve:d})=>w.jsxs("div",{className:"confirm-drawer-container p-3",children:[w.jsx("span",{children:i}),w.jsxs("div",{className:"row mt-4",children:[w.jsx("div",{className:"col-md-6",children:w.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>d(),children:l})}),w.jsx("div",{className:"col-md-6",children:w.jsx("button",{className:"d-block w-100 btn",onClick:()=>u(),children:o})})]})]}),{title:a})}};function Ave({urlMask:e,submitDelete:t,onRecordsDeleted:n,initialFilters:r}){const a=At(),i=xr(),{confirmModal:o}=CJ(),{withDebounce:l}=IQ(),u={itemsPerPage:100,startIndex:0,sorting:[],...r||{}},[d,f]=R.useState(u),[g,y]=R.useState(u),{search:h}=Xd(),v=R.useRef(!1);R.useEffect(()=>{if(v.current)return;v.current=!0;let me={};try{me=qa.parse(h.substring(1)),delete me.startIndex}catch{}f({...u,...me}),y({...u,...me})},[h]);const[E,T]=R.useState([]),k=(me=>{var G;const W={...me};return delete W.startIndex,delete W.itemsPerPage,((G=W==null?void 0:W.sorting)==null?void 0:G.length)===0&&delete W.sorting,JSON.stringify(W)})(d),_=me=>{T(me)},A=(me,W=!0)=>{const G={...d,...me};W&&(G.startIndex=0),f(G),i.push("?"+qa.stringify(G),void 0,{},!0),l(()=>{y(G)},500)},P=me=>{A({itemsPerPage:me},!1)},N=me=>me.map(W=>`${W.columnName} ${W.direction}`).join(", "),I=me=>{A({sorting:me,sort:N(me)},!1)},L=me=>{A({startIndex:me},!1)},j=me=>{A({startIndex:0})};R.useContext(l_);const z=me=>({query:me.map(W=>`unique_id = ${W}`).join(" or "),uniqueId:""}),Q=async()=>{o({title:a.confirm,confirmLabel:a.common.yes,cancelLabel:a.common.no,description:a.deleteConfirmMessage}).promise.then(({type:me})=>{if(me==="resolved")return t(z(E),null)}).then(()=>{n&&n()})},le=()=>({label:a.deleteAction,onSelect(){Q()},icon:ku.delete,uniqueActionKey:"GENERAL_DELETE_ACTION"}),{addActions:re,removeActionMenu:ge}=phe();return R.useEffect(()=>{if(E.length>0&&typeof t<"u")return re("table-selection",[le()]);ge("table-selection")},[E]),d0(Ir.Delete,()=>{E.length>0&&typeof t<"u"&&Q()}),{filters:d,setFilters:f,setFilter:A,setSorting:I,setStartIndex:L,selection:E,setSelection:_,onFiltersChange:j,queryHash:k,setPageSize:P,debouncedFilters:g}}function Nve({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/table-view-sizing/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.TableViewSizingEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}class yF extends wn{constructor(...t){super(...t),this.children=void 0,this.tableName=void 0,this.sizes=void 0}}yF.Navigation={edit(e,t){return`${t?"/"+t:".."}/table-view-sizing/edit/${e}`},create(e){return`${e?"/"+e:".."}/table-view-sizing/new`},single(e,t){return`${t?"/"+t:".."}/table-view-sizing/${e}`},query(e={},t){return`${t?"/"+t:".."}/table-view-sizings`},Redit:"table-view-sizing/edit/:uniqueId",Rcreate:"table-view-sizing/new",Rsingle:"table-view-sizing/:uniqueId",Rquery:"table-view-sizings"};yF.definition={rpc:{query:{}},name:"tableViewSizing",features:{},gormMap:{},fields:[{name:"tableName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"sizes",type:"string",computedType:"string",gormMap:{}}],cliShort:"tvs",description:"Used to store meta data about user tables (in front-end, or apps for example) about the size of the columns"};yF.Fields={...wn.Fields,tableName:"tableName",sizes:"sizes"};function Mve(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/table-view-sizing".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.TableViewSizingEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function kJ(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t1&&(!e.frozen||e.idx+r-1<=t))return r}function Ive(e){e.stopPropagation()}function Ok(e){e==null||e.scrollIntoView({inline:"nearest",block:"nearest"})}function gS(e){let t=!1;const n={...e,preventGridDefault(){t=!0},isGridDefaultPrevented(){return t}};return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),n}const Dve=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function mL(e){return(e.ctrlKey||e.metaKey)&&e.key!=="Control"}function $ve(e){return mL(e)&&e.keyCode!==86?!1:!Dve.has(e.key)}function Lve({key:e,target:t}){var n;return e==="Tab"&&(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)?((n=t.closest(".rdg-editor-container"))==null?void 0:n.querySelectorAll("input, textarea, select").length)===1:!1}const Fve="mlln6zg7-0-0-beta-51";function jve(e){return e.map(({key:t,idx:n,minWidth:r,maxWidth:a})=>w.jsx("div",{className:Fve,style:{gridColumnStart:n+1,minWidth:r,maxWidth:a},"data-measuring-cell-key":t},t))}function Uve({selectedPosition:e,columns:t,rows:n}){const r=t[e.idx],a=n[e.rowIdx];return xJ(r,a)}function xJ(e,t){return e.renderEditCell!=null&&(typeof e.editable=="function"?e.editable(t):e.editable)!==!1}function Bve({rows:e,topSummaryRows:t,bottomSummaryRows:n,rowIdx:r,mainHeaderRowIdx:a,lastFrozenColumnIndex:i,column:o}){const l=(t==null?void 0:t.length)??0;if(r===a)return Cl(o,i,{type:"HEADER"});if(t&&r>a&&r<=l+a)return Cl(o,i,{type:"SUMMARY",row:t[r+l]});if(r>=0&&r{for(const I of a){const L=I.idx;if(L>T)break;const j=Bve({rows:i,topSummaryRows:o,bottomSummaryRows:l,rowIdx:C,mainHeaderRowIdx:d,lastFrozenColumnIndex:v,column:I});if(j&&T>L&&TN.level+d,P=()=>{if(t){let I=r[T].parent;for(;I!==void 0;){const L=A(I);if(C===L){T=I.idx+I.colSpan;break}I=I.parent}}else if(e){let I=r[T].parent,L=!1;for(;I!==void 0;){const j=A(I);if(C>=j){T=I.idx,C=j,L=!0;break}I=I.parent}L||(T=g,C=y)}};if(E(h)&&(_(t),C=L&&(C=j,T=I.idx),I=I.parent}}return{idx:T,rowIdx:C}}function zve({maxColIdx:e,minRowIdx:t,maxRowIdx:n,selectedPosition:{rowIdx:r,idx:a},shiftKey:i}){return i?a===0&&r===t:a===e&&r===n}const qve="cj343x07-0-0-beta-51",_J=`rdg-cell ${qve}`,Hve="csofj7r7-0-0-beta-51",Vve=`rdg-cell-frozen ${Hve}`;function bF(e){return{"--rdg-grid-row-start":e}}function OJ(e,t,n){const r=t+1,a=`calc(${n-1} * var(--rdg-header-row-height))`;return e.parent===void 0?{insetBlockStart:0,gridRowStart:1,gridRowEnd:r,paddingBlockStart:a}:{insetBlockStart:`calc(${t-n} * var(--rdg-header-row-height))`,gridRowStart:r-n,gridRowEnd:r,paddingBlockStart:a}}function m0(e,t=1){const n=e.idx+1;return{gridColumnStart:n,gridColumnEnd:n+t,insetInlineStart:e.frozen?`var(--rdg-frozen-left-${e.idx})`:void 0}}function _E(e,...t){return Ld(_J,{[Vve]:e.frozen},...t)}const{min:BS,max:ux,floor:AB,sign:Gve,abs:Yve}=Math;function NP(e){if(typeof e!="function")throw new Error("Please specify the rowKeyGetter prop to use selection")}function RJ(e,{minWidth:t,maxWidth:n}){return e=ux(e,t),typeof n=="number"&&n>=t?BS(e,n):e}function PJ(e,t){return e.parent===void 0?t:e.level-e.parent.level}const Kve="c1bn88vv7-0-0-beta-51",Xve=`rdg-checkbox-input ${Kve}`;function Qve({onChange:e,indeterminate:t,...n}){function r(a){e(a.target.checked,a.nativeEvent.shiftKey)}return w.jsx("input",{ref:a=>{a&&(a.indeterminate=t===!0)},type:"checkbox",className:Xve,onChange:r,...n})}function Jve(e){try{return e.row[e.column.key]}catch{return null}}const AJ=R.createContext(void 0);function u_(){return R.useContext(AJ)}function wF({value:e,tabIndex:t,indeterminate:n,disabled:r,onChange:a,"aria-label":i,"aria-labelledby":o}){const l=u_().renderCheckbox;return l({"aria-label":i,"aria-labelledby":o,tabIndex:t,indeterminate:n,disabled:r,checked:e,onChange:a})}const SF=R.createContext(void 0),NJ=R.createContext(void 0);function MJ(){const e=R.useContext(SF),t=R.useContext(NJ);if(e===void 0||t===void 0)throw new Error("useRowSelection must be used within renderCell");return{isRowSelectionDisabled:e.isRowSelectionDisabled,isRowSelected:e.isRowSelected,onRowSelectionChange:t}}const IJ=R.createContext(void 0),DJ=R.createContext(void 0);function Zve(){const e=R.useContext(IJ),t=R.useContext(DJ);if(e===void 0||t===void 0)throw new Error("useHeaderRowSelection must be used within renderHeaderCell");return{isIndeterminate:e.isIndeterminate,isRowSelected:e.isRowSelected,onRowSelectionChange:t}}const cx="rdg-select-column";function eye(e){const{isIndeterminate:t,isRowSelected:n,onRowSelectionChange:r}=Zve();return w.jsx(wF,{"aria-label":"Select All",tabIndex:e.tabIndex,indeterminate:t,value:n,onChange:a=>{r({checked:t?!1:a})}})}function tye(e){const{isRowSelectionDisabled:t,isRowSelected:n,onRowSelectionChange:r}=MJ();return w.jsx(wF,{"aria-label":"Select",tabIndex:e.tabIndex,disabled:t,value:n,onChange:(a,i)=>{r({row:e.row,checked:a,isShiftClick:i})}})}function nye(e){const{isRowSelected:t,onRowSelectionChange:n}=MJ();return w.jsx(wF,{"aria-label":"Select Group",tabIndex:e.tabIndex,value:t,onChange:r=>{n({row:e.row,checked:r,isShiftClick:!1})}})}const rye={key:cx,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell(e){return w.jsx(eye,{...e})},renderCell(e){return w.jsx(tye,{...e})},renderGroupCell(e){return w.jsx(nye,{...e})}},aye="h44jtk67-0-0-beta-51",iye="hcgkhxz7-0-0-beta-51",oye=`rdg-header-sort-name ${iye}`;function sye({column:e,sortDirection:t,priority:n}){return e.sortable?w.jsx(lye,{sortDirection:t,priority:n,children:e.name}):e.name}function lye({sortDirection:e,priority:t,children:n}){const r=u_().renderSortStatus;return w.jsxs("span",{className:aye,children:[w.jsx("span",{className:oye,children:n}),w.jsx("span",{children:r({sortDirection:e,priority:t})})]})}const uye="auto",cye=50;function dye({rawColumns:e,defaultColumnOptions:t,getColumnWidth:n,viewportWidth:r,scrollLeft:a,enableVirtualization:i}){const o=(t==null?void 0:t.width)??uye,l=(t==null?void 0:t.minWidth)??cye,u=(t==null?void 0:t.maxWidth)??void 0,d=(t==null?void 0:t.renderCell)??Jve,f=(t==null?void 0:t.renderHeaderCell)??sye,g=(t==null?void 0:t.sortable)??!1,y=(t==null?void 0:t.resizable)??!1,h=(t==null?void 0:t.draggable)??!1,{columns:v,colSpanColumns:E,lastFrozenColumnIndex:T,headerRowsCount:C}=R.useMemo(()=>{let L=-1,j=1;const z=[];Q(e,1);function Q(re,ge,me){for(const W of re){if("children"in W){const ce={name:W.name,parent:me,idx:-1,colSpan:0,level:0,headerCellClass:W.headerCellClass};Q(W.children,ge+1,ce);continue}const G=W.frozen??!1,q={...W,parent:me,idx:0,level:0,frozen:G,width:W.width??o,minWidth:W.minWidth??l,maxWidth:W.maxWidth??u,sortable:W.sortable??g,resizable:W.resizable??y,draggable:W.draggable??h,renderCell:W.renderCell??d,renderHeaderCell:W.renderHeaderCell??f};z.push(q),G&&L++,ge>j&&(j=ge)}}z.sort(({key:re,frozen:ge},{key:me,frozen:W})=>re===cx?-1:me===cx?1:ge?W?0:-1:W?1:0);const le=[];return z.forEach((re,ge)=>{re.idx=ge,$J(re,ge,0),re.colSpan!=null&&le.push(re)}),{columns:z,colSpanColumns:le,lastFrozenColumnIndex:L,headerRowsCount:j}},[e,o,l,u,d,f,y,g,h]),{templateColumns:k,layoutCssVars:_,totalFrozenColumnWidth:A,columnMetrics:P}=R.useMemo(()=>{const L=new Map;let j=0,z=0;const Q=[];for(const re of v){let ge=n(re);typeof ge=="number"?ge=RJ(ge,re):ge=re.minWidth,Q.push(`${ge}px`),L.set(re,{width:ge,left:j}),j+=ge}if(T!==-1){const re=L.get(v[T]);z=re.left+re.width}const le={};for(let re=0;re<=T;re++){const ge=v[re];le[`--rdg-frozen-left-${ge.idx}`]=`${L.get(ge).left}px`}return{templateColumns:Q,layoutCssVars:le,totalFrozenColumnWidth:z,columnMetrics:L}},[n,v,T]),[N,I]=R.useMemo(()=>{if(!i)return[0,v.length-1];const L=a+A,j=a+r,z=v.length-1,Q=BS(T+1,z);if(L>=j)return[Q,Q];let le=Q;for(;leL)break;le++}let re=le;for(;re=j)break;re++}const ge=ux(Q,le-1),me=BS(z,re+1);return[ge,me]},[P,v,T,a,A,r,i]);return{columns:v,colSpanColumns:E,colOverscanStartIdx:N,colOverscanEndIdx:I,templateColumns:k,layoutCssVars:_,headerRowsCount:C,lastFrozenColumnIndex:T,totalFrozenColumnWidth:A}}function $J(e,t,n){if(n{f.current=a,T(v)});function T(k){k.length!==0&&u(_=>{const A=new Map(_);let P=!1;for(const N of k){const I=NB(r,N);P||(P=I!==_.get(N)),I===void 0?A.delete(N):A.set(N,I)}return P?A:_})}function C(k,_){const{key:A}=k,P=[...n],N=[];for(const{key:L,idx:j,width:z}of t)if(A===L){const Q=typeof _=="number"?`${_}px`:_;P[j]=Q}else g&&typeof z=="string"&&!i.has(L)&&(P[j]=z,N.push(L));r.current.style.gridTemplateColumns=P.join(" ");const I=typeof _=="number"?_:NB(r,A);wc.flushSync(()=>{l(L=>{const j=new Map(L);return j.set(A,I),j}),T(N)}),d==null||d(k,I)}return{gridTemplateColumns:E,handleColumnResize:C}}function NB(e,t){var a;const n=`[data-measuring-cell-key="${CSS.escape(t)}"]`,r=(a=e.current)==null?void 0:a.querySelector(n);return r==null?void 0:r.getBoundingClientRect().width}function pye(){const e=R.useRef(null),[t,n]=R.useState(1),[r,a]=R.useState(1),[i,o]=R.useState(0);return R.useLayoutEffect(()=>{const{ResizeObserver:l}=window;if(l==null)return;const{clientWidth:u,clientHeight:d,offsetWidth:f,offsetHeight:g}=e.current,{width:y,height:h}=e.current.getBoundingClientRect(),v=g-d,E=y-f+u,T=h-v;n(E),a(T),o(v);const C=new l(k=>{const _=k[0].contentBoxSize[0],{clientHeight:A,offsetHeight:P}=e.current;wc.flushSync(()=>{n(_.inlineSize),a(_.blockSize),o(P-A)})});return C.observe(e.current),()=>{C.disconnect()}},[]),[e,t,r,i]}function As(e){const t=R.useRef(e);R.useEffect(()=>{t.current=e});const n=R.useCallback((...r)=>{t.current(...r)},[]);return e&&n}function OE(e){const[t,n]=R.useState(!1);t&&!e&&n(!1);function r(i){i.target!==i.currentTarget&&n(!0)}return{tabIndex:e&&!t?0:-1,childTabIndex:e?0:-1,onFocus:e?r:void 0}}function hye({columns:e,colSpanColumns:t,rows:n,topSummaryRows:r,bottomSummaryRows:a,colOverscanStartIdx:i,colOverscanEndIdx:o,lastFrozenColumnIndex:l,rowOverscanStartIdx:u,rowOverscanEndIdx:d}){const f=R.useMemo(()=>{if(i===0)return 0;let g=i;const y=(h,v)=>v!==void 0&&h+v>i?(g=h,!0):!1;for(const h of t){const v=h.idx;if(v>=g||y(v,Cl(h,l,{type:"HEADER"})))break;for(let E=u;E<=d;E++){const T=n[E];if(y(v,Cl(h,l,{type:"ROW",row:T})))break}if(r!=null){for(const E of r)if(y(v,Cl(h,l,{type:"SUMMARY",row:E})))break}if(a!=null){for(const E of a)if(y(v,Cl(h,l,{type:"SUMMARY",row:E})))break}}return g},[u,d,n,r,a,i,l,t]);return R.useMemo(()=>{const g=[];for(let y=0;y<=o;y++){const h=e[y];y{if(typeof t=="number")return{totalRowHeight:t*e.length,gridTemplateRows:` repeat(${e.length}, ${t}px)`,getRowTop:T=>T*t,getRowHeight:()=>t,findRowIdx:T=>AB(T/t)};let y=0,h=" ";const v=e.map(T=>{const C=t(T),k={top:y,height:C};return h+=`${C}px `,y+=C,k}),E=T=>ux(0,BS(e.length-1,T));return{totalRowHeight:y,gridTemplateRows:h,getRowTop:T=>v[E(T)].top,getRowHeight:T=>v[E(T)].height,findRowIdx(T){let C=0,k=v.length-1;for(;C<=k;){const _=C+AB((k-C)/2),A=v[_].top;if(A===T)return _;if(AT&&(k=_-1),C>k)return k}return 0}}},[t,e]);let f=0,g=e.length-1;if(a){const h=d(r),v=d(r+n);f=ux(0,h-4),g=BS(e.length-1,v+4)}return{rowOverscanStartIdx:f,rowOverscanEndIdx:g,totalRowHeight:i,gridTemplateRows:o,getRowTop:l,getRowHeight:u,findRowIdx:d}}const gye="c6ra8a37-0-0-beta-51",vye=`rdg-cell-copied ${gye}`,yye="cq910m07-0-0-beta-51",bye=`rdg-cell-dragged-over ${yye}`;function wye({column:e,colSpan:t,isCellSelected:n,isCopied:r,isDraggedOver:a,row:i,rowIdx:o,className:l,onClick:u,onDoubleClick:d,onContextMenu:f,onRowChange:g,selectCell:y,style:h,...v}){const{tabIndex:E,childTabIndex:T,onFocus:C}=OE(n),{cellClass:k}=e;l=_E(e,{[vye]:r,[bye]:a},typeof k=="function"?k(i):k,l);const _=xJ(e,i);function A(j){y({rowIdx:o,idx:e.idx},j)}function P(j){if(u){const z=gS(j);if(u({rowIdx:o,row:i,column:e,selectCell:A},z),z.isGridDefaultPrevented())return}A()}function N(j){if(f){const z=gS(j);if(f({rowIdx:o,row:i,column:e,selectCell:A},z),z.isGridDefaultPrevented())return}A()}function I(j){if(d){const z=gS(j);if(d({rowIdx:o,row:i,column:e,selectCell:A},z),z.isGridDefaultPrevented())return}A(!0)}function L(j){g(e,j)}return w.jsx("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":n,"aria-readonly":!_||void 0,tabIndex:E,className:l,style:{...m0(e,t),...h},onClick:P,onDoubleClick:I,onContextMenu:N,onFocus:C,...v,children:e.renderCell({column:e,row:i,rowIdx:o,isCellEditable:_,tabIndex:T,onRowChange:L})})}const Sye=R.memo(wye);function Eye(e,t){return w.jsx(Sye,{...t},e)}const Tye="c1w9bbhr7-0-0-beta-51",Cye="c1creorc7-0-0-beta-51",kye=`rdg-cell-drag-handle ${Tye}`;function xye({gridRowStart:e,rows:t,column:n,columnWidth:r,maxColIdx:a,isLastRow:i,selectedPosition:o,latestDraggedOverRowIdx:l,isCellEditable:u,onRowsChange:d,onFill:f,onClick:g,setDragging:y,setDraggedOverRowIdx:h}){const{idx:v,rowIdx:E}=o;function T(P){if(P.preventDefault(),P.buttons!==1)return;y(!0),window.addEventListener("mouseover",N),window.addEventListener("mouseup",I);function N(L){L.buttons!==1&&I()}function I(){window.removeEventListener("mouseover",N),window.removeEventListener("mouseup",I),y(!1),C()}}function C(){const P=l.current;if(P===void 0)return;const N=E0&&(d==null||d(L,{indexes:j,column:n}))}function A(){var z;const P=((z=n.colSpan)==null?void 0:z.call(n,{type:"ROW",row:t[E]}))??1,{insetInlineStart:N,...I}=m0(n,P),L="calc(var(--rdg-drag-handle-size) * -0.5 + 1px)",j=n.idx+P-1===a;return{...I,gridRowStart:e,marginInlineEnd:j?void 0:L,marginBlockEnd:i?void 0:L,insetInlineStart:N?`calc(${N} + ${r}px + var(--rdg-drag-handle-size) * -0.5 - 1px)`:void 0}}return w.jsx("div",{style:A(),className:Ld(kye,n.frozen&&Cye),onClick:g,onMouseDown:T,onDoubleClick:k})}const _ye="cis5rrm7-0-0-beta-51";function Oye({column:e,colSpan:t,row:n,rowIdx:r,onRowChange:a,closeEditor:i,onKeyDown:o,navigate:l}){var C,k,_;const u=R.useRef(void 0),d=((C=e.editorOptions)==null?void 0:C.commitOnOutsideClick)!==!1,f=As(()=>{h(!0,!1)});R.useEffect(()=>{if(!d)return;function A(){u.current=requestAnimationFrame(f)}return addEventListener("mousedown",A,{capture:!0}),()=>{removeEventListener("mousedown",A,{capture:!0}),g()}},[d,f]);function g(){cancelAnimationFrame(u.current)}function y(A){if(o){const P=gS(A);if(o({mode:"EDIT",row:n,column:e,rowIdx:r,navigate(){l(A)},onClose:h},P),P.isGridDefaultPrevented())return}A.key==="Escape"?h():A.key==="Enter"?h(!0):Lve(A)&&l(A)}function h(A=!1,P=!0){A?a(n,!0,P):i(P)}function v(A,P=!1){a(A,P,P)}const{cellClass:E}=e,T=_E(e,"rdg-editor-container",!((k=e.editorOptions)!=null&&k.displayCellContent)&&_ye,typeof E=="function"?E(n):E);return w.jsx("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":!0,className:T,style:m0(e,t),onKeyDown:y,onMouseDownCapture:g,children:e.renderEditCell!=null&&w.jsxs(w.Fragment,{children:[e.renderEditCell({column:e,row:n,rowIdx:r,onRowChange:v,onClose:h}),((_=e.editorOptions)==null?void 0:_.displayCellContent)&&e.renderCell({column:e,row:n,rowIdx:r,isCellEditable:!0,tabIndex:-1,onRowChange:v})]})})}function Rye({column:e,rowIdx:t,isCellSelected:n,selectCell:r}){const{tabIndex:a,onFocus:i}=OE(n),{colSpan:o}=e,l=PJ(e,t),u=e.idx+1;function d(){r({idx:e.idx,rowIdx:t})}return w.jsx("div",{role:"columnheader","aria-colindex":u,"aria-colspan":o,"aria-rowspan":l,"aria-selected":n,tabIndex:a,className:Ld(_J,e.headerCellClass),style:{...OJ(e,t,l),gridColumnStart:u,gridColumnEnd:u+o},onFocus:i,onClick:d,children:e.name})}const Pye="c6l2wv17-0-0-beta-51",Aye="c1kqdw7y7-0-0-beta-51",Nye=`rdg-cell-resizable ${Aye}`,Mye="r1y6ywlx7-0-0-beta-51",Iye="rdg-cell-draggable",Dye="c1bezg5o7-0-0-beta-51",$ye=`rdg-cell-dragging ${Dye}`,Lye="c1vc96037-0-0-beta-51",Fye=`rdg-cell-drag-over ${Lye}`;function jye({column:e,colSpan:t,rowIdx:n,isCellSelected:r,onColumnResize:a,onColumnsReorder:i,sortColumns:o,onSortColumnsChange:l,selectCell:u,shouldFocusGrid:d,direction:f,dragDropKey:g}){const y=R.useRef(!1),[h,v]=R.useState(!1),[E,T]=R.useState(!1),C=f==="rtl",k=PJ(e,n),{tabIndex:_,childTabIndex:A,onFocus:P}=OE(r),N=o==null?void 0:o.findIndex(fe=>fe.columnKey===e.key),I=N!==void 0&&N>-1?o[N]:void 0,L=I==null?void 0:I.direction,j=I!==void 0&&o.length>1?N+1:void 0,z=L&&!j?L==="ASC"?"ascending":"descending":void 0,{sortable:Q,resizable:le,draggable:re}=e,ge=_E(e,e.headerCellClass,{[Pye]:Q,[Nye]:le,[Iye]:re,[$ye]:h,[Fye]:E});function me(fe){if(fe.pointerType==="mouse"&&fe.buttons!==1)return;fe.preventDefault();const{currentTarget:xe,pointerId:Ie}=fe,qe=xe.parentElement,{right:tt,left:Ge}=qe.getBoundingClientRect(),at=C?fe.clientX-Ge:tt-fe.clientX;y.current=!1;function Et(xt){const{width:Rt,right:cn,left:qt}=qe.getBoundingClientRect();let Wt=C?cn+at-xt.clientX:xt.clientX+at-qt;Wt=RJ(Wt,e),Rt>0&&Wt!==Rt&&a(e,Wt)}function kt(xt){y.current||Et(xt),xe.removeEventListener("pointermove",Et),xe.removeEventListener("lostpointercapture",kt)}xe.setPointerCapture(Ie),xe.addEventListener("pointermove",Et),xe.addEventListener("lostpointercapture",kt)}function W(){y.current=!0,a(e,"max-content")}function G(fe){if(l==null)return;const{sortDescendingFirst:xe}=e;if(I===void 0){const Ie={columnKey:e.key,direction:xe?"DESC":"ASC"};l(o&&fe?[...o,Ie]:[Ie])}else{let Ie;if((xe===!0&&L==="DESC"||xe!==!0&&L==="ASC")&&(Ie={columnKey:e.key,direction:L==="ASC"?"DESC":"ASC"}),fe){const qe=[...o];Ie?qe[N]=Ie:qe.splice(N,1),l(qe)}else l(Ie?[Ie]:[])}}function q(fe){u({idx:e.idx,rowIdx:n}),Q&&G(fe.ctrlKey||fe.metaKey)}function ce(fe){P==null||P(fe),d&&u({idx:0,rowIdx:n})}function H(fe){(fe.key===" "||fe.key==="Enter")&&(fe.preventDefault(),G(fe.ctrlKey||fe.metaKey))}function Y(fe){fe.dataTransfer.setData(g,e.key),fe.dataTransfer.dropEffect="move",v(!0)}function ie(){v(!1)}function J(fe){fe.preventDefault(),fe.dataTransfer.dropEffect="move"}function ee(fe){if(T(!1),fe.dataTransfer.types.includes(g.toLowerCase())){const xe=fe.dataTransfer.getData(g.toLowerCase());xe!==e.key&&(fe.preventDefault(),i==null||i(xe,e.key))}}function Z(fe){MB(fe)&&T(!0)}function ue(fe){MB(fe)&&T(!1)}let ke;return re&&(ke={draggable:!0,onDragStart:Y,onDragEnd:ie,onDragOver:J,onDragEnter:Z,onDragLeave:ue,onDrop:ee}),w.jsxs("div",{role:"columnheader","aria-colindex":e.idx+1,"aria-colspan":t,"aria-rowspan":k,"aria-selected":r,"aria-sort":z,tabIndex:d?0:_,className:ge,style:{...OJ(e,n,k),...m0(e,t)},onFocus:ce,onClick:q,onKeyDown:Q?H:void 0,...ke,children:[e.renderHeaderCell({column:e,sortDirection:L,priority:j,tabIndex:A}),le&&w.jsx("div",{className:Mye,onClick:Ive,onPointerDown:me,onDoubleClick:W})]})}function MB(e){const t=e.relatedTarget;return!e.currentTarget.contains(t)}const Uye="r1upfr807-0-0-beta-51",EF=`rdg-row ${Uye}`,Bye="r190mhd37-0-0-beta-51",c_="rdg-row-selected",Wye="r139qu9m7-0-0-beta-51",zye="rdg-top-summary-row",qye="rdg-bottom-summary-row",Hye="h10tskcx7-0-0-beta-51",LJ=`rdg-header-row ${Hye}`;function Vye({rowIdx:e,columns:t,onColumnResize:n,onColumnsReorder:r,sortColumns:a,onSortColumnsChange:i,lastFrozenColumnIndex:o,selectedCellIdx:l,selectCell:u,shouldFocusGrid:d,direction:f}){const g=R.useId(),y=[];for(let h=0;ht&&u.parent!==void 0;)u=u.parent;if(u.level===t&&!o.has(u)){o.add(u);const{idx:d}=u;i.push(w.jsx(Rye,{column:u,rowIdx:e,isCellSelected:r===d,selectCell:a},d))}}}return w.jsx("div",{role:"row","aria-rowindex":e,className:LJ,children:i})}var Kye=R.memo(Yye);function Xye({className:e,rowIdx:t,gridRowStart:n,selectedCellIdx:r,isRowSelectionDisabled:a,isRowSelected:i,copiedCellIdx:o,draggedOverCellIdx:l,lastFrozenColumnIndex:u,row:d,viewportColumns:f,selectedCellEditor:g,onCellClick:y,onCellDoubleClick:h,onCellContextMenu:v,rowClass:E,setDraggedOverRowIdx:T,onMouseEnter:C,onRowChange:k,selectCell:_,...A}){const P=u_().renderCell,N=As((z,Q)=>{k(z,t,Q)});function I(z){T==null||T(t),C==null||C(z)}e=Ld(EF,`rdg-row-${t%2===0?"even":"odd"}`,{[c_]:r===-1},E==null?void 0:E(d,t),e);const L=[];for(let z=0;z({isRowSelected:i,isRowSelectionDisabled:a}),[a,i]);return w.jsx(SF,{value:j,children:w.jsx("div",{role:"row",className:e,onMouseEnter:I,style:bF(n),...A,children:L})})}const Qye=R.memo(Xye);function Jye(e,t){return w.jsx(Qye,{...t},e)}function Zye({scrollToPosition:{idx:e,rowIdx:t},gridRef:n,setScrollToCellPosition:r}){const a=R.useRef(null);return R.useLayoutEffect(()=>{Ok(a.current)}),R.useLayoutEffect(()=>{function i(){r(null)}const o=new IntersectionObserver(i,{root:n.current,threshold:1});return o.observe(a.current),()=>{o.disconnect()}},[n,r]),w.jsx("div",{ref:a,style:{gridColumn:e===void 0?"1/-1":e+1,gridRow:t===void 0?"1/-1":t+2}})}const ebe="a3ejtar7-0-0-beta-51",tbe=`rdg-sort-arrow ${ebe}`;function nbe({sortDirection:e,priority:t}){return w.jsxs(w.Fragment,{children:[rbe({sortDirection:e}),abe({priority:t})]})}function rbe({sortDirection:e}){return e===void 0?null:w.jsx("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:tbe,"aria-hidden":!0,children:w.jsx("path",{d:e==="ASC"?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}function abe({priority:e}){return e}const ibe="rnvodz57-0-0-beta-51",obe=`rdg ${ibe}`,sbe="vlqv91k7-0-0-beta-51",lbe=`rdg-viewport-dragging ${sbe}`,ube="f1lsfrzw7-0-0-beta-51",cbe="f1cte0lg7-0-0-beta-51",dbe="s8wc6fl7-0-0-beta-51";function fbe({column:e,colSpan:t,row:n,rowIdx:r,isCellSelected:a,selectCell:i}){var y;const{tabIndex:o,childTabIndex:l,onFocus:u}=OE(a),{summaryCellClass:d}=e,f=_E(e,dbe,typeof d=="function"?d(n):d);function g(){i({rowIdx:r,idx:e.idx})}return w.jsx("div",{role:"gridcell","aria-colindex":e.idx+1,"aria-colspan":t,"aria-selected":a,tabIndex:o,className:f,style:m0(e,t),onClick:g,onFocus:u,children:(y=e.renderSummaryCell)==null?void 0:y.call(e,{column:e,row:n,tabIndex:l})})}var pbe=R.memo(fbe);const hbe="skuhp557-0-0-beta-51",mbe="tf8l5ub7-0-0-beta-51",gbe=`rdg-summary-row ${hbe}`;function vbe({rowIdx:e,gridRowStart:t,row:n,viewportColumns:r,top:a,bottom:i,lastFrozenColumnIndex:o,selectedCellIdx:l,isTop:u,selectCell:d,"aria-rowindex":f}){const g=[];for(let y=0;ynew Map),[ft,ut]=R.useState(()=>new Map),[Nt,U]=R.useState(null),[D,F]=R.useState(!1),[ae,Te]=R.useState(void 0),[Fe,We]=R.useState(null),[Tt,Mt]=R.useState(!1),[be,Ee]=R.useState(-1),gt=R.useCallback(rt=>Oe.get(rt.key)??ft.get(rt.key)??rt.width,[ft,Oe]),[Lt,_t,Ut,On]=pye(),{columns:gn,colSpanColumns:ln,lastFrozenColumnIndex:Bn,headerRowsCount:oa,colOverscanStartIdx:Qa,colOverscanEndIdx:ha,templateColumns:vn,layoutCssVars:_a,totalFrozenColumnWidth:Bo}=dye({rawColumns:n,defaultColumnOptions:T,getColumnWidth:gt,scrollLeft:qt,viewportWidth:_t,enableVirtualization:kt}),Oa=(a==null?void 0:a.length)??0,Ra=(i==null?void 0:i.length)??0,Wo=Oa+Ra,we=oa+Oa,ve=oa-1,$e=-we,ye=$e+ve,Se=r.length+Ra-1,[ne,Me]=R.useState(()=>({idx:-1,rowIdx:$e-1,mode:"SELECT"})),Qe=R.useRef(ae),ot=R.useRef(null),Bt=ke==="treegrid",yn=oa*xe,an=Wo*Ie,Dn=Ut-yn-an,En=g!=null&&h!=null,Rr=xt==="rtl",Pr=Rr?"ArrowRight":"ArrowLeft",lr=Rr?"ArrowLeft":"ArrowRight",qs=J??oa+r.length+Wo,Gv=R.useMemo(()=>({renderCheckbox:at,renderSortStatus:Ge,renderCell:tt}),[at,Ge,tt]),$l=R.useMemo(()=>{let rt=!1,pt=!1;if(o!=null&&g!=null&&g.size>0){for(const bt of r)if(g.has(o(bt))?rt=!0:pt=!0,rt&&pt)break}return{isRowSelected:rt&&!pt,isIndeterminate:rt&&pt}},[r,g,o]),{rowOverscanStartIdx:so,rowOverscanEndIdx:oi,totalRowHeight:of,gridTemplateRows:Yv,getRowTop:Ph,getRowHeight:x0,findRowIdx:Dc}=mye({rows:r,rowHeight:fe,clientHeight:Dn,scrollTop:Rt,enableVirtualization:kt}),qi=hye({columns:gn,colSpanColumns:ln,colOverscanStartIdx:Qa,colOverscanEndIdx:ha,lastFrozenColumnIndex:Bn,rowOverscanStartIdx:so,rowOverscanEndIdx:oi,rows:r,topSummaryRows:a,bottomSummaryRows:i}),{gridTemplateColumns:zo,handleColumnResize:Si}=fye(gn,qi,vn,Lt,_t,Oe,ft,dt,ut,I),sf=Bt?-1:0,Au=gn.length-1,Hs=Ul(ne),Vs=us(ne),$c=xe+of+an+On,_0=As(Si),Ei=As(L),lf=As(E),uf=As(C),Ah=As(k),Ll=As(_),cf=As(Kv),df=As(Nh),lo=As(Mu),ff=As(Gs),pf=As(({idx:rt,rowIdx:pt})=>{Gs({rowIdx:$e+pt-1,idx:rt})}),hf=R.useCallback(rt=>{Te(rt),Qe.current=rt},[]),Nu=R.useCallback(()=>{const rt=DB(Lt.current);if(rt===null)return;Ok(rt),(rt.querySelector('[tabindex="0"]')??rt).focus({preventScroll:!0})},[Lt]);R.useLayoutEffect(()=>{ot.current!==null&&Hs&&ne.idx===-1&&(ot.current.focus({preventScroll:!0}),Ok(ot.current))},[Hs,ne]),R.useLayoutEffect(()=>{Tt&&(Mt(!1),Nu())},[Tt,Nu]),R.useImperativeHandle(t,()=>({element:Lt.current,scrollToCell({idx:rt,rowIdx:pt}){const bt=rt!==void 0&&rt>Bn&&rt{cn(pt),Wt(Yve(bt))}),N==null||N(rt)}function Mu(rt,pt,bt){if(typeof l!="function"||bt===r[pt])return;const zt=[...r];zt[pt]=bt,l(zt,{indexes:[pt],column:rt})}function Fl(){ne.mode==="EDIT"&&Mu(gn[ne.idx],ne.rowIdx,ne.row)}function jl(){const{idx:rt,rowIdx:pt}=ne,bt=r[pt],zt=gn[rt].key;U({row:bt,columnKey:zt}),z==null||z({sourceRow:bt,sourceColumnKey:zt})}function Xv(){if(!Q||!l||Nt===null||!Iu(ne))return;const{idx:rt,rowIdx:pt}=ne,bt=gn[rt],zt=r[pt],Sn=Q({sourceRow:Nt.row,sourceColumnKey:Nt.columnKey,targetRow:zt,targetColumnKey:bt.key});Mu(bt,pt,Sn)}function Ih(rt){if(!Vs)return;const pt=r[ne.rowIdx],{key:bt,shiftKey:zt}=rt;if(En&&zt&&bt===" "){NP(o);const Sn=o(pt);Nh({row:pt,checked:!g.has(Sn),isShiftClick:!1}),rt.preventDefault();return}Iu(ne)&&$ve(rt)&&Me(({idx:Sn,rowIdx:ur})=>({idx:Sn,rowIdx:ur,mode:"EDIT",row:pt,originalRow:pt}))}function Dh(rt){return rt>=sf&&rt<=Au}function uo(rt){return rt>=0&&rt=$e&&pt<=Se&&Dh(rt)}function Fc({idx:rt,rowIdx:pt}){return uo(pt)&&rt>=0&&rt<=Au}function us({idx:rt,rowIdx:pt}){return uo(pt)&&Dh(rt)}function Iu(rt){return Fc(rt)&&Uve({columns:gn,rows:r,selectedPosition:rt})}function Gs(rt,pt){if(!Ul(rt))return;Fl();const bt=$B(ne,rt);if(pt&&Iu(rt)){const zt=r[rt.rowIdx];Me({...rt,mode:"EDIT",row:zt,originalRow:zt})}else bt?Ok(DB(Lt.current)):(Mt(!0),Me({...rt,mode:"SELECT"}));P&&!bt&&P({rowIdx:rt.rowIdx,row:uo(rt.rowIdx)?r[rt.rowIdx]:void 0,column:gn[rt.idx]})}function Qv(rt,pt,bt){const{idx:zt,rowIdx:Sn}=ne,ur=Hs&&zt===-1;switch(rt){case"ArrowUp":return{idx:zt,rowIdx:Sn-1};case"ArrowDown":return{idx:zt,rowIdx:Sn+1};case Pr:return{idx:zt-1,rowIdx:Sn};case lr:return{idx:zt+1,rowIdx:Sn};case"Tab":return{idx:zt+(bt?-1:1),rowIdx:Sn};case"Home":return ur?{idx:zt,rowIdx:$e}:{idx:0,rowIdx:pt?$e:Sn};case"End":return ur?{idx:zt,rowIdx:Se}:{idx:Au,rowIdx:pt?Se:Sn};case"PageUp":{if(ne.rowIdx===$e)return ne;const Ar=Ph(Sn)+x0(Sn)-Dn;return{idx:zt,rowIdx:Ar>0?Dc(Ar):0}}case"PageDown":{if(ne.rowIdx>=r.length)return ne;const Ar=Ph(Sn)+Dn;return{idx:zt,rowIdx:Arrt&&rt>=ae)?ne.idx:void 0}function Jv(){if(j==null||ne.mode==="EDIT"||!us(ne))return;const{idx:rt,rowIdx:pt}=ne,bt=gn[rt];if(bt.renderEditCell==null||bt.editable===!1)return;const zt=gt(bt);return w.jsx(xye,{gridRowStart:we+pt+1,rows:r,column:bt,columnWidth:zt,maxColIdx:Au,isLastRow:pt===Se,selectedPosition:ne,isCellEditable:Iu,latestDraggedOverRowIdx:Qe,onRowsChange:l,onClick:Nu,onFill:j,setDragging:F,setDraggedOverRowIdx:hf})}function si(rt){if(ne.rowIdx!==rt||ne.mode==="SELECT")return;const{idx:pt,row:bt}=ne,zt=gn[pt],Sn=Cl(zt,Bn,{type:"ROW",row:bt}),ur=Jn=>{Mt(Jn),Me(({idx:Pa,rowIdx:Ja})=>({idx:Pa,rowIdx:Ja,mode:"SELECT"}))},Ar=(Jn,Pa,Ja)=>{Pa?wc.flushSync(()=>{Mu(zt,ne.rowIdx,Jn),ur(Ja)}):Me(Bl=>({...Bl,row:Jn}))};return r[ne.rowIdx]!==ne.originalRow&&ur(!1),w.jsx(Oye,{column:zt,colSpan:Sn,row:bt,rowIdx:rt,onRowChange:Ar,closeEditor:ur,onKeyDown:A,navigate:ar},zt.key)}function co(rt){const pt=ne.idx===-1?void 0:gn[ne.idx];return pt!==void 0&&ne.rowIdx===rt&&!qi.includes(pt)?ne.idx>ha?[...qi,pt]:[...qi.slice(0,Bn+1),pt,...qi.slice(Bn+1)]:qi}function mf(){const rt=[],{idx:pt,rowIdx:bt}=ne,zt=Vs&&btoi?oi+1:oi;for(let ur=zt;ur<=Sn;ur++){const Ar=ur===so-1||ur===oi+1,Jn=Ar?bt:ur;let Pa=qi;const Ja=pt===-1?void 0:gn[pt];Ja!==void 0&&(Ar?Pa=[Ja]:Pa=co(Jn));const Bl=r[Jn],Zv=we+Jn+1;let gf=Jn,vf=!1;typeof o=="function"&&(gf=o(Bl),vf=(g==null?void 0:g.has(gf))??!1),rt.push(qe(gf,{"aria-rowindex":we+Jn+1,"aria-selected":En?vf:void 0,rowIdx:Jn,row:Bl,viewportColumns:Pa,isRowSelectionDisabled:(y==null?void 0:y(Bl))??!1,isRowSelected:vf,onCellClick:uf,onCellDoubleClick:Ah,onCellContextMenu:Ll,rowClass:W,gridRowStart:Zv,copiedCellIdx:Nt!==null&&Nt.row===Bl?gn.findIndex(li=>li.key===Nt.columnKey):void 0,selectedCellIdx:bt===Jn?pt:void 0,draggedOverCellIdx:ir(Jn),setDraggedOverRowIdx:D?hf:void 0,lastFrozenColumnIndex:Bn,onRowChange:lo,selectCell:ff,selectedCellEditor:si(Jn)}))}return rt}(ne.idx>Au||ne.rowIdx>Se)&&(Me({idx:-1,rowIdx:$e-1,mode:"SELECT"}),hf(void 0));let Ys=`repeat(${oa}, ${xe}px)`;Oa>0&&(Ys+=` repeat(${Oa}, ${Ie}px)`),r.length>0&&(Ys+=Yv),Ra>0&&(Ys+=` repeat(${Ra}, ${Ie}px)`);const $h=ne.idx===-1&&ne.rowIdx!==$e-1;return w.jsxs("div",{role:ke,"aria-label":ce,"aria-labelledby":H,"aria-description":Y,"aria-describedby":ie,"aria-multiselectable":En?!0:void 0,"aria-colcount":gn.length,"aria-rowcount":qs,className:Ld(obe,{[lbe]:D},ge),style:{...me,scrollPaddingInlineStart:ne.idx>Bn||(Fe==null?void 0:Fe.idx)!==void 0?`${Bo}px`:void 0,scrollPaddingBlock:uo(ne.rowIdx)||(Fe==null?void 0:Fe.rowIdx)!==void 0?`${yn+Oa*Ie}px ${Ra*Ie}px`:void 0,gridTemplateColumns:zo,gridTemplateRows:Ys,"--rdg-header-row-height":`${xe}px`,"--rdg-scroll-height":`${$c}px`,..._a},dir:xt,ref:Lt,onScroll:Mh,onKeyDown:Lc,"data-testid":ee,"data-cy":Z,children:[w.jsxs(AJ,{value:Gv,children:[w.jsx(DJ,{value:cf,children:w.jsxs(IJ,{value:$l,children:[Array.from({length:ve},(rt,pt)=>w.jsx(Kye,{rowIdx:pt+1,level:-ve+pt,columns:co($e+pt),selectedCellIdx:ne.rowIdx===$e+pt?ne.idx:void 0,selectCell:pf},pt)),w.jsx(Gye,{rowIdx:oa,columns:co(ye),onColumnResize:_0,onColumnsReorder:Ei,sortColumns:v,onSortColumnsChange:lf,lastFrozenColumnIndex:Bn,selectedCellIdx:ne.rowIdx===ye?ne.idx:void 0,selectCell:pf,shouldFocusGrid:!Hs,direction:xt})]})}),r.length===0&&Et?Et:w.jsxs(w.Fragment,{children:[a==null?void 0:a.map((rt,pt)=>{const bt=oa+1+pt,zt=ye+1+pt,Sn=ne.rowIdx===zt,ur=yn+Ie*pt;return w.jsx(IB,{"aria-rowindex":bt,rowIdx:zt,gridRowStart:bt,row:rt,top:ur,bottom:void 0,viewportColumns:co(zt),lastFrozenColumnIndex:Bn,selectedCellIdx:Sn?ne.idx:void 0,isTop:!0,selectCell:ff},pt)}),w.jsx(NJ,{value:df,children:mf()}),i==null?void 0:i.map((rt,pt)=>{const bt=we+r.length+pt+1,zt=r.length+pt,Sn=ne.rowIdx===zt,ur=Dn>of?Ut-Ie*(i.length-pt):void 0,Ar=ur===void 0?Ie*(i.length-1-pt):void 0;return w.jsx(IB,{"aria-rowindex":qs-Ra+pt+1,rowIdx:zt,gridRowStart:bt,row:rt,top:ur,bottom:Ar,viewportColumns:co(zt),lastFrozenColumnIndex:Bn,selectedCellIdx:Sn?ne.idx:void 0,isTop:!1,selectCell:ff},pt)})]})]}),Jv(),jve(qi),Bt&&w.jsx("div",{ref:ot,tabIndex:$h?0:-1,className:Ld(ube,{[cbe]:!uo(ne.rowIdx),[Bye]:$h,[Wye]:$h&&Bn!==-1}),style:{gridRowStart:ne.rowIdx+we+1}}),Fe!==null&&w.jsx(Zye,{scrollToPosition:Fe,setScrollToCellPosition:We,gridRef:Lt})]})}function DB(e){return e.querySelector(':scope > [role="row"] > [tabindex="0"]')}function $B(e,t){return e.idx===t.idx&&e.rowIdx===t.rowIdx}function bbe({id:e,groupKey:t,childRows:n,isExpanded:r,isCellSelected:a,column:i,row:o,groupColumnIndex:l,isGroupByColumn:u,toggleGroup:d}){var E;const{tabIndex:f,childTabIndex:g,onFocus:y}=OE(a);function h(){d(e)}const v=u&&l===i.idx;return w.jsx("div",{role:"gridcell","aria-colindex":i.idx+1,"aria-selected":a,tabIndex:f,className:_E(i),style:{...m0(i),cursor:v?"pointer":"default"},onClick:v?h:void 0,onFocus:y,children:(!u||v)&&((E=i.renderGroupCell)==null?void 0:E.call(i,{groupKey:t,childRows:n,column:i,row:o,isExpanded:r,tabIndex:g,toggleGroup:h}))},i.key)}var wbe=R.memo(bbe);const Sbe="g1yxluv37-0-0-beta-51",Ebe=`rdg-group-row ${Sbe}`;function Tbe({className:e,row:t,rowIdx:n,viewportColumns:r,selectedCellIdx:a,isRowSelected:i,selectCell:o,gridRowStart:l,groupBy:u,toggleGroup:d,isRowSelectionDisabled:f,...g}){const y=r[0].key===cx?t.level+1:t.level;function h(){o({rowIdx:n,idx:-1})}const v=R.useMemo(()=>({isRowSelectionDisabled:!1,isRowSelected:i}),[i]);return w.jsx(SF,{value:v,children:w.jsx("div",{role:"row","aria-level":t.level+1,"aria-setsize":t.setSize,"aria-posinset":t.posInSet+1,"aria-expanded":t.isExpanded,className:Ld(EF,Ebe,`rdg-row-${n%2===0?"even":"odd"}`,a===-1&&c_,e),onClick:h,style:bF(l),...g,children:r.map(E=>w.jsx(wbe,{id:t.id,groupKey:t.groupKey,childRows:t.childRows,isExpanded:t.isExpanded,isCellSelected:a===E.idx,column:E,row:t,groupColumnIndex:y,toggleGroup:d,isGroupByColumn:u.includes(E.key)},E.key))})})}R.memo(Tbe);const FJ=({value:e})=>{const t=n=>{n.stopPropagation(),navigator.clipboard.writeText(e).then(()=>{})};return w.jsx("div",{className:"table-btn table-copy-btn",onClick:t,children:w.jsx(Cbe,{})})},Cbe=({size:e=16,color:t="silver",style:n={}})=>w.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n,children:w.jsx("path",{d:"M16 1H6C4.9 1 4 1.9 4 3V17H6V3H16V1ZM18 5H10C8.9 5 8 5.9 8 7V21C8 22.1 8.9 23 10 23H18C19.1 23 20 22.1 20 21V7C20 5.9 19.1 5 18 5ZM18 21H10V7H18V21Z",fill:t})}),kbe=({value:e})=>{const{addRouter:t}=Lv(),n=r=>{r.stopPropagation(),t(e)};return w.jsx("div",{className:"table-btn table-open-in-new-router",onClick:n,children:w.jsx(xbe,{})})},xbe=({size:e=16,color:t="silver",style:n={}})=>w.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{cursor:"pointer",...n},children:w.jsx("path",{d:"M9 3H5C3.895 3 3 3.895 3 5v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2v-4h-2v4H5V5h4V3ZM21 3h-6v2h3.586l-9.293 9.293 1.414 1.414L20 6.414V10h2V3Z",fill:t})});/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Wye=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zye=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),X6=e=>{const t=zye(e);return t.charAt(0).toUpperCase()+t.slice(1)},ZQ=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** + */const _be=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Obe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),LB=e=>{const t=Obe(e);return t.charAt(0).toUpperCase()+t.slice(1)},jJ=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */var qye={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + */var Rbe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Hye=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...l},u)=>R.createElement("svg",{ref:u,...qye,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ZQ("lucide",a),...l},[...o.map(([d,f])=>R.createElement(d,f)),...Array.isArray(i)?i:[i]]));/** + */const Pbe=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...l},u)=>R.createElement("svg",{ref:u,...Rbe,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:jJ("lucide",a),...l},[...o.map(([d,f])=>R.createElement(d,f)),...Array.isArray(i)?i:[i]]));/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $3=(e,t)=>{const n=R.forwardRef(({className:r,...a},i)=>R.createElement(Hye,{ref:i,iconNode:t,className:ZQ(`lucide-${Wye(X6(e))}`,`lucide-${e}`,r),...a}));return n.displayName=X6(e),n};/** + */const TF=(e,t)=>{const n=R.forwardRef(({className:r,...a},i)=>R.createElement(Pbe,{ref:i,iconNode:t,className:jJ(`lucide-${_be(LB(e))}`,`lucide-${e}`,r),...a}));return n.displayName=LB(e),n};/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vye=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],Gye=$3("arrow-down-a-z",Vye);/** + */const Abe=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],Nbe=TF("arrow-down-a-z",Abe);/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Yye=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],Kye=$3("arrow-down-wide-narrow",Yye);/** + */const Mbe=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],Ibe=TF("arrow-down-wide-narrow",Mbe);/** * @license lucide-react v0.484.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Xye=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],Qye=$3("arrow-down-z-a",Xye);function Zye({tabIndex:e,column:t,filterType:n,sortable:r,filterable:a,selectable:i,udf:o}){var y;const l=(y=o.filters.sorting)==null?void 0:y.find(p=>p.columnName===t.key),[u,d]=R.useState("");R.useEffect(()=>{u!==Ea.get(o.filters,t.key)&&d(Ea.get(o.filters,t.key))},[o.filters]);let f;(l==null?void 0:l.columnName)===t.key&&(l==null?void 0:l.direction)=="asc"&&(f="asc"),(l==null?void 0:l.columnName)===t.key&&(l==null?void 0:l.direction)=="desc"&&(f="desc");const g=()=>{l?((l==null?void 0:l.direction)==="desc"&&o.setSorting(o.filters.sorting.filter(p=>p.columnName!==t.key)),(l==null?void 0:l.direction)==="asc"&&o.setSorting(o.filters.sorting.map(p=>p.columnName===t.key?{...p,direction:"desc"}:p))):o.setSorting([...o.filters.sorting,{columnName:t.key.toString(),direction:"asc"}])};return w.jsxs(w.Fragment,{children:[r?w.jsx("span",{className:"data-table-sort-actions",children:w.jsxs("button",{className:`active-sort-col ${t.key==(l==null?void 0:l.columnName)?"active":""}`,onClick:g,children:[f=="asc"?w.jsx(Gye,{className:"sort-icon"}):null,f=="desc"?w.jsx(Qye,{className:"sort-icon"}):null,f===void 0?w.jsx(Kye,{className:"sort-icon"}):null]})}):null,a?w.jsx(w.Fragment,{children:n==="date"?w.jsx("input",{className:"data-table-filter-input",tabIndex:e,value:u,onChange:p=>{d(p.target.value),o.setFilter({[t.key]:p.target.value})},placeholder:t.name||"",type:"date"}):w.jsx("input",{className:"data-table-filter-input",tabIndex:e,value:u,onChange:p=>{d(p.target.value),o.setFilter({[t.key]:p.target.value})},placeholder:t.name||""})}):w.jsx("span",{children:t.name})]})}function Jye(e,t){const n=e.split("/").filter(Boolean);return t.split("/").forEach(a=>{a===".."?n.pop():a!=="."&&a!==""&&n.push(a)}),"/"+n.join("/")}const ebe=(e,t,n,r=[],a,i)=>e.map(o=>{const l=r.find(u=>u.columnName===o.name);return{...o,key:o.name,renderCell:({column:u,row:d})=>{if(u.key==="uniqueId"){let f=a?a(d.uniqueId):"";return f.startsWith(".")&&(f=Jye(i,f)),w.jsxs("div",{style:{position:"relative"},children:[w.jsx(El,{href:a&&a(d.uniqueId),children:d.uniqueId}),w.jsxs("div",{className:"cell-actions",children:[w.jsx(QQ,{value:d.uniqueId}),w.jsx(Uye,{value:f})]})]})}return u.getCellValue?w.jsx(w.Fragment,{children:u.getCellValue(d)}):w.jsx("span",{children:Ea.get(d,u.key)})},width:l?l.width:o.width,name:o.title,resizable:!0,sortable:o.sortable,renderHeaderCell:u=>w.jsx(Zye,{...u,selectable:!0,sortable:o.sortable,filterable:o.filterable,filterType:o.filterType,udf:n})}});function tbe(e){const t=R.useRef();let[n,r]=R.useState([]);const a=R.useRef({});return{reindex:(o,l,u)=>{if(l===t.current){const d=o.filter(f=>a.current[f.uniqueId]?!1:(a.current[f.uniqueId]=!0,!0));r([...n,...d].filter(Boolean))}else r([...o].filter(Boolean)),u==null||u();t.current=l},indexedData:n}}function nbe({columns:e,query:t,columnSizes:n,onColumnWidthsChange:r,udf:a,tableClass:i,uniqueIdHrefHandler:o}){var P,N;At();const{pathname:l}=Bd(),{filters:u,setSorting:d,setStartIndex:f,selection:g,setSelection:y,setPageSize:p,onFiltersChange:v}=a,E=R.useMemo(()=>[yve,...ebe(e,(I,L)=>{a.setFilter({[I]:L})},a,n,o,l)],[e,n]),{indexedData:T,reindex:C}=tbe(),k=R.useRef();R.useEffect(()=>{var L,j;const I=((j=(L=t.data)==null?void 0:L.data)==null?void 0:j.items)||[];C(I,a.queryHash,()=>{k.current.element.scrollTo({top:0,left:0})})},[(N=(P=t.data)==null?void 0:P.data)==null?void 0:N.items]);async function _(I){t.isLoading||!rbe(I)||f(T.length)}const A=Ea.debounce((I,L)=>{const j=E.map(z=>({columnName:z.key,width:z.name===I.name?L:z.width}));r(j)},300);return w.jsx(w.Fragment,{children:w.jsx(Mye,{className:i,columns:E,onScroll:_,onColumnResize:A,onSelectedRowsChange:I=>{y(Array.from(I))},selectedRows:new Set(g),ref:k,rows:T,rowKeyGetter:I=>I.uniqueId,style:{height:"calc(100% - 2px)",margin:"1px -14px"}})})}function rbe({currentTarget:e}){return e.scrollTop+300>=e.scrollHeight-e.clientHeight}function abe(e){const t={};for(let n of e||[])n&&n.columnName&&Ea.set(t,n.columnName,{operation:n.operation,value:n.value});return t}let Tl;typeof window<"u"?Tl=window:typeof self<"u"?Tl=self:Tl=global;let _$=null,O$=null;const Q6=20,QR=Tl.clearTimeout,Z6=Tl.setTimeout,ZR=Tl.cancelAnimationFrame||Tl.mozCancelAnimationFrame||Tl.webkitCancelAnimationFrame,J6=Tl.requestAnimationFrame||Tl.mozRequestAnimationFrame||Tl.webkitRequestAnimationFrame;ZR==null||J6==null?(_$=QR,O$=function(t){return Z6(t,Q6)}):(_$=function([t,n]){ZR(t),QR(n)},O$=function(t){const n=J6(function(){QR(r),t()}),r=Z6(function(){ZR(n),t()},Q6);return[n,r]});function ibe(e){let t,n,r,a,i,o,l;const u=typeof document<"u"&&document.attachEvent;if(!u){o=function(C){const k=C.__resizeTriggers__,_=k.firstElementChild,A=k.lastElementChild,P=_.firstElementChild;A.scrollLeft=A.scrollWidth,A.scrollTop=A.scrollHeight,P.style.width=_.offsetWidth+1+"px",P.style.height=_.offsetHeight+1+"px",_.scrollLeft=_.scrollWidth,_.scrollTop=_.scrollHeight},i=function(C){return C.offsetWidth!==C.__resizeLast__.width||C.offsetHeight!==C.__resizeLast__.height},l=function(C){if(C.target.className&&typeof C.target.className.indexOf=="function"&&C.target.className.indexOf("contract-trigger")<0&&C.target.className.indexOf("expand-trigger")<0)return;const k=this;o(this),this.__resizeRAF__&&_$(this.__resizeRAF__),this.__resizeRAF__=O$(function(){i(k)&&(k.__resizeLast__.width=k.offsetWidth,k.__resizeLast__.height=k.offsetHeight,k.__resizeListeners__.forEach(function(P){P.call(k,C)}))})};let y=!1,p="";r="animationstart";const v="Webkit Moz O ms".split(" ");let E="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),T="";{const C=document.createElement("fakeelement");if(C.style.animationName!==void 0&&(y=!0),y===!1){for(let k=0;k div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',v=y.head||y.getElementsByTagName("head")[0],E=y.createElement("style");E.id="detectElementResize",E.type="text/css",e!=null&&E.setAttribute("nonce",e),E.styleSheet?E.styleSheet.cssText=p:E.appendChild(y.createTextNode(p)),v.appendChild(E)}};return{addResizeListener:function(y,p){if(u)y.attachEvent("onresize",p);else{if(!y.__resizeTriggers__){const v=y.ownerDocument,E=Tl.getComputedStyle(y);E&&E.position==="static"&&(y.style.position="relative"),d(v),y.__resizeLast__={},y.__resizeListeners__=[],(y.__resizeTriggers__=v.createElement("div")).className="resize-triggers";const T=v.createElement("div");T.className="expand-trigger",T.appendChild(v.createElement("div"));const C=v.createElement("div");C.className="contract-trigger",y.__resizeTriggers__.appendChild(T),y.__resizeTriggers__.appendChild(C),y.appendChild(y.__resizeTriggers__),o(y),y.addEventListener("scroll",l,!0),r&&(y.__resizeTriggers__.__animationListener__=function(_){_.animationName===n&&o(y)},y.__resizeTriggers__.addEventListener(r,y.__resizeTriggers__.__animationListener__))}y.__resizeListeners__.push(p)}},removeResizeListener:function(y,p){if(u)y.detachEvent("onresize",p);else if(y.__resizeListeners__.splice(y.__resizeListeners__.indexOf(p),1),!y.__resizeListeners__.length){y.removeEventListener("scroll",l,!0),y.__resizeTriggers__.__animationListener__&&(y.__resizeTriggers__.removeEventListener(r,y.__resizeTriggers__.__animationListener__),y.__resizeTriggers__.__animationListener__=null);try{y.__resizeTriggers__=!y.removeChild(y.__resizeTriggers__)}catch{}}}}}class obe extends R.Component{constructor(...t){super(...t),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:r,onResize:a}=this.props;if(this._parentNode){const i=window.getComputedStyle(this._parentNode)||{},o=parseFloat(i.paddingLeft||"0"),l=parseFloat(i.paddingRight||"0"),u=parseFloat(i.paddingTop||"0"),d=parseFloat(i.paddingBottom||"0"),f=this._parentNode.getBoundingClientRect(),g=f.height-u-d,y=f.width-o-l,p=this._parentNode.offsetHeight-u-d,v=this._parentNode.offsetWidth-o-l;(!n&&(this.state.height!==p||this.state.scaledHeight!==g)||!r&&(this.state.width!==v||this.state.scaledWidth!==y))&&(this.setState({height:p,width:v,scaledHeight:g,scaledWidth:y}),typeof a=="function"&&a({height:p,scaledHeight:g,scaledWidth:y,width:v}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:t}=this.props,n=this._autoSizer?this._autoSizer.parentNode:null;if(n!=null&&n.ownerDocument&&n.ownerDocument.defaultView&&n instanceof n.ownerDocument.defaultView.HTMLElement){this._parentNode=n;const r=n.ownerDocument.defaultView.ResizeObserver;r!=null?(this._resizeObserver=new r(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(n)):(this._detectElementResize=ibe(t),this._detectElementResize.addResizeListener(n,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:t,defaultHeight:n,defaultWidth:r,disableHeight:a=!1,disableWidth:i=!1,doNotBailOutOnEmptyChildren:o=!1,nonce:l,onResize:u,style:d={},tagName:f="div",...g}=this.props,{height:y,scaledHeight:p,scaledWidth:v,width:E}=this.state,T={overflow:"visible"},C={};let k=!1;return a||(y===0&&(k=!0),T.height=0,C.height=y,C.scaledHeight=p),i||(E===0&&(k=!0),T.width=0,C.width=E,C.scaledWidth=v),o&&(k=!1),R.createElement(f,{ref:this._setRef,style:{...T,...d},...g},!k&&t(C))}}function sbe(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,a=e.stopIndex;return!(r>n||a0;){var p=o[0]-1;if(!t(p))o[0]=p;else break}return o}var ube=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},cbe=(function(){function e(t,n){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,a){var i=this.props,o=i.isItemLoaded,l=i.itemCount,u=i.minimumBatchSize,d=u===void 0?10:u,f=i.threshold,g=f===void 0?15:f,y=lbe({isItemLoaded:o,itemCount:l,minimumBatchSize:d,startIndex:Math.max(0,r-g),stopIndex:Math.min(l-1,a+g)});(this._memoizedUnloadedRanges.length!==y.length||this._memoizedUnloadedRanges.some(function(p,v){return y[v]!==p}))&&(this._memoizedUnloadedRanges=y,this._loadUnloadedRanges(y))}},{key:"_loadUnloadedRanges",value:function(r){for(var a=this,i=this.props.loadMoreItems||this.props.loadMoreRows,o=function(d){var f=r[d],g=r[d+1],y=i(f,g);y!=null&&y.then(function(){if(sbe({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:f,stopIndex:g})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(f,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},l=0;l0;throw new Error("unsupported direction")}function JQ(e,t){return mbe(e,t)?!0:e===document.body&&getComputedStyle(document.body).overflowY==="hidden"||e.parentElement==null?!1:JQ(e.parentElement,t)}class hbe extends R.Component{containerRef(t){this.container=t}pullDownRef(t){this.pullDown=t;const n=this.pullDown&&this.pullDown.firstChild&&this.pullDown.firstChild.getBoundingClientRect?this.pullDown.firstChild.getBoundingClientRect().height:0;this.setState({maxPullDownDistance:n})}constructor(t){super(t),this.container=void 0,this.pullDown=void 0,this.dragging=!1,this.startY=0,this.currentY=0,this.state={pullToRefreshThresholdBreached:!1,maxPullDownDistance:0,onRefreshing:!1},this.containerRef=this.containerRef.bind(this),this.pullDownRef=this.pullDownRef.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onEnd=this.onEnd.bind(this)}componentDidMount(){this.container&&(this.container.addEventListener("touchstart",this.onTouchStart),this.container.addEventListener("touchmove",this.onTouchMove),this.container.addEventListener("touchend",this.onEnd),this.container.addEventListener("mousedown",this.onTouchStart),this.container.addEventListener("mousemove",this.onTouchMove),this.container.addEventListener("mouseup",this.onEnd))}componentWillUnmount(){this.container&&(this.container.removeEventListener("touchstart",this.onTouchStart),this.container.removeEventListener("touchmove",this.onTouchMove),this.container.removeEventListener("touchend",this.onEnd),this.container.removeEventListener("mousedown",this.onTouchStart),this.container.removeEventListener("mousemove",this.onTouchMove),this.container.removeEventListener("mouseup",this.onEnd))}onTouchStart(t){const{triggerHeight:n=40}=this.props;if(this.startY=t.pageY||t.touches[0].pageY,this.currentY=this.startY,n==="auto"){const r=t.target,a=this.container;if(!a||t.type==="touchstart"&&JQ(r,R$.up)||a.getBoundingClientRect().top<0)return}else{const r=this.container.getBoundingClientRect().top||this.container.getBoundingClientRect().y||0;if(this.startY-r>n)return}this.dragging=!0,this.container.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)",this.pullDown.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"}onTouchMove(t){this.dragging&&(this.currentY=t.pageY||t.touches[0].pageY,!(this.currentY=this.props.pullDownThreshold&&this.setState({pullToRefreshThresholdBreached:!0}),!(this.currentY-this.startY>this.state.maxPullDownDistance)&&(this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.currentY-this.startY}px)`,this.pullDown.style.visibility="visible")))}onEnd(){if(this.dragging=!1,this.startY=0,this.currentY=0,!this.state.pullToRefreshThresholdBreached){this.pullDown.style.visibility=this.props.startInvisible?"hidden":"visible",this.initContainer();return}this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.props.pullDownThreshold}px)`,this.setState({onRefreshing:!0},()=>{this.props.onRefresh().then(()=>{this.initContainer(),setTimeout(()=>{this.setState({onRefreshing:!1,pullToRefreshThresholdBreached:!1})},200)})})}initContainer(){requestAnimationFrame(()=>{this.container&&(this.container.style.overflow="auto",this.container.style.transform="none")})}renderPullDownContent(){const{releaseContent:t,pullDownContent:n,refreshContent:r,startInvisible:a}=this.props,{onRefreshing:i,pullToRefreshThresholdBreached:o}=this.state,l=i?r:o?t:n,u={position:"absolute",overflow:"hidden",left:0,right:0,top:0,visibility:a?"hidden":"visible"};return w.jsx("div",{id:"ptr-pull-down",style:u,ref:this.pullDownRef,children:l})}render(){const{backgroundColor:t}=this.props,n={height:"auto",overflow:"hidden",margin:"0 -10px",padding:"0 10px",WebkitOverflowScrolling:"touch",position:"relative",zIndex:1};return this.props.containerStyle&&Object.keys(this.props.containerStyle).forEach(r=>{n[r]=this.props.containerStyle[r]}),t&&(n.backgroundColor=t),w.jsxs("div",{id:"ptr-parent",style:n,children:[this.renderPullDownContent(),w.jsx("div",{id:"ptr-container",ref:this.containerRef,style:n,children:this.props.children})]})}}const gbe=({height:e="200px",background:t="none"})=>w.jsxs("div",{id:"container",children:[w.jsxs("div",{className:"sk-fading-circle",children:[w.jsx("div",{className:"sk-circle1 sk-circle"}),w.jsx("div",{className:"sk-circle2 sk-circle"}),w.jsx("div",{className:"sk-circle3 sk-circle"}),w.jsx("div",{className:"sk-circle4 sk-circle"}),w.jsx("div",{className:"sk-circle5 sk-circle"}),w.jsx("div",{className:"sk-circle6 sk-circle"}),w.jsx("div",{className:"sk-circle7 sk-circle"}),w.jsx("div",{className:"sk-circle8 sk-circle"}),w.jsx("div",{className:"sk-circle9 sk-circle"}),w.jsx("div",{className:"sk-circle10 sk-circle"}),w.jsx("div",{className:"sk-circle11 sk-circle"}),w.jsx("div",{className:"sk-circle12 sk-circle"})]}),w.jsx("style",{children:` + */const Dbe=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],$be=TF("arrow-down-z-a",Dbe);function Lbe({tabIndex:e,column:t,filterType:n,sortable:r,filterable:a,selectable:i,udf:o}){var y;const l=(y=o.filters.sorting)==null?void 0:y.find(h=>h.columnName===t.key),[u,d]=R.useState("");R.useEffect(()=>{u!==Ea.get(o.filters,t.key)&&d(Ea.get(o.filters,t.key))},[o.filters]);let f;(l==null?void 0:l.columnName)===t.key&&(l==null?void 0:l.direction)=="asc"&&(f="asc"),(l==null?void 0:l.columnName)===t.key&&(l==null?void 0:l.direction)=="desc"&&(f="desc");const g=()=>{l?((l==null?void 0:l.direction)==="desc"&&o.setSorting(o.filters.sorting.filter(h=>h.columnName!==t.key)),(l==null?void 0:l.direction)==="asc"&&o.setSorting(o.filters.sorting.map(h=>h.columnName===t.key?{...h,direction:"desc"}:h))):o.setSorting([...o.filters.sorting,{columnName:t.key.toString(),direction:"asc"}])};return w.jsxs(w.Fragment,{children:[r?w.jsx("span",{className:"data-table-sort-actions",children:w.jsxs("button",{className:`active-sort-col ${t.key==(l==null?void 0:l.columnName)?"active":""}`,onClick:g,children:[f=="asc"?w.jsx(Nbe,{className:"sort-icon"}):null,f=="desc"?w.jsx($be,{className:"sort-icon"}):null,f===void 0?w.jsx(Ibe,{className:"sort-icon"}):null]})}):null,a?w.jsx(w.Fragment,{children:n==="date"?w.jsx("input",{className:"data-table-filter-input",tabIndex:e,value:u,onChange:h=>{d(h.target.value),o.setFilter({[t.key]:h.target.value})},placeholder:t.name||"",type:"date"}):w.jsx("input",{className:"data-table-filter-input",tabIndex:e,value:u,onChange:h=>{d(h.target.value),o.setFilter({[t.key]:h.target.value})},placeholder:t.name||""})}):w.jsx("span",{children:t.name})]})}function Fbe(e,t){const n=e.split("/").filter(Boolean);return t.split("/").forEach(a=>{a===".."?n.pop():a!=="."&&a!==""&&n.push(a)}),"/"+n.join("/")}const jbe=(e,t,n,r=[],a,i)=>e.map(o=>{const l=r.find(u=>u.columnName===o.name);return{...o,key:o.name,renderCell:({column:u,row:d})=>{if(u.key==="uniqueId"){let f=a?a(d.uniqueId):"";return f.startsWith(".")&&(f=Fbe(i,f)),w.jsxs("div",{style:{position:"relative"},children:[w.jsx(kl,{href:a&&a(d.uniqueId),children:d.uniqueId}),w.jsxs("div",{className:"cell-actions",children:[w.jsx(FJ,{value:d.uniqueId}),w.jsx(kbe,{value:f})]})]})}return u.getCellValue?w.jsx(w.Fragment,{children:u.getCellValue(d)}):w.jsx("span",{children:Ea.get(d,u.key)})},width:l?l.width:o.width,name:o.title,resizable:!0,sortable:o.sortable,renderHeaderCell:u=>w.jsx(Lbe,{...u,selectable:!0,sortable:o.sortable,filterable:o.filterable,filterType:o.filterType,udf:n})}});function Ube(e){const t=R.useRef();let[n,r]=R.useState([]);const a=R.useRef({});return{reindex:(o,l,u)=>{if(l===t.current){const d=o.filter(f=>a.current[f.uniqueId]?!1:(a.current[f.uniqueId]=!0,!0));r([...n,...d].filter(Boolean))}else r([...o].filter(Boolean)),u==null||u();t.current=l},indexedData:n}}function Bbe({columns:e,query:t,columnSizes:n,onColumnWidthsChange:r,udf:a,tableClass:i,uniqueIdHrefHandler:o}){var P,N;At();const{pathname:l}=Xd(),{filters:u,setSorting:d,setStartIndex:f,selection:g,setSelection:y,setPageSize:h,onFiltersChange:v}=a,E=R.useMemo(()=>[rye,...jbe(e,(I,L)=>{a.setFilter({[I]:L})},a,n,o,l)],[e,n]),{indexedData:T,reindex:C}=Ube(),k=R.useRef();R.useEffect(()=>{var L,j;const I=((j=(L=t.data)==null?void 0:L.data)==null?void 0:j.items)||[];C(I,a.queryHash,()=>{k.current.element.scrollTo({top:0,left:0})})},[(N=(P=t.data)==null?void 0:P.data)==null?void 0:N.items]);async function _(I){t.isLoading||!Wbe(I)||f(T.length)}const A=Ea.debounce((I,L)=>{const j=E.map(z=>({columnName:z.key,width:z.name===I.name?L:z.width}));r(j)},300);return w.jsx(w.Fragment,{children:w.jsx(ybe,{className:i,columns:E,onScroll:_,onColumnResize:A,onSelectedRowsChange:I=>{y(Array.from(I))},selectedRows:new Set(g),ref:k,rows:T,rowKeyGetter:I=>I.uniqueId,style:{height:"calc(100% - 2px)",margin:"1px -14px"}})})}function Wbe({currentTarget:e}){return e.scrollTop+300>=e.scrollHeight-e.clientHeight}function zbe(e){const t={};for(let n of e||[])n&&n.columnName&&Ea.set(t,n.columnName,{operation:n.operation,value:n.value});return t}let xl;typeof window<"u"?xl=window:typeof self<"u"?xl=self:xl=global;let gL=null,vL=null;const FB=20,MP=xl.clearTimeout,jB=xl.setTimeout,IP=xl.cancelAnimationFrame||xl.mozCancelAnimationFrame||xl.webkitCancelAnimationFrame,UB=xl.requestAnimationFrame||xl.mozRequestAnimationFrame||xl.webkitRequestAnimationFrame;IP==null||UB==null?(gL=MP,vL=function(t){return jB(t,FB)}):(gL=function([t,n]){IP(t),MP(n)},vL=function(t){const n=UB(function(){MP(r),t()}),r=jB(function(){IP(n),t()},FB);return[n,r]});function qbe(e){let t,n,r,a,i,o,l;const u=typeof document<"u"&&document.attachEvent;if(!u){o=function(C){const k=C.__resizeTriggers__,_=k.firstElementChild,A=k.lastElementChild,P=_.firstElementChild;A.scrollLeft=A.scrollWidth,A.scrollTop=A.scrollHeight,P.style.width=_.offsetWidth+1+"px",P.style.height=_.offsetHeight+1+"px",_.scrollLeft=_.scrollWidth,_.scrollTop=_.scrollHeight},i=function(C){return C.offsetWidth!==C.__resizeLast__.width||C.offsetHeight!==C.__resizeLast__.height},l=function(C){if(C.target.className&&typeof C.target.className.indexOf=="function"&&C.target.className.indexOf("contract-trigger")<0&&C.target.className.indexOf("expand-trigger")<0)return;const k=this;o(this),this.__resizeRAF__&&gL(this.__resizeRAF__),this.__resizeRAF__=vL(function(){i(k)&&(k.__resizeLast__.width=k.offsetWidth,k.__resizeLast__.height=k.offsetHeight,k.__resizeListeners__.forEach(function(P){P.call(k,C)}))})};let y=!1,h="";r="animationstart";const v="Webkit Moz O ms".split(" ");let E="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),T="";{const C=document.createElement("fakeelement");if(C.style.animationName!==void 0&&(y=!0),y===!1){for(let k=0;k div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',v=y.head||y.getElementsByTagName("head")[0],E=y.createElement("style");E.id="detectElementResize",E.type="text/css",e!=null&&E.setAttribute("nonce",e),E.styleSheet?E.styleSheet.cssText=h:E.appendChild(y.createTextNode(h)),v.appendChild(E)}};return{addResizeListener:function(y,h){if(u)y.attachEvent("onresize",h);else{if(!y.__resizeTriggers__){const v=y.ownerDocument,E=xl.getComputedStyle(y);E&&E.position==="static"&&(y.style.position="relative"),d(v),y.__resizeLast__={},y.__resizeListeners__=[],(y.__resizeTriggers__=v.createElement("div")).className="resize-triggers";const T=v.createElement("div");T.className="expand-trigger",T.appendChild(v.createElement("div"));const C=v.createElement("div");C.className="contract-trigger",y.__resizeTriggers__.appendChild(T),y.__resizeTriggers__.appendChild(C),y.appendChild(y.__resizeTriggers__),o(y),y.addEventListener("scroll",l,!0),r&&(y.__resizeTriggers__.__animationListener__=function(_){_.animationName===n&&o(y)},y.__resizeTriggers__.addEventListener(r,y.__resizeTriggers__.__animationListener__))}y.__resizeListeners__.push(h)}},removeResizeListener:function(y,h){if(u)y.detachEvent("onresize",h);else if(y.__resizeListeners__.splice(y.__resizeListeners__.indexOf(h),1),!y.__resizeListeners__.length){y.removeEventListener("scroll",l,!0),y.__resizeTriggers__.__animationListener__&&(y.__resizeTriggers__.removeEventListener(r,y.__resizeTriggers__.__animationListener__),y.__resizeTriggers__.__animationListener__=null);try{y.__resizeTriggers__=!y.removeChild(y.__resizeTriggers__)}catch{}}}}}class Hbe extends R.Component{constructor(...t){super(...t),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:r,onResize:a}=this.props;if(this._parentNode){const i=window.getComputedStyle(this._parentNode)||{},o=parseFloat(i.paddingLeft||"0"),l=parseFloat(i.paddingRight||"0"),u=parseFloat(i.paddingTop||"0"),d=parseFloat(i.paddingBottom||"0"),f=this._parentNode.getBoundingClientRect(),g=f.height-u-d,y=f.width-o-l,h=this._parentNode.offsetHeight-u-d,v=this._parentNode.offsetWidth-o-l;(!n&&(this.state.height!==h||this.state.scaledHeight!==g)||!r&&(this.state.width!==v||this.state.scaledWidth!==y))&&(this.setState({height:h,width:v,scaledHeight:g,scaledWidth:y}),typeof a=="function"&&a({height:h,scaledHeight:g,scaledWidth:y,width:v}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:t}=this.props,n=this._autoSizer?this._autoSizer.parentNode:null;if(n!=null&&n.ownerDocument&&n.ownerDocument.defaultView&&n instanceof n.ownerDocument.defaultView.HTMLElement){this._parentNode=n;const r=n.ownerDocument.defaultView.ResizeObserver;r!=null?(this._resizeObserver=new r(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(n)):(this._detectElementResize=qbe(t),this._detectElementResize.addResizeListener(n,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:t,defaultHeight:n,defaultWidth:r,disableHeight:a=!1,disableWidth:i=!1,doNotBailOutOnEmptyChildren:o=!1,nonce:l,onResize:u,style:d={},tagName:f="div",...g}=this.props,{height:y,scaledHeight:h,scaledWidth:v,width:E}=this.state,T={overflow:"visible"},C={};let k=!1;return a||(y===0&&(k=!0),T.height=0,C.height=y,C.scaledHeight=h),i||(E===0&&(k=!0),T.width=0,C.width=E,C.scaledWidth=v),o&&(k=!1),R.createElement(f,{ref:this._setRef,style:{...T,...d},...g},!k&&t(C))}}function Vbe(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,a=e.stopIndex;return!(r>n||a0;){var h=o[0]-1;if(!t(h))o[0]=h;else break}return o}var Ybe=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Kbe=(function(){function e(t,n){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,a){var i=this.props,o=i.isItemLoaded,l=i.itemCount,u=i.minimumBatchSize,d=u===void 0?10:u,f=i.threshold,g=f===void 0?15:f,y=Gbe({isItemLoaded:o,itemCount:l,minimumBatchSize:d,startIndex:Math.max(0,r-g),stopIndex:Math.min(l-1,a+g)});(this._memoizedUnloadedRanges.length!==y.length||this._memoizedUnloadedRanges.some(function(h,v){return y[v]!==h}))&&(this._memoizedUnloadedRanges=y,this._loadUnloadedRanges(y))}},{key:"_loadUnloadedRanges",value:function(r){for(var a=this,i=this.props.loadMoreItems||this.props.loadMoreRows,o=function(d){var f=r[d],g=r[d+1],y=i(f,g);y!=null&&y.then(function(){if(Vbe({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:f,stopIndex:g})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(f,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},l=0;l0;throw new Error("unsupported direction")}function UJ(e,t){return Zbe(e,t)?!0:e===document.body&&getComputedStyle(document.body).overflowY==="hidden"||e.parentElement==null?!1:UJ(e.parentElement,t)}class e0e extends R.Component{containerRef(t){this.container=t}pullDownRef(t){this.pullDown=t;const n=this.pullDown&&this.pullDown.firstChild&&this.pullDown.firstChild.getBoundingClientRect?this.pullDown.firstChild.getBoundingClientRect().height:0;this.setState({maxPullDownDistance:n})}constructor(t){super(t),this.container=void 0,this.pullDown=void 0,this.dragging=!1,this.startY=0,this.currentY=0,this.state={pullToRefreshThresholdBreached:!1,maxPullDownDistance:0,onRefreshing:!1},this.containerRef=this.containerRef.bind(this),this.pullDownRef=this.pullDownRef.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onEnd=this.onEnd.bind(this)}componentDidMount(){this.container&&(this.container.addEventListener("touchstart",this.onTouchStart),this.container.addEventListener("touchmove",this.onTouchMove),this.container.addEventListener("touchend",this.onEnd),this.container.addEventListener("mousedown",this.onTouchStart),this.container.addEventListener("mousemove",this.onTouchMove),this.container.addEventListener("mouseup",this.onEnd))}componentWillUnmount(){this.container&&(this.container.removeEventListener("touchstart",this.onTouchStart),this.container.removeEventListener("touchmove",this.onTouchMove),this.container.removeEventListener("touchend",this.onEnd),this.container.removeEventListener("mousedown",this.onTouchStart),this.container.removeEventListener("mousemove",this.onTouchMove),this.container.removeEventListener("mouseup",this.onEnd))}onTouchStart(t){const{triggerHeight:n=40}=this.props;if(this.startY=t.pageY||t.touches[0].pageY,this.currentY=this.startY,n==="auto"){const r=t.target,a=this.container;if(!a||t.type==="touchstart"&&UJ(r,yL.up)||a.getBoundingClientRect().top<0)return}else{const r=this.container.getBoundingClientRect().top||this.container.getBoundingClientRect().y||0;if(this.startY-r>n)return}this.dragging=!0,this.container.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)",this.pullDown.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"}onTouchMove(t){this.dragging&&(this.currentY=t.pageY||t.touches[0].pageY,!(this.currentY=this.props.pullDownThreshold&&this.setState({pullToRefreshThresholdBreached:!0}),!(this.currentY-this.startY>this.state.maxPullDownDistance)&&(this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.currentY-this.startY}px)`,this.pullDown.style.visibility="visible")))}onEnd(){if(this.dragging=!1,this.startY=0,this.currentY=0,!this.state.pullToRefreshThresholdBreached){this.pullDown.style.visibility=this.props.startInvisible?"hidden":"visible",this.initContainer();return}this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.props.pullDownThreshold}px)`,this.setState({onRefreshing:!0},()=>{this.props.onRefresh().then(()=>{this.initContainer(),setTimeout(()=>{this.setState({onRefreshing:!1,pullToRefreshThresholdBreached:!1})},200)})})}initContainer(){requestAnimationFrame(()=>{this.container&&(this.container.style.overflow="auto",this.container.style.transform="none")})}renderPullDownContent(){const{releaseContent:t,pullDownContent:n,refreshContent:r,startInvisible:a}=this.props,{onRefreshing:i,pullToRefreshThresholdBreached:o}=this.state,l=i?r:o?t:n,u={position:"absolute",overflow:"hidden",left:0,right:0,top:0,visibility:a?"hidden":"visible"};return w.jsx("div",{id:"ptr-pull-down",style:u,ref:this.pullDownRef,children:l})}render(){const{backgroundColor:t}=this.props,n={height:"auto",overflow:"hidden",margin:"0 -10px",padding:"0 10px",WebkitOverflowScrolling:"touch",position:"relative",zIndex:1};return this.props.containerStyle&&Object.keys(this.props.containerStyle).forEach(r=>{n[r]=this.props.containerStyle[r]}),t&&(n.backgroundColor=t),w.jsxs("div",{id:"ptr-parent",style:n,children:[this.renderPullDownContent(),w.jsx("div",{id:"ptr-container",ref:this.containerRef,style:n,children:this.props.children})]})}}const t0e=({height:e="200px",background:t="none"})=>w.jsxs("div",{id:"container",children:[w.jsxs("div",{className:"sk-fading-circle",children:[w.jsx("div",{className:"sk-circle1 sk-circle"}),w.jsx("div",{className:"sk-circle2 sk-circle"}),w.jsx("div",{className:"sk-circle3 sk-circle"}),w.jsx("div",{className:"sk-circle4 sk-circle"}),w.jsx("div",{className:"sk-circle5 sk-circle"}),w.jsx("div",{className:"sk-circle6 sk-circle"}),w.jsx("div",{className:"sk-circle7 sk-circle"}),w.jsx("div",{className:"sk-circle8 sk-circle"}),w.jsx("div",{className:"sk-circle9 sk-circle"}),w.jsx("div",{className:"sk-circle10 sk-circle"}),w.jsx("div",{className:"sk-circle11 sk-circle"}),w.jsx("div",{className:"sk-circle12 sk-circle"})]}),w.jsx("style",{children:` #container { display: flex; flex-direction: column; @@ -360,7 +360,7 @@ PERFORMANCE OF THIS SOFTWARE. opacity: 1; } } - `})]}),vbe=({height:e="200px",background:t="none",label:n="Pull down to refresh"})=>w.jsxs("div",{id:"container2",children:[w.jsx("span",{children:n}),w.jsx("style",{children:` + `})]}),n0e=({height:e="200px",background:t="none",label:n="Pull down to refresh"})=>w.jsxs("div",{id:"container2",children:[w.jsx("span",{children:n}),w.jsx("style",{children:` #container2 { background: ${t}; height: ${e}; @@ -384,7 +384,7 @@ PERFORMANCE OF THIS SOFTWARE. opacity: 1; } } - `})]}),ybe=({height:e="200px",background:t="none",label:n="Release to refresh"})=>w.jsxs("div",{id:"container",children:[w.jsx("div",{id:"arrow"}),w.jsx("span",{children:n}),w.jsx("style",{children:` + `})]}),r0e=({height:e="200px",background:t="none",label:n="Release to refresh"})=>w.jsxs("div",{id:"container",children:[w.jsx("div",{id:"arrow"}),w.jsx("span",{children:n}),w.jsx("style",{children:` #container { background: ${t||"none"}; height: ${e||"200px"}; @@ -409,35 +409,35 @@ PERFORMANCE OF THIS SOFTWARE. opacity: 1; } } - `})]}),qd=({label:e,getInputRef:t,displayValue:n,Icon:r,children:a,errorMessage:i,validMessage:o,value:l,hint:u,onClick:d,onChange:f,className:g,focused:y=!1,hasAnimation:p})=>w.jsxs("div",{style:{position:"relative"},className:ia("mb-3",g),children:[e&&w.jsx("label",{className:"form-label",children:e}),a,w.jsx("div",{className:"form-text",children:u}),w.jsx("div",{className:"invalid-feedback",children:i}),w.jsx("div",{className:"valid-feedback",children:o})]}),Fs=e=>{const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,isSubmitting:o,errorMessage:l,onChange:u,value:d,disabled:f,type:g,focused:y=!1,className:p,mutation:v,...E}=e,T=v==null?void 0:v.isLoading;return w.jsx("button",{onClick:e.onClick,type:"submit",disabled:f||T,className:ia("btn mb-3",`btn-${g||"primary"}`,p),...e,children:e.children||e.label})};function bbe(e,t,n={}){var r,a,i,o,l,u,d,f,g,y;if(t.isError){if(((r=t.error)==null?void 0:r.status)===404)return e.notfound+"("+n.remote+")";if(t.error.message==="Failed to fetch")return e.networkError+"("+n.remote+")";if((i=(a=t.error)==null?void 0:a.error)!=null&&i.messageTranslated)return(l=(o=t.error)==null?void 0:o.error)==null?void 0:l.messageTranslated;if((d=(u=t.error)==null?void 0:u.error)!=null&&d.message)return(g=(f=t.error)==null?void 0:f.error)==null?void 0:g.message;let p=(y=t.error)==null?void 0:y.toString();return(p+"").includes("object Object")&&(p="There is an unknown error while getting information, please contact your software provider if issue persists."),p}return null}function xl({query:e,children:t}){var d,f,g,y;const n=At(),{options:r,setOverrideRemoteUrl:a,overrideRemoteUrl:i}=R.useContext(Je);let o=!1,l="80";try{if(r!=null&&r.prefix){const p=new URL(r==null?void 0:r.prefix);l=p.port||(p.protocol==="https:"?"443":"80"),o=(location.host.includes("192.168")||location.host.includes("127.0"))&&((f=(d=e.error)==null?void 0:d.message)==null?void 0:f.includes("Failed to fetch"))}}catch{}const u=()=>{a("http://"+location.hostname+":"+l+"/")};return e?w.jsxs(w.Fragment,{children:[e.isError&&w.jsxs("div",{className:"basic-error-box fadein",children:[bbe(n,e,{remote:r.prefix})||"",o&&w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:u,children:"Auto-reroute"}),i&&w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>a(void 0),children:"Reset"}),w.jsx("ul",{children:(((y=(g=e.error)==null?void 0:g.error)==null?void 0:y.errors)||[]).map(p=>w.jsxs("li",{children:[p.messageTranslated||p.message," (",p.location,")"]},p.location))}),e.refetch&&w.jsx(Fs,{onClick:e.refetch,children:"Retry"})]}),!e.isError||e.isPreviousData?t:null]}):null}function eZ({content:e,columns:t,uniqueIdHrefHandler:n,style:r}){const a=n?El:"span";return w.jsx(a,{className:"auto-card-list-item card mb-2 p-3",style:r,href:n(e.uniqueId),children:t.map(i=>{let o=i.getCellValue?i.getCellValue(e):"";return o||(o=i.name?e[i.name]:""),o||(o="-"),i.name==="uniqueId"?null:w.jsxs("div",{className:"row auto-card-drawer",children:[w.jsxs("div",{className:"col-6",children:[i.title,":"]}),w.jsx("div",{className:"col-6",children:o})]},i.title)})})}const wbe=()=>{const e=At();return w.jsxs("div",{className:"empty-list-indicator",children:[w.jsx("img",{src:Is("/common/empty.png")}),w.jsx("div",{children:e.table.noRecords})]})};function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var tB=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Sbe(e,t){return!!(e===t||tB(e)&&tB(t))}function Ebe(e,t){if(e.length!==t.length)return!1;for(var n=0;n=0)&&(n[a]=e[a]);return n}var Cbe=typeof performance=="object"&&typeof performance.now=="function",nB=Cbe?function(){return performance.now()}:function(){return Date.now()};function rB(e){cancelAnimationFrame(e.id)}function kbe(e,t){var n=nB();function r(){nB()-n>=t?e.call(null):a.id=requestAnimationFrame(r)}var a={id:requestAnimationFrame(r)};return a}var eP=-1;function aB(e){if(e===void 0&&(e=!1),eP===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),eP=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return eP}var Dy=null;function iB(e){if(e===void 0&&(e=!1),Dy===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Dy="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Dy="negative":Dy="positive-ascending"),document.body.removeChild(t),Dy}return Dy}var xbe=150,_be=function(t,n){return t};function Obe(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,o=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=(function(g){dv(y,g);function y(v){var E;return E=g.call(this,v)||this,E._instanceProps=u(E.props,Dt(E)),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:Dt(E),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=JR(function(T,C,k,_){return E.props.onItemsRendered({overscanStartIndex:T,overscanStopIndex:C,visibleStartIndex:k,visibleStopIndex:_})}),E._callOnScroll=void 0,E._callOnScroll=JR(function(T,C,k){return E.props.onScroll({scrollDirection:T,scrollOffset:C,scrollUpdateWasRequested:k})}),E._getItemStyle=void 0,E._getItemStyle=function(T){var C=E.props,k=C.direction,_=C.itemSize,A=C.layout,P=E._getItemStyleCache(d&&_,d&&A,d&&k),N;if(P.hasOwnProperty(T))N=P[T];else{var I=n(E.props,T,E._instanceProps),L=a(E.props,T,E._instanceProps),j=k==="horizontal"||A==="horizontal",z=k==="rtl",Q=j?I:0;P[T]=N={position:"absolute",left:z?void 0:Q,right:z?Q:void 0,top:j?0:I,height:j?"100%":L,width:j?L:"100%"}}return N},E._getItemStyleCache=void 0,E._getItemStyleCache=JR(function(T,C,k){return{}}),E._onScrollHorizontal=function(T){var C=T.currentTarget,k=C.clientWidth,_=C.scrollLeft,A=C.scrollWidth;E.setState(function(P){if(P.scrollOffset===_)return null;var N=E.props.direction,I=_;if(N==="rtl")switch(iB()){case"negative":I=-_;break;case"positive-descending":I=A-k-_;break}return I=Math.max(0,Math.min(I,A-k)),{isScrolling:!0,scrollDirection:P.scrollOffsetN.clientWidth?aB():0:P=N.scrollHeight>N.clientHeight?aB():0}this.scrollTo(i(this.props,E,T,A,this._instanceProps,P))},p.componentDidMount=function(){var E=this.props,T=E.direction,C=E.initialScrollOffset,k=E.layout;if(typeof C=="number"&&this._outerRef!=null){var _=this._outerRef;T==="horizontal"||k==="horizontal"?_.scrollLeft=C:_.scrollTop=C}this._callPropsCallbacks()},p.componentDidUpdate=function(){var E=this.props,T=E.direction,C=E.layout,k=this.state,_=k.scrollOffset,A=k.scrollUpdateWasRequested;if(A&&this._outerRef!=null){var P=this._outerRef;if(T==="horizontal"||C==="horizontal")if(T==="rtl")switch(iB()){case"negative":P.scrollLeft=-_;break;case"positive-ascending":P.scrollLeft=_;break;default:var N=P.clientWidth,I=P.scrollWidth;P.scrollLeft=I-N-_;break}else P.scrollLeft=_;else P.scrollTop=_}this._callPropsCallbacks()},p.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&rB(this._resetIsScrollingTimeoutId)},p.render=function(){var E=this.props,T=E.children,C=E.className,k=E.direction,_=E.height,A=E.innerRef,P=E.innerElementType,N=E.innerTagName,I=E.itemCount,L=E.itemData,j=E.itemKey,z=j===void 0?_be:j,Q=E.layout,le=E.outerElementType,re=E.outerTagName,ge=E.style,he=E.useIsScrolling,W=E.width,G=this.state.isScrolling,q=k==="horizontal"||Q==="horizontal",ce=q?this._onScrollHorizontal:this._onScrollVertical,H=this._getRangeToRender(),Y=H[0],ie=H[1],Z=[];if(I>0)for(var ee=Y;ee<=ie;ee++)Z.push(R.createElement(T,{data:L,key:z(ee,L),index:ee,isScrolling:he?G:void 0,style:this._getItemStyle(ee)}));var J=r(this.props,this._instanceProps);return R.createElement(le||re||"div",{className:C,onScroll:ce,ref:this._outerRefSetter,style:vt({position:"relative",height:_,width:W,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:k},ge)},R.createElement(P||N||"div",{children:Z,ref:A,style:{height:q?"100%":J,pointerEvents:G?"none":void 0,width:q?J:"100%"}}))},p._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var T=this._getRangeToRender(),C=T[0],k=T[1],_=T[2],A=T[3];this._callOnItemsRendered(C,k,_,A)}}if(typeof this.props.onScroll=="function"){var P=this.state,N=P.scrollDirection,I=P.scrollOffset,L=P.scrollUpdateWasRequested;this._callOnScroll(N,I,L)}},p._getRangeToRender=function(){var E=this.props,T=E.itemCount,C=E.overscanCount,k=this.state,_=k.isScrolling,A=k.scrollDirection,P=k.scrollOffset;if(T===0)return[0,0,0,0];var N=o(this.props,P,this._instanceProps),I=l(this.props,N,P,this._instanceProps),L=!_||A==="backward"?Math.max(1,C):1,j=!_||A==="forward"?Math.max(1,C):1;return[Math.max(0,N-L),Math.max(0,Math.min(T-1,I+j)),N,I]},y})(R.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var Rbe=function(t,n){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,n.instance},Pbe=Obe({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,a,i,o){var l=t.direction,u=t.height,d=t.itemCount,f=t.itemSize,g=t.layout,y=t.width,p=l==="horizontal"||g==="horizontal",v=p?y:u,E=Math.max(0,d*f-v),T=Math.min(E,n*f),C=Math.max(0,n*f-v+f+o);switch(r==="smart"&&(a>=C-v&&a<=T+v?r="auto":r="center"),r){case"start":return T;case"end":return C;case"center":{var k=Math.round(C+(T-C)/2);return kE+Math.floor(v/2)?E:k}case"auto":default:return a>=C&&a<=T?a:a{var k,_,A,P,N,I;At();const l=R.useRef();let[u,d]=R.useState([]);const[f,g]=R.useState(!0),y=Ls();t&&t({queryClient:y});const p=(L,j)=>{const z=r.debouncedFilters.startIndex||0,Q=[...u];l.current!==j&&(Q.length=0,l.current=j);for(let le=z;le<(r.debouncedFilters.itemsPerPage||0)+z;le++){const re=le-z;L[re]&&(Q[le]=L[re])}d(Q)};R.useEffect(()=>{var j,z,Q;const L=((z=(j=i.query.data)==null?void 0:j.data)==null?void 0:z.items)||[];p(L,(Q=i.query.data)==null?void 0:Q.jsonQuery)},[(_=(k=i.query.data)==null?void 0:k.data)==null?void 0:_.items]);const v=({index:L,style:j})=>{var Q,le;return u[L]?o?w.jsx(o,{content:u[L]},(Q=u[L])==null?void 0:Q.uniqueId):w.jsx(eZ,{style:{...j,top:j.top+10,height:j.height-10,width:j.width},uniqueIdHrefHandler:n,columns:e,content:u[L]},(le=u[L])==null?void 0:le.uniqueId):null},E=({scrollOffset:L})=>{L===0&&!f?g(!0):L>0&&f&&g(!1)},T=R.useCallback(()=>(i.query.refetch(),Promise.resolve(!0)),[]),C=((N=(P=(A=i.query)==null?void 0:A.data)==null?void 0:P.data)==null?void 0:N.totalItems)||0;return w.jsx(w.Fragment,{children:w.jsx(hbe,{pullDownContent:w.jsx(vbe,{label:""}),releaseContent:w.jsx(ybe,{}),refreshContent:w.jsx(gbe,{}),pullDownThreshold:200,onRefresh:T,triggerHeight:f?500:0,startInvisible:!0,children:u.length===0&&!((I=i.query)!=null&&I.isError)?w.jsx("div",{style:{height:"calc(100vh - 130px)"},children:w.jsx(wbe,{})}):w.jsxs("div",{style:{height:"calc(100vh - 130px)"},children:[w.jsx(xl,{query:i.query}),w.jsx(fbe,{isItemLoaded:L=>!!u[L],itemCount:C,loadMoreItems:async(L,j)=>{r.setFilter({startIndex:L,itemsPerPage:j-L})},children:({onItemsRendered:L,ref:j})=>w.jsx(obe,{children:({height:z,width:Q})=>w.jsx(Pbe,{height:z,itemCount:u.length,itemSize:o!=null&&o.getHeight?o.getHeight():e.length*24+10,width:Q,onScroll:E,onItemsRendered:L,ref:j,children:v})})})]})})})},Nbe=({columns:e,deleteHook:t,uniqueIdHrefHandler:n,udf:r,q:a})=>{var d,f,g,y,p,v,E,T;const i=At(),o=Ls();t&&t({queryClient:o}),(f=(d=a.query.data)==null?void 0:d.data)!=null&&f.items;const l=((p=(y=(g=a.query)==null?void 0:g.data)==null?void 0:y.data)==null?void 0:p.items)||[],u=((T=(E=(v=a.query)==null?void 0:v.data)==null?void 0:E.data)==null?void 0:T.totalItems)||0;return w.jsxs(w.Fragment,{children:[u===0&&w.jsx("p",{children:i.table.noRecords}),l.map(C=>w.jsx(eZ,{style:{},uniqueIdHrefHandler:n,columns:e,content:C},C.uniqueId))]})},oB=matchMedia("(max-width: 600px)");function Mbe(){const e=R.useRef(oB),[t,n]=R.useState(oB.matches?"card":"datatable");return R.useEffect(()=>{const r=e.current;function a(){r.matches?n("card"):n("datatable")}return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[]),{view:t}}const Fo=({children:e,columns:t,deleteHook:n,uniqueIdHrefHandler:r,withFilters:a,queryHook:i,onRecordsDeleted:o,selectable:l,id:u,RowDetail:d,withPreloads:f,queryFilters:g,deep:y,inlineInsertHook:p,bulkEditHook:v,urlMask:E,CardComponent:T})=>{var G,q,ce,H;At();const{view:C}=Mbe(),k=Ls(),{query:_}=Gge({query:{uniqueId:i.UKEY}}),[A,P]=R.useState(t.map(Y=>({columnName:Y.name,width:Y.width})));R.useEffect(()=>{var Y,ie,Z,ee;if((ie=(Y=_.data)==null?void 0:Y.data)!=null&&ie.sizes)P(JSON.parse((ee=(Z=_.data)==null?void 0:Z.data)==null?void 0:ee.sizes));else{const J=localStorage.getItem(`table_${i.UKEY}`);J&&P(JSON.parse(J))}},[(q=(G=_.data)==null?void 0:G.data)==null?void 0:q.sizes]);const{submit:N}=Yge({queryClient:k}),I=n&&n({queryClient:k}),L=Vge({urlMask:"",submitDelete:I==null?void 0:I.submit,onRecordsDeleted:o?()=>o({queryClient:k}):void 0}),[j]=R.useState(t.map(Y=>({columnName:Y.name,width:Y.width}))),z=Y=>{P(Y);const ie=JSON.stringify(Y);N({uniqueId:i.UKEY,sizes:ie}),localStorage.setItem(`table_${i.UKEY}`,ie)};let Q=({value:Y})=>w.jsx("div",{style:{position:"relative"},children:w.jsx(El,{href:r&&r(Y),children:Y})}),le=Y=>w.jsx(Uge,{formatterComponent:Q,...Y});const re=[...g||[]],ge=R.useMemo(()=>abe(re),[re]),he=i({query:{deep:y===void 0?!0:y,...L.debouncedFilters,withPreloads:f},queryClient:k});he.jsonQuery=ge;const W=((H=(ce=he.query.data)==null?void 0:ce.data)==null?void 0:H.items)||[];return w.jsxs(w.Fragment,{children:[C==="map"&&w.jsx(Nbe,{columns:t,deleteHook:n,uniqueIdHrefHandler:r,q:he,udf:L}),C==="card"&&w.jsx(Abe,{columns:t,CardComponent:T,jsonQuery:ge,deleteHook:n,uniqueIdHrefHandler:r,q:he,udf:L}),C==="datatable"&&w.jsxs(nbe,{udf:L,selectable:l,bulkEditHook:v,RowDetail:d,uniqueIdHrefHandler:r,onColumnWidthsChange:z,columns:t,columnSizes:A,inlineInsertHook:p,rows:W,defaultColumnWidths:j,query:he.query,booleanColumns:["uniqueId"],withFilters:a,children:[w.jsx(le,{for:["uniqueId"]}),e]})]})},Ibe=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:gi.Fields.name,title:e.capabilities.name,width:100},{name:gi.Fields.description,title:e.capabilities.description,width:100}];function Dbe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/capability".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*fireback.CapabilityEntity",k=>g(k)),n==null||n.invalidateQueries("*fireback.CapabilityEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function tZ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/capabilities".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*fireback.CapabilityEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}tZ.UKEY="*fireback.CapabilityEntity";const $be=()=>{const e=Kt(HS);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:Ibe(e),queryHook:tZ,uniqueIdHrefHandler:t=>gi.Navigation.single(t),deleteHook:Dbe})})},Lbe=()=>{const e=Kt(HS);return w.jsx(Lo,{pageTitle:e.capabilities.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(gi.Navigation.create())},children:w.jsx($be,{})})};function Dr(e){const t=R.useRef(),n=Ls();R.useEffect(()=>{var d;e!=null&&e.data&&((d=t.current)==null||d.setValues(e.data))},[e==null?void 0:e.data]);const r=xr(),a=r.query.uniqueId,i=r.query.linkerId,o=!!a,{locale:l}=sr(),u=At();return{router:r,t:u,isEditing:o,locale:l,queryClient:n,formik:t,uniqueId:a,linkerId:i}}const jo=({data:e,Form:t,getSingleHook:n,postHook:r,onCancel:a,onFinishUriResolver:i,disableOnGetFailed:o,patchHook:l,onCreateTitle:u,onEditTitle:d,setInnerRef:f,beforeSetValues:g,forceEdit:y,onlyOnRoot:p,customClass:v,beforeSubmit:E,onSuccessPatchOrPost:T})=>{var re,ge,he;const[C,k]=R.useState(),{router:_,isEditing:A,locale:P,formik:N,t:I}=Dr({data:e}),L=R.useRef({});jX(a,Ir.CommonBack);const{selectedUrw:j}=R.useContext(Je);am((A||y?d:u)||"");const{query:z}=n;R.useEffect(()=>{var W,G,q;(W=z.data)!=null&&W.data&&((G=N.current)==null||G.setValues(g?g({...z.data.data}):{...z.data.data}),k((q=z.data)==null?void 0:q.data))},[z.data]),R.useEffect(()=>{var W;(W=N.current)==null||W.setSubmitting((r==null?void 0:r.mutation.isLoading)||(l==null?void 0:l.mutation.isLoading))},[r==null?void 0:r.isLoading,l==null?void 0:l.isLoading]);const Q=(W,G)=>{let q=L.current;q.uniqueId=W.uniqueId,E&&(q=E(q)),(A||y?l==null?void 0:l.submit(q,G):r==null?void 0:r.submit(q,G)).then(H=>{var Y;(Y=H.data)!=null&&Y.uniqueId&&(T?T(H):i?_.goBackOrDefault(i(H,P)):zpe("Done",{type:"success"}))}).catch(H=>void 0)},le=((re=n==null?void 0:n.query)==null?void 0:re.isLoading)||!1||((ge=r==null?void 0:r.query)==null?void 0:ge.isLoading)||!1||((he=l==null?void 0:l.query)==null?void 0:he.isLoading)||!1;return Ppe({onSave(){var W;(W=N.current)==null||W.submitForm()}}),p&&j.workspaceId!=="root"?w.jsx("div",{children:I.onlyOnRoot}):w.jsx(os,{innerRef:W=>{W&&(N.current=W,f&&f(W))},initialValues:{},onSubmit:Q,children:W=>{var G,q,ce,H;return w.jsx("form",{onSubmit:Y=>{Y.preventDefault(),W.submitForm()},className:v??"headless-form-entity-manager",children:w.jsxs("fieldset",{disabled:le,children:[w.jsx("div",{style:{marginBottom:"15px"},children:w.jsx(xl,{query:(G=r==null?void 0:r.mutation)!=null&&G.isError?r.mutation:(q=l==null?void 0:l.mutation)!=null&&q.isError?l.mutation:(ce=n==null?void 0:n.query)!=null&&ce.isError?n.query:null})}),o===!0&&((H=n==null?void 0:n.query)!=null&&H.isError)?null:w.jsx(t,{isEditing:A,initialData:C,form:{...W,setValues:(Y,ie)=>{for(const Z in Y)Ea.set(L.current,Z,Y[Z]);return W.setValues(Y)},setFieldValue:(Y,ie,Z)=>(Ea.set(L.current,Y,ie),W.setFieldValue(Y,ie,Z))}}),w.jsx("button",{type:"submit",className:"d-none"})]})})}})},Fbe={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function jbe(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1);break}return{value:e,caret:t}}function Ube(e,t,n){for(var r={},a="",i=0,o=0;oo&&(i=a.length))),o++}t===void 0&&(i=a.length);var u={value:a,caret:i};return u}function Bbe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Wbe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Wbe(e,t){if(e){if(typeof e=="string")return sB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sB(e,t)}}function sB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",a=e.length,i=P$("(",e),o=P$(")",e),l=i-o;l>0&&a=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Hbe(e,t){if(e){if(typeof e=="string")return lB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lB(e,t)}}function lB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(a){return{text:a}};var r=P$(t,e);return function(a){if(!a)return{text:"",template:e};for(var i=0,o="",l=qbe(e.split("")),u;!(u=l()).done;){var d=u.value;if(d!==t){o+=d;continue}if(o+=a[i],i++,i===a.length&&a.length=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function o0e(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function s0e(e){var t=e.ref,n=e.parse,r=e.format,a=e.value,i=e.defaultValue,o=e.controlled,l=o===void 0?!0:o,u=e.onChange,d=e.onKeyDown,f=i0e(e,r0e),g=R.useRef(),y=R.useCallback(function(T){g.current=T,t&&(typeof t=="function"?t(T):t.current=T)},[t]),p=R.useCallback(function(T){return e0e(T,g.current,n,r,u)},[g,n,r,u]),v=R.useCallback(function(T){if(d&&d(T),!T.defaultPrevented)return t0e(T,g.current,n,r,u)},[g,n,r,u,d]),E=$y($y({},f),{},{ref:y,onChange:p,onKeyDown:v});return l?$y($y({},E),{},{value:r(dB(a)?"":a).text}):$y($y({},E),{},{defaultValue:r(dB(i)?"":i).text})}function dB(e){return e==null}var l0e=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function fB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function u0e(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function f0e(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function Rk(e,t){var n=e.inputComponent,r=n===void 0?"input":n,a=e.parse,i=e.format,o=e.value,l=e.defaultValue,u=e.onChange,d=e.controlled,f=e.onKeyDown,g=e.type,y=g===void 0?"text":g,p=d0e(e,l0e),v=s0e(u0e({ref:t,parse:a,format:i,value:o,defaultValue:l,onChange:u,controlled:d,onKeyDown:f,type:y},p));return ze.createElement(r,v)}Rk=ze.forwardRef(Rk);Rk.propTypes={parse:Ye.func.isRequired,format:Ye.func.isRequired,inputComponent:Ye.elementType,type:Ye.string,value:Ye.string,defaultValue:Ye.string,onChange:Ye.func,controlled:Ye.bool,onKeyDown:Ye.func,onCut:Ye.func,onPaste:Ye.func};function pB(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),o=Number(r[a]);if(i>o)return 1;if(o>i)return-1;if(!isNaN(i)&&isNaN(o))return 1;if(isNaN(i)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]i?"TOO_SHORT":a[a.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function T0e(e,t,n){if(t===void 0&&(t={}),n=new ai(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return oZ(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function oZ(e,t){switch(Nx(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Pd(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function C0e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=k0e(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 k0e(e,t){if(e){if(typeof e=="string")return vB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vB(e,t)}}function vB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0}var F3=2,P0e=17,A0e=3,Do="0-90-9٠-٩۰-۹",N0e="-‐-―−ー-",M0e="//",I0e="..",D0e="  ­​⁠ ",$0e="()()[]\\[\\]",L0e="~⁓∼~",mu="".concat(N0e).concat(M0e).concat(I0e).concat(D0e).concat($0e).concat(L0e),Mx="++",F0e=new RegExp("(["+Do+"])");function sZ(e,t,n,r){if(t){var a=new ai(r);a.selectNumberingPlan(t,n);var i=new RegExp(a.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var o=e.match(F0e);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]==="0"))return e}}}function M$(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var a,i,o=r.length-1,l=o>0&&r[o];if(t.nationalPrefixTransformRule()&&l)a=e.replace(n,t.nationalPrefixTransformRule()),o>1&&(i=r[1]);else{var u=r[0];a=e.slice(u.length),l&&(i=r[1])}var d;if(l){var f=e.indexOf(r[1]),g=e.slice(0,f);g===t.numberingPlan.nationalPrefix()&&(d=t.numberingPlan.nationalPrefix())}else d=r[0];return{nationalNumber:a,nationalPrefix:d,carrierCode:i}}}return{nationalNumber:e}}function I$(e,t){var n=M$(e,t),r=n.carrierCode,a=n.nationalNumber;if(a!==e){if(!j0e(e,a,t))return{nationalNumber:e};if(t.possibleLengths()&&!U0e(a,t))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:r}}function j0e(e,t,n){return!(Pd(e,n.nationalNumberPattern())&&!Pd(t,n.nationalNumberPattern()))}function U0e(e,t){switch(Nx(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function lZ(e,t,n,r){var a=t?om(t,r):n;if(e.indexOf(a)===0){r=new ai(r),r.selectNumberingPlan(t,n);var i=e.slice(a.length),o=I$(i,r),l=o.nationalNumber,u=I$(e,r),d=u.nationalNumber;if(!Pd(d,r.nationalNumberPattern())&&Pd(l,r.nationalNumberPattern())||Nx(d,r)==="TOO_LONG")return{countryCallingCode:a,number:i}}return{number:e}}function j3(e,t,n,r){if(!e)return{};var a;if(e[0]!=="+"){var i=sZ(e,t,n,r);if(i&&i!==e)a=!0,e="+"+i;else{if(t||n){var o=lZ(e,t,n,r),l=o.countryCallingCode,u=o.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:u}}return{number:e}}}if(e[1]==="0")return{};r=new ai(r);for(var d=2;d-1<=A0e&&d<=e.length;){var f=e.slice(1,d);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(d)};d++}return{}}function uZ(e){return e.replace(new RegExp("[".concat(mu,"]+"),"g")," ").trim()}var cZ=/(\$\d)/;function dZ(e,t,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var i=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():a&&t.nationalPrefixFormattingRule()?t.format().replace(cZ,t.nationalPrefixFormattingRule()):t.format());return r?uZ(i):i}var B0e=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function W0e(e,t,n){var r=new ai(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(B0e.test(r.IDDPrefix()))return r.IDDPrefix()}var z0e=";ext=",Ly=function(t){return"([".concat(Do,"]{1,").concat(t,"})")};function fZ(e){var t="20",n="15",r="9",a="6",i="[  \\t,]*",o="[:\\..]?[  \\t,-]*",l="#?",u="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",d="(?:[xx##~~]|int|int)",f="[- ]+",g="[  \\t]*",y="(?:,{2}|;)",p=z0e+Ly(t),v=i+u+o+Ly(t)+l,E=i+d+o+Ly(r)+l,T=f+Ly(a)+"#",C=g+y+o+Ly(n)+l,k=g+"(?:,)+"+o+Ly(r)+l;return p+"|"+v+"|"+E+"|"+T+"|"+C+"|"+k}var q0e="["+Do+"]{"+F3+"}",H0e="["+Mx+"]{0,1}(?:["+mu+"]*["+Do+"]){3,}["+mu+Do+"]*",V0e=new RegExp("^["+Mx+"]{0,1}(?:["+mu+"]*["+Do+"]){1,2}$","i"),G0e=H0e+"(?:"+fZ()+")?",Y0e=new RegExp("^"+q0e+"$|^"+G0e+"$","i");function K0e(e){return e.length>=F3&&Y0e.test(e)}function X0e(e){return V0e.test(e)}function Q0e(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function Z0e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=J0e(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 J0e(e,t){if(e){if(typeof e=="string")return yB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yB(e,t)}}function yB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var i=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(t.search(i)!==0)continue}if(Pd(t,a.pattern()))return a}}function nP(e,t,n,r){return t?r(e,t,n):e}function rwe(e,t,n,r,a){var i=om(r,a.metadata);if(i===n){var o=Pk(e,t,"NATIONAL",a);return n==="1"?n+" "+o:o}var l=W0e(r,void 0,a.metadata);if(l)return"".concat(l," ").concat(n," ").concat(Pk(e,null,"INTERNATIONAL",a))}function EB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function TB(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function gwe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function fS(e,t){return fS=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},fS(e,t)}function pS(e){return pS=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pS(e)}var bd=(function(e){pwe(n,e);var t=mwe(n);function n(r){var a;return fwe(this,n),a=t.call(this,r),Object.setPrototypeOf(mZ(a),n.prototype),a.name=a.constructor.name,a}return dwe(n)})($$(Error)),CB=new RegExp("(?:"+fZ()+")$","i");function vwe(e){var t=e.search(CB);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(CB),a=1;a=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 bwe(e,t){if(e){if(typeof e=="string")return kB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kB(e,t)}}function kB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Ewe(e,t){if(e){if(typeof e=="string")return xB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xB(e,t)}}function xB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Cwe(e,t){if(e){if(typeof e=="string")return _B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _B(e,t)}}function _B(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Dwe(e){return e===null?!0:e.length===0?!1:_we.test(e)||Nwe.test(e)}function $we(e,t){var n=t.extractFormattedPhoneNumber,r=Iwe(e);if(!Dwe(r))throw new bd("NOT_A_NUMBER");var a;if(r===null)a=n(e)||"";else{a="",r.charAt(0)===wZ&&(a+=r);var i=e.indexOf(RB),o;i>=0?o=i+RB.length:o=0;var l=e.indexOf(j$);a+=e.substring(o,l)}var u=a.indexOf(Mwe);if(u>0&&(a=a.substring(0,u)),a!=="")return a}var Lwe=250,Fwe=new RegExp("["+Mx+Do+"]"),jwe=new RegExp("[^"+Do+"#]+$");function Uwe(e,t,n){if(t=t||{},n=new ai(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new bd("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Wwe(e,t.v2,t.extract),a=r.number,i=r.ext,o=r.error;if(!a){if(t.v2)throw o==="TOO_SHORT"?new bd("TOO_SHORT"):new bd("NOT_A_NUMBER");return{}}var l=qwe(a,t.defaultCountry,t.defaultCallingCode,n),u=l.country,d=l.nationalNumber,f=l.countryCallingCode,g=l.countryCallingCodeSource,y=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new bd("INVALID_COUNTRY");return{}}if(!d||d.lengthP0e){if(t.v2)throw new bd("TOO_LONG");return{}}if(t.v2){var p=new pZ(f,d,n.metadata);return u&&(p.country=u),y&&(p.carrierCode=y),i&&(p.ext=i),p.__countryCallingCodeSource=g,p}var v=(t.extended?n.hasSelectedNumberingPlan():u)?Pd(d,n.nationalNumberPattern()):!1;return t.extended?{country:u,countryCallingCode:f,carrierCode:y,valid:v,possible:v?!0:!!(t.extended===!0&&n.possibleLengths()&&oZ(d,n)),phone:d,ext:i}:v?zwe(u,d,i):{}}function Bwe(e,t,n){if(e){if(e.length>Lwe){if(n)throw new bd("TOO_LONG");return}if(t===!1)return e;var r=e.search(Fwe);if(!(r<0))return e.slice(r).replace(jwe,"")}}function Wwe(e,t,n){var r=$we(e,{extractFormattedPhoneNumber:function(o){return Bwe(o,n,t)}});if(!r)return{};if(!K0e(r))return X0e(r)?{error:"TOO_SHORT"}:{};var a=vwe(r);return a.ext?a:{number:r}}function zwe(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function qwe(e,t,n,r){var a=j3(L$(e),t,n,r.metadata),i=a.countryCallingCodeSource,o=a.countryCallingCode,l=a.number,u;if(o)r.selectNumberingPlan(o);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(u=t),o=n||om(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:i,countryCallingCode:o};var d=I$(L$(l),r),f=d.nationalNumber,g=d.carrierCode,y=bZ(o,{nationalNumber:f,defaultCountry:t,metadata:r});return y&&(u=y,y==="001"||r.country(u)),{country:u,countryCallingCode:o,countryCallingCodeSource:i,nationalNumber:f,carrierCode:g}}function PB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function AB(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 u1e(e,t){if(e){if(typeof e=="string")return $B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $B(e,t)}}function $B(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function LB(e,t){return e[t]===")"&&t++,c1e(e.slice(0,t))}function c1e(e){for(var t=[],n=0;n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 T1e(e,t){if(e){if(typeof e=="string")return UB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return UB(e,t)}}function UB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},a=r.allowOverflow;if(!n)throw new Error("String is required");var i=U$(n.split(""),this.matchTree,!0);if(i&&i.match&&delete i.matchedChars,!(i&&i.overflow&&!a))return i}}]),e})();function U$(e,t,n){if(typeof t=="string"){var r=e.join("");return t.indexOf(r)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(t)===0?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var a=e.slice(),i=0;i=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 O1e(e,t){if(e){if(typeof e=="string")return WB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WB(e,t)}}function WB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)){var a=this.getTemplateForFormat(n,r);if(a)return this.setNationalNumberTemplate(a,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&I1e.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var a=n.IDDPrefix,i=n.missingPlus;return a?r&&r.spacing===!1?a:a+" ":i?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,a=0,i=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";ad.length)){var f=new RegExp("^"+u+"$"),g=a.replace(/\d/g,B$);f.test(g)&&(d=g);var y=this.getFormatFormat(n,i),p;if(this.shouldTryNationalPrefixFormattingRule(n,{international:i,nationalPrefix:o})){var v=y.replace(cZ,n.nationalPrefixFormattingRule());if(Ak(n.nationalPrefixFormattingRule())===(o||"")+Ak("$1")&&(y=v,p=!0,o))for(var E=o.length;E>0;)y=y.replace(/\d/,uu),E--}var T=d.replace(new RegExp(u),y).replace(new RegExp(B$,"g"),uu);return p||(l?T=YC(uu,l.length)+" "+T:o&&(T=YC(uu,o.length)+this.getSeparatorAfterNationalPrefix(n)+T)),i&&(T=uZ(T)),T}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=d1e(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],LB(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var a=r.international,i=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var o=n.usesNationalPrefix();if(o&&i||!o&&!a)return!0}}}]),e})();function SZ(e,t){return W1e(e)||B1e(e,t)||U1e(e,t)||j1e()}function j1e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U1e(e,t){if(e){if(typeof e=="string")return qB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qB(e,t)}}function qB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=3;if(r.appendDigits(n),i&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(o){return r.update(o)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,a=n.callingCode;return r&&!a}},{key:"extractCountryCallingCode",value:function(n){var r=j3("+"+n.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=r.countryCallingCode,i=r.number;if(a)return n.setCallingCode(a),n.update({nationalSignificantNumber:i}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&X1e.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var a=M$(n,this.metadata),i=a.nationalPrefix,o=a.nationalNumber,l=a.carrierCode;if(o!==n)return this.onExtractedNationalNumber(i,l,o,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,a){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,a);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var i=M$(n,this.metadata),o=i.nationalPrefix,l=i.nationalNumber,u=i.carrierCode;if(l!==r)return this.onExtractedNationalNumber(o,u,l,n,a),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,a,i,o){var l,u,d=i.lastIndexOf(a);if(d>=0&&d===i.length-a.length){u=!0;var f=i.slice(0,d);f!==n&&(l=f)}o({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:a,nationalSignificantNumberMatchesInput:u,complexPrefixBeforeNationalSignificantNumber:l}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(n){if(this.extractAnotherNationalSignificantNumber(n.getNationalDigits(),n.nationalSignificantNumber,function(r){return n.update(r)}))return!0;if(this.extractIddPrefix(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0;if(this.fixMissingPlus(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0}},{key:"extractIddPrefix",value:function(n){var r=n.international,a=n.IDDPrefix,i=n.digits;if(n.nationalSignificantNumber,!(r||a)){var o=sZ(i,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(o!==void 0&&o!==i)return n.update({IDDPrefix:i.slice(0,i.length-o.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=lZ(n.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=r.countryCallingCode;if(r.number,a)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:a}),!0}}},{key:"startInternationalNumber",value:function(n,r){var a=r.country,i=r.callingCode;n.startInternationalNumber(a,i),n.nationalSignificantNumber&&(n.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(n){this.extractCountryCallingCode(n)&&this.extractNationalSignificantNumber(n.getNationalDigits(),function(r){return n.update(r)})}}]),e})();function Z1e(e){var t=e.search(Y1e);if(!(t<0)){e=e.slice(t);var n;return e[0]==="+"&&(n=!0,e=e.slice(1)),e=e.replace(K1e,""),n&&(e="+"+e),e}}function J1e(e){var t=Z1e(e)||"";return t[0]==="+"?[t.slice(1),!0]:[t]}function eSe(e){var t=J1e(e),n=SZ(t,2),r=n[0],a=n[1];return G1e.test(r)||(r=""),[r,a]}function tSe(e,t){return iSe(e)||aSe(e,t)||rSe(e,t)||nSe()}function nSe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rSe(e,t){if(e){if(typeof e=="string")return HB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HB(e,t)}}function HB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(bZ(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,a=n.callingCode,i=n.country,o=n.nationalSignificantNumber;if(r){if(this.isInternational())return a?"+"+a+o:"+"+r;if(i||a){var l=i?this.metadata.countryCallingCode():a;return"+"+l+o}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,a=n.carrierCode,i=n.callingCode,o=this._getCountry();if(r&&!(!o&&!i)){if(o&&o===this.defaultCountry){var l=new ai(this.metadata.metadata);l.selectNumberingPlan(o);var u=l.numberingPlan.callingCode(),d=this.metadata.getCountryCodesForCallingCode(u);if(d.length>1){var f=yZ(r,{countries:d,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});f&&(o=f)}}var g=new pZ(o||i,r,this.metadata.metadata);return a&&(g.carrierCode=a),g}}},{key:"isPossible",value:function(){var n=this.getNumber();return n?n.isPossible():!1}},{key:"isValid",value:function(){var n=this.getNumber();return n?n.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),e})();function VB(e){return new ai(e).getCountries()}function uSe(e,t,n){return n||(n=t,t=void 0),new Bb(t,n).input(e)}function EZ(e){var t=e.inputFormat,n=e.country,r=e.metadata;return t==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(om(n,r)):""}function W$(e,t){return t&&(e=e.slice(t.length),e[0]===" "&&(e=e.slice(1))),e}function cSe(e,t,n){if(!(n&&n.ignoreRest)){var r=function(i){if(n)switch(i){case"end":n.ignoreRest=!0;break}};return vZ(e,t,r)}}function TZ(e){var t=e.onKeyDown,n=e.inputFormat;return R.useCallback(function(r){if(r.keyCode===fSe&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&dSe(r.target)===pSe.length){r.preventDefault();return}t&&t(r)},[t,n])}function dSe(e){return e.selectionStart}var fSe=8,pSe="+",mSe=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function z$(){return z$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function vSe(e){function t(n,r){var a=n.onKeyDown,i=n.country,o=n.inputFormat,l=n.metadata,u=l===void 0?e:l;n.international,n.withCountryCallingCode;var d=hSe(n,mSe),f=R.useCallback(function(y){var p=new Bb(i,u),v=EZ({inputFormat:o,country:i,metadata:u}),E=p.input(v+y),T=p.getTemplate();return v&&(E=W$(E,v),T&&(T=W$(T,v))),{text:E,template:T}},[i,u]),g=TZ({onKeyDown:a,inputFormat:o});return ze.createElement(Rk,z$({},d,{ref:r,parse:cSe,format:f,onKeyDown:g}))}return t=ze.forwardRef(t),t.propTypes={value:Ye.string.isRequired,onChange:Ye.func.isRequired,onKeyDown:Ye.func,country:Ye.string,inputFormat:Ye.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Ye.object},t}const ySe=vSe();var bSe=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function q$(){return q$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function SSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function ESe(e){function t(n,r){var a=n.value,i=n.onChange,o=n.onKeyDown,l=n.country,u=n.inputFormat,d=n.metadata,f=d===void 0?e:d,g=n.inputComponent,y=g===void 0?"input":g;n.international,n.withCountryCallingCode;var p=wSe(n,bSe),v=EZ({inputFormat:u,country:l,metadata:f}),E=R.useCallback(function(C){var k=L$(C.target.value);if(k===a){var _=GB(v,k,l,f);_.indexOf(C.target.value)===0&&(k=k.slice(0,-1))}i(k)},[v,a,i,l,f]),T=TZ({onKeyDown:o,inputFormat:u});return ze.createElement(y,q$({},p,{ref:r,value:GB(v,a,l,f),onChange:E,onKeyDown:T}))}return t=ze.forwardRef(t),t.propTypes={value:Ye.string.isRequired,onChange:Ye.func.isRequired,onKeyDown:Ye.func,country:Ye.string,inputFormat:Ye.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Ye.object,inputComponent:Ye.elementType},t}const TSe=ESe();function GB(e,t,n,r){return W$(uSe(e+t,n,r),e)}function CSe(e){return YB(e[0])+YB(e[1])}function YB(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var kSe=["value","onChange","options","disabled","readOnly"],xSe=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function _Se(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=OSe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 OSe(e,t){if(e){if(typeof e=="string")return KB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KB(e,t)}}function KB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function RSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function kZ(e){var t=e.value,n=e.onChange,r=e.options,a=e.disabled,i=e.readOnly,o=CZ(e,kSe),l=R.useCallback(function(u){var d=u.target.value;n(d==="ZZ"?void 0:d)},[n]);return R.useMemo(function(){return _Z(r,t)},[r,t]),ze.createElement("select",Nk({},o,{disabled:a||i,readOnly:i,value:t||"ZZ",onChange:l}),r.map(function(u){var d=u.value,f=u.label,g=u.divider;return ze.createElement("option",{key:g?"|":d||"ZZ",value:g?"|":d||"ZZ",disabled:!!g,style:g?PSe:void 0},f)}))}kZ.propTypes={value:Ye.string,onChange:Ye.func.isRequired,options:Ye.arrayOf(Ye.shape({value:Ye.string,label:Ye.string,divider:Ye.bool})).isRequired,disabled:Ye.bool,readOnly:Ye.bool};var PSe={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function xZ(e){var t=e.value,n=e.options,r=e.className,a=e.iconComponent;e.getIconAspectRatio;var i=e.arrowComponent,o=i===void 0?ASe:i,l=e.unicodeFlags,u=CZ(e,xSe),d=R.useMemo(function(){return _Z(n,t)},[n,t]);return ze.createElement("div",{className:"PhoneInputCountry"},ze.createElement(kZ,Nk({},u,{value:t,options:n,className:ia("PhoneInputCountrySelect",r)})),d&&(l&&t?ze.createElement("div",{className:"PhoneInputCountryIconUnicode"},CSe(t)):ze.createElement(a,{"aria-hidden":!0,country:t,label:d.label,aspectRatio:l?1:void 0})),ze.createElement(o,null))}xZ.propTypes={iconComponent:Ye.elementType,arrowComponent:Ye.elementType,unicodeFlags:Ye.bool};function ASe(){return ze.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function _Z(e,t){for(var n=_Se(e),r;!(r=n()).done;){var a=r.value;if(!a.divider&&NSe(a.value,t))return a}}function NSe(e,t){return e==null?t==null:e===t}var MSe=["country","countryName","flags","flagUrl"];function H$(){return H$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function U3(e){var t=e.country,n=e.countryName,r=e.flags,a=e.flagUrl,i=ISe(e,MSe);return r&&r[t]?r[t]({title:n}):ze.createElement("img",H$({},i,{alt:n,role:n?void 0:"presentation",src:a.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}U3.propTypes={country:Ye.string.isRequired,countryName:Ye.string.isRequired,flags:Ye.objectOf(Ye.elementType),flagUrl:Ye.string.isRequired};var $Se=["aspectRatio"],LSe=["title"],FSe=["title"];function Mk(){return Mk=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function Ix(e){var t=e.aspectRatio,n=B3(e,$Se);return t===1?ze.createElement(RZ,n):ze.createElement(OZ,n)}Ix.propTypes={title:Ye.string.isRequired,aspectRatio:Ye.number};function OZ(e){var t=e.title,n=B3(e,LSe);return ze.createElement("svg",Mk({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),ze.createElement("title",null,t),ze.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},ze.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),ze.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),ze.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),ze.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),ze.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),ze.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),ze.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}OZ.propTypes={title:Ye.string.isRequired};function RZ(e){var t=e.title,n=B3(e,FSe);return ze.createElement("svg",Mk({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),ze.createElement("title",null,t),ze.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},ze.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),ze.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),ze.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),ze.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),ze.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),ze.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),ze.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}RZ.propTypes={title:Ye.string.isRequired};function USe(e){if(e.length<2||e[0]!=="+")return!1;for(var t=1;t=48&&n<=57))return!1;t++}return!0}function PZ(e){USe(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function BSe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=WSe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 WSe(e,t){if(e){if(typeof e=="string")return XB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return XB(e,t)}}function XB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0))return e}function Dx(e,t){return aZ(e,t)?!0:(console.error("Country not found: ".concat(e)),!1)}function AZ(e,t){return e&&(e=e.filter(function(n){return Dx(n,t)}),e.length===0&&(e=void 0)),e}var HSe=["country","label","aspectRatio"];function V$(){return V$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function GSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function NZ(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,a=e.internationalIcon;function i(o){var l=o.country,u=o.label,d=o.aspectRatio,f=VSe(o,HSe),g=a===Ix?d:void 0;return ze.createElement("div",V$({},f,{className:ia("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":g===1,"PhoneInputCountryIcon--border":l})}),l?ze.createElement(r,{country:l,countryName:u,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):ze.createElement(a,{title:u,aspectRatio:g,className:"PhoneInputCountryIconImg"}))}return i.propTypes={country:Ye.string,label:Ye.string.isRequired,aspectRatio:Ye.number},i}NZ({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:U3,internationalIcon:Ix});function YSe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=KSe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 KSe(e,t){if(e){if(typeof e=="string")return QB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return QB(e,t)}}function QB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(u=a()),u}function JSe(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,a=e.compareStringsLocales,i=e.compareStrings;i||(i=oEe);var o=t.map(function(l){return{value:l,label:n[l]||l}});return o.sort(function(l,u){return i(l.label,u.label,a)}),r&&o.unshift({label:n.ZZ}),o}function DZ(e,t){return r1e(e||"",t)}function eEe(e){return e.formatNational().replace(/\D/g,"")}function tEe(e,t){var n=t.prevCountry,r=t.newCountry,a=t.metadata,i=t.useNationalFormat;if(n===r)return e;if(!e)return i?"":r?kd(r,a):"";if(r){if(e[0]==="+"){if(i)return e.indexOf("+"+om(r,a))===0?sEe(e,r,a):"";if(n){var o=kd(r,a);return e.indexOf(o)===0?e:o}else{var l=kd(r,a);return e.indexOf(l)===0?e:l}}}else if(e[0]!=="+")return Zy(e,n,a)||"";return e}function Zy(e,t,n){if(e){if(e[0]==="+"){if(e==="+")return;var r=new Bb(t,n);return r.input(e),r.getNumberValue()}if(t){var a=LZ(e,t,n);return"+".concat(om(t,n)).concat(a||"")}}}function nEe(e,t,n){var r=LZ(e,t,n);if(r){var a=r.length-rEe(t,n);if(a>0)return e.slice(0,e.length-a)}return e}function rEe(e,t){return t=new ai(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}function $Z(e,t){var n=t.country,r=t.countries,a=t.defaultCountry,i=t.latestCountrySelectedByUser,o=t.required,l=t.metadata;if(e==="+")return n;var u=iEe(e,l);if(u)return!r||r.indexOf(u)>=0?u:void 0;if(n){if(pb(e,n,l)){if(i&&pb(e,i,l))return i;if(a&&pb(e,a,l))return a;if(!o)return}else if(!o)return}return n}function aEe(e,t){var n=t.prevPhoneDigits,r=t.country,a=t.defaultCountry,i=t.latestCountrySelectedByUser,o=t.countryRequired,l=t.getAnyCountry,u=t.countries,d=t.international,f=t.limitMaxLength,g=t.countryCallingCodeEditable,y=t.metadata;if(d&&g===!1&&r){var p=kd(r,y);if(e.indexOf(p)!==0){var v,E=e&&e[0]!=="+";return E?(e=p+e,v=Zy(e,r,y)):e=p,{phoneDigits:e,value:v,country:r}}}d===!1&&r&&e&&e[0]==="+"&&(e=ZB(e,r,y)),e&&r&&f&&(e=nEe(e,r,y)),e&&e[0]!=="+"&&(!r||d)&&(e="+"+e),!e&&n&&n[0]==="+"&&(d?r=void 0:r=a),e==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var T;return e&&(e[0]==="+"&&(e==="+"||r&&kd(r,y).indexOf(e)===0)?T=void 0:T=Zy(e,r,y)),T&&(r=$Z(T,{country:r,countries:u,defaultCountry:a,latestCountrySelectedByUser:i,required:!1,metadata:y}),d===!1&&r&&e&&e[0]==="+"&&(e=ZB(e,r,y),T=Zy(e,r,y))),!r&&o&&(r=a||l()),{phoneDigits:e,country:r,value:T}}function ZB(e,t,n){if(e.indexOf(kd(t,n))===0){var r=new Bb(t,n);r.input(e);var a=r.getNumber();return a?a.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function iEe(e,t){var n=new Bb(null,t);return n.input(e),n.getCountry()}function oEe(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):et?1:0}function sEe(e,t,n){if(t){var r="+"+om(t,n);if(e.length=0)&&(N=P.country):(N=$Z(o,{country:void 0,countries:I,metadata:r}),N||i&&o.indexOf(kd(i,r))===0&&(N=i))}var L;if(o){if(T){var j=N?T===N:pb(o,T,r);j?N||(N=T):L={latestCountrySelectedByUser:void 0}}}else L={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return pC(pC({},L),{},{phoneDigits:C({phoneNumber:P,value:o,defaultCountry:i}),value:o,country:o?N:i})}}function e8(e,t){return e===null&&(e=void 0),t===null&&(t=void 0),e===t}var fEe=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function kb(e){"@babel/helpers - typeof";return kb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kb(e)}function t8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function jZ(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function hEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n8(e,t){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function OEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function zZ(e){var t=ze.forwardRef(function(n,r){var a=n.metadata,i=a===void 0?e:a,o=n.labels,l=o===void 0?kEe:o,u=_Ee(n,xEe);return ze.createElement(WZ,Y$({},u,{ref:r,metadata:i,labels:l}))});return t.propTypes={metadata:MZ,labels:IZ},t}zZ();const REe=zZ(Fbe),In=e=>{const{region:t}=sr(),{label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,children:u,errorMessage:d,type:f,focused:g=!1,autoFocus:y,...p}=e,[v,E]=R.useState(!1),T=R.useRef(),C=R.useCallback(()=>{var A;(A=T.current)==null||A.focus()},[T.current]);let k=l===void 0?"":l;f==="number"&&(k=+l);const _=A=>{o&&o(f==="number"?+A.target.value:A.target.value)};return w.jsxs(qd,{focused:v,onClick:C,...e,children:[e.type==="phonenumber"?w.jsx(REe,{country:t,autoFocus:y,value:k,onChange:A=>o&&o(A)}):w.jsx("input",{...p,ref:T,value:k,autoFocus:y,className:ia("form-control",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),type:f||"text",onChange:_,onBlur:()=>E(!1),onFocus:()=>E(!0)}),u]})};function no(e){"@babel/helpers - typeof";return no=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},no(e)}function PEe(e,t){if(no(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(no(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qZ(e){var t=PEe(e,"string");return no(t)=="symbol"?t:String(t)}function St(e,t,n){return t=qZ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?Ui(Wb,--is):0,_b--,Ya===10&&(_b=1,Lx--),Ya}function Ds(){return Ya=is2||gS(Ya)>3?"":" "}function YEe(e,t){for(;--t&&Ds()&&!(Ya<48||Ya>102||Ya>57&&Ya<65||Ya>70&&Ya<97););return KS(e,KC()+(t<6&&pc()==32&&Ds()==32))}function Q$(e){for(;Ds();)switch(Ya){case e:return is;case 34:case 39:e!==34&&e!==39&&Q$(Ya);break;case 40:e===41&&Q$(e);break;case 92:Ds();break}return is}function KEe(e,t){for(;Ds()&&e+Ya!==57;)if(e+Ya===84&&pc()===47)break;return"/*"+KS(t,is-1)+"*"+$x(e===47?e:Ds())}function XEe(e){for(;!gS(pc());)Ds();return KS(e,is)}function QEe(e){return QZ(QC("",null,null,null,[""],e=XZ(e),0,[0],e))}function QC(e,t,n,r,a,i,o,l,u){for(var d=0,f=0,g=o,y=0,p=0,v=0,E=1,T=1,C=1,k=0,_="",A=a,P=i,N=r,I=_;T;)switch(v=k,k=Ds()){case 40:if(v!=108&&Ui(I,g-1)==58){X$(I+=br(XC(k),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:I+=XC(k);break;case 9:case 10:case 13:case 32:I+=GEe(v);break;case 92:I+=YEe(KC()-1,7);continue;case 47:switch(pc()){case 42:case 47:mC(ZEe(KEe(Ds(),KC()),t,n),u);break;default:I+="/"}break;case 123*E:l[d++]=ic(I)*C;case 125*E:case 59:case 0:switch(k){case 0:case 125:T=0;case 59+f:C==-1&&(I=br(I,/\f/g,"")),p>0&&ic(I)-g&&mC(p>32?s8(I+";",r,n,g-1):s8(br(I," ","")+";",r,n,g-2),u);break;case 59:I+=";";default:if(mC(N=o8(I,t,n,d,f,a,l,_,A=[],P=[],g),i),k===123)if(f===0)QC(I,t,N,N,A,i,g,l,P);else switch(y===99&&Ui(I,3)===110?100:y){case 100:case 108:case 109:case 115:QC(e,N,N,r&&mC(o8(e,N,N,0,0,a,l,_,a,A=[],g),P),a,P,g,l,r?A:P);break;default:QC(I,N,N,N,[""],P,0,l,P)}}d=f=p=0,E=C=1,_=I="",g=o;break;case 58:g=1+ic(I),p=v;default:if(E<1){if(k==123)--E;else if(k==125&&E++==0&&VEe()==125)continue}switch(I+=$x(k),k*E){case 38:C=f>0?1:(I+="\f",-1);break;case 44:l[d++]=(ic(I)-1)*C,C=1;break;case 64:pc()===45&&(I+=XC(Ds())),y=pc(),f=g=ic(_=I+=XEe(KC())),k++;break;case 45:v===45&&ic(I)==2&&(E=0)}}return i}function o8(e,t,n,r,a,i,o,l,u,d,f){for(var g=a-1,y=a===0?i:[""],p=H3(y),v=0,E=0,T=0;v0?y[C]+" "+k:br(k,/&\f/g,y[C])))&&(u[T++]=_);return Fx(e,t,n,a===0?z3:l,u,d,f)}function ZEe(e,t,n){return Fx(e,t,n,VZ,$x(HEe()),hS(e,2,-2),0)}function s8(e,t,n,r){return Fx(e,t,n,q3,hS(e,0,r),hS(e,r+1,-1),r)}function hb(e,t){for(var n="",r=H3(e),a=0;a6)switch(Ui(e,t+1)){case 109:if(Ui(e,t+4)!==45)break;case 102:return br(e,/(.+:)(.+)-([^]+)/,"$1"+yr+"$2-$3$1"+$k+(Ui(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~X$(e,"stretch")?ZZ(br(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ui(e,t+1)!==115)break;case 6444:switch(Ui(e,ic(e)-3-(~X$(e,"!important")&&10))){case 107:return br(e,":",":"+yr)+e;case 101:return br(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+yr+(Ui(e,14)===45?"inline-":"")+"box$3$1"+yr+"$2$3$1"+Ki+"$2box$3")+e}break;case 5936:switch(Ui(e,t+11)){case 114:return yr+e+Ki+br(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yr+e+Ki+br(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yr+e+Ki+br(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return yr+e+Ki+e+e}return e}var sTe=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case q3:t.return=ZZ(t.value,t.length);break;case GZ:return hb([Hw(t,{value:br(t.value,"@","@"+yr)})],a);case z3:if(t.length)return qEe(t.props,function(i){switch(zEe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hb([Hw(t,{props:[br(i,/:(read-\w+)/,":"+$k+"$1")]})],a);case"::placeholder":return hb([Hw(t,{props:[br(i,/:(plac\w+)/,":"+yr+"input-$1")]}),Hw(t,{props:[br(i,/:(plac\w+)/,":"+$k+"$1")]}),Hw(t,{props:[br(i,/:(plac\w+)/,Ki+"input-$1")]})],a)}return""})}},lTe=[sTe],uTe=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var T=E.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var a=t.stylisPlugins||lTe,i={},o,l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var T=E.getAttribute("data-emotion").split(" "),C=1;C=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var mTe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function hTe(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var gTe=/[A-Z]|^ms/g,vTe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eJ=function(t){return t.charCodeAt(1)===45},u8=function(t){return t!=null&&typeof t!="boolean"},iP=hTe(function(e){return eJ(e)?e:e.replace(gTe,"-$&").toLowerCase()}),c8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(vTe,function(r,a,i){return oc={name:a,styles:i,next:oc},a})}return mTe[t]!==1&&!eJ(t)&&typeof n=="number"&&n!==0?n+"px":n};function vS(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return oc={name:n.name,styles:n.styles,next:oc},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)oc={name:r.name,styles:r.styles,next:oc},r=r.next;var a=n.styles+";";return a}return yTe(e,t,n)}case"function":{if(e!==void 0){var i=oc,o=n(e);return oc=i,vS(e,t,o)}break}}return n}function yTe(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function NTe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const MTe=Math.min,ITe=Math.max,Lk=Math.round,hC=Math.floor,Fk=e=>({x:e,y:e});function DTe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rJ(e){return iJ(e)?(e.nodeName||"").toLowerCase():"#document"}function Ad(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function aJ(e){var t;return(t=(iJ(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function iJ(e){return e instanceof Node||e instanceof Ad(e).Node}function $Te(e){return e instanceof Element||e instanceof Ad(e).Element}function Y3(e){return e instanceof HTMLElement||e instanceof Ad(e).HTMLElement}function f8(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ad(e).ShadowRoot}function oJ(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=K3(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function LTe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function FTe(e){return["html","body","#document"].includes(rJ(e))}function K3(e){return Ad(e).getComputedStyle(e)}function jTe(e){if(rJ(e)==="html")return e;const t=e.assignedSlot||e.parentNode||f8(e)&&e.host||aJ(e);return f8(t)?t.host:t}function sJ(e){const t=jTe(e);return FTe(t)?e.ownerDocument?e.ownerDocument.body:e.body:Y3(t)&&oJ(t)?t:sJ(t)}function jk(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=sJ(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=Ad(a);return i?t.concat(o,o.visualViewport||[],oJ(a)?a:[],o.frameElement&&n?jk(o.frameElement):[]):t.concat(a,jk(a,[],n))}function UTe(e){const t=K3(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=Y3(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,l=Lk(n)!==i||Lk(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function X3(e){return $Te(e)?e:e.contextElement}function p8(e){const t=X3(e);if(!Y3(t))return Fk(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=UTe(t);let o=(i?Lk(n.width):n.width)/r,l=(i?Lk(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const BTe=Fk(0);function WTe(e){const t=Ad(e);return!LTe()||!t.visualViewport?BTe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zTe(e,t,n){return!1}function m8(e,t,n,r){t===void 0&&(t=!1);const a=e.getBoundingClientRect(),i=X3(e);let o=Fk(1);t&&(o=p8(e));const l=zTe()?WTe(i):Fk(0);let u=(a.left+l.x)/o.x,d=(a.top+l.y)/o.y,f=a.width/o.x,g=a.height/o.y;if(i){const y=Ad(i),p=r;let v=y,E=v.frameElement;for(;E&&r&&p!==v;){const T=p8(E),C=E.getBoundingClientRect(),k=K3(E),_=C.left+(E.clientLeft+parseFloat(k.paddingLeft))*T.x,A=C.top+(E.clientTop+parseFloat(k.paddingTop))*T.y;u*=T.x,d*=T.y,f*=T.x,g*=T.y,u+=_,d+=A,v=Ad(E),E=v.frameElement}}return DTe({width:f,height:g,x:u,y:d})}function qTe(e,t){let n=null,r;const a=aJ(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:f,width:g,height:y}=e.getBoundingClientRect();if(l||t(),!g||!y)return;const p=hC(f),v=hC(a.clientWidth-(d+g)),E=hC(a.clientHeight-(f+y)),T=hC(d),k={rootMargin:-p+"px "+-v+"px "+-E+"px "+-T+"px",threshold:ITe(0,MTe(1,u))||1};let _=!0;function A(P){const N=P[0].intersectionRatio;if(N!==u){if(!_)return o();N?o(!1,N):r=setTimeout(()=>{o(!1,1e-7)},100)}_=!1}try{n=new IntersectionObserver(A,{...k,root:a.ownerDocument})}catch{n=new IntersectionObserver(A,k)}n.observe(e)}return o(!0),i}function HTe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,d=X3(e),f=a||i?[...d?jk(d):[],...jk(t)]:[];f.forEach(C=>{a&&C.addEventListener("scroll",n,{passive:!0}),i&&C.addEventListener("resize",n)});const g=d&&l?qTe(d,n):null;let y=-1,p=null;o&&(p=new ResizeObserver(C=>{let[k]=C;k&&k.target===d&&p&&(p.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var _;(_=p)==null||_.observe(t)})),n()}),d&&!u&&p.observe(d),p.observe(t));let v,E=u?m8(e):null;u&&T();function T(){const C=m8(e);E&&(C.x!==E.x||C.y!==E.y||C.width!==E.width||C.height!==E.height)&&n(),E=C,v=requestAnimationFrame(T)}return n(),()=>{var C;f.forEach(k=>{a&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),g==null||g(),(C=p)==null||C.disconnect(),p=null,u&&cancelAnimationFrame(v)}}var J$=R.useLayoutEffect,VTe=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Uk=function(){};function GTe(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function YTe(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a-1}function XTe(e){return jx(e)?window.innerHeight:e.clientHeight}function uJ(e){return jx(e)?window.pageYOffset:e.scrollTop}function Bk(e,t){if(jx(e)){window.scrollTo(0,t);return}e.scrollTop=t}function QTe(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function ZTe(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function gC(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Uk,a=uJ(e),i=t-a,o=10,l=0;function u(){l+=o;var d=ZTe(l,a,i,n);Bk(e,d),ln.bottom?Bk(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a1?n-1:0),a=1;a=v)return{placement:"bottom",maxHeight:t};if(j>=v&&!o)return i&&gC(u,z,le),{placement:"bottom",maxHeight:t};if(!o&&j>=r||o&&I>=r){i&&gC(u,z,le);var re=o?I-A:j-A;return{placement:"bottom",maxHeight:re}}if(a==="auto"||o){var ge=t,he=o?N:L;return he>=r&&(ge=Math.min(he-A-l,t)),{placement:"top",maxHeight:ge}}if(a==="bottom")return i&&Bk(u,z),{placement:"bottom",maxHeight:t};break;case"top":if(N>=v)return{placement:"top",maxHeight:t};if(L>=v&&!o)return i&&gC(u,Q,le),{placement:"top",maxHeight:t};if(!o&&L>=r||o&&N>=r){var W=t;return(!o&&L>=r||o&&N>=r)&&(W=o?N-P:L-P),i&&gC(u,Q,le),{placement:"top",maxHeight:W}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return d}function uCe(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var dJ=function(t){return t==="auto"?"bottom":t},cCe=function(t,n){var r,a=t.placement,i=t.theme,o=i.borderRadius,l=i.spacing,u=i.colors;return Zt((r={label:"menu"},St(r,uCe(a),"100%"),St(r,"position","absolute"),St(r,"width","100%"),St(r,"zIndex",1),r),n?{}:{backgroundColor:u.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},fJ=R.createContext(null),dCe=function(t){var n=t.children,r=t.minMenuHeight,a=t.maxMenuHeight,i=t.menuPlacement,o=t.menuPosition,l=t.menuShouldScrollIntoView,u=t.theme,d=R.useContext(fJ)||{},f=d.setPortalPlacement,g=R.useRef(null),y=R.useState(a),p=mi(y,2),v=p[0],E=p[1],T=R.useState(null),C=mi(T,2),k=C[0],_=C[1],A=u.spacing.controlHeight;return J$(function(){var P=g.current;if(P){var N=o==="fixed",I=l&&!N,L=lCe({maxHeight:a,menuEl:P,minHeight:r,placement:i,shouldScroll:I,isFixedPosition:N,controlHeight:A});E(L.maxHeight),_(L.placement),f==null||f(L.placement)}},[a,i,o,l,r,f,A]),n({ref:g,placerProps:Zt(Zt({},t),{},{placement:k||dJ(i),maxHeight:v})})},fCe=function(t){var n=t.children,r=t.innerRef,a=t.innerProps;return rn("div",vt({},Ta(t,"menu",{menu:!0}),{ref:r},a),n)},pCe=fCe,mCe=function(t,n){var r=t.maxHeight,a=t.theme.spacing.baseUnit;return Zt({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:a,paddingTop:a})},hCe=function(t){var n=t.children,r=t.innerProps,a=t.innerRef,i=t.isMulti;return rn("div",vt({},Ta(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:a},r),n)},pJ=function(t,n){var r=t.theme,a=r.spacing.baseUnit,i=r.colors;return Zt({textAlign:"center"},n?{}:{color:i.neutral40,padding:"".concat(a*2,"px ").concat(a*3,"px")})},gCe=pJ,vCe=pJ,yCe=function(t){var n=t.children,r=n===void 0?"No options":n,a=t.innerProps,i=wu(t,oCe);return rn("div",vt({},Ta(Zt(Zt({},i),{},{children:r,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),r)},bCe=function(t){var n=t.children,r=n===void 0?"Loading...":n,a=t.innerProps,i=wu(t,sCe);return rn("div",vt({},Ta(Zt(Zt({},i),{},{children:r,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),r)},wCe=function(t){var n=t.rect,r=t.offset,a=t.position;return{left:n.left,position:a,top:r,width:n.width,zIndex:1}},SCe=function(t){var n=t.appendTo,r=t.children,a=t.controlElement,i=t.innerProps,o=t.menuPlacement,l=t.menuPosition,u=R.useRef(null),d=R.useRef(null),f=R.useState(dJ(o)),g=mi(f,2),y=g[0],p=g[1],v=R.useMemo(function(){return{setPortalPlacement:p}},[]),E=R.useState(null),T=mi(E,2),C=T[0],k=T[1],_=R.useCallback(function(){if(a){var I=JTe(a),L=l==="fixed"?0:window.pageYOffset,j=I[y]+L;(j!==(C==null?void 0:C.offset)||I.left!==(C==null?void 0:C.rect.left)||I.width!==(C==null?void 0:C.rect.width))&&k({offset:j,rect:I})}},[a,l,y,C==null?void 0:C.offset,C==null?void 0:C.rect.left,C==null?void 0:C.rect.width]);J$(function(){_()},[_]);var A=R.useCallback(function(){typeof d.current=="function"&&(d.current(),d.current=null),a&&u.current&&(d.current=HTe(a,u.current,_,{elementResize:"ResizeObserver"in window}))},[a,_]);J$(function(){A()},[A]);var P=R.useCallback(function(I){u.current=I,A()},[A]);if(!n&&l!=="fixed"||!C)return null;var N=rn("div",vt({ref:P},Ta(Zt(Zt({},t),{},{offset:C.offset,position:l,rect:C.rect}),"menuPortal",{"menu-portal":!0}),i),r);return rn(fJ.Provider,{value:v},n?fc.createPortal(N,n):N)},ECe=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},TCe=function(t){var n=t.children,r=t.innerProps,a=t.isDisabled,i=t.isRtl;return rn("div",vt({},Ta(t,"container",{"--is-disabled":a,"--is-rtl":i}),r),n)},CCe=function(t,n){var r=t.theme.spacing,a=t.isMulti,i=t.hasValue,o=t.selectProps.controlShouldRenderValue;return Zt({alignItems:"center",display:a&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},kCe=function(t){var n=t.children,r=t.innerProps,a=t.isMulti,i=t.hasValue;return rn("div",vt({},Ta(t,"valueContainer",{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":i}),r),n)},xCe=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},_Ce=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ta(t,"indicatorsContainer",{indicators:!0}),r),n)},y8,OCe=["size"],RCe=["innerProps","isRtl","size"],PCe={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},mJ=function(t){var n=t.size,r=wu(t,OCe);return rn("svg",vt({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:PCe},r))},Q3=function(t){return rn(mJ,vt({size:20},t),rn("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},hJ=function(t){return rn(mJ,vt({size:20},t),rn("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},gJ=function(t,n){var r=t.isFocused,a=t.theme,i=a.spacing.baseUnit,o=a.colors;return Zt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:i*2,":hover":{color:r?o.neutral80:o.neutral40}})},ACe=gJ,NCe=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ta(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||rn(hJ,null))},MCe=gJ,ICe=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ta(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||rn(Q3,null))},DCe=function(t,n){var r=t.isDisabled,a=t.theme,i=a.spacing.baseUnit,o=a.colors;return Zt({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:i*2,marginTop:i*2})},$Ce=function(t){var n=t.innerProps;return rn("span",vt({},n,Ta(t,"indicatorSeparator",{"indicator-separator":!0})))},LCe=OTe(y8||(y8=NTe([` + `})]}),ef=({label:e,getInputRef:t,displayValue:n,Icon:r,children:a,errorMessage:i,validMessage:o,value:l,hint:u,onClick:d,onChange:f,className:g,focused:y=!1,hasAnimation:h})=>w.jsxs("div",{style:{position:"relative"},className:ia("mb-3",g),children:[e&&w.jsx("label",{className:"form-label",children:e}),a,w.jsx("div",{className:"form-text",children:u}),w.jsx("div",{className:"invalid-feedback",children:i}),w.jsx("div",{className:"valid-feedback",children:o})]}),Us=e=>{const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,isSubmitting:o,errorMessage:l,onChange:u,value:d,disabled:f,type:g,focused:y=!1,className:h,mutation:v,...E}=e,T=v==null?void 0:v.isLoading;return w.jsx("button",{onClick:e.onClick,type:"submit",disabled:f||T,className:ia("btn mb-3",`btn-${g||"primary"}`,h),...e,children:e.children||e.label})};function a0e(e,t,n={}){var r,a,i,o,l,u,d,f,g,y;if(t.isError){if(((r=t.error)==null?void 0:r.status)===404)return e.notfound+"("+n.remote+")";if(t.error.message==="Failed to fetch")return e.networkError+"("+n.remote+")";if((i=(a=t.error)==null?void 0:a.error)!=null&&i.messageTranslated)return(l=(o=t.error)==null?void 0:o.error)==null?void 0:l.messageTranslated;if((d=(u=t.error)==null?void 0:u.error)!=null&&d.message)return(g=(f=t.error)==null?void 0:f.error)==null?void 0:g.message;let h=(y=t.error)==null?void 0:y.toString();return(h+"").includes("object Object")&&(h="There is an unknown error while getting information, please contact your software provider if issue persists."),h}return null}function Al({query:e,children:t}){var d,f,g,y;const n=At(),{options:r,setOverrideRemoteUrl:a,overrideRemoteUrl:i}=R.useContext(nt);let o=!1,l="80";try{if(r!=null&&r.prefix){const h=new URL(r==null?void 0:r.prefix);l=h.port||(h.protocol==="https:"?"443":"80"),o=(location.host.includes("192.168")||location.host.includes("127.0"))&&((f=(d=e.error)==null?void 0:d.message)==null?void 0:f.includes("Failed to fetch"))}}catch{}const u=()=>{a("http://"+location.hostname+":"+l+"/")};return e?w.jsxs(w.Fragment,{children:[e.isError&&w.jsxs("div",{className:"basic-error-box fadein",children:[a0e(n,e,{remote:r.prefix})||"",o&&w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:u,children:"Auto-reroute"}),i&&w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>a(void 0),children:"Reset"}),w.jsx("ul",{children:(((y=(g=e.error)==null?void 0:g.error)==null?void 0:y.errors)||[]).map(h=>w.jsxs("li",{children:[h.messageTranslated||h.message," (",h.location,")"]},h.location))}),e.refetch&&w.jsx(Us,{onClick:e.refetch,children:"Retry"})]}),!e.isError||e.isPreviousData?t:null]}):null}function BJ({content:e,columns:t,uniqueIdHrefHandler:n,style:r}){const a=n?kl:"span";return w.jsx(a,{className:"auto-card-list-item card mb-2 p-3",style:r,href:n(e.uniqueId),children:t.map(i=>{let o=i.getCellValue?i.getCellValue(e):"";return o||(o=i.name?e[i.name]:""),o||(o="-"),i.name==="uniqueId"?null:w.jsxs("div",{className:"row auto-card-drawer",children:[w.jsxs("div",{className:"col-6",children:[i.title,":"]}),w.jsx("div",{className:"col-6",children:o})]},i.title)})})}const i0e=()=>{const e=At();return w.jsxs("div",{className:"empty-list-indicator",children:[w.jsx("img",{src:$s("/common/empty.png")}),w.jsx("div",{children:e.table.noRecords})]})};function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var WB=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function o0e(e,t){return!!(e===t||WB(e)&&WB(t))}function s0e(e,t){if(e.length!==t.length)return!1;for(var n=0;n=0)&&(n[a]=e[a]);return n}var u0e=typeof performance=="object"&&typeof performance.now=="function",zB=u0e?function(){return performance.now()}:function(){return Date.now()};function qB(e){cancelAnimationFrame(e.id)}function c0e(e,t){var n=zB();function r(){zB()-n>=t?e.call(null):a.id=requestAnimationFrame(r)}var a={id:requestAnimationFrame(r)};return a}var $P=-1;function HB(e){if(e===void 0&&(e=!1),$P===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),$P=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return $P}var ub=null;function VB(e){if(e===void 0&&(e=!1),ub===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?ub="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ub="negative":ub="positive-ascending"),document.body.removeChild(t),ub}return ub}var d0e=150,f0e=function(t,n){return t};function p0e(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,o=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=(function(g){Fv(y,g);function y(v){var E;return E=g.call(this,v)||this,E._instanceProps=u(E.props,Dt(E)),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:Dt(E),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=DP(function(T,C,k,_){return E.props.onItemsRendered({overscanStartIndex:T,overscanStopIndex:C,visibleStartIndex:k,visibleStopIndex:_})}),E._callOnScroll=void 0,E._callOnScroll=DP(function(T,C,k){return E.props.onScroll({scrollDirection:T,scrollOffset:C,scrollUpdateWasRequested:k})}),E._getItemStyle=void 0,E._getItemStyle=function(T){var C=E.props,k=C.direction,_=C.itemSize,A=C.layout,P=E._getItemStyleCache(d&&_,d&&A,d&&k),N;if(P.hasOwnProperty(T))N=P[T];else{var I=n(E.props,T,E._instanceProps),L=a(E.props,T,E._instanceProps),j=k==="horizontal"||A==="horizontal",z=k==="rtl",Q=j?I:0;P[T]=N={position:"absolute",left:z?void 0:Q,right:z?Q:void 0,top:j?0:I,height:j?"100%":L,width:j?L:"100%"}}return N},E._getItemStyleCache=void 0,E._getItemStyleCache=DP(function(T,C,k){return{}}),E._onScrollHorizontal=function(T){var C=T.currentTarget,k=C.clientWidth,_=C.scrollLeft,A=C.scrollWidth;E.setState(function(P){if(P.scrollOffset===_)return null;var N=E.props.direction,I=_;if(N==="rtl")switch(VB()){case"negative":I=-_;break;case"positive-descending":I=A-k-_;break}return I=Math.max(0,Math.min(I,A-k)),{isScrolling:!0,scrollDirection:P.scrollOffsetN.clientWidth?HB():0:P=N.scrollHeight>N.clientHeight?HB():0}this.scrollTo(i(this.props,E,T,A,this._instanceProps,P))},h.componentDidMount=function(){var E=this.props,T=E.direction,C=E.initialScrollOffset,k=E.layout;if(typeof C=="number"&&this._outerRef!=null){var _=this._outerRef;T==="horizontal"||k==="horizontal"?_.scrollLeft=C:_.scrollTop=C}this._callPropsCallbacks()},h.componentDidUpdate=function(){var E=this.props,T=E.direction,C=E.layout,k=this.state,_=k.scrollOffset,A=k.scrollUpdateWasRequested;if(A&&this._outerRef!=null){var P=this._outerRef;if(T==="horizontal"||C==="horizontal")if(T==="rtl")switch(VB()){case"negative":P.scrollLeft=-_;break;case"positive-ascending":P.scrollLeft=_;break;default:var N=P.clientWidth,I=P.scrollWidth;P.scrollLeft=I-N-_;break}else P.scrollLeft=_;else P.scrollTop=_}this._callPropsCallbacks()},h.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&qB(this._resetIsScrollingTimeoutId)},h.render=function(){var E=this.props,T=E.children,C=E.className,k=E.direction,_=E.height,A=E.innerRef,P=E.innerElementType,N=E.innerTagName,I=E.itemCount,L=E.itemData,j=E.itemKey,z=j===void 0?f0e:j,Q=E.layout,le=E.outerElementType,re=E.outerTagName,ge=E.style,me=E.useIsScrolling,W=E.width,G=this.state.isScrolling,q=k==="horizontal"||Q==="horizontal",ce=q?this._onScrollHorizontal:this._onScrollVertical,H=this._getRangeToRender(),Y=H[0],ie=H[1],J=[];if(I>0)for(var ee=Y;ee<=ie;ee++)J.push(R.createElement(T,{data:L,key:z(ee,L),index:ee,isScrolling:me?G:void 0,style:this._getItemStyle(ee)}));var Z=r(this.props,this._instanceProps);return R.createElement(le||re||"div",{className:C,onScroll:ce,ref:this._outerRefSetter,style:vt({position:"relative",height:_,width:W,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:k},ge)},R.createElement(P||N||"div",{children:J,ref:A,style:{height:q?"100%":Z,pointerEvents:G?"none":void 0,width:q?Z:"100%"}}))},h._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var T=this._getRangeToRender(),C=T[0],k=T[1],_=T[2],A=T[3];this._callOnItemsRendered(C,k,_,A)}}if(typeof this.props.onScroll=="function"){var P=this.state,N=P.scrollDirection,I=P.scrollOffset,L=P.scrollUpdateWasRequested;this._callOnScroll(N,I,L)}},h._getRangeToRender=function(){var E=this.props,T=E.itemCount,C=E.overscanCount,k=this.state,_=k.isScrolling,A=k.scrollDirection,P=k.scrollOffset;if(T===0)return[0,0,0,0];var N=o(this.props,P,this._instanceProps),I=l(this.props,N,P,this._instanceProps),L=!_||A==="backward"?Math.max(1,C):1,j=!_||A==="forward"?Math.max(1,C):1;return[Math.max(0,N-L),Math.max(0,Math.min(T-1,I+j)),N,I]},y})(R.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var h0e=function(t,n){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,n.instance},m0e=p0e({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,a,i,o){var l=t.direction,u=t.height,d=t.itemCount,f=t.itemSize,g=t.layout,y=t.width,h=l==="horizontal"||g==="horizontal",v=h?y:u,E=Math.max(0,d*f-v),T=Math.min(E,n*f),C=Math.max(0,n*f-v+f+o);switch(r==="smart"&&(a>=C-v&&a<=T+v?r="auto":r="center"),r){case"start":return T;case"end":return C;case"center":{var k=Math.round(C+(T-C)/2);return kE+Math.floor(v/2)?E:k}case"auto":default:return a>=C&&a<=T?a:a{var k,_,A,P,N,I;At();const l=R.useRef();let[u,d]=R.useState([]);const[f,g]=R.useState(!0),y=js();t&&t({queryClient:y});const h=(L,j)=>{const z=r.debouncedFilters.startIndex||0,Q=[...u];l.current!==j&&(Q.length=0,l.current=j);for(let le=z;le<(r.debouncedFilters.itemsPerPage||0)+z;le++){const re=le-z;L[re]&&(Q[le]=L[re])}d(Q)};R.useEffect(()=>{var j,z,Q;const L=((z=(j=i.query.data)==null?void 0:j.data)==null?void 0:z.items)||[];h(L,(Q=i.query.data)==null?void 0:Q.jsonQuery)},[(_=(k=i.query.data)==null?void 0:k.data)==null?void 0:_.items]);const v=({index:L,style:j})=>{var Q,le;return u[L]?o?w.jsx(o,{content:u[L]},(Q=u[L])==null?void 0:Q.uniqueId):w.jsx(BJ,{style:{...j,top:j.top+10,height:j.height-10,width:j.width},uniqueIdHrefHandler:n,columns:e,content:u[L]},(le=u[L])==null?void 0:le.uniqueId):null},E=({scrollOffset:L})=>{L===0&&!f?g(!0):L>0&&f&&g(!1)},T=R.useCallback(()=>(i.query.refetch(),Promise.resolve(!0)),[]),C=((N=(P=(A=i.query)==null?void 0:A.data)==null?void 0:P.data)==null?void 0:N.totalItems)||0;return w.jsx(w.Fragment,{children:w.jsx(e0e,{pullDownContent:w.jsx(n0e,{label:""}),releaseContent:w.jsx(r0e,{}),refreshContent:w.jsx(t0e,{}),pullDownThreshold:200,onRefresh:T,triggerHeight:f?500:0,startInvisible:!0,children:u.length===0&&!((I=i.query)!=null&&I.isError)?w.jsx("div",{style:{height:"calc(100vh - 130px)"},children:w.jsx(i0e,{})}):w.jsxs("div",{style:{height:"calc(100vh - 130px)"},children:[w.jsx(Al,{query:i.query}),w.jsx(Qbe,{isItemLoaded:L=>!!u[L],itemCount:C,loadMoreItems:async(L,j)=>{r.setFilter({startIndex:L,itemsPerPage:j-L})},children:({onItemsRendered:L,ref:j})=>w.jsx(Hbe,{children:({height:z,width:Q})=>w.jsx(m0e,{height:z,itemCount:u.length,itemSize:o!=null&&o.getHeight?o.getHeight():e.length*24+10,width:Q,onScroll:E,onItemsRendered:L,ref:j,children:v})})})]})})})},v0e=({columns:e,deleteHook:t,uniqueIdHrefHandler:n,udf:r,q:a})=>{var d,f,g,y,h,v,E,T;const i=At(),o=js();t&&t({queryClient:o}),(f=(d=a.query.data)==null?void 0:d.data)!=null&&f.items;const l=((h=(y=(g=a.query)==null?void 0:g.data)==null?void 0:y.data)==null?void 0:h.items)||[],u=((T=(E=(v=a.query)==null?void 0:v.data)==null?void 0:E.data)==null?void 0:T.totalItems)||0;return w.jsxs(w.Fragment,{children:[u===0&&w.jsx("p",{children:i.table.noRecords}),l.map(C=>w.jsx(BJ,{style:{},uniqueIdHrefHandler:n,columns:e,content:C},C.uniqueId))]})},GB=matchMedia("(max-width: 600px)");function y0e(){const e=R.useRef(GB),[t,n]=R.useState(GB.matches?"card":"datatable");return R.useEffect(()=>{const r=e.current;function a(){r.matches?n("card"):n("datatable")}return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[]),{view:t}}const jo=({children:e,columns:t,deleteHook:n,uniqueIdHrefHandler:r,withFilters:a,queryHook:i,onRecordsDeleted:o,selectable:l,id:u,RowDetail:d,withPreloads:f,queryFilters:g,deep:y,inlineInsertHook:h,bulkEditHook:v,urlMask:E,CardComponent:T})=>{var G,q,ce,H;At();const{view:C}=y0e(),k=js(),{query:_}=Nve({query:{uniqueId:i.UKEY}}),[A,P]=R.useState(t.map(Y=>({columnName:Y.name,width:Y.width})));R.useEffect(()=>{var Y,ie,J,ee;if((ie=(Y=_.data)==null?void 0:Y.data)!=null&&ie.sizes)P(JSON.parse((ee=(J=_.data)==null?void 0:J.data)==null?void 0:ee.sizes));else{const Z=localStorage.getItem(`table_${i.UKEY}`);Z&&P(JSON.parse(Z))}},[(q=(G=_.data)==null?void 0:G.data)==null?void 0:q.sizes]);const{submit:N}=Mve({queryClient:k}),I=n&&n({queryClient:k}),L=Ave({urlMask:"",submitDelete:I==null?void 0:I.submit,onRecordsDeleted:o?()=>o({queryClient:k}):void 0}),[j]=R.useState(t.map(Y=>({columnName:Y.name,width:Y.width}))),z=Y=>{P(Y);const ie=JSON.stringify(Y);N({uniqueId:i.UKEY,sizes:ie}),localStorage.setItem(`table_${i.UKEY}`,ie)};let Q=({value:Y})=>w.jsx("div",{style:{position:"relative"},children:w.jsx(kl,{href:r&&r(Y),children:Y})}),le=Y=>w.jsx(kve,{formatterComponent:Q,...Y});const re=[...g||[]],ge=R.useMemo(()=>zbe(re),[re]),me=i({query:{deep:y===void 0?!0:y,...L.debouncedFilters,withPreloads:f},queryClient:k});me.jsonQuery=ge;const W=((H=(ce=me.query.data)==null?void 0:ce.data)==null?void 0:H.items)||[];return w.jsxs(w.Fragment,{children:[C==="map"&&w.jsx(v0e,{columns:t,deleteHook:n,uniqueIdHrefHandler:r,q:me,udf:L}),C==="card"&&w.jsx(g0e,{columns:t,CardComponent:T,jsonQuery:ge,deleteHook:n,uniqueIdHrefHandler:r,q:me,udf:L}),C==="datatable"&&w.jsxs(Bbe,{udf:L,selectable:l,bulkEditHook:v,RowDetail:d,uniqueIdHrefHandler:r,onColumnWidthsChange:z,columns:t,columnSizes:A,inlineInsertHook:h,rows:W,defaultColumnWidths:j,query:me.query,booleanColumns:["uniqueId"],withFilters:a,children:[w.jsx(le,{for:["uniqueId"]}),e]})]})},b0e=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:vi.Fields.name,title:e.capabilities.name,width:100},{name:vi.Fields.description,title:e.capabilities.description,width:100}];function w0e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/capability".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*fireback.CapabilityEntity",k=>g(k)),n==null||n.invalidateQueries("*fireback.CapabilityEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function WJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/capabilities".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*fireback.CapabilityEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}WJ.UKEY="*fireback.CapabilityEntity";const S0e=()=>{const e=Kt(kE);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:b0e(e),queryHook:WJ,uniqueIdHrefHandler:t=>vi.Navigation.single(t),deleteHook:w0e})})},E0e=()=>{const e=Kt(kE);return w.jsx(Fo,{pageTitle:e.capabilities.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(vi.Navigation.create())},children:w.jsx(S0e,{})})};function Dr(e){const t=R.useRef(),n=js();R.useEffect(()=>{var d;e!=null&&e.data&&((d=t.current)==null||d.setValues(e.data))},[e==null?void 0:e.data]);const r=xr(),a=r.query.uniqueId,i=r.query.linkerId,o=!!a,{locale:l}=sr(),u=At();return{router:r,t:u,isEditing:o,locale:l,queryClient:n,formik:t,uniqueId:a,linkerId:i}}const Uo=({data:e,Form:t,getSingleHook:n,postHook:r,onCancel:a,onFinishUriResolver:i,disableOnGetFailed:o,patchHook:l,onCreateTitle:u,onEditTitle:d,setInnerRef:f,beforeSetValues:g,forceEdit:y,onlyOnRoot:h,customClass:v,beforeSubmit:E,onSuccessPatchOrPost:T})=>{var re,ge,me;const[C,k]=R.useState(),{router:_,isEditing:A,locale:P,formik:N,t:I}=Dr({data:e}),L=R.useRef({});xQ(a,Ir.CommonBack);const{selectedUrw:j}=R.useContext(nt);hh((A||y?d:u)||"");const{query:z}=n;R.useEffect(()=>{var W,G,q;(W=z.data)!=null&&W.data&&((G=N.current)==null||G.setValues(g?g({...z.data.data}):{...z.data.data}),k((q=z.data)==null?void 0:q.data))},[z.data]),R.useEffect(()=>{var W;(W=N.current)==null||W.setSubmitting((r==null?void 0:r.mutation.isLoading)||(l==null?void 0:l.mutation.isLoading))},[r==null?void 0:r.isLoading,l==null?void 0:l.isLoading]);const Q=(W,G)=>{let q=L.current;q.uniqueId=W.uniqueId,E&&(q=E(q)),(A||y?l==null?void 0:l.submit(q,G):r==null?void 0:r.submit(q,G)).then(H=>{var Y;(Y=H.data)!=null&&Y.uniqueId&&(T?T(H):i?_.goBackOrDefault(i(H,P)):Ohe("Done",{type:"success"}))}).catch(H=>void 0)},le=((re=n==null?void 0:n.query)==null?void 0:re.isLoading)||!1||((ge=r==null?void 0:r.query)==null?void 0:ge.isLoading)||!1||((me=l==null?void 0:l.query)==null?void 0:me.isLoading)||!1;return mhe({onSave(){var W;(W=N.current)==null||W.submitForm()}}),h&&j.workspaceId!=="root"?w.jsx("div",{children:I.onlyOnRoot}):w.jsx(ss,{innerRef:W=>{W&&(N.current=W,f&&f(W))},initialValues:{},onSubmit:Q,children:W=>{var G,q,ce,H;return w.jsx("form",{onSubmit:Y=>{Y.preventDefault(),W.submitForm()},className:v??"headless-form-entity-manager",children:w.jsxs("fieldset",{disabled:le,children:[w.jsx("div",{style:{marginBottom:"15px"},children:w.jsx(Al,{query:(G=r==null?void 0:r.mutation)!=null&&G.isError?r.mutation:(q=l==null?void 0:l.mutation)!=null&&q.isError?l.mutation:(ce=n==null?void 0:n.query)!=null&&ce.isError?n.query:null})}),o===!0&&((H=n==null?void 0:n.query)!=null&&H.isError)?null:w.jsx(t,{isEditing:A,initialData:C,form:{...W,setValues:(Y,ie)=>{for(const J in Y)Ea.set(L.current,J,Y[J]);return W.setValues(Y)},setFieldValue:(Y,ie,J)=>(Ea.set(L.current,Y,ie),W.setFieldValue(Y,ie,J))}}),w.jsx("button",{type:"submit",className:"d-none"})]})})}})},T0e={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function C0e(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1);break}return{value:e,caret:t}}function k0e(e,t,n){for(var r={},a="",i=0,o=0;oo&&(i=a.length))),o++}t===void 0&&(i=a.length);var u={value:a,caret:i};return u}function x0e(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=_0e(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 _0e(e,t){if(e){if(typeof e=="string")return YB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return YB(e,t)}}function YB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",a=e.length,i=bL("(",e),o=bL(")",e),l=i-o;l>0&&a=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 P0e(e,t){if(e){if(typeof e=="string")return KB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KB(e,t)}}function KB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(a){return{text:a}};var r=bL(t,e);return function(a){if(!a)return{text:"",template:e};for(var i=0,o="",l=R0e(e.split("")),u;!(u=l()).done;){var d=u.value;if(d!==t){o+=d;continue}if(o+=a[i],i++,i===a.length&&a.length=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function H0e(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function V0e(e){var t=e.ref,n=e.parse,r=e.format,a=e.value,i=e.defaultValue,o=e.controlled,l=o===void 0?!0:o,u=e.onChange,d=e.onKeyDown,f=q0e(e,W0e),g=R.useRef(),y=R.useCallback(function(T){g.current=T,t&&(typeof t=="function"?t(T):t.current=T)},[t]),h=R.useCallback(function(T){return j0e(T,g.current,n,r,u)},[g,n,r,u]),v=R.useCallback(function(T){if(d&&d(T),!T.defaultPrevented)return U0e(T,g.current,n,r,u)},[g,n,r,u,d]),E=cb(cb({},f),{},{ref:y,onChange:h,onKeyDown:v});return l?cb(cb({},E),{},{value:r(JB(a)?"":a).text}):cb(cb({},E),{},{defaultValue:r(JB(i)?"":i).text})}function JB(e){return e==null}var G0e=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function ZB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Y0e(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Q0e(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function dx(e,t){var n=e.inputComponent,r=n===void 0?"input":n,a=e.parse,i=e.format,o=e.value,l=e.defaultValue,u=e.onChange,d=e.controlled,f=e.onKeyDown,g=e.type,y=g===void 0?"text":g,h=X0e(e,G0e),v=V0e(Y0e({ref:t,parse:a,format:i,value:o,defaultValue:l,onChange:u,controlled:d,onKeyDown:f,type:y},h));return ze.createElement(r,v)}dx=ze.forwardRef(dx);dx.propTypes={parse:Ye.func.isRequired,format:Ye.func.isRequired,inputComponent:Ye.elementType,type:Ye.string,value:Ye.string,defaultValue:Ye.string,onChange:Ye.func,controlled:Ye.bool,onKeyDown:Ye.func,onCut:Ye.func,onPaste:Ye.func};function e8(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),o=Number(r[a]);if(i>o)return 1;if(o>i)return-1;if(!isNaN(i)&&isNaN(o))return 1;if(isNaN(i)&&!isNaN(o))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]i?"TOO_SHORT":a[a.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function lwe(e,t,n){if(t===void 0&&(t={}),n=new ii(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return GJ(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function GJ(e,t){switch(p_(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Fd(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function uwe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=cwe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 cwe(e,t){if(e){if(typeof e=="string")return a8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a8(e,t)}}function a8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0}var kF=2,mwe=17,gwe=3,$o="0-90-9٠-٩۰-۹",vwe="-‐-―−ー-",ywe="//",bwe="..",wwe="  ­​⁠ ",Swe="()()[]\\[\\]",Ewe="~⁓∼~",Eu="".concat(vwe).concat(ywe).concat(bwe).concat(wwe).concat(Swe).concat(Ewe),h_="++",Twe=new RegExp("(["+$o+"])");function YJ(e,t,n,r){if(t){var a=new ii(r);a.selectNumberingPlan(t,n);var i=new RegExp(a.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var o=e.match(Twe);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]==="0"))return e}}}function EL(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var a,i,o=r.length-1,l=o>0&&r[o];if(t.nationalPrefixTransformRule()&&l)a=e.replace(n,t.nationalPrefixTransformRule()),o>1&&(i=r[1]);else{var u=r[0];a=e.slice(u.length),l&&(i=r[1])}var d;if(l){var f=e.indexOf(r[1]),g=e.slice(0,f);g===t.numberingPlan.nationalPrefix()&&(d=t.numberingPlan.nationalPrefix())}else d=r[0];return{nationalNumber:a,nationalPrefix:d,carrierCode:i}}}return{nationalNumber:e}}function TL(e,t){var n=EL(e,t),r=n.carrierCode,a=n.nationalNumber;if(a!==e){if(!Cwe(e,a,t))return{nationalNumber:e};if(t.possibleLengths()&&!kwe(a,t))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:r}}function Cwe(e,t,n){return!(Fd(e,n.nationalNumberPattern())&&!Fd(t,n.nationalNumberPattern()))}function kwe(e,t){switch(p_(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function KJ(e,t,n,r){var a=t?gh(t,r):n;if(e.indexOf(a)===0){r=new ii(r),r.selectNumberingPlan(t,n);var i=e.slice(a.length),o=TL(i,r),l=o.nationalNumber,u=TL(e,r),d=u.nationalNumber;if(!Fd(d,r.nationalNumberPattern())&&Fd(l,r.nationalNumberPattern())||p_(d,r)==="TOO_LONG")return{countryCallingCode:a,number:i}}return{number:e}}function xF(e,t,n,r){if(!e)return{};var a;if(e[0]!=="+"){var i=YJ(e,t,n,r);if(i&&i!==e)a=!0,e="+"+i;else{if(t||n){var o=KJ(e,t,n,r),l=o.countryCallingCode,u=o.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:u}}return{number:e}}}if(e[1]==="0")return{};r=new ii(r);for(var d=2;d-1<=gwe&&d<=e.length;){var f=e.slice(1,d);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(d)};d++}return{}}function XJ(e){return e.replace(new RegExp("[".concat(Eu,"]+"),"g")," ").trim()}var QJ=/(\$\d)/;function JJ(e,t,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var i=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():a&&t.nationalPrefixFormattingRule()?t.format().replace(QJ,t.nationalPrefixFormattingRule()):t.format());return r?XJ(i):i}var xwe=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function _we(e,t,n){var r=new ii(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(xwe.test(r.IDDPrefix()))return r.IDDPrefix()}var Owe=";ext=",db=function(t){return"([".concat($o,"]{1,").concat(t,"})")};function ZJ(e){var t="20",n="15",r="9",a="6",i="[  \\t,]*",o="[:\\..]?[  \\t,-]*",l="#?",u="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",d="(?:[xx##~~]|int|int)",f="[- ]+",g="[  \\t]*",y="(?:,{2}|;)",h=Owe+db(t),v=i+u+o+db(t)+l,E=i+d+o+db(r)+l,T=f+db(a)+"#",C=g+y+o+db(n)+l,k=g+"(?:,)+"+o+db(r)+l;return h+"|"+v+"|"+E+"|"+T+"|"+C+"|"+k}var Rwe="["+$o+"]{"+kF+"}",Pwe="["+h_+"]{0,1}(?:["+Eu+"]*["+$o+"]){3,}["+Eu+$o+"]*",Awe=new RegExp("^["+h_+"]{0,1}(?:["+Eu+"]*["+$o+"]){1,2}$","i"),Nwe=Pwe+"(?:"+ZJ()+")?",Mwe=new RegExp("^"+Rwe+"$|^"+Nwe+"$","i");function Iwe(e){return e.length>=kF&&Mwe.test(e)}function Dwe(e){return Awe.test(e)}function $we(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function Lwe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Fwe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Fwe(e,t){if(e){if(typeof e=="string")return i8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i8(e,t)}}function i8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var i=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(t.search(i)!==0)continue}if(Fd(t,a.pattern()))return a}}function FP(e,t,n,r){return t?r(e,t,n):e}function Wwe(e,t,n,r,a){var i=gh(r,a.metadata);if(i===n){var o=fx(e,t,"NATIONAL",a);return n==="1"?n+" "+o:o}var l=_we(r,void 0,a.metadata);if(l)return"".concat(l," ").concat(n," ").concat(fx(e,null,"INTERNATIONAL",a))}function u8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function c8(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function t1e(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function WS(e,t){return WS=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},WS(e,t)}function zS(e){return zS=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zS(e)}var _d=(function(e){Jwe(n,e);var t=Zwe(n);function n(r){var a;return Qwe(this,n),a=t.call(this,r),Object.setPrototypeOf(tZ(a),n.prototype),a.name=a.constructor.name,a}return Xwe(n)})(kL(Error)),d8=new RegExp("(?:"+ZJ()+")$","i");function n1e(e){var t=e.search(d8);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(d8),a=1;a=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 a1e(e,t){if(e){if(typeof e=="string")return f8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f8(e,t)}}function f8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 s1e(e,t){if(e){if(typeof e=="string")return p8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p8(e,t)}}function p8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 u1e(e,t){if(e){if(typeof e=="string")return h8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h8(e,t)}}function h8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function w1e(e){return e===null?!0:e.length===0?!1:f1e.test(e)||v1e.test(e)}function S1e(e,t){var n=t.extractFormattedPhoneNumber,r=b1e(e);if(!w1e(r))throw new _d("NOT_A_NUMBER");var a;if(r===null)a=n(e)||"";else{a="",r.charAt(0)===sZ&&(a+=r);var i=e.indexOf(g8),o;i>=0?o=i+g8.length:o=0;var l=e.indexOf(OL);a+=e.substring(o,l)}var u=a.indexOf(y1e);if(u>0&&(a=a.substring(0,u)),a!=="")return a}var E1e=250,T1e=new RegExp("["+h_+$o+"]"),C1e=new RegExp("[^"+$o+"#]+$");function k1e(e,t,n){if(t=t||{},n=new ii(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new _d("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=_1e(e,t.v2,t.extract),a=r.number,i=r.ext,o=r.error;if(!a){if(t.v2)throw o==="TOO_SHORT"?new _d("TOO_SHORT"):new _d("NOT_A_NUMBER");return{}}var l=R1e(a,t.defaultCountry,t.defaultCallingCode,n),u=l.country,d=l.nationalNumber,f=l.countryCallingCode,g=l.countryCallingCodeSource,y=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new _d("INVALID_COUNTRY");return{}}if(!d||d.lengthmwe){if(t.v2)throw new _d("TOO_LONG");return{}}if(t.v2){var h=new eZ(f,d,n.metadata);return u&&(h.country=u),y&&(h.carrierCode=y),i&&(h.ext=i),h.__countryCallingCodeSource=g,h}var v=(t.extended?n.hasSelectedNumberingPlan():u)?Fd(d,n.nationalNumberPattern()):!1;return t.extended?{country:u,countryCallingCode:f,carrierCode:y,valid:v,possible:v?!0:!!(t.extended===!0&&n.possibleLengths()&&GJ(d,n)),phone:d,ext:i}:v?O1e(u,d,i):{}}function x1e(e,t,n){if(e){if(e.length>E1e){if(n)throw new _d("TOO_LONG");return}if(t===!1)return e;var r=e.search(T1e);if(!(r<0))return e.slice(r).replace(C1e,"")}}function _1e(e,t,n){var r=S1e(e,{extractFormattedPhoneNumber:function(o){return x1e(o,n,t)}});if(!r)return{};if(!Iwe(r))return Dwe(r)?{error:"TOO_SHORT"}:{};var a=n1e(r);return a.ext?a:{number:r}}function O1e(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function R1e(e,t,n,r){var a=xF(xL(e),t,n,r.metadata),i=a.countryCallingCodeSource,o=a.countryCallingCode,l=a.number,u;if(o)r.selectNumberingPlan(o);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(u=t),o=n||gh(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:i,countryCallingCode:o};var d=TL(xL(l),r),f=d.nationalNumber,g=d.carrierCode,y=oZ(o,{nationalNumber:f,defaultCountry:t,metadata:r});return y&&(u=y,y==="001"||r.country(u)),{country:u,countryCallingCode:o,countryCallingCodeSource:i,nationalNumber:f,carrierCode:g}}function v8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function y8(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Y1e(e,t){if(e){if(typeof e=="string")return T8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T8(e,t)}}function T8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function C8(e,t){return e[t]===")"&&t++,K1e(e.slice(0,t))}function K1e(e){for(var t=[],n=0;n=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 lSe(e,t){if(e){if(typeof e=="string")return _8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _8(e,t)}}function _8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},a=r.allowOverflow;if(!n)throw new Error("String is required");var i=RL(n.split(""),this.matchTree,!0);if(i&&i.match&&delete i.matchedChars,!(i&&i.overflow&&!a))return i}}]),e})();function RL(e,t,n){if(typeof t=="string"){var r=e.join("");return t.indexOf(r)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(t)===0?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var a=e.slice(),i=0;i=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 pSe(e,t){if(e){if(typeof e=="string")return R8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R8(e,t)}}function R8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)){var a=this.getTemplateForFormat(n,r);if(a)return this.setNationalNumberTemplate(a,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&bSe.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var a=n.IDDPrefix,i=n.missingPlus;return a?r&&r.spacing===!1?a:a+" ":i?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,a=0,i=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";ad.length)){var f=new RegExp("^"+u+"$"),g=a.replace(/\d/g,PL);f.test(g)&&(d=g);var y=this.getFormatFormat(n,i),h;if(this.shouldTryNationalPrefixFormattingRule(n,{international:i,nationalPrefix:o})){var v=y.replace(QJ,n.nationalPrefixFormattingRule());if(px(n.nationalPrefixFormattingRule())===(o||"")+px("$1")&&(y=v,h=!0,o))for(var E=o.length;E>0;)y=y.replace(/\d/,gu),E--}var T=d.replace(new RegExp(u),y).replace(new RegExp(PL,"g"),gu);return h||(l?T=Pk(gu,l.length)+" "+T:o&&(T=Pk(gu,o.length)+this.getSeparatorAfterNationalPrefix(n)+T)),i&&(T=XJ(T)),T}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=X1e(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],C8(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var a=r.international,i=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var o=n.usesNationalPrefix();if(o&&i||!o&&!a)return!0}}}]),e})();function lZ(e,t){return _Se(e)||xSe(e,t)||kSe(e,t)||CSe()}function CSe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kSe(e,t){if(e){if(typeof e=="string")return A8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A8(e,t)}}function A8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=3;if(r.appendDigits(n),i&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(o){return r.update(o)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,a=n.callingCode;return r&&!a}},{key:"extractCountryCallingCode",value:function(n){var r=xF("+"+n.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=r.countryCallingCode,i=r.number;if(a)return n.setCallingCode(a),n.update({nationalSignificantNumber:i}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&DSe.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var a=EL(n,this.metadata),i=a.nationalPrefix,o=a.nationalNumber,l=a.carrierCode;if(o!==n)return this.onExtractedNationalNumber(i,l,o,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,a){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,a);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var i=EL(n,this.metadata),o=i.nationalPrefix,l=i.nationalNumber,u=i.carrierCode;if(l!==r)return this.onExtractedNationalNumber(o,u,l,n,a),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,a,i,o){var l,u,d=i.lastIndexOf(a);if(d>=0&&d===i.length-a.length){u=!0;var f=i.slice(0,d);f!==n&&(l=f)}o({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:a,nationalSignificantNumberMatchesInput:u,complexPrefixBeforeNationalSignificantNumber:l}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(n){if(this.extractAnotherNationalSignificantNumber(n.getNationalDigits(),n.nationalSignificantNumber,function(r){return n.update(r)}))return!0;if(this.extractIddPrefix(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0;if(this.fixMissingPlus(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0}},{key:"extractIddPrefix",value:function(n){var r=n.international,a=n.IDDPrefix,i=n.digits;if(n.nationalSignificantNumber,!(r||a)){var o=YJ(i,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(o!==void 0&&o!==i)return n.update({IDDPrefix:i.slice(0,i.length-o.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=KJ(n.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=r.countryCallingCode;if(r.number,a)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:a}),!0}}},{key:"startInternationalNumber",value:function(n,r){var a=r.country,i=r.callingCode;n.startInternationalNumber(a,i),n.nationalSignificantNumber&&(n.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(n){this.extractCountryCallingCode(n)&&this.extractNationalSignificantNumber(n.getNationalDigits(),function(r){return n.update(r)})}}]),e})();function LSe(e){var t=e.search(MSe);if(!(t<0)){e=e.slice(t);var n;return e[0]==="+"&&(n=!0,e=e.slice(1)),e=e.replace(ISe,""),n&&(e="+"+e),e}}function FSe(e){var t=LSe(e)||"";return t[0]==="+"?[t.slice(1),!0]:[t]}function jSe(e){var t=FSe(e),n=lZ(t,2),r=n[0],a=n[1];return NSe.test(r)||(r=""),[r,a]}function USe(e,t){return qSe(e)||zSe(e,t)||WSe(e,t)||BSe()}function BSe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WSe(e,t){if(e){if(typeof e=="string")return N8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N8(e,t)}}function N8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(oZ(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,a=n.callingCode,i=n.country,o=n.nationalSignificantNumber;if(r){if(this.isInternational())return a?"+"+a+o:"+"+r;if(i||a){var l=i?this.metadata.countryCallingCode():a;return"+"+l+o}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,a=n.carrierCode,i=n.callingCode,o=this._getCountry();if(r&&!(!o&&!i)){if(o&&o===this.defaultCountry){var l=new ii(this.metadata.metadata);l.selectNumberingPlan(o);var u=l.numberingPlan.callingCode(),d=this.metadata.getCountryCodesForCallingCode(u);if(d.length>1){var f=iZ(r,{countries:d,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});f&&(o=f)}}var g=new eZ(o||i,r,this.metadata.metadata);return a&&(g.carrierCode=a),g}}},{key:"isPossible",value:function(){var n=this.getNumber();return n?n.isPossible():!1}},{key:"isValid",value:function(){var n=this.getNumber();return n?n.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),e})();function M8(e){return new ii(e).getCountries()}function YSe(e,t,n){return n||(n=t,t=void 0),new g0(t,n).input(e)}function uZ(e){var t=e.inputFormat,n=e.country,r=e.metadata;return t==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(gh(n,r)):""}function AL(e,t){return t&&(e=e.slice(t.length),e[0]===" "&&(e=e.slice(1))),e}function KSe(e,t,n){if(!(n&&n.ignoreRest)){var r=function(i){if(n)switch(i){case"end":n.ignoreRest=!0;break}};return aZ(e,t,r)}}function cZ(e){var t=e.onKeyDown,n=e.inputFormat;return R.useCallback(function(r){if(r.keyCode===QSe&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&XSe(r.target)===JSe.length){r.preventDefault();return}t&&t(r)},[t,n])}function XSe(e){return e.selectionStart}var QSe=8,JSe="+",ZSe=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function NL(){return NL=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function nEe(e){function t(n,r){var a=n.onKeyDown,i=n.country,o=n.inputFormat,l=n.metadata,u=l===void 0?e:l;n.international,n.withCountryCallingCode;var d=eEe(n,ZSe),f=R.useCallback(function(y){var h=new g0(i,u),v=uZ({inputFormat:o,country:i,metadata:u}),E=h.input(v+y),T=h.getTemplate();return v&&(E=AL(E,v),T&&(T=AL(T,v))),{text:E,template:T}},[i,u]),g=cZ({onKeyDown:a,inputFormat:o});return ze.createElement(dx,NL({},d,{ref:r,parse:KSe,format:f,onKeyDown:g}))}return t=ze.forwardRef(t),t.propTypes={value:Ye.string.isRequired,onChange:Ye.func.isRequired,onKeyDown:Ye.func,country:Ye.string,inputFormat:Ye.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Ye.object},t}const rEe=nEe();var aEe=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function ML(){return ML=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function sEe(e){function t(n,r){var a=n.value,i=n.onChange,o=n.onKeyDown,l=n.country,u=n.inputFormat,d=n.metadata,f=d===void 0?e:d,g=n.inputComponent,y=g===void 0?"input":g;n.international,n.withCountryCallingCode;var h=iEe(n,aEe),v=uZ({inputFormat:u,country:l,metadata:f}),E=R.useCallback(function(C){var k=xL(C.target.value);if(k===a){var _=I8(v,k,l,f);_.indexOf(C.target.value)===0&&(k=k.slice(0,-1))}i(k)},[v,a,i,l,f]),T=cZ({onKeyDown:o,inputFormat:u});return ze.createElement(y,ML({},h,{ref:r,value:I8(v,a,l,f),onChange:E,onKeyDown:T}))}return t=ze.forwardRef(t),t.propTypes={value:Ye.string.isRequired,onChange:Ye.func.isRequired,onKeyDown:Ye.func,country:Ye.string,inputFormat:Ye.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Ye.object,inputComponent:Ye.elementType},t}const lEe=sEe();function I8(e,t,n,r){return AL(YSe(e+t,n,r),e)}function uEe(e){return D8(e[0])+D8(e[1])}function D8(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var cEe=["value","onChange","options","disabled","readOnly"],dEe=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function fEe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=pEe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 pEe(e,t){if(e){if(typeof e=="string")return $8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $8(e,t)}}function $8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function fZ(e){var t=e.value,n=e.onChange,r=e.options,a=e.disabled,i=e.readOnly,o=dZ(e,cEe),l=R.useCallback(function(u){var d=u.target.value;n(d==="ZZ"?void 0:d)},[n]);return R.useMemo(function(){return hZ(r,t)},[r,t]),ze.createElement("select",hx({},o,{disabled:a||i,readOnly:i,value:t||"ZZ",onChange:l}),r.map(function(u){var d=u.value,f=u.label,g=u.divider;return ze.createElement("option",{key:g?"|":d||"ZZ",value:g?"|":d||"ZZ",disabled:!!g,style:g?mEe:void 0},f)}))}fZ.propTypes={value:Ye.string,onChange:Ye.func.isRequired,options:Ye.arrayOf(Ye.shape({value:Ye.string,label:Ye.string,divider:Ye.bool})).isRequired,disabled:Ye.bool,readOnly:Ye.bool};var mEe={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function pZ(e){var t=e.value,n=e.options,r=e.className,a=e.iconComponent;e.getIconAspectRatio;var i=e.arrowComponent,o=i===void 0?gEe:i,l=e.unicodeFlags,u=dZ(e,dEe),d=R.useMemo(function(){return hZ(n,t)},[n,t]);return ze.createElement("div",{className:"PhoneInputCountry"},ze.createElement(fZ,hx({},u,{value:t,options:n,className:ia("PhoneInputCountrySelect",r)})),d&&(l&&t?ze.createElement("div",{className:"PhoneInputCountryIconUnicode"},uEe(t)):ze.createElement(a,{"aria-hidden":!0,country:t,label:d.label,aspectRatio:l?1:void 0})),ze.createElement(o,null))}pZ.propTypes={iconComponent:Ye.elementType,arrowComponent:Ye.elementType,unicodeFlags:Ye.bool};function gEe(){return ze.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function hZ(e,t){for(var n=fEe(e),r;!(r=n()).done;){var a=r.value;if(!a.divider&&vEe(a.value,t))return a}}function vEe(e,t){return e==null?t==null:e===t}var yEe=["country","countryName","flags","flagUrl"];function IL(){return IL=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function _F(e){var t=e.country,n=e.countryName,r=e.flags,a=e.flagUrl,i=bEe(e,yEe);return r&&r[t]?r[t]({title:n}):ze.createElement("img",IL({},i,{alt:n,role:n?void 0:"presentation",src:a.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}_F.propTypes={country:Ye.string.isRequired,countryName:Ye.string.isRequired,flags:Ye.objectOf(Ye.elementType),flagUrl:Ye.string.isRequired};var SEe=["aspectRatio"],EEe=["title"],TEe=["title"];function mx(){return mx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function CEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function m_(e){var t=e.aspectRatio,n=OF(e,SEe);return t===1?ze.createElement(gZ,n):ze.createElement(mZ,n)}m_.propTypes={title:Ye.string.isRequired,aspectRatio:Ye.number};function mZ(e){var t=e.title,n=OF(e,EEe);return ze.createElement("svg",mx({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),ze.createElement("title",null,t),ze.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},ze.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),ze.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),ze.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),ze.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),ze.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),ze.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),ze.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}mZ.propTypes={title:Ye.string.isRequired};function gZ(e){var t=e.title,n=OF(e,TEe);return ze.createElement("svg",mx({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),ze.createElement("title",null,t),ze.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},ze.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),ze.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),ze.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),ze.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),ze.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),ze.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),ze.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}gZ.propTypes={title:Ye.string.isRequired};function kEe(e){if(e.length<2||e[0]!=="+")return!1;for(var t=1;t=48&&n<=57))return!1;t++}return!0}function vZ(e){kEe(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function xEe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=_Ee(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 _Ee(e,t){if(e){if(typeof e=="string")return L8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L8(e,t)}}function L8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0))return e}function g_(e,t){return HJ(e,t)?!0:(console.error("Country not found: ".concat(e)),!1)}function yZ(e,t){return e&&(e=e.filter(function(n){return g_(n,t)}),e.length===0&&(e=void 0)),e}var PEe=["country","label","aspectRatio"];function DL(){return DL=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function NEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function bZ(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,a=e.internationalIcon;function i(o){var l=o.country,u=o.label,d=o.aspectRatio,f=AEe(o,PEe),g=a===m_?d:void 0;return ze.createElement("div",DL({},f,{className:ia("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":g===1,"PhoneInputCountryIcon--border":l})}),l?ze.createElement(r,{country:l,countryName:u,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):ze.createElement(a,{title:u,aspectRatio:g,className:"PhoneInputCountryIconImg"}))}return i.propTypes={country:Ye.string,label:Ye.string.isRequired,aspectRatio:Ye.number},i}bZ({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:_F,internationalIcon:m_});function MEe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=IEe(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 IEe(e,t){if(e){if(typeof e=="string")return F8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F8(e,t)}}function F8(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(u=a()),u}function FEe(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,a=e.compareStringsLocales,i=e.compareStrings;i||(i=HEe);var o=t.map(function(l){return{value:l,label:n[l]||l}});return o.sort(function(l,u){return i(l.label,u.label,a)}),r&&o.unshift({label:n.ZZ}),o}function EZ(e,t){return W1e(e||"",t)}function jEe(e){return e.formatNational().replace(/\D/g,"")}function UEe(e,t){var n=t.prevCountry,r=t.newCountry,a=t.metadata,i=t.useNationalFormat;if(n===r)return e;if(!e)return i?"":r?Md(r,a):"";if(r){if(e[0]==="+"){if(i)return e.indexOf("+"+gh(r,a))===0?VEe(e,r,a):"";if(n){var o=Md(r,a);return e.indexOf(o)===0?e:o}else{var l=Md(r,a);return e.indexOf(l)===0?e:l}}}else if(e[0]!=="+")return xb(e,n,a)||"";return e}function xb(e,t,n){if(e){if(e[0]==="+"){if(e==="+")return;var r=new g0(t,n);return r.input(e),r.getNumberValue()}if(t){var a=CZ(e,t,n);return"+".concat(gh(t,n)).concat(a||"")}}}function BEe(e,t,n){var r=CZ(e,t,n);if(r){var a=r.length-WEe(t,n);if(a>0)return e.slice(0,e.length-a)}return e}function WEe(e,t){return t=new ii(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}function TZ(e,t){var n=t.country,r=t.countries,a=t.defaultCountry,i=t.latestCountrySelectedByUser,o=t.required,l=t.metadata;if(e==="+")return n;var u=qEe(e,l);if(u)return!r||r.indexOf(u)>=0?u:void 0;if(n){if(Wb(e,n,l)){if(i&&Wb(e,i,l))return i;if(a&&Wb(e,a,l))return a;if(!o)return}else if(!o)return}return n}function zEe(e,t){var n=t.prevPhoneDigits,r=t.country,a=t.defaultCountry,i=t.latestCountrySelectedByUser,o=t.countryRequired,l=t.getAnyCountry,u=t.countries,d=t.international,f=t.limitMaxLength,g=t.countryCallingCodeEditable,y=t.metadata;if(d&&g===!1&&r){var h=Md(r,y);if(e.indexOf(h)!==0){var v,E=e&&e[0]!=="+";return E?(e=h+e,v=xb(e,r,y)):e=h,{phoneDigits:e,value:v,country:r}}}d===!1&&r&&e&&e[0]==="+"&&(e=j8(e,r,y)),e&&r&&f&&(e=BEe(e,r,y)),e&&e[0]!=="+"&&(!r||d)&&(e="+"+e),!e&&n&&n[0]==="+"&&(d?r=void 0:r=a),e==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var T;return e&&(e[0]==="+"&&(e==="+"||r&&Md(r,y).indexOf(e)===0)?T=void 0:T=xb(e,r,y)),T&&(r=TZ(T,{country:r,countries:u,defaultCountry:a,latestCountrySelectedByUser:i,required:!1,metadata:y}),d===!1&&r&&e&&e[0]==="+"&&(e=j8(e,r,y),T=xb(e,r,y))),!r&&o&&(r=a||l()),{phoneDigits:e,country:r,value:T}}function j8(e,t,n){if(e.indexOf(Md(t,n))===0){var r=new g0(t,n);r.input(e);var a=r.getNumber();return a?a.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function qEe(e,t){var n=new g0(null,t);return n.input(e),n.getCountry()}function HEe(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):et?1:0}function VEe(e,t,n){if(t){var r="+"+gh(t,n);if(e.length=0)&&(N=P.country):(N=TZ(o,{country:void 0,countries:I,metadata:r}),N||i&&o.indexOf(Md(i,r))===0&&(N=i))}var L;if(o){if(T){var j=N?T===N:Wb(o,T,r);j?N||(N=T):L={latestCountrySelectedByUser:void 0}}}else L={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return KC(KC({},L),{},{phoneDigits:C({phoneNumber:P,value:o,defaultCountry:i}),value:o,country:o?N:i})}}function B8(e,t){return e===null&&(e=void 0),t===null&&(t=void 0),e===t}var QEe=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function e0(e){"@babel/helpers - typeof";return e0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e0(e)}function W8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function xZ(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ZEe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function eTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z8(e,t){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pTe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i=0)&&(n[a]=e[a]);return n}function PZ(e){var t=ze.forwardRef(function(n,r){var a=n.metadata,i=a===void 0?e:a,o=n.labels,l=o===void 0?cTe:o,u=fTe(n,dTe);return ze.createElement(RZ,LL({},u,{ref:r,metadata:i,labels:l}))});return t.propTypes={metadata:wZ,labels:SZ},t}PZ();const hTe=PZ(T0e),In=e=>{const{region:t}=sr(),{label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,children:u,errorMessage:d,type:f,focused:g=!1,autoFocus:y,...h}=e,[v,E]=R.useState(!1),T=R.useRef(),C=R.useCallback(()=>{var A;(A=T.current)==null||A.focus()},[T.current]);let k=l===void 0?"":l;f==="number"&&(k=+l);const _=A=>{o&&o(f==="number"?+A.target.value:A.target.value)};return w.jsxs(ef,{focused:v,onClick:C,...e,children:[e.type==="phonenumber"?w.jsx(hTe,{country:t,autoFocus:y,value:k,onChange:A=>o&&o(A)}):w.jsx("input",{...h,ref:T,value:k,autoFocus:y,className:ia("form-control",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),type:f||"text",onChange:_,onBlur:()=>E(!1),onFocus:()=>E(!0)}),u]})};function ro(e){"@babel/helpers - typeof";return ro=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ro(e)}function mTe(e,t){if(ro(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ro(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function AZ(e){var t=mTe(e,"string");return ro(t)=="symbol"?t:String(t)}function wt(e,t,n){return t=AZ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Jt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?Wi(v0,--os):0,n0--,Ka===10&&(n0=1,y_--),Ka}function Ls(){return Ka=os<$Z?Wi(v0,os++):0,n0++,Ka===10&&(n0=1,y_++),Ka}function Sc(){return Wi(v0,os)}function Ak(){return os}function RE(e,t){return HS(v0,e,t)}function VS(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LZ(e){return y_=n0=1,$Z=pc(v0=e),os=0,[]}function FZ(e){return v0="",e}function Nk(e){return DZ(RE(os-1,UL(e===91?e+2:e===40?e+1:e)))}function NTe(e){for(;(Ka=Sc())&&Ka<33;)Ls();return VS(e)>2||VS(Ka)>3?"":" "}function MTe(e,t){for(;--t&&Ls()&&!(Ka<48||Ka>102||Ka>57&&Ka<65||Ka>70&&Ka<97););return RE(e,Ak()+(t<6&&Sc()==32&&Ls()==32))}function UL(e){for(;Ls();)switch(Ka){case e:return os;case 34:case 39:e!==34&&e!==39&&UL(Ka);break;case 40:e===41&&UL(e);break;case 92:Ls();break}return os}function ITe(e,t){for(;Ls()&&e+Ka!==57;)if(e+Ka===84&&Sc()===47)break;return"/*"+RE(t,os-1)+"*"+v_(e===47?e:Ls())}function DTe(e){for(;!VS(Sc());)Ls();return RE(e,os)}function $Te(e){return FZ(Mk("",null,null,null,[""],e=LZ(e),0,[0],e))}function Mk(e,t,n,r,a,i,o,l,u){for(var d=0,f=0,g=o,y=0,h=0,v=0,E=1,T=1,C=1,k=0,_="",A=a,P=i,N=r,I=_;T;)switch(v=k,k=Ls()){case 40:if(v!=108&&Wi(I,g-1)==58){jL(I+=br(Nk(k),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:I+=Nk(k);break;case 9:case 10:case 13:case 32:I+=NTe(v);break;case 92:I+=MTe(Ak()-1,7);continue;case 47:switch(Sc()){case 42:case 47:XC(LTe(ITe(Ls(),Ak()),t,n),u);break;default:I+="/"}break;case 123*E:l[d++]=pc(I)*C;case 125*E:case 59:case 0:switch(k){case 0:case 125:T=0;case 59+f:C==-1&&(I=br(I,/\f/g,"")),h>0&&pc(I)-g&&XC(h>32?Y8(I+";",r,n,g-1):Y8(br(I," ","")+";",r,n,g-2),u);break;case 59:I+=";";default:if(XC(N=G8(I,t,n,d,f,a,l,_,A=[],P=[],g),i),k===123)if(f===0)Mk(I,t,N,N,A,i,g,l,P);else switch(y===99&&Wi(I,3)===110?100:y){case 100:case 108:case 109:case 115:Mk(e,N,N,r&&XC(G8(e,N,N,0,0,a,l,_,a,A=[],g),P),a,P,g,l,r?A:P);break;default:Mk(I,N,N,N,[""],P,0,l,P)}}d=f=h=0,E=C=1,_=I="",g=o;break;case 58:g=1+pc(I),h=v;default:if(E<1){if(k==123)--E;else if(k==125&&E++==0&&ATe()==125)continue}switch(I+=v_(k),k*E){case 38:C=f>0?1:(I+="\f",-1);break;case 44:l[d++]=(pc(I)-1)*C,C=1;break;case 64:Sc()===45&&(I+=Nk(Ls())),y=Sc(),f=g=pc(_=I+=DTe(Ak())),k++;break;case 45:v===45&&pc(I)==2&&(E=0)}}return i}function G8(e,t,n,r,a,i,o,l,u,d,f){for(var g=a-1,y=a===0?i:[""],h=NF(y),v=0,E=0,T=0;v0?y[C]+" "+k:br(k,/&\f/g,y[C])))&&(u[T++]=_);return b_(e,t,n,a===0?PF:l,u,d,f)}function LTe(e,t,n){return b_(e,t,n,MZ,v_(PTe()),HS(e,2,-2),0)}function Y8(e,t,n,r){return b_(e,t,n,AF,HS(e,0,r),HS(e,r+1,-1),r)}function qb(e,t){for(var n="",r=NF(e),a=0;a6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return br(e,/(.+:)(.+)-([^]+)/,"$1"+yr+"$2-$3$1"+yx+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~jL(e,"stretch")?jZ(br(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,pc(e)-3-(~jL(e,"!important")&&10))){case 107:return br(e,":",":"+yr)+e;case 101:return br(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+yr+(Wi(e,14)===45?"inline-":"")+"box$3$1"+yr+"$2$3$1"+Xi+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return yr+e+Xi+br(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yr+e+Xi+br(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yr+e+Xi+br(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return yr+e+Xi+e+e}return e}var VTe=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case AF:t.return=jZ(t.value,t.length);break;case IZ:return qb([w1(t,{value:br(t.value,"@","@"+yr)})],a);case PF:if(t.length)return RTe(t.props,function(i){switch(OTe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qb([w1(t,{props:[br(i,/:(read-\w+)/,":"+yx+"$1")]})],a);case"::placeholder":return qb([w1(t,{props:[br(i,/:(plac\w+)/,":"+yr+"input-$1")]}),w1(t,{props:[br(i,/:(plac\w+)/,":"+yx+"$1")]}),w1(t,{props:[br(i,/:(plac\w+)/,Xi+"input-$1")]})],a)}return""})}},GTe=[VTe],YTe=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var T=E.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var a=t.stylisPlugins||GTe,i={},o,l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var T=E.getAttribute("data-emotion").split(" "),C=1;C=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ZTe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function eCe(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tCe=/[A-Z]|^ms/g,nCe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,BZ=function(t){return t.charCodeAt(1)===45},X8=function(t){return t!=null&&typeof t!="boolean"},BP=eCe(function(e){return BZ(e)?e:e.replace(tCe,"-$&").toLowerCase()}),Q8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(nCe,function(r,a,i){return hc={name:a,styles:i,next:hc},a})}return ZTe[t]!==1&&!BZ(t)&&typeof n=="number"&&n!==0?n+"px":n};function GS(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return hc={name:n.name,styles:n.styles,next:hc},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)hc={name:r.name,styles:r.styles,next:hc},r=r.next;var a=n.styles+";";return a}return rCe(e,t,n)}case"function":{if(e!==void 0){var i=hc,o=n(e);return hc=i,GS(e,t,o)}break}}return n}function rCe(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vCe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const yCe=Math.min,bCe=Math.max,bx=Math.round,QC=Math.floor,wx=e=>({x:e,y:e});function wCe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function qZ(e){return VZ(e)?(e.nodeName||"").toLowerCase():"#document"}function jd(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function HZ(e){var t;return(t=(VZ(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function VZ(e){return e instanceof Node||e instanceof jd(e).Node}function SCe(e){return e instanceof Element||e instanceof jd(e).Element}function DF(e){return e instanceof HTMLElement||e instanceof jd(e).HTMLElement}function Z8(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jd(e).ShadowRoot}function GZ(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=$F(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function ECe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function TCe(e){return["html","body","#document"].includes(qZ(e))}function $F(e){return jd(e).getComputedStyle(e)}function CCe(e){if(qZ(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Z8(e)&&e.host||HZ(e);return Z8(t)?t.host:t}function YZ(e){const t=CCe(e);return TCe(t)?e.ownerDocument?e.ownerDocument.body:e.body:DF(t)&&GZ(t)?t:YZ(t)}function Sx(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=YZ(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=jd(a);return i?t.concat(o,o.visualViewport||[],GZ(a)?a:[],o.frameElement&&n?Sx(o.frameElement):[]):t.concat(a,Sx(a,[],n))}function kCe(e){const t=$F(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=DF(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,l=bx(n)!==i||bx(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function LF(e){return SCe(e)?e:e.contextElement}function e5(e){const t=LF(e);if(!DF(t))return wx(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=kCe(t);let o=(i?bx(n.width):n.width)/r,l=(i?bx(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const xCe=wx(0);function _Ce(e){const t=jd(e);return!ECe()||!t.visualViewport?xCe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function OCe(e,t,n){return!1}function t5(e,t,n,r){t===void 0&&(t=!1);const a=e.getBoundingClientRect(),i=LF(e);let o=wx(1);t&&(o=e5(e));const l=OCe()?_Ce(i):wx(0);let u=(a.left+l.x)/o.x,d=(a.top+l.y)/o.y,f=a.width/o.x,g=a.height/o.y;if(i){const y=jd(i),h=r;let v=y,E=v.frameElement;for(;E&&r&&h!==v;){const T=e5(E),C=E.getBoundingClientRect(),k=$F(E),_=C.left+(E.clientLeft+parseFloat(k.paddingLeft))*T.x,A=C.top+(E.clientTop+parseFloat(k.paddingTop))*T.y;u*=T.x,d*=T.y,f*=T.x,g*=T.y,u+=_,d+=A,v=jd(E),E=v.frameElement}}return wCe({width:f,height:g,x:u,y:d})}function RCe(e,t){let n=null,r;const a=HZ(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:f,width:g,height:y}=e.getBoundingClientRect();if(l||t(),!g||!y)return;const h=QC(f),v=QC(a.clientWidth-(d+g)),E=QC(a.clientHeight-(f+y)),T=QC(d),k={rootMargin:-h+"px "+-v+"px "+-E+"px "+-T+"px",threshold:bCe(0,yCe(1,u))||1};let _=!0;function A(P){const N=P[0].intersectionRatio;if(N!==u){if(!_)return o();N?o(!1,N):r=setTimeout(()=>{o(!1,1e-7)},100)}_=!1}try{n=new IntersectionObserver(A,{...k,root:a.ownerDocument})}catch{n=new IntersectionObserver(A,k)}n.observe(e)}return o(!0),i}function PCe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,d=LF(e),f=a||i?[...d?Sx(d):[],...Sx(t)]:[];f.forEach(C=>{a&&C.addEventListener("scroll",n,{passive:!0}),i&&C.addEventListener("resize",n)});const g=d&&l?RCe(d,n):null;let y=-1,h=null;o&&(h=new ResizeObserver(C=>{let[k]=C;k&&k.target===d&&h&&(h.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var _;(_=h)==null||_.observe(t)})),n()}),d&&!u&&h.observe(d),h.observe(t));let v,E=u?t5(e):null;u&&T();function T(){const C=t5(e);E&&(C.x!==E.x||C.y!==E.y||C.width!==E.width||C.height!==E.height)&&n(),E=C,v=requestAnimationFrame(T)}return n(),()=>{var C;f.forEach(k=>{a&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),g==null||g(),(C=h)==null||C.disconnect(),h=null,u&&cancelAnimationFrame(v)}}var WL=R.useLayoutEffect,ACe=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ex=function(){};function NCe(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function MCe(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a-1}function DCe(e){return w_(e)?window.innerHeight:e.clientHeight}function XZ(e){return w_(e)?window.pageYOffset:e.scrollTop}function Tx(e,t){if(w_(e)){window.scrollTo(0,t);return}e.scrollTop=t}function $Ce(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function LCe(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function JC(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ex,a=XZ(e),i=t-a,o=10,l=0;function u(){l+=o;var d=LCe(l,a,i,n);Tx(e,d),ln.bottom?Tx(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a1?n-1:0),a=1;a=v)return{placement:"bottom",maxHeight:t};if(j>=v&&!o)return i&&JC(u,z,le),{placement:"bottom",maxHeight:t};if(!o&&j>=r||o&&I>=r){i&&JC(u,z,le);var re=o?I-A:j-A;return{placement:"bottom",maxHeight:re}}if(a==="auto"||o){var ge=t,me=o?N:L;return me>=r&&(ge=Math.min(me-A-l,t)),{placement:"top",maxHeight:ge}}if(a==="bottom")return i&&Tx(u,z),{placement:"bottom",maxHeight:t};break;case"top":if(N>=v)return{placement:"top",maxHeight:t};if(L>=v&&!o)return i&&JC(u,Q,le),{placement:"top",maxHeight:t};if(!o&&L>=r||o&&N>=r){var W=t;return(!o&&L>=r||o&&N>=r)&&(W=o?N-P:L-P),i&&JC(u,Q,le),{placement:"top",maxHeight:W}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return d}function YCe(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var JZ=function(t){return t==="auto"?"bottom":t},KCe=function(t,n){var r,a=t.placement,i=t.theme,o=i.borderRadius,l=i.spacing,u=i.colors;return Jt((r={label:"menu"},wt(r,YCe(a),"100%"),wt(r,"position","absolute"),wt(r,"width","100%"),wt(r,"zIndex",1),r),n?{}:{backgroundColor:u.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},ZZ=R.createContext(null),XCe=function(t){var n=t.children,r=t.minMenuHeight,a=t.maxMenuHeight,i=t.menuPlacement,o=t.menuPosition,l=t.menuShouldScrollIntoView,u=t.theme,d=R.useContext(ZZ)||{},f=d.setPortalPlacement,g=R.useRef(null),y=R.useState(a),h=mi(y,2),v=h[0],E=h[1],T=R.useState(null),C=mi(T,2),k=C[0],_=C[1],A=u.spacing.controlHeight;return WL(function(){var P=g.current;if(P){var N=o==="fixed",I=l&&!N,L=GCe({maxHeight:a,menuEl:P,minHeight:r,placement:i,shouldScroll:I,isFixedPosition:N,controlHeight:A});E(L.maxHeight),_(L.placement),f==null||f(L.placement)}},[a,i,o,l,r,f,A]),n({ref:g,placerProps:Jt(Jt({},t),{},{placement:k||JZ(i),maxHeight:v})})},QCe=function(t){var n=t.children,r=t.innerRef,a=t.innerProps;return rn("div",vt({},Ca(t,"menu",{menu:!0}),{ref:r},a),n)},JCe=QCe,ZCe=function(t,n){var r=t.maxHeight,a=t.theme.spacing.baseUnit;return Jt({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:a,paddingTop:a})},eke=function(t){var n=t.children,r=t.innerProps,a=t.innerRef,i=t.isMulti;return rn("div",vt({},Ca(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:a},r),n)},eee=function(t,n){var r=t.theme,a=r.spacing.baseUnit,i=r.colors;return Jt({textAlign:"center"},n?{}:{color:i.neutral40,padding:"".concat(a*2,"px ").concat(a*3,"px")})},tke=eee,nke=eee,rke=function(t){var n=t.children,r=n===void 0?"No options":n,a=t.innerProps,i=Ou(t,HCe);return rn("div",vt({},Ca(Jt(Jt({},i),{},{children:r,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),r)},ake=function(t){var n=t.children,r=n===void 0?"Loading...":n,a=t.innerProps,i=Ou(t,VCe);return rn("div",vt({},Ca(Jt(Jt({},i),{},{children:r,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),r)},ike=function(t){var n=t.rect,r=t.offset,a=t.position;return{left:n.left,position:a,top:r,width:n.width,zIndex:1}},oke=function(t){var n=t.appendTo,r=t.children,a=t.controlElement,i=t.innerProps,o=t.menuPlacement,l=t.menuPosition,u=R.useRef(null),d=R.useRef(null),f=R.useState(JZ(o)),g=mi(f,2),y=g[0],h=g[1],v=R.useMemo(function(){return{setPortalPlacement:h}},[]),E=R.useState(null),T=mi(E,2),C=T[0],k=T[1],_=R.useCallback(function(){if(a){var I=FCe(a),L=l==="fixed"?0:window.pageYOffset,j=I[y]+L;(j!==(C==null?void 0:C.offset)||I.left!==(C==null?void 0:C.rect.left)||I.width!==(C==null?void 0:C.rect.width))&&k({offset:j,rect:I})}},[a,l,y,C==null?void 0:C.offset,C==null?void 0:C.rect.left,C==null?void 0:C.rect.width]);WL(function(){_()},[_]);var A=R.useCallback(function(){typeof d.current=="function"&&(d.current(),d.current=null),a&&u.current&&(d.current=PCe(a,u.current,_,{elementResize:"ResizeObserver"in window}))},[a,_]);WL(function(){A()},[A]);var P=R.useCallback(function(I){u.current=I,A()},[A]);if(!n&&l!=="fixed"||!C)return null;var N=rn("div",vt({ref:P},Ca(Jt(Jt({},t),{},{offset:C.offset,position:l,rect:C.rect}),"menuPortal",{"menu-portal":!0}),i),r);return rn(ZZ.Provider,{value:v},n?wc.createPortal(N,n):N)},ske=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},lke=function(t){var n=t.children,r=t.innerProps,a=t.isDisabled,i=t.isRtl;return rn("div",vt({},Ca(t,"container",{"--is-disabled":a,"--is-rtl":i}),r),n)},uke=function(t,n){var r=t.theme.spacing,a=t.isMulti,i=t.hasValue,o=t.selectProps.controlShouldRenderValue;return Jt({alignItems:"center",display:a&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},cke=function(t){var n=t.children,r=t.innerProps,a=t.isMulti,i=t.hasValue;return rn("div",vt({},Ca(t,"valueContainer",{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":i}),r),n)},dke=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},fke=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ca(t,"indicatorsContainer",{indicators:!0}),r),n)},i5,pke=["size"],hke=["innerProps","isRtl","size"],mke={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},tee=function(t){var n=t.size,r=Ou(t,pke);return rn("svg",vt({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:mke},r))},FF=function(t){return rn(tee,vt({size:20},t),rn("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},nee=function(t){return rn(tee,vt({size:20},t),rn("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ree=function(t,n){var r=t.isFocused,a=t.theme,i=a.spacing.baseUnit,o=a.colors;return Jt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:i*2,":hover":{color:r?o.neutral80:o.neutral40}})},gke=ree,vke=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ca(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||rn(nee,null))},yke=ree,bke=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ca(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||rn(FF,null))},wke=function(t,n){var r=t.isDisabled,a=t.theme,i=a.spacing.baseUnit,o=a.colors;return Jt({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:i*2,marginTop:i*2})},Ske=function(t){var n=t.innerProps;return rn("span",vt({},n,Ca(t,"indicatorSeparator",{"indicator-separator":!0})))},Eke=pCe(i5||(i5=vCe([` 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } -`]))),FCe=function(t,n){var r=t.isFocused,a=t.size,i=t.theme,o=i.colors,l=i.spacing.baseUnit;return Zt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:l*2})},oP=function(t){var n=t.delay,r=t.offset;return rn("span",{css:G3({animation:"".concat(LCe," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},jCe=function(t){var n=t.innerProps,r=t.isRtl,a=t.size,i=a===void 0?4:a,o=wu(t,RCe);return rn("div",vt({},Ta(Zt(Zt({},o),{},{innerProps:n,isRtl:r,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),rn(oP,{delay:0,offset:r}),rn(oP,{delay:160,offset:!0}),rn(oP,{delay:320,offset:!r}))},UCe=function(t,n){var r=t.isDisabled,a=t.isFocused,i=t.theme,o=i.colors,l=i.borderRadius,u=i.spacing;return Zt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:a?o.primary:o.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:a?o.primary:o.neutral30}})},BCe=function(t){var n=t.children,r=t.isDisabled,a=t.isFocused,i=t.innerRef,o=t.innerProps,l=t.menuIsOpen;return rn("div",vt({ref:i},Ta(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":a,"control--menu-is-open":l}),o,{"aria-disabled":r||void 0}),n)},WCe=BCe,zCe=["data"],qCe=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},HCe=function(t){var n=t.children,r=t.cx,a=t.getStyles,i=t.getClassNames,o=t.Heading,l=t.headingProps,u=t.innerProps,d=t.label,f=t.theme,g=t.selectProps;return rn("div",vt({},Ta(t,"group",{group:!0}),u),rn(o,vt({},l,{selectProps:g,theme:f,getStyles:a,getClassNames:i,cx:r}),d),rn("div",null,n))},VCe=function(t,n){var r=t.theme,a=r.colors,i=r.spacing;return Zt({label:"group",cursor:"default",display:"block"},n?{}:{color:a.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},GCe=function(t){var n=lJ(t);n.data;var r=wu(n,zCe);return rn("div",vt({},Ta(t,"groupHeading",{"group-heading":!0}),r))},YCe=HCe,KCe=["innerRef","isDisabled","isHidden","inputClassName"],XCe=function(t,n){var r=t.isDisabled,a=t.value,i=t.theme,o=i.spacing,l=i.colors;return Zt(Zt({visibility:r?"hidden":"visible",transform:a?"translateZ(0)":""},QCe),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:l.neutral80})},vJ={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},QCe={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Zt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},vJ)},ZCe=function(t){return Zt({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},vJ)},JCe=function(t){var n=t.cx,r=t.value,a=lJ(t),i=a.innerRef,o=a.isDisabled,l=a.isHidden,u=a.inputClassName,d=wu(a,KCe);return rn("div",vt({},Ta(t,"input",{"input-container":!0}),{"data-value":r||""}),rn("input",vt({className:n({input:!0},u),ref:i,style:ZCe(l),disabled:o},d)))},eke=JCe,tke=function(t,n){var r=t.theme,a=r.spacing,i=r.borderRadius,o=r.colors;return Zt({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:a.baseUnit/2})},nke=function(t,n){var r=t.theme,a=r.borderRadius,i=r.colors,o=t.cropWithEllipsis;return Zt({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:a/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},rke=function(t,n){var r=t.theme,a=r.spacing,i=r.borderRadius,o=r.colors,l=t.isFocused;return Zt({alignItems:"center",display:"flex"},n?{}:{borderRadius:i/2,backgroundColor:l?o.dangerLight:void 0,paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},yJ=function(t){var n=t.children,r=t.innerProps;return rn("div",r,n)},ake=yJ,ike=yJ;function oke(e){var t=e.children,n=e.innerProps;return rn("div",vt({role:"button"},n),t||rn(Q3,{size:14}))}var ske=function(t){var n=t.children,r=t.components,a=t.data,i=t.innerProps,o=t.isDisabled,l=t.removeProps,u=t.selectProps,d=r.Container,f=r.Label,g=r.Remove;return rn(d,{data:a,innerProps:Zt(Zt({},Ta(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:u},rn(f,{data:a,innerProps:Zt({},Ta(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),rn(g,{data:a,innerProps:Zt(Zt({},Ta(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},l),selectProps:u}))},lke=ske,uke=function(t,n){var r=t.isDisabled,a=t.isFocused,i=t.isSelected,o=t.theme,l=o.spacing,u=o.colors;return Zt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:i?u.primary:a?u.primary25:"transparent",color:r?u.neutral20:i?u.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:i?u.primary:u.primary50}})},cke=function(t){var n=t.children,r=t.isDisabled,a=t.isFocused,i=t.isSelected,o=t.innerRef,l=t.innerProps;return rn("div",vt({},Ta(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":a,"option--is-selected":i}),{ref:o,"aria-disabled":r},l),n)},dke=cke,fke=function(t,n){var r=t.theme,a=r.spacing,i=r.colors;return Zt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:i.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},pke=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ta(t,"placeholder",{placeholder:!0}),r),n)},mke=pke,hke=function(t,n){var r=t.isDisabled,a=t.theme,i=a.spacing,o=a.colors;return Zt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},gke=function(t){var n=t.children,r=t.isDisabled,a=t.innerProps;return rn("div",vt({},Ta(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),a),n)},vke=gke,yke={ClearIndicator:ICe,Control:WCe,DropdownIndicator:NCe,DownChevron:hJ,CrossIcon:Q3,Group:YCe,GroupHeading:GCe,IndicatorsContainer:_Ce,IndicatorSeparator:$Ce,Input:eke,LoadingIndicator:jCe,Menu:pCe,MenuList:hCe,MenuPortal:SCe,LoadingMessage:bCe,NoOptionsMessage:yCe,MultiValue:lke,MultiValueContainer:ake,MultiValueLabel:ike,MultiValueRemove:oke,Option:dke,Placeholder:mke,SelectContainer:TCe,SingleValue:vke,ValueContainer:kCe},bke=function(t){return Zt(Zt({},yke),t.components)},b8=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function wke(e,t){return!!(e===t||b8(e)&&b8(t))}function Ske(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return o?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,a=t.options,i=t.label,o=i===void 0?"":i,l=t.selectValue,u=t.isDisabled,d=t.isSelected,f=t.isAppleDevice,g=function(E,T){return E&&E.length?"".concat(E.indexOf(T)+1," of ").concat(E.length):""};if(n==="value"&&l)return"value ".concat(o," focused, ").concat(g(l,r),".");if(n==="menu"&&f){var y=u?" disabled":"",p="".concat(d?" selected":"").concat(y);return"".concat(o).concat(p,", ").concat(g(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},xke=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,i=t.focusableOptions,o=t.isFocused,l=t.selectValue,u=t.selectProps,d=t.id,f=t.isAppleDevice,g=u.ariaLiveMessages,y=u.getOptionLabel,p=u.inputValue,v=u.isMulti,E=u.isOptionDisabled,T=u.isSearchable,C=u.menuIsOpen,k=u.options,_=u.screenReaderStatus,A=u.tabSelectsValue,P=u.isLoading,N=u["aria-label"],I=u["aria-live"],L=R.useMemo(function(){return Zt(Zt({},kke),g||{})},[g]),j=R.useMemo(function(){var he="";if(n&&L.onChange){var W=n.option,G=n.options,q=n.removedValue,ce=n.removedValues,H=n.value,Y=function(fe){return Array.isArray(fe)?null:fe},ie=q||W||Y(H),Z=ie?y(ie):"",ee=G||ce||void 0,J=ee?ee.map(y):[],ue=Zt({isDisabled:ie&&E(ie,l),label:Z,labels:J},n);he=L.onChange(ue)}return he},[n,L,E,l,y]),z=R.useMemo(function(){var he="",W=r||a,G=!!(r&&l&&l.includes(r));if(W&&L.onFocus){var q={focused:W,label:y(W),isDisabled:E(W,l),isSelected:G,options:i,context:W===r?"menu":"value",selectValue:l,isAppleDevice:f};he=L.onFocus(q)}return he},[r,a,y,E,L,i,l,f]),Q=R.useMemo(function(){var he="";if(C&&k.length&&!P&&L.onFilter){var W=_({count:i.length});he=L.onFilter({inputValue:p,resultsMessage:W})}return he},[i,p,C,L,k,_,P]),le=(n==null?void 0:n.action)==="initial-input-focus",re=R.useMemo(function(){var he="";if(L.guidance){var W=a?"value":C?"menu":"input";he=L.guidance({"aria-label":N,context:W,isDisabled:r&&E(r,l),isMulti:v,isSearchable:T,tabSelectsValue:A,isInitialFocus:le})}return he},[N,r,a,v,E,T,C,L,l,A,le]),ge=rn(R.Fragment,null,rn("span",{id:"aria-selection"},j),rn("span",{id:"aria-focused"},z),rn("span",{id:"aria-results"},Q),rn("span",{id:"aria-guidance"},re));return rn(R.Fragment,null,rn(w8,{id:d},le&&ge),rn(w8,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!le&&ge))},_ke=xke,eL=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Oke=new RegExp("["+eL.map(function(e){return e.letters}).join("")+"]","g"),bJ={};for(var sP=0;sP-1}},Nke=["innerRef"];function Mke(e){var t=e.innerRef,n=wu(e,Nke),r=iCe(n,"onExited","in","enter","exit","appear");return rn("input",vt({ref:t},r,{css:G3({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Ike=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Dke(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,o=R.useRef(!1),l=R.useRef(!1),u=R.useRef(0),d=R.useRef(null),f=R.useCallback(function(T,C){if(d.current!==null){var k=d.current,_=k.scrollTop,A=k.scrollHeight,P=k.clientHeight,N=d.current,I=C>0,L=A-P-_,j=!1;L>C&&o.current&&(r&&r(T),o.current=!1),I&&l.current&&(i&&i(T),l.current=!1),I&&C>L?(n&&!o.current&&n(T),N.scrollTop=A,j=!0,o.current=!0):!I&&-C>_&&(a&&!l.current&&a(T),N.scrollTop=0,j=!0,l.current=!0),j&&Ike(T)}},[n,r,a,i]),g=R.useCallback(function(T){f(T,T.deltaY)},[f]),y=R.useCallback(function(T){u.current=T.changedTouches[0].clientY},[]),p=R.useCallback(function(T){var C=u.current-T.changedTouches[0].clientY;f(T,C)},[f]),v=R.useCallback(function(T){if(T){var C=nCe?{passive:!1}:!1;T.addEventListener("wheel",g,C),T.addEventListener("touchstart",y,C),T.addEventListener("touchmove",p,C)}},[p,y,g]),E=R.useCallback(function(T){T&&(T.removeEventListener("wheel",g,!1),T.removeEventListener("touchstart",y,!1),T.removeEventListener("touchmove",p,!1))},[p,y,g]);return R.useEffect(function(){if(t){var T=d.current;return v(T),function(){E(T)}}},[t,v,E]),function(T){d.current=T}}var E8=["boxSizing","height","overflow","paddingRight","position"],T8={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function C8(e){e.cancelable&&e.preventDefault()}function k8(e){e.stopPropagation()}function x8(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function _8(){return"ontouchstart"in window||navigator.maxTouchPoints}var O8=!!(typeof window<"u"&&window.document&&window.document.createElement),Vw=0,Fy={capture:!1,passive:!1};function $ke(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=R.useRef({}),i=R.useRef(null),o=R.useCallback(function(u){if(O8){var d=document.body,f=d&&d.style;if(r&&E8.forEach(function(v){var E=f&&f[v];a.current[v]=E}),r&&Vw<1){var g=parseInt(a.current.paddingRight,10)||0,y=document.body?document.body.clientWidth:0,p=window.innerWidth-y+g||0;Object.keys(T8).forEach(function(v){var E=T8[v];f&&(f[v]=E)}),f&&(f.paddingRight="".concat(p,"px"))}d&&_8()&&(d.addEventListener("touchmove",C8,Fy),u&&(u.addEventListener("touchstart",x8,Fy),u.addEventListener("touchmove",k8,Fy))),Vw+=1}},[r]),l=R.useCallback(function(u){if(O8){var d=document.body,f=d&&d.style;Vw=Math.max(Vw-1,0),r&&Vw<1&&E8.forEach(function(g){var y=a.current[g];f&&(f[g]=y)}),d&&_8()&&(d.removeEventListener("touchmove",C8,Fy),u&&(u.removeEventListener("touchstart",x8,Fy),u.removeEventListener("touchmove",k8,Fy)))}},[r]);return R.useEffect(function(){if(t){var u=i.current;return o(u),function(){l(u)}}},[t,o,l]),function(u){i.current=u}}var Lke=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Fke={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function jke(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,i=e.onBottomArrive,o=e.onBottomLeave,l=e.onTopArrive,u=e.onTopLeave,d=Dke({isEnabled:a,onBottomArrive:i,onBottomLeave:o,onTopArrive:l,onTopLeave:u}),f=$ke({isEnabled:n}),g=function(p){d(p),f(p)};return rn(R.Fragment,null,n&&rn("div",{onClick:Lke,css:Fke}),t(g))}var Uke={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Bke=function(t){var n=t.name,r=t.onFocus;return rn("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:Uke,value:"",onChange:function(){}})},Wke=Bke;function Z3(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function zke(){return Z3(/^iPhone/i)}function SJ(){return Z3(/^Mac/i)}function qke(){return Z3(/^iPad/i)||SJ()&&navigator.maxTouchPoints>1}function Hke(){return zke()||qke()}function Vke(){return SJ()||Hke()}var Gke=function(t){return t.label},Yke=function(t){return t.label},Kke=function(t){return t.value},Xke=function(t){return!!t.isDisabled},Qke={clearIndicator:MCe,container:ECe,control:UCe,dropdownIndicator:ACe,group:qCe,groupHeading:VCe,indicatorsContainer:xCe,indicatorSeparator:DCe,input:XCe,loadingIndicator:FCe,loadingMessage:vCe,menu:cCe,menuList:mCe,menuPortal:wCe,multiValue:tke,multiValueLabel:nke,multiValueRemove:rke,noOptionsMessage:gCe,option:uke,placeholder:fke,singleValue:hke,valueContainer:CCe},Zke={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Jke=4,EJ=4,exe=38,txe=EJ*2,nxe={baseUnit:EJ,controlHeight:exe,menuGutter:txe},cP={borderRadius:Jke,colors:Zke,spacing:nxe},rxe={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:v8(),captureMenuScroll:!v8(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ake(),formatGroupLabel:Gke,getOptionLabel:Yke,getOptionValue:Kke,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Xke,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!eCe(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function R8(e,t,n,r){var a=kJ(e,t,n),i=xJ(e,t,n),o=CJ(e,t),l=Wk(e,t);return{type:"option",data:t,isDisabled:a,isSelected:i,label:o,value:l,index:r}}function ZC(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(o,l){return R8(e,o,t,l)}).filter(function(o){return A8(e,o)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var i=R8(e,n,t,r);return A8(e,i)?i:void 0}).filter(rCe)}function TJ(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,xb(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function P8(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,xb(r.options.map(function(a){return{data:a.data,id:"".concat(t,"-").concat(r.index,"-").concat(a.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function axe(e,t){return TJ(ZC(e,t))}function A8(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,i=t.isSelected,o=t.label,l=t.value;return(!OJ(e)||!i)&&_J(e,{label:o,value:l,data:a},r)}function ixe(e,t){var n=e.focusedValue,r=e.selectValue,a=r.indexOf(n);if(a>-1){var i=t.indexOf(n);if(i>-1)return n;if(a-1?n:t[0]}var dP=function(t,n){var r,a=(r=t.find(function(i){return i.data===n}))===null||r===void 0?void 0:r.id;return a||null},CJ=function(t,n){return t.getOptionLabel(n)},Wk=function(t,n){return t.getOptionValue(n)};function kJ(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function xJ(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Wk(e,t);return n.some(function(a){return Wk(e,a)===r})}function _J(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var OJ=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},sxe=1,RJ=(function(e){tr(n,e);var t=nr(n);function n(r){var a;if(Xn(this,n),a=t.call(this,r),a.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.isAppleDevice=Vke(),a.controlRef=null,a.getControlRef=function(u){a.controlRef=u},a.focusedOptionRef=null,a.getFocusedOptionRef=function(u){a.focusedOptionRef=u},a.menuListRef=null,a.getMenuListRef=function(u){a.menuListRef=u},a.inputRef=null,a.getInputRef=function(u){a.inputRef=u},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(u,d){var f=a.props,g=f.onChange,y=f.name;d.name=y,a.ariaOnChange(u,d),g(u,d)},a.setValue=function(u,d,f){var g=a.props,y=g.closeMenuOnSelect,p=g.isMulti,v=g.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:v}),y&&(a.setState({inputIsHiddenAfterUpdate:!p}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(u,{action:d,option:f})},a.selectOption=function(u){var d=a.props,f=d.blurInputOnSelect,g=d.isMulti,y=d.name,p=a.state.selectValue,v=g&&a.isOptionSelected(u,p),E=a.isOptionDisabled(u,p);if(v){var T=a.getOptionValue(u);a.setValue(p.filter(function(C){return a.getOptionValue(C)!==T}),"deselect-option",u)}else if(!E)g?a.setValue([].concat(xb(p),[u]),"select-option",u):a.setValue(u,"select-option");else{a.ariaOnChange(u,{action:"select-option",option:u,name:y});return}f&&a.blurInput()},a.removeValue=function(u){var d=a.props.isMulti,f=a.state.selectValue,g=a.getOptionValue(u),y=f.filter(function(v){return a.getOptionValue(v)!==g}),p=yC(d,y,y[0]||null);a.onChange(p,{action:"remove-value",removedValue:u}),a.focusInput()},a.clearValue=function(){var u=a.state.selectValue;a.onChange(yC(a.props.isMulti,[],null),{action:"clear",removedValues:u})},a.popValue=function(){var u=a.props.isMulti,d=a.state.selectValue,f=d[d.length-1],g=d.slice(0,d.length-1),y=yC(u,g,g[0]||null);f&&a.onChange(y,{action:"pop-value",removedValue:f})},a.getFocusedOptionId=function(u){return dP(a.state.focusableOptionsWithIds,u)},a.getFocusableOptionsWithIds=function(){return P8(ZC(a.props,a.state.selectValue),a.getElementId("option"))},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var u=arguments.length,d=new Array(u),f=0;fp||y>p}},a.onTouchEnd=function(u){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(u.target)&&a.menuListRef&&!a.menuListRef.contains(u.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(u){a.userIsDragging||a.onControlMouseDown(u)},a.onClearIndicatorTouchEnd=function(u){a.userIsDragging||a.onClearIndicatorMouseDown(u)},a.onDropdownIndicatorTouchEnd=function(u){a.userIsDragging||a.onDropdownIndicatorMouseDown(u)},a.handleInputChange=function(u){var d=a.props.inputValue,f=u.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(f,{action:"input-change",prevInputValue:d}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(u){a.props.onFocus&&a.props.onFocus(u),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(u){var d=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(u),a.onInputChange("",{action:"input-blur",prevInputValue:d}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(u){if(!(a.blockOptionHover||a.state.focusedOption===u)){var d=a.getFocusableOptions(),f=d.indexOf(u);a.setState({focusedOption:u,focusedOptionId:f>-1?a.getFocusedOptionId(u):null})}},a.shouldHideSelectedOptions=function(){return OJ(a.props)},a.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),a.focus()},a.onKeyDown=function(u){var d=a.props,f=d.isMulti,g=d.backspaceRemovesValue,y=d.escapeClearsValue,p=d.inputValue,v=d.isClearable,E=d.isDisabled,T=d.menuIsOpen,C=d.onKeyDown,k=d.tabSelectsValue,_=d.openMenuOnFocus,A=a.state,P=A.focusedOption,N=A.focusedValue,I=A.selectValue;if(!E&&!(typeof C=="function"&&(C(u),u.defaultPrevented))){switch(a.blockOptionHover=!0,u.key){case"ArrowLeft":if(!f||p)return;a.focusValue("previous");break;case"ArrowRight":if(!f||p)return;a.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(N)a.removeValue(N);else{if(!g)return;f?a.popValue():v&&a.clearValue()}break;case"Tab":if(a.isComposing||u.shiftKey||!T||!k||!P||_&&a.isOptionSelected(P,I))return;a.selectOption(P);break;case"Enter":if(u.keyCode===229)break;if(T){if(!P||a.isComposing)return;a.selectOption(P);break}return;case"Escape":T?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:p}),a.onMenuClose()):v&&y&&a.clearValue();break;case" ":if(p)return;if(!T){a.openMenu("first");break}if(!P)return;a.selectOption(P);break;case"ArrowUp":T?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":T?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!T)return;a.focusOption("pageup");break;case"PageDown":if(!T)return;a.focusOption("pagedown");break;case"Home":if(!T)return;a.focusOption("first");break;case"End":if(!T)return;a.focusOption("last");break;default:return}u.preventDefault()}},a.state.instancePrefix="react-select-"+(a.props.instanceId||++sxe),a.state.selectValue=h8(r.value),r.menuIsOpen&&a.state.selectValue.length){var i=a.getFocusableOptionsWithIds(),o=a.buildFocusableOptions(),l=o.indexOf(a.state.selectValue[0]);a.state.focusableOptionsWithIds=i,a.state.focusedOption=o[l],a.state.focusedOptionId=dP(i,o[l])}return a}return Qn(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&g8(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(a){var i=this.props,o=i.isDisabled,l=i.menuIsOpen,u=this.state.isFocused;(u&&!o&&a.isDisabled||u&&l&&!a.menuIsOpen)&&this.focusInput(),u&&o&&!a.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!o&&a.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(g8(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,i){this.props.onInputChange(a,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var i=this,o=this.state,l=o.selectValue,u=o.isFocused,d=this.buildFocusableOptions(),f=a==="first"?0:d.length-1;if(!this.props.isMulti){var g=d.indexOf(l[0]);g>-1&&(f=g)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:d[f],focusedOptionId:this.getFocusedOptionId(d[f])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(a){var i=this.state,o=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=o.indexOf(l);l||(u=-1);var d=o.length-1,f=-1;if(o.length){switch(a){case"previous":u===0?f=0:u===-1?f=d:f=u-1;break;case"next":u>-1&&u0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,o=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var u=0,d=l.indexOf(o);o||(d=-1),a==="up"?u=d>0?d-1:l.length-1:a==="down"?u=(d+1)%l.length:a==="pageup"?(u=d-i,u<0&&(u=0)):a==="pagedown"?(u=d+i,u>l.length-1&&(u=l.length-1)):a==="last"&&(u=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[u])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(cP):Zt(Zt({},cP),this.props.theme):cP})},{key:"getCommonProps",value:function(){var a=this.clearValue,i=this.cx,o=this.getStyles,l=this.getClassNames,u=this.getValue,d=this.selectOption,f=this.setValue,g=this.props,y=g.isMulti,p=g.isRtl,v=g.options,E=this.hasValue();return{clearValue:a,cx:i,getStyles:o,getClassNames:l,getValue:u,hasValue:E,isMulti:y,isRtl:p,options:v,selectOption:d,selectProps:g,setValue:f,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,i=a.isClearable,o=a.isMulti;return i===void 0?o:i}},{key:"isOptionDisabled",value:function(a,i){return kJ(this.props,a,i)}},{key:"isOptionSelected",value:function(a,i){return xJ(this.props,a,i)}},{key:"filterOption",value:function(a,i){return _J(this.props,a,i)}},{key:"formatOptionLabel",value:function(a,i){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(a,{context:i,inputValue:o,selectValue:l})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var a=this.props,i=a.isDisabled,o=a.isSearchable,l=a.inputId,u=a.inputValue,d=a.tabIndex,f=a.form,g=a.menuIsOpen,y=a.required,p=this.getComponents(),v=p.Input,E=this.state,T=E.inputIsHidden,C=E.ariaSelection,k=this.commonProps,_=l||this.getElementId("input"),A=Zt(Zt(Zt({"aria-autocomplete":"list","aria-expanded":g,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":y,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(C==null?void 0:C.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?R.createElement(v,vt({},k,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:_,innerRef:this.getInputRef,isDisabled:i,isHidden:T,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:d,form:f,type:"text",value:u},A)):R.createElement(Mke,vt({id:_,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Uk,onFocus:this.onInputFocus,disabled:i,tabIndex:d,inputMode:"none",form:f,value:""},A))})},{key:"renderPlaceholderOrValue",value:function(){var a=this,i=this.getComponents(),o=i.MultiValue,l=i.MultiValueContainer,u=i.MultiValueLabel,d=i.MultiValueRemove,f=i.SingleValue,g=i.Placeholder,y=this.commonProps,p=this.props,v=p.controlShouldRenderValue,E=p.isDisabled,T=p.isMulti,C=p.inputValue,k=p.placeholder,_=this.state,A=_.selectValue,P=_.focusedValue,N=_.isFocused;if(!this.hasValue()||!v)return C?null:R.createElement(g,vt({},y,{key:"placeholder",isDisabled:E,isFocused:N,innerProps:{id:this.getElementId("placeholder")}}),k);if(T)return A.map(function(L,j){var z=L===P,Q="".concat(a.getOptionLabel(L),"-").concat(a.getOptionValue(L));return R.createElement(o,vt({},y,{components:{Container:l,Label:u,Remove:d},isFocused:z,isDisabled:E,key:Q,index:j,removeProps:{onClick:function(){return a.removeValue(L)},onTouchEnd:function(){return a.removeValue(L)},onMouseDown:function(re){re.preventDefault()}},data:L}),a.formatOptionLabel(L,"value"))});if(C)return null;var I=A[0];return R.createElement(f,vt({},y,{data:I,isDisabled:E}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),i=a.ClearIndicator,o=this.commonProps,l=this.props,u=l.isDisabled,d=l.isLoading,f=this.state.isFocused;if(!this.isClearable()||!i||u||!this.hasValue()||d)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return R.createElement(i,vt({},o,{innerProps:g,isFocused:f}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),i=a.LoadingIndicator,o=this.commonProps,l=this.props,u=l.isDisabled,d=l.isLoading,f=this.state.isFocused;if(!i||!d)return null;var g={"aria-hidden":"true"};return R.createElement(i,vt({},o,{innerProps:g,isDisabled:u,isFocused:f}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator,o=a.IndicatorSeparator;if(!i||!o)return null;var l=this.commonProps,u=this.props.isDisabled,d=this.state.isFocused;return R.createElement(o,vt({},l,{isDisabled:u,isFocused:d}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator;if(!i)return null;var o=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused,d={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return R.createElement(i,vt({},o,{innerProps:d,isDisabled:l,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,i=this.getComponents(),o=i.Group,l=i.GroupHeading,u=i.Menu,d=i.MenuList,f=i.MenuPortal,g=i.LoadingMessage,y=i.NoOptionsMessage,p=i.Option,v=this.commonProps,E=this.state.focusedOption,T=this.props,C=T.captureMenuScroll,k=T.inputValue,_=T.isLoading,A=T.loadingMessage,P=T.minMenuHeight,N=T.maxMenuHeight,I=T.menuIsOpen,L=T.menuPlacement,j=T.menuPosition,z=T.menuPortalTarget,Q=T.menuShouldBlockScroll,le=T.menuShouldScrollIntoView,re=T.noOptionsMessage,ge=T.onMenuScrollToTop,he=T.onMenuScrollToBottom;if(!I)return null;var W=function(Z,ee){var J=Z.type,ue=Z.data,ke=Z.isDisabled,fe=Z.isSelected,xe=Z.label,Ie=Z.value,qe=E===ue,nt=ke?void 0:function(){return a.onOptionHover(ue)},Ge=ke?void 0:function(){return a.selectOption(ue)},at="".concat(a.getElementId("option"),"-").concat(ee),Et={id:at,onClick:Ge,onMouseMove:nt,onMouseOver:nt,tabIndex:-1,role:"option","aria-selected":a.isAppleDevice?void 0:fe};return R.createElement(p,vt({},v,{innerProps:Et,data:ue,isDisabled:ke,isSelected:fe,key:at,label:xe,type:J,value:Ie,isFocused:qe,innerRef:qe?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(Z.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function(ie){if(ie.type==="group"){var Z=ie.data,ee=ie.options,J=ie.index,ue="".concat(a.getElementId("group"),"-").concat(J),ke="".concat(ue,"-heading");return R.createElement(o,vt({},v,{key:ue,data:Z,options:ee,Heading:l,headingProps:{id:ke,data:ie.data},label:a.formatGroupLabel(ie.data)}),ie.options.map(function(fe){return W(fe,"".concat(J,"-").concat(fe.index))}))}else if(ie.type==="option")return W(ie,"".concat(ie.index))});else if(_){var q=A({inputValue:k});if(q===null)return null;G=R.createElement(g,v,q)}else{var ce=re({inputValue:k});if(ce===null)return null;G=R.createElement(y,v,ce)}var H={minMenuHeight:P,maxMenuHeight:N,menuPlacement:L,menuPosition:j,menuShouldScrollIntoView:le},Y=R.createElement(dCe,vt({},v,H),function(ie){var Z=ie.ref,ee=ie.placerProps,J=ee.placement,ue=ee.maxHeight;return R.createElement(u,vt({},v,H,{innerRef:Z,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:_,placement:J}),R.createElement(jke,{captureEnabled:C,onTopArrive:ge,onBottomArrive:he,lockEnabled:Q},function(ke){return R.createElement(d,vt({},v,{innerRef:function(xe){a.getMenuListRef(xe),ke(xe)},innerProps:{role:"listbox","aria-multiselectable":v.isMulti,id:a.getElementId("listbox")},isLoading:_,maxHeight:ue,focusedOption:E}),G)}))});return z||j==="fixed"?R.createElement(f,vt({},v,{appendTo:z,controlElement:this.controlRef,menuPlacement:L,menuPosition:j}),Y):Y}},{key:"renderFormField",value:function(){var a=this,i=this.props,o=i.delimiter,l=i.isDisabled,u=i.isMulti,d=i.name,f=i.required,g=this.state.selectValue;if(f&&!this.hasValue()&&!l)return R.createElement(Wke,{name:d,onFocus:this.onValueInputFocus});if(!(!d||l))if(u)if(o){var y=g.map(function(E){return a.getOptionValue(E)}).join(o);return R.createElement("input",{name:d,type:"hidden",value:y})}else{var p=g.length>0?g.map(function(E,T){return R.createElement("input",{key:"i-".concat(T),name:d,type:"hidden",value:a.getOptionValue(E)})}):R.createElement("input",{name:d,type:"hidden",value:""});return R.createElement("div",null,p)}else{var v=g[0]?this.getOptionValue(g[0]):"";return R.createElement("input",{name:d,type:"hidden",value:v})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,i=this.state,o=i.ariaSelection,l=i.focusedOption,u=i.focusedValue,d=i.isFocused,f=i.selectValue,g=this.getFocusableOptions();return R.createElement(_ke,vt({},a,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:l,focusedValue:u,isFocused:d,selectValue:f,focusableOptions:g,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var a=this.getComponents(),i=a.Control,o=a.IndicatorsContainer,l=a.SelectContainer,u=a.ValueContainer,d=this.props,f=d.className,g=d.id,y=d.isDisabled,p=d.menuIsOpen,v=this.state.isFocused,E=this.commonProps=this.getCommonProps();return R.createElement(l,vt({},E,{className:f,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:y,isFocused:v}),this.renderLiveRegion(),R.createElement(i,vt({},E,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:y,isFocused:v,menuIsOpen:p}),R.createElement(u,vt({},E,{isDisabled:y}),this.renderPlaceholderOrValue(),this.renderInput()),R.createElement(o,vt({},E,{isDisabled:y}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,l=i.clearFocusValueOnUpdate,u=i.inputIsHiddenAfterUpdate,d=i.ariaSelection,f=i.isFocused,g=i.prevWasFocused,y=i.instancePrefix,p=a.options,v=a.value,E=a.menuIsOpen,T=a.inputValue,C=a.isMulti,k=h8(v),_={};if(o&&(v!==o.value||p!==o.options||E!==o.menuIsOpen||T!==o.inputValue)){var A=E?axe(a,k):[],P=E?P8(ZC(a,k),"".concat(y,"-option")):[],N=l?ixe(i,k):null,I=oxe(i,A),L=dP(P,I);_={selectValue:k,focusedOption:I,focusedOptionId:L,focusableOptionsWithIds:P,focusedValue:N,clearFocusValueOnUpdate:!1}}var j=u!=null&&a!==o?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},z=d,Q=f&&g;return f&&!Q&&(z={value:yC(C,k,k[0]||null),options:k,action:"initial-input-focus"},Q=!g),(d==null?void 0:d.action)==="initial-input-focus"&&(z=null),Zt(Zt(Zt({},_),j),{},{prevProps:a,ariaSelection:z,prevWasFocused:Q})}}]),n})(R.Component);RJ.defaultProps=rxe;var lxe=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function uxe(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,a=r===void 0?!1:r,i=e.defaultValue,o=i===void 0?null:i,l=e.inputValue,u=e.menuIsOpen,d=e.onChange,f=e.onInputChange,g=e.onMenuClose,y=e.onMenuOpen,p=e.value,v=wu(e,lxe),E=R.useState(l!==void 0?l:n),T=mi(E,2),C=T[0],k=T[1],_=R.useState(u!==void 0?u:a),A=mi(_,2),P=A[0],N=A[1],I=R.useState(p!==void 0?p:o),L=mi(I,2),j=L[0],z=L[1],Q=R.useCallback(function(q,ce){typeof d=="function"&&d(q,ce),z(q)},[d]),le=R.useCallback(function(q,ce){var H;typeof f=="function"&&(H=f(q,ce)),k(H!==void 0?H:q)},[f]),re=R.useCallback(function(){typeof y=="function"&&y(),N(!0)},[y]),ge=R.useCallback(function(){typeof g=="function"&&g(),N(!1)},[g]),he=l!==void 0?l:C,W=u!==void 0?u:P,G=p!==void 0?p:j;return Zt(Zt({},v),{},{inputValue:he,menuIsOpen:W,onChange:Q,onInputChange:le,onMenuClose:ge,onMenuOpen:re,value:G})}var cxe=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function dxe(e){var t=e.defaultOptions,n=t===void 0?!1:t,r=e.cacheOptions,a=r===void 0?!1:r,i=e.loadOptions;e.options;var o=e.isLoading,l=o===void 0?!1:o,u=e.onInputChange,d=e.filterOption,f=d===void 0?null:d,g=wu(e,cxe),y=g.inputValue,p=R.useRef(void 0),v=R.useRef(!1),E=R.useState(Array.isArray(n)?n:void 0),T=mi(E,2),C=T[0],k=T[1],_=R.useState(typeof y<"u"?y:""),A=mi(_,2),P=A[0],N=A[1],I=R.useState(n===!0),L=mi(I,2),j=L[0],z=L[1],Q=R.useState(void 0),le=mi(Q,2),re=le[0],ge=le[1],he=R.useState([]),W=mi(he,2),G=W[0],q=W[1],ce=R.useState(!1),H=mi(ce,2),Y=H[0],ie=H[1],Z=R.useState({}),ee=mi(Z,2),J=ee[0],ue=ee[1],ke=R.useState(void 0),fe=mi(ke,2),xe=fe[0],Ie=fe[1],qe=R.useState(void 0),nt=mi(qe,2),Ge=nt[0],at=nt[1];a!==Ge&&(ue({}),at(a)),n!==xe&&(k(Array.isArray(n)?n:void 0),Ie(n)),R.useEffect(function(){return v.current=!0,function(){v.current=!1}},[]);var Et=R.useCallback(function(Rt,cn){if(!i)return cn();var Ht=i(Rt,cn);Ht&&typeof Ht.then=="function"&&Ht.then(cn,function(){return cn()})},[i]);R.useEffect(function(){n===!0&&Et(P,function(Rt){v.current&&(k(Rt||[]),z(!!p.current))})},[]);var kt=R.useCallback(function(Rt,cn){var Ht=KTe(Rt,cn,u);if(!Ht){p.current=void 0,N(""),ge(""),q([]),z(!1),ie(!1);return}if(a&&J[Ht])N(Ht),ge(Ht),q(J[Ht]),z(!1),ie(!1);else{var Wt=p.current={};N(Ht),z(!0),ie(!re),Et(Ht,function(Oe){v&&Wt===p.current&&(p.current=void 0,z(!1),ge(Ht),q(Oe||[]),ie(!1),ue(Oe?Zt(Zt({},J),{},St({},Ht,Oe)):J))})}},[a,Et,re,J,u]),xt=Y?[]:P&&re?G:C||[];return Zt(Zt({},g),{},{options:xt,isLoading:j||l,onInputChange:kt,filterOption:f})}var fxe=R.forwardRef(function(e,t){var n=dxe(e),r=uxe(n);return R.createElement(RJ,vt({ref:t},r))}),pxe=fxe;function mxe(e,t){return t?t(e):{name:{operation:"contains",value:e}}}function J3(e){return w.jsx(ca,{...e,multiple:!0})}function ca(e){var y,p,v;const t=At(),n=Ls();let[r,a]=R.useState("");if(!e.querySource)return w.jsx("div",{children:"No query source to render"});const{query:i,keyExtractor:o}=e.querySource({queryClient:n,query:{itemsPerPage:20,jsonQuery:mxe(r,e.jsonQuery),withPreloads:e.withPreloads},queryOptions:{refetchOnWindowFocus:!1}}),l=e.keyExtractor||o||(E=>JSON.stringify(E)),u=(p=(y=i==null?void 0:i.data)==null?void 0:y.data)==null?void 0:p.items,d=E=>{var T;if((T=e==null?void 0:e.formEffect)!=null&&T.form){const{formEffect:C}=e,k={...C.form.values};if(C.beforeSet&&(E=C.beforeSet(E)),Ea.set(k,C.field,E),Ea.isObject(E)&&E.uniqueId&&C.skipFirebackMetaData!==!0&&Ea.set(k,C.field+"Id",E.uniqueId),Ea.isArray(E)&&C.skipFirebackMetaData!==!0){const _=C.field+"ListId";Ea.set(k,_,(E||[]).map(A=>A.uniqueId))}C==null||C.form.setValues(k)}e.onChange&&typeof e.onChange=="function"&&e.onChange(E)};let f=e.value;if(f===void 0&&((v=e.formEffect)!=null&&v.form)){const E=Ea.get(e.formEffect.form.values,e.formEffect.field);E!==void 0&&(f=E)}typeof f!="object"&&l&&f!==void 0&&(f=u.find(E=>l(E)===f));const g=E=>new Promise(T=>{setTimeout(()=>{T(u)},100)});return w.jsxs(qd,{...e,children:[e.children,e.convertToNative?w.jsxs("select",{value:f,multiple:e.multiple,onChange:E=>{const T=u==null?void 0:u.find(C=>C.uniqueId===E.target.value);d(T)},className:ia("form-select",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),disabled:e.disabled,"aria-label":"Default select example",children:[w.jsx("option",{value:"",children:t.selectPlaceholder},void 0),u==null?void 0:u.filter(Boolean).map(E=>{const T=l(E);return w.jsx("option",{value:T,children:e.fnLabelFormat(E)},T)})]}):w.jsx(w.Fragment,{children:w.jsx(pxe,{value:f,onChange:E=>{d(E)},isMulti:e.multiple,classNames:{container(E){return ia(e.errorMessage&&" form-control form-control-no-padding is-invalid",e.validMessage&&"is-valid")},control(E){return ia("form-control form-control-no-padding")},menu(E){return"react-select-menu-area"}},isSearchable:!0,defaultOptions:u,placeholder:t.searchplaceholder,noOptionsMessage:()=>t.noOptions,getOptionValue:l,loadOptions:g,formatOptionLabel:e.fnLabelFormat,onInputChange:a})})]})}const hxe=({form:e,isEditing:t})=>{const{options:n}=R.useContext(Je),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(HS);return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.name,onChange:u=>i(gi.Fields.name,u,!1),errorMessage:o.name,label:l.capabilities.name,hint:l.capabilities.nameHint}),w.jsx(In,{value:r.description,onChange:u=>i(gi.Fields.description,u,!1),errorMessage:o.description,label:l.capabilities.description,hint:l.capabilities.descriptionHint})]})};function PJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/capability/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*fireback.CapabilityEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function gxe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/capability".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*fireback.CapabilityEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function vxe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/capability".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*fireback.CapabilityEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const N8=({data:e})=>{const t=Kt(HS),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=PJ({query:{uniqueId:r}}),l=gxe({queryClient:a}),u=vxe({queryClient:a});return w.jsx(jo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(gi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return gi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:hxe,onEditTitle:t.capabilities.editCapability,onCreateTitle:t.capabilities.newCapability,data:e})},ro=({children:e,getSingleHook:t,editEntityHandler:n,noBack:r,disableOnGetFailed:a})=>{var l;const{router:i,locale:o}=Dr({});return Mpe(n?()=>n({locale:o,router:i}):void 0,Ir.EditEntity),jX(r!==!0?()=>i.goBack():null,Ir.CommonBack),w.jsxs(w.Fragment,{children:[w.jsx(xl,{query:t.query}),a===!0&&((l=t==null?void 0:t.query)!=null&&l.isError)?null:w.jsx(w.Fragment,{children:e})]})};function ao({entity:e,fields:t,title:n,description:r}){var i;const a=At();return w.jsx("div",{className:"mt-4",children:w.jsxs("div",{className:"general-entity-view ",children:[n?w.jsx("h1",{children:n}):null,r?w.jsx("p",{children:r}):null,w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:a.table.info}),w.jsx("div",{className:"field-value",children:a.table.value})]}),(e==null?void 0:e.uniqueId)&&w.jsxs("div",{className:"entity-view-row entity-view-body",children:[w.jsx("div",{className:"field-info",children:a.table.uniqueId}),w.jsx("div",{className:"field-value",children:e.uniqueId})]}),(i=t||[])==null?void 0:i.map((o,l)=>{var d;let u=o.elem===void 0?"-":o.elem;return o.elem===!0&&(u=a.common.yes),o.elem===!1&&(u=a.common.no),o.elem===null&&(u=w.jsx("i",{children:w.jsx("b",{children:a.common.isNUll})})),w.jsxs("div",{className:"entity-view-row entity-view-body",children:[w.jsx("div",{className:"field-info",children:o.label}),w.jsxs("div",{className:"field-value","data-test-id":((d=o.label)==null?void 0:d.toString())||"",children:[u," ",w.jsx(QQ,{value:u})]})]},l)}),(e==null?void 0:e.createdFormatted)&&w.jsxs("div",{className:"entity-view-row entity-view-body",children:[w.jsx("div",{className:"field-info",children:a.table.created}),w.jsx("div",{className:"field-value",children:e.createdFormatted})]})]})})}const yxe=()=>{var a;const{uniqueId:e}=Dr({}),t=PJ({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(HS);return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:i,router:o})=>{o.push(gi.Navigation.edit(e))},getSingleHook:t,children:w.jsx(ao,{entity:n,fields:[{elem:n==null?void 0:n.name,label:r.capabilities.name},{elem:n==null?void 0:n.description,label:r.capabilities.description}]})})})};function bxe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(N8,{}),path:gi.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(yxe,{}),path:gi.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(N8,{}),path:gi.Navigation.Redit}),w.jsx(ht,{element:w.jsx(Lbe,{}),path:gi.Navigation.Rquery})]})}function wxe(e){const t=R.useContext(Sxe);R.useEffect(()=>{const n=t.listenFiles(e);return()=>t.removeSubscription(n)},[])}const Sxe=ze.createContext({listenFiles(){return""},removeSubscription(){},refs:[]});function AJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/files".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.FileEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}AJ.UKEY="*abac.FileEntity";const Exe=e=>[{name:wd.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:wd.Fields.name,title:e.drive.title,width:200},{name:wd.Fields.size,title:e.drive.size,width:100},{name:wd.Fields.virtualPath,title:e.drive.virtualPath,width:100},{name:wd.Fields.type,title:e.drive.type,width:100}],Txe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:Exe(e),queryHook:AJ,uniqueIdHrefHandler:t=>wd.Navigation.single(t)})})};function Cxe(e,t){const n=[];let r=!1;for(let a of e)a.uploadId===t.uploadId?(r=!0,n.push(t)):n.push(a);return r===!1&&n.push(t),n}function NJ(){const{session:e,selectedUrw:t,activeUploads:n,setActiveUploads:r}=R.useContext(Je),a=(l,u)=>o([new File([l],u)]),i=(l,u=!1)=>new Promise((d,f)=>{const g=new lpe(l,{endpoint:kr.REMOTE_SERVICE+"tus",onBeforeRequest(y){y.setHeader("authorization",e.token),y.setHeader("workspace-id",t==null?void 0:t.workspaceId)},headers:{},metadata:{filename:l.name,path:"/database/users",filetype:l.type},onSuccess(){var p;const y=(p=g.url)==null?void 0:p.match(/([a-z0-9]){10,}/gi);d(`${y}`)},onError(y){f(y)},onProgress(y,p){var E,T;const v=(T=(E=g.url)==null?void 0:E.match(/([a-z0-9]){10,}/gi))==null?void 0:T.toString();if(v){const C={uploadId:v,bytesSent:y,filename:l.name,bytesTotal:p};u!==!0&&r(k=>Cxe(k,C))}}});g.start()}),o=(l,u=!1)=>l.map(d=>i(d));return{upload:o,activeUploads:n,uploadBlob:a,uploadSingle:i}}const M8=()=>{const e=At(),{upload:t}=NJ(),n=Ls(),r=i=>{Promise.all(t(i)).then(o=>{n.invalidateQueries("*drive.FileEntity")}).catch(o=>{alert(o)})};wxe({label:"Add files or documents to drive",extentions:["*"],onCaptureFile(i){r(i)}});const a=()=>{var i=document.createElement("input");i.type="file",i.onchange=o=>{r(Array.from(o.target.files))},i.click()};return w.jsx(Lo,{pageTitle:e.drive.driveTitle,newEntityHandler:()=>{a()},children:w.jsx(Txe,{})})};function kxe({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/file/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.FileEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}const xxe=()=>{var o;const t=xr().query.uniqueId,n=kxe({query:{uniqueId:t}});let r=(o=n.query.data)==null?void 0:o.data;am((r==null?void 0:r.name)||"");const a=At(),{directPath:i}=VX();return w.jsx(w.Fragment,{children:w.jsx(ro,{getSingleHook:n,children:w.jsx(ao,{entity:r,fields:[{label:a.drive.name,elem:r==null?void 0:r.name},{label:a.drive.size,elem:r==null?void 0:r.size},{label:a.drive.type,elem:r==null?void 0:r.type},{label:a.drive.virtualPath,elem:r==null?void 0:r.virtualPath},{label:a.drive.viewPath,elem:w.jsx("pre",{children:i(r)})}]})})})};function _xe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{path:"drive",element:w.jsx(M8,{})}),w.jsx(ht,{path:"drives",element:w.jsx(M8,{})}),w.jsx(ht,{path:"file/:uniqueId",element:w.jsx(xxe,{})})]})}function MJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/email-provider/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.EmailProviderEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function Oxe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/email-provider".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.EmailProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function Rxe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/email-provider".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.EmailProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function Pxe(e,t){const n=Ea.flatMapDeep(t,(r,a,i)=>{let o=[],l=a;if(r&&typeof r=="object"&&!r.value){const u=Object.keys(r);if(u.length)for(let d of u)o.push({name:`${l}.${d}`,filter:r[d]})}else o.push({name:l,filter:r});return o});return e.filter((r,a)=>{for(let i of n){const o=Ea.get(r,i.name);if(o)switch(i.filter.operation){case"equal":if(o!==i.filter.value)return!1;break;case"contains":if(!o.includes(i.filter.value))return!1;break;case"notContains":if(o.includes(i.filter.value))return!1;break;case"endsWith":if(!o.endsWith(i.filter.value))return!1;break;case"startsWith":if(!o.startsWith(i.filter.value))return!1;break;case"greaterThan":if(oi.filter.value)return!1;break;case"lessThanOrEqual":if(o>=i.filter.value)return!1;break;case"notEqual":if(o===i.filter.value)return!1;break}}return!0})}function js(e){return t=>Axe({items:e,...t})}function Axe(e){var i,o;let t=((i=e.query)==null?void 0:i.itemsPerPage)||2,n=e.query.startIndex||0,r=e.items||[];return(o=e.query)!=null&&o.jsonQuery&&(r=Pxe(r,e.query.jsonQuery)),r=r.slice(n,n+t),{query:{data:{data:{items:r,totalItems:r.length,totalAvailableItems:r.length}},dataUpdatedAt:0,error:null,errorUpdateCount:0,errorUpdatedAt:0,failureCount:0,isError:!1,isFetched:!1,isFetchedAfterMount:!1,isFetching:!1,isIdle:!1,isLoading:!1,isLoadingError:!1,isPlaceholderData:!1,isPreviousData:!1,isRefetchError:!1,isRefetching:!1,isStale:!1,remove(){console.log("Use as query has not implemented this.")},refetch(){return console.log("Refetch is not working actually."),Promise.resolve(void 0)},isSuccess:!0,status:"success"},items:r}}const Nxe=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a}=e,i=At(),l=js([{label:"Sendgrid",value:"sendgrid"}]);return w.jsxs(w.Fragment,{children:[w.jsx(ca,{formEffect:{form:e,field:hi.Fields.type,beforeSet(u){return u.value}},querySource:l,errorMessage:a.type,label:i.mailProvider.type,hint:i.mailProvider.typeHint}),w.jsx(In,{value:n.apiKey,autoFocus:!t,onChange:u=>r(hi.Fields.apiKey,u,!1),dir:"ltr",errorMessage:a.apiKey,label:i.mailProvider.apiKey,hint:i.mailProvider.apiKeyHint})]})},I8=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,t:a,locale:i}=Dr({data:e}),o=MJ({query:{uniqueId:n}}),l=Rxe({queryClient:r}),u=Oxe({queryClient:r});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(hi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return hi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:Nxe,onEditTitle:a.fb.editMailProvider,onCreateTitle:a.fb.newMailProvider,data:e})},IJ=ze.createContext({setToken(){},setSession(){},signout(){},ref:{token:""},isAuthenticated:!1});function Mxe(){const e=localStorage.getItem("app_auth_state");if(e){try{const t=JSON.parse(e);return t?{...t}:{}}catch{}return{}}}const Ixe=Mxe();function Ux(e){const t=R.useContext(IJ);R.useEffect(()=>{t.setToken(e||"")},[e])}function Dxe({children:e}){const[t,n]=R.useState(Ixe),r=()=>{n({token:""}),localStorage.removeItem("app_auth_state")},a=l=>{const u={...t,...l};n(u),localStorage.setItem("app_auth_state",JSON.stringify(u))},i=l=>{const u={...t,token:l};n(u),localStorage.setItem("app_auth_state",JSON.stringify(u))},o=!!(t!=null&&t.token);return w.jsx(IJ.Provider,{value:{signout:r,setSession:a,isAuthenticated:o,ref:t,setToken:i},children:e})}const $xe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=MJ({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return Ux((a==null?void 0:a.type)||""),w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:()=>{e.push(hi.Navigation.edit(n))},getSingleHook:r,children:w.jsx(ao,{entity:a,fields:[{label:t.mailProvider.type,elem:w.jsx("span",{children:a==null?void 0:a.type})},{label:t.mailProvider.apiKey,elem:w.jsx("pre",{dir:"ltr",children:a==null?void 0:a.apiKey})}]})})})},Lxe=e=>[{name:hi.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:hi.Fields.type,title:e.mailProvider.type,width:200},{name:hi.Fields.apiKey,title:e.mailProvider.apiKey,width:200}];function eF({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/email-providers".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.EmailProviderEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}eF.UKEY="*abac.EmailProviderEntity";function Fxe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/email-provider".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.EmailProviderEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.EmailProviderEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const jxe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:Lxe(e),queryHook:eF,uniqueIdHrefHandler:t=>hi.Navigation.single(t),deleteHook:Fxe})})},Uxe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Lo,{pageTitle:e.fbMenu.emailProviders,newEntityHandler:({locale:t,router:n})=>{n.push(hi.Navigation.create())},children:w.jsx(jxe,{})})})};function Bxe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(I8,{}),path:hi.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx($xe,{}),path:hi.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(I8,{}),path:hi.Navigation.Redit}),w.jsx(ht,{element:w.jsx(Uxe,{}),path:hi.Navigation.Rquery})]})}class Ua extends wn{constructor(...t){super(...t),this.children=void 0,this.fromName=void 0,this.fromEmailAddress=void 0,this.replyTo=void 0,this.nickName=void 0}}Ua.Navigation={edit(e,t){return`${t?"/"+t:".."}/email-sender/edit/${e}`},create(e){return`${e?"/"+e:".."}/email-sender/new`},single(e,t){return`${t?"/"+t:".."}/email-sender/${e}`},query(e={},t){return`${t?"/"+t:".."}/email-senders`},Redit:"email-sender/edit/:uniqueId",Rcreate:"email-sender/new",Rsingle:"email-sender/:uniqueId",Rquery:"email-senders"};Ua.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"emailSender",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"fromName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"fromEmailAddress",type:"string",validate:"required",computedType:"string",gorm:"unique",gormMap:{}},{name:"replyTo",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"nickName",type:"string",validate:"required",computedType:"string",gormMap:{}}],description:"All emails going from the system need to have a virtual sender (nick name, email address, etc)"};Ua.Fields={...wn.Fields,fromName:"fromName",fromEmailAddress:"fromEmailAddress",replyTo:"replyTo",nickName:"nickName"};function DJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/email-sender/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.EmailSenderEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function Wxe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/email-sender".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.EmailSenderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function zxe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/email-sender".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.EmailSenderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const qxe=({form:e,isEditing:t})=>{const n=At(),{values:r,setFieldValue:a,errors:i}=e;return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.fromEmailAddress,onChange:o=>a(Ua.Fields.fromEmailAddress,o,!1),autoFocus:!t,errorMessage:i.fromEmailAddress,label:n.mailProvider.fromEmailAddress,hint:n.mailProvider.fromEmailAddressHint}),w.jsx(In,{value:r.fromName,onChange:o=>a(Ua.Fields.fromName,o,!1),errorMessage:i.fromName,label:n.mailProvider.fromName,hint:n.mailProvider.fromNameHint}),w.jsx(In,{value:r.nickName,onChange:o=>a(Ua.Fields.nickName,o,!1),errorMessage:i.nickName,label:n.mailProvider.nickName,hint:n.mailProvider.nickNameHint}),w.jsx(In,{value:r.replyTo,onChange:o=>a(Ua.Fields.replyTo,o,!1),errorMessage:i.replyTo,label:n.mailProvider.replyTo,hint:n.mailProvider.replyToHint})]})},D8=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a}=Dr({data:e}),i=At(),o=DJ({query:{uniqueId:n}}),l=zxe({queryClient:r}),u=Wxe({queryClient:r});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(Ua.Navigation.query(void 0,a))},onFinishUriResolver:(d,f)=>{var g;return Ua.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:qxe,onEditTitle:i.fb.editMailSender,onCreateTitle:i.fb.newMailSender,data:e})},Hxe=()=>{var l;const e=xr(),t=At(),n=e.query.uniqueId;sr();const[r,a]=R.useState([]),i=DJ({query:{uniqueId:n}});var o=(l=i.query.data)==null?void 0:l.data;return Ux((o==null?void 0:o.fromName)||""),w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:()=>{e.push(Ua.Navigation.edit(n))},getSingleHook:i,children:w.jsx(ao,{entity:o,fields:[{label:t.mailProvider.fromName,elem:o==null?void 0:o.fromName},{label:t.mailProvider.fromEmailAddress,elem:o==null?void 0:o.fromEmailAddress},{label:t.mailProvider.nickName,elem:o==null?void 0:o.nickName},{label:t.mailProvider.replyTo,elem:o==null?void 0:o.replyTo}]})})})},Vxe=e=>[{name:Ua.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:Ua.Fields.fromName,title:e.mailProvider.fromName,width:200},{name:Ua.Fields.fromEmailAddress,title:e.mailProvider.fromEmailAddress,width:200},{name:Ua.Fields.nickName,title:e.mailProvider.nickName,width:200},{name:Ua.Fields.replyTo,title:e.mailProvider.replyTo,width:200}];function $J({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/email-senders".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.EmailSenderEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}$J.UKEY="*abac.EmailSenderEntity";function Gxe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/email-sender".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.EmailSenderEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.EmailSenderEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const Yxe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:Vxe(e),queryHook:$J,uniqueIdHrefHandler:t=>Ua.Navigation.single(t),deleteHook:Gxe})})},Kxe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Lo,{pageTitle:e.fbMenu.emailSenders,newEntityHandler:({locale:t,router:n})=>{n.push(Ua.Navigation.create())},children:w.jsx(Yxe,{})})})};function Xxe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(D8,{}),path:Ua.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(Hxe,{}),path:Ua.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(D8,{}),path:Ua.Navigation.Redit}),w.jsx(ht,{element:w.jsx(Kxe,{}),path:Ua.Navigation.Rquery})]})}const Qxe={passportMethods:{clientKeyHint:"Klucz klienta dla metod takich jak Google, służący do autoryzacji OAuth2",archiveTitle:"Metody paszportowe",region:"Region",regionHint:"Region",type:"Typ",editPassportMethod:"Edytuj metodę paszportową",newPassportMethod:"Nowa metoda paszportowa",typeHint:"Typ",clientKey:"Klucz klienta"}},Zxe={passportMethods:{archiveTitle:"Passport methods",clientKey:"Client Key",editPassportMethod:"Edit passport method",newPassportMethod:"New passport method",region:"Region",typeHint:"Type",clientKeyHint:"Client key for methods such as google, to authroize the oauth2",regionHint:"Region",type:"Type"}},XS={...Qxe,$pl:Zxe};class Wi extends wn{constructor(...t){super(...t),this.children=void 0,this.type=void 0,this.region=void 0,this.clientKey=void 0}}Wi.Navigation={edit(e,t){return`${t?"/"+t:".."}/passport-method/edit/${e}`},create(e){return`${e?"/"+e:".."}/passport-method/new`},single(e,t){return`${t?"/"+t:".."}/passport-method/${e}`},query(e={},t){return`${t?"/"+t:".."}/passport-methods`},Redit:"passport-method/edit/:uniqueId",Rcreate:"passport-method/new",Rsingle:"passport-method/:uniqueId",Rquery:"passport-methods"};Wi.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"passportMethod",features:{mock:!1,msync:!1},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"type",type:"enum",validate:"oneof=email phone google facebook,required",of:[{k:"email",description:"Authenticate users using email"},{k:"phone",description:"Authenticat users using phone number, can be sms, calls, or whatsapp."},{k:"google",description:"Users can be authenticated using their google account"},{k:"facebook",description:"Users can be authenticated using their facebook account"}],computedType:'"email" | "phone" | "google" | "facebook"',gormMap:{}},{name:"region",description:"The region which would be using this method of passports for authentication. In Fireback open-source, only 'global' is available.",type:"enum",validate:"required,oneof=global",default:"global",of:[{k:"global"}],computedType:'"global"',gormMap:{}},{name:"clientKey",description:"Client key for those methods such as 'google' which require oauth client key",type:"string",computedType:"string",gormMap:{}}],cliShort:"method",description:"Login/Signup methods which are available in the app for different regions (Email, Phone Number, Google, etc)"};Wi.Fields={...wn.Fields,type:"type",region:"region",clientKey:"clientKey"};const Jxe=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:Wi.Fields.type,title:e.passportMethods.type,width:100},{name:Wi.Fields.region,title:e.passportMethods.region,width:100}];function LJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/passport-methods".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.PassportMethodEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}LJ.UKEY="*abac.PassportMethodEntity";function e_e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/passport-method".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.PassportMethodEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.PassportMethodEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const t_e=()=>{const e=Kt(XS);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:Jxe(e),queryHook:LJ,uniqueIdHrefHandler:t=>Wi.Navigation.single(t),deleteHook:e_e})})},n_e=()=>{const e=Kt(XS);return w.jsx(Lo,{pageTitle:e.passportMethods.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(Wi.Navigation.create())},children:w.jsx(t_e,{})})},r_e=({form:e,isEditing:t})=>{const{options:n}=R.useContext(Je),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(XS),u=js([{name:"Google",uniqueId:"google"},{name:"Facebook",uniqueId:"facebook"},{name:"Email",uniqueId:"email"},{name:"Phone",uniqueId:"phone"}]);return w.jsxs(w.Fragment,{children:[w.jsx(ca,{querySource:u,formEffect:{form:e,field:Wi.Fields.type,beforeSet(d){return d.uniqueId}},keyExtractor:d=>d.uniqueId,fnLabelFormat:d=>d.name,errorMessage:o.type,label:l.passportMethods.type,hint:l.passportMethods.typeHint}),w.jsx(In,{value:r.region,onChange:d=>i(Wi.Fields.region,d,!1),errorMessage:o.region,label:l.passportMethods.region,hint:l.passportMethods.regionHint}),r.type==="google"||r.type==="facebook"?w.jsx(In,{value:r.clientKey,onChange:d=>i(Wi.Fields.clientKey,d,!1),errorMessage:o.clientKey,label:l.passportMethods.clientKey,hint:l.passportMethods.clientKeyHint}):null]})};function FJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/passport-method/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.PassportMethodEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function a_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/passport-method".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.PassportMethodEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function i_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/passport-method".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.PassportMethodEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const $8=({data:e})=>{const t=Kt(XS),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=FJ({query:{uniqueId:r}}),l=a_e({queryClient:a}),u=i_e({queryClient:a});return w.jsx(jo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(Wi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return Wi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:r_e,onEditTitle:t.passportMethods.editPassportMethod,onCreateTitle:t.passportMethods.newPassportMethod,data:e})},o_e=()=>{var r;const{uniqueId:e}=Dr({}),t=FJ({query:{uniqueId:e}});var n=(r=t.query.data)==null?void 0:r.data;return Kt(XS),w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:a,router:i})=>{i.push(Wi.Navigation.edit(e))},getSingleHook:t,children:w.jsx(ao,{entity:n,fields:[]})})})};function s_e(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx($8,{}),path:Wi.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(o_e,{}),path:Wi.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx($8,{}),path:Wi.Navigation.Redit}),w.jsx(ht,{element:w.jsx(n_e,{}),path:Wi.Navigation.Rquery})]})}class qp extends wn{constructor(...t){super(...t),this.children=void 0,this.enableStripe=void 0,this.stripeSecretKey=void 0,this.stripeCallbackUrl=void 0}}qp.Navigation={edit(e,t){return`${t?"/"+t:".."}/payment-config/edit/${e}`},create(e){return`${e?"/"+e:".."}/payment-config/new`},single(e,t){return`${t?"/"+t:".."}/payment-config/${e}`},query(e={},t){return`${t?"/"+t:".."}/payment-configs`},Redit:"payment-config/edit/:uniqueId",Rcreate:"payment-config/new",Rsingle:"payment-config/:uniqueId",Rquery:"payment-configs"};qp.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"paymentConfig",distinctBy:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"enableStripe",description:"Enables the stripe payment integration in the project",type:"bool?",computedType:"boolean",gormMap:{}},{name:"stripeSecretKey",description:"Stripe secret key to initiate a payment intent",type:"string",computedType:"string",gormMap:{}},{name:"stripeCallbackUrl",description:"The endpoint which the payment module will handle response coming back from stripe.",type:"string",computedType:"string",gormMap:{}}],description:"Contains the api keys, configuration, urls, callbacks for different payment gateways."};qp.Fields={...wn.Fields,enableStripe:"enableStripe",stripeSecretKey:"stripeSecretKey",stripeCallbackUrl:"stripeCallbackUrl"};function jJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var E;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/payment-config/distinct".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=()=>l("GET",d),g=(E=i==null?void 0:i.headers)==null?void 0:E.authorization,y=g!="undefined"&&g!=null&&g!=null&&g!="null"&&!!g;let p=!0;return!y&&!a&&(p=!1),{query:jn([i,n,"*payment.PaymentConfigEntity"],f,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:p,...e||{}})}}function l_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/payment-config/distinct".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*payment.PaymentConfigEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const u_e={paymentConfigs:{stripeSecretKeyHint:"Stripe secret key is starting with sk_...",enableStripe:"Enable stripe",enableStripeHint:"Enable stripe",stripeCallbackUrl:"Stripe callback url",archiveTitle:"Payment configs",editPaymentConfig:"Edit payment config",newPaymentConfig:"New payment config",stripeCallbackUrlHint:"The url, which the payment success validator service is deployed, such as http://localhost:4500/payment/invoice",stripeSecretKey:"Stripe secret key"}},c_e={paymentConfigs:{enableStripe:"Włącz Stripe",newPaymentConfig:"Nowa konfiguracja płatności",stripeCallbackUrl:"URL zwrotny Stripe",stripeCallbackUrlHint:"URL, pod którym działa usługa weryfikująca powodzenie płatności, np. http://localhost:4500/payment/invoice",archiveTitle:"Konfiguracje płatności",editPaymentConfig:"Edytuj konfigurację płatności",enableStripeHint:"Włącz Stripe",stripeSecretKey:"Tajny klucz Stripe",stripeSecretKeyHint:"Tajny klucz Stripe zaczyna się od sk_..."}},tF={...u_e,$pl:c_e},ml=e=>{const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,disabled:u,focused:d=!1,errorMessage:f,autoFocus:g,...y}=e,[p,v]=R.useState(!1),E=R.useRef(null),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(qd,{focused:p,onClick:T,...e,label:"",children:w.jsxs("label",{className:"form-label mr-2",children:[w.jsx("input",{...y,ref:E,checked:!!l,type:"checkbox",onChange:C=>o&&o(!l),onBlur:()=>v(!1),onFocus:()=>v(!0),className:"form-checkbox"}),n]})})};function Mo({title:e,children:t,className:n,description:r}){return w.jsxs("div",{className:ia("page-section",n),children:[e?w.jsx("h2",{className:"",children:e}):null,r?w.jsx("p",{className:"",children:r}):null,w.jsx("div",{className:"mt-4",children:t})]})}const d_e=({form:e,isEditing:t})=>{const{options:n}=R.useContext(Je),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(tF);return w.jsx(w.Fragment,{children:w.jsxs(Mo,{title:"Stripe configuration",children:[w.jsx(ml,{value:r.enableStripe,onChange:u=>i(qp.Fields.enableStripe,u,!1),errorMessage:o.enableStripe,label:l.paymentConfigs.enableStripe,hint:l.paymentConfigs.enableStripeHint}),w.jsx(In,{disabled:!r.enableStripe,value:r.stripeSecretKey,onChange:u=>i(qp.Fields.stripeSecretKey,u,!1),errorMessage:o.stripeSecretKey,label:l.paymentConfigs.stripeSecretKey,hint:l.paymentConfigs.stripeSecretKeyHint}),w.jsx(In,{disabled:!r.enableStripe,value:r.stripeCallbackUrl,onChange:u=>i(qp.Fields.stripeCallbackUrl,u,!1),errorMessage:o.stripeCallbackUrl,label:l.paymentConfigs.stripeCallbackUrl,hint:l.paymentConfigs.stripeCallbackUrlHint})]})})},f_e=({data:e})=>{const t=Kt(tF),{router:n,queryClient:r,locale:a}=Dr({data:e}),o=jJ({query:{uniqueId:"workspace"}}),l=l_e({queryClient:r});return w.jsx(jo,{patchHook:l,forceEdit:!0,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(qp.Navigation.query(void 0,a))},onFinishUriResolver:(u,d)=>{var f;return qp.Navigation.single((f=u.data)==null?void 0:f.uniqueId,d)},Form:d_e,onEditTitle:t.paymentConfigs.editPaymentConfig,onCreateTitle:t.paymentConfigs.newPaymentConfig,data:e})},p_e=()=>{var a;const{uniqueId:e}=Dr({}),t=jJ({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(tF);return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:i,router:o})=>{o.push("../config/edit")},getSingleHook:t,children:w.jsx(ao,{entity:n,fields:[{elem:n==null?void 0:n.stripeSecretKey,label:r.paymentConfigs.stripeSecretKey},{elem:n==null?void 0:n.stripeCallbackUrl,label:r.paymentConfigs.stripeCallbackUrl}]})})})};function m_e(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(f_e,{}),path:"config/edit"}),w.jsx(ht,{element:w.jsx(p_e,{}),path:"config"})]})}const h_e={invoices:{amountHint:"Amount",archiveTitle:"Invoices",newInvoice:"New invoice",titleHint:"Title",amount:"Amount",editInvoice:"Edit invoice",finalStatus:"Final status",finalStatusHint:"Final status",title:"Title"}},g_e={invoices:{amount:"Kwota",amountHint:"Kwota",finalStatus:"Status końcowy",newInvoice:"Nowa faktura",titleHint:"Tytuł",archiveTitle:"Faktury",editInvoice:"Edytuj fakturę",finalStatusHint:"Status końcowy",title:"Tytuł"}},QS={...h_e,$pl:g_e};class yi extends wn{constructor(...t){super(...t),this.children=void 0,this.title=void 0,this.titleExcerpt=void 0,this.amount=void 0,this.notificationKey=void 0,this.redirectAfterSuccess=void 0,this.finalStatus=void 0}}yi.Navigation={edit(e,t){return`${t?"/"+t:".."}/invoice/edit/${e}`},create(e){return`${e?"/"+e:".."}/invoice/new`},single(e,t){return`${t?"/"+t:".."}/invoice/${e}`},query(e={},t){return`${t?"/"+t:".."}/invoices`},Redit:"invoice/edit/:uniqueId",Rcreate:"invoice/new",Rsingle:"invoice/:uniqueId",Rquery:"invoices"};yi.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"invoice",features:{},security:{writeOnRoot:!0,readOnRoot:!0},gormMap:{},fields:[{name:"title",description:"Explanation about the invoice, the reason someone needs to pay",type:"text",validate:"required",computedType:"string",gormMap:{}},{name:"amount",description:"Amount of the invoice which has to be payed",type:"money?",validate:"required",computedType:"{amount: number, currency: string, formatted?: string}",gormMap:{}},{name:"notificationKey",description:"The unique key, when an event related to the invoice happened it would be triggered. For example if another module wants to initiate the payment, and after payment success, wants to run some code, it would be listening to invoice events and notificationKey will come.",type:"string",computedType:"string",gormMap:{}},{name:"redirectAfterSuccess",description:"When the payment is successful, it might use this url to make a redirect.",type:"string",computedType:"string",gormMap:{}},{name:"finalStatus",description:"Final status of the invoice from a accounting perspective",type:"enum",validate:"required",of:[{k:"payed",description:"Payed"},{k:"pending",description:"Pending"}],computedType:'"payed" | "pending"',gormMap:{}}],description:"Invoice is a billable value, which a party recieves, and needs to pay it by different means. Invoice keeps information such as reason, total amount, tax amount and other details. An invoice can be payed via different payment methods."};yi.Fields={...wn.Fields,title:"title",amount:"amount",notificationKey:"notificationKey",redirectAfterSuccess:"redirectAfterSuccess",finalStatus:"finalStatus"};const v_e=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:yi.Fields.title,title:e.invoices.title,width:100},{name:yi.Fields.amount,title:e.invoices.amount,width:100,getCellValue:t=>{var n;return(n=t.amount)==null?void 0:n.formatted}},{name:yi.Fields.finalStatus,title:e.invoices.finalStatus,width:100}];function UJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/invoices".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*payment.InvoiceEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}UJ.UKEY="*payment.InvoiceEntity";function y_e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/invoice".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*payment.InvoiceEntity",k=>g(k)),n==null||n.invalidateQueries("*payment.InvoiceEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const b_e=()=>{const e=Kt(QS);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:v_e(e),queryHook:UJ,uniqueIdHrefHandler:t=>yi.Navigation.single(t),deleteHook:y_e})})},w_e=()=>{const e=Kt(QS);return w.jsx(Lo,{pageTitle:e.invoices.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(yi.Navigation.create())},children:w.jsx(b_e,{})})};var mr=function(){return mr=Object.assign||function(t){for(var n,r=1,a=arguments.length;r1){if(n===0)return e.replace(t,"");if(e.includes(t)){var r=e.split(t),a=r[0],i=r[1];if(i.length===n)return e;if(i.length>n)return"".concat(a).concat(t).concat(i.slice(0,n))}var o=e.length>n?new RegExp("(\\d+)(\\d{".concat(n,"})")):new RegExp("(\\d)(\\d+)"),l=e.match(o);if(l){var a=l[1],i=l[2];return"".concat(a).concat(t).concat(i)}}return e},BJ=function(e,t){var n=t.groupSeparator,r=n===void 0?",":n,a=t.decimalSeparator,i=a===void 0?".":a,o=new RegExp("\\d([^".concat(yc(r)).concat(yc(i),"0-9]+)")),l=e.match(o);return l?l[1]:void 0},Gw=function(e){var t=e.value,n=e.decimalSeparator,r=e.intlConfig,a=e.decimalScale,i=e.prefix,o=i===void 0?"":i,l=e.suffix,u=l===void 0?"":l;if(t===""||t===void 0)return"";if(t==="-")return"-";var d=new RegExp("^\\d?-".concat(o?"".concat(yc(o),"?"):"","\\d")).test(t),f=n!=="."?x_e(t,n,d):t;n&&n!=="-"&&f.startsWith(n)&&(f="0"+f);var g=r||{},y=g.locale,p=g.currency,v=nF(g,["locale","currency"]),E=mr(mr({},v),{minimumFractionDigits:a||0,maximumFractionDigits:20}),T=r?new Intl.NumberFormat(y,mr(mr({},E),p&&{style:"currency",currency:p})):new Intl.NumberFormat(void 0,E),C=T.formatToParts(Number(f)),k=__e(C,e),_=BJ(k,mr({},e)),A=t.slice(-1)===n?n:"",P=f.match(RegExp("\\d+\\.(\\d+)"))||[],N=P[1];return a===void 0&&N&&n&&(k.includes(n)?k=k.replace(RegExp("(\\d+)(".concat(yc(n),")(\\d+)"),"g"),"$1$2".concat(N)):_&&!u?k=k.replace(_,"".concat(n).concat(N).concat(_)):k="".concat(k).concat(n).concat(N)),u&&A?"".concat(k).concat(A).concat(u):_&&A?k.replace(_,"".concat(A).concat(_)):_&&u?k.replace(_,"".concat(A).concat(u)):[k,A,u].join("")},x_e=function(e,t,n){var r=e;return t&&t!=="."&&(r=r.replace(RegExp(yc(t),"g"),"."),n&&t==="-"&&(r="-".concat(r.slice(1)))),r},__e=function(e,t){var n=t.prefix,r=t.groupSeparator,a=t.decimalSeparator,i=t.decimalScale,o=t.disableGroupSeparators,l=o===void 0?!1:o;return e.reduce(function(u,d,f){var g=d.type,y=d.value;return f===0&&n?g==="minusSign"?[y,n]:g==="currency"?_s(_s([],u,!0),[n],!1):[n,y]:g==="currency"?n?u:_s(_s([],u,!0),[y],!1):g==="group"?l?u:_s(_s([],u,!0),[r!==void 0?r:y],!1):g==="decimal"?i!==void 0&&i===0?u:_s(_s([],u,!0),[a!==void 0?a:y],!1):g==="fraction"?_s(_s([],u,!0),[i!==void 0?y.slice(0,i):y],!1):_s(_s([],u,!0),[y],!1)},[""]).join("")},O_e={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},R_e=function(e){var t=e||{},n=t.locale,r=t.currency,a=nF(t,["locale","currency"]),i=n?new Intl.NumberFormat(n,mr(mr({},a),r&&{currency:r,style:"currency"})):new Intl.NumberFormat;return i.formatToParts(1000.1).reduce(function(o,l,u){return l.type==="currency"?u===0?mr(mr({},o),{currencySymbol:l.value,prefix:l.value}):mr(mr({},o),{currencySymbol:l.value,suffix:l.value}):l.type==="group"?mr(mr({},o),{groupSeparator:l.value}):l.type==="decimal"?mr(mr({},o),{decimalSeparator:l.value}):o},O_e)},L8=function(e){return RegExp(/\d/,"gi").test(e)},P_e=function(e,t,n){if(n===void 0||t===""||t===void 0||e===""||e===void 0)return e;if(!e.match(/\d/g))return"";var r=e.split(t),a=r[0],i=r[1];if(n===0)return a;var o=i||"";if(o.lengthv)){if(_t===""||_t==="-"||_t===ue){T&&T(void 0,l,{float:null,formatted:"",value:""}),nt(_t),Rt(1);return}var Ut=ue?_t.replace(ue,"."):_t,On=parseFloat(Ut),gn=Gw(mr({value:_t},fe));if(Lt!=null){var ln=Lt+(gn.length-Mt.length);ln=ln<=0?A?A.length:0:ln,Rt(ln),Wt(Ht+1)}if(nt(gn),T){var Bn={float:On,formatted:gn,value:_t};T(_t,l,Bn)}}},U=function(Mt){var be=Mt.target,Ee=be.value,gt=be.selectionStart;Nt(Ee,gt),W&&W(Mt)},D=function(Mt){return G&&G(Mt),qe?qe.length:0},F=function(Mt){var be=Mt.target.value,Ee=fP(mr({value:be},xe));if(Ee==="-"||Ee===ue||!Ee){nt(""),q&&q(Mt);return}var gt=k_e(Ee,ue,C),Lt=P_e(gt,ue,_!==void 0?_:C),_t=ue?Lt.replace(ue,"."):Lt,Ut=parseFloat(_t),On=Gw(mr(mr({},fe),{value:Lt}));T&&Z&&T(Lt,l,{float:Ut,formatted:On,value:Lt}),nt(On),q&&q(Mt)},ae=function(Mt){var be=Mt.key;if(ft(be),I&&(be==="ArrowUp"||be==="ArrowDown")){Mt.preventDefault(),Rt(qe.length);var Ee=E!=null?String(E):void 0,gt=ue&&Ee?Ee.replace(ue,"."):Ee,Lt=parseFloat(gt??fP(mr({value:qe},xe)))||0,_t=be==="ArrowUp"?Lt+I:Lt-I;if(L!==void 0&&_tNumber(j))return;var Ut=String(I).includes(".")?Number(String(I).split(".")[1].length):void 0;Nt(String(Ut?_t.toFixed(Ut):_t).replace(".",ue))}ce&&ce(Mt)},Te=function(Mt){var be=Mt.key,Ee=Mt.currentTarget.selectionStart;if(be!=="ArrowUp"&&be!=="ArrowDown"&&qe!=="-"){var gt=BJ(qe,{groupSeparator:ke,decimalSeparator:ue});if(gt&&Ee&&Ee>qe.length-gt.length&&ut.current){var Lt=qe.length-gt.length;ut.current.setSelectionRange(Lt,Lt)}}H&&H(Mt)};R.useEffect(function(){E==null&&g==null&&nt("")},[g,E]),R.useEffect(function(){at&&qe!=="-"&&ut.current&&document.activeElement===ut.current&&ut.current.setSelectionRange(xt,xt)},[qe,xt,ut,at,Ht]);var Fe=function(){return E!=null&&qe!=="-"&&(!ue||qe!==ue)?Gw(mr(mr({},fe),{decimalScale:at?void 0:_,value:String(E)})):qe},We=mr({type:"text",inputMode:"decimal",id:o,name:l,className:u,onChange:U,onBlur:F,onFocus:D,onKeyDown:ae,onKeyUp:Te,placeholder:k,disabled:p,value:Fe(),ref:ut},ee);if(d){var Tt=d;return ze.createElement(Tt,mr({},We))}return ze.createElement("input",mr({},We))});WJ.displayName="CurrencyInput";const N_e=e=>{const{placeholder:t,onChange:n,value:r,...a}=e,[i,o]=R.useState(()=>(r==null?void 0:r.amount)!=null?r.amount.toString():"");R.useEffect(()=>{const d=(r==null?void 0:r.amount)!=null?r.amount.toString():"";d!==i&&o(d)},[r==null?void 0:r.amount]);const l=d=>{const f=parseFloat(d);isNaN(f)||n==null||n({...r,amount:f})},u=d=>{const f=d||"";o(f),f.trim()!==""&&l(f)};return w.jsx(qd,{...a,children:w.jsxs("div",{className:"flex gap-2 items-center",style:{flexDirection:"row",display:"flex"},children:[w.jsx(WJ,{placeholder:t,value:i,decimalsLimit:2,className:ia("form-control",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),onValueChange:u}),w.jsxs("select",{value:r==null?void 0:r.currency,onChange:d=>n==null?void 0:n({...r,currency:d.target.value}),className:"form-select w-24",style:{width:"110px"},children:[w.jsx("option",{value:"USD",children:"USD"}),w.jsx("option",{value:"PLN",children:"PLN"}),w.jsx("option",{value:"EUR",children:"EUR"})]})]})})},M_e=({form:e,isEditing:t})=>{const{options:n}=R.useContext(Je),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(QS);return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.title,onChange:u=>i(yi.Fields.title,u,!1),errorMessage:o.title,label:l.invoices.title,hint:l.invoices.titleHint}),w.jsx(N_e,{value:r.amount,onChange:u=>i(yi.Fields.amount,u,!1),label:l.invoices.amount,hint:l.invoices.amountHint}),w.jsx(In,{value:r.finalStatus,onChange:u=>i(yi.Fields.finalStatus,u,!1),errorMessage:o.finalStatus,label:l.invoices.finalStatus,hint:l.invoices.finalStatusHint})]})};function zJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/invoice/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*payment.InvoiceEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function I_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/invoice".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*payment.InvoiceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function D_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/invoice".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*payment.InvoiceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const F8=({data:e})=>{const t=Kt(QS),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=zJ({query:{uniqueId:r}}),l=I_e({queryClient:a}),u=D_e({queryClient:a});return w.jsx(jo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(yi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return yi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:M_e,onEditTitle:t.invoices.editInvoice,onCreateTitle:t.invoices.newInvoice,data:e})},$_e=()=>{var i,o;const{uniqueId:e}=Dr({}),t=zJ({query:{uniqueId:e}});var n=(i=t.query.data)==null?void 0:i.data;const r=Kt(QS),a=l=>{window.open(`http://localhost:4500/payment/invoice/${l}`,"_blank")};return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:l,router:u})=>{u.push(yi.Navigation.edit(e))},getSingleHook:t,children:w.jsx(ao,{entity:n,fields:[{elem:n==null?void 0:n.title,label:r.invoices.title},{elem:(o=n==null?void 0:n.amount)==null?void 0:o.formatted,label:r.invoices.amount},{elem:w.jsx(w.Fragment,{children:w.jsx("button",{className:"btn btn-small",onClick:()=>a(e),children:"Pay now"})}),label:"Actions"}]})})})};function L_e(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(F8,{}),path:yi.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx($_e,{}),path:yi.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(F8,{}),path:yi.Navigation.Redit}),w.jsx(ht,{element:w.jsx(w_e,{}),path:yi.Navigation.Rquery})]})}function F_e(){const e=m_e(),t=L_e();return w.jsxs(ht,{path:"payment",children:[e,t]})}const j_e={regionalContents:{titleHint:"Title",archiveTitle:"Regional contents",keyGroup:"Key group",languageId:"Language id",regionHint:"Region",title:"Title",content:"Content",contentHint:"Content",editRegionalContent:"Edit regional content",keyGroupHint:"Key group",languageIdHint:"Language id",newRegionalContent:"New regional content",region:"Region"}},U_e={regionalContents:{editRegionalContent:"Edytuj treść regionalną",keyGroup:"Grupa kluczy",keyGroupHint:"Grupa kluczy",languageId:"Identyfikator języka",region:"Region",title:"Tytuł",titleHint:"Tytuł",archiveTitle:"Treści regionalne",content:"Treść",contentHint:"Treść",languageIdHint:"Identyfikator języka",newRegionalContent:"Nowa treść regionalna",regionHint:"Region"}},ZS={...j_e,$pl:U_e};class Br extends wn{constructor(...t){super(...t),this.children=void 0,this.content=void 0,this.contentExcerpt=void 0,this.region=void 0,this.title=void 0,this.languageId=void 0,this.keyGroup=void 0}}Br.Navigation={edit(e,t){return`${t?"/"+t:".."}/regional-content/edit/${e}`},create(e){return`${e?"/"+e:".."}/regional-content/new`},single(e,t){return`${t?"/"+t:".."}/regional-content/${e}`},query(e={},t){return`${t?"/"+t:".."}/regional-contents`},Redit:"regional-content/edit/:uniqueId",Rcreate:"regional-content/new",Rsingle:"regional-content/:uniqueId",Rquery:"regional-contents"};Br.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"regionalContent",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"content",type:"html",validate:"required",computedType:"string",gormMap:{}},{name:"region",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"title",type:"string",computedType:"string",gormMap:{}},{name:"languageId",type:"string",validate:"required",computedType:"string",gorm:"index:regional_content_index,unique",gormMap:{}},{name:"keyGroup",type:"enum",validate:"required",of:[{k:"SMS_OTP",description:"Used when an email would be sent with one time password"},{k:"EMAIL_OTP",description:"Used when an sms would be sent with one time password"}],computedType:'"SMS_OTP" | "EMAIL_OTP"',gorm:"index:regional_content_index,unique",gormMap:{}}],cliShort:"rc",description:"Email templates, sms templates or other textual content which can be accessed."};Br.Fields={...wn.Fields,content:"content",region:"region",title:"title",languageId:"languageId",keyGroup:"keyGroup"};const B_e=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:Br.Fields.content,title:e.regionalContents.content,width:100},{name:Br.Fields.region,title:e.regionalContents.region,width:100},{name:Br.Fields.title,title:e.regionalContents.title,width:100},{name:Br.Fields.languageId,title:e.regionalContents.languageId,width:100},{name:Br.Fields.keyGroup,title:e.regionalContents.keyGroup,width:100}];function B1({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/regional-contents".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.RegionalContentEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}B1.UKEY="*abac.RegionalContentEntity";function W_e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/regional-content".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.RegionalContentEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.RegionalContentEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const z_e=()=>{const e=Kt(ZS);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:B_e(e),queryHook:B1,uniqueIdHrefHandler:t=>Br.Navigation.single(t),deleteHook:W_e})})},q_e=()=>{const e=Kt(ZS);return w.jsx(Lo,{pageTitle:e.regionalContents.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(Br.Navigation.create())},children:w.jsx(z_e,{})})};var tL=function(){return tL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"||e===""?[]:Array.isArray(e)?e:e.split(" ")},Y_e=function(e,t){return z8(e).concat(z8(t))},K_e=function(){return window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"},X_e=function(e){if(!("isConnected"in Node.prototype)){for(var t=e,n=e.parentNode;n!=null;)t=n,n=t.parentNode;return t===e.ownerDocument}return e.isConnected},q8=function(e,t){e!==void 0&&(e.mode!=null&&typeof e.mode=="object"&&typeof e.mode.set=="function"?e.mode.set(t):e.setMode(t))},nL=function(){return nL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?setTimeout(d,o):d()},r=function(){for(var a=e.pop();a!=null;a=e.pop())a.deleteScripts()};return{loadList:n,reinitialize:r}},eOe=J_e(),mP=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},tOe=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),zk=function(){return zk=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)throw new Error("Invalid string. Length must be a multiple of 4");var E=p.indexOf("=");E===-1&&(E=v);var T=E===v?0:4-E%4;return[E,T]}function l(p){var v=o(p),E=v[0],T=v[1];return(E+T)*3/4-T}function u(p,v,E){return(v+E)*3/4-E}function d(p){var v,E=o(p),T=E[0],C=E[1],k=new n(u(p,T,C)),_=0,A=C>0?T-4:T,P;for(P=0;P>16&255,k[_++]=v>>8&255,k[_++]=v&255;return C===2&&(v=t[p.charCodeAt(P)]<<2|t[p.charCodeAt(P+1)]>>4,k[_++]=v&255),C===1&&(v=t[p.charCodeAt(P)]<<10|t[p.charCodeAt(P+1)]<<4|t[p.charCodeAt(P+2)]>>2,k[_++]=v>>8&255,k[_++]=v&255),k}function f(p){return e[p>>18&63]+e[p>>12&63]+e[p>>6&63]+e[p&63]}function g(p,v,E){for(var T,C=[],k=v;kA?A:_+k));return T===1?(v=p[E-1],C.push(e[v>>2]+e[v<<4&63]+"==")):T===2&&(v=(p[E-2]<<8)+p[E-1],C.push(e[v>>10]+e[v>>4&63]+e[v<<2&63]+"=")),C.join("")}return Yw}var bC={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var V8;function aOe(){return V8||(V8=1,bC.read=function(e,t,n,r,a){var i,o,l=a*8-r-1,u=(1<>1,f=-7,g=n?a-1:0,y=n?-1:1,p=e[t+g];for(g+=y,i=p&(1<<-f)-1,p>>=-f,f+=l;f>0;i=i*256+e[t+g],g+=y,f-=8);for(o=i&(1<<-f)-1,i>>=-f,f+=r;f>0;o=o*256+e[t+g],g+=y,f-=8);if(i===0)i=1-d;else{if(i===u)return o?NaN:(p?-1:1)*(1/0);o=o+Math.pow(2,r),i=i-d}return(p?-1:1)*o*Math.pow(2,i-r)},bC.write=function(e,t,n,r,a,i){var o,l,u,d=i*8-a-1,f=(1<>1,y=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,v=r?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+g>=1?t+=y/u:t+=y*Math.pow(2,1-g),t*u>=2&&(o++,u/=2),o+g>=f?(l=0,o=f):o+g>=1?(l=(t*u-1)*Math.pow(2,a),o=o+g):(l=t*Math.pow(2,g-1)*Math.pow(2,a),o=0));a>=8;e[n+p]=l&255,p+=v,l/=256,a-=8);for(o=o<0;e[n+p]=o&255,p+=v,o/=256,d-=8);e[n+p-v]|=E*128}),bC}/*! +`]))),Tke=function(t,n){var r=t.isFocused,a=t.size,i=t.theme,o=i.colors,l=i.spacing.baseUnit;return Jt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:l*2})},WP=function(t){var n=t.delay,r=t.offset;return rn("span",{css:IF({animation:"".concat(Eke," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Cke=function(t){var n=t.innerProps,r=t.isRtl,a=t.size,i=a===void 0?4:a,o=Ou(t,hke);return rn("div",vt({},Ca(Jt(Jt({},o),{},{innerProps:n,isRtl:r,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),rn(WP,{delay:0,offset:r}),rn(WP,{delay:160,offset:!0}),rn(WP,{delay:320,offset:!r}))},kke=function(t,n){var r=t.isDisabled,a=t.isFocused,i=t.theme,o=i.colors,l=i.borderRadius,u=i.spacing;return Jt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:a?o.primary:o.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:a?o.primary:o.neutral30}})},xke=function(t){var n=t.children,r=t.isDisabled,a=t.isFocused,i=t.innerRef,o=t.innerProps,l=t.menuIsOpen;return rn("div",vt({ref:i},Ca(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":a,"control--menu-is-open":l}),o,{"aria-disabled":r||void 0}),n)},_ke=xke,Oke=["data"],Rke=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},Pke=function(t){var n=t.children,r=t.cx,a=t.getStyles,i=t.getClassNames,o=t.Heading,l=t.headingProps,u=t.innerProps,d=t.label,f=t.theme,g=t.selectProps;return rn("div",vt({},Ca(t,"group",{group:!0}),u),rn(o,vt({},l,{selectProps:g,theme:f,getStyles:a,getClassNames:i,cx:r}),d),rn("div",null,n))},Ake=function(t,n){var r=t.theme,a=r.colors,i=r.spacing;return Jt({label:"group",cursor:"default",display:"block"},n?{}:{color:a.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},Nke=function(t){var n=KZ(t);n.data;var r=Ou(n,Oke);return rn("div",vt({},Ca(t,"groupHeading",{"group-heading":!0}),r))},Mke=Pke,Ike=["innerRef","isDisabled","isHidden","inputClassName"],Dke=function(t,n){var r=t.isDisabled,a=t.value,i=t.theme,o=i.spacing,l=i.colors;return Jt(Jt({visibility:r?"hidden":"visible",transform:a?"translateZ(0)":""},$ke),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:l.neutral80})},aee={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$ke={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Jt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},aee)},Lke=function(t){return Jt({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},aee)},Fke=function(t){var n=t.cx,r=t.value,a=KZ(t),i=a.innerRef,o=a.isDisabled,l=a.isHidden,u=a.inputClassName,d=Ou(a,Ike);return rn("div",vt({},Ca(t,"input",{"input-container":!0}),{"data-value":r||""}),rn("input",vt({className:n({input:!0},u),ref:i,style:Lke(l),disabled:o},d)))},jke=Fke,Uke=function(t,n){var r=t.theme,a=r.spacing,i=r.borderRadius,o=r.colors;return Jt({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:a.baseUnit/2})},Bke=function(t,n){var r=t.theme,a=r.borderRadius,i=r.colors,o=t.cropWithEllipsis;return Jt({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:a/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Wke=function(t,n){var r=t.theme,a=r.spacing,i=r.borderRadius,o=r.colors,l=t.isFocused;return Jt({alignItems:"center",display:"flex"},n?{}:{borderRadius:i/2,backgroundColor:l?o.dangerLight:void 0,paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},iee=function(t){var n=t.children,r=t.innerProps;return rn("div",r,n)},zke=iee,qke=iee;function Hke(e){var t=e.children,n=e.innerProps;return rn("div",vt({role:"button"},n),t||rn(FF,{size:14}))}var Vke=function(t){var n=t.children,r=t.components,a=t.data,i=t.innerProps,o=t.isDisabled,l=t.removeProps,u=t.selectProps,d=r.Container,f=r.Label,g=r.Remove;return rn(d,{data:a,innerProps:Jt(Jt({},Ca(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:u},rn(f,{data:a,innerProps:Jt({},Ca(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),rn(g,{data:a,innerProps:Jt(Jt({},Ca(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},l),selectProps:u}))},Gke=Vke,Yke=function(t,n){var r=t.isDisabled,a=t.isFocused,i=t.isSelected,o=t.theme,l=o.spacing,u=o.colors;return Jt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:i?u.primary:a?u.primary25:"transparent",color:r?u.neutral20:i?u.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:i?u.primary:u.primary50}})},Kke=function(t){var n=t.children,r=t.isDisabled,a=t.isFocused,i=t.isSelected,o=t.innerRef,l=t.innerProps;return rn("div",vt({},Ca(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":a,"option--is-selected":i}),{ref:o,"aria-disabled":r},l),n)},Xke=Kke,Qke=function(t,n){var r=t.theme,a=r.spacing,i=r.colors;return Jt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:i.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},Jke=function(t){var n=t.children,r=t.innerProps;return rn("div",vt({},Ca(t,"placeholder",{placeholder:!0}),r),n)},Zke=Jke,exe=function(t,n){var r=t.isDisabled,a=t.theme,i=a.spacing,o=a.colors;return Jt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},txe=function(t){var n=t.children,r=t.isDisabled,a=t.innerProps;return rn("div",vt({},Ca(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),a),n)},nxe=txe,rxe={ClearIndicator:bke,Control:_ke,DropdownIndicator:vke,DownChevron:nee,CrossIcon:FF,Group:Mke,GroupHeading:Nke,IndicatorsContainer:fke,IndicatorSeparator:Ske,Input:jke,LoadingIndicator:Cke,Menu:JCe,MenuList:eke,MenuPortal:oke,LoadingMessage:ake,NoOptionsMessage:rke,MultiValue:Gke,MultiValueContainer:zke,MultiValueLabel:qke,MultiValueRemove:Hke,Option:Xke,Placeholder:Zke,SelectContainer:lke,SingleValue:nxe,ValueContainer:cke},axe=function(t){return Jt(Jt({},rxe),t.components)},o5=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ixe(e,t){return!!(e===t||o5(e)&&o5(t))}function oxe(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return o?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,a=t.options,i=t.label,o=i===void 0?"":i,l=t.selectValue,u=t.isDisabled,d=t.isSelected,f=t.isAppleDevice,g=function(E,T){return E&&E.length?"".concat(E.indexOf(T)+1," of ").concat(E.length):""};if(n==="value"&&l)return"value ".concat(o," focused, ").concat(g(l,r),".");if(n==="menu"&&f){var y=u?" disabled":"",h="".concat(d?" selected":"").concat(y);return"".concat(o).concat(h,", ").concat(g(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},dxe=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,i=t.focusableOptions,o=t.isFocused,l=t.selectValue,u=t.selectProps,d=t.id,f=t.isAppleDevice,g=u.ariaLiveMessages,y=u.getOptionLabel,h=u.inputValue,v=u.isMulti,E=u.isOptionDisabled,T=u.isSearchable,C=u.menuIsOpen,k=u.options,_=u.screenReaderStatus,A=u.tabSelectsValue,P=u.isLoading,N=u["aria-label"],I=u["aria-live"],L=R.useMemo(function(){return Jt(Jt({},cxe),g||{})},[g]),j=R.useMemo(function(){var me="";if(n&&L.onChange){var W=n.option,G=n.options,q=n.removedValue,ce=n.removedValues,H=n.value,Y=function(fe){return Array.isArray(fe)?null:fe},ie=q||W||Y(H),J=ie?y(ie):"",ee=G||ce||void 0,Z=ee?ee.map(y):[],ue=Jt({isDisabled:ie&&E(ie,l),label:J,labels:Z},n);me=L.onChange(ue)}return me},[n,L,E,l,y]),z=R.useMemo(function(){var me="",W=r||a,G=!!(r&&l&&l.includes(r));if(W&&L.onFocus){var q={focused:W,label:y(W),isDisabled:E(W,l),isSelected:G,options:i,context:W===r?"menu":"value",selectValue:l,isAppleDevice:f};me=L.onFocus(q)}return me},[r,a,y,E,L,i,l,f]),Q=R.useMemo(function(){var me="";if(C&&k.length&&!P&&L.onFilter){var W=_({count:i.length});me=L.onFilter({inputValue:h,resultsMessage:W})}return me},[i,h,C,L,k,_,P]),le=(n==null?void 0:n.action)==="initial-input-focus",re=R.useMemo(function(){var me="";if(L.guidance){var W=a?"value":C?"menu":"input";me=L.guidance({"aria-label":N,context:W,isDisabled:r&&E(r,l),isMulti:v,isSearchable:T,tabSelectsValue:A,isInitialFocus:le})}return me},[N,r,a,v,E,T,C,L,l,A,le]),ge=rn(R.Fragment,null,rn("span",{id:"aria-selection"},j),rn("span",{id:"aria-focused"},z),rn("span",{id:"aria-results"},Q),rn("span",{id:"aria-guidance"},re));return rn(R.Fragment,null,rn(s5,{id:d},le&&ge),rn(s5,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!le&&ge))},fxe=dxe,zL=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],pxe=new RegExp("["+zL.map(function(e){return e.letters}).join("")+"]","g"),oee={};for(var zP=0;zP-1}},vxe=["innerRef"];function yxe(e){var t=e.innerRef,n=Ou(e,vxe),r=qCe(n,"onExited","in","enter","exit","appear");return rn("input",vt({ref:t},r,{css:IF({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var bxe=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function wxe(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,o=R.useRef(!1),l=R.useRef(!1),u=R.useRef(0),d=R.useRef(null),f=R.useCallback(function(T,C){if(d.current!==null){var k=d.current,_=k.scrollTop,A=k.scrollHeight,P=k.clientHeight,N=d.current,I=C>0,L=A-P-_,j=!1;L>C&&o.current&&(r&&r(T),o.current=!1),I&&l.current&&(i&&i(T),l.current=!1),I&&C>L?(n&&!o.current&&n(T),N.scrollTop=A,j=!0,o.current=!0):!I&&-C>_&&(a&&!l.current&&a(T),N.scrollTop=0,j=!0,l.current=!0),j&&bxe(T)}},[n,r,a,i]),g=R.useCallback(function(T){f(T,T.deltaY)},[f]),y=R.useCallback(function(T){u.current=T.changedTouches[0].clientY},[]),h=R.useCallback(function(T){var C=u.current-T.changedTouches[0].clientY;f(T,C)},[f]),v=R.useCallback(function(T){if(T){var C=BCe?{passive:!1}:!1;T.addEventListener("wheel",g,C),T.addEventListener("touchstart",y,C),T.addEventListener("touchmove",h,C)}},[h,y,g]),E=R.useCallback(function(T){T&&(T.removeEventListener("wheel",g,!1),T.removeEventListener("touchstart",y,!1),T.removeEventListener("touchmove",h,!1))},[h,y,g]);return R.useEffect(function(){if(t){var T=d.current;return v(T),function(){E(T)}}},[t,v,E]),function(T){d.current=T}}var u5=["boxSizing","height","overflow","paddingRight","position"],c5={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function d5(e){e.cancelable&&e.preventDefault()}function f5(e){e.stopPropagation()}function p5(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function h5(){return"ontouchstart"in window||navigator.maxTouchPoints}var m5=!!(typeof window<"u"&&window.document&&window.document.createElement),S1=0,fb={capture:!1,passive:!1};function Sxe(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=R.useRef({}),i=R.useRef(null),o=R.useCallback(function(u){if(m5){var d=document.body,f=d&&d.style;if(r&&u5.forEach(function(v){var E=f&&f[v];a.current[v]=E}),r&&S1<1){var g=parseInt(a.current.paddingRight,10)||0,y=document.body?document.body.clientWidth:0,h=window.innerWidth-y+g||0;Object.keys(c5).forEach(function(v){var E=c5[v];f&&(f[v]=E)}),f&&(f.paddingRight="".concat(h,"px"))}d&&h5()&&(d.addEventListener("touchmove",d5,fb),u&&(u.addEventListener("touchstart",p5,fb),u.addEventListener("touchmove",f5,fb))),S1+=1}},[r]),l=R.useCallback(function(u){if(m5){var d=document.body,f=d&&d.style;S1=Math.max(S1-1,0),r&&S1<1&&u5.forEach(function(g){var y=a.current[g];f&&(f[g]=y)}),d&&h5()&&(d.removeEventListener("touchmove",d5,fb),u&&(u.removeEventListener("touchstart",p5,fb),u.removeEventListener("touchmove",f5,fb)))}},[r]);return R.useEffect(function(){if(t){var u=i.current;return o(u),function(){l(u)}}},[t,o,l]),function(u){i.current=u}}var Exe=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Txe={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Cxe(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,i=e.onBottomArrive,o=e.onBottomLeave,l=e.onTopArrive,u=e.onTopLeave,d=wxe({isEnabled:a,onBottomArrive:i,onBottomLeave:o,onTopArrive:l,onTopLeave:u}),f=Sxe({isEnabled:n}),g=function(h){d(h),f(h)};return rn(R.Fragment,null,n&&rn("div",{onClick:Exe,css:Txe}),t(g))}var kxe={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},xxe=function(t){var n=t.name,r=t.onFocus;return rn("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:kxe,value:"",onChange:function(){}})},_xe=xxe;function jF(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Oxe(){return jF(/^iPhone/i)}function lee(){return jF(/^Mac/i)}function Rxe(){return jF(/^iPad/i)||lee()&&navigator.maxTouchPoints>1}function Pxe(){return Oxe()||Rxe()}function Axe(){return lee()||Pxe()}var Nxe=function(t){return t.label},Mxe=function(t){return t.label},Ixe=function(t){return t.value},Dxe=function(t){return!!t.isDisabled},$xe={clearIndicator:yke,container:ske,control:kke,dropdownIndicator:gke,group:Rke,groupHeading:Ake,indicatorsContainer:dke,indicatorSeparator:wke,input:Dke,loadingIndicator:Tke,loadingMessage:nke,menu:KCe,menuList:ZCe,menuPortal:ike,multiValue:Uke,multiValueLabel:Bke,multiValueRemove:Wke,noOptionsMessage:tke,option:Yke,placeholder:Qke,singleValue:exe,valueContainer:uke},Lxe={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Fxe=4,uee=4,jxe=38,Uxe=uee*2,Bxe={baseUnit:uee,controlHeight:jxe,menuGutter:Uxe},VP={borderRadius:Fxe,colors:Lxe,spacing:Bxe},Wxe={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:a5(),captureMenuScroll:!a5(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:gxe(),formatGroupLabel:Nxe,getOptionLabel:Mxe,getOptionValue:Ixe,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Dxe,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!jCe(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function g5(e,t,n,r){var a=fee(e,t,n),i=pee(e,t,n),o=dee(e,t),l=Cx(e,t);return{type:"option",data:t,isDisabled:a,isSelected:i,label:o,value:l,index:r}}function Ik(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(o,l){return g5(e,o,t,l)}).filter(function(o){return y5(e,o)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var i=g5(e,n,t,r);return y5(e,i)?i:void 0}).filter(WCe)}function cee(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,t0(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function v5(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,t0(r.options.map(function(a){return{data:a.data,id:"".concat(t,"-").concat(r.index,"-").concat(a.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function zxe(e,t){return cee(Ik(e,t))}function y5(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,i=t.isSelected,o=t.label,l=t.value;return(!mee(e)||!i)&&hee(e,{label:o,value:l,data:a},r)}function qxe(e,t){var n=e.focusedValue,r=e.selectValue,a=r.indexOf(n);if(a>-1){var i=t.indexOf(n);if(i>-1)return n;if(a-1?n:t[0]}var GP=function(t,n){var r,a=(r=t.find(function(i){return i.data===n}))===null||r===void 0?void 0:r.id;return a||null},dee=function(t,n){return t.getOptionLabel(n)},Cx=function(t,n){return t.getOptionValue(n)};function fee(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function pee(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Cx(e,t);return n.some(function(a){return Cx(e,a)===r})}function hee(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var mee=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Vxe=1,gee=(function(e){tr(n,e);var t=nr(n);function n(r){var a;if(Xn(this,n),a=t.call(this,r),a.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.isAppleDevice=Axe(),a.controlRef=null,a.getControlRef=function(u){a.controlRef=u},a.focusedOptionRef=null,a.getFocusedOptionRef=function(u){a.focusedOptionRef=u},a.menuListRef=null,a.getMenuListRef=function(u){a.menuListRef=u},a.inputRef=null,a.getInputRef=function(u){a.inputRef=u},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(u,d){var f=a.props,g=f.onChange,y=f.name;d.name=y,a.ariaOnChange(u,d),g(u,d)},a.setValue=function(u,d,f){var g=a.props,y=g.closeMenuOnSelect,h=g.isMulti,v=g.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:v}),y&&(a.setState({inputIsHiddenAfterUpdate:!h}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(u,{action:d,option:f})},a.selectOption=function(u){var d=a.props,f=d.blurInputOnSelect,g=d.isMulti,y=d.name,h=a.state.selectValue,v=g&&a.isOptionSelected(u,h),E=a.isOptionDisabled(u,h);if(v){var T=a.getOptionValue(u);a.setValue(h.filter(function(C){return a.getOptionValue(C)!==T}),"deselect-option",u)}else if(!E)g?a.setValue([].concat(t0(h),[u]),"select-option",u):a.setValue(u,"select-option");else{a.ariaOnChange(u,{action:"select-option",option:u,name:y});return}f&&a.blurInput()},a.removeValue=function(u){var d=a.props.isMulti,f=a.state.selectValue,g=a.getOptionValue(u),y=f.filter(function(v){return a.getOptionValue(v)!==g}),h=ek(d,y,y[0]||null);a.onChange(h,{action:"remove-value",removedValue:u}),a.focusInput()},a.clearValue=function(){var u=a.state.selectValue;a.onChange(ek(a.props.isMulti,[],null),{action:"clear",removedValues:u})},a.popValue=function(){var u=a.props.isMulti,d=a.state.selectValue,f=d[d.length-1],g=d.slice(0,d.length-1),y=ek(u,g,g[0]||null);f&&a.onChange(y,{action:"pop-value",removedValue:f})},a.getFocusedOptionId=function(u){return GP(a.state.focusableOptionsWithIds,u)},a.getFocusableOptionsWithIds=function(){return v5(Ik(a.props,a.state.selectValue),a.getElementId("option"))},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var u=arguments.length,d=new Array(u),f=0;fh||y>h}},a.onTouchEnd=function(u){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(u.target)&&a.menuListRef&&!a.menuListRef.contains(u.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(u){a.userIsDragging||a.onControlMouseDown(u)},a.onClearIndicatorTouchEnd=function(u){a.userIsDragging||a.onClearIndicatorMouseDown(u)},a.onDropdownIndicatorTouchEnd=function(u){a.userIsDragging||a.onDropdownIndicatorMouseDown(u)},a.handleInputChange=function(u){var d=a.props.inputValue,f=u.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(f,{action:"input-change",prevInputValue:d}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(u){a.props.onFocus&&a.props.onFocus(u),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(u){var d=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(u),a.onInputChange("",{action:"input-blur",prevInputValue:d}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(u){if(!(a.blockOptionHover||a.state.focusedOption===u)){var d=a.getFocusableOptions(),f=d.indexOf(u);a.setState({focusedOption:u,focusedOptionId:f>-1?a.getFocusedOptionId(u):null})}},a.shouldHideSelectedOptions=function(){return mee(a.props)},a.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),a.focus()},a.onKeyDown=function(u){var d=a.props,f=d.isMulti,g=d.backspaceRemovesValue,y=d.escapeClearsValue,h=d.inputValue,v=d.isClearable,E=d.isDisabled,T=d.menuIsOpen,C=d.onKeyDown,k=d.tabSelectsValue,_=d.openMenuOnFocus,A=a.state,P=A.focusedOption,N=A.focusedValue,I=A.selectValue;if(!E&&!(typeof C=="function"&&(C(u),u.defaultPrevented))){switch(a.blockOptionHover=!0,u.key){case"ArrowLeft":if(!f||h)return;a.focusValue("previous");break;case"ArrowRight":if(!f||h)return;a.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(N)a.removeValue(N);else{if(!g)return;f?a.popValue():v&&a.clearValue()}break;case"Tab":if(a.isComposing||u.shiftKey||!T||!k||!P||_&&a.isOptionSelected(P,I))return;a.selectOption(P);break;case"Enter":if(u.keyCode===229)break;if(T){if(!P||a.isComposing)return;a.selectOption(P);break}return;case"Escape":T?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:h}),a.onMenuClose()):v&&y&&a.clearValue();break;case" ":if(h)return;if(!T){a.openMenu("first");break}if(!P)return;a.selectOption(P);break;case"ArrowUp":T?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":T?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!T)return;a.focusOption("pageup");break;case"PageDown":if(!T)return;a.focusOption("pagedown");break;case"Home":if(!T)return;a.focusOption("first");break;case"End":if(!T)return;a.focusOption("last");break;default:return}u.preventDefault()}},a.state.instancePrefix="react-select-"+(a.props.instanceId||++Vxe),a.state.selectValue=n5(r.value),r.menuIsOpen&&a.state.selectValue.length){var i=a.getFocusableOptionsWithIds(),o=a.buildFocusableOptions(),l=o.indexOf(a.state.selectValue[0]);a.state.focusableOptionsWithIds=i,a.state.focusedOption=o[l],a.state.focusedOptionId=GP(i,o[l])}return a}return Qn(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&r5(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(a){var i=this.props,o=i.isDisabled,l=i.menuIsOpen,u=this.state.isFocused;(u&&!o&&a.isDisabled||u&&l&&!a.menuIsOpen)&&this.focusInput(),u&&o&&!a.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!o&&a.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(r5(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,i){this.props.onInputChange(a,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var i=this,o=this.state,l=o.selectValue,u=o.isFocused,d=this.buildFocusableOptions(),f=a==="first"?0:d.length-1;if(!this.props.isMulti){var g=d.indexOf(l[0]);g>-1&&(f=g)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:d[f],focusedOptionId:this.getFocusedOptionId(d[f])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(a){var i=this.state,o=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=o.indexOf(l);l||(u=-1);var d=o.length-1,f=-1;if(o.length){switch(a){case"previous":u===0?f=0:u===-1?f=d:f=u-1;break;case"next":u>-1&&u0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,o=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var u=0,d=l.indexOf(o);o||(d=-1),a==="up"?u=d>0?d-1:l.length-1:a==="down"?u=(d+1)%l.length:a==="pageup"?(u=d-i,u<0&&(u=0)):a==="pagedown"?(u=d+i,u>l.length-1&&(u=l.length-1)):a==="last"&&(u=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[u])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(VP):Jt(Jt({},VP),this.props.theme):VP})},{key:"getCommonProps",value:function(){var a=this.clearValue,i=this.cx,o=this.getStyles,l=this.getClassNames,u=this.getValue,d=this.selectOption,f=this.setValue,g=this.props,y=g.isMulti,h=g.isRtl,v=g.options,E=this.hasValue();return{clearValue:a,cx:i,getStyles:o,getClassNames:l,getValue:u,hasValue:E,isMulti:y,isRtl:h,options:v,selectOption:d,selectProps:g,setValue:f,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,i=a.isClearable,o=a.isMulti;return i===void 0?o:i}},{key:"isOptionDisabled",value:function(a,i){return fee(this.props,a,i)}},{key:"isOptionSelected",value:function(a,i){return pee(this.props,a,i)}},{key:"filterOption",value:function(a,i){return hee(this.props,a,i)}},{key:"formatOptionLabel",value:function(a,i){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(a,{context:i,inputValue:o,selectValue:l})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var a=this.props,i=a.isDisabled,o=a.isSearchable,l=a.inputId,u=a.inputValue,d=a.tabIndex,f=a.form,g=a.menuIsOpen,y=a.required,h=this.getComponents(),v=h.Input,E=this.state,T=E.inputIsHidden,C=E.ariaSelection,k=this.commonProps,_=l||this.getElementId("input"),A=Jt(Jt(Jt({"aria-autocomplete":"list","aria-expanded":g,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":y,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(C==null?void 0:C.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?R.createElement(v,vt({},k,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:_,innerRef:this.getInputRef,isDisabled:i,isHidden:T,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:d,form:f,type:"text",value:u},A)):R.createElement(yxe,vt({id:_,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ex,onFocus:this.onInputFocus,disabled:i,tabIndex:d,inputMode:"none",form:f,value:""},A))})},{key:"renderPlaceholderOrValue",value:function(){var a=this,i=this.getComponents(),o=i.MultiValue,l=i.MultiValueContainer,u=i.MultiValueLabel,d=i.MultiValueRemove,f=i.SingleValue,g=i.Placeholder,y=this.commonProps,h=this.props,v=h.controlShouldRenderValue,E=h.isDisabled,T=h.isMulti,C=h.inputValue,k=h.placeholder,_=this.state,A=_.selectValue,P=_.focusedValue,N=_.isFocused;if(!this.hasValue()||!v)return C?null:R.createElement(g,vt({},y,{key:"placeholder",isDisabled:E,isFocused:N,innerProps:{id:this.getElementId("placeholder")}}),k);if(T)return A.map(function(L,j){var z=L===P,Q="".concat(a.getOptionLabel(L),"-").concat(a.getOptionValue(L));return R.createElement(o,vt({},y,{components:{Container:l,Label:u,Remove:d},isFocused:z,isDisabled:E,key:Q,index:j,removeProps:{onClick:function(){return a.removeValue(L)},onTouchEnd:function(){return a.removeValue(L)},onMouseDown:function(re){re.preventDefault()}},data:L}),a.formatOptionLabel(L,"value"))});if(C)return null;var I=A[0];return R.createElement(f,vt({},y,{data:I,isDisabled:E}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),i=a.ClearIndicator,o=this.commonProps,l=this.props,u=l.isDisabled,d=l.isLoading,f=this.state.isFocused;if(!this.isClearable()||!i||u||!this.hasValue()||d)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return R.createElement(i,vt({},o,{innerProps:g,isFocused:f}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),i=a.LoadingIndicator,o=this.commonProps,l=this.props,u=l.isDisabled,d=l.isLoading,f=this.state.isFocused;if(!i||!d)return null;var g={"aria-hidden":"true"};return R.createElement(i,vt({},o,{innerProps:g,isDisabled:u,isFocused:f}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator,o=a.IndicatorSeparator;if(!i||!o)return null;var l=this.commonProps,u=this.props.isDisabled,d=this.state.isFocused;return R.createElement(o,vt({},l,{isDisabled:u,isFocused:d}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator;if(!i)return null;var o=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused,d={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return R.createElement(i,vt({},o,{innerProps:d,isDisabled:l,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,i=this.getComponents(),o=i.Group,l=i.GroupHeading,u=i.Menu,d=i.MenuList,f=i.MenuPortal,g=i.LoadingMessage,y=i.NoOptionsMessage,h=i.Option,v=this.commonProps,E=this.state.focusedOption,T=this.props,C=T.captureMenuScroll,k=T.inputValue,_=T.isLoading,A=T.loadingMessage,P=T.minMenuHeight,N=T.maxMenuHeight,I=T.menuIsOpen,L=T.menuPlacement,j=T.menuPosition,z=T.menuPortalTarget,Q=T.menuShouldBlockScroll,le=T.menuShouldScrollIntoView,re=T.noOptionsMessage,ge=T.onMenuScrollToTop,me=T.onMenuScrollToBottom;if(!I)return null;var W=function(J,ee){var Z=J.type,ue=J.data,ke=J.isDisabled,fe=J.isSelected,xe=J.label,Ie=J.value,qe=E===ue,tt=ke?void 0:function(){return a.onOptionHover(ue)},Ge=ke?void 0:function(){return a.selectOption(ue)},at="".concat(a.getElementId("option"),"-").concat(ee),Et={id:at,onClick:Ge,onMouseMove:tt,onMouseOver:tt,tabIndex:-1,role:"option","aria-selected":a.isAppleDevice?void 0:fe};return R.createElement(h,vt({},v,{innerProps:Et,data:ue,isDisabled:ke,isSelected:fe,key:at,label:xe,type:Z,value:Ie,isFocused:qe,innerRef:qe?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(J.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function(ie){if(ie.type==="group"){var J=ie.data,ee=ie.options,Z=ie.index,ue="".concat(a.getElementId("group"),"-").concat(Z),ke="".concat(ue,"-heading");return R.createElement(o,vt({},v,{key:ue,data:J,options:ee,Heading:l,headingProps:{id:ke,data:ie.data},label:a.formatGroupLabel(ie.data)}),ie.options.map(function(fe){return W(fe,"".concat(Z,"-").concat(fe.index))}))}else if(ie.type==="option")return W(ie,"".concat(ie.index))});else if(_){var q=A({inputValue:k});if(q===null)return null;G=R.createElement(g,v,q)}else{var ce=re({inputValue:k});if(ce===null)return null;G=R.createElement(y,v,ce)}var H={minMenuHeight:P,maxMenuHeight:N,menuPlacement:L,menuPosition:j,menuShouldScrollIntoView:le},Y=R.createElement(XCe,vt({},v,H),function(ie){var J=ie.ref,ee=ie.placerProps,Z=ee.placement,ue=ee.maxHeight;return R.createElement(u,vt({},v,H,{innerRef:J,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:_,placement:Z}),R.createElement(Cxe,{captureEnabled:C,onTopArrive:ge,onBottomArrive:me,lockEnabled:Q},function(ke){return R.createElement(d,vt({},v,{innerRef:function(xe){a.getMenuListRef(xe),ke(xe)},innerProps:{role:"listbox","aria-multiselectable":v.isMulti,id:a.getElementId("listbox")},isLoading:_,maxHeight:ue,focusedOption:E}),G)}))});return z||j==="fixed"?R.createElement(f,vt({},v,{appendTo:z,controlElement:this.controlRef,menuPlacement:L,menuPosition:j}),Y):Y}},{key:"renderFormField",value:function(){var a=this,i=this.props,o=i.delimiter,l=i.isDisabled,u=i.isMulti,d=i.name,f=i.required,g=this.state.selectValue;if(f&&!this.hasValue()&&!l)return R.createElement(_xe,{name:d,onFocus:this.onValueInputFocus});if(!(!d||l))if(u)if(o){var y=g.map(function(E){return a.getOptionValue(E)}).join(o);return R.createElement("input",{name:d,type:"hidden",value:y})}else{var h=g.length>0?g.map(function(E,T){return R.createElement("input",{key:"i-".concat(T),name:d,type:"hidden",value:a.getOptionValue(E)})}):R.createElement("input",{name:d,type:"hidden",value:""});return R.createElement("div",null,h)}else{var v=g[0]?this.getOptionValue(g[0]):"";return R.createElement("input",{name:d,type:"hidden",value:v})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,i=this.state,o=i.ariaSelection,l=i.focusedOption,u=i.focusedValue,d=i.isFocused,f=i.selectValue,g=this.getFocusableOptions();return R.createElement(fxe,vt({},a,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:l,focusedValue:u,isFocused:d,selectValue:f,focusableOptions:g,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var a=this.getComponents(),i=a.Control,o=a.IndicatorsContainer,l=a.SelectContainer,u=a.ValueContainer,d=this.props,f=d.className,g=d.id,y=d.isDisabled,h=d.menuIsOpen,v=this.state.isFocused,E=this.commonProps=this.getCommonProps();return R.createElement(l,vt({},E,{className:f,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:y,isFocused:v}),this.renderLiveRegion(),R.createElement(i,vt({},E,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:y,isFocused:v,menuIsOpen:h}),R.createElement(u,vt({},E,{isDisabled:y}),this.renderPlaceholderOrValue(),this.renderInput()),R.createElement(o,vt({},E,{isDisabled:y}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,l=i.clearFocusValueOnUpdate,u=i.inputIsHiddenAfterUpdate,d=i.ariaSelection,f=i.isFocused,g=i.prevWasFocused,y=i.instancePrefix,h=a.options,v=a.value,E=a.menuIsOpen,T=a.inputValue,C=a.isMulti,k=n5(v),_={};if(o&&(v!==o.value||h!==o.options||E!==o.menuIsOpen||T!==o.inputValue)){var A=E?zxe(a,k):[],P=E?v5(Ik(a,k),"".concat(y,"-option")):[],N=l?qxe(i,k):null,I=Hxe(i,A),L=GP(P,I);_={selectValue:k,focusedOption:I,focusedOptionId:L,focusableOptionsWithIds:P,focusedValue:N,clearFocusValueOnUpdate:!1}}var j=u!=null&&a!==o?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},z=d,Q=f&&g;return f&&!Q&&(z={value:ek(C,k,k[0]||null),options:k,action:"initial-input-focus"},Q=!g),(d==null?void 0:d.action)==="initial-input-focus"&&(z=null),Jt(Jt(Jt({},_),j),{},{prevProps:a,ariaSelection:z,prevWasFocused:Q})}}]),n})(R.Component);gee.defaultProps=Wxe;var Gxe=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Yxe(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,a=r===void 0?!1:r,i=e.defaultValue,o=i===void 0?null:i,l=e.inputValue,u=e.menuIsOpen,d=e.onChange,f=e.onInputChange,g=e.onMenuClose,y=e.onMenuOpen,h=e.value,v=Ou(e,Gxe),E=R.useState(l!==void 0?l:n),T=mi(E,2),C=T[0],k=T[1],_=R.useState(u!==void 0?u:a),A=mi(_,2),P=A[0],N=A[1],I=R.useState(h!==void 0?h:o),L=mi(I,2),j=L[0],z=L[1],Q=R.useCallback(function(q,ce){typeof d=="function"&&d(q,ce),z(q)},[d]),le=R.useCallback(function(q,ce){var H;typeof f=="function"&&(H=f(q,ce)),k(H!==void 0?H:q)},[f]),re=R.useCallback(function(){typeof y=="function"&&y(),N(!0)},[y]),ge=R.useCallback(function(){typeof g=="function"&&g(),N(!1)},[g]),me=l!==void 0?l:C,W=u!==void 0?u:P,G=h!==void 0?h:j;return Jt(Jt({},v),{},{inputValue:me,menuIsOpen:W,onChange:Q,onInputChange:le,onMenuClose:ge,onMenuOpen:re,value:G})}var Kxe=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function Xxe(e){var t=e.defaultOptions,n=t===void 0?!1:t,r=e.cacheOptions,a=r===void 0?!1:r,i=e.loadOptions;e.options;var o=e.isLoading,l=o===void 0?!1:o,u=e.onInputChange,d=e.filterOption,f=d===void 0?null:d,g=Ou(e,Kxe),y=g.inputValue,h=R.useRef(void 0),v=R.useRef(!1),E=R.useState(Array.isArray(n)?n:void 0),T=mi(E,2),C=T[0],k=T[1],_=R.useState(typeof y<"u"?y:""),A=mi(_,2),P=A[0],N=A[1],I=R.useState(n===!0),L=mi(I,2),j=L[0],z=L[1],Q=R.useState(void 0),le=mi(Q,2),re=le[0],ge=le[1],me=R.useState([]),W=mi(me,2),G=W[0],q=W[1],ce=R.useState(!1),H=mi(ce,2),Y=H[0],ie=H[1],J=R.useState({}),ee=mi(J,2),Z=ee[0],ue=ee[1],ke=R.useState(void 0),fe=mi(ke,2),xe=fe[0],Ie=fe[1],qe=R.useState(void 0),tt=mi(qe,2),Ge=tt[0],at=tt[1];a!==Ge&&(ue({}),at(a)),n!==xe&&(k(Array.isArray(n)?n:void 0),Ie(n)),R.useEffect(function(){return v.current=!0,function(){v.current=!1}},[]);var Et=R.useCallback(function(Rt,cn){if(!i)return cn();var qt=i(Rt,cn);qt&&typeof qt.then=="function"&&qt.then(cn,function(){return cn()})},[i]);R.useEffect(function(){n===!0&&Et(P,function(Rt){v.current&&(k(Rt||[]),z(!!h.current))})},[]);var kt=R.useCallback(function(Rt,cn){var qt=ICe(Rt,cn,u);if(!qt){h.current=void 0,N(""),ge(""),q([]),z(!1),ie(!1);return}if(a&&Z[qt])N(qt),ge(qt),q(Z[qt]),z(!1),ie(!1);else{var Wt=h.current={};N(qt),z(!0),ie(!re),Et(qt,function(Oe){v&&Wt===h.current&&(h.current=void 0,z(!1),ge(qt),q(Oe||[]),ie(!1),ue(Oe?Jt(Jt({},Z),{},wt({},qt,Oe)):Z))})}},[a,Et,re,Z,u]),xt=Y?[]:P&&re?G:C||[];return Jt(Jt({},g),{},{options:xt,isLoading:j||l,onInputChange:kt,filterOption:f})}var Qxe=R.forwardRef(function(e,t){var n=Xxe(e),r=Yxe(n);return R.createElement(gee,vt({ref:t},r))}),Jxe=Qxe;function Zxe(e,t){return t?t(e):{name:{operation:"contains",value:e}}}function UF(e){return w.jsx(ca,{...e,multiple:!0})}function ca(e){var y,h,v;const t=At(),n=js();let[r,a]=R.useState("");if(!e.querySource)return w.jsx("div",{children:"No query source to render"});const{query:i,keyExtractor:o}=e.querySource({queryClient:n,query:{itemsPerPage:20,jsonQuery:Zxe(r,e.jsonQuery),withPreloads:e.withPreloads},queryOptions:{refetchOnWindowFocus:!1}}),l=e.keyExtractor||o||(E=>JSON.stringify(E)),u=(h=(y=i==null?void 0:i.data)==null?void 0:y.data)==null?void 0:h.items,d=E=>{var T;if((T=e==null?void 0:e.formEffect)!=null&&T.form){const{formEffect:C}=e,k={...C.form.values};if(C.beforeSet&&(E=C.beforeSet(E)),Ea.set(k,C.field,E),Ea.isObject(E)&&E.uniqueId&&C.skipFirebackMetaData!==!0&&Ea.set(k,C.field+"Id",E.uniqueId),Ea.isArray(E)&&C.skipFirebackMetaData!==!0){const _=C.field+"ListId";Ea.set(k,_,(E||[]).map(A=>A.uniqueId))}C==null||C.form.setValues(k)}e.onChange&&typeof e.onChange=="function"&&e.onChange(E)};let f=e.value;if(f===void 0&&((v=e.formEffect)!=null&&v.form)){const E=Ea.get(e.formEffect.form.values,e.formEffect.field);E!==void 0&&(f=E)}typeof f!="object"&&l&&f!==void 0&&(f=u.find(E=>l(E)===f));const g=E=>new Promise(T=>{setTimeout(()=>{T(u)},100)});return w.jsxs(ef,{...e,children:[e.children,e.convertToNative?w.jsxs("select",{value:f,multiple:e.multiple,onChange:E=>{const T=u==null?void 0:u.find(C=>C.uniqueId===E.target.value);d(T)},className:ia("form-select",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),disabled:e.disabled,"aria-label":"Default select example",children:[w.jsx("option",{value:"",children:t.selectPlaceholder},void 0),u==null?void 0:u.filter(Boolean).map(E=>{const T=l(E);return w.jsx("option",{value:T,children:e.fnLabelFormat(E)},T)})]}):w.jsx(w.Fragment,{children:w.jsx(Jxe,{value:f,onChange:E=>{d(E)},isMulti:e.multiple,classNames:{container(E){return ia(e.errorMessage&&" form-control form-control-no-padding is-invalid",e.validMessage&&"is-valid")},control(E){return ia("form-control form-control-no-padding")},menu(E){return"react-select-menu-area"}},isSearchable:!0,defaultOptions:u,placeholder:t.searchplaceholder,noOptionsMessage:()=>t.noOptions,getOptionValue:l,loadOptions:g,formatOptionLabel:e.fnLabelFormat,onInputChange:a})})]})}const e_e=({form:e,isEditing:t})=>{const{options:n}=R.useContext(nt),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(kE);return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.name,onChange:u=>i(vi.Fields.name,u,!1),errorMessage:o.name,label:l.capabilities.name,hint:l.capabilities.nameHint}),w.jsx(In,{value:r.description,onChange:u=>i(vi.Fields.description,u,!1),errorMessage:o.description,label:l.capabilities.description,hint:l.capabilities.descriptionHint})]})};function vee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/capability/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*fireback.CapabilityEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function t_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/capability".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*fireback.CapabilityEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function n_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/capability".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*fireback.CapabilityEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const b5=({data:e})=>{const t=Kt(kE),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=vee({query:{uniqueId:r}}),l=t_e({queryClient:a}),u=n_e({queryClient:a});return w.jsx(Uo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(vi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return vi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:e_e,onEditTitle:t.capabilities.editCapability,onCreateTitle:t.capabilities.newCapability,data:e})},ao=({children:e,getSingleHook:t,editEntityHandler:n,noBack:r,disableOnGetFailed:a})=>{var l;const{router:i,locale:o}=Dr({});return yhe(n?()=>n({locale:o,router:i}):void 0,Ir.EditEntity),xQ(r!==!0?()=>i.goBack():null,Ir.CommonBack),w.jsxs(w.Fragment,{children:[w.jsx(Al,{query:t.query}),a===!0&&((l=t==null?void 0:t.query)!=null&&l.isError)?null:w.jsx(w.Fragment,{children:e})]})};function io({entity:e,fields:t,title:n,description:r}){var i;const a=At();return w.jsx("div",{className:"mt-4",children:w.jsxs("div",{className:"general-entity-view ",children:[n?w.jsx("h1",{children:n}):null,r?w.jsx("p",{children:r}):null,w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:a.table.info}),w.jsx("div",{className:"field-value",children:a.table.value})]}),(e==null?void 0:e.uniqueId)&&w.jsxs("div",{className:"entity-view-row entity-view-body",children:[w.jsx("div",{className:"field-info",children:a.table.uniqueId}),w.jsx("div",{className:"field-value",children:e.uniqueId})]}),(i=t||[])==null?void 0:i.map((o,l)=>{var d;let u=o.elem===void 0?"-":o.elem;return o.elem===!0&&(u=a.common.yes),o.elem===!1&&(u=a.common.no),o.elem===null&&(u=w.jsx("i",{children:w.jsx("b",{children:a.common.isNUll})})),w.jsxs("div",{className:"entity-view-row entity-view-body",children:[w.jsx("div",{className:"field-info",children:o.label}),w.jsxs("div",{className:"field-value","data-test-id":((d=o.label)==null?void 0:d.toString())||"",children:[u," ",w.jsx(FJ,{value:u})]})]},l)}),(e==null?void 0:e.createdFormatted)&&w.jsxs("div",{className:"entity-view-row entity-view-body",children:[w.jsx("div",{className:"field-info",children:a.table.created}),w.jsx("div",{className:"field-value",children:e.createdFormatted})]})]})})}const r_e=()=>{var a;const{uniqueId:e}=Dr({}),t=vee({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(kE);return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:i,router:o})=>{o.push(vi.Navigation.edit(e))},getSingleHook:t,children:w.jsx(io,{entity:n,fields:[{elem:n==null?void 0:n.name,label:r.capabilities.name},{elem:n==null?void 0:n.description,label:r.capabilities.description}]})})})};function a_e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(b5,{}),path:vi.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(r_e,{}),path:vi.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(b5,{}),path:vi.Navigation.Redit}),w.jsx(mt,{element:w.jsx(E0e,{}),path:vi.Navigation.Rquery})]})}function i_e(e){const t=R.useContext(o_e);R.useEffect(()=>{const n=t.listenFiles(e);return()=>t.removeSubscription(n)},[])}const o_e=ze.createContext({listenFiles(){return""},removeSubscription(){},refs:[]});function yee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/files".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.FileEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}yee.UKEY="*abac.FileEntity";const s_e=e=>[{name:Od.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:Od.Fields.name,title:e.drive.title,width:200},{name:Od.Fields.size,title:e.drive.size,width:100},{name:Od.Fields.virtualPath,title:e.drive.virtualPath,width:100},{name:Od.Fields.type,title:e.drive.type,width:100}],l_e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:s_e(e),queryHook:yee,uniqueIdHrefHandler:t=>Od.Navigation.single(t)})})};function u_e(e,t){const n=[];let r=!1;for(let a of e)a.uploadId===t.uploadId?(r=!0,n.push(t)):n.push(a);return r===!1&&n.push(t),n}function bee(){const{session:e,selectedUrw:t,activeUploads:n,setActiveUploads:r}=R.useContext(nt),a=(l,u)=>o([new File([l],u)]),i=(l,u=!1)=>new Promise((d,f)=>{const g=new Gpe(l,{endpoint:kr.REMOTE_SERVICE+"tus",onBeforeRequest(y){y.setHeader("authorization",e.token),y.setHeader("workspace-id",t==null?void 0:t.workspaceId)},headers:{},metadata:{filename:l.name,path:"/database/users",filetype:l.type},onSuccess(){var h;const y=(h=g.url)==null?void 0:h.match(/([a-z0-9]){10,}/gi);d(`${y}`)},onError(y){f(y)},onProgress(y,h){var E,T;const v=(T=(E=g.url)==null?void 0:E.match(/([a-z0-9]){10,}/gi))==null?void 0:T.toString();if(v){const C={uploadId:v,bytesSent:y,filename:l.name,bytesTotal:h};u!==!0&&r(k=>u_e(k,C))}}});g.start()}),o=(l,u=!1)=>l.map(d=>i(d));return{upload:o,activeUploads:n,uploadBlob:a,uploadSingle:i}}const w5=()=>{const e=At(),{upload:t}=bee(),n=js(),r=i=>{Promise.all(t(i)).then(o=>{n.invalidateQueries("*drive.FileEntity")}).catch(o=>{alert(o)})};i_e({label:"Add files or documents to drive",extentions:["*"],onCaptureFile(i){r(i)}});const a=()=>{var i=document.createElement("input");i.type="file",i.onchange=o=>{r(Array.from(o.target.files))},i.click()};return w.jsx(Fo,{pageTitle:e.drive.driveTitle,newEntityHandler:()=>{a()},children:w.jsx(l_e,{})})};function c_e({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/file/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.FileEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}const d_e=()=>{var o;const t=xr().query.uniqueId,n=c_e({query:{uniqueId:t}});let r=(o=n.query.data)==null?void 0:o.data;hh((r==null?void 0:r.name)||"");const a=At(),{directPath:i}=MQ();return w.jsx(w.Fragment,{children:w.jsx(ao,{getSingleHook:n,children:w.jsx(io,{entity:r,fields:[{label:a.drive.name,elem:r==null?void 0:r.name},{label:a.drive.size,elem:r==null?void 0:r.size},{label:a.drive.type,elem:r==null?void 0:r.type},{label:a.drive.virtualPath,elem:r==null?void 0:r.virtualPath},{label:a.drive.viewPath,elem:w.jsx("pre",{children:i(r)})}]})})})};function f_e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{path:"drive",element:w.jsx(w5,{})}),w.jsx(mt,{path:"drives",element:w.jsx(w5,{})}),w.jsx(mt,{path:"file/:uniqueId",element:w.jsx(d_e,{})})]})}function wee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/email-provider/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.EmailProviderEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function p_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/email-provider".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.EmailProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function h_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/email-provider".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.EmailProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function m_e(e,t){const n=Ea.flatMapDeep(t,(r,a,i)=>{let o=[],l=a;if(r&&typeof r=="object"&&!r.value){const u=Object.keys(r);if(u.length)for(let d of u)o.push({name:`${l}.${d}`,filter:r[d]})}else o.push({name:l,filter:r});return o});return e.filter((r,a)=>{for(let i of n){const o=Ea.get(r,i.name);if(o)switch(i.filter.operation){case"equal":if(o!==i.filter.value)return!1;break;case"contains":if(!o.includes(i.filter.value))return!1;break;case"notContains":if(o.includes(i.filter.value))return!1;break;case"endsWith":if(!o.endsWith(i.filter.value))return!1;break;case"startsWith":if(!o.startsWith(i.filter.value))return!1;break;case"greaterThan":if(oi.filter.value)return!1;break;case"lessThanOrEqual":if(o>=i.filter.value)return!1;break;case"notEqual":if(o===i.filter.value)return!1;break}}return!0})}function Bs(e){return t=>g_e({items:e,...t})}function g_e(e){var i,o;let t=((i=e.query)==null?void 0:i.itemsPerPage)||2,n=e.query.startIndex||0,r=e.items||[];return(o=e.query)!=null&&o.jsonQuery&&(r=m_e(r,e.query.jsonQuery)),r=r.slice(n,n+t),{query:{data:{data:{items:r,totalItems:r.length,totalAvailableItems:r.length}},dataUpdatedAt:0,error:null,errorUpdateCount:0,errorUpdatedAt:0,failureCount:0,isError:!1,isFetched:!1,isFetchedAfterMount:!1,isFetching:!1,isIdle:!1,isLoading:!1,isLoadingError:!1,isPlaceholderData:!1,isPreviousData:!1,isRefetchError:!1,isRefetching:!1,isStale:!1,remove(){console.log("Use as query has not implemented this.")},refetch(){return console.log("Refetch is not working actually."),Promise.resolve(void 0)},isSuccess:!0,status:"success"},items:r}}const v_e=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a}=e,i=At(),l=Bs([{label:"Sendgrid",value:"sendgrid"}]);return w.jsxs(w.Fragment,{children:[w.jsx(ca,{formEffect:{form:e,field:gi.Fields.type,beforeSet(u){return u.value}},querySource:l,errorMessage:a.type,label:i.mailProvider.type,hint:i.mailProvider.typeHint}),w.jsx(In,{value:n.apiKey,autoFocus:!t,onChange:u=>r(gi.Fields.apiKey,u,!1),dir:"ltr",errorMessage:a.apiKey,label:i.mailProvider.apiKey,hint:i.mailProvider.apiKeyHint})]})},S5=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,t:a,locale:i}=Dr({data:e}),o=wee({query:{uniqueId:n}}),l=h_e({queryClient:r}),u=p_e({queryClient:r});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(gi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return gi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:v_e,onEditTitle:a.fb.editMailProvider,onCreateTitle:a.fb.newMailProvider,data:e})},See=ze.createContext({setToken(){},setSession(){},signout(){},ref:{token:""},isAuthenticated:!1});function y_e(){const e=localStorage.getItem("app_auth_state");if(e){try{const t=JSON.parse(e);return t?{...t}:{}}catch{}return{}}}const b_e=y_e();function S_(e){const t=R.useContext(See);R.useEffect(()=>{t.setToken(e||"")},[e])}function w_e({children:e}){const[t,n]=R.useState(b_e),r=()=>{n({token:""}),localStorage.removeItem("app_auth_state")},a=l=>{const u={...t,...l};n(u),localStorage.setItem("app_auth_state",JSON.stringify(u))},i=l=>{const u={...t,token:l};n(u),localStorage.setItem("app_auth_state",JSON.stringify(u))},o=!!(t!=null&&t.token);return w.jsx(See.Provider,{value:{signout:r,setSession:a,isAuthenticated:o,ref:t,setToken:i},children:e})}const S_e=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=wee({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return S_((a==null?void 0:a.type)||""),w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:()=>{e.push(gi.Navigation.edit(n))},getSingleHook:r,children:w.jsx(io,{entity:a,fields:[{label:t.mailProvider.type,elem:w.jsx("span",{children:a==null?void 0:a.type})},{label:t.mailProvider.apiKey,elem:w.jsx("pre",{dir:"ltr",children:a==null?void 0:a.apiKey})}]})})})},E_e=e=>[{name:gi.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:gi.Fields.type,title:e.mailProvider.type,width:200},{name:gi.Fields.apiKey,title:e.mailProvider.apiKey,width:200}];function BF({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/email-providers".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.EmailProviderEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}BF.UKEY="*abac.EmailProviderEntity";function T_e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/email-provider".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.EmailProviderEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.EmailProviderEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const C_e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:E_e(e),queryHook:BF,uniqueIdHrefHandler:t=>gi.Navigation.single(t),deleteHook:T_e})})},k_e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{pageTitle:e.fbMenu.emailProviders,newEntityHandler:({locale:t,router:n})=>{n.push(gi.Navigation.create())},children:w.jsx(C_e,{})})})};function x_e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(S5,{}),path:gi.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(S_e,{}),path:gi.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(S5,{}),path:gi.Navigation.Redit}),w.jsx(mt,{element:w.jsx(k_e,{}),path:gi.Navigation.Rquery})]})}class Ua extends wn{constructor(...t){super(...t),this.children=void 0,this.fromName=void 0,this.fromEmailAddress=void 0,this.replyTo=void 0,this.nickName=void 0}}Ua.Navigation={edit(e,t){return`${t?"/"+t:".."}/email-sender/edit/${e}`},create(e){return`${e?"/"+e:".."}/email-sender/new`},single(e,t){return`${t?"/"+t:".."}/email-sender/${e}`},query(e={},t){return`${t?"/"+t:".."}/email-senders`},Redit:"email-sender/edit/:uniqueId",Rcreate:"email-sender/new",Rsingle:"email-sender/:uniqueId",Rquery:"email-senders"};Ua.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"emailSender",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"fromName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"fromEmailAddress",type:"string",validate:"required",computedType:"string",gorm:"unique",gormMap:{}},{name:"replyTo",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"nickName",type:"string",validate:"required",computedType:"string",gormMap:{}}],description:"All emails going from the system need to have a virtual sender (nick name, email address, etc)"};Ua.Fields={...wn.Fields,fromName:"fromName",fromEmailAddress:"fromEmailAddress",replyTo:"replyTo",nickName:"nickName"};function Eee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/email-sender/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.EmailSenderEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function __e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/email-sender".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.EmailSenderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function O_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/email-sender".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.EmailSenderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const R_e=({form:e,isEditing:t})=>{const n=At(),{values:r,setFieldValue:a,errors:i}=e;return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.fromEmailAddress,onChange:o=>a(Ua.Fields.fromEmailAddress,o,!1),autoFocus:!t,errorMessage:i.fromEmailAddress,label:n.mailProvider.fromEmailAddress,hint:n.mailProvider.fromEmailAddressHint}),w.jsx(In,{value:r.fromName,onChange:o=>a(Ua.Fields.fromName,o,!1),errorMessage:i.fromName,label:n.mailProvider.fromName,hint:n.mailProvider.fromNameHint}),w.jsx(In,{value:r.nickName,onChange:o=>a(Ua.Fields.nickName,o,!1),errorMessage:i.nickName,label:n.mailProvider.nickName,hint:n.mailProvider.nickNameHint}),w.jsx(In,{value:r.replyTo,onChange:o=>a(Ua.Fields.replyTo,o,!1),errorMessage:i.replyTo,label:n.mailProvider.replyTo,hint:n.mailProvider.replyToHint})]})},E5=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a}=Dr({data:e}),i=At(),o=Eee({query:{uniqueId:n}}),l=O_e({queryClient:r}),u=__e({queryClient:r});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(Ua.Navigation.query(void 0,a))},onFinishUriResolver:(d,f)=>{var g;return Ua.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:R_e,onEditTitle:i.fb.editMailSender,onCreateTitle:i.fb.newMailSender,data:e})},P_e=()=>{var l;const e=xr(),t=At(),n=e.query.uniqueId;sr();const[r,a]=R.useState([]),i=Eee({query:{uniqueId:n}});var o=(l=i.query.data)==null?void 0:l.data;return S_((o==null?void 0:o.fromName)||""),w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:()=>{e.push(Ua.Navigation.edit(n))},getSingleHook:i,children:w.jsx(io,{entity:o,fields:[{label:t.mailProvider.fromName,elem:o==null?void 0:o.fromName},{label:t.mailProvider.fromEmailAddress,elem:o==null?void 0:o.fromEmailAddress},{label:t.mailProvider.nickName,elem:o==null?void 0:o.nickName},{label:t.mailProvider.replyTo,elem:o==null?void 0:o.replyTo}]})})})},A_e=e=>[{name:Ua.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:Ua.Fields.fromName,title:e.mailProvider.fromName,width:200},{name:Ua.Fields.fromEmailAddress,title:e.mailProvider.fromEmailAddress,width:200},{name:Ua.Fields.nickName,title:e.mailProvider.nickName,width:200},{name:Ua.Fields.replyTo,title:e.mailProvider.replyTo,width:200}];function Tee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/email-senders".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.EmailSenderEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Tee.UKEY="*abac.EmailSenderEntity";function N_e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/email-sender".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.EmailSenderEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.EmailSenderEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const M_e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:A_e(e),queryHook:Tee,uniqueIdHrefHandler:t=>Ua.Navigation.single(t),deleteHook:N_e})})},I_e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{pageTitle:e.fbMenu.emailSenders,newEntityHandler:({locale:t,router:n})=>{n.push(Ua.Navigation.create())},children:w.jsx(M_e,{})})})};function D_e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(E5,{}),path:Ua.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(P_e,{}),path:Ua.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(E5,{}),path:Ua.Navigation.Redit}),w.jsx(mt,{element:w.jsx(I_e,{}),path:Ua.Navigation.Rquery})]})}const $_e={passportMethods:{clientKeyHint:"Klucz klienta dla metod takich jak Google, służący do autoryzacji OAuth2",archiveTitle:"Metody paszportowe",region:"Region",regionHint:"Region",type:"Typ",editPassportMethod:"Edytuj metodę paszportową",newPassportMethod:"Nowa metoda paszportowa",typeHint:"Typ",clientKey:"Klucz klienta"}},L_e={passportMethods:{archiveTitle:"Passport methods",clientKey:"Client Key",editPassportMethod:"Edit passport method",newPassportMethod:"New passport method",region:"Region",typeHint:"Type",clientKeyHint:"Client key for methods such as google, to authroize the oauth2",regionHint:"Region",type:"Type"}},PE={...$_e,$pl:L_e};class zi extends wn{constructor(...t){super(...t),this.children=void 0,this.type=void 0,this.region=void 0,this.clientKey=void 0}}zi.Navigation={edit(e,t){return`${t?"/"+t:".."}/passport-method/edit/${e}`},create(e){return`${e?"/"+e:".."}/passport-method/new`},single(e,t){return`${t?"/"+t:".."}/passport-method/${e}`},query(e={},t){return`${t?"/"+t:".."}/passport-methods`},Redit:"passport-method/edit/:uniqueId",Rcreate:"passport-method/new",Rsingle:"passport-method/:uniqueId",Rquery:"passport-methods"};zi.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"passportMethod",features:{mock:!1,msync:!1},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"type",type:"enum",validate:"oneof=email phone google facebook,required",of:[{k:"email",description:"Authenticate users using email"},{k:"phone",description:"Authenticat users using phone number, can be sms, calls, or whatsapp."},{k:"google",description:"Users can be authenticated using their google account"},{k:"facebook",description:"Users can be authenticated using their facebook account"}],computedType:'"email" | "phone" | "google" | "facebook"',gormMap:{}},{name:"region",description:"The region which would be using this method of passports for authentication. In Fireback open-source, only 'global' is available.",type:"enum",validate:"required,oneof=global",default:"global",of:[{k:"global"}],computedType:'"global"',gormMap:{}},{name:"clientKey",description:"Client key for those methods such as 'google' which require oauth client key",type:"string",computedType:"string",gormMap:{}}],cliShort:"method",description:"Login/Signup methods which are available in the app for different regions (Email, Phone Number, Google, etc)"};zi.Fields={...wn.Fields,type:"type",region:"region",clientKey:"clientKey"};const F_e=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:zi.Fields.type,title:e.passportMethods.type,width:100},{name:zi.Fields.region,title:e.passportMethods.region,width:100}];function Cee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/passport-methods".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.PassportMethodEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Cee.UKEY="*abac.PassportMethodEntity";function j_e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/passport-method".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.PassportMethodEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.PassportMethodEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const U_e=()=>{const e=Kt(PE);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:F_e(e),queryHook:Cee,uniqueIdHrefHandler:t=>zi.Navigation.single(t),deleteHook:j_e})})},B_e=()=>{const e=Kt(PE);return w.jsx(Fo,{pageTitle:e.passportMethods.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(zi.Navigation.create())},children:w.jsx(U_e,{})})},W_e=({form:e,isEditing:t})=>{const{options:n}=R.useContext(nt),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(PE),u=Bs([{name:"Google",uniqueId:"google"},{name:"Facebook",uniqueId:"facebook"},{name:"Email",uniqueId:"email"},{name:"Phone",uniqueId:"phone"}]);return w.jsxs(w.Fragment,{children:[w.jsx(ca,{querySource:u,formEffect:{form:e,field:zi.Fields.type,beforeSet(d){return d.uniqueId}},keyExtractor:d=>d.uniqueId,fnLabelFormat:d=>d.name,errorMessage:o.type,label:l.passportMethods.type,hint:l.passportMethods.typeHint}),w.jsx(In,{value:r.region,onChange:d=>i(zi.Fields.region,d,!1),errorMessage:o.region,label:l.passportMethods.region,hint:l.passportMethods.regionHint}),r.type==="google"||r.type==="facebook"?w.jsx(In,{value:r.clientKey,onChange:d=>i(zi.Fields.clientKey,d,!1),errorMessage:o.clientKey,label:l.passportMethods.clientKey,hint:l.passportMethods.clientKeyHint}):null]})};function kee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/passport-method/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.PassportMethodEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function z_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/passport-method".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.PassportMethodEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function q_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/passport-method".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.PassportMethodEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const T5=({data:e})=>{const t=Kt(PE),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=kee({query:{uniqueId:r}}),l=z_e({queryClient:a}),u=q_e({queryClient:a});return w.jsx(Uo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(zi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return zi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:W_e,onEditTitle:t.passportMethods.editPassportMethod,onCreateTitle:t.passportMethods.newPassportMethod,data:e})},H_e=()=>{var r;const{uniqueId:e}=Dr({}),t=kee({query:{uniqueId:e}});var n=(r=t.query.data)==null?void 0:r.data;return Kt(PE),w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:a,router:i})=>{i.push(zi.Navigation.edit(e))},getSingleHook:t,children:w.jsx(io,{entity:n,fields:[]})})})};function V_e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(T5,{}),path:zi.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(H_e,{}),path:zi.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(T5,{}),path:zi.Navigation.Redit}),w.jsx(mt,{element:w.jsx(B_e,{}),path:zi.Navigation.Rquery})]})}class th extends wn{constructor(...t){super(...t),this.children=void 0,this.enableStripe=void 0,this.stripeSecretKey=void 0,this.stripeCallbackUrl=void 0}}th.Navigation={edit(e,t){return`${t?"/"+t:".."}/payment-config/edit/${e}`},create(e){return`${e?"/"+e:".."}/payment-config/new`},single(e,t){return`${t?"/"+t:".."}/payment-config/${e}`},query(e={},t){return`${t?"/"+t:".."}/payment-configs`},Redit:"payment-config/edit/:uniqueId",Rcreate:"payment-config/new",Rsingle:"payment-config/:uniqueId",Rquery:"payment-configs"};th.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"paymentConfig",distinctBy:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"enableStripe",description:"Enables the stripe payment integration in the project",type:"bool?",computedType:"boolean",gormMap:{}},{name:"stripeSecretKey",description:"Stripe secret key to initiate a payment intent",type:"string",computedType:"string",gormMap:{}},{name:"stripeCallbackUrl",description:"The endpoint which the payment module will handle response coming back from stripe.",type:"string",computedType:"string",gormMap:{}}],description:"Contains the api keys, configuration, urls, callbacks for different payment gateways."};th.Fields={...wn.Fields,enableStripe:"enableStripe",stripeSecretKey:"stripeSecretKey",stripeCallbackUrl:"stripeCallbackUrl"};function xee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var E;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/payment-config/distinct".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=()=>l("GET",d),g=(E=i==null?void 0:i.headers)==null?void 0:E.authorization,y=g!="undefined"&&g!=null&&g!=null&&g!="null"&&!!g;let h=!0;return!y&&!a&&(h=!1),{query:jn([i,n,"*payment.PaymentConfigEntity"],f,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:h,...e||{}})}}function G_e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/payment-config/distinct".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*payment.PaymentConfigEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const Y_e={paymentConfigs:{stripeSecretKeyHint:"Stripe secret key is starting with sk_...",enableStripe:"Enable stripe",enableStripeHint:"Enable stripe",stripeCallbackUrl:"Stripe callback url",archiveTitle:"Payment configs",editPaymentConfig:"Edit payment config",newPaymentConfig:"New payment config",stripeCallbackUrlHint:"The url, which the payment success validator service is deployed, such as http://localhost:4500/payment/invoice",stripeSecretKey:"Stripe secret key"}},K_e={paymentConfigs:{enableStripe:"Włącz Stripe",newPaymentConfig:"Nowa konfiguracja płatności",stripeCallbackUrl:"URL zwrotny Stripe",stripeCallbackUrlHint:"URL, pod którym działa usługa weryfikująca powodzenie płatności, np. http://localhost:4500/payment/invoice",archiveTitle:"Konfiguracje płatności",editPaymentConfig:"Edytuj konfigurację płatności",enableStripeHint:"Włącz Stripe",stripeSecretKey:"Tajny klucz Stripe",stripeSecretKeyHint:"Tajny klucz Stripe zaczyna się od sk_..."}},WF={...Y_e,$pl:K_e},vl=e=>{const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,disabled:u,focused:d=!1,errorMessage:f,autoFocus:g,...y}=e,[h,v]=R.useState(!1),E=R.useRef(null),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(ef,{focused:h,onClick:T,...e,label:"",children:w.jsxs("label",{className:"form-label mr-2",children:[w.jsx("input",{...y,ref:E,checked:!!l,type:"checkbox",onChange:C=>o&&o(!l),onBlur:()=>v(!1),onFocus:()=>v(!0),className:"form-checkbox"}),n]})})};function Io({title:e,children:t,className:n,description:r}){return w.jsxs("div",{className:ia("page-section",n),children:[e?w.jsx("h2",{className:"",children:e}):null,r?w.jsx("p",{className:"",children:r}):null,w.jsx("div",{className:"mt-4",children:t})]})}const X_e=({form:e,isEditing:t})=>{const{options:n}=R.useContext(nt),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(WF);return w.jsx(w.Fragment,{children:w.jsxs(Io,{title:"Stripe configuration",children:[w.jsx(vl,{value:r.enableStripe,onChange:u=>i(th.Fields.enableStripe,u,!1),errorMessage:o.enableStripe,label:l.paymentConfigs.enableStripe,hint:l.paymentConfigs.enableStripeHint}),w.jsx(In,{disabled:!r.enableStripe,value:r.stripeSecretKey,onChange:u=>i(th.Fields.stripeSecretKey,u,!1),errorMessage:o.stripeSecretKey,label:l.paymentConfigs.stripeSecretKey,hint:l.paymentConfigs.stripeSecretKeyHint}),w.jsx(In,{disabled:!r.enableStripe,value:r.stripeCallbackUrl,onChange:u=>i(th.Fields.stripeCallbackUrl,u,!1),errorMessage:o.stripeCallbackUrl,label:l.paymentConfigs.stripeCallbackUrl,hint:l.paymentConfigs.stripeCallbackUrlHint})]})})},Q_e=({data:e})=>{const t=Kt(WF),{router:n,queryClient:r,locale:a}=Dr({data:e}),o=xee({query:{uniqueId:"workspace"}}),l=G_e({queryClient:r});return w.jsx(Uo,{patchHook:l,forceEdit:!0,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(th.Navigation.query(void 0,a))},onFinishUriResolver:(u,d)=>{var f;return th.Navigation.single((f=u.data)==null?void 0:f.uniqueId,d)},Form:X_e,onEditTitle:t.paymentConfigs.editPaymentConfig,onCreateTitle:t.paymentConfigs.newPaymentConfig,data:e})},J_e=()=>{var a;const{uniqueId:e}=Dr({}),t=xee({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(WF);return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:i,router:o})=>{o.push("../config/edit")},getSingleHook:t,children:w.jsx(io,{entity:n,fields:[{elem:n==null?void 0:n.stripeSecretKey,label:r.paymentConfigs.stripeSecretKey},{elem:n==null?void 0:n.stripeCallbackUrl,label:r.paymentConfigs.stripeCallbackUrl}]})})})};function Z_e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(Q_e,{}),path:"config/edit"}),w.jsx(mt,{element:w.jsx(J_e,{}),path:"config"})]})}const eOe={invoices:{amountHint:"Amount",archiveTitle:"Invoices",newInvoice:"New invoice",titleHint:"Title",amount:"Amount",editInvoice:"Edit invoice",finalStatus:"Final status",finalStatusHint:"Final status",title:"Title"}},tOe={invoices:{amount:"Kwota",amountHint:"Kwota",finalStatus:"Status końcowy",newInvoice:"Nowa faktura",titleHint:"Tytuł",archiveTitle:"Faktury",editInvoice:"Edytuj fakturę",finalStatusHint:"Status końcowy",title:"Tytuł"}},AE={...eOe,$pl:tOe};class bi extends wn{constructor(...t){super(...t),this.children=void 0,this.title=void 0,this.titleExcerpt=void 0,this.amount=void 0,this.notificationKey=void 0,this.redirectAfterSuccess=void 0,this.finalStatus=void 0}}bi.Navigation={edit(e,t){return`${t?"/"+t:".."}/invoice/edit/${e}`},create(e){return`${e?"/"+e:".."}/invoice/new`},single(e,t){return`${t?"/"+t:".."}/invoice/${e}`},query(e={},t){return`${t?"/"+t:".."}/invoices`},Redit:"invoice/edit/:uniqueId",Rcreate:"invoice/new",Rsingle:"invoice/:uniqueId",Rquery:"invoices"};bi.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"invoice",features:{},security:{writeOnRoot:!0,readOnRoot:!0},gormMap:{},fields:[{name:"title",description:"Explanation about the invoice, the reason someone needs to pay",type:"text",validate:"required",computedType:"string",gormMap:{}},{name:"amount",description:"Amount of the invoice which has to be payed",type:"money?",validate:"required",computedType:"{amount: number, currency: string, formatted?: string}",gormMap:{}},{name:"notificationKey",description:"The unique key, when an event related to the invoice happened it would be triggered. For example if another module wants to initiate the payment, and after payment success, wants to run some code, it would be listening to invoice events and notificationKey will come.",type:"string",computedType:"string",gormMap:{}},{name:"redirectAfterSuccess",description:"When the payment is successful, it might use this url to make a redirect.",type:"string",computedType:"string",gormMap:{}},{name:"finalStatus",description:"Final status of the invoice from a accounting perspective",type:"enum",validate:"required",of:[{k:"payed",description:"Payed"},{k:"pending",description:"Pending"}],computedType:'"payed" | "pending"',gormMap:{}}],description:"Invoice is a billable value, which a party recieves, and needs to pay it by different means. Invoice keeps information such as reason, total amount, tax amount and other details. An invoice can be payed via different payment methods."};bi.Fields={...wn.Fields,title:"title",amount:"amount",notificationKey:"notificationKey",redirectAfterSuccess:"redirectAfterSuccess",finalStatus:"finalStatus"};const nOe=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:bi.Fields.title,title:e.invoices.title,width:100},{name:bi.Fields.amount,title:e.invoices.amount,width:100,getCellValue:t=>{var n;return(n=t.amount)==null?void 0:n.formatted}},{name:bi.Fields.finalStatus,title:e.invoices.finalStatus,width:100}];function _ee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/invoices".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*payment.InvoiceEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}_ee.UKEY="*payment.InvoiceEntity";function rOe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/invoice".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*payment.InvoiceEntity",k=>g(k)),n==null||n.invalidateQueries("*payment.InvoiceEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const aOe=()=>{const e=Kt(AE);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:nOe(e),queryHook:_ee,uniqueIdHrefHandler:t=>bi.Navigation.single(t),deleteHook:rOe})})},iOe=()=>{const e=Kt(AE);return w.jsx(Fo,{pageTitle:e.invoices.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(bi.Navigation.create())},children:w.jsx(aOe,{})})};var hr=function(){return hr=Object.assign||function(t){for(var n,r=1,a=arguments.length;r1){if(n===0)return e.replace(t,"");if(e.includes(t)){var r=e.split(t),a=r[0],i=r[1];if(i.length===n)return e;if(i.length>n)return"".concat(a).concat(t).concat(i.slice(0,n))}var o=e.length>n?new RegExp("(\\d+)(\\d{".concat(n,"})")):new RegExp("(\\d)(\\d+)"),l=e.match(o);if(l){var a=l[1],i=l[2];return"".concat(a).concat(t).concat(i)}}return e},Oee=function(e,t){var n=t.groupSeparator,r=n===void 0?",":n,a=t.decimalSeparator,i=a===void 0?".":a,o=new RegExp("\\d([^".concat(xc(r)).concat(xc(i),"0-9]+)")),l=e.match(o);return l?l[1]:void 0},E1=function(e){var t=e.value,n=e.decimalSeparator,r=e.intlConfig,a=e.decimalScale,i=e.prefix,o=i===void 0?"":i,l=e.suffix,u=l===void 0?"":l;if(t===""||t===void 0)return"";if(t==="-")return"-";var d=new RegExp("^\\d?-".concat(o?"".concat(xc(o),"?"):"","\\d")).test(t),f=n!=="."?dOe(t,n,d):t;n&&n!=="-"&&f.startsWith(n)&&(f="0"+f);var g=r||{},y=g.locale,h=g.currency,v=zF(g,["locale","currency"]),E=hr(hr({},v),{minimumFractionDigits:a||0,maximumFractionDigits:20}),T=r?new Intl.NumberFormat(y,hr(hr({},E),h&&{style:"currency",currency:h})):new Intl.NumberFormat(void 0,E),C=T.formatToParts(Number(f)),k=fOe(C,e),_=Oee(k,hr({},e)),A=t.slice(-1)===n?n:"",P=f.match(RegExp("\\d+\\.(\\d+)"))||[],N=P[1];return a===void 0&&N&&n&&(k.includes(n)?k=k.replace(RegExp("(\\d+)(".concat(xc(n),")(\\d+)"),"g"),"$1$2".concat(N)):_&&!u?k=k.replace(_,"".concat(n).concat(N).concat(_)):k="".concat(k).concat(n).concat(N)),u&&A?"".concat(k).concat(A).concat(u):_&&A?k.replace(_,"".concat(A).concat(_)):_&&u?k.replace(_,"".concat(A).concat(u)):[k,A,u].join("")},dOe=function(e,t,n){var r=e;return t&&t!=="."&&(r=r.replace(RegExp(xc(t),"g"),"."),n&&t==="-"&&(r="-".concat(r.slice(1)))),r},fOe=function(e,t){var n=t.prefix,r=t.groupSeparator,a=t.decimalSeparator,i=t.decimalScale,o=t.disableGroupSeparators,l=o===void 0?!1:o;return e.reduce(function(u,d,f){var g=d.type,y=d.value;return f===0&&n?g==="minusSign"?[y,n]:g==="currency"?Rs(Rs([],u,!0),[n],!1):[n,y]:g==="currency"?n?u:Rs(Rs([],u,!0),[y],!1):g==="group"?l?u:Rs(Rs([],u,!0),[r!==void 0?r:y],!1):g==="decimal"?i!==void 0&&i===0?u:Rs(Rs([],u,!0),[a!==void 0?a:y],!1):g==="fraction"?Rs(Rs([],u,!0),[i!==void 0?y.slice(0,i):y],!1):Rs(Rs([],u,!0),[y],!1)},[""]).join("")},pOe={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},hOe=function(e){var t=e||{},n=t.locale,r=t.currency,a=zF(t,["locale","currency"]),i=n?new Intl.NumberFormat(n,hr(hr({},a),r&&{currency:r,style:"currency"})):new Intl.NumberFormat;return i.formatToParts(1000.1).reduce(function(o,l,u){return l.type==="currency"?u===0?hr(hr({},o),{currencySymbol:l.value,prefix:l.value}):hr(hr({},o),{currencySymbol:l.value,suffix:l.value}):l.type==="group"?hr(hr({},o),{groupSeparator:l.value}):l.type==="decimal"?hr(hr({},o),{decimalSeparator:l.value}):o},pOe)},C5=function(e){return RegExp(/\d/,"gi").test(e)},mOe=function(e,t,n){if(n===void 0||t===""||t===void 0||e===""||e===void 0)return e;if(!e.match(/\d/g))return"";var r=e.split(t),a=r[0],i=r[1];if(n===0)return a;var o=i||"";if(o.lengthv)){if(_t===""||_t==="-"||_t===ue){T&&T(void 0,l,{float:null,formatted:"",value:""}),tt(_t),Rt(1);return}var Ut=ue?_t.replace(ue,"."):_t,On=parseFloat(Ut),gn=E1(hr({value:_t},fe));if(Lt!=null){var ln=Lt+(gn.length-Mt.length);ln=ln<=0?A?A.length:0:ln,Rt(ln),Wt(qt+1)}if(tt(gn),T){var Bn={float:On,formatted:gn,value:_t};T(_t,l,Bn)}}},U=function(Mt){var be=Mt.target,Ee=be.value,gt=be.selectionStart;Nt(Ee,gt),W&&W(Mt)},D=function(Mt){return G&&G(Mt),qe?qe.length:0},F=function(Mt){var be=Mt.target.value,Ee=YP(hr({value:be},xe));if(Ee==="-"||Ee===ue||!Ee){tt(""),q&&q(Mt);return}var gt=cOe(Ee,ue,C),Lt=mOe(gt,ue,_!==void 0?_:C),_t=ue?Lt.replace(ue,"."):Lt,Ut=parseFloat(_t),On=E1(hr(hr({},fe),{value:Lt}));T&&J&&T(Lt,l,{float:Ut,formatted:On,value:Lt}),tt(On),q&&q(Mt)},ae=function(Mt){var be=Mt.key;if(ft(be),I&&(be==="ArrowUp"||be==="ArrowDown")){Mt.preventDefault(),Rt(qe.length);var Ee=E!=null?String(E):void 0,gt=ue&&Ee?Ee.replace(ue,"."):Ee,Lt=parseFloat(gt??YP(hr({value:qe},xe)))||0,_t=be==="ArrowUp"?Lt+I:Lt-I;if(L!==void 0&&_tNumber(j))return;var Ut=String(I).includes(".")?Number(String(I).split(".")[1].length):void 0;Nt(String(Ut?_t.toFixed(Ut):_t).replace(".",ue))}ce&&ce(Mt)},Te=function(Mt){var be=Mt.key,Ee=Mt.currentTarget.selectionStart;if(be!=="ArrowUp"&&be!=="ArrowDown"&&qe!=="-"){var gt=Oee(qe,{groupSeparator:ke,decimalSeparator:ue});if(gt&&Ee&&Ee>qe.length-gt.length&&ut.current){var Lt=qe.length-gt.length;ut.current.setSelectionRange(Lt,Lt)}}H&&H(Mt)};R.useEffect(function(){E==null&&g==null&&tt("")},[g,E]),R.useEffect(function(){at&&qe!=="-"&&ut.current&&document.activeElement===ut.current&&ut.current.setSelectionRange(xt,xt)},[qe,xt,ut,at,qt]);var Fe=function(){return E!=null&&qe!=="-"&&(!ue||qe!==ue)?E1(hr(hr({},fe),{decimalScale:at?void 0:_,value:String(E)})):qe},We=hr({type:"text",inputMode:"decimal",id:o,name:l,className:u,onChange:U,onBlur:F,onFocus:D,onKeyDown:ae,onKeyUp:Te,placeholder:k,disabled:h,value:Fe(),ref:ut},ee);if(d){var Tt=d;return ze.createElement(Tt,hr({},We))}return ze.createElement("input",hr({},We))});Ree.displayName="CurrencyInput";const vOe=e=>{const{placeholder:t,onChange:n,value:r,...a}=e,[i,o]=R.useState(()=>(r==null?void 0:r.amount)!=null?r.amount.toString():"");R.useEffect(()=>{const d=(r==null?void 0:r.amount)!=null?r.amount.toString():"";d!==i&&o(d)},[r==null?void 0:r.amount]);const l=d=>{const f=parseFloat(d);isNaN(f)||n==null||n({...r,amount:f})},u=d=>{const f=d||"";o(f),f.trim()!==""&&l(f)};return w.jsx(ef,{...a,children:w.jsxs("div",{className:"flex gap-2 items-center",style:{flexDirection:"row",display:"flex"},children:[w.jsx(Ree,{placeholder:t,value:i,decimalsLimit:2,className:ia("form-control",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),onValueChange:u}),w.jsxs("select",{value:r==null?void 0:r.currency,onChange:d=>n==null?void 0:n({...r,currency:d.target.value}),className:"form-select w-24",style:{width:"110px"},children:[w.jsx("option",{value:"USD",children:"USD"}),w.jsx("option",{value:"PLN",children:"PLN"}),w.jsx("option",{value:"EUR",children:"EUR"})]})]})})},yOe=({form:e,isEditing:t})=>{const{options:n}=R.useContext(nt),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(AE);return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.title,onChange:u=>i(bi.Fields.title,u,!1),errorMessage:o.title,label:l.invoices.title,hint:l.invoices.titleHint}),w.jsx(vOe,{value:r.amount,onChange:u=>i(bi.Fields.amount,u,!1),label:l.invoices.amount,hint:l.invoices.amountHint}),w.jsx(In,{value:r.finalStatus,onChange:u=>i(bi.Fields.finalStatus,u,!1),errorMessage:o.finalStatus,label:l.invoices.finalStatus,hint:l.invoices.finalStatusHint})]})};function Pee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/invoice/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*payment.InvoiceEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function bOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/invoice".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*payment.InvoiceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function wOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/invoice".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*payment.InvoiceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const k5=({data:e})=>{const t=Kt(AE),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=Pee({query:{uniqueId:r}}),l=bOe({queryClient:a}),u=wOe({queryClient:a});return w.jsx(Uo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(bi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return bi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:yOe,onEditTitle:t.invoices.editInvoice,onCreateTitle:t.invoices.newInvoice,data:e})},SOe=()=>{var i,o;const{uniqueId:e}=Dr({}),t=Pee({query:{uniqueId:e}});var n=(i=t.query.data)==null?void 0:i.data;const r=Kt(AE),a=l=>{window.open(`http://localhost:4500/payment/invoice/${l}`,"_blank")};return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:l,router:u})=>{u.push(bi.Navigation.edit(e))},getSingleHook:t,children:w.jsx(io,{entity:n,fields:[{elem:n==null?void 0:n.title,label:r.invoices.title},{elem:(o=n==null?void 0:n.amount)==null?void 0:o.formatted,label:r.invoices.amount},{elem:w.jsx(w.Fragment,{children:w.jsx("button",{className:"btn btn-small",onClick:()=>a(e),children:"Pay now"})}),label:"Actions"}]})})})};function EOe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(k5,{}),path:bi.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(SOe,{}),path:bi.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(k5,{}),path:bi.Navigation.Redit}),w.jsx(mt,{element:w.jsx(iOe,{}),path:bi.Navigation.Rquery})]})}function TOe(){const e=Z_e(),t=EOe();return w.jsxs(mt,{path:"payment",children:[e,t]})}const COe={regionalContents:{titleHint:"Title",archiveTitle:"Regional contents",keyGroup:"Key group",languageId:"Language id",regionHint:"Region",title:"Title",content:"Content",contentHint:"Content",editRegionalContent:"Edit regional content",keyGroupHint:"Key group",languageIdHint:"Language id",newRegionalContent:"New regional content",region:"Region"}},kOe={regionalContents:{editRegionalContent:"Edytuj treść regionalną",keyGroup:"Grupa kluczy",keyGroupHint:"Grupa kluczy",languageId:"Identyfikator języka",region:"Region",title:"Tytuł",titleHint:"Tytuł",archiveTitle:"Treści regionalne",content:"Treść",contentHint:"Treść",languageIdHint:"Identyfikator języka",newRegionalContent:"Nowa treść regionalna",regionHint:"Region"}},NE={...COe,$pl:kOe};class Br extends wn{constructor(...t){super(...t),this.children=void 0,this.content=void 0,this.contentExcerpt=void 0,this.region=void 0,this.title=void 0,this.languageId=void 0,this.keyGroup=void 0}}Br.Navigation={edit(e,t){return`${t?"/"+t:".."}/regional-content/edit/${e}`},create(e){return`${e?"/"+e:".."}/regional-content/new`},single(e,t){return`${t?"/"+t:".."}/regional-content/${e}`},query(e={},t){return`${t?"/"+t:".."}/regional-contents`},Redit:"regional-content/edit/:uniqueId",Rcreate:"regional-content/new",Rsingle:"regional-content/:uniqueId",Rquery:"regional-contents"};Br.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"regionalContent",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"content",type:"html",validate:"required",computedType:"string",gormMap:{}},{name:"region",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"title",type:"string",computedType:"string",gormMap:{}},{name:"languageId",type:"string",validate:"required",computedType:"string",gorm:"index:regional_content_index,unique",gormMap:{}},{name:"keyGroup",type:"enum",validate:"required",of:[{k:"SMS_OTP",description:"Used when an email would be sent with one time password"},{k:"EMAIL_OTP",description:"Used when an sms would be sent with one time password"}],computedType:'"SMS_OTP" | "EMAIL_OTP"',gorm:"index:regional_content_index,unique",gormMap:{}}],cliShort:"rc",description:"Email templates, sms templates or other textual content which can be accessed."};Br.Fields={...wn.Fields,content:"content",region:"region",title:"title",languageId:"languageId",keyGroup:"keyGroup"};const xOe=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:Br.Fields.content,title:e.regionalContents.content,width:100},{name:Br.Fields.region,title:e.regionalContents.region,width:100},{name:Br.Fields.title,title:e.regionalContents.title,width:100},{name:Br.Fields.languageId,title:e.regionalContents.languageId,width:100},{name:Br.Fields.keyGroup,title:e.regionalContents.keyGroup,width:100}];function vS({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/regional-contents".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.RegionalContentEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}vS.UKEY="*abac.RegionalContentEntity";function _Oe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/regional-content".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.RegionalContentEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.RegionalContentEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const OOe=()=>{const e=Kt(NE);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:xOe(e),queryHook:vS,uniqueIdHrefHandler:t=>Br.Navigation.single(t),deleteHook:_Oe})})},ROe=()=>{const e=Kt(NE);return w.jsx(Fo,{pageTitle:e.regionalContents.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(Br.Navigation.create())},children:w.jsx(OOe,{})})};var qL=function(){return qL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"||e===""?[]:Array.isArray(e)?e:e.split(" ")},MOe=function(e,t){return P5(e).concat(P5(t))},IOe=function(){return window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"},DOe=function(e){if(!("isConnected"in Node.prototype)){for(var t=e,n=e.parentNode;n!=null;)t=n,n=t.parentNode;return t===e.ownerDocument}return e.isConnected},A5=function(e,t){e!==void 0&&(e.mode!=null&&typeof e.mode=="object"&&typeof e.mode.set=="function"?e.mode.set(t):e.setMode(t))},HL=function(){return HL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?setTimeout(d,o):d()},r=function(){for(var a=e.pop();a!=null;a=e.pop())a.deleteScripts()};return{loadList:n,reinitialize:r}},jOe=FOe(),XP=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},UOe=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),kx=function(){return kx=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)throw new Error("Invalid string. Length must be a multiple of 4");var E=h.indexOf("=");E===-1&&(E=v);var T=E===v?0:4-E%4;return[E,T]}function l(h){var v=o(h),E=v[0],T=v[1];return(E+T)*3/4-T}function u(h,v,E){return(v+E)*3/4-E}function d(h){var v,E=o(h),T=E[0],C=E[1],k=new n(u(h,T,C)),_=0,A=C>0?T-4:T,P;for(P=0;P>16&255,k[_++]=v>>8&255,k[_++]=v&255;return C===2&&(v=t[h.charCodeAt(P)]<<2|t[h.charCodeAt(P+1)]>>4,k[_++]=v&255),C===1&&(v=t[h.charCodeAt(P)]<<10|t[h.charCodeAt(P+1)]<<4|t[h.charCodeAt(P+2)]>>2,k[_++]=v>>8&255,k[_++]=v&255),k}function f(h){return e[h>>18&63]+e[h>>12&63]+e[h>>6&63]+e[h&63]}function g(h,v,E){for(var T,C=[],k=v;kA?A:_+k));return T===1?(v=h[E-1],C.push(e[v>>2]+e[v<<4&63]+"==")):T===2&&(v=(h[E-2]<<8)+h[E-1],C.push(e[v>>10]+e[v>>4&63]+e[v<<2&63]+"=")),C.join("")}return T1}var tk={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var M5;function zOe(){return M5||(M5=1,tk.read=function(e,t,n,r,a){var i,o,l=a*8-r-1,u=(1<>1,f=-7,g=n?a-1:0,y=n?-1:1,h=e[t+g];for(g+=y,i=h&(1<<-f)-1,h>>=-f,f+=l;f>0;i=i*256+e[t+g],g+=y,f-=8);for(o=i&(1<<-f)-1,i>>=-f,f+=r;f>0;o=o*256+e[t+g],g+=y,f-=8);if(i===0)i=1-d;else{if(i===u)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,r),i=i-d}return(h?-1:1)*o*Math.pow(2,i-r)},tk.write=function(e,t,n,r,a,i){var o,l,u,d=i*8-a-1,f=(1<>1,y=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,v=r?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+g>=1?t+=y/u:t+=y*Math.pow(2,1-g),t*u>=2&&(o++,u/=2),o+g>=f?(l=0,o=f):o+g>=1?(l=(t*u-1)*Math.pow(2,a),o=o+g):(l=t*Math.pow(2,g-1)*Math.pow(2,a),o=0));a>=8;e[n+h]=l&255,h+=v,l/=256,a-=8);for(o=o<0;e[n+h]=o&255,h+=v,o/=256,d-=8);e[n+h-v]|=E*128}),tk}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */var G8;function iOe(){return G8||(G8=1,(function(e){const t=rOe(),n=aOe(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=k,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=i(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const U=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(U,D),U.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function o(U){if(U>a)throw new RangeError('The value "'+U+'" is invalid for option "size"');const D=new Uint8Array(U);return Object.setPrototypeOf(D,l.prototype),D}function l(U,D,F){if(typeof U=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(U)}return u(U,D,F)}l.poolSize=8192;function u(U,D,F){if(typeof U=="string")return y(U,D);if(ArrayBuffer.isView(U))return v(U);if(U==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(Oe(U,ArrayBuffer)||U&&Oe(U.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Oe(U,SharedArrayBuffer)||U&&Oe(U.buffer,SharedArrayBuffer)))return E(U,D,F);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ae=U.valueOf&&U.valueOf();if(ae!=null&&ae!==U)return l.from(ae,D,F);const Te=T(U);if(Te)return Te;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return l.from(U[Symbol.toPrimitive]("string"),D,F);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}l.from=function(U,D,F){return u(U,D,F)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function d(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function f(U,D,F){return d(U),U<=0?o(U):D!==void 0?typeof F=="string"?o(U).fill(D,F):o(U).fill(D):o(U)}l.alloc=function(U,D,F){return f(U,D,F)};function g(U){return d(U),o(U<0?0:C(U)|0)}l.allocUnsafe=function(U){return g(U)},l.allocUnsafeSlow=function(U){return g(U)};function y(U,D){if((typeof D!="string"||D==="")&&(D="utf8"),!l.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const F=_(U,D)|0;let ae=o(F);const Te=ae.write(U,D);return Te!==F&&(ae=ae.slice(0,Te)),ae}function p(U){const D=U.length<0?0:C(U.length)|0,F=o(D);for(let ae=0;ae=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return U|0}function k(U){return+U!=U&&(U=0),l.alloc(+U)}l.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==l.prototype},l.compare=function(D,F){if(Oe(D,Uint8Array)&&(D=l.from(D,D.offset,D.byteLength)),Oe(F,Uint8Array)&&(F=l.from(F,F.offset,F.byteLength)),!l.isBuffer(D)||!l.isBuffer(F))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===F)return 0;let ae=D.length,Te=F.length;for(let Fe=0,We=Math.min(ae,Te);FeTe.length?(l.isBuffer(We)||(We=l.from(We)),We.copy(Te,Fe)):Uint8Array.prototype.set.call(Te,We,Fe);else if(l.isBuffer(We))We.copy(Te,Fe);else throw new TypeError('"list" argument must be an Array of Buffers');Fe+=We.length}return Te};function _(U,D){if(l.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||Oe(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);const F=U.length,ae=arguments.length>2&&arguments[2]===!0;if(!ae&&F===0)return 0;let Te=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return F;case"utf8":case"utf-8":return xt(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F*2;case"hex":return F>>>1;case"base64":return Ht(U).length;default:if(Te)return ae?-1:xt(U).length;D=(""+D).toLowerCase(),Te=!0}}l.byteLength=_;function A(U,D,F){let ae=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((F===void 0||F>this.length)&&(F=this.length),F<=0)||(F>>>=0,D>>>=0,F<=D))return"";for(U||(U="utf8");;)switch(U){case"hex":return ce(this,D,F);case"utf8":case"utf-8":return ge(this,D,F);case"ascii":return G(this,D,F);case"latin1":case"binary":return q(this,D,F);case"base64":return re(this,D,F);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,D,F);default:if(ae)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),ae=!0}}l.prototype._isBuffer=!0;function P(U,D,F){const ae=U[D];U[D]=U[F],U[F]=ae}l.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let F=0;FF&&(D+=" ... "),""},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(D,F,ae,Te,Fe){if(Oe(D,Uint8Array)&&(D=l.from(D,D.offset,D.byteLength)),!l.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(F===void 0&&(F=0),ae===void 0&&(ae=D?D.length:0),Te===void 0&&(Te=0),Fe===void 0&&(Fe=this.length),F<0||ae>D.length||Te<0||Fe>this.length)throw new RangeError("out of range index");if(Te>=Fe&&F>=ae)return 0;if(Te>=Fe)return-1;if(F>=ae)return 1;if(F>>>=0,ae>>>=0,Te>>>=0,Fe>>>=0,this===D)return 0;let We=Fe-Te,Tt=ae-F;const Mt=Math.min(We,Tt),be=this.slice(Te,Fe),Ee=D.slice(F,ae);for(let gt=0;gt2147483647?F=2147483647:F<-2147483648&&(F=-2147483648),F=+F,dt(F)&&(F=Te?0:U.length-1),F<0&&(F=U.length+F),F>=U.length){if(Te)return-1;F=U.length-1}else if(F<0)if(Te)F=0;else return-1;if(typeof D=="string"&&(D=l.from(D,ae)),l.isBuffer(D))return D.length===0?-1:I(U,D,F,ae,Te);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(U,D,F):Uint8Array.prototype.lastIndexOf.call(U,D,F):I(U,[D],F,ae,Te);throw new TypeError("val must be string, number or Buffer")}function I(U,D,F,ae,Te){let Fe=1,We=U.length,Tt=D.length;if(ae!==void 0&&(ae=String(ae).toLowerCase(),ae==="ucs2"||ae==="ucs-2"||ae==="utf16le"||ae==="utf-16le")){if(U.length<2||D.length<2)return-1;Fe=2,We/=2,Tt/=2,F/=2}function Mt(Ee,gt){return Fe===1?Ee[gt]:Ee.readUInt16BE(gt*Fe)}let be;if(Te){let Ee=-1;for(be=F;beWe&&(F=We-Tt),be=F;be>=0;be--){let Ee=!0;for(let gt=0;gtTe&&(ae=Te)):ae=Te;const Fe=D.length;ae>Fe/2&&(ae=Fe/2);let We;for(We=0;We>>0,isFinite(ae)?(ae=ae>>>0,Te===void 0&&(Te="utf8")):(Te=ae,ae=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Fe=this.length-F;if((ae===void 0||ae>Fe)&&(ae=Fe),D.length>0&&(ae<0||F<0)||F>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");let We=!1;for(;;)switch(Te){case"hex":return L(this,D,F,ae);case"utf8":case"utf-8":return j(this,D,F,ae);case"ascii":case"latin1":case"binary":return z(this,D,F,ae);case"base64":return Q(this,D,F,ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,D,F,ae);default:if(We)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),We=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(U,D,F){return D===0&&F===U.length?t.fromByteArray(U):t.fromByteArray(U.slice(D,F))}function ge(U,D,F){F=Math.min(U.length,F);const ae=[];let Te=D;for(;Te239?4:Fe>223?3:Fe>191?2:1;if(Te+Tt<=F){let Mt,be,Ee,gt;switch(Tt){case 1:Fe<128&&(We=Fe);break;case 2:Mt=U[Te+1],(Mt&192)===128&&(gt=(Fe&31)<<6|Mt&63,gt>127&&(We=gt));break;case 3:Mt=U[Te+1],be=U[Te+2],(Mt&192)===128&&(be&192)===128&&(gt=(Fe&15)<<12|(Mt&63)<<6|be&63,gt>2047&&(gt<55296||gt>57343)&&(We=gt));break;case 4:Mt=U[Te+1],be=U[Te+2],Ee=U[Te+3],(Mt&192)===128&&(be&192)===128&&(Ee&192)===128&&(gt=(Fe&15)<<18|(Mt&63)<<12|(be&63)<<6|Ee&63,gt>65535&><1114112&&(We=gt))}}We===null?(We=65533,Tt=1):We>65535&&(We-=65536,ae.push(We>>>10&1023|55296),We=56320|We&1023),ae.push(We),Te+=Tt}return W(ae)}const he=4096;function W(U){const D=U.length;if(D<=he)return String.fromCharCode.apply(String,U);let F="",ae=0;for(;aeae)&&(F=ae);let Te="";for(let Fe=D;Feae&&(D=ae),F<0?(F+=ae,F<0&&(F=0)):F>ae&&(F=ae),FF)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(D,F,ae){D=D>>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=this[D],Fe=1,We=0;for(;++We>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=this[D+--F],Fe=1;for(;F>0&&(Fe*=256);)Te+=this[D+--F]*Fe;return Te},l.prototype.readUint8=l.prototype.readUInt8=function(D,F){return D=D>>>0,F||Y(D,1,this.length),this[D]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(D,F){return D=D>>>0,F||Y(D,2,this.length),this[D]|this[D+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(D,F){return D=D>>>0,F||Y(D,2,this.length),this[D]<<8|this[D+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},l.prototype.readBigUInt64LE=ut(function(D){D=D>>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=F+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,Fe=this[++D]+this[++D]*2**8+this[++D]*2**16+ae*2**24;return BigInt(Te)+(BigInt(Fe)<>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=F*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],Fe=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+ae;return(BigInt(Te)<>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=this[D],Fe=1,We=0;for(;++We=Fe&&(Te-=Math.pow(2,8*F)),Te},l.prototype.readIntBE=function(D,F,ae){D=D>>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=F,Fe=1,We=this[D+--Te];for(;Te>0&&(Fe*=256);)We+=this[D+--Te]*Fe;return Fe*=128,We>=Fe&&(We-=Math.pow(2,8*F)),We},l.prototype.readInt8=function(D,F){return D=D>>>0,F||Y(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},l.prototype.readInt16LE=function(D,F){D=D>>>0,F||Y(D,2,this.length);const ae=this[D]|this[D+1]<<8;return ae&32768?ae|4294901760:ae},l.prototype.readInt16BE=function(D,F){D=D>>>0,F||Y(D,2,this.length);const ae=this[D+1]|this[D]<<8;return ae&32768?ae|4294901760:ae},l.prototype.readInt32LE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},l.prototype.readInt32BE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},l.prototype.readBigInt64LE=ut(function(D){D=D>>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(ae<<24);return(BigInt(Te)<>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=(F<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(Te)<>>0,F||Y(D,4,this.length),n.read(this,D,!0,23,4)},l.prototype.readFloatBE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),n.read(this,D,!1,23,4)},l.prototype.readDoubleLE=function(D,F){return D=D>>>0,F||Y(D,8,this.length),n.read(this,D,!0,52,8)},l.prototype.readDoubleBE=function(D,F){return D=D>>>0,F||Y(D,8,this.length),n.read(this,D,!1,52,8)};function ie(U,D,F,ae,Te,Fe){if(!l.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>Te||DU.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(D,F,ae,Te){if(D=+D,F=F>>>0,ae=ae>>>0,!Te){const Tt=Math.pow(2,8*ae)-1;ie(this,D,F,ae,Tt,0)}let Fe=1,We=0;for(this[F]=D&255;++We>>0,ae=ae>>>0,!Te){const Tt=Math.pow(2,8*ae)-1;ie(this,D,F,ae,Tt,0)}let Fe=ae-1,We=1;for(this[F+Fe]=D&255;--Fe>=0&&(We*=256);)this[F+Fe]=D/We&255;return F+ae},l.prototype.writeUint8=l.prototype.writeUInt8=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,1,255,0),this[F]=D&255,F+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,65535,0),this[F]=D&255,this[F+1]=D>>>8,F+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,65535,0),this[F]=D>>>8,this[F+1]=D&255,F+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,4294967295,0),this[F+3]=D>>>24,this[F+2]=D>>>16,this[F+1]=D>>>8,this[F]=D&255,F+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,4294967295,0),this[F]=D>>>24,this[F+1]=D>>>16,this[F+2]=D>>>8,this[F+3]=D&255,F+4};function Z(U,D,F,ae,Te){nt(D,ae,Te,U,F,7);let Fe=Number(D&BigInt(4294967295));U[F++]=Fe,Fe=Fe>>8,U[F++]=Fe,Fe=Fe>>8,U[F++]=Fe,Fe=Fe>>8,U[F++]=Fe;let We=Number(D>>BigInt(32)&BigInt(4294967295));return U[F++]=We,We=We>>8,U[F++]=We,We=We>>8,U[F++]=We,We=We>>8,U[F++]=We,F}function ee(U,D,F,ae,Te){nt(D,ae,Te,U,F,7);let Fe=Number(D&BigInt(4294967295));U[F+7]=Fe,Fe=Fe>>8,U[F+6]=Fe,Fe=Fe>>8,U[F+5]=Fe,Fe=Fe>>8,U[F+4]=Fe;let We=Number(D>>BigInt(32)&BigInt(4294967295));return U[F+3]=We,We=We>>8,U[F+2]=We,We=We>>8,U[F+1]=We,We=We>>8,U[F]=We,F+8}l.prototype.writeBigUInt64LE=ut(function(D,F=0){return Z(this,D,F,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ut(function(D,F=0){return ee(this,D,F,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(D,F,ae,Te){if(D=+D,F=F>>>0,!Te){const Mt=Math.pow(2,8*ae-1);ie(this,D,F,ae,Mt-1,-Mt)}let Fe=0,We=1,Tt=0;for(this[F]=D&255;++Fe>0)-Tt&255;return F+ae},l.prototype.writeIntBE=function(D,F,ae,Te){if(D=+D,F=F>>>0,!Te){const Mt=Math.pow(2,8*ae-1);ie(this,D,F,ae,Mt-1,-Mt)}let Fe=ae-1,We=1,Tt=0;for(this[F+Fe]=D&255;--Fe>=0&&(We*=256);)D<0&&Tt===0&&this[F+Fe+1]!==0&&(Tt=1),this[F+Fe]=(D/We>>0)-Tt&255;return F+ae},l.prototype.writeInt8=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,1,127,-128),D<0&&(D=255+D+1),this[F]=D&255,F+1},l.prototype.writeInt16LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,32767,-32768),this[F]=D&255,this[F+1]=D>>>8,F+2},l.prototype.writeInt16BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,32767,-32768),this[F]=D>>>8,this[F+1]=D&255,F+2},l.prototype.writeInt32LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,2147483647,-2147483648),this[F]=D&255,this[F+1]=D>>>8,this[F+2]=D>>>16,this[F+3]=D>>>24,F+4},l.prototype.writeInt32BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[F]=D>>>24,this[F+1]=D>>>16,this[F+2]=D>>>8,this[F+3]=D&255,F+4},l.prototype.writeBigInt64LE=ut(function(D,F=0){return Z(this,D,F,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ut(function(D,F=0){return ee(this,D,F,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function J(U,D,F,ae,Te,Fe){if(F+ae>U.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("Index out of range")}function ue(U,D,F,ae,Te){return D=+D,F=F>>>0,Te||J(U,D,F,4),n.write(U,D,F,ae,23,4),F+4}l.prototype.writeFloatLE=function(D,F,ae){return ue(this,D,F,!0,ae)},l.prototype.writeFloatBE=function(D,F,ae){return ue(this,D,F,!1,ae)};function ke(U,D,F,ae,Te){return D=+D,F=F>>>0,Te||J(U,D,F,8),n.write(U,D,F,ae,52,8),F+8}l.prototype.writeDoubleLE=function(D,F,ae){return ke(this,D,F,!0,ae)},l.prototype.writeDoubleBE=function(D,F,ae){return ke(this,D,F,!1,ae)},l.prototype.copy=function(D,F,ae,Te){if(!l.isBuffer(D))throw new TypeError("argument should be a Buffer");if(ae||(ae=0),!Te&&Te!==0&&(Te=this.length),F>=D.length&&(F=D.length),F||(F=0),Te>0&&Te=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),D.length-F>>0,ae=ae===void 0?this.length:ae>>>0,D||(D=0);let Fe;if(typeof D=="number")for(Fe=F;Fe2**32?Te=Ie(String(F)):typeof F=="bigint"&&(Te=String(F),(F>BigInt(2)**BigInt(32)||F<-(BigInt(2)**BigInt(32)))&&(Te=Ie(Te)),Te+="n"),ae+=` It must be ${D}. Received ${Te}`,ae},RangeError);function Ie(U){let D="",F=U.length;const ae=U[0]==="-"?1:0;for(;F>=ae+4;F-=3)D=`_${U.slice(F-3,F)}${D}`;return`${U.slice(0,F)}${D}`}function qe(U,D,F){Ge(D,"offset"),(U[D]===void 0||U[D+F]===void 0)&&at(D,U.length-(F+1))}function nt(U,D,F,ae,Te,Fe){if(U>F||U= 0${We} and < 2${We} ** ${(Fe+1)*8}${We}`:Tt=`>= -(2${We} ** ${(Fe+1)*8-1}${We}) and < 2 ** ${(Fe+1)*8-1}${We}`,new fe.ERR_OUT_OF_RANGE("value",Tt,U)}qe(ae,Te,Fe)}function Ge(U,D){if(typeof U!="number")throw new fe.ERR_INVALID_ARG_TYPE(D,"number",U)}function at(U,D,F){throw Math.floor(U)!==U?(Ge(U,F),new fe.ERR_OUT_OF_RANGE("offset","an integer",U)):D<0?new fe.ERR_BUFFER_OUT_OF_BOUNDS:new fe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,U)}const Et=/[^+/0-9A-Za-z-_]/g;function kt(U){if(U=U.split("=")[0],U=U.trim().replace(Et,""),U.length<2)return"";for(;U.length%4!==0;)U=U+"=";return U}function xt(U,D){D=D||1/0;let F;const ae=U.length;let Te=null;const Fe=[];for(let We=0;We55295&&F<57344){if(!Te){if(F>56319){(D-=3)>-1&&Fe.push(239,191,189);continue}else if(We+1===ae){(D-=3)>-1&&Fe.push(239,191,189);continue}Te=F;continue}if(F<56320){(D-=3)>-1&&Fe.push(239,191,189),Te=F;continue}F=(Te-55296<<10|F-56320)+65536}else Te&&(D-=3)>-1&&Fe.push(239,191,189);if(Te=null,F<128){if((D-=1)<0)break;Fe.push(F)}else if(F<2048){if((D-=2)<0)break;Fe.push(F>>6|192,F&63|128)}else if(F<65536){if((D-=3)<0)break;Fe.push(F>>12|224,F>>6&63|128,F&63|128)}else if(F<1114112){if((D-=4)<0)break;Fe.push(F>>18|240,F>>12&63|128,F>>6&63|128,F&63|128)}else throw new Error("Invalid code point")}return Fe}function Rt(U){const D=[];for(let F=0;F>8,Te=F%256,Fe.push(Te),Fe.push(ae);return Fe}function Ht(U){return t.toByteArray(kt(U))}function Wt(U,D,F,ae){let Te;for(Te=0;Te=D.length||Te>=U.length);++Te)D[Te+F]=U[Te];return Te}function Oe(U,D){return U instanceof D||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===D.name}function dt(U){return U!==U}const ft=(function(){const U="0123456789abcdef",D=new Array(256);for(let F=0;F<16;++F){const ae=F*16;for(let Te=0;Te<16;++Te)D[ae+Te]=U[F]+U[Te]}return D})();function ut(U){return typeof BigInt>"u"?Nt:U}function Nt(){throw new Error("BigInt not supported")}})(hP)),hP}iOe();const rF=e=>{const{config:t}=R.useContext(Jp);At();const{placeholder:n,label:r,getInputRef:a,secureTextEntry:i,Icon:o,onChange:l,value:u,height:d,disabled:f,forceBasic:g,forceRich:y,focused:p=!1,autoFocus:v,...E}=e,[T,C]=R.useState(!1),k=R.useRef(),_=R.useRef(!1),[A,P]=R.useState("tinymce"),{upload:N}=NJ(),{directPath:I}=VX();R.useEffect(()=>{if(t.textEditorModule!=="tinymce")e.onReady&&e.onReady();else{const z=setTimeout(()=>{_.current===!1&&(P("textarea"),e.onReady&&e.onReady())},5e3);return()=>{clearTimeout(z)}}},[]);const L=async(z,Q)=>{const le=await N([new File([z.blob()],"filename")],!0)[0];return I({diskPath:le})},j=window.matchMedia("(prefers-color-scheme: dark)").matches||document.getElementsByTagName("body")[0].classList.contains("dark-theme");return w.jsx(qd,{focused:T,...e,children:t.textEditorModule==="tinymce"&&!g||y?w.jsx(nOe,{onInit:(z,Q)=>{k.current=Q,setTimeout(()=>{Q.setContent(u||"",{format:"raw"})},0),e.onReady&&e.onReady()},onEditorChange:(z,Q)=>{l&&l(Q.getContent({format:"raw"}))},onLoadContent:()=>{_.current=!0},apiKey:"4dh1g4gxp1gbmxi3hnkro4wf9lfgmqr86khygey2bwb7ps74",onBlur:()=>C(!1),tinymceScriptSrc:kr.PUBLIC_URL+"plugins/js/tinymce/tinymce.min.js",onFocus:()=>C(!0),init:{menubar:!1,height:d||400,images_upload_handler:L,skin:j?"oxide-dark":"oxide",content_css:j?"dark":"default",plugins:["example","image","directionality","image"],toolbar:"undo redo | formatselect | example | image | rtl ltr | link | bullist numlist bold italic backcolor h2 h3 | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_style:"body {font-size:18px }"}}):w.jsx("textarea",{...E,value:u,placeholder:n,style:{minHeight:"140px"},autoFocus:v,className:ia("form-control",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),onChange:z=>l&&l(z.target.value),onBlur:()=>C(!1),onFocus:()=>C(!0)})})},oOe=({form:e,isEditing:t})=>{const{options:n}=R.useContext(Je),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(ZS),u=js(Br.definition.fields.find(d=>d.name==="keyGroup").of.map(d=>({label:d.k,value:d.k})));return w.jsxs(w.Fragment,{children:[w.jsx(ca,{keyExtractor:d=>d.value,formEffect:{form:e,field:Br.Fields.keyGroup,beforeSet(d){return d.value}},querySource:u,errorMessage:o.keyGroup,label:l.regionalContents.keyGroup,hint:l.regionalContents.keyGroupHint}),w.jsx(rF,{value:r.content,forceRich:r.keyGroup==="EMAIL_OTP",forceBasic:r.keyGroup==="SMS_OTP",onChange:d=>i(Br.Fields.content,d,!1),errorMessage:o.content,label:l.regionalContents.content,hint:l.regionalContents.contentHint}),w.jsx(In,{value:"global",readonly:!0,onChange:d=>i(Br.Fields.region,d,!1),errorMessage:o.region,label:l.regionalContents.region,hint:l.regionalContents.regionHint}),w.jsx(In,{value:r.title,onChange:d=>i(Br.Fields.title,d,!1),errorMessage:o.title,label:l.regionalContents.title,hint:l.regionalContents.titleHint}),w.jsx(In,{value:r.languageId,onChange:d=>i(Br.Fields.languageId,d,!1),errorMessage:o.languageId,label:l.regionalContents.languageId,hint:l.regionalContents.languageIdHint})]})};function VJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/regional-content/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.RegionalContentEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function sOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/regional-content".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.RegionalContentEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function lOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/regional-content".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.RegionalContentEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const Y8=({data:e})=>{const t=Kt(ZS),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=VJ({query:{uniqueId:r}}),l=sOe({queryClient:a}),u=lOe({queryClient:a});return w.jsx(jo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(Br.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return Br.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:oOe,onEditTitle:t.regionalContents.editRegionalContent,onCreateTitle:t.regionalContents.newRegionalContent,data:e})},uOe=()=>{var a;const{uniqueId:e}=Dr({}),t=VJ({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(ZS);return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:i,router:o})=>{o.push(Br.Navigation.edit(e))},getSingleHook:t,children:w.jsx(ao,{entity:n,fields:[{elem:n==null?void 0:n.region,label:r.regionalContents.region},{elem:n==null?void 0:n.title,label:r.regionalContents.title},{elem:n==null?void 0:n.languageId,label:r.regionalContents.languageId}]})})})};function cOe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(Y8,{}),path:Br.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(uOe,{}),path:Br.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(Y8,{}),path:Br.Navigation.Redit}),w.jsx(ht,{element:w.jsx(q_e,{}),path:Br.Navigation.Rquery})]})}function GJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/user/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.UserEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function dOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/user".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.UserEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function fOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/user".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.UserEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const pOe=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a,setValues:i}=e,{options:o}=R.useContext(Je),l=At();return w.jsx(w.Fragment,{children:w.jsxs("div",{className:"row",children:[w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:n==null?void 0:n.firstName,onChange:u=>r(aa.Fields.firstName,u,!1),autoFocus:!t,errorMessage:a==null?void 0:a.firstName,label:l.wokspaces.invite.firstName,hint:l.wokspaces.invite.firstNameHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:n==null?void 0:n.lastName,onChange:u=>r(aa.Fields.lastName,u,!1),errorMessage:a==null?void 0:a.lastName,label:l.wokspaces.invite.lastName,hint:l.wokspaces.invite.lastNameHint})})]})})},K8=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a,t:i}=Dr({data:e}),o=GJ({query:{uniqueId:n,deep:!0}}),l=fOe({queryClient:r}),u=dOe({queryClient:r});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(aa.Navigation.query(void 0,a))},onFinishUriResolver:(d,f)=>{var g;return aa.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:pOe,onEditTitle:i.user.editUser,onCreateTitle:i.user.newUser,data:e})};function YJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/passports".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.PassportEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}YJ.UKEY="*abac.PassportEntity";const mOe=({userId:e})=>{const{items:t}=YJ({query:{query:e?"user_id = "+e:null}});return w.jsx("div",{children:w.jsx(Mo,{title:"Passports",children:t.map(n=>w.jsx(gOe,{passport:n},n.uniqueId))})})};function hOe(e){if(e==null)return"n/a";if(e===!0)return"Yes";if(e===!1)return"No"}const gOe=({passport:e})=>w.jsx("div",{children:w.jsxs("div",{className:"general-entity-view ",children:[w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:"Value:"}),w.jsx("div",{className:"field-value",children:e.value})]}),w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:"Type:"}),w.jsx("div",{className:"field-value",children:e.type})]}),w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:"Confirmed:"}),w.jsx("div",{className:"field-value",children:hOe(e.confirmed)})]})]})}),vOe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=GJ({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return am((a==null?void 0:a.firstName)||""),w.jsx(w.Fragment,{children:w.jsxs(ro,{editEntityHandler:()=>{e.push(aa.Navigation.edit(n))},getSingleHook:r,children:[w.jsx(ao,{entity:a,fields:[{label:t.users.firstName,elem:a==null?void 0:a.firstName},{label:t.users.lastName,elem:a==null?void 0:a.lastName}]}),w.jsx(mOe,{userId:n})]})})};function yOe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/user".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.UserEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.UserEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function KJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/users".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}KJ.UKEY="*abac.UserEntity";const bOe=({gender:e})=>e===0?w.jsx("img",{style:{width:"20px",height:"20px"},src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgdmlld0JveD0iMCAwIDI1NiA1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyOCAwYzM1LjM0NiAwIDY0IDI4LjY1NCA2NCA2NHMtMjguNjU0IDY0LTY0IDY0Yy0zNS4zNDYgMC02NC0yOC42NTQtNjQtNjRTOTIuNjU0IDAgMTI4IDBtMTE5LjI4MyAzNTQuMTc5bC00OC0xOTJBMjQgMjQgMCAwIDAgMTc2IDE0NGgtMTEuMzZjLTIyLjcxMSAxMC40NDMtNDkuNTkgMTAuODk0LTczLjI4IDBIODBhMjQgMjQgMCAwIDAtMjMuMjgzIDE4LjE3OWwtNDggMTkyQzQuOTM1IDM2OS4zMDUgMTYuMzgzIDM4NCAzMiAzODRoNTZ2MTA0YzAgMTMuMjU1IDEwLjc0NSAyNCAyNCAyNGgzMmMxMy4yNTUgMCAyNC0xMC43NDUgMjQtMjRWMzg0aDU2YzE1LjU5MSAwIDI3LjA3MS0xNC42NzEgMjMuMjgzLTI5LjgyMXoiLz48L3N2Zz4="}):w.jsx("img",{style:{width:"20px",height:"20px"},src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE0MS43MzIgMTQxLjczMiIgaGVpZ2h0PSIxNDEuNzMycHgiIGlkPSJMaXZlbGxvXzEiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0MS43MzIgMTQxLjczMiIgd2lkdGg9IjE0MS43MzJweCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgaWQ9IkxpdmVsbG9fOTAiPjxwYXRoIGQ9Ik04MS42NDcsMTAuNzU0YzAtNS4zNzItMy45NzMtOS44MTgtOS4xNi0xMC42MjRoMC4xMTdjLTAuMzc5LTAuMDU4LTAuNzY4LTAuMDktMS4xNTYtMC4xMDQgICBjLTAuMTAzLTAuMDA2LTAuMjA3LTAuMDA5LTAuMzExLTAuMDEyQzcxLjA2NiwwLjAxLDcwLjk5NiwwLDcwLjkyMywwYy0wLjAyMSwwLTAuMDM4LDAuMDAzLTAuMDYsMC4wMDMgICBDNzAuODQ2LDAuMDAzLDcwLjgyOCwwLDcwLjgwNywwYy0wLjA2OSwwLTAuMTQyLDAuMDEyLTAuMjE0LDAuMDE0Yy0wLjEwNCwwLjAwMy0wLjIwOCwwLjAwNi0wLjMxMiwwLjAxMiAgIGMtMC4zOTMsMC4wMTktMC43NzQsMC4wNTEtMS4xNTMsMC4xMDRoMC4xMTdjLTUuMTg5LDAuODA2LTkuMTYsNS4yNTItOS4xNiwxMC42MjRjMCw1Ljg5OSw0Ljc5MSwxMC42ODgsMTAuNzI0LDEwLjc0OHYwLjAwNCAgIGMwLjAyMSwwLDAuMDM5LTAuMDAxLDAuMDYyLTAuMDAyYzAuMDIxLDAuMDAxLDAuMDM4LDAuMDAyLDAuMDU5LDAuMDAydi0wLjAwNEM3Ni44NTYsMjEuNDQsODEuNjQ3LDE2LjY1Myw4MS42NDcsMTAuNzU0ICAgIE05NS45MTUsNjcuODEzVjI1LjYzOGMwLTIuMjgyLTEuODUyLTQuMTM2LTQuMTM1LTQuMTM2SDcwLjkyM2gtMC4xMTZINDkuOTVjLTIuMjgyLDAuMDAzLTQuMTMzLDEuODUzLTQuMTMzLDQuMTM2djQyLjE3NmgwLjAwNCAgIGMwLjA0OCwyLjI0MiwxLjg3NSw0LjA0Nyw0LjEyOSw0LjA0N2MyLjI1MywwLDQuMDgyLTEuODA1LDQuMTI4LTQuMDQ3aDAuMDA0VjQ0Ljk3MmgtMC4wMDlWMzMuOTM0YzAtMC43ODQsMC42MzgtMS40MiwxLjQyMS0xLjQyICAgczEuNDIsMC42MzYsMS40MiwxLjQydjExLjAzOHY4OC4zMTRjMC4zMiwzLjEwNywyLjkxNCw1LjUzNyw2LjA5LDUuNjA4aDAuMjg1YzMuMzk2LTAuMDc2LDYuMTI1LTIuODQ5LDYuMTI1LTYuMjU5Vjc3LjQ1NSAgIGMwLTAuNzcxLDAuNjItMS4zOTYsMS4zOTQtMS40MTF2MC4wMTJjMC4wMjEtMC4wMDEsMC4wMzktMC4wMDcsMC4wNjItMC4wMWMwLjAyMSwwLjAwMywwLjAzOCwwLjAwOSwwLjA1OSwwLjAxdi0wLjAxMiAgIGMwLjc3LDAuMDE4LDEuMzk1LDAuNjQzLDEuMzk1LDEuNDExdjU1LjE4OGMwLDMuNDEyLDIuNzMsNi4xODMsNi4xMjUsNi4yNTloMC4yODVjMy4xNzYtMC4wNzEsNS43Ny0yLjUwMSw2LjA5LTUuNjA4VjQ0Ljk3NCAgIHYtMTEuMDRjMC0wLjc4NCwwLjYzNy0xLjQyLDEuNDIyLTEuNDJjMC43ODEsMCwxLjQyLDAuNjM2LDEuNDIsMS40MnYxMS4wMzhoLTAuMDF2MjIuODQyaDAuMDA0ICAgYzAuMDQ3LDIuMjQyLDEuODc1LDQuMDQ3LDQuMTI5LDQuMDQ3Qzk0LjA0LDcxLjg2MSw5NS44NjYsNzAuMDU2LDk1LjkxNSw2Ny44MTNMOTUuOTE1LDY3LjgxM0w5NS45MTUsNjcuODEzeiIvPjwvZz48ZyBpZD0iTGl2ZWxsb18xXzFfIi8+PC9zdmc+"}),wOe=e=>[{name:aa.Fields.uniqueId,title:e.table.uniqueId,width:100},{name:"firstName",title:e.users.firstName,width:200,sortable:!0,filterable:!0,getCellValue:t=>t==null?void 0:t.firstName},{filterable:!0,name:"lastName",sortable:!0,title:e.users.lastName,width:200,getCellValue:t=>t==null?void 0:t.lastName},{name:"birthDate",title:"birthdate",width:140,getCellValue:t=>w.jsx(w.Fragment,{children:t==null?void 0:t.birthDate}),filterType:"date",filterable:!0,sortable:!0},{name:"gender",title:"gender",width:50,getCellValue:t=>w.jsx(w.Fragment,{children:w.jsx(bOe,{gender:t.gender})})},{name:"Image",title:"Image",width:40,getCellValue:t=>w.jsx(w.Fragment,{children:(t==null?void 0:t.photo)&&w.jsx("img",{src:t==null?void 0:t.photo,style:{width:"20px",height:"20px"}})})},{name:aa.Fields.primaryAddress.countryCode,title:"Country code",width:40,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.countryCode})}},{name:aa.Fields.primaryAddress.addressLine1,title:"Address Line 1",width:180,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.addressLine1})}},{name:aa.Fields.primaryAddress.addressLine2,title:"Address Line 2",width:180,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.addressLine2})}},{name:aa.Fields.primaryAddress.city,title:"City",width:180,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.city})}},{name:aa.Fields.primaryAddress.postalCode,title:"Postal Code",width:80,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.postalCode})}}],SOe=()=>{const e=At();return am(e.fbMenu.users),w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:wOe(e),queryHook:KJ,uniqueIdHrefHandler:t=>aa.Navigation.single(t),deleteHook:yOe})})},EOe=()=>{const e=At(),t=xr();return sr(),w.jsx(w.Fragment,{children:w.jsx(Lo,{newEntityHandler:()=>{t.push(aa.Navigation.create())},pageTitle:e.fbMenu.users,children:w.jsx(SOe,{})})})};function TOe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(K8,{}),path:aa.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(vOe,{}),path:aa.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(K8,{}),path:aa.Navigation.Redit}),w.jsx(ht,{element:w.jsx(EOe,{}),path:aa.Navigation.Rquery})]})}class La extends wn{constructor(...t){super(...t),this.children=void 0,this.enableRecaptcha2=void 0,this.enableOtp=void 0,this.requireOtpOnSignup=void 0,this.requireOtpOnSignin=void 0,this.recaptcha2ServerKey=void 0,this.recaptcha2ClientKey=void 0,this.enableTotp=void 0,this.forceTotp=void 0,this.forcePasswordOnPhone=void 0,this.forcePersonNameOnPhone=void 0,this.generalEmailProvider=void 0,this.generalEmailProviderId=void 0,this.generalGsmProvider=void 0,this.generalGsmProviderId=void 0,this.inviteToWorkspaceContent=void 0,this.inviteToWorkspaceContentId=void 0,this.emailOtpContent=void 0,this.emailOtpContentId=void 0,this.smsOtpContent=void 0,this.smsOtpContentId=void 0}}La.Navigation={edit(e,t){return`${t?"/"+t:".."}/workspace-config/edit/${e}`},create(e){return`${e?"/"+e:".."}/workspace-config/new`},single(e,t){return`${t?"/"+t:".."}/workspace-config/${e}`},query(e={},t){return`${t?"/"+t:".."}/workspace-configs`},Redit:"workspace-config/edit/:uniqueId",Rcreate:"workspace-config/new",Rsingle:"workspace-config/:uniqueId",Rquery:"workspace-configs"};La.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspaceConfig",distinctBy:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"enableRecaptcha2",description:"Enables the recaptcha2 for authentication flow.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"enableOtp",recommended:!0,description:"Enables the otp option. It's not forcing it, so user can choose if they want otp or password.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignup",recommended:!0,description:"Forces the user to have otp verification before can create an account. They can define their password still.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignin",recommended:!0,description:"Forces the user to use otp when signing in. Even if they have password set, they won't use it and only will be able to signin using that otp.",type:"bool?",default:!1,computedType:"boolean",gormMap:{}},{name:"recaptcha2ServerKey",description:"Secret which would be used to decrypt if the recaptcha is correct. Should not be available publicly.",type:"string",computedType:"string",gormMap:{}},{name:"recaptcha2ClientKey",description:"Secret which would be used for recaptcha2 on the client side. Can be publicly visible, and upon authenticating users it would be sent to front-end.",type:"string",computedType:"string",gormMap:{}},{name:"enableTotp",recommended:!0,description:"Enables user to make 2FA using apps such as google authenticator or microsoft authenticator.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forceTotp",recommended:!0,description:"Forces the user to setup a 2FA in order to access their account. Users which did not setup this won't be affected.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePasswordOnPhone",description:"Forces users who want to create account using phone number to also set a password on their account",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePersonNameOnPhone",description:"Forces the creation of account using phone number to ask for user first name and last name",type:"bool?",computedType:"boolean",gormMap:{}},{name:"generalEmailProvider",description:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",type:"one",target:"EmailProviderEntity",computedType:"EmailProviderEntity",gormMap:{}},{name:"generalGsmProvider",description:"General service which would be used to send text messages (sms) using it's services or API.",type:"one",target:"GsmProviderEntity",computedType:"GsmProviderEntity",gormMap:{}},{name:"inviteToWorkspaceContent",description:"This template would be used, as default when a user is inviting a third-party into their own workspace.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"emailOtpContent",description:"Upon one time password request for email, the content will be read to fill the message which will go to user.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"smsOtpContent",description:"Upon OTP text messages, this template will be used to create such text message, including the one time password code.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}}],cliName:"config",description:"Contains configuration which would be necessary for application environment to be running. At the moment, a single record is allowed, and only for root workspace. But in theory it could be configured per each workspace independently. For sub projects do not touch this, rather create a custom config entity if workspaces in the product need extra config."};La.Fields={...wn.Fields,enableRecaptcha2:"enableRecaptcha2",enableOtp:"enableOtp",requireOtpOnSignup:"requireOtpOnSignup",requireOtpOnSignin:"requireOtpOnSignin",recaptcha2ServerKey:"recaptcha2ServerKey",recaptcha2ClientKey:"recaptcha2ClientKey",enableTotp:"enableTotp",forceTotp:"forceTotp",forcePasswordOnPhone:"forcePasswordOnPhone",forcePersonNameOnPhone:"forcePersonNameOnPhone",generalEmailProviderId:"generalEmailProviderId",generalEmailProvider$:"generalEmailProvider",generalEmailProvider:hi.Fields,generalGsmProviderId:"generalGsmProviderId",generalGsmProvider$:"generalGsmProvider",generalGsmProvider:ua.Fields,inviteToWorkspaceContentId:"inviteToWorkspaceContentId",inviteToWorkspaceContent$:"inviteToWorkspaceContent",inviteToWorkspaceContent:Br.Fields,emailOtpContentId:"emailOtpContentId",emailOtpContent$:"emailOtpContent",emailOtpContent:Br.Fields,smsOtpContentId:"smsOtpContentId",smsOtpContent$:"smsOtpContent",smsOtpContent:Br.Fields};function XJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var E;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/workspace-config/distinct".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=()=>l("GET",d),g=(E=i==null?void 0:i.headers)==null?void 0:E.authorization,y=g!="undefined"&&g!=null&&g!=null&&g!="null"&&!!g;let p=!0;return!y&&!a&&(p=!1),{query:jn([i,n,"*abac.WorkspaceConfigEntity"],f,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:p,...e||{}})}}function COe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace-config/distinct".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceConfigEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const kOe={workspaceConfigs:{archiveTitle:"Workspace configs",description:"Configurate how the workspaces work in terms of totp, forced otp, recaptcha and how the user can interact with the application.",editWorkspaceConfig:"Edit workspace config",emailOtpContentHint:"Upon one time password request for email, the content will be read to fill the message which will go to user.",emailOtpContentLabel:"Email Otp Content",enableOtp:"Enable otp",enableOtpHint:"Enables the one time password for the selfservice. It would allow email or phone numbers to bypass password and recieve a 6 digit code on their inbox or phone.",enableRecaptcha2:"Enable reCAPTCHA2",enableRecaptcha2Hint:"Enables reCAPTCHA2 from google integration into the project selfservice. You need to provide Server Key and Client Key to make it effective.",enableTotp:"Enable totp",enableTotpHint:"Enables time based otp for account creation and signin.",forcePasswordOnPhone:"Force password on phone",forcePasswordOnPhoneHint:"Force password on phone",forcePersonNameOnPhone:"Force person name on phone",forcePersonNameOnPhoneHint:"Force person name on phone",forceTotp:"Force totp",forceTotpHint:"Forces the totp for account creation. If an account doesn't have it, they need to setup before they can login.",generalEmailProviderHint:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",generalEmailProviderLabel:"General Email Provider",generalGsmProviderHint:"General service which would be used to send text messages (sms) using it's services or API.",generalGsmProviderLabel:"General Gsm Provider",inviteToWorkspaceContentHint:"This template would be used, as default when a user is inviting a third-party into their own workspace.",inviteToWorkspaceContentLabel:"Invite To Workspace Content",newWorkspaceConfig:"New workspace config",otpSectionDescription:"Manage the user authentication using single time password over sms/email",otpSectionTitle:"OTP (One time password)",passwordSectionDescription:"Configurate the usage of password by users",passwordSectionTitle:"Password management",recaptcha2ClientKey:"Client key",recaptcha2ClientKeyHint:"Client key for reCAPTCHA2",recaptcha2ServerKey:"Server key",recaptcha2ServerKeyHint:"Server key for reCAPTCHA2",recaptchaSectionDescription:"Configurate the recaptcha 2 related options for the application.",recaptchaSectionTitle:"Recaptcha section",requireOtpOnSignin:"Require otp on signin",requireOtpOnSigninHint:"Forces passports such as phone and email to approve signin with 6 digit code, even if the passport has a password. OAuth is exempted.",requireOtpOnSignup:"Require otp on signup",requireOtpOnSignupHint:"It would force account creation to first make a one time password verification and then continue the process.",smsOtpContentHint:"Upon OTP text messages, this template will be used to create such text message, including the one time password code.",smsOtpContentLabel:"SMS Otp Content",title:"Workspace Config",totpSectionDescription:"Usage of the authenticator app as a second security step for the password.",totpSectionTitle:"TOTP (Time based Dual Factor)"}},xOe={workspaceConfigs:{archiveTitle:"Workspace configs",description:"Configurate how the workspaces work in terms of totp, forced otp, recaptcha and how the user can interact with the application.",editWorkspaceConfig:"Edit workspace config",emailOtpContentHint:"Upon one time password request for email, the content will be read to fill the message which will go to user.",emailOtpContentLabel:"Email Otp Content",enableOtp:"Enable otp",enableOtpHint:"Enables the one time password for the selfservice. It would allow email or phone numbers to bypass password and recieve a 6 digit code on their inbox or phone.",enableRecaptcha2:"Enable reCAPTCHA2",enableRecaptcha2Hint:"Enables reCAPTCHA2 from google integration into the project selfservice. You need to provide Server Key and Client Key to make it effective.",enableTotp:"Enable totp",enableTotpHint:"Enables time based otp for account creation and signin.",forcePasswordOnPhone:"Force password on phone",forcePasswordOnPhoneHint:"Force password on phone",forcePersonNameOnPhone:"Force person name on phone",forcePersonNameOnPhoneHint:"Force person name on phone",forceTotp:"Force totp",forceTotpHint:"Forces the totp for account creation. If an account doesn't have it, they need to setup before they can login.",generalEmailProviderHint:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",generalEmailProviderLabel:"General Email Provider",generalGsmProviderHint:"General service which would be used to send text messages (sms) using it's services or API.",generalGsmProviderLabel:"General Gsm Provider",inviteToWorkspaceContentHint:"This template would be used, as default when a user is inviting a third-party into their own workspace.",inviteToWorkspaceContentLabel:"Invite To Workspace Content",newWorkspaceConfig:"New workspace config",otpSectionDescription:"Manage the user authentication using single time password over sms/email",otpSectionTitle:"OTP (One time password)",passwordSectionDescription:"Configurate the usage of password by users",passwordSectionTitle:"Password management",recaptcha2ClientKey:"Client key",recaptcha2ClientKeyHint:"Client key for reCAPTCHA2",recaptcha2ServerKey:"Server key",recaptcha2ServerKeyHint:"Server key for reCAPTCHA2",recaptchaSectionDescription:"Configurate the recaptcha 2 related options for the application.",recaptchaSectionTitle:"Recaptcha section",requireOtpOnSignin:"Require otp on signin",requireOtpOnSigninHint:"Forces passports such as phone and email to approve signin with 6 digit code, even if the passport has a password. OAuth is exempted.",requireOtpOnSignup:"Require otp on signup",requireOtpOnSignupHint:"It would force account creation to first make a one time password verification and then continue the process.",smsOtpContentHint:"Upon one time password request for email, the content will be read to fill the message which will go to user.",smsOtpContentLabel:"SMS Otp Content",title:"Workspace Config",totpSectionDescription:"Usage of the authenticator app as a second security step for the password.",totpSectionTitle:"TOTP (Time based Dual Factor)"}},aF={...kOe,$pl:xOe};function iF({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/gsm-providers".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.GsmProviderEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}iF.UKEY="*abac.GsmProviderEntity";const _Oe=({form:e,isEditing:t})=>{const{values:n,setValues:r,setFieldValue:a,errors:i}=e,o=Kt(aF);return w.jsxs(w.Fragment,{children:[w.jsxs(Mo,{title:o.workspaceConfigs.recaptchaSectionTitle,description:o.workspaceConfigs.recaptchaSectionDescription,children:[w.jsx(ml,{value:n.enableRecaptcha2,onChange:l=>a(La.Fields.enableRecaptcha2,l,!1),errorMessage:i.enableRecaptcha2,label:o.workspaceConfigs.enableRecaptcha2,hint:o.workspaceConfigs.enableRecaptcha2Hint}),w.jsx(In,{value:n.recaptcha2ServerKey,disabled:!n.enableRecaptcha2,onChange:l=>a(La.Fields.recaptcha2ServerKey,l,!1),errorMessage:i.recaptcha2ServerKey,label:o.workspaceConfigs.recaptcha2ServerKey,hint:o.workspaceConfigs.recaptcha2ServerKeyHint}),w.jsx(In,{value:n.recaptcha2ClientKey,disabled:!n.enableRecaptcha2,onChange:l=>a(La.Fields.recaptcha2ClientKey,l,!1),errorMessage:i.recaptcha2ClientKey,label:o.workspaceConfigs.recaptcha2ClientKey,hint:o.workspaceConfigs.recaptcha2ClientKeyHint})]}),w.jsxs(Mo,{title:o.workspaceConfigs.otpSectionTitle,description:o.workspaceConfigs.otpSectionDescription,children:[w.jsx(ml,{value:n.enableOtp,onChange:l=>a(La.Fields.enableOtp,l,!1),errorMessage:i.enableOtp,label:o.workspaceConfigs.enableOtp,hint:o.workspaceConfigs.enableOtpHint}),w.jsx(ml,{value:n.requireOtpOnSignup,onChange:l=>a(La.Fields.requireOtpOnSignup,l,!1),errorMessage:i.requireOtpOnSignup,label:o.workspaceConfigs.requireOtpOnSignup,hint:o.workspaceConfigs.requireOtpOnSignupHint}),w.jsx(ml,{value:n.requireOtpOnSignin,onChange:l=>a(La.Fields.requireOtpOnSignin,l,!1),errorMessage:i.requireOtpOnSignin,label:o.workspaceConfigs.requireOtpOnSignin,hint:o.workspaceConfigs.requireOtpOnSigninHint})]}),w.jsxs(Mo,{title:o.workspaceConfigs.totpSectionTitle,description:o.workspaceConfigs.totpSectionDescription,children:[w.jsx(ml,{value:n.enableTotp,onChange:l=>a(La.Fields.enableTotp,l,!1),errorMessage:i.enableTotp,label:o.workspaceConfigs.enableTotp,hint:o.workspaceConfigs.enableTotpHint}),w.jsx(ml,{value:n.forceTotp,onChange:l=>a(La.Fields.forceTotp,l,!1),errorMessage:i.forceTotp,label:o.workspaceConfigs.forceTotp,hint:o.workspaceConfigs.forceTotpHint})]}),w.jsxs(Mo,{title:o.workspaceConfigs.passwordSectionTitle,description:o.workspaceConfigs.passwordSectionDescription,children:[w.jsx(ml,{value:n.forcePasswordOnPhone,onChange:l=>a(La.Fields.forcePasswordOnPhone,l,!1),errorMessage:i.forcePasswordOnPhone,label:o.workspaceConfigs.forcePasswordOnPhone,hint:o.workspaceConfigs.forcePasswordOnPhoneHint}),w.jsx(ml,{value:n.forcePersonNameOnPhone,onChange:l=>a(La.Fields.forcePersonNameOnPhone,l,!1),errorMessage:i.forcePersonNameOnPhone,label:o.workspaceConfigs.forcePersonNameOnPhone,hint:o.workspaceConfigs.forcePersonNameOnPhoneHint})]}),w.jsxs(Mo,{title:o.workspaceConfigs.passwordSectionTitle,description:o.workspaceConfigs.passwordSectionDescription,children:[w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.generalEmailProviderId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.type} (${l.uniqueId})`,querySource:eF,errorMessage:i.generalEmailProviderId,label:o.workspaceConfigs.generalEmailProviderLabel,hint:o.workspaceConfigs.generalEmailProviderHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.generalGsmProviderId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.type} (${l.uniqueId})`,querySource:iF,errorMessage:i.generalGsmProviderId,label:o.workspaceConfigs.generalGsmProviderLabel,hint:o.workspaceConfigs.generalGsmProviderHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.inviteToWorkspaceContentId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.title})`,querySource:B1,errorMessage:i.inviteToWorkspaceContentId,label:o.workspaceConfigs.inviteToWorkspaceContentLabel,hint:o.workspaceConfigs.inviteToWorkspaceContentHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.emailOtpContentId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.title})`,querySource:B1,errorMessage:i.emailOtpContentId,label:o.workspaceConfigs.emailOtpContentLabel,hint:o.workspaceConfigs.emailOtpContentHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.smsOtpContentId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.title})`,querySource:B1,errorMessage:i.smsOtpContentId,label:o.workspaceConfigs.smsOtpContentLabel,hint:o.workspaceConfigs.smsOtpContentHint})]})]})},OOe=({data:e})=>{const t=Kt(aF),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=XJ({query:{uniqueId:r}}),l=COe({queryClient:a});return w.jsx(jo,{patchHook:l,getSingleHook:o,disableOnGetFailed:!0,forceEdit:!0,onCancel:()=>{n.goBackOrDefault(La.Navigation.single(void 0,i))},onFinishUriResolver:(u,d)=>{var f;return La.Navigation.single((f=u.data)==null?void 0:f.uniqueId,d)},customClass:"w-100",Form:_Oe,onEditTitle:t.workspaceConfigs.editWorkspaceConfig,onCreateTitle:t.workspaceConfigs.newWorkspaceConfig,data:e})},ROe=()=>{var r;const e=XJ({});var t=(r=e.query.data)==null?void 0:r.data;const n=Kt(aF);return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:a,router:i})=>{i.push(La.Navigation.edit(""))},noBack:!0,disableOnGetFailed:!0,getSingleHook:e,children:w.jsx(ao,{title:n.workspaceConfigs.title,description:n.workspaceConfigs.description,entity:t,fields:[{elem:t==null?void 0:t.recaptcha2ServerKey,label:n.workspaceConfigs.recaptcha2ServerKey},{elem:t==null?void 0:t.recaptcha2ClientKey,label:n.workspaceConfigs.recaptcha2ClientKey},{elem:t==null?void 0:t.enableOtp,label:n.workspaceConfigs.enableOtp},{elem:t==null?void 0:t.enableRecaptcha2,label:n.workspaceConfigs.enableRecaptcha2},{elem:t==null?void 0:t.requireOtpOnSignin,label:n.workspaceConfigs.requireOtpOnSignin},{elem:t==null?void 0:t.requireOtpOnSignup,label:n.workspaceConfigs.requireOtpOnSignup},{elem:t==null?void 0:t.enableTotp,label:n.workspaceConfigs.enableTotp},{elem:t==null?void 0:t.forceTotp,label:n.workspaceConfigs.forceTotp},{elem:t==null?void 0:t.forcePasswordOnPhone,label:n.workspaceConfigs.forcePasswordOnPhone},{elem:t==null?void 0:t.forcePersonNameOnPhone,label:n.workspaceConfigs.forcePersonNameOnPhone},{elem:t==null?void 0:t.generalEmailProviderId,label:n.workspaceConfigs.generalEmailProviderLabel},{elem:t==null?void 0:t.generalGsmProviderId,label:n.workspaceConfigs.generalGsmProviderLabel},{elem:t==null?void 0:t.inviteToWorkspaceContentId,label:n.workspaceConfigs.inviteToWorkspaceContentLabel},{elem:t==null?void 0:t.emailOtpContentId,label:n.workspaceConfigs.emailOtpContentLabel},{elem:t==null?void 0:t.smsOtpContentId,label:n.workspaceConfigs.smsOtpContentLabel}]})})})};function POe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(ROe,{}),path:"workspace-config"}),w.jsx(ht,{element:w.jsx(OOe,{}),path:"workspace-config/edit"})]})}function Hd({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/roles".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.RoleEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Hd.UKEY="*abac.RoleEntity";const AOe=({form:e,isEditing:t})=>{const{values:n,setValues:r}=e,{options:a}=R.useContext(Je),i=At();return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:n.uniqueId,onChange:o=>e.setFieldValue(Xi.Fields.uniqueId,o,!1),errorMessage:e.errors.uniqueId,label:i.wokspaces.workspaceTypeUniqueId,autoFocus:!t,hint:i.wokspaces.workspaceTypeUniqueIdHint}),w.jsx(In,{value:n.title,onChange:o=>e.setFieldValue(Xi.Fields.title,o,!1),errorMessage:e.errors.title,label:i.wokspaces.workspaceTypeTitle,autoFocus:!t,hint:i.wokspaces.workspaceTypeTitleHint}),w.jsx(In,{value:n.slug,onChange:o=>e.setFieldValue(Xi.Fields.slug,o,!1),errorMessage:e.errors.slug,label:i.wokspaces.workspaceTypeSlug,hint:i.wokspaces.workspaceTypeSlugHint}),w.jsx(ca,{label:i.wokspaces.invite.role,hint:i.wokspaces.invite.roleHint,fnLabelFormat:o=>o.name,querySource:Hd,formEffect:{form:e,field:Xi.Fields.role$},errorMessage:e.errors.roleId}),w.jsx(rF,{value:n.description,onChange:o=>e.setFieldValue(Xi.Fields.description,o,!1),errorMessage:e.errors.description,label:i.wokspaces.typeDescription,hint:i.wokspaces.typeDescriptionHint})]})};function QJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/workspace-type/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.WorkspaceTypeEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function NOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace-type".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.WorkspaceTypeEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function MOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace-type".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceTypeEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const X8=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a,t:i}=Dr({data:e}),o=QJ({query:{uniqueId:n}}),l=NOe({queryClient:r}),u=MOe({queryClient:r});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(`/${a}/workspace-types`)},onFinishUriResolver:(d,f)=>{var g;return`/${f}/workspace-type/${(g=d.data)==null?void 0:g.uniqueId}`},Form:AOe,onEditTitle:i.fb.editWorkspaceType,onCreateTitle:i.fb.newWorkspaceType,data:e})};function IOe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/workspace-type".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.WorkspaceTypeEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.WorkspaceTypeEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function ZJ({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/workspace-types".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.WorkspaceTypeEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}ZJ.UKEY="*abac.WorkspaceTypeEntity";const DOe=e=>[{name:"uniqueId",title:e.table.uniqueId,width:200},{name:"title",title:e.wokspaces.title,width:200,getCellValue:t=>t.title},{name:"slug",slug:e.wokspaces.slug,width:200,getCellValue:t=>t.slug}],$Oe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:DOe(e),queryHook:ZJ,uniqueIdHrefHandler:t=>Xi.Navigation.single(t),deleteHook:IOe})})},LOe=()=>{const e=At(),t=xr();return sr(),w.jsx(w.Fragment,{children:w.jsx(Lo,{newEntityHandler:()=>{t.push(Xi.Navigation.create())},pageTitle:e.fbMenu.workspaceTypes,children:w.jsx($Oe,{})})})},FOe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=QJ({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return am((a==null?void 0:a.title)||""),w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:()=>{e.push(Xi.Navigation.edit(n))},getSingleHook:r,children:w.jsx(ao,{entity:a,fields:[{label:t.wokspaces.slug,elem:a==null?void 0:a.slug}]})})})};function jOe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(X8,{}),path:Xi.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(X8,{}),path:Xi.Navigation.Redit}),w.jsx(ht,{element:w.jsx(FOe,{}),path:Xi.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(LOe,{}),path:Xi.Navigation.Rquery})]})}function UOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.WorkspaceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function JJ({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/workspace/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.WorkspaceEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function BOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const WOe=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a}=e,i=At();return w.jsx(w.Fragment,{children:w.jsx(In,{value:n.name,autoFocus:!t,onChange:o=>r(vi.Fields.name,o,!1),errorMessage:a.name,label:i.wokspaces.workspaceName,hint:i.wokspaces.workspaceNameHint})})},Q8=({data:e})=>{const t=At(),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=JJ({query:{uniqueId:r}}),l=UOe({queryClient:a}),u=BOe({queryClient:a});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{n.goBackOrDefault(vi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return vi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:WOe,onEditTitle:t.wokspaces.editWorkspae,onCreateTitle:t.wokspaces.createNewWorkspace,data:e})},zOe=({row:e,uniqueIdHrefHandler:t,columns:n})=>{const r=At();return w.jsx(w.Fragment,{children:(e.children||[]).map(a=>w.jsxs("tr",{children:[w.jsx("td",{}),w.jsx("td",{}),n(r).map(i=>{let o=a.getCellValue?a.getCellValue(e):a[i.name];return i.name==="uniqueId"?w.jsx("td",{children:w.jsx(El,{href:t&&t(o),children:o})}):w.jsx("td",{children:o})})]}))})};function eee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/cte-workspaces".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.WorkspaceEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}eee.UKEY="*abac.WorkspaceEntity";const Z8=e=>[{name:vi.Fields.uniqueId,title:e.table.uniqueId,width:100},{name:vi.Fields.name,title:e.wokspaces.name,width:200}],qOe=()=>{const e=At(),t=n=>vi.Navigation.single(n);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:Z8(e),queryHook:eee,onRecordsDeleted:({queryClient:n})=>{n.invalidateQueries("*fireback.UserRoleWorkspace"),n.invalidateQueries("*fireback.WorkspaceEntity")},RowDetail:n=>w.jsx(zOe,{...n,columns:Z8,uniqueIdHref:!0,Handler:t}),uniqueIdHrefHandler:t})})},HOe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Lo,{pageTitle:e.fbMenu.workspaces,newEntityHandler:({locale:t,router:n})=>{n.push(vi.Navigation.create())},children:w.jsx(qOe,{})})})},VOe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=JJ({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return am((a==null?void 0:a.name)||""),w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:()=>{e.push(vi.Navigation.edit(n))},getSingleHook:r,children:w.jsx(ao,{entity:a,fields:[{label:t.wokspaces.name,elem:a==null?void 0:a.name}]})})})};function GOe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(Q8,{}),path:vi.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(Q8,{}),path:vi.Navigation.Redit}),w.jsx(ht,{element:w.jsx(VOe,{}),path:vi.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(HOe,{}),path:vi.Navigation.Rquery})]})}const YOe={gsmProviders:{apiKey:"Api key",apiKeyHint:"Api key",archiveTitle:"Gsm providers",editGsmProvider:"Edit gsm provider",invokeBody:"Invoke body",invokeBodyHint:"Invoke body",invokeUrl:"Invoke url",invokeUrlHint:"Invoke url",mainSenderNumber:"Main sender number",mainSenderNumberHint:"Main sender number",newGsmProvider:"New gsm provider",type:"Type",typeHint:"Type"}},KOe={gsmProviders:{apiKey:"Api key",apiKeyHint:"Api key",archiveTitle:"Gsm providers",editGsmProvider:"Edit gsm provider",invokeBody:"Invoke body",invokeBodyHint:"Invoke body",invokeUrl:"Invoke url",invokeUrlHint:"Invoke url",mainSenderNumber:"Main sender number",mainSenderNumberHint:"Main sender number",newGsmProvider:"New gsm provider",type:"Type",typeHint:"Type"}},JS={...YOe,$pl:KOe},XOe=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:ua.Fields.apiKey,title:e.gsmProviders.apiKey,width:100},{name:ua.Fields.mainSenderNumber,title:e.gsmProviders.mainSenderNumber,width:100},{name:ua.Fields.type,title:e.gsmProviders.type,width:100},{name:ua.Fields.invokeUrl,title:e.gsmProviders.invokeUrl,width:100},{name:ua.Fields.invokeBody,title:e.gsmProviders.invokeBody,width:100}];function QOe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/gsm-provider".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.GsmProviderEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.GsmProviderEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const ZOe=()=>{const e=Kt(JS);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:XOe(e),queryHook:iF,uniqueIdHrefHandler:t=>ua.Navigation.single(t),deleteHook:QOe})})},JOe=()=>{const e=Kt(JS);return w.jsx(Lo,{pageTitle:e.gsmProviders.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(ua.Navigation.create())},children:w.jsx(ZOe,{})})},eRe=({form:e,isEditing:t})=>{const{options:n}=R.useContext(Je),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=js([{uniqueId:"terminal",title:"Terminal"},{uniqueId:"url",title:"Url"}]),u=Kt(JS);return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.apiKey,onChange:d=>i(ua.Fields.apiKey,d,!1),errorMessage:o.apiKey,label:u.gsmProviders.apiKey,hint:u.gsmProviders.apiKeyHint}),w.jsx(In,{value:r.mainSenderNumber,onChange:d=>i(ua.Fields.mainSenderNumber,d,!1),errorMessage:o.mainSenderNumber,label:u.gsmProviders.mainSenderNumber,hint:u.gsmProviders.mainSenderNumberHint}),w.jsx(ca,{querySource:l,value:r.type,fnLabelFormat:d=>d.title,keyExtractor:d=>d.uniqueId,onChange:d=>i(ua.Fields.type,d.uniqueId,!1),errorMessage:o.type,label:u.gsmProviders.type,hint:u.gsmProviders.typeHint}),w.jsx(In,{value:r.invokeUrl,onChange:d=>i(ua.Fields.invokeUrl,d,!1),errorMessage:o.invokeUrl,label:u.gsmProviders.invokeUrl,hint:u.gsmProviders.invokeUrlHint}),w.jsx(In,{value:r.invokeBody,onChange:d=>i(ua.Fields.invokeBody,d,!1),errorMessage:o.invokeBody,label:u.gsmProviders.invokeBody,hint:u.gsmProviders.invokeBodyHint})]})};function tee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/gsm-provider/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.GsmProviderEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function tRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/gsm-provider".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.GsmProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function nRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/gsm-provider".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.GsmProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const J8=({data:e})=>{const t=Kt(JS),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=tee({query:{uniqueId:r}}),l=tRe({queryClient:a}),u=nRe({queryClient:a});return w.jsx(jo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(ua.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return ua.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:eRe,onEditTitle:t.gsmProviders.editGsmProvider,onCreateTitle:t.gsmProviders.newGsmProvider,data:e})},rRe=()=>{var a;const{uniqueId:e}=Dr({}),t=tee({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(JS);return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:({locale:i,router:o})=>{o.push(ua.Navigation.edit(e))},getSingleHook:t,children:w.jsx(ao,{entity:n,fields:[{elem:n==null?void 0:n.apiKey,label:r.gsmProviders.apiKey},{elem:n==null?void 0:n.mainSenderNumber,label:r.gsmProviders.mainSenderNumber},{elem:n==null?void 0:n.invokeUrl,label:r.gsmProviders.invokeUrl},{elem:n==null?void 0:n.invokeBody,label:r.gsmProviders.invokeBody}]})})})};function aRe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(J8,{}),path:ua.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(rRe,{}),path:ua.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(J8,{}),path:ua.Navigation.Redit}),w.jsx(ht,{element:w.jsx(JOe,{}),path:ua.Navigation.Rquery})]})}function iRe(){const e=bxe(),t=_xe(),n=Bxe(),r=aRe(),a=Xxe(),i=s_e(),o=TOe(),l=POe(),u=jOe(),d=GOe(),f=cOe(),g=F_e();return w.jsxs(ht,{path:"manage",children:[e,t,g,n,a,i,o,r,l,u,d,f]})}const oRe=()=>w.jsxs("div",{children:[w.jsx("h1",{className:"mt-4",children:"Dashboard"}),w.jsx("p",{children:"Welcome to the dashboard. You can see what's going on here."})]}),oF=R.createContext({});function sF(e){const t=R.useRef(null);return t.current===null&&(t.current=e()),t.current}const lF=typeof window<"u",nee=lF?R.useLayoutEffect:R.useEffect,Bx=R.createContext(null);function uF(e,t){e.indexOf(t)===-1&&e.push(t)}function cF(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Nd=(e,t,n)=>n>t?t:n{};const Md={},ree=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function aee(e){return typeof e=="object"&&e!==null}const iee=e=>/^0[^.\s]+$/u.test(e);function fF(e){let t;return()=>(t===void 0&&(t=e()),t)}const Cl=e=>e,sRe=(e,t)=>n=>t(e(n)),eE=(...e)=>e.reduce(sRe),yS=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class pF{constructor(){this.subscriptions=[]}add(t){return uF(this.subscriptions,t),()=>cF(this.subscriptions,t)}notify(t,n,r){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,r);else for(let i=0;ie*1e3,hc=e=>e/1e3;function oee(e,t){return t?e*(1e3/t):0}const see=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lRe=1e-7,uRe=12;function cRe(e,t,n,r,a){let i,o,l=0;do o=t+(n-t)/2,i=see(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>lRe&&++lcRe(i,0,1,e,n);return i=>i===0||i===1?i:see(a(i),t,r)}const lee=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,uee=e=>t=>1-e(1-t),cee=tE(.33,1.53,.69,.99),mF=uee(cee),dee=lee(mF),fee=e=>(e*=2)<1?.5*mF(e):.5*(2-Math.pow(2,-10*(e-1))),hF=e=>1-Math.sin(Math.acos(e)),pee=uee(hF),mee=lee(hF),dRe=tE(.42,0,1,1),fRe=tE(0,0,.58,1),hee=tE(.42,0,.58,1),pRe=e=>Array.isArray(e)&&typeof e[0]!="number",gee=e=>Array.isArray(e)&&typeof e[0]=="number",mRe={linear:Cl,easeIn:dRe,easeInOut:hee,easeOut:fRe,circIn:hF,circInOut:mee,circOut:pee,backIn:mF,backInOut:dee,backOut:cee,anticipate:fee},hRe=e=>typeof e=="string",e5=e=>{if(gee(e)){dF(e.length===4);const[t,n,r,a]=e;return tE(t,n,r,a)}else if(hRe(e))return mRe[e];return e},wC=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],t5={value:null};function gRe(e,t){let n=new Set,r=new Set,a=!1,i=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},u=0;function d(g){o.has(g)&&(f.schedule(g),e()),u++,g(l)}const f={schedule:(g,y=!1,p=!1)=>{const E=p&&a?n:r;return y&&o.add(g),E.has(g)||E.add(g),g},cancel:g=>{r.delete(g),o.delete(g)},process:g=>{if(l=g,a){i=!0;return}a=!0,[n,r]=[r,n],n.forEach(d),t&&t5.value&&t5.value.frameloop[t].push(u),u=0,n.clear(),a=!1,i&&(i=!1,f.process(g))}};return f}const vRe=40;function vee(e,t){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=wC.reduce((_,A)=>(_[A]=gRe(i,t?A:void 0),_),{}),{setup:l,read:u,resolveKeyframes:d,preUpdate:f,update:g,preRender:y,render:p,postRender:v}=o,E=()=>{const _=Md.useManualTiming?a.timestamp:performance.now();n=!1,Md.useManualTiming||(a.delta=r?1e3/60:Math.max(Math.min(_-a.timestamp,vRe),1)),a.timestamp=_,a.isProcessing=!0,l.process(a),u.process(a),d.process(a),f.process(a),g.process(a),y.process(a),p.process(a),v.process(a),a.isProcessing=!1,n&&t&&(r=!1,e(E))},T=()=>{n=!0,r=!0,a.isProcessing||e(E)};return{schedule:wC.reduce((_,A)=>{const P=o[A];return _[A]=(N,I=!1,L=!1)=>(n||T(),P.schedule(N,I,L)),_},{}),cancel:_=>{for(let A=0;A(JC===void 0&&as.set(Li.isProcessing||Md.useManualTiming?Li.timestamp:performance.now()),JC),set:e=>{JC=e,queueMicrotask(yRe)}},yee=e=>t=>typeof t=="string"&&t.startsWith(e),gF=yee("--"),bRe=yee("var(--"),vF=e=>bRe(e)?wRe.test(e.split("/*")[0].trim()):!1,wRe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,zb={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},bS={...zb,transform:e=>Nd(0,1,e)},SC={...zb,default:1},W1=e=>Math.round(e*1e5)/1e5,yF=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function SRe(e){return e==null}const ERe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,bF=(e,t)=>n=>!!(typeof n=="string"&&ERe.test(n)&&n.startsWith(e)||t&&!SRe(n)&&Object.prototype.hasOwnProperty.call(n,t)),bee=(e,t,n)=>r=>{if(typeof r!="string")return r;const[a,i,o,l]=r.match(yF);return{[e]:parseFloat(a),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},TRe=e=>Nd(0,255,e),vP={...zb,transform:e=>Math.round(TRe(e))},Ig={test:bF("rgb","red"),parse:bee("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+vP.transform(e)+", "+vP.transform(t)+", "+vP.transform(n)+", "+W1(bS.transform(r))+")"};function CRe(e){let t="",n="",r="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const rL={test:bF("#"),parse:CRe,transform:Ig.transform},nE=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mp=nE("deg"),gc=nE("%"),hn=nE("px"),kRe=nE("vh"),xRe=nE("vw"),n5={...gc,parse:e=>gc.parse(e)/100,transform:e=>gc.transform(e*100)},Jy={test:bF("hsl","hue"),parse:bee("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+gc.transform(W1(t))+", "+gc.transform(W1(n))+", "+W1(bS.transform(r))+")"},Va={test:e=>Ig.test(e)||rL.test(e)||Jy.test(e),parse:e=>Ig.test(e)?Ig.parse(e):Jy.test(e)?Jy.parse(e):rL.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ig.transform(e):Jy.transform(e),getAnimatableNone:e=>{const t=Va.parse(e);return t.alpha=0,Va.transform(t)}},_Re=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ORe(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(yF))==null?void 0:t.length)||0)+(((n=e.match(_Re))==null?void 0:n.length)||0)>0}const wee="number",See="color",RRe="var",PRe="var(",r5="${}",ARe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wS(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},a=[];let i=0;const l=t.replace(ARe,u=>(Va.test(u)?(r.color.push(i),a.push(See),n.push(Va.parse(u))):u.startsWith(PRe)?(r.var.push(i),a.push(RRe),n.push(u)):(r.number.push(i),a.push(wee),n.push(parseFloat(u))),++i,r5)).split(r5);return{values:n,split:l,indexes:r,types:a}}function Eee(e){return wS(e).values}function Tee(e){const{split:t,types:n}=wS(e),r=t.length;return a=>{let i="";for(let o=0;otypeof e=="number"?0:Va.test(e)?Va.getAnimatableNone(e):e;function MRe(e){const t=Eee(e);return Tee(e)(t.map(NRe))}const Kp={test:ORe,parse:Eee,createTransformer:Tee,getAnimatableNone:MRe};function yP(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function IRe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,i=0,o=0;if(!t)a=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,u=2*n-l;a=yP(u,l,e+1/3),i=yP(u,l,e),o=yP(u,l,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function qk(e,t){return n=>n>0?t:e}const da=(e,t,n)=>e+(t-e)*n,bP=(e,t,n)=>{const r=e*e,a=n*(t*t-r)+r;return a<0?0:Math.sqrt(a)},DRe=[rL,Ig,Jy],$Re=e=>DRe.find(t=>t.test(e));function a5(e){const t=$Re(e);if(!t)return!1;let n=t.parse(e);return t===Jy&&(n=IRe(n)),n}const i5=(e,t)=>{const n=a5(e),r=a5(t);if(!n||!r)return qk(e,t);const a={...n};return i=>(a.red=bP(n.red,r.red,i),a.green=bP(n.green,r.green,i),a.blue=bP(n.blue,r.blue,i),a.alpha=da(n.alpha,r.alpha,i),Ig.transform(a))},aL=new Set(["none","hidden"]);function LRe(e,t){return aL.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function FRe(e,t){return n=>da(e,t,n)}function wF(e){return typeof e=="number"?FRe:typeof e=="string"?vF(e)?qk:Va.test(e)?i5:BRe:Array.isArray(e)?Cee:typeof e=="object"?Va.test(e)?i5:jRe:qk}function Cee(e,t){const n=[...e],r=n.length,a=e.map((i,o)=>wF(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in r)n[i]=r[i](a);return n}}function URe(e,t){const n=[],r={color:0,var:0,number:0};for(let a=0;a{const n=Kp.createTransformer(t),r=wS(e),a=wS(t);return r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length?aL.has(e)&&!a.values.length||aL.has(t)&&!r.values.length?LRe(e,t):eE(Cee(URe(r,a),a.values),n):qk(e,t)};function kee(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?da(e,t,n):wF(e)(e,t)}const WRe=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>pa.update(t,n),stop:()=>Yp(t),now:()=>Li.isProcessing?Li.timestamp:as.now()}},xee=(e,t,n=10)=>{let r="";const a=Math.max(Math.round(t/n),2);for(let i=0;i=Hk?1/0:t}function zRe(e,t=100,n){const r=n({...e,keyframes:[0,t]}),a=Math.min(SF(r),Hk);return{type:"keyframes",ease:i=>r.next(a*i).value/t,duration:hc(a)}}const qRe=5;function _ee(e,t,n){const r=Math.max(t-qRe,0);return oee(n-e(r),t-r)}const wa={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},wP=.001;function HRe({duration:e=wa.duration,bounce:t=wa.bounce,velocity:n=wa.velocity,mass:r=wa.mass}){let a,i,o=1-t;o=Nd(wa.minDamping,wa.maxDamping,o),e=Nd(wa.minDuration,wa.maxDuration,hc(e)),o<1?(a=d=>{const f=d*o,g=f*e,y=f-n,p=iL(d,o),v=Math.exp(-g);return wP-y/p*v},i=d=>{const g=d*o*e,y=g*n+n,p=Math.pow(o,2)*Math.pow(d,2)*e,v=Math.exp(-g),E=iL(Math.pow(d,2),o);return(-a(d)+wP>0?-1:1)*((y-p)*v)/E}):(a=d=>{const f=Math.exp(-d*e),g=(d-n)*e+1;return-wP+f*g},i=d=>{const f=Math.exp(-d*e),g=(n-d)*(e*e);return f*g});const l=5/e,u=GRe(a,i,l);if(e=mc(e),isNaN(u))return{stiffness:wa.stiffness,damping:wa.damping,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:o*2*Math.sqrt(r*d),duration:e}}}const VRe=12;function GRe(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function XRe(e){let t={velocity:wa.velocity,stiffness:wa.stiffness,damping:wa.damping,mass:wa.mass,isResolvedFromDuration:!1,...e};if(!o5(e,KRe)&&o5(e,YRe))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),a=r*r,i=2*Nd(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:wa.mass,stiffness:a,damping:i}}else{const n=HRe(e);t={...t,...n,mass:wa.mass},t.isResolvedFromDuration=!0}return t}function Vk(e=wa.visualDuration,t=wa.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:a}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:u,damping:d,mass:f,duration:g,velocity:y,isResolvedFromDuration:p}=XRe({...n,velocity:-hc(n.velocity||0)}),v=y||0,E=d/(2*Math.sqrt(u*f)),T=o-i,C=hc(Math.sqrt(u/f)),k=Math.abs(T)<5;r||(r=k?wa.restSpeed.granular:wa.restSpeed.default),a||(a=k?wa.restDelta.granular:wa.restDelta.default);let _;if(E<1){const P=iL(C,E);_=N=>{const I=Math.exp(-E*C*N);return o-I*((v+E*C*T)/P*Math.sin(P*N)+T*Math.cos(P*N))}}else if(E===1)_=P=>o-Math.exp(-C*P)*(T+(v+C*T)*P);else{const P=C*Math.sqrt(E*E-1);_=N=>{const I=Math.exp(-E*C*N),L=Math.min(P*N,300);return o-I*((v+E*C*T)*Math.sinh(L)+P*T*Math.cosh(L))/P}}const A={calculatedDuration:p&&g||null,next:P=>{const N=_(P);if(p)l.done=P>=g;else{let I=P===0?v:0;E<1&&(I=P===0?mc(v):_ee(_,P,N));const L=Math.abs(I)<=r,j=Math.abs(o-N)<=a;l.done=L&&j}return l.value=l.done?o:N,l},toString:()=>{const P=Math.min(SF(A),Hk),N=xee(I=>A.next(P*I).value,P,30);return P+"ms "+N},toTransition:()=>{}};return A}Vk.applyToOptions=e=>{const t=zRe(e,100,Vk);return e.ease=t.ease,e.duration=mc(t.duration),e.type="keyframes",e};function oL({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:o,min:l,max:u,restDelta:d=.5,restSpeed:f}){const g=e[0],y={done:!1,value:g},p=L=>l!==void 0&&Lu,v=L=>l===void 0?u:u===void 0||Math.abs(l-L)-E*Math.exp(-L/r),_=L=>C+k(L),A=L=>{const j=k(L),z=_(L);y.done=Math.abs(j)<=d,y.value=y.done?C:z};let P,N;const I=L=>{p(y.value)&&(P=L,N=Vk({keyframes:[y.value,v(y.value)],velocity:_ee(_,L,y.value),damping:a,stiffness:i,restDelta:d,restSpeed:f}))};return I(0),{calculatedDuration:null,next:L=>{let j=!1;return!N&&P===void 0&&(j=!0,A(L),I(L)),P!==void 0&&L>=P?N.next(L-P):(!j&&A(L),y)}}}function QRe(e,t,n){const r=[],a=n||Md.mix||kee,i=e.length-1;for(let o=0;ot[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=QRe(t,r,a),u=l.length,d=f=>{if(o&&f1)for(;gd(Nd(e[0],e[i-1],f)):d}function JRe(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=yS(0,t,r);e.push(da(n,1,a))}}function ePe(e){const t=[0];return JRe(t,e.length-1),t}function tPe(e,t){return e.map(n=>n*t)}function nPe(e,t){return e.map(()=>t||hee).splice(0,e.length-1)}function z1({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const a=pRe(r)?r.map(e5):e5(r),i={done:!1,value:t[0]},o=tPe(n&&n.length===t.length?n:ePe(t),e),l=ZRe(o,t,{ease:Array.isArray(a)?a:nPe(t,a)});return{calculatedDuration:e,next:u=>(i.value=l(u),i.done=u>=e,i)}}const rPe=e=>e!==null;function EF(e,{repeat:t,repeatType:n="loop"},r,a=1){const i=e.filter(rPe),l=a<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const aPe={decay:oL,inertia:oL,tween:z1,keyframes:z1,spring:Vk};function Oee(e){typeof e.type=="string"&&(e.type=aPe[e.type])}class TF{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const iPe=e=>e/100;class CF extends TF{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,a;const{motionValue:n}=this.options;n&&n.updatedAt!==as.now()&&this.tick(as.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(a=(r=this.options).onStop)==null||a.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Oee(t);const{type:n=z1,repeat:r=0,repeatDelay:a=0,repeatType:i,velocity:o=0}=t;let{keyframes:l}=t;const u=n||z1;u!==z1&&typeof l[0]!="number"&&(this.mixKeyframes=eE(iPe,kee(l[0],l[1])),l=[0,100]);const d=u({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-o})),d.calculatedDuration===null&&(d.calculatedDuration=SF(d));const{calculatedDuration:f}=d;this.calculatedDuration=f,this.resolvedDuration=f+a,this.totalDuration=this.resolvedDuration*(r+1)-a,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:a,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:f,repeat:g,repeatType:y,repeatDelay:p,type:v,onUpdate:E,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-a/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const C=this.currentTime-d*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?C<0:C>a;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let _=this.currentTime,A=r;if(g){const L=Math.min(this.currentTime,a)/l;let j=Math.floor(L),z=L%1;!z&&L>=1&&(z=1),z===1&&j--,j=Math.min(j,g+1),!!(j%2)&&(y==="reverse"?(z=1-z,p&&(z-=p/l)):y==="mirror"&&(A=o)),_=Nd(0,1,z)*l}const P=k?{done:!1,value:f[0]}:A.next(_);i&&(P.value=i(P.value));let{done:N}=P;!k&&u!==null&&(N=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return I&&v!==oL&&(P.value=EF(f,this.options,T,this.speed)),E&&E(P.value),I&&this.finish(),P}then(t,n){return this.finished.then(t,n)}get duration(){return hc(this.calculatedDuration)}get time(){return hc(this.currentTime)}set time(t){var n;t=mc(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(as.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=hc(this.currentTime))}play(){var a,i;if(this.isStopped)return;const{driver:t=WRe,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(a=this.options).onPlay)==null||i.call(a);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(as.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function oPe(e){for(let t=1;te*180/Math.PI,sL=e=>{const t=Dg(Math.atan2(e[1],e[0]));return lL(t)},sPe={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:sL,rotateZ:sL,skewX:e=>Dg(Math.atan(e[1])),skewY:e=>Dg(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},lL=e=>(e=e%360,e<0&&(e+=360),e),s5=sL,l5=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),u5=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),lPe={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:l5,scaleY:u5,scale:e=>(l5(e)+u5(e))/2,rotateX:e=>lL(Dg(Math.atan2(e[6],e[5]))),rotateY:e=>lL(Dg(Math.atan2(-e[2],e[0]))),rotateZ:s5,rotate:s5,skewX:e=>Dg(Math.atan(e[4])),skewY:e=>Dg(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function uL(e){return e.includes("scale")?1:0}function cL(e,t){if(!e||e==="none")return uL(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,a;if(n)r=lPe,a=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sPe,a=l}if(!a)return uL(t);const i=r[t],o=a[1].split(",").map(cPe);return typeof i=="function"?i(o):o[i]}const uPe=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return cL(n,t)};function cPe(e){return parseFloat(e.trim())}const qb=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Hb=new Set(qb),c5=e=>e===zb||e===hn,dPe=new Set(["x","y","z"]),fPe=qb.filter(e=>!dPe.has(e));function pPe(e){const t=[];return fPe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Gg={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>cL(t,"x"),y:(e,{transform:t})=>cL(t,"y")};Gg.translateX=Gg.x;Gg.translateY=Gg.y;const Yg=new Set;let dL=!1,fL=!1,pL=!1;function Ree(){if(fL){const e=Array.from(Yg).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const a=pPe(r);a.length&&(n.set(r,a),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const a=n.get(r);a&&a.forEach(([i,o])=>{var l;(l=r.getValue(i))==null||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}fL=!1,dL=!1,Yg.forEach(e=>e.complete(pL)),Yg.clear()}function Pee(){Yg.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fL=!0)})}function mPe(){pL=!0,Pee(),Ree(),pL=!1}class kF{constructor(t,n,r,a,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=a,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Yg.add(this),dL||(dL=!0,pa.read(Pee),pa.resolveKeyframes(Ree))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:a}=this;if(t[0]===null){const i=a==null?void 0:a.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,o);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=o),a&&i===void 0&&a.set(t[0])}oPe(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Yg.delete(this)}cancel(){this.state==="scheduled"&&(Yg.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const hPe=e=>e.startsWith("--");function gPe(e,t,n){hPe(t)?e.style.setProperty(t,n):e.style[t]=n}const vPe=fF(()=>window.ScrollTimeline!==void 0),yPe={};function bPe(e,t){const n=fF(e);return()=>yPe[t]??n()}const Aee=bPe(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),A1=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,d5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:A1([0,.65,.55,1]),circOut:A1([.55,0,1,.45]),backIn:A1([.31,.01,.66,-.59]),backOut:A1([.33,1.53,.69,.99])};function Nee(e,t){if(e)return typeof e=="function"?Aee()?xee(e,t):"ease-out":gee(e)?A1(e):Array.isArray(e)?e.map(n=>Nee(n,t)||d5.easeOut):d5[e]}function wPe(e,t,n,{delay:r=0,duration:a=300,repeat:i=0,repeatType:o="loop",ease:l="easeOut",times:u}={},d=void 0){const f={[t]:n};u&&(f.offset=u);const g=Nee(l,a);Array.isArray(g)&&(f.easing=g);const y={delay:r,duration:a,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return d&&(y.pseudoElement=d),e.animate(f,y)}function Mee(e){return typeof e=="function"&&"applyToOptions"in e}function SPe({type:e,...t}){return Mee(e)&&Aee()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class EPe extends TF{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:a,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,dF(typeof t.type!="string");const d=SPe(t);this.animation=wPe(n,r,a,d,i),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const f=EF(a,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(f):gPe(n,r,f),this.animation.cancel()}u==null||u(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return hc(Number(t))}get time(){return hc(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=mc(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&vPe()?(this.animation.timeline=t,Cl):n(this)}}const Iee={anticipate:fee,backInOut:dee,circInOut:mee};function TPe(e){return e in Iee}function CPe(e){typeof e.ease=="string"&&TPe(e.ease)&&(e.ease=Iee[e.ease])}const f5=10;class kPe extends EPe{constructor(t){CPe(t),Oee(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:a,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new CF({...o,autoplay:!1}),u=mc(this.finishedTime??this.time);n.setWithVelocity(l.sample(u-f5).value,l.sample(u).value,f5),l.stop()}}const p5=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Kp.test(e)||e==="0")&&!e.startsWith("url("));function xPe(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function PPe(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:a,damping:i,type:o}=e;if(!xF((d=t==null?void 0:t.owner)==null?void 0:d.current))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return RPe()&&n&&OPe.has(n)&&(n!=="transform"||!u)&&!l&&!r&&a!=="mirror"&&i!==0&&o!=="inertia"}const APe=40;class NPe extends TF{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:o="loop",keyframes:l,name:u,motionValue:d,element:f,...g}){var v;super(),this.stop=()=>{var E,T;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),(T=this.keyframeResolver)==null||T.cancel()},this.createdAt=as.now();const y={autoplay:t,delay:n,type:r,repeat:a,repeatDelay:i,repeatType:o,name:u,motionValue:d,element:f,...g},p=(f==null?void 0:f.KeyframeResolver)||kF;this.keyframeResolver=new p(l,(E,T,C)=>this.onKeyframesResolved(E,T,y,!C),u,d,f),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,a){this.keyframeResolver=void 0;const{name:i,type:o,velocity:l,delay:u,isHandoff:d,onUpdate:f}=r;this.resolvedAt=as.now(),_Pe(t,i,o,l)||((Md.instantAnimations||!u)&&(f==null||f(EF(t,r,n))),t[0]=t[t.length-1],r.duration=0,r.repeat=0);const y={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>APe?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!d&&PPe(y)?new kPe({...y,element:y.motionValue.owner.current}):new CF(y);p.finished.then(()=>this.notifyFinished()).catch(Cl),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),mPe()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const MPe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function IPe(e){const t=MPe.exec(e);if(!t)return[,];const[,n,r,a]=t;return[`--${n??r}`,a]}function Dee(e,t,n=1){const[r,a]=IPe(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return ree(o)?parseFloat(o):o}return vF(a)?Dee(a,t,n+1):a}function _F(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const $ee=new Set(["width","height","top","left","right","bottom",...qb]),DPe={test:e=>e==="auto",parse:e=>e},Lee=e=>t=>t.test(e),Fee=[zb,hn,gc,Mp,xRe,kRe,DPe],m5=e=>Fee.find(Lee(e));function $Pe(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||iee(e):!0}const LPe=new Set(["brightness","contrast","saturate","opacity"]);function FPe(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(yF)||[];if(!r)return e;const a=n.replace(r,"");let i=LPe.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+a+")"}const jPe=/\b([a-z-]*)\(.*?\)/gu,mL={...Kp,getAnimatableNone:e=>{const t=e.match(jPe);return t?t.map(FPe).join(" "):e}},h5={...zb,transform:Math.round},UPe={rotate:Mp,rotateX:Mp,rotateY:Mp,rotateZ:Mp,scale:SC,scaleX:SC,scaleY:SC,scaleZ:SC,skew:Mp,skewX:Mp,skewY:Mp,distance:hn,translateX:hn,translateY:hn,translateZ:hn,x:hn,y:hn,z:hn,perspective:hn,transformPerspective:hn,opacity:bS,originX:n5,originY:n5,originZ:hn},OF={borderWidth:hn,borderTopWidth:hn,borderRightWidth:hn,borderBottomWidth:hn,borderLeftWidth:hn,borderRadius:hn,radius:hn,borderTopLeftRadius:hn,borderTopRightRadius:hn,borderBottomRightRadius:hn,borderBottomLeftRadius:hn,width:hn,maxWidth:hn,height:hn,maxHeight:hn,top:hn,right:hn,bottom:hn,left:hn,padding:hn,paddingTop:hn,paddingRight:hn,paddingBottom:hn,paddingLeft:hn,margin:hn,marginTop:hn,marginRight:hn,marginBottom:hn,marginLeft:hn,backgroundPositionX:hn,backgroundPositionY:hn,...UPe,zIndex:h5,fillOpacity:bS,strokeOpacity:bS,numOctaves:h5},BPe={...OF,color:Va,backgroundColor:Va,outlineColor:Va,fill:Va,stroke:Va,borderColor:Va,borderTopColor:Va,borderRightColor:Va,borderBottomColor:Va,borderLeftColor:Va,filter:mL,WebkitFilter:mL},jee=e=>BPe[e];function Uee(e,t){let n=jee(e);return n!==mL&&(n=Kp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const WPe=new Set(["auto","none","0"]);function zPe(e,t,n){let r=0,a;for(;r{t.getValue(u).set(d)}),this.resolveNoneKeyframes()}}function HPe(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const a=(n==null?void 0:n[e])??r.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const Bee=(e,t)=>t&&typeof e=="number"?t.transform(e):e,g5=30,VPe=e=>!isNaN(parseFloat(e));class GPe{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,a=!0)=>{var o,l;const i=as.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty();a&&((l=this.events.renderRequest)==null||l.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=as.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=VPe(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new pF);const r=this.events[t].add(n);return t==="change"?()=>{r(),pa.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=as.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>g5)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,g5);return oee(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ob(e,t){return new GPe(e,t)}const{schedule:RF}=vee(queueMicrotask,!1),cu={x:!1,y:!1};function Wee(){return cu.x||cu.y}function YPe(e){return e==="x"||e==="y"?cu[e]?null:(cu[e]=!0,()=>{cu[e]=!1}):cu.x||cu.y?null:(cu.x=cu.y=!0,()=>{cu.x=cu.y=!1})}function zee(e,t){const n=HPe(e),r=new AbortController,a={passive:!0,...t,signal:r.signal};return[n,a,()=>r.abort()]}function v5(e){return!(e.pointerType==="touch"||Wee())}function KPe(e,t,n={}){const[r,a,i]=zee(e,n),o=l=>{if(!v5(l))return;const{target:u}=l,d=t(u,l);if(typeof d!="function"||!u)return;const f=g=>{v5(g)&&(d(g),u.removeEventListener("pointerleave",f))};u.addEventListener("pointerleave",f,a)};return r.forEach(l=>{l.addEventListener("pointerenter",o,a)}),i}const qee=(e,t)=>t?e===t?!0:qee(e,t.parentElement):!1,PF=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,XPe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function QPe(e){return XPe.has(e.tagName)||e.tabIndex!==-1}const ek=new WeakSet;function y5(e){return t=>{t.key==="Enter"&&e(t)}}function SP(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ZPe=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=y5(()=>{if(ek.has(n))return;SP(n,"down");const a=y5(()=>{SP(n,"up")}),i=()=>SP(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function b5(e){return PF(e)&&!Wee()}function JPe(e,t,n={}){const[r,a,i]=zee(e,n),o=l=>{const u=l.currentTarget;if(!b5(l))return;ek.add(u);const d=t(u,l),f=(p,v)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",y),ek.has(u)&&ek.delete(u),b5(p)&&typeof d=="function"&&d(p,{success:v})},g=p=>{f(p,u===window||u===document||n.useGlobalTarget||qee(u,p.target))},y=p=>{f(p,!1)};window.addEventListener("pointerup",g,a),window.addEventListener("pointercancel",y,a)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,a),xF(l)&&(l.addEventListener("focus",d=>ZPe(d,a)),!QPe(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function Hee(e){return aee(e)&&"ownerSVGElement"in e}function eAe(e){return Hee(e)&&e.tagName==="svg"}const Ji=e=>!!(e&&e.getVelocity),tAe=[...Fee,Va,Kp],nAe=e=>tAe.find(Lee(e)),AF=R.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class rAe extends R.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,a=xF(r)&&r.offsetWidth||0,i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft,i.right=a-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function aAe({children:e,isPresent:t,anchorX:n}){const r=R.useId(),a=R.useRef(null),i=R.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=R.useContext(AF);return R.useInsertionEffect(()=>{const{width:l,height:u,top:d,left:f,right:g}=i.current;if(t||!a.current||!l||!u)return;const y=n==="left"?`left: ${f}`:`right: ${g}`;a.current.dataset.motionPopId=r;const p=document.createElement("style");return o&&(p.nonce=o),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(` + */var I5;function qOe(){return I5||(I5=1,(function(e){const t=WOe(),n=zOe(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=k,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=i(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const U=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(U,D),U.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function o(U){if(U>a)throw new RangeError('The value "'+U+'" is invalid for option "size"');const D=new Uint8Array(U);return Object.setPrototypeOf(D,l.prototype),D}function l(U,D,F){if(typeof U=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(U)}return u(U,D,F)}l.poolSize=8192;function u(U,D,F){if(typeof U=="string")return y(U,D);if(ArrayBuffer.isView(U))return v(U);if(U==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(Oe(U,ArrayBuffer)||U&&Oe(U.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Oe(U,SharedArrayBuffer)||U&&Oe(U.buffer,SharedArrayBuffer)))return E(U,D,F);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ae=U.valueOf&&U.valueOf();if(ae!=null&&ae!==U)return l.from(ae,D,F);const Te=T(U);if(Te)return Te;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return l.from(U[Symbol.toPrimitive]("string"),D,F);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}l.from=function(U,D,F){return u(U,D,F)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function d(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function f(U,D,F){return d(U),U<=0?o(U):D!==void 0?typeof F=="string"?o(U).fill(D,F):o(U).fill(D):o(U)}l.alloc=function(U,D,F){return f(U,D,F)};function g(U){return d(U),o(U<0?0:C(U)|0)}l.allocUnsafe=function(U){return g(U)},l.allocUnsafeSlow=function(U){return g(U)};function y(U,D){if((typeof D!="string"||D==="")&&(D="utf8"),!l.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const F=_(U,D)|0;let ae=o(F);const Te=ae.write(U,D);return Te!==F&&(ae=ae.slice(0,Te)),ae}function h(U){const D=U.length<0?0:C(U.length)|0,F=o(D);for(let ae=0;ae=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return U|0}function k(U){return+U!=U&&(U=0),l.alloc(+U)}l.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==l.prototype},l.compare=function(D,F){if(Oe(D,Uint8Array)&&(D=l.from(D,D.offset,D.byteLength)),Oe(F,Uint8Array)&&(F=l.from(F,F.offset,F.byteLength)),!l.isBuffer(D)||!l.isBuffer(F))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===F)return 0;let ae=D.length,Te=F.length;for(let Fe=0,We=Math.min(ae,Te);FeTe.length?(l.isBuffer(We)||(We=l.from(We)),We.copy(Te,Fe)):Uint8Array.prototype.set.call(Te,We,Fe);else if(l.isBuffer(We))We.copy(Te,Fe);else throw new TypeError('"list" argument must be an Array of Buffers');Fe+=We.length}return Te};function _(U,D){if(l.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||Oe(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);const F=U.length,ae=arguments.length>2&&arguments[2]===!0;if(!ae&&F===0)return 0;let Te=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return F;case"utf8":case"utf-8":return xt(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F*2;case"hex":return F>>>1;case"base64":return qt(U).length;default:if(Te)return ae?-1:xt(U).length;D=(""+D).toLowerCase(),Te=!0}}l.byteLength=_;function A(U,D,F){let ae=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((F===void 0||F>this.length)&&(F=this.length),F<=0)||(F>>>=0,D>>>=0,F<=D))return"";for(U||(U="utf8");;)switch(U){case"hex":return ce(this,D,F);case"utf8":case"utf-8":return ge(this,D,F);case"ascii":return G(this,D,F);case"latin1":case"binary":return q(this,D,F);case"base64":return re(this,D,F);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,D,F);default:if(ae)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),ae=!0}}l.prototype._isBuffer=!0;function P(U,D,F){const ae=U[D];U[D]=U[F],U[F]=ae}l.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let F=0;FF&&(D+=" ... "),""},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(D,F,ae,Te,Fe){if(Oe(D,Uint8Array)&&(D=l.from(D,D.offset,D.byteLength)),!l.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(F===void 0&&(F=0),ae===void 0&&(ae=D?D.length:0),Te===void 0&&(Te=0),Fe===void 0&&(Fe=this.length),F<0||ae>D.length||Te<0||Fe>this.length)throw new RangeError("out of range index");if(Te>=Fe&&F>=ae)return 0;if(Te>=Fe)return-1;if(F>=ae)return 1;if(F>>>=0,ae>>>=0,Te>>>=0,Fe>>>=0,this===D)return 0;let We=Fe-Te,Tt=ae-F;const Mt=Math.min(We,Tt),be=this.slice(Te,Fe),Ee=D.slice(F,ae);for(let gt=0;gt2147483647?F=2147483647:F<-2147483648&&(F=-2147483648),F=+F,dt(F)&&(F=Te?0:U.length-1),F<0&&(F=U.length+F),F>=U.length){if(Te)return-1;F=U.length-1}else if(F<0)if(Te)F=0;else return-1;if(typeof D=="string"&&(D=l.from(D,ae)),l.isBuffer(D))return D.length===0?-1:I(U,D,F,ae,Te);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(U,D,F):Uint8Array.prototype.lastIndexOf.call(U,D,F):I(U,[D],F,ae,Te);throw new TypeError("val must be string, number or Buffer")}function I(U,D,F,ae,Te){let Fe=1,We=U.length,Tt=D.length;if(ae!==void 0&&(ae=String(ae).toLowerCase(),ae==="ucs2"||ae==="ucs-2"||ae==="utf16le"||ae==="utf-16le")){if(U.length<2||D.length<2)return-1;Fe=2,We/=2,Tt/=2,F/=2}function Mt(Ee,gt){return Fe===1?Ee[gt]:Ee.readUInt16BE(gt*Fe)}let be;if(Te){let Ee=-1;for(be=F;beWe&&(F=We-Tt),be=F;be>=0;be--){let Ee=!0;for(let gt=0;gtTe&&(ae=Te)):ae=Te;const Fe=D.length;ae>Fe/2&&(ae=Fe/2);let We;for(We=0;We>>0,isFinite(ae)?(ae=ae>>>0,Te===void 0&&(Te="utf8")):(Te=ae,ae=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Fe=this.length-F;if((ae===void 0||ae>Fe)&&(ae=Fe),D.length>0&&(ae<0||F<0)||F>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");let We=!1;for(;;)switch(Te){case"hex":return L(this,D,F,ae);case"utf8":case"utf-8":return j(this,D,F,ae);case"ascii":case"latin1":case"binary":return z(this,D,F,ae);case"base64":return Q(this,D,F,ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,D,F,ae);default:if(We)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),We=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(U,D,F){return D===0&&F===U.length?t.fromByteArray(U):t.fromByteArray(U.slice(D,F))}function ge(U,D,F){F=Math.min(U.length,F);const ae=[];let Te=D;for(;Te239?4:Fe>223?3:Fe>191?2:1;if(Te+Tt<=F){let Mt,be,Ee,gt;switch(Tt){case 1:Fe<128&&(We=Fe);break;case 2:Mt=U[Te+1],(Mt&192)===128&&(gt=(Fe&31)<<6|Mt&63,gt>127&&(We=gt));break;case 3:Mt=U[Te+1],be=U[Te+2],(Mt&192)===128&&(be&192)===128&&(gt=(Fe&15)<<12|(Mt&63)<<6|be&63,gt>2047&&(gt<55296||gt>57343)&&(We=gt));break;case 4:Mt=U[Te+1],be=U[Te+2],Ee=U[Te+3],(Mt&192)===128&&(be&192)===128&&(Ee&192)===128&&(gt=(Fe&15)<<18|(Mt&63)<<12|(be&63)<<6|Ee&63,gt>65535&><1114112&&(We=gt))}}We===null?(We=65533,Tt=1):We>65535&&(We-=65536,ae.push(We>>>10&1023|55296),We=56320|We&1023),ae.push(We),Te+=Tt}return W(ae)}const me=4096;function W(U){const D=U.length;if(D<=me)return String.fromCharCode.apply(String,U);let F="",ae=0;for(;aeae)&&(F=ae);let Te="";for(let Fe=D;Feae&&(D=ae),F<0?(F+=ae,F<0&&(F=0)):F>ae&&(F=ae),FF)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(D,F,ae){D=D>>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=this[D],Fe=1,We=0;for(;++We>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=this[D+--F],Fe=1;for(;F>0&&(Fe*=256);)Te+=this[D+--F]*Fe;return Te},l.prototype.readUint8=l.prototype.readUInt8=function(D,F){return D=D>>>0,F||Y(D,1,this.length),this[D]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(D,F){return D=D>>>0,F||Y(D,2,this.length),this[D]|this[D+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(D,F){return D=D>>>0,F||Y(D,2,this.length),this[D]<<8|this[D+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},l.prototype.readBigUInt64LE=ut(function(D){D=D>>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=F+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,Fe=this[++D]+this[++D]*2**8+this[++D]*2**16+ae*2**24;return BigInt(Te)+(BigInt(Fe)<>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=F*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],Fe=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+ae;return(BigInt(Te)<>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=this[D],Fe=1,We=0;for(;++We=Fe&&(Te-=Math.pow(2,8*F)),Te},l.prototype.readIntBE=function(D,F,ae){D=D>>>0,F=F>>>0,ae||Y(D,F,this.length);let Te=F,Fe=1,We=this[D+--Te];for(;Te>0&&(Fe*=256);)We+=this[D+--Te]*Fe;return Fe*=128,We>=Fe&&(We-=Math.pow(2,8*F)),We},l.prototype.readInt8=function(D,F){return D=D>>>0,F||Y(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},l.prototype.readInt16LE=function(D,F){D=D>>>0,F||Y(D,2,this.length);const ae=this[D]|this[D+1]<<8;return ae&32768?ae|4294901760:ae},l.prototype.readInt16BE=function(D,F){D=D>>>0,F||Y(D,2,this.length);const ae=this[D+1]|this[D]<<8;return ae&32768?ae|4294901760:ae},l.prototype.readInt32LE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},l.prototype.readInt32BE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},l.prototype.readBigInt64LE=ut(function(D){D=D>>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(ae<<24);return(BigInt(Te)<>>0,Ge(D,"offset");const F=this[D],ae=this[D+7];(F===void 0||ae===void 0)&&at(D,this.length-8);const Te=(F<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(Te)<>>0,F||Y(D,4,this.length),n.read(this,D,!0,23,4)},l.prototype.readFloatBE=function(D,F){return D=D>>>0,F||Y(D,4,this.length),n.read(this,D,!1,23,4)},l.prototype.readDoubleLE=function(D,F){return D=D>>>0,F||Y(D,8,this.length),n.read(this,D,!0,52,8)},l.prototype.readDoubleBE=function(D,F){return D=D>>>0,F||Y(D,8,this.length),n.read(this,D,!1,52,8)};function ie(U,D,F,ae,Te,Fe){if(!l.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>Te||DU.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(D,F,ae,Te){if(D=+D,F=F>>>0,ae=ae>>>0,!Te){const Tt=Math.pow(2,8*ae)-1;ie(this,D,F,ae,Tt,0)}let Fe=1,We=0;for(this[F]=D&255;++We>>0,ae=ae>>>0,!Te){const Tt=Math.pow(2,8*ae)-1;ie(this,D,F,ae,Tt,0)}let Fe=ae-1,We=1;for(this[F+Fe]=D&255;--Fe>=0&&(We*=256);)this[F+Fe]=D/We&255;return F+ae},l.prototype.writeUint8=l.prototype.writeUInt8=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,1,255,0),this[F]=D&255,F+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,65535,0),this[F]=D&255,this[F+1]=D>>>8,F+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,65535,0),this[F]=D>>>8,this[F+1]=D&255,F+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,4294967295,0),this[F+3]=D>>>24,this[F+2]=D>>>16,this[F+1]=D>>>8,this[F]=D&255,F+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,4294967295,0),this[F]=D>>>24,this[F+1]=D>>>16,this[F+2]=D>>>8,this[F+3]=D&255,F+4};function J(U,D,F,ae,Te){tt(D,ae,Te,U,F,7);let Fe=Number(D&BigInt(4294967295));U[F++]=Fe,Fe=Fe>>8,U[F++]=Fe,Fe=Fe>>8,U[F++]=Fe,Fe=Fe>>8,U[F++]=Fe;let We=Number(D>>BigInt(32)&BigInt(4294967295));return U[F++]=We,We=We>>8,U[F++]=We,We=We>>8,U[F++]=We,We=We>>8,U[F++]=We,F}function ee(U,D,F,ae,Te){tt(D,ae,Te,U,F,7);let Fe=Number(D&BigInt(4294967295));U[F+7]=Fe,Fe=Fe>>8,U[F+6]=Fe,Fe=Fe>>8,U[F+5]=Fe,Fe=Fe>>8,U[F+4]=Fe;let We=Number(D>>BigInt(32)&BigInt(4294967295));return U[F+3]=We,We=We>>8,U[F+2]=We,We=We>>8,U[F+1]=We,We=We>>8,U[F]=We,F+8}l.prototype.writeBigUInt64LE=ut(function(D,F=0){return J(this,D,F,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ut(function(D,F=0){return ee(this,D,F,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(D,F,ae,Te){if(D=+D,F=F>>>0,!Te){const Mt=Math.pow(2,8*ae-1);ie(this,D,F,ae,Mt-1,-Mt)}let Fe=0,We=1,Tt=0;for(this[F]=D&255;++Fe>0)-Tt&255;return F+ae},l.prototype.writeIntBE=function(D,F,ae,Te){if(D=+D,F=F>>>0,!Te){const Mt=Math.pow(2,8*ae-1);ie(this,D,F,ae,Mt-1,-Mt)}let Fe=ae-1,We=1,Tt=0;for(this[F+Fe]=D&255;--Fe>=0&&(We*=256);)D<0&&Tt===0&&this[F+Fe+1]!==0&&(Tt=1),this[F+Fe]=(D/We>>0)-Tt&255;return F+ae},l.prototype.writeInt8=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,1,127,-128),D<0&&(D=255+D+1),this[F]=D&255,F+1},l.prototype.writeInt16LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,32767,-32768),this[F]=D&255,this[F+1]=D>>>8,F+2},l.prototype.writeInt16BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,2,32767,-32768),this[F]=D>>>8,this[F+1]=D&255,F+2},l.prototype.writeInt32LE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,2147483647,-2147483648),this[F]=D&255,this[F+1]=D>>>8,this[F+2]=D>>>16,this[F+3]=D>>>24,F+4},l.prototype.writeInt32BE=function(D,F,ae){return D=+D,F=F>>>0,ae||ie(this,D,F,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[F]=D>>>24,this[F+1]=D>>>16,this[F+2]=D>>>8,this[F+3]=D&255,F+4},l.prototype.writeBigInt64LE=ut(function(D,F=0){return J(this,D,F,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ut(function(D,F=0){return ee(this,D,F,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Z(U,D,F,ae,Te,Fe){if(F+ae>U.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("Index out of range")}function ue(U,D,F,ae,Te){return D=+D,F=F>>>0,Te||Z(U,D,F,4),n.write(U,D,F,ae,23,4),F+4}l.prototype.writeFloatLE=function(D,F,ae){return ue(this,D,F,!0,ae)},l.prototype.writeFloatBE=function(D,F,ae){return ue(this,D,F,!1,ae)};function ke(U,D,F,ae,Te){return D=+D,F=F>>>0,Te||Z(U,D,F,8),n.write(U,D,F,ae,52,8),F+8}l.prototype.writeDoubleLE=function(D,F,ae){return ke(this,D,F,!0,ae)},l.prototype.writeDoubleBE=function(D,F,ae){return ke(this,D,F,!1,ae)},l.prototype.copy=function(D,F,ae,Te){if(!l.isBuffer(D))throw new TypeError("argument should be a Buffer");if(ae||(ae=0),!Te&&Te!==0&&(Te=this.length),F>=D.length&&(F=D.length),F||(F=0),Te>0&&Te=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),D.length-F>>0,ae=ae===void 0?this.length:ae>>>0,D||(D=0);let Fe;if(typeof D=="number")for(Fe=F;Fe2**32?Te=Ie(String(F)):typeof F=="bigint"&&(Te=String(F),(F>BigInt(2)**BigInt(32)||F<-(BigInt(2)**BigInt(32)))&&(Te=Ie(Te)),Te+="n"),ae+=` It must be ${D}. Received ${Te}`,ae},RangeError);function Ie(U){let D="",F=U.length;const ae=U[0]==="-"?1:0;for(;F>=ae+4;F-=3)D=`_${U.slice(F-3,F)}${D}`;return`${U.slice(0,F)}${D}`}function qe(U,D,F){Ge(D,"offset"),(U[D]===void 0||U[D+F]===void 0)&&at(D,U.length-(F+1))}function tt(U,D,F,ae,Te,Fe){if(U>F||U= 0${We} and < 2${We} ** ${(Fe+1)*8}${We}`:Tt=`>= -(2${We} ** ${(Fe+1)*8-1}${We}) and < 2 ** ${(Fe+1)*8-1}${We}`,new fe.ERR_OUT_OF_RANGE("value",Tt,U)}qe(ae,Te,Fe)}function Ge(U,D){if(typeof U!="number")throw new fe.ERR_INVALID_ARG_TYPE(D,"number",U)}function at(U,D,F){throw Math.floor(U)!==U?(Ge(U,F),new fe.ERR_OUT_OF_RANGE("offset","an integer",U)):D<0?new fe.ERR_BUFFER_OUT_OF_BOUNDS:new fe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,U)}const Et=/[^+/0-9A-Za-z-_]/g;function kt(U){if(U=U.split("=")[0],U=U.trim().replace(Et,""),U.length<2)return"";for(;U.length%4!==0;)U=U+"=";return U}function xt(U,D){D=D||1/0;let F;const ae=U.length;let Te=null;const Fe=[];for(let We=0;We55295&&F<57344){if(!Te){if(F>56319){(D-=3)>-1&&Fe.push(239,191,189);continue}else if(We+1===ae){(D-=3)>-1&&Fe.push(239,191,189);continue}Te=F;continue}if(F<56320){(D-=3)>-1&&Fe.push(239,191,189),Te=F;continue}F=(Te-55296<<10|F-56320)+65536}else Te&&(D-=3)>-1&&Fe.push(239,191,189);if(Te=null,F<128){if((D-=1)<0)break;Fe.push(F)}else if(F<2048){if((D-=2)<0)break;Fe.push(F>>6|192,F&63|128)}else if(F<65536){if((D-=3)<0)break;Fe.push(F>>12|224,F>>6&63|128,F&63|128)}else if(F<1114112){if((D-=4)<0)break;Fe.push(F>>18|240,F>>12&63|128,F>>6&63|128,F&63|128)}else throw new Error("Invalid code point")}return Fe}function Rt(U){const D=[];for(let F=0;F>8,Te=F%256,Fe.push(Te),Fe.push(ae);return Fe}function qt(U){return t.toByteArray(kt(U))}function Wt(U,D,F,ae){let Te;for(Te=0;Te=D.length||Te>=U.length);++Te)D[Te+F]=U[Te];return Te}function Oe(U,D){return U instanceof D||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===D.name}function dt(U){return U!==U}const ft=(function(){const U="0123456789abcdef",D=new Array(256);for(let F=0;F<16;++F){const ae=F*16;for(let Te=0;Te<16;++Te)D[ae+Te]=U[F]+U[Te]}return D})();function ut(U){return typeof BigInt>"u"?Nt:U}function Nt(){throw new Error("BigInt not supported")}})(QP)),QP}qOe();const qF=e=>{const{config:t}=R.useContext(dh);At();const{placeholder:n,label:r,getInputRef:a,secureTextEntry:i,Icon:o,onChange:l,value:u,height:d,disabled:f,forceBasic:g,forceRich:y,focused:h=!1,autoFocus:v,...E}=e,[T,C]=R.useState(!1),k=R.useRef(),_=R.useRef(!1),[A,P]=R.useState("tinymce"),{upload:N}=bee(),{directPath:I}=MQ();R.useEffect(()=>{if(t.textEditorModule!=="tinymce")e.onReady&&e.onReady();else{const z=setTimeout(()=>{_.current===!1&&(P("textarea"),e.onReady&&e.onReady())},5e3);return()=>{clearTimeout(z)}}},[]);const L=async(z,Q)=>{const le=await N([new File([z.blob()],"filename")],!0)[0];return I({diskPath:le})},j=window.matchMedia("(prefers-color-scheme: dark)").matches||document.getElementsByTagName("body")[0].classList.contains("dark-theme");return w.jsx(ef,{focused:T,...e,children:t.textEditorModule==="tinymce"&&!g||y?w.jsx(BOe,{onInit:(z,Q)=>{k.current=Q,setTimeout(()=>{Q.setContent(u||"",{format:"raw"})},0),e.onReady&&e.onReady()},onEditorChange:(z,Q)=>{l&&l(Q.getContent({format:"raw"}))},onLoadContent:()=>{_.current=!0},apiKey:"4dh1g4gxp1gbmxi3hnkro4wf9lfgmqr86khygey2bwb7ps74",onBlur:()=>C(!1),tinymceScriptSrc:kr.PUBLIC_URL+"plugins/js/tinymce/tinymce.min.js",onFocus:()=>C(!0),init:{menubar:!1,height:d||400,images_upload_handler:L,skin:j?"oxide-dark":"oxide",content_css:j?"dark":"default",plugins:["example","image","directionality","image"],toolbar:"undo redo | formatselect | example | image | rtl ltr | link | bullist numlist bold italic backcolor h2 h3 | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_style:"body {font-size:18px }"}}):w.jsx("textarea",{...E,value:u,placeholder:n,style:{minHeight:"140px"},autoFocus:v,className:ia("form-control",e.errorMessage&&"is-invalid",e.validMessage&&"is-valid"),onChange:z=>l&&l(z.target.value),onBlur:()=>C(!1),onFocus:()=>C(!0)})})},HOe=({form:e,isEditing:t})=>{const{options:n}=R.useContext(nt),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(NE),u=Bs(Br.definition.fields.find(d=>d.name==="keyGroup").of.map(d=>({label:d.k,value:d.k})));return w.jsxs(w.Fragment,{children:[w.jsx(ca,{keyExtractor:d=>d.value,formEffect:{form:e,field:Br.Fields.keyGroup,beforeSet(d){return d.value}},querySource:u,errorMessage:o.keyGroup,label:l.regionalContents.keyGroup,hint:l.regionalContents.keyGroupHint}),w.jsx(qF,{value:r.content,forceRich:r.keyGroup==="EMAIL_OTP",forceBasic:r.keyGroup==="SMS_OTP",onChange:d=>i(Br.Fields.content,d,!1),errorMessage:o.content,label:l.regionalContents.content,hint:l.regionalContents.contentHint}),w.jsx(In,{value:"global",readonly:!0,onChange:d=>i(Br.Fields.region,d,!1),errorMessage:o.region,label:l.regionalContents.region,hint:l.regionalContents.regionHint}),w.jsx(In,{value:r.title,onChange:d=>i(Br.Fields.title,d,!1),errorMessage:o.title,label:l.regionalContents.title,hint:l.regionalContents.titleHint}),w.jsx(In,{value:r.languageId,onChange:d=>i(Br.Fields.languageId,d,!1),errorMessage:o.languageId,label:l.regionalContents.languageId,hint:l.regionalContents.languageIdHint})]})};function Mee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/regional-content/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.RegionalContentEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function VOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/regional-content".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.RegionalContentEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function GOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/regional-content".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.RegionalContentEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const D5=({data:e})=>{const t=Kt(NE),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=Mee({query:{uniqueId:r}}),l=VOe({queryClient:a}),u=GOe({queryClient:a});return w.jsx(Uo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(Br.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return Br.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:HOe,onEditTitle:t.regionalContents.editRegionalContent,onCreateTitle:t.regionalContents.newRegionalContent,data:e})},YOe=()=>{var a;const{uniqueId:e}=Dr({}),t=Mee({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(NE);return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:i,router:o})=>{o.push(Br.Navigation.edit(e))},getSingleHook:t,children:w.jsx(io,{entity:n,fields:[{elem:n==null?void 0:n.region,label:r.regionalContents.region},{elem:n==null?void 0:n.title,label:r.regionalContents.title},{elem:n==null?void 0:n.languageId,label:r.regionalContents.languageId}]})})})};function KOe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(D5,{}),path:Br.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(YOe,{}),path:Br.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(D5,{}),path:Br.Navigation.Redit}),w.jsx(mt,{element:w.jsx(ROe,{}),path:Br.Navigation.Rquery})]})}function Iee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/user/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.UserEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function XOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/user".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.UserEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function QOe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/user".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.UserEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const JOe=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a,setValues:i}=e,{options:o}=R.useContext(nt),l=At();return w.jsx(w.Fragment,{children:w.jsxs("div",{className:"row",children:[w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:n==null?void 0:n.firstName,onChange:u=>r(aa.Fields.firstName,u,!1),autoFocus:!t,errorMessage:a==null?void 0:a.firstName,label:l.wokspaces.invite.firstName,hint:l.wokspaces.invite.firstNameHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:n==null?void 0:n.lastName,onChange:u=>r(aa.Fields.lastName,u,!1),errorMessage:a==null?void 0:a.lastName,label:l.wokspaces.invite.lastName,hint:l.wokspaces.invite.lastNameHint})})]})})},$5=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a,t:i}=Dr({data:e}),o=Iee({query:{uniqueId:n,deep:!0}}),l=QOe({queryClient:r}),u=XOe({queryClient:r});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(aa.Navigation.query(void 0,a))},onFinishUriResolver:(d,f)=>{var g;return aa.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:JOe,onEditTitle:i.user.editUser,onCreateTitle:i.user.newUser,data:e})};function Dee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/passports".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.PassportEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Dee.UKEY="*abac.PassportEntity";const ZOe=({userId:e})=>{const{items:t}=Dee({query:{query:e?"user_id = "+e:null}});return w.jsx("div",{children:w.jsx(Io,{title:"Passports",children:t.map(n=>w.jsx(tRe,{passport:n},n.uniqueId))})})};function eRe(e){if(e==null)return"n/a";if(e===!0)return"Yes";if(e===!1)return"No"}const tRe=({passport:e})=>w.jsx("div",{children:w.jsxs("div",{className:"general-entity-view ",children:[w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:"Value:"}),w.jsx("div",{className:"field-value",children:e.value})]}),w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:"Type:"}),w.jsx("div",{className:"field-value",children:e.type})]}),w.jsxs("div",{className:"entity-view-row entity-view-head",children:[w.jsx("div",{className:"field-info",children:"Confirmed:"}),w.jsx("div",{className:"field-value",children:eRe(e.confirmed)})]})]})}),nRe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Iee({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return hh((a==null?void 0:a.firstName)||""),w.jsx(w.Fragment,{children:w.jsxs(ao,{editEntityHandler:()=>{e.push(aa.Navigation.edit(n))},getSingleHook:r,children:[w.jsx(io,{entity:a,fields:[{label:t.users.firstName,elem:a==null?void 0:a.firstName},{label:t.users.lastName,elem:a==null?void 0:a.lastName}]}),w.jsx(ZOe,{userId:n})]})})};function rRe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/user".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.UserEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.UserEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function $ee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/users".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}$ee.UKEY="*abac.UserEntity";const aRe=({gender:e})=>e===0?w.jsx("img",{style:{width:"20px",height:"20px"},src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgdmlld0JveD0iMCAwIDI1NiA1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyOCAwYzM1LjM0NiAwIDY0IDI4LjY1NCA2NCA2NHMtMjguNjU0IDY0LTY0IDY0Yy0zNS4zNDYgMC02NC0yOC42NTQtNjQtNjRTOTIuNjU0IDAgMTI4IDBtMTE5LjI4MyAzNTQuMTc5bC00OC0xOTJBMjQgMjQgMCAwIDAgMTc2IDE0NGgtMTEuMzZjLTIyLjcxMSAxMC40NDMtNDkuNTkgMTAuODk0LTczLjI4IDBIODBhMjQgMjQgMCAwIDAtMjMuMjgzIDE4LjE3OWwtNDggMTkyQzQuOTM1IDM2OS4zMDUgMTYuMzgzIDM4NCAzMiAzODRoNTZ2MTA0YzAgMTMuMjU1IDEwLjc0NSAyNCAyNCAyNGgzMmMxMy4yNTUgMCAyNC0xMC43NDUgMjQtMjRWMzg0aDU2YzE1LjU5MSAwIDI3LjA3MS0xNC42NzEgMjMuMjgzLTI5LjgyMXoiLz48L3N2Zz4="}):w.jsx("img",{style:{width:"20px",height:"20px"},src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE0MS43MzIgMTQxLjczMiIgaGVpZ2h0PSIxNDEuNzMycHgiIGlkPSJMaXZlbGxvXzEiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0MS43MzIgMTQxLjczMiIgd2lkdGg9IjE0MS43MzJweCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgaWQ9IkxpdmVsbG9fOTAiPjxwYXRoIGQ9Ik04MS42NDcsMTAuNzU0YzAtNS4zNzItMy45NzMtOS44MTgtOS4xNi0xMC42MjRoMC4xMTdjLTAuMzc5LTAuMDU4LTAuNzY4LTAuMDktMS4xNTYtMC4xMDQgICBjLTAuMTAzLTAuMDA2LTAuMjA3LTAuMDA5LTAuMzExLTAuMDEyQzcxLjA2NiwwLjAxLDcwLjk5NiwwLDcwLjkyMywwYy0wLjAyMSwwLTAuMDM4LDAuMDAzLTAuMDYsMC4wMDMgICBDNzAuODQ2LDAuMDAzLDcwLjgyOCwwLDcwLjgwNywwYy0wLjA2OSwwLTAuMTQyLDAuMDEyLTAuMjE0LDAuMDE0Yy0wLjEwNCwwLjAwMy0wLjIwOCwwLjAwNi0wLjMxMiwwLjAxMiAgIGMtMC4zOTMsMC4wMTktMC43NzQsMC4wNTEtMS4xNTMsMC4xMDRoMC4xMTdjLTUuMTg5LDAuODA2LTkuMTYsNS4yNTItOS4xNiwxMC42MjRjMCw1Ljg5OSw0Ljc5MSwxMC42ODgsMTAuNzI0LDEwLjc0OHYwLjAwNCAgIGMwLjAyMSwwLDAuMDM5LTAuMDAxLDAuMDYyLTAuMDAyYzAuMDIxLDAuMDAxLDAuMDM4LDAuMDAyLDAuMDU5LDAuMDAydi0wLjAwNEM3Ni44NTYsMjEuNDQsODEuNjQ3LDE2LjY1Myw4MS42NDcsMTAuNzU0ICAgIE05NS45MTUsNjcuODEzVjI1LjYzOGMwLTIuMjgyLTEuODUyLTQuMTM2LTQuMTM1LTQuMTM2SDcwLjkyM2gtMC4xMTZINDkuOTVjLTIuMjgyLDAuMDAzLTQuMTMzLDEuODUzLTQuMTMzLDQuMTM2djQyLjE3NmgwLjAwNCAgIGMwLjA0OCwyLjI0MiwxLjg3NSw0LjA0Nyw0LjEyOSw0LjA0N2MyLjI1MywwLDQuMDgyLTEuODA1LDQuMTI4LTQuMDQ3aDAuMDA0VjQ0Ljk3MmgtMC4wMDlWMzMuOTM0YzAtMC43ODQsMC42MzgtMS40MiwxLjQyMS0xLjQyICAgczEuNDIsMC42MzYsMS40MiwxLjQydjExLjAzOHY4OC4zMTRjMC4zMiwzLjEwNywyLjkxNCw1LjUzNyw2LjA5LDUuNjA4aDAuMjg1YzMuMzk2LTAuMDc2LDYuMTI1LTIuODQ5LDYuMTI1LTYuMjU5Vjc3LjQ1NSAgIGMwLTAuNzcxLDAuNjItMS4zOTYsMS4zOTQtMS40MTF2MC4wMTJjMC4wMjEtMC4wMDEsMC4wMzktMC4wMDcsMC4wNjItMC4wMWMwLjAyMSwwLjAwMywwLjAzOCwwLjAwOSwwLjA1OSwwLjAxdi0wLjAxMiAgIGMwLjc3LDAuMDE4LDEuMzk1LDAuNjQzLDEuMzk1LDEuNDExdjU1LjE4OGMwLDMuNDEyLDIuNzMsNi4xODMsNi4xMjUsNi4yNTloMC4yODVjMy4xNzYtMC4wNzEsNS43Ny0yLjUwMSw2LjA5LTUuNjA4VjQ0Ljk3NCAgIHYtMTEuMDRjMC0wLjc4NCwwLjYzNy0xLjQyLDEuNDIyLTEuNDJjMC43ODEsMCwxLjQyLDAuNjM2LDEuNDIsMS40MnYxMS4wMzhoLTAuMDF2MjIuODQyaDAuMDA0ICAgYzAuMDQ3LDIuMjQyLDEuODc1LDQuMDQ3LDQuMTI5LDQuMDQ3Qzk0LjA0LDcxLjg2MSw5NS44NjYsNzAuMDU2LDk1LjkxNSw2Ny44MTNMOTUuOTE1LDY3LjgxM0w5NS45MTUsNjcuODEzeiIvPjwvZz48ZyBpZD0iTGl2ZWxsb18xXzFfIi8+PC9zdmc+"}),iRe=e=>[{name:aa.Fields.uniqueId,title:e.table.uniqueId,width:100},{name:"firstName",title:e.users.firstName,width:200,sortable:!0,filterable:!0,getCellValue:t=>t==null?void 0:t.firstName},{filterable:!0,name:"lastName",sortable:!0,title:e.users.lastName,width:200,getCellValue:t=>t==null?void 0:t.lastName},{name:"birthDate",title:"birthdate",width:140,getCellValue:t=>w.jsx(w.Fragment,{children:t==null?void 0:t.birthDate}),filterType:"date",filterable:!0,sortable:!0},{name:"gender",title:"gender",width:50,getCellValue:t=>w.jsx(w.Fragment,{children:w.jsx(aRe,{gender:t.gender})})},{name:"Image",title:"Image",width:40,getCellValue:t=>w.jsx(w.Fragment,{children:(t==null?void 0:t.photo)&&w.jsx("img",{src:t==null?void 0:t.photo,style:{width:"20px",height:"20px"}})})},{name:aa.Fields.primaryAddress.countryCode,title:"Country code",width:40,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.countryCode})}},{name:aa.Fields.primaryAddress.addressLine1,title:"Address Line 1",width:180,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.addressLine1})}},{name:aa.Fields.primaryAddress.addressLine2,title:"Address Line 2",width:180,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.addressLine2})}},{name:aa.Fields.primaryAddress.city,title:"City",width:180,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.city})}},{name:aa.Fields.primaryAddress.postalCode,title:"Postal Code",width:80,getCellValue:t=>{var n;return w.jsx(w.Fragment,{children:(n=t.primaryAddress)==null?void 0:n.postalCode})}}],oRe=()=>{const e=At();return hh(e.fbMenu.users),w.jsx(w.Fragment,{children:w.jsx(jo,{columns:iRe(e),queryHook:$ee,uniqueIdHrefHandler:t=>aa.Navigation.single(t),deleteHook:rRe})})},sRe=()=>{const e=At(),t=xr();return sr(),w.jsx(w.Fragment,{children:w.jsx(Fo,{newEntityHandler:()=>{t.push(aa.Navigation.create())},pageTitle:e.fbMenu.users,children:w.jsx(oRe,{})})})};function lRe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx($5,{}),path:aa.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(nRe,{}),path:aa.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx($5,{}),path:aa.Navigation.Redit}),w.jsx(mt,{element:w.jsx(sRe,{}),path:aa.Navigation.Rquery})]})}class La extends wn{constructor(...t){super(...t),this.children=void 0,this.enableRecaptcha2=void 0,this.enableOtp=void 0,this.requireOtpOnSignup=void 0,this.requireOtpOnSignin=void 0,this.recaptcha2ServerKey=void 0,this.recaptcha2ClientKey=void 0,this.enableTotp=void 0,this.forceTotp=void 0,this.forcePasswordOnPhone=void 0,this.forcePersonNameOnPhone=void 0,this.generalEmailProvider=void 0,this.generalEmailProviderId=void 0,this.generalGsmProvider=void 0,this.generalGsmProviderId=void 0,this.inviteToWorkspaceContent=void 0,this.inviteToWorkspaceContentId=void 0,this.emailOtpContent=void 0,this.emailOtpContentId=void 0,this.smsOtpContent=void 0,this.smsOtpContentId=void 0}}La.Navigation={edit(e,t){return`${t?"/"+t:".."}/workspace-config/edit/${e}`},create(e){return`${e?"/"+e:".."}/workspace-config/new`},single(e,t){return`${t?"/"+t:".."}/workspace-config/${e}`},query(e={},t){return`${t?"/"+t:".."}/workspace-configs`},Redit:"workspace-config/edit/:uniqueId",Rcreate:"workspace-config/new",Rsingle:"workspace-config/:uniqueId",Rquery:"workspace-configs"};La.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspaceConfig",distinctBy:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"enableRecaptcha2",description:"Enables the recaptcha2 for authentication flow.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"enableOtp",recommended:!0,description:"Enables the otp option. It's not forcing it, so user can choose if they want otp or password.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignup",recommended:!0,description:"Forces the user to have otp verification before can create an account. They can define their password still.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignin",recommended:!0,description:"Forces the user to use otp when signing in. Even if they have password set, they won't use it and only will be able to signin using that otp.",type:"bool?",default:!1,computedType:"boolean",gormMap:{}},{name:"recaptcha2ServerKey",description:"Secret which would be used to decrypt if the recaptcha is correct. Should not be available publicly.",type:"string",computedType:"string",gormMap:{}},{name:"recaptcha2ClientKey",description:"Secret which would be used for recaptcha2 on the client side. Can be publicly visible, and upon authenticating users it would be sent to front-end.",type:"string",computedType:"string",gormMap:{}},{name:"enableTotp",recommended:!0,description:"Enables user to make 2FA using apps such as google authenticator or microsoft authenticator.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forceTotp",recommended:!0,description:"Forces the user to setup a 2FA in order to access their account. Users which did not setup this won't be affected.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePasswordOnPhone",description:"Forces users who want to create account using phone number to also set a password on their account",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePersonNameOnPhone",description:"Forces the creation of account using phone number to ask for user first name and last name",type:"bool?",computedType:"boolean",gormMap:{}},{name:"generalEmailProvider",description:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",type:"one",target:"EmailProviderEntity",computedType:"EmailProviderEntity",gormMap:{}},{name:"generalGsmProvider",description:"General service which would be used to send text messages (sms) using it's services or API.",type:"one",target:"GsmProviderEntity",computedType:"GsmProviderEntity",gormMap:{}},{name:"inviteToWorkspaceContent",description:"This template would be used, as default when a user is inviting a third-party into their own workspace.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"emailOtpContent",description:"Upon one time password request for email, the content will be read to fill the message which will go to user.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"smsOtpContent",description:"Upon OTP text messages, this template will be used to create such text message, including the one time password code.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}}],cliName:"config",description:"Contains configuration which would be necessary for application environment to be running. At the moment, a single record is allowed, and only for root workspace. But in theory it could be configured per each workspace independently. For sub projects do not touch this, rather create a custom config entity if workspaces in the product need extra config."};La.Fields={...wn.Fields,enableRecaptcha2:"enableRecaptcha2",enableOtp:"enableOtp",requireOtpOnSignup:"requireOtpOnSignup",requireOtpOnSignin:"requireOtpOnSignin",recaptcha2ServerKey:"recaptcha2ServerKey",recaptcha2ClientKey:"recaptcha2ClientKey",enableTotp:"enableTotp",forceTotp:"forceTotp",forcePasswordOnPhone:"forcePasswordOnPhone",forcePersonNameOnPhone:"forcePersonNameOnPhone",generalEmailProviderId:"generalEmailProviderId",generalEmailProvider$:"generalEmailProvider",generalEmailProvider:gi.Fields,generalGsmProviderId:"generalGsmProviderId",generalGsmProvider$:"generalGsmProvider",generalGsmProvider:ua.Fields,inviteToWorkspaceContentId:"inviteToWorkspaceContentId",inviteToWorkspaceContent$:"inviteToWorkspaceContent",inviteToWorkspaceContent:Br.Fields,emailOtpContentId:"emailOtpContentId",emailOtpContent$:"emailOtpContent",emailOtpContent:Br.Fields,smsOtpContentId:"smsOtpContentId",smsOtpContent$:"smsOtpContent",smsOtpContent:Br.Fields};function Lee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var E;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/workspace-config/distinct".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=()=>l("GET",d),g=(E=i==null?void 0:i.headers)==null?void 0:E.authorization,y=g!="undefined"&&g!=null&&g!=null&&g!="null"&&!!g;let h=!0;return!y&&!a&&(h=!1),{query:jn([i,n,"*abac.WorkspaceConfigEntity"],f,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:h,...e||{}})}}function uRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace-config/distinct".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceConfigEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const cRe={workspaceConfigs:{archiveTitle:"Workspace configs",description:"Configurate how the workspaces work in terms of totp, forced otp, recaptcha and how the user can interact with the application.",editWorkspaceConfig:"Edit workspace config",emailOtpContentHint:"Upon one time password request for email, the content will be read to fill the message which will go to user.",emailOtpContentLabel:"Email Otp Content",enableOtp:"Enable otp",enableOtpHint:"Enables the one time password for the selfservice. It would allow email or phone numbers to bypass password and recieve a 6 digit code on their inbox or phone.",enableRecaptcha2:"Enable reCAPTCHA2",enableRecaptcha2Hint:"Enables reCAPTCHA2 from google integration into the project selfservice. You need to provide Server Key and Client Key to make it effective.",enableTotp:"Enable totp",enableTotpHint:"Enables time based otp for account creation and signin.",forcePasswordOnPhone:"Force password on phone",forcePasswordOnPhoneHint:"Force password on phone",forcePersonNameOnPhone:"Force person name on phone",forcePersonNameOnPhoneHint:"Force person name on phone",forceTotp:"Force totp",forceTotpHint:"Forces the totp for account creation. If an account doesn't have it, they need to setup before they can login.",generalEmailProviderHint:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",generalEmailProviderLabel:"General Email Provider",generalGsmProviderHint:"General service which would be used to send text messages (sms) using it's services or API.",generalGsmProviderLabel:"General Gsm Provider",inviteToWorkspaceContentHint:"This template would be used, as default when a user is inviting a third-party into their own workspace.",inviteToWorkspaceContentLabel:"Invite To Workspace Content",newWorkspaceConfig:"New workspace config",otpSectionDescription:"Manage the user authentication using single time password over sms/email",otpSectionTitle:"OTP (One time password)",passwordSectionDescription:"Configurate the usage of password by users",passwordSectionTitle:"Password management",recaptcha2ClientKey:"Client key",recaptcha2ClientKeyHint:"Client key for reCAPTCHA2",recaptcha2ServerKey:"Server key",recaptcha2ServerKeyHint:"Server key for reCAPTCHA2",recaptchaSectionDescription:"Configurate the recaptcha 2 related options for the application.",recaptchaSectionTitle:"Recaptcha section",requireOtpOnSignin:"Require otp on signin",requireOtpOnSigninHint:"Forces passports such as phone and email to approve signin with 6 digit code, even if the passport has a password. OAuth is exempted.",requireOtpOnSignup:"Require otp on signup",requireOtpOnSignupHint:"It would force account creation to first make a one time password verification and then continue the process.",smsOtpContentHint:"Upon OTP text messages, this template will be used to create such text message, including the one time password code.",smsOtpContentLabel:"SMS Otp Content",title:"Workspace Config",totpSectionDescription:"Usage of the authenticator app as a second security step for the password.",totpSectionTitle:"TOTP (Time based Dual Factor)"}},dRe={workspaceConfigs:{archiveTitle:"Workspace configs",description:"Configurate how the workspaces work in terms of totp, forced otp, recaptcha and how the user can interact with the application.",editWorkspaceConfig:"Edit workspace config",emailOtpContentHint:"Upon one time password request for email, the content will be read to fill the message which will go to user.",emailOtpContentLabel:"Email Otp Content",enableOtp:"Enable otp",enableOtpHint:"Enables the one time password for the selfservice. It would allow email or phone numbers to bypass password and recieve a 6 digit code on their inbox or phone.",enableRecaptcha2:"Enable reCAPTCHA2",enableRecaptcha2Hint:"Enables reCAPTCHA2 from google integration into the project selfservice. You need to provide Server Key and Client Key to make it effective.",enableTotp:"Enable totp",enableTotpHint:"Enables time based otp for account creation and signin.",forcePasswordOnPhone:"Force password on phone",forcePasswordOnPhoneHint:"Force password on phone",forcePersonNameOnPhone:"Force person name on phone",forcePersonNameOnPhoneHint:"Force person name on phone",forceTotp:"Force totp",forceTotpHint:"Forces the totp for account creation. If an account doesn't have it, they need to setup before they can login.",generalEmailProviderHint:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",generalEmailProviderLabel:"General Email Provider",generalGsmProviderHint:"General service which would be used to send text messages (sms) using it's services or API.",generalGsmProviderLabel:"General Gsm Provider",inviteToWorkspaceContentHint:"This template would be used, as default when a user is inviting a third-party into their own workspace.",inviteToWorkspaceContentLabel:"Invite To Workspace Content",newWorkspaceConfig:"New workspace config",otpSectionDescription:"Manage the user authentication using single time password over sms/email",otpSectionTitle:"OTP (One time password)",passwordSectionDescription:"Configurate the usage of password by users",passwordSectionTitle:"Password management",recaptcha2ClientKey:"Client key",recaptcha2ClientKeyHint:"Client key for reCAPTCHA2",recaptcha2ServerKey:"Server key",recaptcha2ServerKeyHint:"Server key for reCAPTCHA2",recaptchaSectionDescription:"Configurate the recaptcha 2 related options for the application.",recaptchaSectionTitle:"Recaptcha section",requireOtpOnSignin:"Require otp on signin",requireOtpOnSigninHint:"Forces passports such as phone and email to approve signin with 6 digit code, even if the passport has a password. OAuth is exempted.",requireOtpOnSignup:"Require otp on signup",requireOtpOnSignupHint:"It would force account creation to first make a one time password verification and then continue the process.",smsOtpContentHint:"Upon one time password request for email, the content will be read to fill the message which will go to user.",smsOtpContentLabel:"SMS Otp Content",title:"Workspace Config",totpSectionDescription:"Usage of the authenticator app as a second security step for the password.",totpSectionTitle:"TOTP (Time based Dual Factor)"}},HF={...cRe,$pl:dRe};function VF({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/gsm-providers".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.GsmProviderEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}VF.UKEY="*abac.GsmProviderEntity";const fRe=({form:e,isEditing:t})=>{const{values:n,setValues:r,setFieldValue:a,errors:i}=e,o=Kt(HF);return w.jsxs(w.Fragment,{children:[w.jsxs(Io,{title:o.workspaceConfigs.recaptchaSectionTitle,description:o.workspaceConfigs.recaptchaSectionDescription,children:[w.jsx(vl,{value:n.enableRecaptcha2,onChange:l=>a(La.Fields.enableRecaptcha2,l,!1),errorMessage:i.enableRecaptcha2,label:o.workspaceConfigs.enableRecaptcha2,hint:o.workspaceConfigs.enableRecaptcha2Hint}),w.jsx(In,{value:n.recaptcha2ServerKey,disabled:!n.enableRecaptcha2,onChange:l=>a(La.Fields.recaptcha2ServerKey,l,!1),errorMessage:i.recaptcha2ServerKey,label:o.workspaceConfigs.recaptcha2ServerKey,hint:o.workspaceConfigs.recaptcha2ServerKeyHint}),w.jsx(In,{value:n.recaptcha2ClientKey,disabled:!n.enableRecaptcha2,onChange:l=>a(La.Fields.recaptcha2ClientKey,l,!1),errorMessage:i.recaptcha2ClientKey,label:o.workspaceConfigs.recaptcha2ClientKey,hint:o.workspaceConfigs.recaptcha2ClientKeyHint})]}),w.jsxs(Io,{title:o.workspaceConfigs.otpSectionTitle,description:o.workspaceConfigs.otpSectionDescription,children:[w.jsx(vl,{value:n.enableOtp,onChange:l=>a(La.Fields.enableOtp,l,!1),errorMessage:i.enableOtp,label:o.workspaceConfigs.enableOtp,hint:o.workspaceConfigs.enableOtpHint}),w.jsx(vl,{value:n.requireOtpOnSignup,onChange:l=>a(La.Fields.requireOtpOnSignup,l,!1),errorMessage:i.requireOtpOnSignup,label:o.workspaceConfigs.requireOtpOnSignup,hint:o.workspaceConfigs.requireOtpOnSignupHint}),w.jsx(vl,{value:n.requireOtpOnSignin,onChange:l=>a(La.Fields.requireOtpOnSignin,l,!1),errorMessage:i.requireOtpOnSignin,label:o.workspaceConfigs.requireOtpOnSignin,hint:o.workspaceConfigs.requireOtpOnSigninHint})]}),w.jsxs(Io,{title:o.workspaceConfigs.totpSectionTitle,description:o.workspaceConfigs.totpSectionDescription,children:[w.jsx(vl,{value:n.enableTotp,onChange:l=>a(La.Fields.enableTotp,l,!1),errorMessage:i.enableTotp,label:o.workspaceConfigs.enableTotp,hint:o.workspaceConfigs.enableTotpHint}),w.jsx(vl,{value:n.forceTotp,onChange:l=>a(La.Fields.forceTotp,l,!1),errorMessage:i.forceTotp,label:o.workspaceConfigs.forceTotp,hint:o.workspaceConfigs.forceTotpHint})]}),w.jsxs(Io,{title:o.workspaceConfigs.passwordSectionTitle,description:o.workspaceConfigs.passwordSectionDescription,children:[w.jsx(vl,{value:n.forcePasswordOnPhone,onChange:l=>a(La.Fields.forcePasswordOnPhone,l,!1),errorMessage:i.forcePasswordOnPhone,label:o.workspaceConfigs.forcePasswordOnPhone,hint:o.workspaceConfigs.forcePasswordOnPhoneHint}),w.jsx(vl,{value:n.forcePersonNameOnPhone,onChange:l=>a(La.Fields.forcePersonNameOnPhone,l,!1),errorMessage:i.forcePersonNameOnPhone,label:o.workspaceConfigs.forcePersonNameOnPhone,hint:o.workspaceConfigs.forcePersonNameOnPhoneHint})]}),w.jsxs(Io,{title:o.workspaceConfigs.passwordSectionTitle,description:o.workspaceConfigs.passwordSectionDescription,children:[w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.generalEmailProviderId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.type} (${l.uniqueId})`,querySource:BF,errorMessage:i.generalEmailProviderId,label:o.workspaceConfigs.generalEmailProviderLabel,hint:o.workspaceConfigs.generalEmailProviderHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.generalGsmProviderId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.type} (${l.uniqueId})`,querySource:VF,errorMessage:i.generalGsmProviderId,label:o.workspaceConfigs.generalGsmProviderLabel,hint:o.workspaceConfigs.generalGsmProviderHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.inviteToWorkspaceContentId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.title})`,querySource:vS,errorMessage:i.inviteToWorkspaceContentId,label:o.workspaceConfigs.inviteToWorkspaceContentLabel,hint:o.workspaceConfigs.inviteToWorkspaceContentHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.emailOtpContentId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.title})`,querySource:vS,errorMessage:i.emailOtpContentId,label:o.workspaceConfigs.emailOtpContentLabel,hint:o.workspaceConfigs.emailOtpContentHint}),w.jsx(ca,{keyExtractor:l=>l.uniqueId,formEffect:{form:e,field:La.Fields.smsOtpContentId,beforeSet(l){return l.uniqueId}},fnLabelFormat:l=>`${l.title})`,querySource:vS,errorMessage:i.smsOtpContentId,label:o.workspaceConfigs.smsOtpContentLabel,hint:o.workspaceConfigs.smsOtpContentHint})]})]})},pRe=({data:e})=>{const t=Kt(HF),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=Lee({query:{uniqueId:r}}),l=uRe({queryClient:a});return w.jsx(Uo,{patchHook:l,getSingleHook:o,disableOnGetFailed:!0,forceEdit:!0,onCancel:()=>{n.goBackOrDefault(La.Navigation.single(void 0,i))},onFinishUriResolver:(u,d)=>{var f;return La.Navigation.single((f=u.data)==null?void 0:f.uniqueId,d)},customClass:"w-100",Form:fRe,onEditTitle:t.workspaceConfigs.editWorkspaceConfig,onCreateTitle:t.workspaceConfigs.newWorkspaceConfig,data:e})},hRe=()=>{var r;const e=Lee({});var t=(r=e.query.data)==null?void 0:r.data;const n=Kt(HF);return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:a,router:i})=>{i.push(La.Navigation.edit(""))},noBack:!0,disableOnGetFailed:!0,getSingleHook:e,children:w.jsx(io,{title:n.workspaceConfigs.title,description:n.workspaceConfigs.description,entity:t,fields:[{elem:t==null?void 0:t.recaptcha2ServerKey,label:n.workspaceConfigs.recaptcha2ServerKey},{elem:t==null?void 0:t.recaptcha2ClientKey,label:n.workspaceConfigs.recaptcha2ClientKey},{elem:t==null?void 0:t.enableOtp,label:n.workspaceConfigs.enableOtp},{elem:t==null?void 0:t.enableRecaptcha2,label:n.workspaceConfigs.enableRecaptcha2},{elem:t==null?void 0:t.requireOtpOnSignin,label:n.workspaceConfigs.requireOtpOnSignin},{elem:t==null?void 0:t.requireOtpOnSignup,label:n.workspaceConfigs.requireOtpOnSignup},{elem:t==null?void 0:t.enableTotp,label:n.workspaceConfigs.enableTotp},{elem:t==null?void 0:t.forceTotp,label:n.workspaceConfigs.forceTotp},{elem:t==null?void 0:t.forcePasswordOnPhone,label:n.workspaceConfigs.forcePasswordOnPhone},{elem:t==null?void 0:t.forcePersonNameOnPhone,label:n.workspaceConfigs.forcePersonNameOnPhone},{elem:t==null?void 0:t.generalEmailProviderId,label:n.workspaceConfigs.generalEmailProviderLabel},{elem:t==null?void 0:t.generalGsmProviderId,label:n.workspaceConfigs.generalGsmProviderLabel},{elem:t==null?void 0:t.inviteToWorkspaceContentId,label:n.workspaceConfigs.inviteToWorkspaceContentLabel},{elem:t==null?void 0:t.emailOtpContentId,label:n.workspaceConfigs.emailOtpContentLabel},{elem:t==null?void 0:t.smsOtpContentId,label:n.workspaceConfigs.smsOtpContentLabel}]})})})};function mRe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(hRe,{}),path:"workspace-config"}),w.jsx(mt,{element:w.jsx(pRe,{}),path:"workspace-config/edit"})]})}function tf({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/roles".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.RoleEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}tf.UKEY="*abac.RoleEntity";const gRe=({form:e,isEditing:t})=>{const{values:n,setValues:r}=e,{options:a}=R.useContext(nt),i=At();return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:n.uniqueId,onChange:o=>e.setFieldValue(Qi.Fields.uniqueId,o,!1),errorMessage:e.errors.uniqueId,label:i.wokspaces.workspaceTypeUniqueId,autoFocus:!t,hint:i.wokspaces.workspaceTypeUniqueIdHint}),w.jsx(In,{value:n.title,onChange:o=>e.setFieldValue(Qi.Fields.title,o,!1),errorMessage:e.errors.title,label:i.wokspaces.workspaceTypeTitle,autoFocus:!t,hint:i.wokspaces.workspaceTypeTitleHint}),w.jsx(In,{value:n.slug,onChange:o=>e.setFieldValue(Qi.Fields.slug,o,!1),errorMessage:e.errors.slug,label:i.wokspaces.workspaceTypeSlug,hint:i.wokspaces.workspaceTypeSlugHint}),w.jsx(ca,{label:i.wokspaces.invite.role,hint:i.wokspaces.invite.roleHint,fnLabelFormat:o=>o.name,querySource:tf,formEffect:{form:e,field:Qi.Fields.role$},errorMessage:e.errors.roleId}),w.jsx(qF,{value:n.description,onChange:o=>e.setFieldValue(Qi.Fields.description,o,!1),errorMessage:e.errors.description,label:i.wokspaces.typeDescription,hint:i.wokspaces.typeDescriptionHint})]})};function Fee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/workspace-type/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.WorkspaceTypeEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function vRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace-type".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.WorkspaceTypeEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function yRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace-type".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceTypeEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const L5=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a,t:i}=Dr({data:e}),o=Fee({query:{uniqueId:n}}),l=vRe({queryClient:r}),u=yRe({queryClient:r});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{t.goBackOrDefault(`/${a}/workspace-types`)},onFinishUriResolver:(d,f)=>{var g;return`/${f}/workspace-type/${(g=d.data)==null?void 0:g.uniqueId}`},Form:gRe,onEditTitle:i.fb.editWorkspaceType,onCreateTitle:i.fb.newWorkspaceType,data:e})};function bRe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/workspace-type".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.WorkspaceTypeEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.WorkspaceTypeEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function jee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/workspace-types".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.WorkspaceTypeEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}jee.UKEY="*abac.WorkspaceTypeEntity";const wRe=e=>[{name:"uniqueId",title:e.table.uniqueId,width:200},{name:"title",title:e.wokspaces.title,width:200,getCellValue:t=>t.title},{name:"slug",slug:e.wokspaces.slug,width:200,getCellValue:t=>t.slug}],SRe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:wRe(e),queryHook:jee,uniqueIdHrefHandler:t=>Qi.Navigation.single(t),deleteHook:bRe})})},ERe=()=>{const e=At(),t=xr();return sr(),w.jsx(w.Fragment,{children:w.jsx(Fo,{newEntityHandler:()=>{t.push(Qi.Navigation.create())},pageTitle:e.fbMenu.workspaceTypes,children:w.jsx(SRe,{})})})},TRe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Fee({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return hh((a==null?void 0:a.title)||""),w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:()=>{e.push(Qi.Navigation.edit(n))},getSingleHook:r,children:w.jsx(io,{entity:a,fields:[{label:t.wokspaces.slug,elem:a==null?void 0:a.slug}]})})})};function CRe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(L5,{}),path:Qi.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(L5,{}),path:Qi.Navigation.Redit}),w.jsx(mt,{element:w.jsx(TRe,{}),path:Qi.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(ERe,{}),path:Qi.Navigation.Rquery})]})}function kRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.WorkspaceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function Uee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/workspace/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.WorkspaceEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function xRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const _Re=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a}=e,i=At();return w.jsx(w.Fragment,{children:w.jsx(In,{value:n.name,autoFocus:!t,onChange:o=>r(yi.Fields.name,o,!1),errorMessage:a.name,label:i.wokspaces.workspaceName,hint:i.wokspaces.workspaceNameHint})})},F5=({data:e})=>{const t=At(),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=Uee({query:{uniqueId:r}}),l=kRe({queryClient:a}),u=xRe({queryClient:a});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{n.goBackOrDefault(yi.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return yi.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:_Re,onEditTitle:t.wokspaces.editWorkspae,onCreateTitle:t.wokspaces.createNewWorkspace,data:e})},ORe=({row:e,uniqueIdHrefHandler:t,columns:n})=>{const r=At();return w.jsx(w.Fragment,{children:(e.children||[]).map(a=>w.jsxs("tr",{children:[w.jsx("td",{}),w.jsx("td",{}),n(r).map(i=>{let o=a.getCellValue?a.getCellValue(e):a[i.name];return i.name==="uniqueId"?w.jsx("td",{children:w.jsx(kl,{href:t&&t(o),children:o})}):w.jsx("td",{children:o})})]}))})};function Bee({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/cte-workspaces".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.WorkspaceEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Bee.UKEY="*abac.WorkspaceEntity";const j5=e=>[{name:yi.Fields.uniqueId,title:e.table.uniqueId,width:100},{name:yi.Fields.name,title:e.wokspaces.name,width:200}],RRe=()=>{const e=At(),t=n=>yi.Navigation.single(n);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:j5(e),queryHook:Bee,onRecordsDeleted:({queryClient:n})=>{n.invalidateQueries("*fireback.UserRoleWorkspace"),n.invalidateQueries("*fireback.WorkspaceEntity")},RowDetail:n=>w.jsx(ORe,{...n,columns:j5,uniqueIdHref:!0,Handler:t}),uniqueIdHrefHandler:t})})},PRe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{pageTitle:e.fbMenu.workspaces,newEntityHandler:({locale:t,router:n})=>{n.push(yi.Navigation.create())},children:w.jsx(RRe,{})})})},ARe=()=>{var i;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Uee({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return hh((a==null?void 0:a.name)||""),w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:()=>{e.push(yi.Navigation.edit(n))},getSingleHook:r,children:w.jsx(io,{entity:a,fields:[{label:t.wokspaces.name,elem:a==null?void 0:a.name}]})})})};function NRe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(F5,{}),path:yi.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(F5,{}),path:yi.Navigation.Redit}),w.jsx(mt,{element:w.jsx(ARe,{}),path:yi.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(PRe,{}),path:yi.Navigation.Rquery})]})}const MRe={gsmProviders:{apiKey:"Api key",apiKeyHint:"Api key",archiveTitle:"Gsm providers",editGsmProvider:"Edit gsm provider",invokeBody:"Invoke body",invokeBodyHint:"Invoke body",invokeUrl:"Invoke url",invokeUrlHint:"Invoke url",mainSenderNumber:"Main sender number",mainSenderNumberHint:"Main sender number",newGsmProvider:"New gsm provider",type:"Type",typeHint:"Type"}},IRe={gsmProviders:{apiKey:"Api key",apiKeyHint:"Api key",archiveTitle:"Gsm providers",editGsmProvider:"Edit gsm provider",invokeBody:"Invoke body",invokeBodyHint:"Invoke body",invokeUrl:"Invoke url",invokeUrlHint:"Invoke url",mainSenderNumber:"Main sender number",mainSenderNumberHint:"Main sender number",newGsmProvider:"New gsm provider",type:"Type",typeHint:"Type"}},ME={...MRe,$pl:IRe},DRe=e=>[{name:"uniqueId",title:"uniqueId",width:200},{name:ua.Fields.apiKey,title:e.gsmProviders.apiKey,width:100},{name:ua.Fields.mainSenderNumber,title:e.gsmProviders.mainSenderNumber,width:100},{name:ua.Fields.type,title:e.gsmProviders.type,width:100},{name:ua.Fields.invokeUrl,title:e.gsmProviders.invokeUrl,width:100},{name:ua.Fields.invokeBody,title:e.gsmProviders.invokeBody,width:100}];function $Re(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/gsm-provider".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.GsmProviderEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.GsmProviderEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const LRe=()=>{const e=Kt(ME);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:DRe(e),queryHook:VF,uniqueIdHrefHandler:t=>ua.Navigation.single(t),deleteHook:$Re})})},FRe=()=>{const e=Kt(ME);return w.jsx(Fo,{pageTitle:e.gsmProviders.archiveTitle,newEntityHandler:({locale:t,router:n})=>{n.push(ua.Navigation.create())},children:w.jsx(LRe,{})})},jRe=({form:e,isEditing:t})=>{const{options:n}=R.useContext(nt),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Bs([{uniqueId:"terminal",title:"Terminal"},{uniqueId:"url",title:"Url"}]),u=Kt(ME);return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:r.apiKey,onChange:d=>i(ua.Fields.apiKey,d,!1),errorMessage:o.apiKey,label:u.gsmProviders.apiKey,hint:u.gsmProviders.apiKeyHint}),w.jsx(In,{value:r.mainSenderNumber,onChange:d=>i(ua.Fields.mainSenderNumber,d,!1),errorMessage:o.mainSenderNumber,label:u.gsmProviders.mainSenderNumber,hint:u.gsmProviders.mainSenderNumberHint}),w.jsx(ca,{querySource:l,value:r.type,fnLabelFormat:d=>d.title,keyExtractor:d=>d.uniqueId,onChange:d=>i(ua.Fields.type,d.uniqueId,!1),errorMessage:o.type,label:u.gsmProviders.type,hint:u.gsmProviders.typeHint}),w.jsx(In,{value:r.invokeUrl,onChange:d=>i(ua.Fields.invokeUrl,d,!1),errorMessage:o.invokeUrl,label:u.gsmProviders.invokeUrl,hint:u.gsmProviders.invokeUrlHint}),w.jsx(In,{value:r.invokeBody,onChange:d=>i(ua.Fields.invokeBody,d,!1),errorMessage:o.invokeBody,label:u.gsmProviders.invokeBody,hint:u.gsmProviders.invokeBodyHint})]})};function Wee({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/gsm-provider/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.GsmProviderEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function URe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/gsm-provider".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.GsmProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function BRe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/gsm-provider".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.GsmProviderEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const U5=({data:e})=>{const t=Kt(ME),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=Wee({query:{uniqueId:r}}),l=URe({queryClient:a}),u=BRe({queryClient:a});return w.jsx(Uo,{postHook:l,patchHook:u,getSingleHook:o,onCancel:()=>{n.goBackOrDefault(ua.Navigation.query(void 0,i))},onFinishUriResolver:(d,f)=>{var g;return ua.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:jRe,onEditTitle:t.gsmProviders.editGsmProvider,onCreateTitle:t.gsmProviders.newGsmProvider,data:e})},WRe=()=>{var a;const{uniqueId:e}=Dr({}),t=Wee({query:{uniqueId:e}});var n=(a=t.query.data)==null?void 0:a.data;const r=Kt(ME);return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:({locale:i,router:o})=>{o.push(ua.Navigation.edit(e))},getSingleHook:t,children:w.jsx(io,{entity:n,fields:[{elem:n==null?void 0:n.apiKey,label:r.gsmProviders.apiKey},{elem:n==null?void 0:n.mainSenderNumber,label:r.gsmProviders.mainSenderNumber},{elem:n==null?void 0:n.invokeUrl,label:r.gsmProviders.invokeUrl},{elem:n==null?void 0:n.invokeBody,label:r.gsmProviders.invokeBody}]})})})};function zRe(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(U5,{}),path:ua.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(WRe,{}),path:ua.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(U5,{}),path:ua.Navigation.Redit}),w.jsx(mt,{element:w.jsx(FRe,{}),path:ua.Navigation.Rquery})]})}function qRe(){const e=a_e(),t=f_e(),n=x_e(),r=zRe(),a=D_e(),i=V_e(),o=lRe(),l=mRe(),u=CRe(),d=NRe(),f=KOe(),g=TOe();return w.jsxs(mt,{path:"manage",children:[e,t,g,n,a,i,o,r,l,u,d,f]})}const HRe=()=>w.jsxs("div",{children:[w.jsx("h1",{className:"mt-4",children:"Dashboard"}),w.jsx("p",{children:"Welcome to the dashboard. You can see what's going on here."})]}),GF=R.createContext({});function YF(e){const t=R.useRef(null);return t.current===null&&(t.current=e()),t.current}const KF=typeof window<"u",zee=KF?R.useLayoutEffect:R.useEffect,E_=R.createContext(null);function XF(e,t){e.indexOf(t)===-1&&e.push(t)}function QF(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ud=(e,t,n)=>n>t?t:n{};const Bd={},qee=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Hee(e){return typeof e=="object"&&e!==null}const Vee=e=>/^0[^.\s]+$/u.test(e);function ZF(e){let t;return()=>(t===void 0&&(t=e()),t)}const _l=e=>e,VRe=(e,t)=>n=>t(e(n)),IE=(...e)=>e.reduce(VRe),YS=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class ej{constructor(){this.subscriptions=[]}add(t){return XF(this.subscriptions,t),()=>QF(this.subscriptions,t)}notify(t,n,r){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,r);else for(let i=0;ie*1e3,Tc=e=>e/1e3;function Gee(e,t){return t?e*(1e3/t):0}const Yee=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,GRe=1e-7,YRe=12;function KRe(e,t,n,r,a){let i,o,l=0;do o=t+(n-t)/2,i=Yee(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>GRe&&++lKRe(i,0,1,e,n);return i=>i===0||i===1?i:Yee(a(i),t,r)}const Kee=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Xee=e=>t=>1-e(1-t),Qee=DE(.33,1.53,.69,.99),tj=Xee(Qee),Jee=Kee(tj),Zee=e=>(e*=2)<1?.5*tj(e):.5*(2-Math.pow(2,-10*(e-1))),nj=e=>1-Math.sin(Math.acos(e)),ete=Xee(nj),tte=Kee(nj),XRe=DE(.42,0,1,1),QRe=DE(0,0,.58,1),nte=DE(.42,0,.58,1),JRe=e=>Array.isArray(e)&&typeof e[0]!="number",rte=e=>Array.isArray(e)&&typeof e[0]=="number",ZRe={linear:_l,easeIn:XRe,easeInOut:nte,easeOut:QRe,circIn:nj,circInOut:tte,circOut:ete,backIn:tj,backInOut:Jee,backOut:Qee,anticipate:Zee},ePe=e=>typeof e=="string",B5=e=>{if(rte(e)){JF(e.length===4);const[t,n,r,a]=e;return DE(t,n,r,a)}else if(ePe(e))return ZRe[e];return e},nk=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],W5={value:null};function tPe(e,t){let n=new Set,r=new Set,a=!1,i=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},u=0;function d(g){o.has(g)&&(f.schedule(g),e()),u++,g(l)}const f={schedule:(g,y=!1,h=!1)=>{const E=h&&a?n:r;return y&&o.add(g),E.has(g)||E.add(g),g},cancel:g=>{r.delete(g),o.delete(g)},process:g=>{if(l=g,a){i=!0;return}a=!0,[n,r]=[r,n],n.forEach(d),t&&W5.value&&W5.value.frameloop[t].push(u),u=0,n.clear(),a=!1,i&&(i=!1,f.process(g))}};return f}const nPe=40;function ate(e,t){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=nk.reduce((_,A)=>(_[A]=tPe(i,t?A:void 0),_),{}),{setup:l,read:u,resolveKeyframes:d,preUpdate:f,update:g,preRender:y,render:h,postRender:v}=o,E=()=>{const _=Bd.useManualTiming?a.timestamp:performance.now();n=!1,Bd.useManualTiming||(a.delta=r?1e3/60:Math.max(Math.min(_-a.timestamp,nPe),1)),a.timestamp=_,a.isProcessing=!0,l.process(a),u.process(a),d.process(a),f.process(a),g.process(a),y.process(a),h.process(a),v.process(a),a.isProcessing=!1,n&&t&&(r=!1,e(E))},T=()=>{n=!0,r=!0,a.isProcessing||e(E)};return{schedule:nk.reduce((_,A)=>{const P=o[A];return _[A]=(N,I=!1,L=!1)=>(n||T(),P.schedule(N,I,L)),_},{}),cancel:_=>{for(let A=0;A(Dk===void 0&&is.set(Fi.isProcessing||Bd.useManualTiming?Fi.timestamp:performance.now()),Dk),set:e=>{Dk=e,queueMicrotask(rPe)}},ite=e=>t=>typeof t=="string"&&t.startsWith(e),rj=ite("--"),aPe=ite("var(--"),aj=e=>aPe(e)?iPe.test(e.split("/*")[0].trim()):!1,iPe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,y0={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},KS={...y0,transform:e=>Ud(0,1,e)},rk={...y0,default:1},yS=e=>Math.round(e*1e5)/1e5,ij=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function oPe(e){return e==null}const sPe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,oj=(e,t)=>n=>!!(typeof n=="string"&&sPe.test(n)&&n.startsWith(e)||t&&!oPe(n)&&Object.prototype.hasOwnProperty.call(n,t)),ote=(e,t,n)=>r=>{if(typeof r!="string")return r;const[a,i,o,l]=r.match(ij);return{[e]:parseFloat(a),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},lPe=e=>Ud(0,255,e),ZP={...y0,transform:e=>Math.round(lPe(e))},rv={test:oj("rgb","red"),parse:ote("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ZP.transform(e)+", "+ZP.transform(t)+", "+ZP.transform(n)+", "+yS(KS.transform(r))+")"};function uPe(e){let t="",n="",r="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const VL={test:oj("#"),parse:uPe,transform:rv.transform},$E=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wp=$E("deg"),Cc=$E("%"),mn=$E("px"),cPe=$E("vh"),dPe=$E("vw"),z5={...Cc,parse:e=>Cc.parse(e)/100,transform:e=>Cc.transform(e*100)},_b={test:oj("hsl","hue"),parse:ote("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Cc.transform(yS(t))+", "+Cc.transform(yS(n))+", "+yS(KS.transform(r))+")"},Ga={test:e=>rv.test(e)||VL.test(e)||_b.test(e),parse:e=>rv.test(e)?rv.parse(e):_b.test(e)?_b.parse(e):VL.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?rv.transform(e):_b.transform(e),getAnimatableNone:e=>{const t=Ga.parse(e);return t.alpha=0,Ga.transform(t)}},fPe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function pPe(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ij))==null?void 0:t.length)||0)+(((n=e.match(fPe))==null?void 0:n.length)||0)>0}const ste="number",lte="color",hPe="var",mPe="var(",q5="${}",gPe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function XS(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},a=[];let i=0;const l=t.replace(gPe,u=>(Ga.test(u)?(r.color.push(i),a.push(lte),n.push(Ga.parse(u))):u.startsWith(mPe)?(r.var.push(i),a.push(hPe),n.push(u)):(r.number.push(i),a.push(ste),n.push(parseFloat(u))),++i,q5)).split(q5);return{values:n,split:l,indexes:r,types:a}}function ute(e){return XS(e).values}function cte(e){const{split:t,types:n}=XS(e),r=t.length;return a=>{let i="";for(let o=0;otypeof e=="number"?0:Ga.test(e)?Ga.getAnimatableNone(e):e;function yPe(e){const t=ute(e);return cte(e)(t.map(vPe))}const sh={test:pPe,parse:ute,createTransformer:cte,getAnimatableNone:yPe};function eA(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function bPe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,i=0,o=0;if(!t)a=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,u=2*n-l;a=eA(u,l,e+1/3),i=eA(u,l,e),o=eA(u,l,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function xx(e,t){return n=>n>0?t:e}const da=(e,t,n)=>e+(t-e)*n,tA=(e,t,n)=>{const r=e*e,a=n*(t*t-r)+r;return a<0?0:Math.sqrt(a)},wPe=[VL,rv,_b],SPe=e=>wPe.find(t=>t.test(e));function H5(e){const t=SPe(e);if(!t)return!1;let n=t.parse(e);return t===_b&&(n=bPe(n)),n}const V5=(e,t)=>{const n=H5(e),r=H5(t);if(!n||!r)return xx(e,t);const a={...n};return i=>(a.red=tA(n.red,r.red,i),a.green=tA(n.green,r.green,i),a.blue=tA(n.blue,r.blue,i),a.alpha=da(n.alpha,r.alpha,i),rv.transform(a))},GL=new Set(["none","hidden"]);function EPe(e,t){return GL.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function TPe(e,t){return n=>da(e,t,n)}function sj(e){return typeof e=="number"?TPe:typeof e=="string"?aj(e)?xx:Ga.test(e)?V5:xPe:Array.isArray(e)?dte:typeof e=="object"?Ga.test(e)?V5:CPe:xx}function dte(e,t){const n=[...e],r=n.length,a=e.map((i,o)=>sj(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in r)n[i]=r[i](a);return n}}function kPe(e,t){const n=[],r={color:0,var:0,number:0};for(let a=0;a{const n=sh.createTransformer(t),r=XS(e),a=XS(t);return r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length?GL.has(e)&&!a.values.length||GL.has(t)&&!r.values.length?EPe(e,t):IE(dte(kPe(r,a),a.values),n):xx(e,t)};function fte(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?da(e,t,n):sj(e)(e,t)}const _Pe=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>pa.update(t,n),stop:()=>oh(t),now:()=>Fi.isProcessing?Fi.timestamp:is.now()}},pte=(e,t,n=10)=>{let r="";const a=Math.max(Math.round(t/n),2);for(let i=0;i=_x?1/0:t}function OPe(e,t=100,n){const r=n({...e,keyframes:[0,t]}),a=Math.min(lj(r),_x);return{type:"keyframes",ease:i=>r.next(a*i).value/t,duration:Tc(a)}}const RPe=5;function hte(e,t,n){const r=Math.max(t-RPe,0);return Gee(n-e(r),t-r)}const wa={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},nA=.001;function PPe({duration:e=wa.duration,bounce:t=wa.bounce,velocity:n=wa.velocity,mass:r=wa.mass}){let a,i,o=1-t;o=Ud(wa.minDamping,wa.maxDamping,o),e=Ud(wa.minDuration,wa.maxDuration,Tc(e)),o<1?(a=d=>{const f=d*o,g=f*e,y=f-n,h=YL(d,o),v=Math.exp(-g);return nA-y/h*v},i=d=>{const g=d*o*e,y=g*n+n,h=Math.pow(o,2)*Math.pow(d,2)*e,v=Math.exp(-g),E=YL(Math.pow(d,2),o);return(-a(d)+nA>0?-1:1)*((y-h)*v)/E}):(a=d=>{const f=Math.exp(-d*e),g=(d-n)*e+1;return-nA+f*g},i=d=>{const f=Math.exp(-d*e),g=(n-d)*(e*e);return f*g});const l=5/e,u=NPe(a,i,l);if(e=Ec(e),isNaN(u))return{stiffness:wa.stiffness,damping:wa.damping,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:o*2*Math.sqrt(r*d),duration:e}}}const APe=12;function NPe(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function DPe(e){let t={velocity:wa.velocity,stiffness:wa.stiffness,damping:wa.damping,mass:wa.mass,isResolvedFromDuration:!1,...e};if(!G5(e,IPe)&&G5(e,MPe))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),a=r*r,i=2*Ud(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:wa.mass,stiffness:a,damping:i}}else{const n=PPe(e);t={...t,...n,mass:wa.mass},t.isResolvedFromDuration=!0}return t}function Ox(e=wa.visualDuration,t=wa.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:a}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:u,damping:d,mass:f,duration:g,velocity:y,isResolvedFromDuration:h}=DPe({...n,velocity:-Tc(n.velocity||0)}),v=y||0,E=d/(2*Math.sqrt(u*f)),T=o-i,C=Tc(Math.sqrt(u/f)),k=Math.abs(T)<5;r||(r=k?wa.restSpeed.granular:wa.restSpeed.default),a||(a=k?wa.restDelta.granular:wa.restDelta.default);let _;if(E<1){const P=YL(C,E);_=N=>{const I=Math.exp(-E*C*N);return o-I*((v+E*C*T)/P*Math.sin(P*N)+T*Math.cos(P*N))}}else if(E===1)_=P=>o-Math.exp(-C*P)*(T+(v+C*T)*P);else{const P=C*Math.sqrt(E*E-1);_=N=>{const I=Math.exp(-E*C*N),L=Math.min(P*N,300);return o-I*((v+E*C*T)*Math.sinh(L)+P*T*Math.cosh(L))/P}}const A={calculatedDuration:h&&g||null,next:P=>{const N=_(P);if(h)l.done=P>=g;else{let I=P===0?v:0;E<1&&(I=P===0?Ec(v):hte(_,P,N));const L=Math.abs(I)<=r,j=Math.abs(o-N)<=a;l.done=L&&j}return l.value=l.done?o:N,l},toString:()=>{const P=Math.min(lj(A),_x),N=pte(I=>A.next(P*I).value,P,30);return P+"ms "+N},toTransition:()=>{}};return A}Ox.applyToOptions=e=>{const t=OPe(e,100,Ox);return e.ease=t.ease,e.duration=Ec(t.duration),e.type="keyframes",e};function KL({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:o,min:l,max:u,restDelta:d=.5,restSpeed:f}){const g=e[0],y={done:!1,value:g},h=L=>l!==void 0&&Lu,v=L=>l===void 0?u:u===void 0||Math.abs(l-L)-E*Math.exp(-L/r),_=L=>C+k(L),A=L=>{const j=k(L),z=_(L);y.done=Math.abs(j)<=d,y.value=y.done?C:z};let P,N;const I=L=>{h(y.value)&&(P=L,N=Ox({keyframes:[y.value,v(y.value)],velocity:hte(_,L,y.value),damping:a,stiffness:i,restDelta:d,restSpeed:f}))};return I(0),{calculatedDuration:null,next:L=>{let j=!1;return!N&&P===void 0&&(j=!0,A(L),I(L)),P!==void 0&&L>=P?N.next(L-P):(!j&&A(L),y)}}}function $Pe(e,t,n){const r=[],a=n||Bd.mix||fte,i=e.length-1;for(let o=0;ot[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=$Pe(t,r,a),u=l.length,d=f=>{if(o&&f1)for(;gd(Ud(e[0],e[i-1],f)):d}function FPe(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=YS(0,t,r);e.push(da(n,1,a))}}function jPe(e){const t=[0];return FPe(t,e.length-1),t}function UPe(e,t){return e.map(n=>n*t)}function BPe(e,t){return e.map(()=>t||nte).splice(0,e.length-1)}function bS({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const a=JRe(r)?r.map(B5):B5(r),i={done:!1,value:t[0]},o=UPe(n&&n.length===t.length?n:jPe(t),e),l=LPe(o,t,{ease:Array.isArray(a)?a:BPe(t,a)});return{calculatedDuration:e,next:u=>(i.value=l(u),i.done=u>=e,i)}}const WPe=e=>e!==null;function uj(e,{repeat:t,repeatType:n="loop"},r,a=1){const i=e.filter(WPe),l=a<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const zPe={decay:KL,inertia:KL,tween:bS,keyframes:bS,spring:Ox};function mte(e){typeof e.type=="string"&&(e.type=zPe[e.type])}class cj{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const qPe=e=>e/100;class dj extends cj{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,a;const{motionValue:n}=this.options;n&&n.updatedAt!==is.now()&&this.tick(is.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(a=(r=this.options).onStop)==null||a.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;mte(t);const{type:n=bS,repeat:r=0,repeatDelay:a=0,repeatType:i,velocity:o=0}=t;let{keyframes:l}=t;const u=n||bS;u!==bS&&typeof l[0]!="number"&&(this.mixKeyframes=IE(qPe,fte(l[0],l[1])),l=[0,100]);const d=u({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-o})),d.calculatedDuration===null&&(d.calculatedDuration=lj(d));const{calculatedDuration:f}=d;this.calculatedDuration=f,this.resolvedDuration=f+a,this.totalDuration=this.resolvedDuration*(r+1)-a,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:a,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:f,repeat:g,repeatType:y,repeatDelay:h,type:v,onUpdate:E,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-a/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const C=this.currentTime-d*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?C<0:C>a;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let _=this.currentTime,A=r;if(g){const L=Math.min(this.currentTime,a)/l;let j=Math.floor(L),z=L%1;!z&&L>=1&&(z=1),z===1&&j--,j=Math.min(j,g+1),!!(j%2)&&(y==="reverse"?(z=1-z,h&&(z-=h/l)):y==="mirror"&&(A=o)),_=Ud(0,1,z)*l}const P=k?{done:!1,value:f[0]}:A.next(_);i&&(P.value=i(P.value));let{done:N}=P;!k&&u!==null&&(N=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return I&&v!==KL&&(P.value=uj(f,this.options,T,this.speed)),E&&E(P.value),I&&this.finish(),P}then(t,n){return this.finished.then(t,n)}get duration(){return Tc(this.calculatedDuration)}get time(){return Tc(this.currentTime)}set time(t){var n;t=Ec(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(is.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Tc(this.currentTime))}play(){var a,i;if(this.isStopped)return;const{driver:t=_Pe,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(a=this.options).onPlay)==null||i.call(a);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(is.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function HPe(e){for(let t=1;te*180/Math.PI,XL=e=>{const t=av(Math.atan2(e[1],e[0]));return QL(t)},VPe={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:XL,rotateZ:XL,skewX:e=>av(Math.atan(e[1])),skewY:e=>av(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},QL=e=>(e=e%360,e<0&&(e+=360),e),Y5=XL,K5=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),X5=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),GPe={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:K5,scaleY:X5,scale:e=>(K5(e)+X5(e))/2,rotateX:e=>QL(av(Math.atan2(e[6],e[5]))),rotateY:e=>QL(av(Math.atan2(-e[2],e[0]))),rotateZ:Y5,rotate:Y5,skewX:e=>av(Math.atan(e[4])),skewY:e=>av(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function JL(e){return e.includes("scale")?1:0}function ZL(e,t){if(!e||e==="none")return JL(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,a;if(n)r=GPe,a=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=VPe,a=l}if(!a)return JL(t);const i=r[t],o=a[1].split(",").map(KPe);return typeof i=="function"?i(o):o[i]}const YPe=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ZL(n,t)};function KPe(e){return parseFloat(e.trim())}const b0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],w0=new Set(b0),Q5=e=>e===y0||e===mn,XPe=new Set(["x","y","z"]),QPe=b0.filter(e=>!XPe.has(e));function JPe(e){const t=[];return QPe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Sv={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ZL(t,"x"),y:(e,{transform:t})=>ZL(t,"y")};Sv.translateX=Sv.x;Sv.translateY=Sv.y;const Ev=new Set;let e3=!1,t3=!1,n3=!1;function gte(){if(t3){const e=Array.from(Ev).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const a=JPe(r);a.length&&(n.set(r,a),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const a=n.get(r);a&&a.forEach(([i,o])=>{var l;(l=r.getValue(i))==null||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}t3=!1,e3=!1,Ev.forEach(e=>e.complete(n3)),Ev.clear()}function vte(){Ev.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(t3=!0)})}function ZPe(){n3=!0,vte(),gte(),n3=!1}class fj{constructor(t,n,r,a,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=a,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Ev.add(this),e3||(e3=!0,pa.read(vte),pa.resolveKeyframes(gte))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:a}=this;if(t[0]===null){const i=a==null?void 0:a.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,o);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=o),a&&i===void 0&&a.set(t[0])}HPe(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ev.delete(this)}cancel(){this.state==="scheduled"&&(Ev.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const eAe=e=>e.startsWith("--");function tAe(e,t,n){eAe(t)?e.style.setProperty(t,n):e.style[t]=n}const nAe=ZF(()=>window.ScrollTimeline!==void 0),rAe={};function aAe(e,t){const n=ZF(e);return()=>rAe[t]??n()}const yte=aAe(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),sS=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,J5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sS([0,.65,.55,1]),circOut:sS([.55,0,1,.45]),backIn:sS([.31,.01,.66,-.59]),backOut:sS([.33,1.53,.69,.99])};function bte(e,t){if(e)return typeof e=="function"?yte()?pte(e,t):"ease-out":rte(e)?sS(e):Array.isArray(e)?e.map(n=>bte(n,t)||J5.easeOut):J5[e]}function iAe(e,t,n,{delay:r=0,duration:a=300,repeat:i=0,repeatType:o="loop",ease:l="easeOut",times:u}={},d=void 0){const f={[t]:n};u&&(f.offset=u);const g=bte(l,a);Array.isArray(g)&&(f.easing=g);const y={delay:r,duration:a,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return d&&(y.pseudoElement=d),e.animate(f,y)}function wte(e){return typeof e=="function"&&"applyToOptions"in e}function oAe({type:e,...t}){return wte(e)&&yte()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class sAe extends cj{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:a,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,JF(typeof t.type!="string");const d=oAe(t);this.animation=iAe(n,r,a,d,i),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const f=uj(a,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(f):tAe(n,r,f),this.animation.cancel()}u==null||u(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Tc(Number(t))}get time(){return Tc(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ec(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&nAe()?(this.animation.timeline=t,_l):n(this)}}const Ste={anticipate:Zee,backInOut:Jee,circInOut:tte};function lAe(e){return e in Ste}function uAe(e){typeof e.ease=="string"&&lAe(e.ease)&&(e.ease=Ste[e.ease])}const Z5=10;class cAe extends sAe{constructor(t){uAe(t),mte(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:a,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new dj({...o,autoplay:!1}),u=Ec(this.finishedTime??this.time);n.setWithVelocity(l.sample(u-Z5).value,l.sample(u).value,Z5),l.stop()}}const eW=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(sh.test(e)||e==="0")&&!e.startsWith("url("));function dAe(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function mAe(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:a,damping:i,type:o}=e;if(!pj((d=t==null?void 0:t.owner)==null?void 0:d.current))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return hAe()&&n&&pAe.has(n)&&(n!=="transform"||!u)&&!l&&!r&&a!=="mirror"&&i!==0&&o!=="inertia"}const gAe=40;class vAe extends cj{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:o="loop",keyframes:l,name:u,motionValue:d,element:f,...g}){var v;super(),this.stop=()=>{var E,T;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),(T=this.keyframeResolver)==null||T.cancel()},this.createdAt=is.now();const y={autoplay:t,delay:n,type:r,repeat:a,repeatDelay:i,repeatType:o,name:u,motionValue:d,element:f,...g},h=(f==null?void 0:f.KeyframeResolver)||fj;this.keyframeResolver=new h(l,(E,T,C)=>this.onKeyframesResolved(E,T,y,!C),u,d,f),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,a){this.keyframeResolver=void 0;const{name:i,type:o,velocity:l,delay:u,isHandoff:d,onUpdate:f}=r;this.resolvedAt=is.now(),fAe(t,i,o,l)||((Bd.instantAnimations||!u)&&(f==null||f(uj(t,r,n))),t[0]=t[t.length-1],r.duration=0,r.repeat=0);const y={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>gAe?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!d&&mAe(y)?new cAe({...y,element:y.motionValue.owner.current}):new dj(y);h.finished.then(()=>this.notifyFinished()).catch(_l),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),ZPe()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const yAe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function bAe(e){const t=yAe.exec(e);if(!t)return[,];const[,n,r,a]=t;return[`--${n??r}`,a]}function Ete(e,t,n=1){const[r,a]=bAe(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return qee(o)?parseFloat(o):o}return aj(a)?Ete(a,t,n+1):a}function hj(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const Tte=new Set(["width","height","top","left","right","bottom",...b0]),wAe={test:e=>e==="auto",parse:e=>e},Cte=e=>t=>t.test(e),kte=[y0,mn,Cc,Wp,dPe,cPe,wAe],tW=e=>kte.find(Cte(e));function SAe(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Vee(e):!0}const EAe=new Set(["brightness","contrast","saturate","opacity"]);function TAe(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ij)||[];if(!r)return e;const a=n.replace(r,"");let i=EAe.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+a+")"}const CAe=/\b([a-z-]*)\(.*?\)/gu,r3={...sh,getAnimatableNone:e=>{const t=e.match(CAe);return t?t.map(TAe).join(" "):e}},nW={...y0,transform:Math.round},kAe={rotate:Wp,rotateX:Wp,rotateY:Wp,rotateZ:Wp,scale:rk,scaleX:rk,scaleY:rk,scaleZ:rk,skew:Wp,skewX:Wp,skewY:Wp,distance:mn,translateX:mn,translateY:mn,translateZ:mn,x:mn,y:mn,z:mn,perspective:mn,transformPerspective:mn,opacity:KS,originX:z5,originY:z5,originZ:mn},mj={borderWidth:mn,borderTopWidth:mn,borderRightWidth:mn,borderBottomWidth:mn,borderLeftWidth:mn,borderRadius:mn,radius:mn,borderTopLeftRadius:mn,borderTopRightRadius:mn,borderBottomRightRadius:mn,borderBottomLeftRadius:mn,width:mn,maxWidth:mn,height:mn,maxHeight:mn,top:mn,right:mn,bottom:mn,left:mn,padding:mn,paddingTop:mn,paddingRight:mn,paddingBottom:mn,paddingLeft:mn,margin:mn,marginTop:mn,marginRight:mn,marginBottom:mn,marginLeft:mn,backgroundPositionX:mn,backgroundPositionY:mn,...kAe,zIndex:nW,fillOpacity:KS,strokeOpacity:KS,numOctaves:nW},xAe={...mj,color:Ga,backgroundColor:Ga,outlineColor:Ga,fill:Ga,stroke:Ga,borderColor:Ga,borderTopColor:Ga,borderRightColor:Ga,borderBottomColor:Ga,borderLeftColor:Ga,filter:r3,WebkitFilter:r3},xte=e=>xAe[e];function _te(e,t){let n=xte(e);return n!==r3&&(n=sh),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const _Ae=new Set(["auto","none","0"]);function OAe(e,t,n){let r=0,a;for(;r{t.getValue(u).set(d)}),this.resolveNoneKeyframes()}}function PAe(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const a=(n==null?void 0:n[e])??r.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const Ote=(e,t)=>t&&typeof e=="number"?t.transform(e):e,rW=30,AAe=e=>!isNaN(parseFloat(e));class NAe{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,a=!0)=>{var o,l;const i=is.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty();a&&((l=this.events.renderRequest)==null||l.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=is.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=AAe(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ej);const r=this.events[t].add(n);return t==="change"?()=>{r(),pa.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=is.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>rW)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,rW);return Gee(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function r0(e,t){return new NAe(e,t)}const{schedule:gj}=ate(queueMicrotask,!1),vu={x:!1,y:!1};function Rte(){return vu.x||vu.y}function MAe(e){return e==="x"||e==="y"?vu[e]?null:(vu[e]=!0,()=>{vu[e]=!1}):vu.x||vu.y?null:(vu.x=vu.y=!0,()=>{vu.x=vu.y=!1})}function Pte(e,t){const n=PAe(e),r=new AbortController,a={passive:!0,...t,signal:r.signal};return[n,a,()=>r.abort()]}function aW(e){return!(e.pointerType==="touch"||Rte())}function IAe(e,t,n={}){const[r,a,i]=Pte(e,n),o=l=>{if(!aW(l))return;const{target:u}=l,d=t(u,l);if(typeof d!="function"||!u)return;const f=g=>{aW(g)&&(d(g),u.removeEventListener("pointerleave",f))};u.addEventListener("pointerleave",f,a)};return r.forEach(l=>{l.addEventListener("pointerenter",o,a)}),i}const Ate=(e,t)=>t?e===t?!0:Ate(e,t.parentElement):!1,vj=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,DAe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $Ae(e){return DAe.has(e.tagName)||e.tabIndex!==-1}const $k=new WeakSet;function iW(e){return t=>{t.key==="Enter"&&e(t)}}function rA(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const LAe=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=iW(()=>{if($k.has(n))return;rA(n,"down");const a=iW(()=>{rA(n,"up")}),i=()=>rA(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function oW(e){return vj(e)&&!Rte()}function FAe(e,t,n={}){const[r,a,i]=Pte(e,n),o=l=>{const u=l.currentTarget;if(!oW(l))return;$k.add(u);const d=t(u,l),f=(h,v)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",y),$k.has(u)&&$k.delete(u),oW(h)&&typeof d=="function"&&d(h,{success:v})},g=h=>{f(h,u===window||u===document||n.useGlobalTarget||Ate(u,h.target))},y=h=>{f(h,!1)};window.addEventListener("pointerup",g,a),window.addEventListener("pointercancel",y,a)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,a),pj(l)&&(l.addEventListener("focus",d=>LAe(d,a)),!$Ae(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function Nte(e){return Hee(e)&&"ownerSVGElement"in e}function jAe(e){return Nte(e)&&e.tagName==="svg"}const eo=e=>!!(e&&e.getVelocity),UAe=[...kte,Ga,sh],BAe=e=>UAe.find(Cte(e)),yj=R.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class WAe extends R.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,a=pj(r)&&r.offsetWidth||0,i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft,i.right=a-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function zAe({children:e,isPresent:t,anchorX:n}){const r=R.useId(),a=R.useRef(null),i=R.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=R.useContext(yj);return R.useInsertionEffect(()=>{const{width:l,height:u,top:d,left:f,right:g}=i.current;if(t||!a.current||!l||!u)return;const y=n==="left"?`left: ${f}`:`right: ${g}`;a.current.dataset.motionPopId=r;const h=document.createElement("style");return o&&(h.nonce=o),document.head.appendChild(h),h.sheet&&h.sheet.insertRule(` [data-motion-pop-id="${r}"] { position: absolute !important; width: ${l}px !important; @@ -445,30 +445,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${y}px !important; top: ${d}px !important; } - `),()=>{document.head.contains(p)&&document.head.removeChild(p)}},[t]),w.jsx(rAe,{isPresent:t,childRef:a,sizeRef:i,children:R.cloneElement(e,{ref:a})})}const iAe=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:a,presenceAffectsLayout:i,mode:o,anchorX:l})=>{const u=sF(oAe),d=R.useId();let f=!0,g=R.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:a,onExitComplete:y=>{u.set(y,!0);for(const p of u.values())if(!p)return;r&&r()},register:y=>(u.set(y,!1),()=>u.delete(y))}),[n,u,r]);return i&&f&&(g={...g}),R.useMemo(()=>{u.forEach((y,p)=>u.set(p,!1))},[n]),R.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),o==="popLayout"&&(e=w.jsx(aAe,{isPresent:n,anchorX:l,children:e})),w.jsx(Bx.Provider,{value:g,children:e})};function oAe(){return new Map}function Vee(e=!0){const t=R.useContext(Bx);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:a}=t,i=R.useId();R.useEffect(()=>{if(e)return a(i)},[e]);const o=R.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const EC=e=>e.key||"";function w5(e){const t=[];return R.Children.forEach(e,n=>{R.isValidElement(n)&&t.push(n)}),t}const sAe=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:a=!0,mode:i="sync",propagate:o=!1,anchorX:l="left"})=>{const[u,d]=Vee(o),f=R.useMemo(()=>w5(e),[e]),g=o&&!u?[]:f.map(EC),y=R.useRef(!0),p=R.useRef(f),v=sF(()=>new Map),[E,T]=R.useState(f),[C,k]=R.useState(f);nee(()=>{y.current=!1,p.current=f;for(let P=0;P{const N=EC(P),I=o&&!u?!1:f===C||g.includes(N),L=()=>{if(v.has(N))v.set(N,!0);else return;let j=!0;v.forEach(z=>{z||(j=!1)}),j&&(A==null||A(),k(p.current),o&&(d==null||d()),r&&r())};return w.jsx(iAe,{isPresent:I,initial:!y.current||n?void 0:!1,custom:t,presenceAffectsLayout:a,mode:i,onExitComplete:I?void 0:L,anchorX:l,children:P},N)})})},Gee=R.createContext({strict:!1}),S5={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Rb={};for(const e in S5)Rb[e]={isEnabled:t=>S5[e].some(n=>!!t[n])};function lAe(e){for(const t in e)Rb[t]={...Rb[t],...e[t]}}const uAe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Gk(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||uAe.has(e)}let Yee=e=>!Gk(e);function cAe(e){typeof e=="function"&&(Yee=t=>t.startsWith("on")?!Gk(t):e(t))}try{cAe(require("@emotion/is-prop-valid").default)}catch{}function dAe(e,t,n){const r={};for(const a in e)a==="values"&&typeof e.values=="object"||(Yee(a)||n===!0&&Gk(a)||!t&&!Gk(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}function fAe(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,a)=>a==="create"?e:(t.has(a)||t.set(a,e(a)),t.get(a))})}const Wx=R.createContext({});function zx(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function SS(e){return typeof e=="string"||Array.isArray(e)}const NF=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],MF=["initial",...NF];function qx(e){return zx(e.animate)||MF.some(t=>SS(e[t]))}function Kee(e){return!!(qx(e)||e.variants)}function pAe(e,t){if(qx(e)){const{initial:n,animate:r}=e;return{initial:n===!1||SS(n)?n:void 0,animate:SS(r)?r:void 0}}return e.inherit!==!1?t:{}}function mAe(e){const{initial:t,animate:n}=pAe(e,R.useContext(Wx));return R.useMemo(()=>({initial:t,animate:n}),[E5(t),E5(n)])}function E5(e){return Array.isArray(e)?e.join(" "):e}const hAe=Symbol.for("motionComponentSymbol");function eb(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gAe(e,t,n){return R.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):eb(n)&&(n.current=r))},[t])}const IF=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),vAe="framerAppearId",Xee="data-"+IF(vAe),Qee=R.createContext({});function yAe(e,t,n,r,a){var E,T;const{visualElement:i}=R.useContext(Wx),o=R.useContext(Gee),l=R.useContext(Bx),u=R.useContext(AF).reducedMotion,d=R.useRef(null);r=r||o.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=d.current,g=R.useContext(Qee);f&&!f.projection&&a&&(f.type==="html"||f.type==="svg")&&bAe(d.current,n,a,g);const y=R.useRef(!1);R.useInsertionEffect(()=>{f&&y.current&&f.update(n,l)});const p=n[Xee],v=R.useRef(!!p&&!((E=window.MotionHandoffIsComplete)!=null&&E.call(window,p))&&((T=window.MotionHasOptimisedAnimation)==null?void 0:T.call(window,p)));return nee(()=>{f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),RF.render(f.render),v.current&&f.animationState&&f.animationState.animateChanges())}),R.useEffect(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,p)}),v.current=!1))}),f}function bAe(e,t,n,r){const{layoutId:a,layout:i,drag:o,dragConstraints:l,layoutScroll:u,layoutRoot:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Zee(e.parent)),e.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:!!o||l&&eb(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:u,layoutRoot:d})}function Zee(e){if(e)return e.options.allowProjection!==!1?e.projection:Zee(e.parent)}function wAe({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:a}){e&&lAe(e);function i(l,u){let d;const f={...R.useContext(AF),...l,layoutId:SAe(l)},{isStatic:g}=f,y=mAe(l),p=r(l,g);if(!g&&lF){EAe();const v=TAe(f);d=v.MeasureLayout,y.visualElement=yAe(a,p,f,t,v.ProjectionNode)}return w.jsxs(Wx.Provider,{value:y,children:[d&&y.visualElement?w.jsx(d,{visualElement:y.visualElement,...f}):null,n(a,l,gAe(p,y.visualElement,u),p,g,y.visualElement)]})}i.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const o=R.forwardRef(i);return o[hAe]=a,o}function SAe({layoutId:e}){const t=R.useContext(oF).id;return t&&e!==void 0?t+"-"+e:e}function EAe(e,t){R.useContext(Gee).strict}function TAe(e){const{drag:t,layout:n}=Rb;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const ES={};function CAe(e){for(const t in e)ES[t]=e[t],gF(t)&&(ES[t].isCSSVariable=!0)}function Jee(e,{layout:t,layoutId:n}){return Hb.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ES[e]||e==="opacity")}const kAe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xAe=qb.length;function _Ae(e,t,n){let r="",a=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}});function ete(e,t,n){for(const r in t)!Ji(t[r])&&!Jee(r,n)&&(e[r]=t[r])}function OAe({transformTemplate:e},t){return R.useMemo(()=>{const n=$F();return DF(n,t,e),Object.assign({},n.vars,n.style)},[t])}function RAe(e,t){const n=e.style||{},r={};return ete(r,n,e),Object.assign(r,OAe(e,t)),r}function PAe(e,t){const n={},r=RAe(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const AAe={offset:"stroke-dashoffset",array:"stroke-dasharray"},NAe={offset:"strokeDashoffset",array:"strokeDasharray"};function MAe(e,t,n=1,r=0,a=!0){e.pathLength=1;const i=a?AAe:NAe;e[i.offset]=hn.transform(-r);const o=hn.transform(t),l=hn.transform(n);e[i.array]=`${o} ${l}`}function tte(e,{attrX:t,attrY:n,attrScale:r,pathLength:a,pathSpacing:i=1,pathOffset:o=0,...l},u,d,f){if(DF(e,l,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:y}=e;g.transform&&(y.transform=g.transform,delete g.transform),(y.transform||g.transformOrigin)&&(y.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),y.transform&&(y.transformBox=(f==null?void 0:f.transformBox)??"fill-box",delete g.transformBox),t!==void 0&&(g.x=t),n!==void 0&&(g.y=n),r!==void 0&&(g.scale=r),a!==void 0&&MAe(g,a,i,o,!1)}const nte=()=>({...$F(),attrs:{}}),rte=e=>typeof e=="string"&&e.toLowerCase()==="svg";function IAe(e,t,n,r){const a=R.useMemo(()=>{const i=nte();return tte(i,t,rte(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};ete(i,e.style,e),a.style={...i,...a.style}}return a}const DAe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function LF(e){return typeof e!="string"||e.includes("-")?!1:!!(DAe.indexOf(e)>-1||/[A-Z]/u.test(e))}function $Ae(e=!1){return(n,r,a,{latestValues:i},o)=>{const u=(LF(n)?IAe:PAe)(r,i,o,n),d=dAe(r,typeof n=="string",e),f=n!==R.Fragment?{...d,...u,ref:a}:{},{children:g}=r,y=R.useMemo(()=>Ji(g)?g.get():g,[g]);return R.createElement(n,{...f,children:y})}}function T5(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function FF(e,t,n,r){if(typeof t=="function"){const[a,i]=T5(r);t=t(n!==void 0?n:e.custom,a,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,i]=T5(r);t=t(n!==void 0?n:e.custom,a,i)}return t}function tk(e){return Ji(e)?e.get():e}function LAe({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,a){return{latestValues:FAe(n,r,a,e),renderState:t()}}const ate=e=>(t,n)=>{const r=R.useContext(Wx),a=R.useContext(Bx),i=()=>LAe(e,t,r,a);return n?i():sF(i)};function FAe(e,t,n,r){const a={},i=r(e,{});for(const y in i)a[y]=tk(i[y]);let{initial:o,animate:l}=e;const u=qx(e),d=Kee(e);t&&d&&!u&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let f=n?n.initial===!1:!1;f=f||o===!1;const g=f?l:o;if(g&&typeof g!="boolean"&&!zx(g)){const y=Array.isArray(g)?g:[g];for(let p=0;pArray.isArray(e);function WAe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ob(n))}function zAe(e){return hL(e)?e[e.length-1]||0:e}function qAe(e,t){const n=TS(e,t);let{transitionEnd:r={},transition:a={},...i}=n||{};i={...i,...r};for(const o in i){const l=zAe(i[o]);WAe(e,o,l)}}function HAe(e){return!!(Ji(e)&&e.add)}function gL(e,t){const n=e.getValue("willChange");if(HAe(n))return n.add(t);if(!n&&Md.WillChange){const r=new Md.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function ote(e){return e.props[Xee]}const VAe=e=>e!==null;function GAe(e,{repeat:t,repeatType:n="loop"},r){const a=e.filter(VAe),i=t&&n!=="loop"&&t%2===1?0:a.length-1;return a[i]}const YAe={type:"spring",stiffness:500,damping:25,restSpeed:10},KAe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),XAe={type:"keyframes",duration:.8},QAe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ZAe=(e,{keyframes:t})=>t.length>2?XAe:Hb.has(e)?e.startsWith("scale")?KAe(t[1]):YAe:QAe;function JAe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:a,repeat:i,repeatType:o,repeatDelay:l,from:u,elapsed:d,...f}){return!!Object.keys(f).length}const UF=(e,t,n,r={},a,i)=>o=>{const l=_F(r,e)||{},u=l.delay||r.delay||0;let{elapsed:d=0}=r;d=d-mc(u);const f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:y=>{t.set(y),l.onUpdate&&l.onUpdate(y)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:a};JAe(l)||Object.assign(f,ZAe(e,f)),f.duration&&(f.duration=mc(f.duration)),f.repeatDelay&&(f.repeatDelay=mc(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let g=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(g=!0)),(Md.instantAnimations||Md.skipAnimations)&&(g=!0,f.duration=0,f.delay=0),f.allowFlatten=!l.type&&!l.ease,g&&!i&&t.get()!==void 0){const y=GAe(f.keyframes,l);if(y!==void 0){pa.update(()=>{f.onUpdate(y),f.onComplete()});return}}return l.isSync?new CF(f):new NPe(f)};function eNe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ste(e,t,{delay:n=0,transitionOverride:r,type:a}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:o,...l}=t;r&&(i=r);const u=[],d=a&&e.animationState&&e.animationState.getState()[a];for(const f in l){const g=e.getValue(f,e.latestValues[f]??null),y=l[f];if(y===void 0||d&&eNe(d,f))continue;const p={delay:n,..._F(i||{},f)},v=g.get();if(v!==void 0&&!g.isAnimating&&!Array.isArray(y)&&y===v&&!p.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const C=ote(e);if(C){const k=window.MotionHandoffAnimation(C,f,pa);k!==null&&(p.startTime=k,E=!0)}}gL(e,f),g.start(UF(f,g,y,e.shouldReduceMotion&&$ee.has(f)?{type:!1}:p,e,E));const T=g.animation;T&&u.push(T)}return o&&Promise.all(u).then(()=>{pa.update(()=>{o&&qAe(e,o)})}),u}function vL(e,t,n={}){var u;const r=TS(e,t,n.type==="exit"?(u=e.presenceContext)==null?void 0:u.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(a=n.transitionOverride);const i=r?()=>Promise.all(ste(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:f=0,staggerChildren:g,staggerDirection:y}=a;return tNe(e,t,f+d,g,y,n)}:()=>Promise.resolve(),{when:l}=a;if(l){const[d,f]=l==="beforeChildren"?[i,o]:[o,i];return d().then(()=>f())}else return Promise.all([i(),o(n.delay)])}function tNe(e,t,n=0,r=0,a=1,i){const o=[],l=(e.variantChildren.size-1)*r,u=a===1?(d=0)=>d*r:(d=0)=>l-d*r;return Array.from(e.variantChildren).sort(nNe).forEach((d,f)=>{d.notify("AnimationStart",t),o.push(vL(d,t,{...i,delay:n+u(f)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(o)}function nNe(e,t){return e.sortNodePosition(t)}function rNe(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const a=t.map(i=>vL(e,i,n));r=Promise.all(a)}else if(typeof t=="string")r=vL(e,t,n);else{const a=typeof t=="function"?TS(e,t,n.custom):t;r=Promise.all(ste(e,a,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function lte(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>rNe(e,n,r)))}function lNe(e){let t=sNe(e),n=C5(),r=!0;const a=u=>(d,f)=>{var y;const g=TS(e,f,u==="exit"?(y=e.presenceContext)==null?void 0:y.custom:void 0);if(g){const{transition:p,transitionEnd:v,...E}=g;d={...d,...E,...v}}return d};function i(u){t=u(e)}function o(u){const{props:d}=e,f=ute(e.parent)||{},g=[],y=new Set;let p={},v=1/0;for(let T=0;Tv&&A,j=!1;const z=Array.isArray(_)?_:[_];let Q=z.reduce(a(C),{});P===!1&&(Q={});const{prevResolvedValues:le={}}=k,re={...le,...Q},ge=G=>{L=!0,y.has(G)&&(j=!0,y.delete(G)),k.needsAnimating[G]=!0;const q=e.getValue(G);q&&(q.liveStyle=!1)};for(const G in re){const q=Q[G],ce=le[G];if(p.hasOwnProperty(G))continue;let H=!1;hL(q)&&hL(ce)?H=!lte(q,ce):H=q!==ce,H?q!=null?ge(G):y.add(G):q!==void 0&&y.has(G)?ge(G):k.protectedKeys[G]=!0}k.prevProp=_,k.prevResolvedValues=Q,k.isActive&&(p={...p,...Q}),r&&e.blockInitialAnimation&&(L=!1),L&&(!(N&&I)||j)&&g.push(...z.map(G=>({animation:G,options:{type:C}})))}if(y.size){const T={};if(typeof d.initial!="boolean"){const C=TS(e,Array.isArray(d.initial)?d.initial[0]:d.initial);C&&C.transition&&(T.transition=C.transition)}y.forEach(C=>{const k=e.getBaseTarget(C),_=e.getValue(C);_&&(_.liveStyle=!0),T[C]=k??null}),g.push({animation:T})}let E=!!g.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(g):Promise.resolve()}function l(u,d){var g;if(n[u].isActive===d)return Promise.resolve();(g=e.variantChildren)==null||g.forEach(y=>{var p;return(p=y.animationState)==null?void 0:p.setActive(u,d)}),n[u].isActive=d;const f=o(u);for(const y in n)n[y].protectedKeys={};return f}return{animateChanges:o,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=C5(),r=!0}}}function uNe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lte(t,e):!1}function Ch(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function C5(){return{animate:Ch(!0),whileInView:Ch(),whileHover:Ch(),whileTap:Ch(),whileDrag:Ch(),whileFocus:Ch(),exit:Ch()}}class sm{constructor(t){this.isMounted=!1,this.node=t}update(){}}class cNe extends sm{constructor(t){super(t),t.animationState||(t.animationState=lNe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();zx(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let dNe=0;class fNe extends sm{constructor(){super(...arguments),this.id=dNe++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const pNe={animation:{Feature:cNe},exit:{Feature:fNe}};function CS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function rE(e){return{point:{x:e.pageX,y:e.pageY}}}const mNe=e=>t=>PF(t)&&e(t,rE(t));function q1(e,t,n,r){return CS(e,t,mNe(n),r)}function cte({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function hNe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function gNe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}const dte=1e-4,vNe=1-dte,yNe=1+dte,fte=.01,bNe=0-fte,wNe=0+fte;function Io(e){return e.max-e.min}function SNe(e,t,n){return Math.abs(e-t)<=n}function k5(e,t,n,r=.5){e.origin=r,e.originPoint=da(t.min,t.max,e.origin),e.scale=Io(n)/Io(t),e.translate=da(n.min,n.max,e.origin)-e.originPoint,(e.scale>=vNe&&e.scale<=yNe||isNaN(e.scale))&&(e.scale=1),(e.translate>=bNe&&e.translate<=wNe||isNaN(e.translate))&&(e.translate=0)}function H1(e,t,n,r){k5(e.x,t.x,n.x,r?r.originX:void 0),k5(e.y,t.y,n.y,r?r.originY:void 0)}function x5(e,t,n){e.min=n.min+t.min,e.max=e.min+Io(t)}function ENe(e,t,n){x5(e.x,t.x,n.x),x5(e.y,t.y,n.y)}function _5(e,t,n){e.min=t.min-n.min,e.max=e.min+Io(t)}function V1(e,t,n){_5(e.x,t.x,n.x),_5(e.y,t.y,n.y)}const O5=()=>({translate:0,scale:1,origin:0,originPoint:0}),tb=()=>({x:O5(),y:O5()}),R5=()=>({min:0,max:0}),$a=()=>({x:R5(),y:R5()});function pl(e){return[e("x"),e("y")]}function EP(e){return e===void 0||e===1}function yL({scale:e,scaleX:t,scaleY:n}){return!EP(e)||!EP(t)||!EP(n)}function Ag(e){return yL(e)||pte(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function pte(e){return P5(e.x)||P5(e.y)}function P5(e){return e&&e!=="0%"}function Yk(e,t,n){const r=e-n,a=t*r;return n+a}function A5(e,t,n,r,a){return a!==void 0&&(e=Yk(e,a,r)),Yk(e,n,r)+t}function bL(e,t=0,n=1,r,a){e.min=A5(e.min,t,n,r,a),e.max=A5(e.max,t,n,r,a)}function mte(e,{x:t,y:n}){bL(e.x,t.translate,t.scale,t.originPoint),bL(e.y,n.translate,n.scale,n.originPoint)}const N5=.999999999999,M5=1.0000000000001;function TNe(e,t,n,r=!1){const a=n.length;if(!a)return;t.x=t.y=1;let i,o;for(let l=0;lN5&&(t.x=1),t.yN5&&(t.y=1)}function nb(e,t){e.min=e.min+t,e.max=e.max+t}function I5(e,t,n,r,a=.5){const i=da(e.min,e.max,a);bL(e,t,n,i,r)}function rb(e,t){I5(e.x,t.x,t.scaleX,t.scale,t.originX),I5(e.y,t.y,t.scaleY,t.scale,t.originY)}function hte(e,t){return cte(gNe(e.getBoundingClientRect(),t))}function CNe(e,t,n){const r=hte(e,n),{scroll:a}=t;return a&&(nb(r.x,a.offset.x),nb(r.y,a.offset.y)),r}const gte=({current:e})=>e?e.ownerDocument.defaultView:null,D5=(e,t)=>Math.abs(e-t);function kNe(e,t){const n=D5(e.x,t.x),r=D5(e.y,t.y);return Math.sqrt(n**2+r**2)}class vte{constructor(t,n,{transformPagePoint:r,contextWindow:a,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=CP(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,p=kNe(g.offset,{x:0,y:0})>=3;if(!y&&!p)return;const{point:v}=g,{timestamp:E}=Li;this.history.push({...v,timestamp:E});const{onStart:T,onMove:C}=this.handlers;y||(T&&T(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,g)},this.handlePointerMove=(g,y)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=TP(y,this.transformPagePoint),pa.update(this.updatePoint,!0)},this.handlePointerUp=(g,y)=>{this.end();const{onEnd:p,onSessionEnd:v,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=CP(g.type==="pointercancel"?this.lastMoveEventInfo:TP(y,this.transformPagePoint),this.history);this.startEvent&&p&&p(g,T),v&&v(g,T)},!PF(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=a||window;const o=rE(t),l=TP(o,this.transformPagePoint),{point:u}=l,{timestamp:d}=Li;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,CP(l,this.history)),this.removeListeners=eE(q1(this.contextWindow,"pointermove",this.handlePointerMove),q1(this.contextWindow,"pointerup",this.handlePointerUp),q1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Yp(this.updatePoint)}}function TP(e,t){return t?{point:t(e.point)}:e}function $5(e,t){return{x:e.x-t.x,y:e.y-t.y}}function CP({point:e},t){return{point:e,delta:$5(e,yte(t)),offset:$5(e,xNe(t)),velocity:_Ne(t,.1)}}function xNe(e){return e[0]}function yte(e){return e[e.length-1]}function _Ne(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const a=yte(e);for(;n>=0&&(r=e[n],!(a.timestamp-r.timestamp>mc(t)));)n--;if(!r)return{x:0,y:0};const i=hc(a.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(a.x-r.x)/i,y:(a.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ONe(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?da(n,e,r.max):Math.min(e,n)),e}function L5(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function RNe(e,{top:t,left:n,bottom:r,right:a}){return{x:L5(e.x,n,a),y:L5(e.y,t,r)}}function F5(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=yS(t.min,t.max-r,e.min):r>a&&(n=yS(e.min,e.max-a,t.min)),Nd(0,1,n)}function NNe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const wL=.35;function MNe(e=wL){return e===!1?e=0:e===!0&&(e=wL),{x:j5(e,"left","right"),y:j5(e,"top","bottom")}}function j5(e,t,n){return{min:U5(e,t),max:U5(e,n)}}function U5(e,t){return typeof e=="number"?e:e[t]||0}const INe=new WeakMap;class DNe{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$a(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const a=f=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(rE(f).point)},i=(f,g)=>{const{drag:y,dragPropagation:p,onDragStart:v}=this.getProps();if(y&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=YPe(y),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pl(T=>{let C=this.getAxisMotionValue(T).get()||0;if(gc.test(C)){const{projection:k}=this.visualElement;if(k&&k.layout){const _=k.layout.layoutBox[T];_&&(C=Io(_)*(parseFloat(C)/100))}}this.originPoint[T]=C}),v&&pa.postRender(()=>v(f,g)),gL(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},o=(f,g)=>{const{dragPropagation:y,dragDirectionLock:p,onDirectionLock:v,onDrag:E}=this.getProps();if(!y&&!this.openDragLock)return;const{offset:T}=g;if(p&&this.currentDirection===null){this.currentDirection=$Ne(T),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",g.point,T),this.updateAxis("y",g.point,T),this.visualElement.render(),E&&E(f,g)},l=(f,g)=>this.stop(f,g),u=()=>pl(f=>{var g;return this.getAnimationState(f)==="paused"&&((g=this.getAxisMotionValue(f).animation)==null?void 0:g.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new vte(t,{onSessionStart:a,onStart:i,onMove:o,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:gte(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:a}=n;this.startAnimation(a);const{onDragEnd:i}=this.getProps();i&&pa.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:a}=this.getProps();if(!r||!TC(t,a,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=ONe(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,a=this.constraints;t&&eb(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=RNe(r.layoutBox,t):this.constraints=!1,this.elastic=MNe(n),a!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&pl(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=NNe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!eb(t))return!1;const r=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const i=CNe(r,a.root,this.visualElement.getTransformPagePoint());let o=PNe(a.layout.layoutBox,i);if(n){const l=n(hNe(o));this.hasMutatedConstraints=!!l,l&&(o=cte(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:a,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},d=pl(f=>{if(!TC(f,n,this.currentDirection))return;let g=u&&u[f]||{};o&&(g={min:0,max:0});const y=a?200:1e6,p=a?40:1e7,v={type:"inertia",velocity:r?t[f]:0,bounceStiffness:y,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...g};return this.startAxisValueAnimation(f,v)});return Promise.all(d).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return gL(this.visualElement,t),r.start(UF(t,r,0,n,this.visualElement,!1))}stopAnimation(){pl(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){pl(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),a=r[n];return a||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){pl(n=>{const{drag:r}=this.getProps();if(!TC(n,r,this.currentDirection))return;const{projection:a}=this.visualElement,i=this.getAxisMotionValue(n);if(a&&a.layout){const{min:o,max:l}=a.layout.layoutBox[n];i.set(t[n]-da(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!eb(n)||!r||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};pl(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const u=l.get();a[o]=ANe({min:u,max:u},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),pl(o=>{if(!TC(o,t,null))return;const l=this.getAxisMotionValue(o),{min:u,max:d}=this.constraints[o];l.set(da(u,d,a[o]))})}addListeners(){if(!this.visualElement.current)return;INe.set(this.visualElement,this);const t=this.visualElement.current,n=q1(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps();d&&f&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();eb(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,i=a.addEventListener("measure",r);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),pa.read(r);const o=CS(window,"resize",()=>this.scalePositionWithinConstraints()),l=a.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(pl(f=>{const g=this.getAxisMotionValue(f);g&&(this.originPoint[f]+=u[f].translate,g.set(g.get()+u[f].translate))}),this.visualElement.render())}));return()=>{o(),n(),i(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:a=!1,dragConstraints:i=!1,dragElastic:o=wL,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:a,dragConstraints:i,dragElastic:o,dragMomentum:l}}}function TC(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function $Ne(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class LNe extends sm{constructor(t){super(t),this.removeGroupControls=Cl,this.removeListeners=Cl,this.controls=new DNe(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Cl}unmount(){this.removeGroupControls(),this.removeListeners()}}const B5=e=>(t,n)=>{e&&pa.postRender(()=>e(t,n))};class FNe extends sm{constructor(){super(...arguments),this.removePointerDownListener=Cl}onPointerDown(t){this.session=new vte(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:gte(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:a}=this.node.getProps();return{onSessionStart:B5(t),onStart:B5(n),onMove:r,onEnd:(i,o)=>{delete this.session,a&&pa.postRender(()=>a(i,o))}}}mount(){this.removePointerDownListener=q1(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const nk={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function W5(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Kw={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(hn.test(e))e=parseFloat(e);else return e;const n=W5(e,t.target.x),r=W5(e,t.target.y);return`${n}% ${r}%`}},jNe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,a=Kp.parse(e);if(a.length>5)return r;const i=Kp.createTransformer(e),o=typeof a[0]!="number"?1:0,l=n.x.scale*t.x,u=n.y.scale*t.y;a[0+o]/=l,a[1+o]/=u;const d=da(l,u,.5);return typeof a[2+o]=="number"&&(a[2+o]/=d),typeof a[3+o]=="number"&&(a[3+o]/=d),i(a)}};class UNe extends R.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:a}=this.props,{projection:i}=t;CAe(BNe),i&&(n.group&&n.group.add(i),r&&r.register&&a&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nk.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:a,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,a||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||pa.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),RF.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),r&&r.deregister&&r.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function bte(e){const[t,n]=Vee(),r=R.useContext(oF);return w.jsx(UNe,{...e,layoutGroup:r,switchLayoutGroup:R.useContext(Qee),isPresent:t,safeToRemove:n})}const BNe={borderRadius:{...Kw,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kw,borderTopRightRadius:Kw,borderBottomLeftRadius:Kw,borderBottomRightRadius:Kw,boxShadow:jNe};function WNe(e,t,n){const r=Ji(e)?e:Ob(e);return r.start(UF("",r,t,n)),r.animation}const zNe=(e,t)=>e.depth-t.depth;class qNe{constructor(){this.children=[],this.isDirty=!1}add(t){uF(this.children,t),this.isDirty=!0}remove(t){cF(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(zNe),this.isDirty=!1,this.children.forEach(t)}}function HNe(e,t){const n=as.now(),r=({timestamp:a})=>{const i=a-n;i>=t&&(Yp(r),e(i-t))};return pa.setup(r,!0),()=>Yp(r)}const wte=["TopLeft","TopRight","BottomLeft","BottomRight"],VNe=wte.length,z5=e=>typeof e=="string"?parseFloat(e):e,q5=e=>typeof e=="number"||hn.test(e);function GNe(e,t,n,r,a,i){a?(e.opacity=da(0,n.opacity??1,YNe(r)),e.opacityExit=da(t.opacity??1,0,KNe(r))):i&&(e.opacity=da(t.opacity??1,n.opacity??1,r));for(let o=0;ort?1:n(yS(e,t,r))}function V5(e,t){e.min=t.min,e.max=t.max}function dl(e,t){V5(e.x,t.x),V5(e.y,t.y)}function G5(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Y5(e,t,n,r,a){return e-=t,e=Yk(e,1/n,r),a!==void 0&&(e=Yk(e,1/a,r)),e}function XNe(e,t=0,n=1,r=.5,a,i=e,o=e){if(gc.test(t)&&(t=parseFloat(t),t=da(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=da(i.min,i.max,r);e===i&&(l-=t),e.min=Y5(e.min,t,n,l,a),e.max=Y5(e.max,t,n,l,a)}function K5(e,t,[n,r,a],i,o){XNe(e,t[n],t[r],t[a],t.scale,i,o)}const QNe=["x","scaleX","originX"],ZNe=["y","scaleY","originY"];function X5(e,t,n,r){K5(e.x,t,QNe,n?n.x:void 0,r?r.x:void 0),K5(e.y,t,ZNe,n?n.y:void 0,r?r.y:void 0)}function Q5(e){return e.translate===0&&e.scale===1}function Ete(e){return Q5(e.x)&&Q5(e.y)}function Z5(e,t){return e.min===t.min&&e.max===t.max}function JNe(e,t){return Z5(e.x,t.x)&&Z5(e.y,t.y)}function J5(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Tte(e,t){return J5(e.x,t.x)&&J5(e.y,t.y)}function eW(e){return Io(e.x)/Io(e.y)}function tW(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class e2e{constructor(){this.members=[]}add(t){uF(this.members,t),t.scheduleRender()}remove(t){if(cF(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let r;for(let a=n;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function t2e(e,t,n){let r="";const a=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((a||i||o)&&(r=`translate3d(${a}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:f,rotateX:g,rotateY:y,skewX:p,skewY:v}=n;d&&(r=`perspective(${d}px) ${r}`),f&&(r+=`rotate(${f}deg) `),g&&(r+=`rotateX(${g}deg) `),y&&(r+=`rotateY(${y}deg) `),p&&(r+=`skewX(${p}deg) `),v&&(r+=`skewY(${v}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const kP=["","X","Y","Z"],n2e={visibility:"hidden"},r2e=1e3;let a2e=0;function xP(e,t,n,r){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Cte(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ote(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",pa,!(a||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Cte(r)}function kte({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:a}){return class{constructor(o={},l=t==null?void 0:t()){this.id=a2e++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(s2e),this.nodes.forEach(d2e),this.nodes.forEach(f2e),this.nodes.forEach(l2e)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let u=0;uthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=HNe(g,250),nk.hasAnimatedSinceResize&&(nk.hasAnimatedSinceResize=!1,this.nodes.forEach(aW))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:g,hasRelativeLayoutChanged:y,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||d.getDefaultTransition()||v2e,{onLayoutAnimationStart:E,onLayoutAnimationComplete:T}=d.getProps(),C=!this.targetLayout||!Tte(this.targetLayout,p),k=!g&&y;if(this.options.layoutRoot||this.resumeFrom||k||g&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={..._F(v,"layout"),onPlay:E,onComplete:T};(d.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(f,k)}else g||aW(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Yp(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(p2e),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Cte(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Io(this.snapshot.measuredBox.x)&&!Io(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u{const P=A/1e3;iW(g.x,o.x,P),iW(g.y,o.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(V1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h2e(this.relativeTarget,this.relativeTargetOrigin,y,P),_&&JNe(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=$a()),dl(_,this.relativeTarget)),E&&(this.animationValues=f,GNe(f,d,this.latestValues,P,k,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var l,u,d;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(d=(u=this.resumingFrom)==null?void 0:u.currentAnimation)==null||d.stop(),this.pendingAnimation&&(Yp(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=pa.update(()=>{nk.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ob(0)),this.currentAnimation=WNe(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:f=>{this.mixTargetDelta(f),o.onUpdate&&o.onUpdate(f)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(r2e),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:u,layout:d,latestValues:f}=o;if(!(!l||!u||!d)){if(this!==o&&this.layout&&d&&xte(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||$a();const g=Io(this.layout.layoutBox.x);u.x.min=o.target.x.min,u.x.max=u.x.min+g;const y=Io(this.layout.layoutBox.y);u.y.min=o.target.y.min,u.y.max=u.y.min+y}dl(l,u),rb(l,f),H1(this.projectionDeltaWithTransform,this.layoutCorrected,l,f)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new e2e),this.sharedNodes.get(o).add(l);const d=l.options.initialPromotionConfig;l.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var l;const{layoutId:o}=this.options;return o?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:o}=this.options;return o?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:u}=o;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(l=!0),!l)return;const d={};u.z&&xP("z",o,d,this.animationValues);for(let f=0;f{var l;return(l=o.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(nW),this.root.sharedNodes.clear()}}}function i2e(e){e.updateLayout()}function o2e(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:a}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;i==="size"?pl(g=>{const y=o?t.measuredBox[g]:t.layoutBox[g],p=Io(y);y.min=r[g].min,y.max=y.min+p}):xte(i,t.layoutBox,r)&&pl(g=>{const y=o?t.measuredBox[g]:t.layoutBox[g],p=Io(r[g]);y.max=y.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+p)});const l=tb();H1(l,r,t.layoutBox);const u=tb();o?H1(u,e.applyTransform(a,!0),t.measuredBox):H1(u,r,t.layoutBox);const d=!Ete(l);let f=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:p}=g;if(y&&p){const v=$a();V1(v,t.layoutBox,y.layoutBox);const E=$a();V1(E,r,p.layoutBox),Tte(v,E)||(f=!0),g.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=v,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:u,layoutDelta:l,hasLayoutChanged:d,hasRelativeLayoutChanged:f})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function s2e(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function l2e(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function u2e(e){e.clearSnapshot()}function nW(e){e.clearMeasurements()}function rW(e){e.isLayoutDirty=!1}function c2e(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function aW(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function d2e(e){e.resolveTargetDelta()}function f2e(e){e.calcProjection()}function p2e(e){e.resetSkewAndRotation()}function m2e(e){e.removeLeadSnapshot()}function iW(e,t,n){e.translate=da(t.translate,0,n),e.scale=da(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function oW(e,t,n,r){e.min=da(t.min,n.min,r),e.max=da(t.max,n.max,r)}function h2e(e,t,n,r){oW(e.x,t.x,n.x,r),oW(e.y,t.y,n.y,r)}function g2e(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const v2e={duration:.45,ease:[.4,0,.1,1]},sW=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),lW=sW("applewebkit/")&&!sW("chrome/")?Math.round:Cl;function uW(e){e.min=lW(e.min),e.max=lW(e.max)}function y2e(e){uW(e.x),uW(e.y)}function xte(e,t,n){return e==="position"||e==="preserve-aspect"&&!SNe(eW(t),eW(n),.2)}function b2e(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const w2e=kte({attachResizeListener:(e,t)=>CS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),_P={current:void 0},_te=kte({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_P.current){const e=new w2e({});e.mount(window),e.setOptions({layoutScroll:!0}),_P.current=e}return _P.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),S2e={pan:{Feature:FNe},drag:{Feature:LNe,ProjectionNode:_te,MeasureLayout:bte}};function cW(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,i=r[a];i&&pa.postRender(()=>i(t,rE(t)))}class E2e extends sm{mount(){const{current:t}=this.node;t&&(this.unmount=KPe(t,(n,r)=>(cW(this.node,r,"Start"),a=>cW(this.node,a,"End"))))}unmount(){}}class T2e extends sm{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=eE(CS(this.node.current,"focus",()=>this.onFocus()),CS(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dW(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),i=r[a];i&&pa.postRender(()=>i(t,rE(t)))}class C2e extends sm{mount(){const{current:t}=this.node;t&&(this.unmount=JPe(t,(n,r)=>(dW(this.node,r,"Start"),(a,{success:i})=>dW(this.node,a,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const SL=new WeakMap,OP=new WeakMap,k2e=e=>{const t=SL.get(e.target);t&&t(e)},x2e=e=>{e.forEach(k2e)};function _2e({root:e,...t}){const n=e||document;OP.has(n)||OP.set(n,{});const r=OP.get(n),a=JSON.stringify(t);return r[a]||(r[a]=new IntersectionObserver(x2e,{root:e,...t})),r[a]}function O2e(e,t,n){const r=_2e(t);return SL.set(e,n),r.observe(e),()=>{SL.delete(e),r.unobserve(e)}}const R2e={some:0,all:1};class P2e extends sm{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:a="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof a=="number"?a:R2e[a]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,i&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:g}=this.node.getProps(),y=d?f:g;y&&y(u)};return O2e(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(A2e(t,n))&&this.startObserver()}unmount(){}}function A2e({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const N2e={inView:{Feature:P2e},tap:{Feature:C2e},focus:{Feature:T2e},hover:{Feature:E2e}},M2e={layout:{ProjectionNode:_te,MeasureLayout:bte}},EL={current:null},Ote={current:!1};function I2e(){if(Ote.current=!0,!!lF)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>EL.current=e.matches;e.addListener(t),t()}else EL.current=!1}const D2e=new WeakMap;function $2e(e,t,n){for(const r in t){const a=t[r],i=n[r];if(Ji(a))e.addValue(r,a);else if(Ji(i))e.addValue(r,Ob(a,{owner:e}));else if(i!==a)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(a):o.hasAnimated||o.set(a)}else{const o=e.getStaticValue(r);e.addValue(r,Ob(o!==void 0?o:a,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const fW=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class L2e{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:a,blockInitialAnimation:i,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=kF,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=as.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Ote.current||I2e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:EL.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Yp(this.notifyUpdate),Yp(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Hb.has(t);r&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&pa.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Rb){const n=Rb[t];if(!n)continue;const{isEnabled:r,Feature:a}=n;if(!this.features[t]&&a&&r(this.props)&&(this.features[t]=new a(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$a()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ob(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(ree(r)||iee(r))?r=parseFloat(r):!nAe(r)&&Kp.test(n)&&(r=Uee(t,n)),this.setBaseTarget(t,Ji(r)?r.get():r)),Ji(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=FF(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Ji(a)?a:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new pF),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Rte extends L2e{constructor(){super(...arguments),this.KeyframeResolver=qPe}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ji(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Pte(e,{style:t,vars:n},r,a){Object.assign(e.style,t,a&&a.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}function F2e(e){return window.getComputedStyle(e)}class j2e extends Rte{constructor(){super(...arguments),this.type="html",this.renderInstance=Pte}readValueFromInstance(t,n){var r;if(Hb.has(n))return(r=this.projection)!=null&&r.isProjecting?uL(n):uPe(t,n);{const a=F2e(t),i=(gF(n)?a.getPropertyValue(n):a[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return hte(t,n)}build(t,n,r){DF(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return jF(t,n,r)}}const Ate=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function U2e(e,t,n,r){Pte(e,t,void 0,r);for(const a in t.attrs)e.setAttribute(Ate.has(a)?a:IF(a),t.attrs[a])}class B2e extends Rte{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$a}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Hb.has(n)){const r=jee(n);return r&&r.default||0}return n=Ate.has(n)?n:IF(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return ite(t,n,r)}build(t,n,r){tte(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,a){U2e(t,n,r,a)}mount(t){this.isSVGTag=rte(t.tagName),super.mount(t)}}const W2e=(e,t)=>LF(e)?new B2e(t):new j2e(t,{allowProjection:e!==R.Fragment}),z2e=BAe({...pNe,...N2e,...S2e,...M2e},W2e),q2e=fAe(z2e),H2e={initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{x:"100%",opacity:0}};function BF({children:e}){var r;const t=Bd();return((r=t.state)==null?void 0:r.animated)?w.jsx(sAe,{mode:"wait",children:w.jsx(q2e.div,{variants:H2e,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15},style:{width:"100%"},children:e},t.pathname)}):w.jsx(w.Fragment,{children:e})}function V2e(){return w.jsx(ht,{path:"",children:w.jsx(ht,{element:w.jsx(BF,{children:w.jsx(oRe,{})}),path:"dashboard"})})}const Vb=({errors:e,error:t})=>{if(!t&&!e)return null;let n={};t&&t.errors?n=t.errors:e&&(n=e);const r=Object.keys(n);return w.jsxs("div",{style:{minHeight:"30px"},children:[(e==null?void 0:e.form)&&w.jsx("div",{className:"with-fade-in",style:{color:"red"},children:e.form}),n.length&&w.jsxs("div",{children:[((t==null?void 0:t.title)||(t==null?void 0:t.message))&&w.jsx("span",{children:(t==null?void 0:t.title)||(t==null?void 0:t.message)}),r.map(a=>w.jsx("div",{children:w.jsxs("span",{children:["• ",n[a]]})},a))]})]})},G2e={remoteTitle:"Remote service",grpcMethod:"Over grpc",hostAddress:"Host address",httpMethod:"Over http",interfaceLang:{description:"Here you can change your software interface language settings",title:"Language & Region"},port:"Port",remoteDescription:"Remote service, is the place that all data, logics, and services are installed there. It could be cloud, or locally. Only advanced users, changing it to wrong address might cause inaccessibility.",richTextEditor:{description:"Manage how you want to edit textual content in the app",title:"Text Editor"},theme:{title:"Theme",description:"Change the interface theme color"},accessibility:{description:"Handle the accessibility settings",title:"Accessibility"},debugSettings:{description:"See the debug information of the app, for developers or help desks",title:"Debug Settings"}},Y2e={interfaceLang:{description:"Tutaj możesz zmienić ustawienia języka interfejsu oprogramowania",title:"Język i Region"},port:"Port",remoteDescription:"Usługa zdalna, to miejsce, w którym zainstalowane są wszystkie dane, logiki i usługi. Może to być chmura lub lokalnie. Tylko zaawansowani użytkownicy, zmieniając go na błędny adres, mogą spowodować niedostępność.",theme:{description:"Zmień kolor motywu interfejsu",title:"Motyw"},grpcMethod:"Przez gRPC",httpMethod:"Przez HTTP",hostAddress:"Adres hosta",remoteTitle:"Usługa zdalna",richTextEditor:{description:"Zarządzaj sposobem edycji treści tekstowej w aplikacji",title:"Edytor tekstu"},accessibility:{description:"Obsługa ustawień dostępności",title:"Dostępność"},debugSettings:{description:"Wyświetl informacje debugowania aplikacji, dla programistów lub biur pomocy",title:"Ustawienia debugowania"}},K2e={accessibility:{description:"مدیریت تنظیمات دسترسی",title:"دسترسی"},debugSettings:{description:"نمایش اطلاعات اشکال زدایی برنامه، برای توسعه‌دهندگان یا مراکز کمک",title:"تنظیمات اشکال زدایی"},httpMethod:"از طریق HTTP",interfaceLang:{description:"در اینجا می‌توانید تنظیمات زبان و منطقه رابط کاربری نرم‌افزار را تغییر دهید",title:"زبان و منطقه"},port:"پورت",remoteDescription:"سرویس از راه دور، مکانی است که تمام داده‌ها، منطق‌ها و خدمات در آن نصب می‌شوند. ممکن است این ابری یا محلی باشد. تنها کاربران پیشرفته با تغییر آن به آدرس نادرست، ممکن است بر ندسترسی برخورد کنند.",remoteTitle:"سرویس از راه دور",grpcMethod:"از طریق gRPC",hostAddress:"آدرس میزبان",richTextEditor:{title:"ویرایشگر متن",description:"مدیریت نحوه ویرایش محتوای متنی در برنامه"},theme:{description:"تغییر رنگ موضوع رابط کاربری",title:"موضوع"}},X2e={...G2e,$pl:Y2e,$fa:K2e},Q2e=(e,t)=>{e.preferredHand&&localStorage.setItem("app_preferredHand_address",e.preferredHand)},Z2e=e=>[{label:e.accesibility.leftHand,value:"left"},{label:e.accesibility.rightHand,value:"right"}];function J2e({}){const{config:e,patchConfig:t}=R.useContext(Jp),n=At(),r=Kt(X2e),{formik:a}=Dr({}),i=(l,u)=>{l.preferredHand&&(t({preferredHand:l.preferredHand}),Q2e(l))},o=js(Z2e(n));return R.useEffect(()=>{var l;(l=a.current)==null||l.setValues({preferredHand:e.preferredHand})},[e.remote]),w.jsxs(Mo,{title:n.generalSettings.accessibility.title,children:[w.jsx("p",{children:r.accessibility.description}),w.jsx(os,{innerRef:l=>{l&&(a.current=l)},initialValues:{},onSubmit:i,children:l=>w.jsxs("form",{className:"richtext-editor-config-form",onSubmit:u=>u.preventDefault(),children:[w.jsx(Vb,{errors:l.errors}),w.jsx(ca,{formEffect:{form:l,field:"preferredHand",beforeSet(u){return u.value}},keyExtractor:u=>u.value,errorMessage:l.errors.preferredHand,querySource:o,label:n.settings.preferredHand,hint:n.settings.preferredHandHint}),w.jsx(Fs,{disabled:l.values.preferredHand===""||l.values.preferredHand===e.preferredHand,label:n.settings.apply,onClick:()=>l.submitForm()})]})})]})}function eMe(){const e=Ls(),{query:t}=k3({queryClient:e,query:{},queryOptions:{cacheTime:0}});return w.jsxs(w.Fragment,{children:[w.jsx("h2",{children:"User Role Workspaces"}),w.jsx("p",{children:"Data:"}),w.jsx("pre",{children:JSON.stringify(t.data,null,2)}),w.jsx("p",{children:"Error:"}),w.jsx("pre",{children:JSON.stringify(t.error,null,2)})]})}function tMe(){const e=R.useContext(Je);return w.jsxs(w.Fragment,{children:[w.jsx("h2",{children:"Fireback context:"}),w.jsx("pre",{children:JSON.stringify(e,null,2)})]})}function nMe({}){const[e,t]=R.useState(!1);R.useContext(Je);const n=At();return w.jsxs(Mo,{title:n.generalSettings.debugSettings.title,children:[w.jsx("p",{children:n.generalSettings.debugSettings.description}),w.jsx(ml,{value:e,label:n.debugInfo,onChange:()=>t(r=>!r)}),e&&w.jsxs(w.Fragment,{children:[w.jsx("pre",{}),w.jsx(El,{href:"/lalaland",children:"Go to Lalaland"}),w.jsx(El,{href:"/view3d",children:"View 3D"}),w.jsx(eMe,{}),w.jsx(tMe,{})]})]})}const Nte=e=>[kr.SUPPORTED_LANGUAGES.includes("en")?{label:e.locale.englishWorldwide,value:"en"}:void 0,kr.SUPPORTED_LANGUAGES.includes("fa")?{label:e.locale.persianIran,value:"fa"}:void 0,kr.SUPPORTED_LANGUAGES.includes("ru")?{label:"Russian (Русский)",value:"ru"}:void 0,kr.SUPPORTED_LANGUAGES.includes("pl")?{label:e.locale.polishPoland,value:"pl"}:void 0,kr.SUPPORTED_LANGUAGES.includes("ua")?{label:"Ukrainain (українська)",value:"ua"}:void 0].filter(Boolean),rMe=(e,t)=>{e.interfaceLanguage&&localStorage.setItem("app_interfaceLanguage_address",e.interfaceLanguage)};function aMe({}){const{config:e,patchConfig:t}=R.useContext(Jp),n=At(),{router:r,formik:a}=Dr({}),i=(u,d)=>{u.interfaceLanguage&&(t({interfaceLanguage:u.interfaceLanguage}),rMe(u),r.push(`/${u.interfaceLanguage}/settings`))};R.useEffect(()=>{var u;(u=a.current)==null||u.setValues({interfaceLanguage:e.interfaceLanguage})},[e.remote]);const o=Nte(n),l=js(o);return w.jsxs(Mo,{title:n.generalSettings.interfaceLang.title,children:[w.jsx("p",{children:n.generalSettings.interfaceLang.description}),w.jsx(os,{innerRef:u=>{u&&(a.current=u)},initialValues:{},onSubmit:i,children:u=>w.jsxs("form",{className:"remote-service-form",onSubmit:d=>d.preventDefault(),children:[w.jsx(Vb,{errors:u.errors}),w.jsx(ca,{keyExtractor:d=>d.value,formEffect:{form:u,field:"interfaceLanguage",beforeSet(d){return d.value}},errorMessage:u.errors.interfaceLanguage,querySource:l,label:n.settings.interfaceLanguage,hint:n.settings.interfaceLanguageHint}),w.jsx(Fs,{disabled:u.values.interfaceLanguage===""||u.values.interfaceLanguage===e.interfaceLanguage,label:n.settings.apply,onClick:()=>u.submitForm()})]})})]})}class WF extends wn{constructor(...t){super(...t),this.children=void 0,this.subscription=void 0}}WF.Navigation={edit(e,t){return`${t?"/"+t:".."}/web-push-config/edit/${e}`},create(e){return`${e?"/"+e:".."}/web-push-config/new`},single(e,t){return`${t?"/"+t:".."}/web-push-config/${e}`},query(e={},t){return`${t?"/"+t:".."}/web-push-configs`},Redit:"web-push-config/edit/:uniqueId",Rcreate:"web-push-config/new",Rsingle:"web-push-config/:uniqueId",Rquery:"web-push-configs"};WF.definition={rpc:{query:{}},name:"webPushConfig",distinctBy:"user",features:{},security:{resolveStrategy:"user"},gormMap:{},fields:[{name:"subscription",description:"The json content of the web push after getting it from browser",type:"json",validate:"required",computedType:"any",gormMap:{}}],description:"Keep the web push notification configuration for each user"};WF.Fields={...wn.Fields,subscription:"subscription"};function iMe(e){let{queryClient:t,query:n,execFnOverride:r}={};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/web-push-config".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*fireback.WebPushConfigEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function oMe(){const{submit:e}=iMe();R.useEffect(()=>{navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",d=>{var f;((f=d.data)==null?void 0:f.type)==="PUSH_RECEIVED"&&console.log("Push message in UI:",d.data.payload)})},[]);const[t,n]=R.useState(!1),[r,a]=R.useState(!1),[i,o]=R.useState(null);return R.useEffect(()=>{async function d(){try{const g=await(await navigator.serviceWorker.ready).pushManager.getSubscription();a(!!g)}catch(f){console.error("Failed to check subscription",f)}}d()},[]),{isSubscribing:t,isSubscribed:r,error:i,subscribe:async()=>{n(!0),o(null);try{const f=await(await navigator.serviceWorker.ready).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:"BAw6oGpr6FoFDj49xOhFbTSOY07zvcqYWyyXeQXUJIFubi5iLQNV0vYsXKLz7J8520o4IjCq8u9tLPBx2NSuu04"});console.log(25,f),e({subscription:f}),console.log("Subscribed:",JSON.stringify(f)),a(!0)}catch(d){o("Failed to subscribe."),console.error("Subscription failed:",d)}finally{n(!1)}},unsubscribe:async()=>{n(!0),o(null);try{const f=await(await navigator.serviceWorker.ready).pushManager.getSubscription();f?(await f.unsubscribe(),a(!1)):o("No subscription found")}catch(d){o("Failed to unsubscribe."),console.error("Unsubscription failed:",d)}finally{n(!1)}}}}function sMe({}){const{error:e,isSubscribed:t,isSubscribing:n,subscribe:r,unsubscribe:a}=oMe();return w.jsxs(Mo,{title:"Notification settings",children:[w.jsx("p",{children:"Here you can manage your notifications"}),w.jsx(Vb,{error:e}),w.jsx("button",{className:"btn",disabled:n||t,onClick:()=>r(),children:"Subscribe"}),w.jsx("button",{disabled:!t,className:"btn",onClick:()=>a(),children:"Unsubscribe"})]})}const lMe=(e,t)=>{e.textEditorModule&&localStorage.setItem("app_textEditorModule_address",e.textEditorModule)},uMe=e=>[{label:e.simpleTextEditor,value:"bare"},{label:e.tinymceeditor,value:"tinymce"}];function cMe({}){const{config:e,patchConfig:t}=R.useContext(Jp),n=At(),{formik:r}=Dr({}),a=(l,u)=>{l.textEditorModule&&(t({textEditorModule:l.textEditorModule}),lMe(l))};R.useEffect(()=>{var l;(l=r.current)==null||l.setValues({textEditorModule:e.textEditorModule})},[e.remote]);const i=uMe(n),o=js(i);return w.jsxs(Mo,{title:n.generalSettings.richTextEditor.title,children:[w.jsx("p",{children:n.generalSettings.richTextEditor.description}),w.jsx(os,{innerRef:l=>{l&&(r.current=l)},initialValues:{},onSubmit:a,children:l=>w.jsxs("form",{className:"richtext-editor-config-form",onSubmit:u=>u.preventDefault(),children:[w.jsx(Vb,{errors:l.errors}),w.jsx(ca,{formEffect:{form:l,field:"textEditorModule",beforeSet(u){return u.value}},keyExtractor:u=>u.value,querySource:o,errorMessage:l.errors.textEditorModule,label:n.settings.textEditorModule,hint:n.settings.textEditorModuleHint}),w.jsx(Fs,{disabled:l.values.textEditorModule===""||l.values.textEditorModule===e.textEditorModule,label:n.settings.apply,onClick:()=>l.submitForm()})]})})]})}const dMe=(e,t)=>{if(e.theme){localStorage.setItem("ui_theme",e.theme);const n=document.getElementsByTagName("body")[0].classList;for(const r of n.value.split(" "))r.endsWith("-theme")&&n.remove(r);e.theme.split(" ").forEach(r=>{n.add(r)})}},fMe=[{label:"MacOSX Automatic",value:"mac-theme"},{label:"MacOSX Light",value:"mac-theme light-theme"},{label:"MacOSX Dark",value:"mac-theme dark-theme"}];function pMe({}){const{config:e,patchConfig:t}=R.useContext(Jp),n=At(),{formik:r}=Dr({}),a=(o,l)=>{o.theme&&(t({theme:o.theme}),dMe(o))};R.useEffect(()=>{var o;(o=r.current)==null||o.setValues({theme:e.theme})},[e.remote]);const i=js(fMe);return w.jsxs(Mo,{title:n.generalSettings.theme.title,children:[w.jsx("p",{children:n.generalSettings.theme.description}),w.jsx(os,{innerRef:o=>{o&&(r.current=o)},initialValues:{},onSubmit:a,children:o=>w.jsxs("form",{className:"richtext-editor-config-form",onSubmit:l=>l.preventDefault(),children:[w.jsx(Vb,{errors:o.errors}),w.jsx(ca,{keyExtractor:l=>l.value,formEffect:{form:o,field:"theme",beforeSet(l){return l.value}},errorMessage:o.errors.theme,querySource:i,label:n.settings.theme,hint:n.settings.themeHint}),w.jsx(Fs,{disabled:o.values.theme===""||o.values.theme===e.theme,label:n.settings.apply,onClick:()=>o.submitForm()})]})})]})}function mMe({}){const e=At();return am(e.menu.settings),w.jsxs("div",{children:[w.jsx(sMe,{}),kr.FORCED_LOCALE?null:w.jsx(aMe,{}),w.jsx(cMe,{}),w.jsx(J2e,{}),kr.FORCE_APP_THEME!=="true"?w.jsx(pMe,{}):null,w.jsx(nMe,{})]})}const hMe={setupTotpDescription:'In order to complete account registeration, you need to scan the following code using "Microsoft authenticator" or "Google Authenticator". After that, you need to enter the 6 digit code from the app here.',welcomeBackDescription:"Select any option to continue to access your account.",google:"Google",selectWorkspace:"You have multiple workspaces associated with your account. Select one to continue.",completeYourAccount:"Complete your account",completeYourAccountDescription:"Complete the information below to complete your signup",registerationNotPossibleLine1:"In this project there are no workspace types that can be used publicly to create account.",enterPassword:"Enter Password",welcomeBack:"Welcome back",emailMethod:"Email",phoneMethod:"Phone number",noAuthenticationMethod:"Authentication Currently Unavailable",firstName:"First name",registerationNotPossible:"Registeration not possible.",setupDualFactor:"Setup Dual Factor",cancelStep:"Cancel and try another way.",enterOtp:"Enter OTP",skipTotpInfo:"You can setup this any time later, by visiting your account security section.",continueWithEmailDescription:"Enter your email address to continue.",enterOtpDescription:"We have sent you an one time password, please enter to continue.",continueWithEmail:"Continue with Email",continueWithPhone:"Continue with Phone",registerationNotPossibleLine2:"Contact the service administrator to create your account for you.",useOneTimePassword:"Use one time password instead",changePassword:{pass1Label:"Password",pass2Label:"Repeat password",submit:"Change Password",title:"Change password",description:"In order to change your password, enter new password twice same in the fields"},continueWithPhoneDescription:"Enter your phone number to continue.",lastName:"Last name",password:"Password",continue:"Continue",anotherAccount:"Choose another account",noAuthenticationMethodDescription:"Sign-in and registration are not available in your region at this time. If you believe this is an error or need access, please contact the administrator.",home:{title:"Account & Profile",description:"Manage your account, emails, passwords and more",passports:"Passports",passportsTitle:"Passports",passportsDescription:"View emails, phone numbers associated with your account."},enterTotp:"Enter Totp Code",enterTotpDescription:"Open your authenticator app and enter the 6 digits.",setupTotp:"Setup Dual Factor",skipTotpButton:"Skip for now",userPassports:{title:"Passports",description:"You can see a list of passports that you can use to authenticate into the system here.",add:"Add new passport",remove:"Remove passport"},selectWorkspaceTitle:"Select workspace",chooseAnotherMethod:"Choose another method",enterPasswordDescription:"Enter your password to continue authorizing your account."},gMe={registerationNotPossibleLine2:"Skontaktuj się z administratorem usługi, aby utworzył konto dla Ciebie.",chooseAnotherMethod:"Wybierz inną metodę",continue:"Kontynuuj",continueWithPhone:"Kontynuuj za pomocą numeru telefonu",enterPassword:"Wprowadź hasło",noAuthenticationMethod:"Uwierzytelnianie obecnie niedostępne",completeYourAccountDescription:"Uzupełnij poniższe informacje, aby zakończyć rejestrację",registerationNotPossible:"Rejestracja niemożliwa.",selectWorkspace:"Masz wiele przestrzeni roboczych powiązanych z Twoim kontem. Wybierz jedną, aby kontynuować.",welcomeBack:"Witamy ponownie",enterOtp:"Wprowadź jednorazowy kod",enterPasswordDescription:"Wprowadź swoje hasło, aby kontynuować autoryzację konta.",userPassports:{add:"Dodaj nowy paszport",description:"Tutaj możesz zobaczyć listę paszportów, które możesz wykorzystać do uwierzytelniania w systemie.",remove:"Usuń paszport",title:"Paszporty"},registerationNotPossibleLine1:"W tym projekcie nie ma dostępnych typów przestrzeni roboczych do publicznego tworzenia konta.",cancelStep:"Anuluj i spróbuj innej metody.",continueWithEmail:"Kontynuuj za pomocą e-maila",continueWithPhoneDescription:"Wprowadź swój numer telefonu, aby kontynuować.",emailMethod:"E-mail",enterTotp:"Wprowadź kod TOTP",noAuthenticationMethodDescription:"Logowanie i rejestracja są obecnie niedostępne w Twoim regionie. Jeśli uważasz, że to błąd lub potrzebujesz dostępu, skontaktuj się z administratorem.",password:"Hasło",anotherAccount:"Wybierz inne konto",enterTotpDescription:"Otwórz aplikację uwierzytelniającą i wprowadź 6-cyfrowy kod.",firstName:"Imię",phoneMethod:"Numer telefonu",setupDualFactor:"Skonfiguruj uwierzytelnianie dwuskładnikowe",setupTotp:"Skonfiguruj uwierzytelnianie dwuskładnikowe",skipTotpInfo:"Możesz skonfigurować to później, odwiedzając sekcję bezpieczeństwa konta.",welcomeBackDescription:"Wybierz dowolną opcję, aby kontynuować dostęp do swojego konta.",changePassword:{pass1Label:"Hasło",pass2Label:"Powtórz hasło",submit:"Zmień hasło",title:"Zmień hasło",description:"Aby zmienić hasło, wprowadź nowe hasło dwukrotnie w polach poniżej"},lastName:"Nazwisko",useOneTimePassword:"Użyj jednorazowego hasła zamiast tego",completeYourAccount:"Uzupełnij swoje konto",continueWithEmailDescription:"Wprowadź swój adres e-mail, aby kontynuować.",enterOtpDescription:"Wysłaliśmy jednorazowy kod, wprowadź go, aby kontynuować.",google:"Google",home:{description:"Zarządzaj swoim kontem, e-mailami, hasłami i innymi",passports:"Paszporty",passportsDescription:"Zobacz e-maile i numery telefonów powiązane z Twoim kontem.",passportsTitle:"Paszporty",title:"Konto i profil"},selectWorkspaceTitle:"Wybierz przestrzeń roboczą",setupTotpDescription:"Aby zakończyć rejestrację konta, zeskanuj poniższy kod za pomocą aplikacji „Microsoft Authenticator” lub „Google Authenticator”. Następnie wprowadź tutaj 6-cyfrowy kod z aplikacji.",skipTotpButton:"Pomiń na razie"},xa={...hMe,$pl:gMe};function Mte({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/user/passports".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserPassportsActionResDto",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Mte.UKEY="*abac.UserPassportsActionResDto";const vMe=()=>{const e=Kt(xa),{goBack:t}=xr(),{items:n,query:r}=Mte({}),{signout:a}=R.useContext(Je);return{items:n,goBack:t,signout:a,query:r,s:e}},yMe=({})=>{const{query:e,items:t,s:n,signout:r}=vMe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:n.userPassports.title}),w.jsx("p",{children:n.userPassports.description}),w.jsx(xl,{query:e}),w.jsx(bMe,{passports:t}),w.jsx("button",{className:"btn btn-danger mt-3 w-100",onClick:r,children:"Signout"})]})},bMe=({passports:e})=>{const t=Kt(xa);return w.jsx("div",{className:"d-flex ",children:e.map(n=>w.jsxs("div",{className:"card p-3 w-100",children:[w.jsx("h3",{className:"card-title",children:n.type.toUpperCase()}),w.jsx("p",{className:"card-text",children:n.value}),w.jsxs("p",{className:"text-muted",children:["TOTP: ",n.totpConfirmed?"Yes":"No"]}),w.jsx(db,{href:`../change-password/${n.uniqueId}`,children:w.jsx("button",{className:"btn btn-primary",children:t.changePassword.submit})})]},n.uniqueId))})};function Ite(e){let{queryClient:t,query:n,execFnOverride:r}={};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/passport/change-password".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("string",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}class TL extends bx{constructor(...t){super(...t),this.password2=void 0}}TL.Fields={...bx.Fields,password2:"password2"};const wMe=()=>{const e=Kt(xa),{goBack:t,state:n,replace:r,push:a,query:i}=xr(),{submit:o,mutation:l}=Ite(),u=i==null?void 0:i.uniqueId,d=()=>{o(f.values).then(g=>{t()})},f=Cc({initialValues:{},onSubmit:d});return R.useEffect(()=>{!u||!f||f.setFieldValue(bx.Fields.uniqueId,u)},[u]),{mutation:l,form:f,submit:d,goBack:t,s:e}},SMe=({})=>{const{mutation:e,form:t,s:n}=wMe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:n.changePassword.title}),w.jsx("p",{children:n.changePassword.description}),w.jsx(xl,{query:e}),w.jsx(EMe,{form:t,mutation:e})]})},EMe=({form:e,mutation:t})=>{const n=Kt(xa),{password2:r,password:a}=e.values,i=a!==r||((a==null?void 0:a.length)||0)<6;return w.jsxs("form",{onSubmit:o=>{o.preventDefault(),e.submitForm()},children:[w.jsx(In,{type:"password",value:e.values.password,label:n.changePassword.pass1Label,id:"password-input",errorMessage:e.errors.password,onChange:o=>e.setFieldValue(TL.Fields.password,o,!1)}),w.jsx(In,{type:"password",value:e.values.password2,label:n.changePassword.pass2Label,id:"password-input-2",errorMessage:e.errors.password,onChange:o=>e.setFieldValue(TL.Fields.password2,o,!1)}),w.jsx(Fs,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:i,children:n.continue})]})};function TMe(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}=e,[a,i]=R.useState(!1),o=R.useRef(n);o.current=n;const l=R.useRef(r);return l.current=r,R.useEffect(()=>{const u=document.createElement("script");return u.src="https://accounts.google.com/gsi/client",u.async=!0,u.defer=!0,u.nonce=t,u.onload=()=>{var d;i(!0),(d=o.current)===null||d===void 0||d.call(o)},u.onerror=()=>{var d;i(!1),(d=l.current)===null||d===void 0||d.call(l)},document.body.appendChild(u),()=>{document.body.removeChild(u)}},[t]),a}const Dte=R.createContext(null);function CMe({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r,children:a}){const i=TMe({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}),o=R.useMemo(()=>({clientId:e,scriptLoadedSuccessfully:i}),[e,i]);return ze.createElement(Dte.Provider,{value:o},a)}function kMe(){const e=R.useContext(Dte);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function xMe({flow:e="implicit",scope:t="",onSuccess:n,onError:r,onNonOAuthError:a,overrideScope:i,state:o,...l}){const{clientId:u,scriptLoadedSuccessfully:d}=kMe(),f=R.useRef(),g=R.useRef(n);g.current=n;const y=R.useRef(r);y.current=r;const p=R.useRef(a);p.current=a,R.useEffect(()=>{var T,C;if(!d)return;const k=e==="implicit"?"initTokenClient":"initCodeClient",_=(C=(T=window==null?void 0:window.google)===null||T===void 0?void 0:T.accounts)===null||C===void 0?void 0:C.oauth2[k]({client_id:u,scope:i?t:`openid profile email ${t}`,callback:A=>{var P,N;if(A.error)return(P=y.current)===null||P===void 0?void 0:P.call(y,A);(N=g.current)===null||N===void 0||N.call(g,A)},error_callback:A=>{var P;(P=p.current)===null||P===void 0||P.call(p,A)},state:o,...l});f.current=_},[u,d,e,t,o]);const v=R.useCallback(T=>{var C;return(C=f.current)===null||C===void 0?void 0:C.requestAccessToken(T)},[]),E=R.useCallback(()=>{var T;return(T=f.current)===null||T===void 0?void 0:T.requestCode()},[]);return e==="implicit"?v:E}const $te=()=>w.jsxs("div",{className:"loader",id:"loader-4",children:[w.jsx("span",{}),w.jsx("span",{}),w.jsx("span",{})]});function _Me(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/passport/via-oauth".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.OauthAuthenticateActionResDto",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}var As=(e=>(e.Email="email",e.Phone="phone",e.Google="google",e.Facebook="facebook",e))(As||{});const aE=()=>{const{setSession:e,selectUrw:t,selectedUrw:n}=R.useContext(Je),{locale:r}=sr(),{replace:a}=xr();return{onComplete:o=>{var g,y;e(o.data.item.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(o.data));const u=new URLSearchParams(window.location.search).get("redirect"),d=sessionStorage.getItem("redirect_temporary");if(!((y=(g=o.data)==null?void 0:g.item.session)==null?void 0:y.token)){alert("Authentication has failed.");return}if(sessionStorage.removeItem("redirect_temporary"),sessionStorage.removeItem("workspace_type_id"),d)window.location.href=d;else if(u){const p=new URL(u);p.searchParams.set("session",JSON.stringify(o.data.item.session)),window.location.href=p.toString()}else{const p="/{locale}/dashboard".replace("{locale}",r||"en");a(p,p)}}}},OMe=e=>{R.useEffect(()=>{const t=new URLSearchParams(window.location.search),n=window.location.hash.indexOf("?"),r=n!==-1?new URLSearchParams(window.location.hash.slice(n)):new URLSearchParams;e.forEach(a=>{const i=t.get(a)||r.get(a);i&&sessionStorage.setItem(a,i)})},[e.join(",")])},RMe=({continueWithResult:e,facebookAppId:t})=>{Kt(xa),R.useEffect(()=>{if(window.FB)return;const r=document.createElement("script");r.src="https://connect.facebook.net/en_US/sdk.js",r.async=!0,r.onload=()=>{window.FB.init({appId:t,cookie:!0,xfbml:!1,version:"v19.0"})},document.body.appendChild(r)},[]);const n=()=>{const r=window.FB;if(!r){alert("Facebook SDK not loaded");return}r.login(a=>{var i;console.log("Facebook:",a),(i=a.authResponse)!=null&&i.accessToken?e(a.authResponse.accessToken):alert("Facebook login failed")},{scope:"email,public_profile"})};return w.jsxs("button",{id:"using-facebook",type:"button",onClick:n,children:[w.jsx("img",{className:"button-icon",src:Is("/common/facebook.png")}),"Facebook"]})};function CL(e,t){const n={};for(const[r,a]of Object.entries(t))typeof a=="string"?n[r]=`${e}.${a}`:typeof a=="object"&&a!==null&&(n[r]=a);return n}var Ha,Qf,Zf,Jf,ep,tp,np,rp,ap,ip,op,sp,lp,up,cp,dp,fp,pp,mp,CC,kC,hp,gp,vp,ec,xC,yp,bp,wp,Sp,Ep,Tp,Cp,kp,_C;function Xe(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var PMe=0;function Pn(e){return"__private_"+PMe+++"_"+e}var kh=Pn("apiVersion"),xh=Pn("context"),_h=Pn("id"),Oh=Pn("method"),Rh=Pn("params"),rd=Pn("data"),ad=Pn("error"),RP=Pn("isJsonAppliable"),Xw=Pn("lateInitFields");class No{get apiVersion(){return Xe(this,kh)[kh]}set apiVersion(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,kh)[kh]=n?t:String(t)}setApiVersion(t){return this.apiVersion=t,this}get context(){return Xe(this,xh)[xh]}set context(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,xh)[xh]=n?t:String(t)}setContext(t){return this.context=t,this}get id(){return Xe(this,_h)[_h]}set id(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,_h)[_h]=n?t:String(t)}setId(t){return this.id=t,this}get method(){return Xe(this,Oh)[Oh]}set method(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Oh)[Oh]=n?t:String(t)}setMethod(t){return this.method=t,this}get params(){return Xe(this,Rh)[Rh]}set params(t){Xe(this,Rh)[Rh]=t}setParams(t){return this.params=t,this}get data(){return Xe(this,rd)[rd]}set data(t){t instanceof No.Data?Xe(this,rd)[rd]=t:Xe(this,rd)[rd]=new No.Data(t)}setData(t){return this.data=t,this}get error(){return Xe(this,ad)[ad]}set error(t){t instanceof No.Error?Xe(this,ad)[ad]=t:Xe(this,ad)[ad]=new No.Error(t)}setError(t){return this.error=t,this}constructor(t=void 0){if(Object.defineProperty(this,Xw,{value:NMe}),Object.defineProperty(this,RP,{value:AMe}),Object.defineProperty(this,kh,{writable:!0,value:void 0}),Object.defineProperty(this,xh,{writable:!0,value:void 0}),Object.defineProperty(this,_h,{writable:!0,value:void 0}),Object.defineProperty(this,Oh,{writable:!0,value:void 0}),Object.defineProperty(this,Rh,{writable:!0,value:null}),Object.defineProperty(this,rd,{writable:!0,value:void 0}),Object.defineProperty(this,ad,{writable:!0,value:void 0}),t==null){Xe(this,Xw)[Xw]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,RP)[RP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.apiVersion!==void 0&&(this.apiVersion=n.apiVersion),n.context!==void 0&&(this.context=n.context),n.id!==void 0&&(this.id=n.id),n.method!==void 0&&(this.method=n.method),n.params!==void 0&&(this.params=n.params),n.data!==void 0&&(this.data=n.data),n.error!==void 0&&(this.error=n.error),Xe(this,Xw)[Xw](t)}toJSON(){return{apiVersion:Xe(this,kh)[kh],context:Xe(this,xh)[xh],id:Xe(this,_h)[_h],method:Xe(this,Oh)[Oh],params:Xe(this,Rh)[Rh],data:Xe(this,rd)[rd],error:Xe(this,ad)[ad]}}toString(){return JSON.stringify(this)}static get Fields(){return{apiVersion:"apiVersion",context:"context",id:"id",method:"method",params:"params",data$:"data",get data(){return CL("data",No.Data.Fields)},error$:"error",get error(){return CL("error",No.Error.Fields)}}}static from(t){return new No(t)}static with(t){return new No(t)}copyWith(t){return new No({...this.toJSON(),...t})}clone(){return new No(this.toJSON())}}Ha=No;function AMe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function NMe(e={}){const t=e;t.data instanceof Ha.Data||(this.data=new Ha.Data(t.data||{})),t.error instanceof Ha.Error||(this.error=new Ha.Error(t.error||{}))}No.Data=(Qf=Pn("item"),Zf=Pn("items"),Jf=Pn("editLink"),ep=Pn("selfLink"),tp=Pn("kind"),np=Pn("fields"),rp=Pn("etag"),ap=Pn("cursor"),ip=Pn("id"),op=Pn("lang"),sp=Pn("updated"),lp=Pn("currentItemCount"),up=Pn("itemsPerPage"),cp=Pn("startIndex"),dp=Pn("totalItems"),fp=Pn("totalAvailableItems"),pp=Pn("pageIndex"),mp=Pn("totalPages"),CC=Pn("isJsonAppliable"),class{get item(){return Xe(this,Qf)[Qf]}set item(t){Xe(this,Qf)[Qf]=t}setItem(t){return this.item=t,this}get items(){return Xe(this,Zf)[Zf]}set items(t){Xe(this,Zf)[Zf]=t}setItems(t){return this.items=t,this}get editLink(){return Xe(this,Jf)[Jf]}set editLink(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Jf)[Jf]=n?t:String(t)}setEditLink(t){return this.editLink=t,this}get selfLink(){return Xe(this,ep)[ep]}set selfLink(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,ep)[ep]=n?t:String(t)}setSelfLink(t){return this.selfLink=t,this}get kind(){return Xe(this,tp)[tp]}set kind(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,tp)[tp]=n?t:String(t)}setKind(t){return this.kind=t,this}get fields(){return Xe(this,np)[np]}set fields(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,np)[np]=n?t:String(t)}setFields(t){return this.fields=t,this}get etag(){return Xe(this,rp)[rp]}set etag(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,rp)[rp]=n?t:String(t)}setEtag(t){return this.etag=t,this}get cursor(){return Xe(this,ap)[ap]}set cursor(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,ap)[ap]=n?t:String(t)}setCursor(t){return this.cursor=t,this}get id(){return Xe(this,ip)[ip]}set id(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,ip)[ip]=n?t:String(t)}setId(t){return this.id=t,this}get lang(){return Xe(this,op)[op]}set lang(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,op)[op]=n?t:String(t)}setLang(t){return this.lang=t,this}get updated(){return Xe(this,sp)[sp]}set updated(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,sp)[sp]=n?t:String(t)}setUpdated(t){return this.updated=t,this}get currentItemCount(){return Xe(this,lp)[lp]}set currentItemCount(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,lp)[lp]=r)}setCurrentItemCount(t){return this.currentItemCount=t,this}get itemsPerPage(){return Xe(this,up)[up]}set itemsPerPage(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,up)[up]=r)}setItemsPerPage(t){return this.itemsPerPage=t,this}get startIndex(){return Xe(this,cp)[cp]}set startIndex(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,cp)[cp]=r)}setStartIndex(t){return this.startIndex=t,this}get totalItems(){return Xe(this,dp)[dp]}set totalItems(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,dp)[dp]=r)}setTotalItems(t){return this.totalItems=t,this}get totalAvailableItems(){return Xe(this,fp)[fp]}set totalAvailableItems(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,fp)[fp]=r)}setTotalAvailableItems(t){return this.totalAvailableItems=t,this}get pageIndex(){return Xe(this,pp)[pp]}set pageIndex(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,pp)[pp]=r)}setPageIndex(t){return this.pageIndex=t,this}get totalPages(){return Xe(this,mp)[mp]}set totalPages(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,mp)[mp]=r)}setTotalPages(t){return this.totalPages=t,this}constructor(t=void 0){if(Object.defineProperty(this,CC,{value:MMe}),Object.defineProperty(this,Qf,{writable:!0,value:null}),Object.defineProperty(this,Zf,{writable:!0,value:null}),Object.defineProperty(this,Jf,{writable:!0,value:void 0}),Object.defineProperty(this,ep,{writable:!0,value:void 0}),Object.defineProperty(this,tp,{writable:!0,value:void 0}),Object.defineProperty(this,np,{writable:!0,value:void 0}),Object.defineProperty(this,rp,{writable:!0,value:void 0}),Object.defineProperty(this,ap,{writable:!0,value:void 0}),Object.defineProperty(this,ip,{writable:!0,value:void 0}),Object.defineProperty(this,op,{writable:!0,value:void 0}),Object.defineProperty(this,sp,{writable:!0,value:void 0}),Object.defineProperty(this,lp,{writable:!0,value:void 0}),Object.defineProperty(this,up,{writable:!0,value:void 0}),Object.defineProperty(this,cp,{writable:!0,value:void 0}),Object.defineProperty(this,dp,{writable:!0,value:void 0}),Object.defineProperty(this,fp,{writable:!0,value:void 0}),Object.defineProperty(this,pp,{writable:!0,value:void 0}),Object.defineProperty(this,mp,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,CC)[CC](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.item!==void 0&&(this.item=n.item),n.items!==void 0&&(this.items=n.items),n.editLink!==void 0&&(this.editLink=n.editLink),n.selfLink!==void 0&&(this.selfLink=n.selfLink),n.kind!==void 0&&(this.kind=n.kind),n.fields!==void 0&&(this.fields=n.fields),n.etag!==void 0&&(this.etag=n.etag),n.cursor!==void 0&&(this.cursor=n.cursor),n.id!==void 0&&(this.id=n.id),n.lang!==void 0&&(this.lang=n.lang),n.updated!==void 0&&(this.updated=n.updated),n.currentItemCount!==void 0&&(this.currentItemCount=n.currentItemCount),n.itemsPerPage!==void 0&&(this.itemsPerPage=n.itemsPerPage),n.startIndex!==void 0&&(this.startIndex=n.startIndex),n.totalItems!==void 0&&(this.totalItems=n.totalItems),n.totalAvailableItems!==void 0&&(this.totalAvailableItems=n.totalAvailableItems),n.pageIndex!==void 0&&(this.pageIndex=n.pageIndex),n.totalPages!==void 0&&(this.totalPages=n.totalPages)}toJSON(){return{item:Xe(this,Qf)[Qf],items:Xe(this,Zf)[Zf],editLink:Xe(this,Jf)[Jf],selfLink:Xe(this,ep)[ep],kind:Xe(this,tp)[tp],fields:Xe(this,np)[np],etag:Xe(this,rp)[rp],cursor:Xe(this,ap)[ap],id:Xe(this,ip)[ip],lang:Xe(this,op)[op],updated:Xe(this,sp)[sp],currentItemCount:Xe(this,lp)[lp],itemsPerPage:Xe(this,up)[up],startIndex:Xe(this,cp)[cp],totalItems:Xe(this,dp)[dp],totalAvailableItems:Xe(this,fp)[fp],pageIndex:Xe(this,pp)[pp],totalPages:Xe(this,mp)[mp]}}toString(){return JSON.stringify(this)}static get Fields(){return{item:"item",items:"items",editLink:"editLink",selfLink:"selfLink",kind:"kind",fields:"fields",etag:"etag",cursor:"cursor",id:"id",lang:"lang",updated:"updated",currentItemCount:"currentItemCount",itemsPerPage:"itemsPerPage",startIndex:"startIndex",totalItems:"totalItems",totalAvailableItems:"totalAvailableItems",pageIndex:"pageIndex",totalPages:"totalPages"}}static from(t){return new Ha.Data(t)}static with(t){return new Ha.Data(t)}copyWith(t){return new Ha.Data({...this.toJSON(),...t})}clone(){return new Ha.Data(this.toJSON())}});function MMe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}No.Error=(hp=Pn("code"),gp=Pn("message"),vp=Pn("messageTranslated"),ec=Pn("errors"),xC=Pn("isJsonAppliable"),kC=class Lte{get code(){return Xe(this,hp)[hp]}set code(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(Xe(this,hp)[hp]=r)}setCode(t){return this.code=t,this}get message(){return Xe(this,gp)[gp]}set message(t){Xe(this,gp)[gp]=String(t)}setMessage(t){return this.message=t,this}get messageTranslated(){return Xe(this,vp)[vp]}set messageTranslated(t){Xe(this,vp)[vp]=String(t)}setMessageTranslated(t){return this.messageTranslated=t,this}get errors(){return Xe(this,ec)[ec]}set errors(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof Ha.Error.Errors?Xe(this,ec)[ec]=t:Xe(this,ec)[ec]=t.map(n=>new Ha.Error.Errors(n)))}setErrors(t){return this.errors=t,this}constructor(t=void 0){if(Object.defineProperty(this,xC,{value:DMe}),Object.defineProperty(this,hp,{writable:!0,value:0}),Object.defineProperty(this,gp,{writable:!0,value:""}),Object.defineProperty(this,vp,{writable:!0,value:""}),Object.defineProperty(this,ec,{writable:!0,value:[]}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,xC)[xC](t))this.applyFromObject(t);else throw new Lte("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.code!==void 0&&(this.code=n.code),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.errors!==void 0&&(this.errors=n.errors)}toJSON(){return{code:Xe(this,hp)[hp],message:Xe(this,gp)[gp],messageTranslated:Xe(this,vp)[vp],errors:Xe(this,ec)[ec]}}toString(){return JSON.stringify(this)}static get Fields(){return{code:"code",message:"message",messageTranslated:"messageTranslated",errors$:"errors",get errors(){return CL("error.errors[:i]",Ha.Error.Errors.Fields)}}}static from(t){return new Ha.Error(t)}static with(t){return new Ha.Error(t)}copyWith(t){return new Ha.Error({...this.toJSON(),...t})}clone(){return new Ha.Error(this.toJSON())}},kC.Errors=(yp=Pn("domain"),bp=Pn("reason"),wp=Pn("message"),Sp=Pn("messageTranslated"),Ep=Pn("location"),Tp=Pn("locationType"),Cp=Pn("extendedHelp"),kp=Pn("sendReport"),_C=Pn("isJsonAppliable"),class{get domain(){return Xe(this,yp)[yp]}set domain(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,yp)[yp]=n?t:String(t)}setDomain(t){return this.domain=t,this}get reason(){return Xe(this,bp)[bp]}set reason(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,bp)[bp]=n?t:String(t)}setReason(t){return this.reason=t,this}get message(){return Xe(this,wp)[wp]}set message(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,wp)[wp]=n?t:String(t)}setMessage(t){return this.message=t,this}get messageTranslated(){return Xe(this,Sp)[Sp]}set messageTranslated(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Sp)[Sp]=n?t:String(t)}setMessageTranslated(t){return this.messageTranslated=t,this}get location(){return Xe(this,Ep)[Ep]}set location(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Ep)[Ep]=n?t:String(t)}setLocation(t){return this.location=t,this}get locationType(){return Xe(this,Tp)[Tp]}set locationType(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Tp)[Tp]=n?t:String(t)}setLocationType(t){return this.locationType=t,this}get extendedHelp(){return Xe(this,Cp)[Cp]}set extendedHelp(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Cp)[Cp]=n?t:String(t)}setExtendedHelp(t){return this.extendedHelp=t,this}get sendReport(){return Xe(this,kp)[kp]}set sendReport(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,kp)[kp]=n?t:String(t)}setSendReport(t){return this.sendReport=t,this}constructor(t=void 0){if(Object.defineProperty(this,_C,{value:IMe}),Object.defineProperty(this,yp,{writable:!0,value:void 0}),Object.defineProperty(this,bp,{writable:!0,value:void 0}),Object.defineProperty(this,wp,{writable:!0,value:void 0}),Object.defineProperty(this,Sp,{writable:!0,value:void 0}),Object.defineProperty(this,Ep,{writable:!0,value:void 0}),Object.defineProperty(this,Tp,{writable:!0,value:void 0}),Object.defineProperty(this,Cp,{writable:!0,value:void 0}),Object.defineProperty(this,kp,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,_C)[_C](t))this.applyFromObject(t);else throw new kC("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.domain!==void 0&&(this.domain=n.domain),n.reason!==void 0&&(this.reason=n.reason),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.location!==void 0&&(this.location=n.location),n.locationType!==void 0&&(this.locationType=n.locationType),n.extendedHelp!==void 0&&(this.extendedHelp=n.extendedHelp),n.sendReport!==void 0&&(this.sendReport=n.sendReport)}toJSON(){return{domain:Xe(this,yp)[yp],reason:Xe(this,bp)[bp],message:Xe(this,wp)[wp],messageTranslated:Xe(this,Sp)[Sp],location:Xe(this,Ep)[Ep],locationType:Xe(this,Tp)[Tp],extendedHelp:Xe(this,Cp)[Cp],sendReport:Xe(this,kp)[kp]}}toString(){return JSON.stringify(this)}static get Fields(){return{domain:"domain",reason:"reason",message:"message",messageTranslated:"messageTranslated",location:"location",locationType:"locationType",extendedHelp:"extendedHelp",sendReport:"sendReport"}}static from(t){return new Ha.Error.Errors(t)}static with(t){return new Ha.Error.Errors(t)}copyWith(t){return new Ha.Error.Errors({...this.toJSON(),...t})}clone(){return new Ha.Error.Errors(this.toJSON())}}),kC);function IMe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function DMe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}class Vd extends No{constructor(t){super(t),this.creator=void 0}setCreator(t){return this.creator=t,this}inject(t){var n,r,a,i,o,l,u,d;return this.applyFromObject(t),t!=null&&t.data&&(this.data||this.setData({}),Array.isArray(t==null?void 0:t.data.items)&&typeof this.creator<"u"&&this.creator!==null?(a=this.data)==null||a.setItems((r=(n=t==null?void 0:t.data)==null?void 0:n.items)==null?void 0:r.map(f=>{var g;return(g=this.creator)==null?void 0:g.call(this,f)})):typeof((i=t==null?void 0:t.data)==null?void 0:i.item)=="object"&&typeof this.creator<"u"&&this.creator!==null?(l=this.data)==null||l.setItem(this.creator((o=t==null?void 0:t.data)==null?void 0:o.item)):(d=this.data)==null||d.setItem((u=t==null?void 0:t.data)==null?void 0:u.item)),this}}function lm(e,t,n){if(n&&n instanceof URLSearchParams)e+=`?${n.toString()}`;else if(n&&Object.keys(n).length){const r=new URLSearchParams(Object.entries(n).map(([a,i])=>[a,String(i)])).toString();e+=`?${r}`}return e}const Fte=R.createContext(null),$Me=Fte.Provider;function um(){return R.useContext(Fte)}var kS;function Vr(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var LMe=0;function Gd(e){return"__private_"+LMe+++"_"+e}const jte=e=>{const t=um(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),Id.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[Id.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class Id{}kS=Id;Id.URL="/passports/available-methods";Id.NewUrl=e=>lm(kS.URL,void 0,e);Id.Method="get";Id.Fetch$=async(e,t,n,r)=>nm(r??kS.NewUrl(e),{method:kS.Method,...n||{}},t);Id.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new jp(o)})=>{t=t||(l=>new jp(l));const o=await kS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Id.Definition={name:"CheckPassportMethods",cliName:"check-passport-methods",url:"/passports/available-methods",method:"get",description:"Publicly available information to create the authentication form, and show users how they can signin or signup to the system. Based on the PassportMethod entities, it will compute the available methods for the user, considering their region (IP for example)",out:{envelope:"GResponse",fields:[{name:"email",type:"bool",default:!1},{name:"phone",type:"bool",default:!1},{name:"google",type:"bool",default:!1},{name:"facebook",type:"bool",default:!1},{name:"googleOAuthClientKey",type:"string"},{name:"facebookAppId",type:"string"},{name:"enabledRecaptcha2",type:"bool",default:!1},{name:"recaptcha2ClientKey",type:"string"}]}};var Ph=Gd("email"),Ah=Gd("phone"),Nh=Gd("google"),Mh=Gd("facebook"),Ih=Gd("googleOAuthClientKey"),Dh=Gd("facebookAppId"),$h=Gd("enabledRecaptcha2"),Lh=Gd("recaptcha2ClientKey"),PP=Gd("isJsonAppliable");class jp{get email(){return Vr(this,Ph)[Ph]}set email(t){Vr(this,Ph)[Ph]=!!t}setEmail(t){return this.email=t,this}get phone(){return Vr(this,Ah)[Ah]}set phone(t){Vr(this,Ah)[Ah]=!!t}setPhone(t){return this.phone=t,this}get google(){return Vr(this,Nh)[Nh]}set google(t){Vr(this,Nh)[Nh]=!!t}setGoogle(t){return this.google=t,this}get facebook(){return Vr(this,Mh)[Mh]}set facebook(t){Vr(this,Mh)[Mh]=!!t}setFacebook(t){return this.facebook=t,this}get googleOAuthClientKey(){return Vr(this,Ih)[Ih]}set googleOAuthClientKey(t){Vr(this,Ih)[Ih]=String(t)}setGoogleOAuthClientKey(t){return this.googleOAuthClientKey=t,this}get facebookAppId(){return Vr(this,Dh)[Dh]}set facebookAppId(t){Vr(this,Dh)[Dh]=String(t)}setFacebookAppId(t){return this.facebookAppId=t,this}get enabledRecaptcha2(){return Vr(this,$h)[$h]}set enabledRecaptcha2(t){Vr(this,$h)[$h]=!!t}setEnabledRecaptcha2(t){return this.enabledRecaptcha2=t,this}get recaptcha2ClientKey(){return Vr(this,Lh)[Lh]}set recaptcha2ClientKey(t){Vr(this,Lh)[Lh]=String(t)}setRecaptcha2ClientKey(t){return this.recaptcha2ClientKey=t,this}constructor(t=void 0){if(Object.defineProperty(this,PP,{value:FMe}),Object.defineProperty(this,Ph,{writable:!0,value:!1}),Object.defineProperty(this,Ah,{writable:!0,value:!1}),Object.defineProperty(this,Nh,{writable:!0,value:!1}),Object.defineProperty(this,Mh,{writable:!0,value:!1}),Object.defineProperty(this,Ih,{writable:!0,value:""}),Object.defineProperty(this,Dh,{writable:!0,value:""}),Object.defineProperty(this,$h,{writable:!0,value:!1}),Object.defineProperty(this,Lh,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Vr(this,PP)[PP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.email!==void 0&&(this.email=n.email),n.phone!==void 0&&(this.phone=n.phone),n.google!==void 0&&(this.google=n.google),n.facebook!==void 0&&(this.facebook=n.facebook),n.googleOAuthClientKey!==void 0&&(this.googleOAuthClientKey=n.googleOAuthClientKey),n.facebookAppId!==void 0&&(this.facebookAppId=n.facebookAppId),n.enabledRecaptcha2!==void 0&&(this.enabledRecaptcha2=n.enabledRecaptcha2),n.recaptcha2ClientKey!==void 0&&(this.recaptcha2ClientKey=n.recaptcha2ClientKey)}toJSON(){return{email:Vr(this,Ph)[Ph],phone:Vr(this,Ah)[Ah],google:Vr(this,Nh)[Nh],facebook:Vr(this,Mh)[Mh],googleOAuthClientKey:Vr(this,Ih)[Ih],facebookAppId:Vr(this,Dh)[Dh],enabledRecaptcha2:Vr(this,$h)[$h],recaptcha2ClientKey:Vr(this,Lh)[Lh]}}toString(){return JSON.stringify(this)}static get Fields(){return{email:"email",phone:"phone",google:"google",facebook:"facebook",googleOAuthClientKey:"googleOAuthClientKey",facebookAppId:"facebookAppId",enabledRecaptcha2:"enabledRecaptcha2",recaptcha2ClientKey:"recaptcha2ClientKey"}}static from(t){return new jp(t)}static with(t){return new jp(t)}copyWith(t){return new jp({...this.toJSON(),...t})}clone(){return new jp(this.toJSON())}}function FMe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const jMe=()=>{var f,g;const e=At(),{locale:t}=sr(),{push:n}=xr(),r=R.useRef(),a=jte({});OMe(["redirect_temporary","workspace_type_id"]);const[i,o]=R.useState(void 0),l=i?Object.values(i).filter(Boolean).length:void 0,u=(g=(f=a.data)==null?void 0:f.data)==null?void 0:g.item,d=(y,p=!0)=>{switch(y){case As.Email:n(`/${t}/selfservice/email`,void 0,{canGoBack:p});break;case As.Phone:n(`/${t}/selfservice/phone`,void 0,{canGoBack:p});break}};return R.useEffect(()=>{if(!u)return;const y={email:u.email,google:u.google,facebook:u.facebook,phone:u.phone,googleOAuthClientKey:u.googleOAuthClientKey,facebookAppId:u.facebookAppId};Object.values(y).filter(Boolean).length===1&&(y.email&&d(As.Email,!1),y.phone&&d(As.Phone,!1),y.google&&d(As.Google,!1),y.facebook&&d(As.Facebook,!1)),o(y)},[u]),{t:e,formik:r,onSelect:d,availableOptions:i,passportMethodsQuery:a,isLoadingMethods:a.isLoading,totalAvailableMethods:l}},UMe=()=>{const{onSelect:e,availableOptions:t,totalAvailableMethods:n,isLoadingMethods:r,passportMethodsQuery:a}=jMe(),i=Cc({initialValues:{},onSubmit:()=>{}});return a.isError||a.error?w.jsx("div",{className:"signin-form-container",children:w.jsx(xl,{query:a})}):n===void 0||r?w.jsx("div",{className:"signin-form-container",children:w.jsx($te,{})}):n===0?w.jsx("div",{className:"signin-form-container",children:w.jsx(WMe,{})}):w.jsx("div",{className:"signin-form-container",children:t.googleOAuthClientKey?w.jsx(CMe,{clientId:t.googleOAuthClientKey,children:w.jsx(pW,{availableOptions:t,onSelect:e,form:i})}):w.jsx(pW,{availableOptions:t,onSelect:e,form:i})})},pW=({form:e,onSelect:t,availableOptions:n})=>{const{submit:r}=_Me({}),{setSession:a}=R.useContext(Je),{locale:i}=sr(),{replace:o}=xr(),l=(d,f)=>{r({service:f,token:d}).then(g=>{a(g.data.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(g.data));{const y=kr.DEFAULT_ROUTE.replace("{locale}",i||"en");o(y,y)}}).catch(g=>{alert(g)})},u=Kt(xa);return w.jsxs("form",{onSubmit:d=>{d.preventDefault(),e.submitForm()},children:[w.jsx("h1",{children:u.welcomeBack}),w.jsxs("p",{children:[u.welcomeBackDescription," "]}),w.jsxs("div",{role:"group","aria-label":"Login method",className:"flex gap-2 login-option-buttons",children:[n.email?w.jsx("button",{id:"using-email",type:"button",onClick:()=>t(As.Email),children:u.emailMethod}):null,n.phone?w.jsx("button",{id:"using-phone",type:"button",onClick:()=>t(As.Phone),children:u.phoneMethod}):null,n.facebook?w.jsx(RMe,{facebookAppId:n.facebookAppId,continueWithResult:d=>l(d,"facebook")}):null,n.google?w.jsx(BMe,{continueWithResult:d=>l(d,"google")}):null]})]})},BMe=({continueWithResult:e})=>{const t=Kt(xa),n=xMe({onSuccess:r=>{e(r.access_token)},scope:["https://www.googleapis.com/auth/userinfo.profile"].join(" ")});return w.jsx(w.Fragment,{children:w.jsxs("button",{id:"using-google",type:"button",onClick:()=>n(),children:[w.jsx("img",{className:"button-icon",src:Is("/common/google.png")}),t.google]})})},WMe=()=>{const e=Kt(xa);return w.jsxs(w.Fragment,{children:[w.jsx("h1",{children:e.noAuthenticationMethod}),w.jsx("p",{children:e.noAuthenticationMethodDescription})]})};var zMe=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function kL(){return kL=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function OC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HMe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xL(e,t)}function xL(e,t){return xL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},xL(e,t)}var Hx=(function(e){HMe(t,e);function t(){var r;return r=e.call(this)||this,r.handleExpired=r.handleExpired.bind(OC(r)),r.handleErrored=r.handleErrored.bind(OC(r)),r.handleChange=r.handleChange.bind(OC(r)),r.handleRecaptchaRef=r.handleRecaptchaRef.bind(OC(r)),r}var n=t.prototype;return n.getCaptchaFunction=function(a){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[a]:this.props.grecaptcha[a]:null},n.getValue=function(){var a=this.getCaptchaFunction("getResponse");return a&&this._widgetId!==void 0?a(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},n.execute=function(){var a=this.getCaptchaFunction("execute");if(a&&this._widgetId!==void 0)return a(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var a=this;return new Promise(function(i,o){a.executionResolve=i,a.executionReject=o,a.execute()})},n.reset=function(){var a=this.getCaptchaFunction("reset");a&&this._widgetId!==void 0&&a(this._widgetId)},n.forceReset=function(){var a=this.getCaptchaFunction("reset");a&&a()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(a){this.props.onChange&&this.props.onChange(a),this.executionResolve&&(this.executionResolve(a),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var a=this.getCaptchaFunction("render");if(a&&this._widgetId===void 0){var i=document.createElement("div");this._widgetId=a(i,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(i)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(a){this.captcha=a},n.render=function(){var a=this.props;a.sitekey,a.onChange,a.theme,a.type,a.tabindex,a.onExpired,a.onErrored,a.size,a.stoken,a.grecaptcha,a.badge,a.hl,a.isolated;var i=qMe(a,zMe);return R.createElement("div",kL({},i,{ref:this.handleRecaptchaRef}))},t})(R.Component);Hx.displayName="ReCAPTCHA";Hx.propTypes={sitekey:Ye.string.isRequired,onChange:Ye.func,grecaptcha:Ye.object,theme:Ye.oneOf(["dark","light"]),type:Ye.oneOf(["image","audio"]),tabindex:Ye.number,onExpired:Ye.func,onErrored:Ye.func,size:Ye.oneOf(["compact","normal","invisible"]),stoken:Ye.string,hl:Ye.string,badge:Ye.oneOf(["bottomright","bottomleft","inline"]),isolated:Ye.bool};Hx.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};function _L(){return _L=Object.assign||function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function GMe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var ou={},YMe=0;function KMe(e,t){return t=t||{},function(r){var a=r.displayName||r.name||"Component",i=(function(l){GMe(u,l);function u(f,g){var y;return y=l.call(this,f,g)||this,y.state={},y.__scriptURL="",y}var d=u.prototype;return d.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+YMe++),this.__scriptLoaderID},d.setupScriptURL=function(){return this.__scriptURL=typeof e=="function"?e():e,this.__scriptURL},d.asyncScriptLoaderHandleLoad=function(g){var y=this;this.setState(g,function(){return y.props.asyncScriptOnLoad&&y.props.asyncScriptOnLoad(y.state)})},d.asyncScriptLoaderTriggerOnScriptLoaded=function(){var g=ou[this.__scriptURL];if(!g||!g.loaded)throw new Error("Script is not loaded.");for(var y in g.observers)g.observers[y](g);delete window[t.callbackName]},d.componentDidMount=function(){var g=this,y=this.setupScriptURL(),p=this.asyncScriptLoaderGetScriptLoaderID(),v=t,E=v.globalName,T=v.callbackName,C=v.scriptId;if(E&&typeof window[E]<"u"&&(ou[y]={loaded:!0,observers:{}}),ou[y]){var k=ou[y];if(k&&(k.loaded||k.errored)){this.asyncScriptLoaderHandleLoad(k);return}k.observers[p]=function(I){return g.asyncScriptLoaderHandleLoad(I)};return}var _={};_[p]=function(I){return g.asyncScriptLoaderHandleLoad(I)},ou[y]={loaded:!1,observers:_};var A=document.createElement("script");A.src=y,A.async=!0;for(var P in t.attributes)A.setAttribute(P,t.attributes[P]);C&&(A.id=C);var N=function(L){if(ou[y]){var j=ou[y],z=j.observers;for(var Q in z)L(z[Q])&&delete z[Q]}};T&&typeof window<"u"&&(window[T]=function(){return g.asyncScriptLoaderTriggerOnScriptLoaded()}),A.onload=function(){var I=ou[y];I&&(I.loaded=!0,N(function(L){return T?!1:(L(I),!0)}))},A.onerror=function(){var I=ou[y];I&&(I.errored=!0,N(function(L){return L(I),!0}))},document.body.appendChild(A)},d.componentWillUnmount=function(){var g=this.__scriptURL;if(t.removeOnUnmount===!0)for(var y=document.getElementsByTagName("script"),p=0;p-1&&y[p].parentNode&&y[p].parentNode.removeChild(y[p]);var v=ou[g];v&&(delete v.observers[this.asyncScriptLoaderGetScriptLoaderID()],t.removeOnUnmount===!0&&delete ou[g])},d.render=function(){var g=t.globalName,y=this.props;y.asyncScriptOnLoad;var p=y.forwardedRef,v=VMe(y,["asyncScriptOnLoad","forwardedRef"]);return g&&typeof window<"u"&&(v[g]=typeof window[g]<"u"?window[g]:void 0),v.ref=p,R.createElement(r,v)},u})(R.Component),o=R.forwardRef(function(l,u){return R.createElement(i,_L({},l,{forwardedRef:u}))});return o.displayName="AsyncScriptLoader("+a+")",o.propTypes={asyncScriptOnLoad:Ye.func},fde(o,r)}}var OL="onloadcallback",XMe="grecaptcha";function RL(){return typeof window<"u"&&window.recaptchaOptions||{}}function QMe(){var e=RL(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+OL+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+OL+"&render=explicit"}const ZMe=KMe(QMe,{callbackName:OL,globalName:XMe,attributes:RL().nonce?{nonce:RL().nonce}:{}})(Hx),JMe=({sitekey:e,enabled:t,invisible:n})=>{n=n===void 0?!0:n;const[r,a]=R.useState(),[i,o]=R.useState(!1),l=R.createRef(),u=R.useRef("");return R.useEffect(()=>{var g,y;t&&l.current&&((g=l.current)==null||g.execute(),(y=l.current)==null||y.reset())},[t,l.current]),R.useEffect(()=>{setTimeout(()=>{u.current||o(!0)},2e3)},[]),{value:r,Component:()=>!t||!e?null:w.jsx(w.Fragment,{children:w.jsx(ZMe,{sitekey:e,size:n&&!i?"invisible":void 0,ref:l,onChange:g=>{a(g),u.current=g}})}),LegalNotice:()=>!n||!t?null:w.jsxs("div",{className:"mt-5 recaptcha-closure",children:["This site is protected by reCAPTCHA and the Google",w.jsxs("a",{target:"_blank",href:"https://policies.google.com/privacy",children:[" ","Privacy Policy"," "]})," ","and",w.jsxs("a",{target:"_blank",href:"https://policies.google.com/terms",children:[" ","Terms of Service"," "]})," ","apply."]})}};var xS,N1,xp,_p,Op,Rp,RC;function wr(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var eIe=0;function yl(e){return"__private_"+eIe+++"_"+e}const tIe=e=>{const n=um()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),cm.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class cm{}xS=cm;cm.URL="/workspace/passport/check";cm.NewUrl=e=>lm(xS.URL,void 0,e);cm.Method="post";cm.Fetch$=async(e,t,n,r)=>nm(r??xS.NewUrl(e),{method:xS.Method,...n||{}},t);cm.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new gl(o)})=>{t=t||(l=>new gl(l));const o=await xS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};cm.Definition={name:"CheckClassicPassport",cliName:"ccp",url:"/workspace/passport/check",method:"post",description:"Checks if a classic passport (email, phone) exists or not, used in multi step authentication",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"securityToken",description:"This can be the value of ReCaptcha2, ReCaptcha3, or generate security image or voice for verification. Will be used based on the configuration.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"flags",description:"Extra information that can be useful actually when doing onboarding. Make sure sensitive information doesn't go out.",type:"slice",primitive:"string"},{name:"otpInfo",description:"If the endpoint automatically triggers a send otp, then it would be holding that information, Also the otp information can become available.",type:"object?",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}]}};var Fh=yl("value"),jh=yl("securityToken"),AP=yl("isJsonAppliable");class $g{get value(){return wr(this,Fh)[Fh]}set value(t){wr(this,Fh)[Fh]=String(t)}setValue(t){return this.value=t,this}get securityToken(){return wr(this,jh)[jh]}set securityToken(t){wr(this,jh)[jh]=String(t)}setSecurityToken(t){return this.securityToken=t,this}constructor(t=void 0){if(Object.defineProperty(this,AP,{value:nIe}),Object.defineProperty(this,Fh,{writable:!0,value:""}),Object.defineProperty(this,jh,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(wr(this,AP)[AP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.securityToken!==void 0&&(this.securityToken=n.securityToken)}toJSON(){return{value:wr(this,Fh)[Fh],securityToken:wr(this,jh)[jh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",securityToken:"securityToken"}}static from(t){return new $g(t)}static with(t){return new $g(t)}copyWith(t){return new $g({...this.toJSON(),...t})}clone(){return new $g(this.toJSON())}}function nIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var Uh=yl("next"),Bh=yl("flags"),id=yl("otpInfo"),NP=yl("isJsonAppliable");class gl{get next(){return wr(this,Uh)[Uh]}set next(t){wr(this,Uh)[Uh]=t}setNext(t){return this.next=t,this}get flags(){return wr(this,Bh)[Bh]}set flags(t){wr(this,Bh)[Bh]=t}setFlags(t){return this.flags=t,this}get otpInfo(){return wr(this,id)[id]}set otpInfo(t){t instanceof gl.OtpInfo?wr(this,id)[id]=t:wr(this,id)[id]=new gl.OtpInfo(t)}setOtpInfo(t){return this.otpInfo=t,this}constructor(t=void 0){if(Object.defineProperty(this,NP,{value:rIe}),Object.defineProperty(this,Uh,{writable:!0,value:[]}),Object.defineProperty(this,Bh,{writable:!0,value:[]}),Object.defineProperty(this,id,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(wr(this,NP)[NP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.next!==void 0&&(this.next=n.next),n.flags!==void 0&&(this.flags=n.flags),n.otpInfo!==void 0&&(this.otpInfo=n.otpInfo)}toJSON(){return{next:wr(this,Uh)[Uh],flags:wr(this,Bh)[Bh],otpInfo:wr(this,id)[id]}}toString(){return JSON.stringify(this)}static get Fields(){return{next$:"next",get next(){return"next[:i]"},flags$:"flags",get flags(){return"flags[:i]"},otpInfo$:"otpInfo",get otpInfo(){return ev("otpInfo",gl.OtpInfo.Fields)}}}static from(t){return new gl(t)}static with(t){return new gl(t)}copyWith(t){return new gl({...this.toJSON(),...t})}clone(){return new gl(this.toJSON())}}N1=gl;function rIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}gl.OtpInfo=(xp=yl("suspendUntil"),_p=yl("validUntil"),Op=yl("blockedUntil"),Rp=yl("secondsToUnblock"),RC=yl("isJsonAppliable"),class{get suspendUntil(){return wr(this,xp)[xp]}set suspendUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,xp)[xp]=r)}setSuspendUntil(t){return this.suspendUntil=t,this}get validUntil(){return wr(this,_p)[_p]}set validUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,_p)[_p]=r)}setValidUntil(t){return this.validUntil=t,this}get blockedUntil(){return wr(this,Op)[Op]}set blockedUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,Op)[Op]=r)}setBlockedUntil(t){return this.blockedUntil=t,this}get secondsToUnblock(){return wr(this,Rp)[Rp]}set secondsToUnblock(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,Rp)[Rp]=r)}setSecondsToUnblock(t){return this.secondsToUnblock=t,this}constructor(t=void 0){if(Object.defineProperty(this,RC,{value:aIe}),Object.defineProperty(this,xp,{writable:!0,value:0}),Object.defineProperty(this,_p,{writable:!0,value:0}),Object.defineProperty(this,Op,{writable:!0,value:0}),Object.defineProperty(this,Rp,{writable:!0,value:0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(wr(this,RC)[RC](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:wr(this,xp)[xp],validUntil:wr(this,_p)[_p],blockedUntil:wr(this,Op)[Op],secondsToUnblock:wr(this,Rp)[Rp]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(t){return new N1.OtpInfo(t)}static with(t){return new N1.OtpInfo(t)}copyWith(t){return new N1.OtpInfo({...this.toJSON(),...t})}clone(){return new N1.OtpInfo(this.toJSON())}});function aIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const iIe=({method:e})=>{var k,_,A;const t=Kt(xa),{goBack:n,push:r,state:a}=xr(),{locale:i}=sr(),o=tIe(),l=(a==null?void 0:a.canGoBack)!==!1;let u=!1,d="";const{data:f}=jte({});f instanceof Vd&&f.data.item instanceof jp&&(u=(k=f==null?void 0:f.data)==null?void 0:k.item.enabledRecaptcha2,d=(A=(_=f==null?void 0:f.data)==null?void 0:_.item)==null?void 0:A.recaptcha2ClientKey);const g=P=>{o.mutateAsync(new $g(P)).then(N=>{var j;const{next:I,flags:L}=(j=N==null?void 0:N.data)==null?void 0:j.item;I.includes("otp")&&I.length===1?r(`/${i}/selfservice/otp`,void 0,{value:P.value,type:e}):I.includes("signin-with-password")?r(`/${i}/selfservice/password`,void 0,{value:P.value,next:I,canContinueOnOtp:I==null?void 0:I.includes("otp"),flags:L}):I.includes("create-with-password")&&r(`/${i}/selfservice/complete`,void 0,{value:P.value,type:e,next:I,flags:L})}).catch(N=>{y==null||y.setErrors(Lb(N))})},y=Cc({initialValues:{},onSubmit:g});let p=t.continueWithEmail,v=t.continueWithEmailDescription;e==="phone"&&(p=t.continueWithPhone,v=t.continueWithPhoneDescription);const{Component:E,LegalNotice:T,value:C}=JMe({enabled:u,sitekey:d});return R.useEffect(()=>{!u||!C||y.setFieldValue($g.Fields.securityToken,C)},[C]),{title:p,mutation:o,canGoBack:l,form:y,enabledRecaptcha2:u,recaptcha2ClientKey:d,description:v,Recaptcha:E,LegalNotice:T,s:t,submit:g,goBack:n}};var _S;function Or(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var oIe=0;function Su(e){return"__private_"+oIe+++"_"+e}const Ute=e=>{const n=um()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),dm.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class dm{}_S=dm;dm.URL="/passports/signin/classic";dm.NewUrl=e=>lm(_S.URL,void 0,e);dm.Method="post";dm.Fetch$=async(e,t,n,r)=>nm(r??_S.NewUrl(e),{method:_S.Method,...n||{}},t);dm.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new Lg(o)})=>{t=t||(l=>new Lg(l));const o=await _S.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};dm.Definition={name:"ClassicSignin",cliName:"in",url:"/passports/signin/classic",method:"post",description:"Signin publicly to and account using class passports (email, password)",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"totpCode",description:"Accepts login with totp code. If enabled, first login would return a success response with next[enter-totp] value and ui can understand that user needs to be navigated into the screen other screen.",type:"string"},{name:"sessionSecret",description:"Session secret when logging in to the application requires more steps to complete.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"session",type:"one",target:"UserSessionDto"},{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"totpUrl",description:"In case the account doesn't have totp, but enforced by installation, this value will contain the link",type:"string"},{name:"sessionSecret",description:"Returns a secret session if the authentication requires more steps.",type:"string"}]}};var Wh=Su("value"),zh=Su("password"),qh=Su("totpCode"),Hh=Su("sessionSecret"),MP=Su("isJsonAppliable");class fu{get value(){return Or(this,Wh)[Wh]}set value(t){Or(this,Wh)[Wh]=String(t)}setValue(t){return this.value=t,this}get password(){return Or(this,zh)[zh]}set password(t){Or(this,zh)[zh]=String(t)}setPassword(t){return this.password=t,this}get totpCode(){return Or(this,qh)[qh]}set totpCode(t){Or(this,qh)[qh]=String(t)}setTotpCode(t){return this.totpCode=t,this}get sessionSecret(){return Or(this,Hh)[Hh]}set sessionSecret(t){Or(this,Hh)[Hh]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}constructor(t=void 0){if(Object.defineProperty(this,MP,{value:sIe}),Object.defineProperty(this,Wh,{writable:!0,value:""}),Object.defineProperty(this,zh,{writable:!0,value:""}),Object.defineProperty(this,qh,{writable:!0,value:""}),Object.defineProperty(this,Hh,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Or(this,MP)[MP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.password!==void 0&&(this.password=n.password),n.totpCode!==void 0&&(this.totpCode=n.totpCode),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret)}toJSON(){return{value:Or(this,Wh)[Wh],password:Or(this,zh)[zh],totpCode:Or(this,qh)[qh],sessionSecret:Or(this,Hh)[Hh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",password:"password",totpCode:"totpCode",sessionSecret:"sessionSecret"}}static from(t){return new fu(t)}static with(t){return new fu(t)}copyWith(t){return new fu({...this.toJSON(),...t})}clone(){return new fu(this.toJSON())}}function sIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var od=Su("session"),Vh=Su("next"),Gh=Su("totpUrl"),Yh=Su("sessionSecret"),IP=Su("isJsonAppliable"),Qw=Su("lateInitFields");class Lg{get session(){return Or(this,od)[od]}set session(t){t instanceof Bi?Or(this,od)[od]=t:Or(this,od)[od]=new Bi(t)}setSession(t){return this.session=t,this}get next(){return Or(this,Vh)[Vh]}set next(t){Or(this,Vh)[Vh]=t}setNext(t){return this.next=t,this}get totpUrl(){return Or(this,Gh)[Gh]}set totpUrl(t){Or(this,Gh)[Gh]=String(t)}setTotpUrl(t){return this.totpUrl=t,this}get sessionSecret(){return Or(this,Yh)[Yh]}set sessionSecret(t){Or(this,Yh)[Yh]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}constructor(t=void 0){if(Object.defineProperty(this,Qw,{value:uIe}),Object.defineProperty(this,IP,{value:lIe}),Object.defineProperty(this,od,{writable:!0,value:void 0}),Object.defineProperty(this,Vh,{writable:!0,value:[]}),Object.defineProperty(this,Gh,{writable:!0,value:""}),Object.defineProperty(this,Yh,{writable:!0,value:""}),t==null){Or(this,Qw)[Qw]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Or(this,IP)[IP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),n.next!==void 0&&(this.next=n.next),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),Or(this,Qw)[Qw](t)}toJSON(){return{session:Or(this,od)[od],next:Or(this,Vh)[Vh],totpUrl:Or(this,Gh)[Gh],sessionSecret:Or(this,Yh)[Yh]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return ev("session",Bi.Fields)},next$:"next",get next(){return"next[:i]"},totpUrl:"totpUrl",sessionSecret:"sessionSecret"}}static from(t){return new Lg(t)}static with(t){return new Lg(t)}copyWith(t){return new Lg({...this.toJSON(),...t})}clone(){return new Lg(this.toJSON())}}function lIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function uIe(e={}){const t=e;t.session instanceof Bi||(this.session=new Bi(t.session||{}))}const mW=({method:e})=>{const{description:t,title:n,goBack:r,mutation:a,form:i,canGoBack:o,LegalNotice:l,Recaptcha:u,s:d}=iIe({method:e});return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:n}),w.jsx("p",{children:t}),w.jsx(xl,{query:a}),w.jsx(dIe,{form:i,method:e,mutation:a}),w.jsx(u,{}),o?w.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:r,children:d.chooseAnotherMethod}):null,w.jsx(l,{})]})},cIe=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),dIe=({form:e,mutation:t,method:n})=>{var o,l,u;let r="email";n===As.Phone&&(r="phonenumber");let a=!((o=e==null?void 0:e.values)!=null&&o.value);As.Email===n&&(a=!cIe((l=e==null?void 0:e.values)==null?void 0:l.value));const i=Kt(xa);return w.jsxs("form",{onSubmit:d=>{d.preventDefault(),e.submitForm()},children:[w.jsx(In,{autoFocus:!0,type:r,id:"value-input",dir:"ltr",value:(u=e==null?void 0:e.values)==null?void 0:u.value,errorMessage:e==null?void 0:e.errors.value,onChange:d=>e.setFieldValue(fu.Fields.value,d,!1)}),w.jsx(Fs,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:a,children:i.continue})]})};var fIe=Object.defineProperty,Kk=Object.getOwnPropertySymbols,Bte=Object.prototype.hasOwnProperty,Wte=Object.prototype.propertyIsEnumerable,hW=(e,t,n)=>t in e?fIe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,PL=(e,t)=>{for(var n in t||(t={}))Bte.call(t,n)&&hW(e,n,t[n]);if(Kk)for(var n of Kk(t))Wte.call(t,n)&&hW(e,n,t[n]);return e},AL=(e,t)=>{var n={};for(var r in e)Bte.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Kk)for(var r of Kk(e))t.indexOf(r)<0&&Wte.call(e,r)&&(n[r]=e[r]);return n};/** + `),()=>{document.head.contains(h)&&document.head.removeChild(h)}},[t]),w.jsx(WAe,{isPresent:t,childRef:a,sizeRef:i,children:R.cloneElement(e,{ref:a})})}const qAe=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:a,presenceAffectsLayout:i,mode:o,anchorX:l})=>{const u=YF(HAe),d=R.useId();let f=!0,g=R.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:a,onExitComplete:y=>{u.set(y,!0);for(const h of u.values())if(!h)return;r&&r()},register:y=>(u.set(y,!1),()=>u.delete(y))}),[n,u,r]);return i&&f&&(g={...g}),R.useMemo(()=>{u.forEach((y,h)=>u.set(h,!1))},[n]),R.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),o==="popLayout"&&(e=w.jsx(zAe,{isPresent:n,anchorX:l,children:e})),w.jsx(E_.Provider,{value:g,children:e})};function HAe(){return new Map}function Mte(e=!0){const t=R.useContext(E_);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:a}=t,i=R.useId();R.useEffect(()=>{if(e)return a(i)},[e]);const o=R.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const ak=e=>e.key||"";function sW(e){const t=[];return R.Children.forEach(e,n=>{R.isValidElement(n)&&t.push(n)}),t}const VAe=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:a=!0,mode:i="sync",propagate:o=!1,anchorX:l="left"})=>{const[u,d]=Mte(o),f=R.useMemo(()=>sW(e),[e]),g=o&&!u?[]:f.map(ak),y=R.useRef(!0),h=R.useRef(f),v=YF(()=>new Map),[E,T]=R.useState(f),[C,k]=R.useState(f);zee(()=>{y.current=!1,h.current=f;for(let P=0;P{const N=ak(P),I=o&&!u?!1:f===C||g.includes(N),L=()=>{if(v.has(N))v.set(N,!0);else return;let j=!0;v.forEach(z=>{z||(j=!1)}),j&&(A==null||A(),k(h.current),o&&(d==null||d()),r&&r())};return w.jsx(qAe,{isPresent:I,initial:!y.current||n?void 0:!1,custom:t,presenceAffectsLayout:a,mode:i,onExitComplete:I?void 0:L,anchorX:l,children:P},N)})})},Ite=R.createContext({strict:!1}),lW={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},a0={};for(const e in lW)a0[e]={isEnabled:t=>lW[e].some(n=>!!t[n])};function GAe(e){for(const t in e)a0[t]={...a0[t],...e[t]}}const YAe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Rx(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||YAe.has(e)}let Dte=e=>!Rx(e);function KAe(e){typeof e=="function"&&(Dte=t=>t.startsWith("on")?!Rx(t):e(t))}try{KAe(require("@emotion/is-prop-valid").default)}catch{}function XAe(e,t,n){const r={};for(const a in e)a==="values"&&typeof e.values=="object"||(Dte(a)||n===!0&&Rx(a)||!t&&!Rx(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}function QAe(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,a)=>a==="create"?e:(t.has(a)||t.set(a,e(a)),t.get(a))})}const T_=R.createContext({});function C_(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function QS(e){return typeof e=="string"||Array.isArray(e)}const bj=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wj=["initial",...bj];function k_(e){return C_(e.animate)||wj.some(t=>QS(e[t]))}function $te(e){return!!(k_(e)||e.variants)}function JAe(e,t){if(k_(e)){const{initial:n,animate:r}=e;return{initial:n===!1||QS(n)?n:void 0,animate:QS(r)?r:void 0}}return e.inherit!==!1?t:{}}function ZAe(e){const{initial:t,animate:n}=JAe(e,R.useContext(T_));return R.useMemo(()=>({initial:t,animate:n}),[uW(t),uW(n)])}function uW(e){return Array.isArray(e)?e.join(" "):e}const eNe=Symbol.for("motionComponentSymbol");function Ob(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function tNe(e,t,n){return R.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Ob(n)&&(n.current=r))},[t])}const Sj=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),nNe="framerAppearId",Lte="data-"+Sj(nNe),Fte=R.createContext({});function rNe(e,t,n,r,a){var E,T;const{visualElement:i}=R.useContext(T_),o=R.useContext(Ite),l=R.useContext(E_),u=R.useContext(yj).reducedMotion,d=R.useRef(null);r=r||o.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=d.current,g=R.useContext(Fte);f&&!f.projection&&a&&(f.type==="html"||f.type==="svg")&&aNe(d.current,n,a,g);const y=R.useRef(!1);R.useInsertionEffect(()=>{f&&y.current&&f.update(n,l)});const h=n[Lte],v=R.useRef(!!h&&!((E=window.MotionHandoffIsComplete)!=null&&E.call(window,h))&&((T=window.MotionHasOptimisedAnimation)==null?void 0:T.call(window,h)));return zee(()=>{f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),gj.render(f.render),v.current&&f.animationState&&f.animationState.animateChanges())}),R.useEffect(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,h)}),v.current=!1))}),f}function aNe(e,t,n,r){const{layoutId:a,layout:i,drag:o,dragConstraints:l,layoutScroll:u,layoutRoot:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:jte(e.parent)),e.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:!!o||l&&Ob(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:u,layoutRoot:d})}function jte(e){if(e)return e.options.allowProjection!==!1?e.projection:jte(e.parent)}function iNe({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:a}){e&&GAe(e);function i(l,u){let d;const f={...R.useContext(yj),...l,layoutId:oNe(l)},{isStatic:g}=f,y=ZAe(l),h=r(l,g);if(!g&&KF){sNe();const v=lNe(f);d=v.MeasureLayout,y.visualElement=rNe(a,h,f,t,v.ProjectionNode)}return w.jsxs(T_.Provider,{value:y,children:[d&&y.visualElement?w.jsx(d,{visualElement:y.visualElement,...f}):null,n(a,l,tNe(h,y.visualElement,u),h,g,y.visualElement)]})}i.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const o=R.forwardRef(i);return o[eNe]=a,o}function oNe({layoutId:e}){const t=R.useContext(GF).id;return t&&e!==void 0?t+"-"+e:e}function sNe(e,t){R.useContext(Ite).strict}function lNe(e){const{drag:t,layout:n}=a0;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const JS={};function uNe(e){for(const t in e)JS[t]=e[t],rj(t)&&(JS[t].isCSSVariable=!0)}function Ute(e,{layout:t,layoutId:n}){return w0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!JS[e]||e==="opacity")}const cNe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dNe=b0.length;function fNe(e,t,n){let r="",a=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}});function Bte(e,t,n){for(const r in t)!eo(t[r])&&!Ute(r,n)&&(e[r]=t[r])}function pNe({transformTemplate:e},t){return R.useMemo(()=>{const n=Tj();return Ej(n,t,e),Object.assign({},n.vars,n.style)},[t])}function hNe(e,t){const n=e.style||{},r={};return Bte(r,n,e),Object.assign(r,pNe(e,t)),r}function mNe(e,t){const n={},r=hNe(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const gNe={offset:"stroke-dashoffset",array:"stroke-dasharray"},vNe={offset:"strokeDashoffset",array:"strokeDasharray"};function yNe(e,t,n=1,r=0,a=!0){e.pathLength=1;const i=a?gNe:vNe;e[i.offset]=mn.transform(-r);const o=mn.transform(t),l=mn.transform(n);e[i.array]=`${o} ${l}`}function Wte(e,{attrX:t,attrY:n,attrScale:r,pathLength:a,pathSpacing:i=1,pathOffset:o=0,...l},u,d,f){if(Ej(e,l,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:y}=e;g.transform&&(y.transform=g.transform,delete g.transform),(y.transform||g.transformOrigin)&&(y.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),y.transform&&(y.transformBox=(f==null?void 0:f.transformBox)??"fill-box",delete g.transformBox),t!==void 0&&(g.x=t),n!==void 0&&(g.y=n),r!==void 0&&(g.scale=r),a!==void 0&&yNe(g,a,i,o,!1)}const zte=()=>({...Tj(),attrs:{}}),qte=e=>typeof e=="string"&&e.toLowerCase()==="svg";function bNe(e,t,n,r){const a=R.useMemo(()=>{const i=zte();return Wte(i,t,qte(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Bte(i,e.style,e),a.style={...i,...a.style}}return a}const wNe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Cj(e){return typeof e!="string"||e.includes("-")?!1:!!(wNe.indexOf(e)>-1||/[A-Z]/u.test(e))}function SNe(e=!1){return(n,r,a,{latestValues:i},o)=>{const u=(Cj(n)?bNe:mNe)(r,i,o,n),d=XAe(r,typeof n=="string",e),f=n!==R.Fragment?{...d,...u,ref:a}:{},{children:g}=r,y=R.useMemo(()=>eo(g)?g.get():g,[g]);return R.createElement(n,{...f,children:y})}}function cW(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function kj(e,t,n,r){if(typeof t=="function"){const[a,i]=cW(r);t=t(n!==void 0?n:e.custom,a,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,i]=cW(r);t=t(n!==void 0?n:e.custom,a,i)}return t}function Lk(e){return eo(e)?e.get():e}function ENe({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,a){return{latestValues:TNe(n,r,a,e),renderState:t()}}const Hte=e=>(t,n)=>{const r=R.useContext(T_),a=R.useContext(E_),i=()=>ENe(e,t,r,a);return n?i():YF(i)};function TNe(e,t,n,r){const a={},i=r(e,{});for(const y in i)a[y]=Lk(i[y]);let{initial:o,animate:l}=e;const u=k_(e),d=$te(e);t&&d&&!u&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let f=n?n.initial===!1:!1;f=f||o===!1;const g=f?l:o;if(g&&typeof g!="boolean"&&!C_(g)){const y=Array.isArray(g)?g:[g];for(let h=0;hArray.isArray(e);function _Ne(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,r0(n))}function ONe(e){return a3(e)?e[e.length-1]||0:e}function RNe(e,t){const n=ZS(e,t);let{transitionEnd:r={},transition:a={},...i}=n||{};i={...i,...r};for(const o in i){const l=ONe(i[o]);_Ne(e,o,l)}}function PNe(e){return!!(eo(e)&&e.add)}function i3(e,t){const n=e.getValue("willChange");if(PNe(n))return n.add(t);if(!n&&Bd.WillChange){const r=new Bd.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Gte(e){return e.props[Lte]}const ANe=e=>e!==null;function NNe(e,{repeat:t,repeatType:n="loop"},r){const a=e.filter(ANe),i=t&&n!=="loop"&&t%2===1?0:a.length-1;return a[i]}const MNe={type:"spring",stiffness:500,damping:25,restSpeed:10},INe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),DNe={type:"keyframes",duration:.8},$Ne={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},LNe=(e,{keyframes:t})=>t.length>2?DNe:w0.has(e)?e.startsWith("scale")?INe(t[1]):MNe:$Ne;function FNe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:a,repeat:i,repeatType:o,repeatDelay:l,from:u,elapsed:d,...f}){return!!Object.keys(f).length}const _j=(e,t,n,r={},a,i)=>o=>{const l=hj(r,e)||{},u=l.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Ec(u);const f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:y=>{t.set(y),l.onUpdate&&l.onUpdate(y)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:a};FNe(l)||Object.assign(f,LNe(e,f)),f.duration&&(f.duration=Ec(f.duration)),f.repeatDelay&&(f.repeatDelay=Ec(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let g=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(g=!0)),(Bd.instantAnimations||Bd.skipAnimations)&&(g=!0,f.duration=0,f.delay=0),f.allowFlatten=!l.type&&!l.ease,g&&!i&&t.get()!==void 0){const y=NNe(f.keyframes,l);if(y!==void 0){pa.update(()=>{f.onUpdate(y),f.onComplete()});return}}return l.isSync?new dj(f):new vAe(f)};function jNe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Yte(e,t,{delay:n=0,transitionOverride:r,type:a}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:o,...l}=t;r&&(i=r);const u=[],d=a&&e.animationState&&e.animationState.getState()[a];for(const f in l){const g=e.getValue(f,e.latestValues[f]??null),y=l[f];if(y===void 0||d&&jNe(d,f))continue;const h={delay:n,...hj(i||{},f)},v=g.get();if(v!==void 0&&!g.isAnimating&&!Array.isArray(y)&&y===v&&!h.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const C=Gte(e);if(C){const k=window.MotionHandoffAnimation(C,f,pa);k!==null&&(h.startTime=k,E=!0)}}i3(e,f),g.start(_j(f,g,y,e.shouldReduceMotion&&Tte.has(f)?{type:!1}:h,e,E));const T=g.animation;T&&u.push(T)}return o&&Promise.all(u).then(()=>{pa.update(()=>{o&&RNe(e,o)})}),u}function o3(e,t,n={}){var u;const r=ZS(e,t,n.type==="exit"?(u=e.presenceContext)==null?void 0:u.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(a=n.transitionOverride);const i=r?()=>Promise.all(Yte(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:f=0,staggerChildren:g,staggerDirection:y}=a;return UNe(e,t,f+d,g,y,n)}:()=>Promise.resolve(),{when:l}=a;if(l){const[d,f]=l==="beforeChildren"?[i,o]:[o,i];return d().then(()=>f())}else return Promise.all([i(),o(n.delay)])}function UNe(e,t,n=0,r=0,a=1,i){const o=[],l=(e.variantChildren.size-1)*r,u=a===1?(d=0)=>d*r:(d=0)=>l-d*r;return Array.from(e.variantChildren).sort(BNe).forEach((d,f)=>{d.notify("AnimationStart",t),o.push(o3(d,t,{...i,delay:n+u(f)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(o)}function BNe(e,t){return e.sortNodePosition(t)}function WNe(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const a=t.map(i=>o3(e,i,n));r=Promise.all(a)}else if(typeof t=="string")r=o3(e,t,n);else{const a=typeof t=="function"?ZS(e,t,n.custom):t;r=Promise.all(Yte(e,a,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function Kte(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>WNe(e,n,r)))}function GNe(e){let t=VNe(e),n=dW(),r=!0;const a=u=>(d,f)=>{var y;const g=ZS(e,f,u==="exit"?(y=e.presenceContext)==null?void 0:y.custom:void 0);if(g){const{transition:h,transitionEnd:v,...E}=g;d={...d,...E,...v}}return d};function i(u){t=u(e)}function o(u){const{props:d}=e,f=Xte(e.parent)||{},g=[],y=new Set;let h={},v=1/0;for(let T=0;Tv&&A,j=!1;const z=Array.isArray(_)?_:[_];let Q=z.reduce(a(C),{});P===!1&&(Q={});const{prevResolvedValues:le={}}=k,re={...le,...Q},ge=G=>{L=!0,y.has(G)&&(j=!0,y.delete(G)),k.needsAnimating[G]=!0;const q=e.getValue(G);q&&(q.liveStyle=!1)};for(const G in re){const q=Q[G],ce=le[G];if(h.hasOwnProperty(G))continue;let H=!1;a3(q)&&a3(ce)?H=!Kte(q,ce):H=q!==ce,H?q!=null?ge(G):y.add(G):q!==void 0&&y.has(G)?ge(G):k.protectedKeys[G]=!0}k.prevProp=_,k.prevResolvedValues=Q,k.isActive&&(h={...h,...Q}),r&&e.blockInitialAnimation&&(L=!1),L&&(!(N&&I)||j)&&g.push(...z.map(G=>({animation:G,options:{type:C}})))}if(y.size){const T={};if(typeof d.initial!="boolean"){const C=ZS(e,Array.isArray(d.initial)?d.initial[0]:d.initial);C&&C.transition&&(T.transition=C.transition)}y.forEach(C=>{const k=e.getBaseTarget(C),_=e.getValue(C);_&&(_.liveStyle=!0),T[C]=k??null}),g.push({animation:T})}let E=!!g.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(g):Promise.resolve()}function l(u,d){var g;if(n[u].isActive===d)return Promise.resolve();(g=e.variantChildren)==null||g.forEach(y=>{var h;return(h=y.animationState)==null?void 0:h.setActive(u,d)}),n[u].isActive=d;const f=o(u);for(const y in n)n[y].protectedKeys={};return f}return{animateChanges:o,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=dW(),r=!0}}}function YNe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Kte(t,e):!1}function Dm(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dW(){return{animate:Dm(!0),whileInView:Dm(),whileHover:Dm(),whileTap:Dm(),whileDrag:Dm(),whileFocus:Dm(),exit:Dm()}}class vh{constructor(t){this.isMounted=!1,this.node=t}update(){}}class KNe extends vh{constructor(t){super(t),t.animationState||(t.animationState=GNe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();C_(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let XNe=0;class QNe extends vh{constructor(){super(...arguments),this.id=XNe++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const JNe={animation:{Feature:KNe},exit:{Feature:QNe}};function eE(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function LE(e){return{point:{x:e.pageX,y:e.pageY}}}const ZNe=e=>t=>vj(t)&&e(t,LE(t));function wS(e,t,n,r){return eE(e,t,ZNe(n),r)}function Qte({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function e2e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function t2e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}const Jte=1e-4,n2e=1-Jte,r2e=1+Jte,Zte=.01,a2e=0-Zte,i2e=0+Zte;function Do(e){return e.max-e.min}function o2e(e,t,n){return Math.abs(e-t)<=n}function fW(e,t,n,r=.5){e.origin=r,e.originPoint=da(t.min,t.max,e.origin),e.scale=Do(n)/Do(t),e.translate=da(n.min,n.max,e.origin)-e.originPoint,(e.scale>=n2e&&e.scale<=r2e||isNaN(e.scale))&&(e.scale=1),(e.translate>=a2e&&e.translate<=i2e||isNaN(e.translate))&&(e.translate=0)}function SS(e,t,n,r){fW(e.x,t.x,n.x,r?r.originX:void 0),fW(e.y,t.y,n.y,r?r.originY:void 0)}function pW(e,t,n){e.min=n.min+t.min,e.max=e.min+Do(t)}function s2e(e,t,n){pW(e.x,t.x,n.x),pW(e.y,t.y,n.y)}function hW(e,t,n){e.min=t.min-n.min,e.max=e.min+Do(t)}function ES(e,t,n){hW(e.x,t.x,n.x),hW(e.y,t.y,n.y)}const mW=()=>({translate:0,scale:1,origin:0,originPoint:0}),Rb=()=>({x:mW(),y:mW()}),gW=()=>({min:0,max:0}),$a=()=>({x:gW(),y:gW()});function gl(e){return[e("x"),e("y")]}function aA(e){return e===void 0||e===1}function s3({scale:e,scaleX:t,scaleY:n}){return!aA(e)||!aA(t)||!aA(n)}function ev(e){return s3(e)||ene(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ene(e){return vW(e.x)||vW(e.y)}function vW(e){return e&&e!=="0%"}function Px(e,t,n){const r=e-n,a=t*r;return n+a}function yW(e,t,n,r,a){return a!==void 0&&(e=Px(e,a,r)),Px(e,n,r)+t}function l3(e,t=0,n=1,r,a){e.min=yW(e.min,t,n,r,a),e.max=yW(e.max,t,n,r,a)}function tne(e,{x:t,y:n}){l3(e.x,t.translate,t.scale,t.originPoint),l3(e.y,n.translate,n.scale,n.originPoint)}const bW=.999999999999,wW=1.0000000000001;function l2e(e,t,n,r=!1){const a=n.length;if(!a)return;t.x=t.y=1;let i,o;for(let l=0;lbW&&(t.x=1),t.ybW&&(t.y=1)}function Pb(e,t){e.min=e.min+t,e.max=e.max+t}function SW(e,t,n,r,a=.5){const i=da(e.min,e.max,a);l3(e,t,n,i,r)}function Ab(e,t){SW(e.x,t.x,t.scaleX,t.scale,t.originX),SW(e.y,t.y,t.scaleY,t.scale,t.originY)}function nne(e,t){return Qte(t2e(e.getBoundingClientRect(),t))}function u2e(e,t,n){const r=nne(e,n),{scroll:a}=t;return a&&(Pb(r.x,a.offset.x),Pb(r.y,a.offset.y)),r}const rne=({current:e})=>e?e.ownerDocument.defaultView:null,EW=(e,t)=>Math.abs(e-t);function c2e(e,t){const n=EW(e.x,t.x),r=EW(e.y,t.y);return Math.sqrt(n**2+r**2)}class ane{constructor(t,n,{transformPagePoint:r,contextWindow:a,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=oA(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,h=c2e(g.offset,{x:0,y:0})>=3;if(!y&&!h)return;const{point:v}=g,{timestamp:E}=Fi;this.history.push({...v,timestamp:E});const{onStart:T,onMove:C}=this.handlers;y||(T&&T(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,g)},this.handlePointerMove=(g,y)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=iA(y,this.transformPagePoint),pa.update(this.updatePoint,!0)},this.handlePointerUp=(g,y)=>{this.end();const{onEnd:h,onSessionEnd:v,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=oA(g.type==="pointercancel"?this.lastMoveEventInfo:iA(y,this.transformPagePoint),this.history);this.startEvent&&h&&h(g,T),v&&v(g,T)},!vj(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=a||window;const o=LE(t),l=iA(o,this.transformPagePoint),{point:u}=l,{timestamp:d}=Fi;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,oA(l,this.history)),this.removeListeners=IE(wS(this.contextWindow,"pointermove",this.handlePointerMove),wS(this.contextWindow,"pointerup",this.handlePointerUp),wS(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),oh(this.updatePoint)}}function iA(e,t){return t?{point:t(e.point)}:e}function TW(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oA({point:e},t){return{point:e,delta:TW(e,ine(t)),offset:TW(e,d2e(t)),velocity:f2e(t,.1)}}function d2e(e){return e[0]}function ine(e){return e[e.length-1]}function f2e(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const a=ine(e);for(;n>=0&&(r=e[n],!(a.timestamp-r.timestamp>Ec(t)));)n--;if(!r)return{x:0,y:0};const i=Tc(a.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(a.x-r.x)/i,y:(a.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function p2e(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?da(n,e,r.max):Math.min(e,n)),e}function CW(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function h2e(e,{top:t,left:n,bottom:r,right:a}){return{x:CW(e.x,n,a),y:CW(e.y,t,r)}}function kW(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=YS(t.min,t.max-r,e.min):r>a&&(n=YS(e.min,e.max-a,t.min)),Ud(0,1,n)}function v2e(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const u3=.35;function y2e(e=u3){return e===!1?e=0:e===!0&&(e=u3),{x:xW(e,"left","right"),y:xW(e,"top","bottom")}}function xW(e,t,n){return{min:_W(e,t),max:_W(e,n)}}function _W(e,t){return typeof e=="number"?e:e[t]||0}const b2e=new WeakMap;class w2e{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$a(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const a=f=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(LE(f).point)},i=(f,g)=>{const{drag:y,dragPropagation:h,onDragStart:v}=this.getProps();if(y&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=MAe(y),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gl(T=>{let C=this.getAxisMotionValue(T).get()||0;if(Cc.test(C)){const{projection:k}=this.visualElement;if(k&&k.layout){const _=k.layout.layoutBox[T];_&&(C=Do(_)*(parseFloat(C)/100))}}this.originPoint[T]=C}),v&&pa.postRender(()=>v(f,g)),i3(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},o=(f,g)=>{const{dragPropagation:y,dragDirectionLock:h,onDirectionLock:v,onDrag:E}=this.getProps();if(!y&&!this.openDragLock)return;const{offset:T}=g;if(h&&this.currentDirection===null){this.currentDirection=S2e(T),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",g.point,T),this.updateAxis("y",g.point,T),this.visualElement.render(),E&&E(f,g)},l=(f,g)=>this.stop(f,g),u=()=>gl(f=>{var g;return this.getAnimationState(f)==="paused"&&((g=this.getAxisMotionValue(f).animation)==null?void 0:g.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new ane(t,{onSessionStart:a,onStart:i,onMove:o,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:rne(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:a}=n;this.startAnimation(a);const{onDragEnd:i}=this.getProps();i&&pa.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:a}=this.getProps();if(!r||!ik(t,a,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=p2e(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,a=this.constraints;t&&Ob(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=h2e(r.layoutBox,t):this.constraints=!1,this.elastic=y2e(n),a!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&gl(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=v2e(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ob(t))return!1;const r=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const i=u2e(r,a.root,this.visualElement.getTransformPagePoint());let o=m2e(a.layout.layoutBox,i);if(n){const l=n(e2e(o));this.hasMutatedConstraints=!!l,l&&(o=Qte(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:a,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},d=gl(f=>{if(!ik(f,n,this.currentDirection))return;let g=u&&u[f]||{};o&&(g={min:0,max:0});const y=a?200:1e6,h=a?40:1e7,v={type:"inertia",velocity:r?t[f]:0,bounceStiffness:y,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...g};return this.startAxisValueAnimation(f,v)});return Promise.all(d).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return i3(this.visualElement,t),r.start(_j(t,r,0,n,this.visualElement,!1))}stopAnimation(){gl(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gl(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),a=r[n];return a||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){gl(n=>{const{drag:r}=this.getProps();if(!ik(n,r,this.currentDirection))return;const{projection:a}=this.visualElement,i=this.getAxisMotionValue(n);if(a&&a.layout){const{min:o,max:l}=a.layout.layoutBox[n];i.set(t[n]-da(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ob(n)||!r||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};gl(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const u=l.get();a[o]=g2e({min:u,max:u},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),gl(o=>{if(!ik(o,t,null))return;const l=this.getAxisMotionValue(o),{min:u,max:d}=this.constraints[o];l.set(da(u,d,a[o]))})}addListeners(){if(!this.visualElement.current)return;b2e.set(this.visualElement,this);const t=this.visualElement.current,n=wS(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps();d&&f&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();Ob(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,i=a.addEventListener("measure",r);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),pa.read(r);const o=eE(window,"resize",()=>this.scalePositionWithinConstraints()),l=a.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(gl(f=>{const g=this.getAxisMotionValue(f);g&&(this.originPoint[f]+=u[f].translate,g.set(g.get()+u[f].translate))}),this.visualElement.render())}));return()=>{o(),n(),i(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:a=!1,dragConstraints:i=!1,dragElastic:o=u3,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:a,dragConstraints:i,dragElastic:o,dragMomentum:l}}}function ik(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function S2e(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class E2e extends vh{constructor(t){super(t),this.removeGroupControls=_l,this.removeListeners=_l,this.controls=new w2e(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_l}unmount(){this.removeGroupControls(),this.removeListeners()}}const OW=e=>(t,n)=>{e&&pa.postRender(()=>e(t,n))};class T2e extends vh{constructor(){super(...arguments),this.removePointerDownListener=_l}onPointerDown(t){this.session=new ane(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rne(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:a}=this.node.getProps();return{onSessionStart:OW(t),onStart:OW(n),onMove:r,onEnd:(i,o)=>{delete this.session,a&&pa.postRender(()=>a(i,o))}}}mount(){this.removePointerDownListener=wS(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Fk={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function RW(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const C1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(mn.test(e))e=parseFloat(e);else return e;const n=RW(e,t.target.x),r=RW(e,t.target.y);return`${n}% ${r}%`}},C2e={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,a=sh.parse(e);if(a.length>5)return r;const i=sh.createTransformer(e),o=typeof a[0]!="number"?1:0,l=n.x.scale*t.x,u=n.y.scale*t.y;a[0+o]/=l,a[1+o]/=u;const d=da(l,u,.5);return typeof a[2+o]=="number"&&(a[2+o]/=d),typeof a[3+o]=="number"&&(a[3+o]/=d),i(a)}};class k2e extends R.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:a}=this.props,{projection:i}=t;uNe(x2e),i&&(n.group&&n.group.add(i),r&&r.register&&a&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Fk.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:a,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,a||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||pa.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),gj.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),r&&r.deregister&&r.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function one(e){const[t,n]=Mte(),r=R.useContext(GF);return w.jsx(k2e,{...e,layoutGroup:r,switchLayoutGroup:R.useContext(Fte),isPresent:t,safeToRemove:n})}const x2e={borderRadius:{...C1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:C1,borderTopRightRadius:C1,borderBottomLeftRadius:C1,borderBottomRightRadius:C1,boxShadow:C2e};function _2e(e,t,n){const r=eo(e)?e:r0(e);return r.start(_j("",r,t,n)),r.animation}const O2e=(e,t)=>e.depth-t.depth;class R2e{constructor(){this.children=[],this.isDirty=!1}add(t){XF(this.children,t),this.isDirty=!0}remove(t){QF(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(O2e),this.isDirty=!1,this.children.forEach(t)}}function P2e(e,t){const n=is.now(),r=({timestamp:a})=>{const i=a-n;i>=t&&(oh(r),e(i-t))};return pa.setup(r,!0),()=>oh(r)}const sne=["TopLeft","TopRight","BottomLeft","BottomRight"],A2e=sne.length,PW=e=>typeof e=="string"?parseFloat(e):e,AW=e=>typeof e=="number"||mn.test(e);function N2e(e,t,n,r,a,i){a?(e.opacity=da(0,n.opacity??1,M2e(r)),e.opacityExit=da(t.opacity??1,0,I2e(r))):i&&(e.opacity=da(t.opacity??1,n.opacity??1,r));for(let o=0;ort?1:n(YS(e,t,r))}function MW(e,t){e.min=t.min,e.max=t.max}function hl(e,t){MW(e.x,t.x),MW(e.y,t.y)}function IW(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function DW(e,t,n,r,a){return e-=t,e=Px(e,1/n,r),a!==void 0&&(e=Px(e,1/a,r)),e}function D2e(e,t=0,n=1,r=.5,a,i=e,o=e){if(Cc.test(t)&&(t=parseFloat(t),t=da(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=da(i.min,i.max,r);e===i&&(l-=t),e.min=DW(e.min,t,n,l,a),e.max=DW(e.max,t,n,l,a)}function $W(e,t,[n,r,a],i,o){D2e(e,t[n],t[r],t[a],t.scale,i,o)}const $2e=["x","scaleX","originX"],L2e=["y","scaleY","originY"];function LW(e,t,n,r){$W(e.x,t,$2e,n?n.x:void 0,r?r.x:void 0),$W(e.y,t,L2e,n?n.y:void 0,r?r.y:void 0)}function FW(e){return e.translate===0&&e.scale===1}function une(e){return FW(e.x)&&FW(e.y)}function jW(e,t){return e.min===t.min&&e.max===t.max}function F2e(e,t){return jW(e.x,t.x)&&jW(e.y,t.y)}function UW(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function cne(e,t){return UW(e.x,t.x)&&UW(e.y,t.y)}function BW(e){return Do(e.x)/Do(e.y)}function WW(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class j2e{constructor(){this.members=[]}add(t){XF(this.members,t),t.scheduleRender()}remove(t){if(QF(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let r;for(let a=n;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function U2e(e,t,n){let r="";const a=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((a||i||o)&&(r=`translate3d(${a}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:f,rotateX:g,rotateY:y,skewX:h,skewY:v}=n;d&&(r=`perspective(${d}px) ${r}`),f&&(r+=`rotate(${f}deg) `),g&&(r+=`rotateX(${g}deg) `),y&&(r+=`rotateY(${y}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const sA=["","X","Y","Z"],B2e={visibility:"hidden"},W2e=1e3;let z2e=0;function lA(e,t,n,r){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),r&&(r[e]=0))}function dne(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Gte(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",pa,!(a||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&dne(r)}function fne({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:a}){return class{constructor(o={},l=t==null?void 0:t()){this.id=z2e++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(V2e),this.nodes.forEach(X2e),this.nodes.forEach(Q2e),this.nodes.forEach(G2e)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let u=0;uthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=P2e(g,250),Fk.hasAnimatedSinceResize&&(Fk.hasAnimatedSinceResize=!1,this.nodes.forEach(HW))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:g,hasRelativeLayoutChanged:y,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||d.getDefaultTransition()||nMe,{onLayoutAnimationStart:E,onLayoutAnimationComplete:T}=d.getProps(),C=!this.targetLayout||!cne(this.targetLayout,h),k=!g&&y;if(this.options.layoutRoot||this.resumeFrom||k||g&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...hj(v,"layout"),onPlay:E,onComplete:T};(d.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(f,k)}else g||HW(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),oh(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(J2e),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&dne(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Do(this.snapshot.measuredBox.x)&&!Do(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u{const P=A/1e3;VW(g.x,o.x,P),VW(g.y,o.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ES(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),eMe(this.relativeTarget,this.relativeTargetOrigin,y,P),_&&F2e(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=$a()),hl(_,this.relativeTarget)),E&&(this.animationValues=f,N2e(f,d,this.latestValues,P,k,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var l,u,d;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(d=(u=this.resumingFrom)==null?void 0:u.currentAnimation)==null||d.stop(),this.pendingAnimation&&(oh(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=pa.update(()=>{Fk.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=r0(0)),this.currentAnimation=_2e(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:f=>{this.mixTargetDelta(f),o.onUpdate&&o.onUpdate(f)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(W2e),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:u,layout:d,latestValues:f}=o;if(!(!l||!u||!d)){if(this!==o&&this.layout&&d&&pne(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||$a();const g=Do(this.layout.layoutBox.x);u.x.min=o.target.x.min,u.x.max=u.x.min+g;const y=Do(this.layout.layoutBox.y);u.y.min=o.target.y.min,u.y.max=u.y.min+y}hl(l,u),Ab(l,f),SS(this.projectionDeltaWithTransform,this.layoutCorrected,l,f)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new j2e),this.sharedNodes.get(o).add(l);const d=l.options.initialPromotionConfig;l.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var l;const{layoutId:o}=this.options;return o?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:o}=this.options;return o?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:u}=o;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(l=!0),!l)return;const d={};u.z&&lA("z",o,d,this.animationValues);for(let f=0;f{var l;return(l=o.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(zW),this.root.sharedNodes.clear()}}}function q2e(e){e.updateLayout()}function H2e(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:a}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;i==="size"?gl(g=>{const y=o?t.measuredBox[g]:t.layoutBox[g],h=Do(y);y.min=r[g].min,y.max=y.min+h}):pne(i,t.layoutBox,r)&&gl(g=>{const y=o?t.measuredBox[g]:t.layoutBox[g],h=Do(r[g]);y.max=y.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+h)});const l=Rb();SS(l,r,t.layoutBox);const u=Rb();o?SS(u,e.applyTransform(a,!0),t.measuredBox):SS(u,r,t.layoutBox);const d=!une(l);let f=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:h}=g;if(y&&h){const v=$a();ES(v,t.layoutBox,y.layoutBox);const E=$a();ES(E,r,h.layoutBox),cne(v,E)||(f=!0),g.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=v,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:u,layoutDelta:l,hasLayoutChanged:d,hasRelativeLayoutChanged:f})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function V2e(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function G2e(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Y2e(e){e.clearSnapshot()}function zW(e){e.clearMeasurements()}function qW(e){e.isLayoutDirty=!1}function K2e(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function HW(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function X2e(e){e.resolveTargetDelta()}function Q2e(e){e.calcProjection()}function J2e(e){e.resetSkewAndRotation()}function Z2e(e){e.removeLeadSnapshot()}function VW(e,t,n){e.translate=da(t.translate,0,n),e.scale=da(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function GW(e,t,n,r){e.min=da(t.min,n.min,r),e.max=da(t.max,n.max,r)}function eMe(e,t,n,r){GW(e.x,t.x,n.x,r),GW(e.y,t.y,n.y,r)}function tMe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const nMe={duration:.45,ease:[.4,0,.1,1]},YW=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),KW=YW("applewebkit/")&&!YW("chrome/")?Math.round:_l;function XW(e){e.min=KW(e.min),e.max=KW(e.max)}function rMe(e){XW(e.x),XW(e.y)}function pne(e,t,n){return e==="position"||e==="preserve-aspect"&&!o2e(BW(t),BW(n),.2)}function aMe(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const iMe=fne({attachResizeListener:(e,t)=>eE(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),uA={current:void 0},hne=fne({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!uA.current){const e=new iMe({});e.mount(window),e.setOptions({layoutScroll:!0}),uA.current=e}return uA.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),oMe={pan:{Feature:T2e},drag:{Feature:E2e,ProjectionNode:hne,MeasureLayout:one}};function QW(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,i=r[a];i&&pa.postRender(()=>i(t,LE(t)))}class sMe extends vh{mount(){const{current:t}=this.node;t&&(this.unmount=IAe(t,(n,r)=>(QW(this.node,r,"Start"),a=>QW(this.node,a,"End"))))}unmount(){}}class lMe extends vh{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=IE(eE(this.node.current,"focus",()=>this.onFocus()),eE(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function JW(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),i=r[a];i&&pa.postRender(()=>i(t,LE(t)))}class uMe extends vh{mount(){const{current:t}=this.node;t&&(this.unmount=FAe(t,(n,r)=>(JW(this.node,r,"Start"),(a,{success:i})=>JW(this.node,a,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const c3=new WeakMap,cA=new WeakMap,cMe=e=>{const t=c3.get(e.target);t&&t(e)},dMe=e=>{e.forEach(cMe)};function fMe({root:e,...t}){const n=e||document;cA.has(n)||cA.set(n,{});const r=cA.get(n),a=JSON.stringify(t);return r[a]||(r[a]=new IntersectionObserver(dMe,{root:e,...t})),r[a]}function pMe(e,t,n){const r=fMe(t);return c3.set(e,n),r.observe(e),()=>{c3.delete(e),r.unobserve(e)}}const hMe={some:0,all:1};class mMe extends vh{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:a="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof a=="number"?a:hMe[a]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,i&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:g}=this.node.getProps(),y=d?f:g;y&&y(u)};return pMe(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(gMe(t,n))&&this.startObserver()}unmount(){}}function gMe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const vMe={inView:{Feature:mMe},tap:{Feature:uMe},focus:{Feature:lMe},hover:{Feature:sMe}},yMe={layout:{ProjectionNode:hne,MeasureLayout:one}},d3={current:null},mne={current:!1};function bMe(){if(mne.current=!0,!!KF)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>d3.current=e.matches;e.addListener(t),t()}else d3.current=!1}const wMe=new WeakMap;function SMe(e,t,n){for(const r in t){const a=t[r],i=n[r];if(eo(a))e.addValue(r,a);else if(eo(i))e.addValue(r,r0(a,{owner:e}));else if(i!==a)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(a):o.hasAnimated||o.set(a)}else{const o=e.getStaticValue(r);e.addValue(r,r0(o!==void 0?o:a,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ZW=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class EMe{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:a,blockInitialAnimation:i,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fj,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=is.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),mne.current||bMe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:d3.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),oh(this.notifyUpdate),oh(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=w0.has(t);r&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&pa.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in a0){const n=a0[t];if(!n)continue;const{isEnabled:r,Feature:a}=n;if(!this.features[t]&&a&&r(this.props)&&(this.features[t]=new a(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$a()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=r0(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(qee(r)||Vee(r))?r=parseFloat(r):!BAe(r)&&sh.test(n)&&(r=_te(t,n)),this.setBaseTarget(t,eo(r)?r.get():r)),eo(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=kj(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!eo(a)?a:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ej),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class gne extends EMe{constructor(){super(...arguments),this.KeyframeResolver=RAe}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;eo(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function vne(e,{style:t,vars:n},r,a){Object.assign(e.style,t,a&&a.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}function TMe(e){return window.getComputedStyle(e)}class CMe extends gne{constructor(){super(...arguments),this.type="html",this.renderInstance=vne}readValueFromInstance(t,n){var r;if(w0.has(n))return(r=this.projection)!=null&&r.isProjecting?JL(n):YPe(t,n);{const a=TMe(t),i=(rj(n)?a.getPropertyValue(n):a[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return nne(t,n)}build(t,n,r){Ej(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return xj(t,n,r)}}const yne=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function kMe(e,t,n,r){vne(e,t,void 0,r);for(const a in t.attrs)e.setAttribute(yne.has(a)?a:Sj(a),t.attrs[a])}class xMe extends gne{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$a}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(w0.has(n)){const r=xte(n);return r&&r.default||0}return n=yne.has(n)?n:Sj(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Vte(t,n,r)}build(t,n,r){Wte(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,a){kMe(t,n,r,a)}mount(t){this.isSVGTag=qte(t.tagName),super.mount(t)}}const _Me=(e,t)=>Cj(e)?new xMe(t):new CMe(t,{allowProjection:e!==R.Fragment}),OMe=xNe({...JNe,...vMe,...oMe,...yMe},_Me),RMe=QAe(OMe),PMe={initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{x:"100%",opacity:0}};function Oj({children:e}){var r;const t=Xd();return((r=t.state)==null?void 0:r.animated)?w.jsx(VAe,{mode:"wait",children:w.jsx(RMe.div,{variants:PMe,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15},style:{width:"100%"},children:e},t.pathname)}):w.jsx(w.Fragment,{children:e})}function AMe(){return w.jsx(mt,{path:"",children:w.jsx(mt,{element:w.jsx(Oj,{children:w.jsx(HRe,{})}),path:"dashboard"})})}const S0=({errors:e,error:t})=>{if(!t&&!e)return null;let n={};t&&t.errors?n=t.errors:e&&(n=e);const r=Object.keys(n);return w.jsxs("div",{style:{minHeight:"30px"},children:[(e==null?void 0:e.form)&&w.jsx("div",{className:"with-fade-in",style:{color:"red"},children:e.form}),n.length&&w.jsxs("div",{children:[((t==null?void 0:t.title)||(t==null?void 0:t.message))&&w.jsx("span",{children:(t==null?void 0:t.title)||(t==null?void 0:t.message)}),r.map(a=>w.jsx("div",{children:w.jsxs("span",{children:["• ",n[a]]})},a))]})]})},NMe={remoteTitle:"Remote service",grpcMethod:"Over grpc",hostAddress:"Host address",httpMethod:"Over http",interfaceLang:{description:"Here you can change your software interface language settings",title:"Language & Region"},port:"Port",remoteDescription:"Remote service, is the place that all data, logics, and services are installed there. It could be cloud, or locally. Only advanced users, changing it to wrong address might cause inaccessibility.",richTextEditor:{description:"Manage how you want to edit textual content in the app",title:"Text Editor"},theme:{title:"Theme",description:"Change the interface theme color"},accessibility:{description:"Handle the accessibility settings",title:"Accessibility"},debugSettings:{description:"See the debug information of the app, for developers or help desks",title:"Debug Settings"}},MMe={interfaceLang:{description:"Tutaj możesz zmienić ustawienia języka interfejsu oprogramowania",title:"Język i Region"},port:"Port",remoteDescription:"Usługa zdalna, to miejsce, w którym zainstalowane są wszystkie dane, logiki i usługi. Może to być chmura lub lokalnie. Tylko zaawansowani użytkownicy, zmieniając go na błędny adres, mogą spowodować niedostępność.",theme:{description:"Zmień kolor motywu interfejsu",title:"Motyw"},grpcMethod:"Przez gRPC",httpMethod:"Przez HTTP",hostAddress:"Adres hosta",remoteTitle:"Usługa zdalna",richTextEditor:{description:"Zarządzaj sposobem edycji treści tekstowej w aplikacji",title:"Edytor tekstu"},accessibility:{description:"Obsługa ustawień dostępności",title:"Dostępność"},debugSettings:{description:"Wyświetl informacje debugowania aplikacji, dla programistów lub biur pomocy",title:"Ustawienia debugowania"}},IMe={accessibility:{description:"مدیریت تنظیمات دسترسی",title:"دسترسی"},debugSettings:{description:"نمایش اطلاعات اشکال زدایی برنامه، برای توسعه‌دهندگان یا مراکز کمک",title:"تنظیمات اشکال زدایی"},httpMethod:"از طریق HTTP",interfaceLang:{description:"در اینجا می‌توانید تنظیمات زبان و منطقه رابط کاربری نرم‌افزار را تغییر دهید",title:"زبان و منطقه"},port:"پورت",remoteDescription:"سرویس از راه دور، مکانی است که تمام داده‌ها، منطق‌ها و خدمات در آن نصب می‌شوند. ممکن است این ابری یا محلی باشد. تنها کاربران پیشرفته با تغییر آن به آدرس نادرست، ممکن است بر ندسترسی برخورد کنند.",remoteTitle:"سرویس از راه دور",grpcMethod:"از طریق gRPC",hostAddress:"آدرس میزبان",richTextEditor:{title:"ویرایشگر متن",description:"مدیریت نحوه ویرایش محتوای متنی در برنامه"},theme:{description:"تغییر رنگ موضوع رابط کاربری",title:"موضوع"}},DMe={...NMe,$pl:MMe,$fa:IMe},$Me=(e,t)=>{e.preferredHand&&localStorage.setItem("app_preferredHand_address",e.preferredHand)},LMe=e=>[{label:e.accesibility.leftHand,value:"left"},{label:e.accesibility.rightHand,value:"right"}];function FMe({}){const{config:e,patchConfig:t}=R.useContext(dh),n=At(),r=Kt(DMe),{formik:a}=Dr({}),i=(l,u)=>{l.preferredHand&&(t({preferredHand:l.preferredHand}),$Me(l))},o=Bs(LMe(n));return R.useEffect(()=>{var l;(l=a.current)==null||l.setValues({preferredHand:e.preferredHand})},[e.remote]),w.jsxs(Io,{title:n.generalSettings.accessibility.title,children:[w.jsx("p",{children:r.accessibility.description}),w.jsx(ss,{innerRef:l=>{l&&(a.current=l)},initialValues:{},onSubmit:i,children:l=>w.jsxs("form",{className:"richtext-editor-config-form",onSubmit:u=>u.preventDefault(),children:[w.jsx(S0,{errors:l.errors}),w.jsx(ca,{formEffect:{form:l,field:"preferredHand",beforeSet(u){return u.value}},keyExtractor:u=>u.value,errorMessage:l.errors.preferredHand,querySource:o,label:n.settings.preferredHand,hint:n.settings.preferredHandHint}),w.jsx(Us,{disabled:l.values.preferredHand===""||l.values.preferredHand===e.preferredHand,label:n.settings.apply,onClick:()=>l.submitForm()})]})})]})}function jMe(){const e=js(),{query:t}=fF({queryClient:e,query:{},queryOptions:{cacheTime:0}});return w.jsxs(w.Fragment,{children:[w.jsx("h2",{children:"User Role Workspaces"}),w.jsx("p",{children:"Data:"}),w.jsx("pre",{children:JSON.stringify(t.data,null,2)}),w.jsx("p",{children:"Error:"}),w.jsx("pre",{children:JSON.stringify(t.error,null,2)})]})}function UMe(){const e=R.useContext(nt);return w.jsxs(w.Fragment,{children:[w.jsx("h2",{children:"Fireback context:"}),w.jsx("pre",{children:JSON.stringify(e,null,2)})]})}function BMe({}){const[e,t]=R.useState(!1);R.useContext(nt);const n=At();return w.jsxs(Io,{title:n.generalSettings.debugSettings.title,children:[w.jsx("p",{children:n.generalSettings.debugSettings.description}),w.jsx(vl,{value:e,label:n.debugInfo,onChange:()=>t(r=>!r)}),e&&w.jsxs(w.Fragment,{children:[w.jsx("pre",{}),w.jsx(kl,{href:"/lalaland",children:"Go to Lalaland"}),w.jsx(kl,{href:"/view3d",children:"View 3D"}),w.jsx(jMe,{}),w.jsx(UMe,{})]})]})}const bne=e=>[kr.SUPPORTED_LANGUAGES.includes("en")?{label:e.locale.englishWorldwide,value:"en"}:void 0,kr.SUPPORTED_LANGUAGES.includes("fa")?{label:e.locale.persianIran,value:"fa"}:void 0,kr.SUPPORTED_LANGUAGES.includes("ru")?{label:"Russian (Русский)",value:"ru"}:void 0,kr.SUPPORTED_LANGUAGES.includes("pl")?{label:e.locale.polishPoland,value:"pl"}:void 0,kr.SUPPORTED_LANGUAGES.includes("ua")?{label:"Ukrainain (українська)",value:"ua"}:void 0].filter(Boolean),WMe=(e,t)=>{e.interfaceLanguage&&localStorage.setItem("app_interfaceLanguage_address",e.interfaceLanguage)};function zMe({}){const{config:e,patchConfig:t}=R.useContext(dh),n=At(),{router:r,formik:a}=Dr({}),i=(u,d)=>{u.interfaceLanguage&&(t({interfaceLanguage:u.interfaceLanguage}),WMe(u),r.push(`/${u.interfaceLanguage}/settings`))};R.useEffect(()=>{var u;(u=a.current)==null||u.setValues({interfaceLanguage:e.interfaceLanguage})},[e.remote]);const o=bne(n),l=Bs(o);return w.jsxs(Io,{title:n.generalSettings.interfaceLang.title,children:[w.jsx("p",{children:n.generalSettings.interfaceLang.description}),w.jsx(ss,{innerRef:u=>{u&&(a.current=u)},initialValues:{},onSubmit:i,children:u=>w.jsxs("form",{className:"remote-service-form",onSubmit:d=>d.preventDefault(),children:[w.jsx(S0,{errors:u.errors}),w.jsx(ca,{keyExtractor:d=>d.value,formEffect:{form:u,field:"interfaceLanguage",beforeSet(d){return d.value}},errorMessage:u.errors.interfaceLanguage,querySource:l,label:n.settings.interfaceLanguage,hint:n.settings.interfaceLanguageHint}),w.jsx(Us,{disabled:u.values.interfaceLanguage===""||u.values.interfaceLanguage===e.interfaceLanguage,label:n.settings.apply,onClick:()=>u.submitForm()})]})})]})}class Rj extends wn{constructor(...t){super(...t),this.children=void 0,this.subscription=void 0}}Rj.Navigation={edit(e,t){return`${t?"/"+t:".."}/web-push-config/edit/${e}`},create(e){return`${e?"/"+e:".."}/web-push-config/new`},single(e,t){return`${t?"/"+t:".."}/web-push-config/${e}`},query(e={},t){return`${t?"/"+t:".."}/web-push-configs`},Redit:"web-push-config/edit/:uniqueId",Rcreate:"web-push-config/new",Rsingle:"web-push-config/:uniqueId",Rquery:"web-push-configs"};Rj.definition={rpc:{query:{}},name:"webPushConfig",distinctBy:"user",features:{},security:{resolveStrategy:"user"},gormMap:{},fields:[{name:"subscription",description:"The json content of the web push after getting it from browser",type:"json",validate:"required",computedType:"any",gormMap:{}}],description:"Keep the web push notification configuration for each user"};Rj.Fields={...wn.Fields,subscription:"subscription"};function qMe(e){let{queryClient:t,query:n,execFnOverride:r}={};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/web-push-config".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*fireback.WebPushConfigEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function HMe(){const{submit:e}=qMe();R.useEffect(()=>{navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",d=>{var f;((f=d.data)==null?void 0:f.type)==="PUSH_RECEIVED"&&console.log("Push message in UI:",d.data.payload)})},[]);const[t,n]=R.useState(!1),[r,a]=R.useState(!1),[i,o]=R.useState(null);return R.useEffect(()=>{async function d(){try{const g=await(await navigator.serviceWorker.ready).pushManager.getSubscription();a(!!g)}catch(f){console.error("Failed to check subscription",f)}}d()},[]),{isSubscribing:t,isSubscribed:r,error:i,subscribe:async()=>{n(!0),o(null);try{const f=await(await navigator.serviceWorker.ready).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:"BAw6oGpr6FoFDj49xOhFbTSOY07zvcqYWyyXeQXUJIFubi5iLQNV0vYsXKLz7J8520o4IjCq8u9tLPBx2NSuu04"});console.log(25,f),e({subscription:f}),console.log("Subscribed:",JSON.stringify(f)),a(!0)}catch(d){o("Failed to subscribe."),console.error("Subscription failed:",d)}finally{n(!1)}},unsubscribe:async()=>{n(!0),o(null);try{const f=await(await navigator.serviceWorker.ready).pushManager.getSubscription();f?(await f.unsubscribe(),a(!1)):o("No subscription found")}catch(d){o("Failed to unsubscribe."),console.error("Unsubscription failed:",d)}finally{n(!1)}}}}function VMe({}){const{error:e,isSubscribed:t,isSubscribing:n,subscribe:r,unsubscribe:a}=HMe();return w.jsxs(Io,{title:"Notification settings",children:[w.jsx("p",{children:"Here you can manage your notifications"}),w.jsx(S0,{error:e}),w.jsx("button",{className:"btn",disabled:n||t,onClick:()=>r(),children:"Subscribe"}),w.jsx("button",{disabled:!t,className:"btn",onClick:()=>a(),children:"Unsubscribe"})]})}const GMe=(e,t)=>{e.textEditorModule&&localStorage.setItem("app_textEditorModule_address",e.textEditorModule)},YMe=e=>[{label:e.simpleTextEditor,value:"bare"},{label:e.tinymceeditor,value:"tinymce"}];function KMe({}){const{config:e,patchConfig:t}=R.useContext(dh),n=At(),{formik:r}=Dr({}),a=(l,u)=>{l.textEditorModule&&(t({textEditorModule:l.textEditorModule}),GMe(l))};R.useEffect(()=>{var l;(l=r.current)==null||l.setValues({textEditorModule:e.textEditorModule})},[e.remote]);const i=YMe(n),o=Bs(i);return w.jsxs(Io,{title:n.generalSettings.richTextEditor.title,children:[w.jsx("p",{children:n.generalSettings.richTextEditor.description}),w.jsx(ss,{innerRef:l=>{l&&(r.current=l)},initialValues:{},onSubmit:a,children:l=>w.jsxs("form",{className:"richtext-editor-config-form",onSubmit:u=>u.preventDefault(),children:[w.jsx(S0,{errors:l.errors}),w.jsx(ca,{formEffect:{form:l,field:"textEditorModule",beforeSet(u){return u.value}},keyExtractor:u=>u.value,querySource:o,errorMessage:l.errors.textEditorModule,label:n.settings.textEditorModule,hint:n.settings.textEditorModuleHint}),w.jsx(Us,{disabled:l.values.textEditorModule===""||l.values.textEditorModule===e.textEditorModule,label:n.settings.apply,onClick:()=>l.submitForm()})]})})]})}const XMe=(e,t)=>{if(e.theme){localStorage.setItem("ui_theme",e.theme);const n=document.getElementsByTagName("body")[0].classList;for(const r of n.value.split(" "))r.endsWith("-theme")&&n.remove(r);e.theme.split(" ").forEach(r=>{n.add(r)})}},QMe=[{label:"MacOSX Automatic",value:"mac-theme"},{label:"MacOSX Light",value:"mac-theme light-theme"},{label:"MacOSX Dark",value:"mac-theme dark-theme"}];function JMe({}){const{config:e,patchConfig:t}=R.useContext(dh),n=At(),{formik:r}=Dr({}),a=(o,l)=>{o.theme&&(t({theme:o.theme}),XMe(o))};R.useEffect(()=>{var o;(o=r.current)==null||o.setValues({theme:e.theme})},[e.remote]);const i=Bs(QMe);return w.jsxs(Io,{title:n.generalSettings.theme.title,children:[w.jsx("p",{children:n.generalSettings.theme.description}),w.jsx(ss,{innerRef:o=>{o&&(r.current=o)},initialValues:{},onSubmit:a,children:o=>w.jsxs("form",{className:"richtext-editor-config-form",onSubmit:l=>l.preventDefault(),children:[w.jsx(S0,{errors:o.errors}),w.jsx(ca,{keyExtractor:l=>l.value,formEffect:{form:o,field:"theme",beforeSet(l){return l.value}},errorMessage:o.errors.theme,querySource:i,label:n.settings.theme,hint:n.settings.themeHint}),w.jsx(Us,{disabled:o.values.theme===""||o.values.theme===e.theme,label:n.settings.apply,onClick:()=>o.submitForm()})]})})]})}function ZMe({}){const e=At();return hh(e.menu.settings),w.jsxs("div",{children:[w.jsx(VMe,{}),kr.FORCED_LOCALE?null:w.jsx(zMe,{}),w.jsx(KMe,{}),w.jsx(FMe,{}),kr.FORCE_APP_THEME!=="true"?w.jsx(JMe,{}):null,w.jsx(BMe,{})]})}const eIe={setupTotpDescription:'In order to complete account registeration, you need to scan the following code using "Microsoft authenticator" or "Google Authenticator". After that, you need to enter the 6 digit code from the app here.',welcomeBackDescription:"Select any option to continue to access your account.",google:"Google",selectWorkspace:"You have multiple workspaces associated with your account. Select one to continue.",completeYourAccount:"Complete your account",completeYourAccountDescription:"Complete the information below to complete your signup",registerationNotPossibleLine1:"In this project there are no workspace types that can be used publicly to create account.",enterPassword:"Enter Password",welcomeBack:"Welcome back",emailMethod:"Email",phoneMethod:"Phone number",noAuthenticationMethod:"Authentication Currently Unavailable",firstName:"First name",registerationNotPossible:"Registeration not possible.",setupDualFactor:"Setup Dual Factor",cancelStep:"Cancel and try another way.",enterOtp:"Enter OTP",skipTotpInfo:"You can setup this any time later, by visiting your account security section.",continueWithEmailDescription:"Enter your email address to continue.",enterOtpDescription:"We have sent you an one time password, please enter to continue.",continueWithEmail:"Continue with Email",continueWithPhone:"Continue with Phone",registerationNotPossibleLine2:"Contact the service administrator to create your account for you.",useOneTimePassword:"Use one time password instead",changePassword:{pass1Label:"Password",pass2Label:"Repeat password",submit:"Change Password",title:"Change password",description:"In order to change your password, enter new password twice same in the fields"},continueWithPhoneDescription:"Enter your phone number to continue.",lastName:"Last name",password:"Password",continue:"Continue",anotherAccount:"Choose another account",noAuthenticationMethodDescription:"Sign-in and registration are not available in your region at this time. If you believe this is an error or need access, please contact the administrator.",home:{title:"Account & Profile",description:"Manage your account, emails, passwords and more",passports:"Passports",passportsTitle:"Passports",passportsDescription:"View emails, phone numbers associated with your account."},enterTotp:"Enter Totp Code",enterTotpDescription:"Open your authenticator app and enter the 6 digits.",setupTotp:"Setup Dual Factor",skipTotpButton:"Skip for now",userPassports:{title:"Passports",description:"You can see a list of passports that you can use to authenticate into the system here.",add:"Add new passport",remove:"Remove passport"},selectWorkspaceTitle:"Select workspace",chooseAnotherMethod:"Choose another method",enterPasswordDescription:"Enter your password to continue authorizing your account."},tIe={registerationNotPossibleLine2:"Skontaktuj się z administratorem usługi, aby utworzył konto dla Ciebie.",chooseAnotherMethod:"Wybierz inną metodę",continue:"Kontynuuj",continueWithPhone:"Kontynuuj za pomocą numeru telefonu",enterPassword:"Wprowadź hasło",noAuthenticationMethod:"Uwierzytelnianie obecnie niedostępne",completeYourAccountDescription:"Uzupełnij poniższe informacje, aby zakończyć rejestrację",registerationNotPossible:"Rejestracja niemożliwa.",selectWorkspace:"Masz wiele przestrzeni roboczych powiązanych z Twoim kontem. Wybierz jedną, aby kontynuować.",welcomeBack:"Witamy ponownie",enterOtp:"Wprowadź jednorazowy kod",enterPasswordDescription:"Wprowadź swoje hasło, aby kontynuować autoryzację konta.",userPassports:{add:"Dodaj nowy paszport",description:"Tutaj możesz zobaczyć listę paszportów, które możesz wykorzystać do uwierzytelniania w systemie.",remove:"Usuń paszport",title:"Paszporty"},registerationNotPossibleLine1:"W tym projekcie nie ma dostępnych typów przestrzeni roboczych do publicznego tworzenia konta.",cancelStep:"Anuluj i spróbuj innej metody.",continueWithEmail:"Kontynuuj za pomocą e-maila",continueWithPhoneDescription:"Wprowadź swój numer telefonu, aby kontynuować.",emailMethod:"E-mail",enterTotp:"Wprowadź kod TOTP",noAuthenticationMethodDescription:"Logowanie i rejestracja są obecnie niedostępne w Twoim regionie. Jeśli uważasz, że to błąd lub potrzebujesz dostępu, skontaktuj się z administratorem.",password:"Hasło",anotherAccount:"Wybierz inne konto",enterTotpDescription:"Otwórz aplikację uwierzytelniającą i wprowadź 6-cyfrowy kod.",firstName:"Imię",phoneMethod:"Numer telefonu",setupDualFactor:"Skonfiguruj uwierzytelnianie dwuskładnikowe",setupTotp:"Skonfiguruj uwierzytelnianie dwuskładnikowe",skipTotpInfo:"Możesz skonfigurować to później, odwiedzając sekcję bezpieczeństwa konta.",welcomeBackDescription:"Wybierz dowolną opcję, aby kontynuować dostęp do swojego konta.",changePassword:{pass1Label:"Hasło",pass2Label:"Powtórz hasło",submit:"Zmień hasło",title:"Zmień hasło",description:"Aby zmienić hasło, wprowadź nowe hasło dwukrotnie w polach poniżej"},lastName:"Nazwisko",useOneTimePassword:"Użyj jednorazowego hasła zamiast tego",completeYourAccount:"Uzupełnij swoje konto",continueWithEmailDescription:"Wprowadź swój adres e-mail, aby kontynuować.",enterOtpDescription:"Wysłaliśmy jednorazowy kod, wprowadź go, aby kontynuować.",google:"Google",home:{description:"Zarządzaj swoim kontem, e-mailami, hasłami i innymi",passports:"Paszporty",passportsDescription:"Zobacz e-maile i numery telefonów powiązane z Twoim kontem.",passportsTitle:"Paszporty",title:"Konto i profil"},selectWorkspaceTitle:"Wybierz przestrzeń roboczą",setupTotpDescription:"Aby zakończyć rejestrację konta, zeskanuj poniższy kod za pomocą aplikacji „Microsoft Authenticator” lub „Google Authenticator”. Następnie wprowadź tutaj 6-cyfrowy kod z aplikacji.",skipTotpButton:"Pomiń na razie"},xa={...eIe,$pl:tIe};function f3(e,t){const n={};for(const[r,a]of Object.entries(t))typeof a=="string"?n[r]=`${e}.${a}`:typeof a=="object"&&a!==null&&(n[r]=a);return n}var Va,op,sp,lp,up,cp,dp,fp,pp,hp,mp,gp,vp,yp,bp,wp,Sp,Ep,Tp,ok,sk,Cp,kp,xp,lc,lk,_p,Op,Rp,Pp,Ap,Np,Mp,Ip,uk;function Xe(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var nIe=0;function Pn(e){return"__private_"+nIe+++"_"+e}var $m=Pn("apiVersion"),Lm=Pn("context"),Fm=Pn("id"),jm=Pn("method"),Um=Pn("params"),cd=Pn("data"),dd=Pn("error"),dA=Pn("isJsonAppliable"),k1=Pn("lateInitFields");class Mo{get apiVersion(){return Xe(this,$m)[$m]}set apiVersion(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,$m)[$m]=n?t:String(t)}setApiVersion(t){return this.apiVersion=t,this}get context(){return Xe(this,Lm)[Lm]}set context(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Lm)[Lm]=n?t:String(t)}setContext(t){return this.context=t,this}get id(){return Xe(this,Fm)[Fm]}set id(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Fm)[Fm]=n?t:String(t)}setId(t){return this.id=t,this}get method(){return Xe(this,jm)[jm]}set method(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,jm)[jm]=n?t:String(t)}setMethod(t){return this.method=t,this}get params(){return Xe(this,Um)[Um]}set params(t){Xe(this,Um)[Um]=t}setParams(t){return this.params=t,this}get data(){return Xe(this,cd)[cd]}set data(t){t instanceof Mo.Data?Xe(this,cd)[cd]=t:Xe(this,cd)[cd]=new Mo.Data(t)}setData(t){return this.data=t,this}get error(){return Xe(this,dd)[dd]}set error(t){t instanceof Mo.Error?Xe(this,dd)[dd]=t:Xe(this,dd)[dd]=new Mo.Error(t)}setError(t){return this.error=t,this}constructor(t=void 0){if(Object.defineProperty(this,k1,{value:aIe}),Object.defineProperty(this,dA,{value:rIe}),Object.defineProperty(this,$m,{writable:!0,value:void 0}),Object.defineProperty(this,Lm,{writable:!0,value:void 0}),Object.defineProperty(this,Fm,{writable:!0,value:void 0}),Object.defineProperty(this,jm,{writable:!0,value:void 0}),Object.defineProperty(this,Um,{writable:!0,value:null}),Object.defineProperty(this,cd,{writable:!0,value:void 0}),Object.defineProperty(this,dd,{writable:!0,value:void 0}),t==null){Xe(this,k1)[k1]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,dA)[dA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.apiVersion!==void 0&&(this.apiVersion=n.apiVersion),n.context!==void 0&&(this.context=n.context),n.id!==void 0&&(this.id=n.id),n.method!==void 0&&(this.method=n.method),n.params!==void 0&&(this.params=n.params),n.data!==void 0&&(this.data=n.data),n.error!==void 0&&(this.error=n.error),Xe(this,k1)[k1](t)}toJSON(){return{apiVersion:Xe(this,$m)[$m],context:Xe(this,Lm)[Lm],id:Xe(this,Fm)[Fm],method:Xe(this,jm)[jm],params:Xe(this,Um)[Um],data:Xe(this,cd)[cd],error:Xe(this,dd)[dd]}}toString(){return JSON.stringify(this)}static get Fields(){return{apiVersion:"apiVersion",context:"context",id:"id",method:"method",params:"params",data$:"data",get data(){return f3("data",Mo.Data.Fields)},error$:"error",get error(){return f3("error",Mo.Error.Fields)}}}static from(t){return new Mo(t)}static with(t){return new Mo(t)}copyWith(t){return new Mo({...this.toJSON(),...t})}clone(){return new Mo(this.toJSON())}}Va=Mo;function rIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function aIe(e={}){const t=e;t.data instanceof Va.Data||(this.data=new Va.Data(t.data||{})),t.error instanceof Va.Error||(this.error=new Va.Error(t.error||{}))}Mo.Data=(op=Pn("item"),sp=Pn("items"),lp=Pn("editLink"),up=Pn("selfLink"),cp=Pn("kind"),dp=Pn("fields"),fp=Pn("etag"),pp=Pn("cursor"),hp=Pn("id"),mp=Pn("lang"),gp=Pn("updated"),vp=Pn("currentItemCount"),yp=Pn("itemsPerPage"),bp=Pn("startIndex"),wp=Pn("totalItems"),Sp=Pn("totalAvailableItems"),Ep=Pn("pageIndex"),Tp=Pn("totalPages"),ok=Pn("isJsonAppliable"),class{get item(){return Xe(this,op)[op]}set item(t){Xe(this,op)[op]=t}setItem(t){return this.item=t,this}get items(){return Xe(this,sp)[sp]}set items(t){Xe(this,sp)[sp]=t}setItems(t){return this.items=t,this}get editLink(){return Xe(this,lp)[lp]}set editLink(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,lp)[lp]=n?t:String(t)}setEditLink(t){return this.editLink=t,this}get selfLink(){return Xe(this,up)[up]}set selfLink(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,up)[up]=n?t:String(t)}setSelfLink(t){return this.selfLink=t,this}get kind(){return Xe(this,cp)[cp]}set kind(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,cp)[cp]=n?t:String(t)}setKind(t){return this.kind=t,this}get fields(){return Xe(this,dp)[dp]}set fields(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,dp)[dp]=n?t:String(t)}setFields(t){return this.fields=t,this}get etag(){return Xe(this,fp)[fp]}set etag(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,fp)[fp]=n?t:String(t)}setEtag(t){return this.etag=t,this}get cursor(){return Xe(this,pp)[pp]}set cursor(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,pp)[pp]=n?t:String(t)}setCursor(t){return this.cursor=t,this}get id(){return Xe(this,hp)[hp]}set id(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,hp)[hp]=n?t:String(t)}setId(t){return this.id=t,this}get lang(){return Xe(this,mp)[mp]}set lang(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,mp)[mp]=n?t:String(t)}setLang(t){return this.lang=t,this}get updated(){return Xe(this,gp)[gp]}set updated(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,gp)[gp]=n?t:String(t)}setUpdated(t){return this.updated=t,this}get currentItemCount(){return Xe(this,vp)[vp]}set currentItemCount(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,vp)[vp]=r)}setCurrentItemCount(t){return this.currentItemCount=t,this}get itemsPerPage(){return Xe(this,yp)[yp]}set itemsPerPage(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,yp)[yp]=r)}setItemsPerPage(t){return this.itemsPerPage=t,this}get startIndex(){return Xe(this,bp)[bp]}set startIndex(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,bp)[bp]=r)}setStartIndex(t){return this.startIndex=t,this}get totalItems(){return Xe(this,wp)[wp]}set totalItems(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,wp)[wp]=r)}setTotalItems(t){return this.totalItems=t,this}get totalAvailableItems(){return Xe(this,Sp)[Sp]}set totalAvailableItems(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,Sp)[Sp]=r)}setTotalAvailableItems(t){return this.totalAvailableItems=t,this}get pageIndex(){return Xe(this,Ep)[Ep]}set pageIndex(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,Ep)[Ep]=r)}setPageIndex(t){return this.pageIndex=t,this}get totalPages(){return Xe(this,Tp)[Tp]}set totalPages(t){const r=typeof t=="number"||t===void 0||t===null?t:Number(t);Number.isNaN(r)||(Xe(this,Tp)[Tp]=r)}setTotalPages(t){return this.totalPages=t,this}constructor(t=void 0){if(Object.defineProperty(this,ok,{value:iIe}),Object.defineProperty(this,op,{writable:!0,value:null}),Object.defineProperty(this,sp,{writable:!0,value:null}),Object.defineProperty(this,lp,{writable:!0,value:void 0}),Object.defineProperty(this,up,{writable:!0,value:void 0}),Object.defineProperty(this,cp,{writable:!0,value:void 0}),Object.defineProperty(this,dp,{writable:!0,value:void 0}),Object.defineProperty(this,fp,{writable:!0,value:void 0}),Object.defineProperty(this,pp,{writable:!0,value:void 0}),Object.defineProperty(this,hp,{writable:!0,value:void 0}),Object.defineProperty(this,mp,{writable:!0,value:void 0}),Object.defineProperty(this,gp,{writable:!0,value:void 0}),Object.defineProperty(this,vp,{writable:!0,value:void 0}),Object.defineProperty(this,yp,{writable:!0,value:void 0}),Object.defineProperty(this,bp,{writable:!0,value:void 0}),Object.defineProperty(this,wp,{writable:!0,value:void 0}),Object.defineProperty(this,Sp,{writable:!0,value:void 0}),Object.defineProperty(this,Ep,{writable:!0,value:void 0}),Object.defineProperty(this,Tp,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,ok)[ok](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.item!==void 0&&(this.item=n.item),n.items!==void 0&&(this.items=n.items),n.editLink!==void 0&&(this.editLink=n.editLink),n.selfLink!==void 0&&(this.selfLink=n.selfLink),n.kind!==void 0&&(this.kind=n.kind),n.fields!==void 0&&(this.fields=n.fields),n.etag!==void 0&&(this.etag=n.etag),n.cursor!==void 0&&(this.cursor=n.cursor),n.id!==void 0&&(this.id=n.id),n.lang!==void 0&&(this.lang=n.lang),n.updated!==void 0&&(this.updated=n.updated),n.currentItemCount!==void 0&&(this.currentItemCount=n.currentItemCount),n.itemsPerPage!==void 0&&(this.itemsPerPage=n.itemsPerPage),n.startIndex!==void 0&&(this.startIndex=n.startIndex),n.totalItems!==void 0&&(this.totalItems=n.totalItems),n.totalAvailableItems!==void 0&&(this.totalAvailableItems=n.totalAvailableItems),n.pageIndex!==void 0&&(this.pageIndex=n.pageIndex),n.totalPages!==void 0&&(this.totalPages=n.totalPages)}toJSON(){return{item:Xe(this,op)[op],items:Xe(this,sp)[sp],editLink:Xe(this,lp)[lp],selfLink:Xe(this,up)[up],kind:Xe(this,cp)[cp],fields:Xe(this,dp)[dp],etag:Xe(this,fp)[fp],cursor:Xe(this,pp)[pp],id:Xe(this,hp)[hp],lang:Xe(this,mp)[mp],updated:Xe(this,gp)[gp],currentItemCount:Xe(this,vp)[vp],itemsPerPage:Xe(this,yp)[yp],startIndex:Xe(this,bp)[bp],totalItems:Xe(this,wp)[wp],totalAvailableItems:Xe(this,Sp)[Sp],pageIndex:Xe(this,Ep)[Ep],totalPages:Xe(this,Tp)[Tp]}}toString(){return JSON.stringify(this)}static get Fields(){return{item:"item",items:"items",editLink:"editLink",selfLink:"selfLink",kind:"kind",fields:"fields",etag:"etag",cursor:"cursor",id:"id",lang:"lang",updated:"updated",currentItemCount:"currentItemCount",itemsPerPage:"itemsPerPage",startIndex:"startIndex",totalItems:"totalItems",totalAvailableItems:"totalAvailableItems",pageIndex:"pageIndex",totalPages:"totalPages"}}static from(t){return new Va.Data(t)}static with(t){return new Va.Data(t)}copyWith(t){return new Va.Data({...this.toJSON(),...t})}clone(){return new Va.Data(this.toJSON())}});function iIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}Mo.Error=(Cp=Pn("code"),kp=Pn("message"),xp=Pn("messageTranslated"),lc=Pn("errors"),lk=Pn("isJsonAppliable"),sk=class wne{get code(){return Xe(this,Cp)[Cp]}set code(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(Xe(this,Cp)[Cp]=r)}setCode(t){return this.code=t,this}get message(){return Xe(this,kp)[kp]}set message(t){Xe(this,kp)[kp]=String(t)}setMessage(t){return this.message=t,this}get messageTranslated(){return Xe(this,xp)[xp]}set messageTranslated(t){Xe(this,xp)[xp]=String(t)}setMessageTranslated(t){return this.messageTranslated=t,this}get errors(){return Xe(this,lc)[lc]}set errors(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof Va.Error.Errors?Xe(this,lc)[lc]=t:Xe(this,lc)[lc]=t.map(n=>new Va.Error.Errors(n)))}setErrors(t){return this.errors=t,this}constructor(t=void 0){if(Object.defineProperty(this,lk,{value:sIe}),Object.defineProperty(this,Cp,{writable:!0,value:0}),Object.defineProperty(this,kp,{writable:!0,value:""}),Object.defineProperty(this,xp,{writable:!0,value:""}),Object.defineProperty(this,lc,{writable:!0,value:[]}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,lk)[lk](t))this.applyFromObject(t);else throw new wne("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.code!==void 0&&(this.code=n.code),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.errors!==void 0&&(this.errors=n.errors)}toJSON(){return{code:Xe(this,Cp)[Cp],message:Xe(this,kp)[kp],messageTranslated:Xe(this,xp)[xp],errors:Xe(this,lc)[lc]}}toString(){return JSON.stringify(this)}static get Fields(){return{code:"code",message:"message",messageTranslated:"messageTranslated",errors$:"errors",get errors(){return f3("error.errors[:i]",Va.Error.Errors.Fields)}}}static from(t){return new Va.Error(t)}static with(t){return new Va.Error(t)}copyWith(t){return new Va.Error({...this.toJSON(),...t})}clone(){return new Va.Error(this.toJSON())}},sk.Errors=(_p=Pn("domain"),Op=Pn("reason"),Rp=Pn("message"),Pp=Pn("messageTranslated"),Ap=Pn("location"),Np=Pn("locationType"),Mp=Pn("extendedHelp"),Ip=Pn("sendReport"),uk=Pn("isJsonAppliable"),class{get domain(){return Xe(this,_p)[_p]}set domain(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,_p)[_p]=n?t:String(t)}setDomain(t){return this.domain=t,this}get reason(){return Xe(this,Op)[Op]}set reason(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Op)[Op]=n?t:String(t)}setReason(t){return this.reason=t,this}get message(){return Xe(this,Rp)[Rp]}set message(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Rp)[Rp]=n?t:String(t)}setMessage(t){return this.message=t,this}get messageTranslated(){return Xe(this,Pp)[Pp]}set messageTranslated(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Pp)[Pp]=n?t:String(t)}setMessageTranslated(t){return this.messageTranslated=t,this}get location(){return Xe(this,Ap)[Ap]}set location(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Ap)[Ap]=n?t:String(t)}setLocation(t){return this.location=t,this}get locationType(){return Xe(this,Np)[Np]}set locationType(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Np)[Np]=n?t:String(t)}setLocationType(t){return this.locationType=t,this}get extendedHelp(){return Xe(this,Mp)[Mp]}set extendedHelp(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Mp)[Mp]=n?t:String(t)}setExtendedHelp(t){return this.extendedHelp=t,this}get sendReport(){return Xe(this,Ip)[Ip]}set sendReport(t){const n=typeof t=="string"||t===void 0||t===null;Xe(this,Ip)[Ip]=n?t:String(t)}setSendReport(t){return this.sendReport=t,this}constructor(t=void 0){if(Object.defineProperty(this,uk,{value:oIe}),Object.defineProperty(this,_p,{writable:!0,value:void 0}),Object.defineProperty(this,Op,{writable:!0,value:void 0}),Object.defineProperty(this,Rp,{writable:!0,value:void 0}),Object.defineProperty(this,Pp,{writable:!0,value:void 0}),Object.defineProperty(this,Ap,{writable:!0,value:void 0}),Object.defineProperty(this,Np,{writable:!0,value:void 0}),Object.defineProperty(this,Mp,{writable:!0,value:void 0}),Object.defineProperty(this,Ip,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xe(this,uk)[uk](t))this.applyFromObject(t);else throw new sk("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.domain!==void 0&&(this.domain=n.domain),n.reason!==void 0&&(this.reason=n.reason),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.location!==void 0&&(this.location=n.location),n.locationType!==void 0&&(this.locationType=n.locationType),n.extendedHelp!==void 0&&(this.extendedHelp=n.extendedHelp),n.sendReport!==void 0&&(this.sendReport=n.sendReport)}toJSON(){return{domain:Xe(this,_p)[_p],reason:Xe(this,Op)[Op],message:Xe(this,Rp)[Rp],messageTranslated:Xe(this,Pp)[Pp],location:Xe(this,Ap)[Ap],locationType:Xe(this,Np)[Np],extendedHelp:Xe(this,Mp)[Mp],sendReport:Xe(this,Ip)[Ip]}}toString(){return JSON.stringify(this)}static get Fields(){return{domain:"domain",reason:"reason",message:"message",messageTranslated:"messageTranslated",location:"location",locationType:"locationType",extendedHelp:"extendedHelp",sendReport:"sendReport"}}static from(t){return new Va.Error.Errors(t)}static with(t){return new Va.Error.Errors(t)}copyWith(t){return new Va.Error.Errors({...this.toJSON(),...t})}clone(){return new Va.Error.Errors(this.toJSON())}}),sk);function oIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function sIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}class Ws extends Mo{constructor(t){super(t),this.creator=void 0}setCreator(t){return this.creator=t,this}inject(t){var n,r,a,i,o,l,u,d;return this.applyFromObject(t),t!=null&&t.data&&(this.data||this.setData({}),Array.isArray(t==null?void 0:t.data.items)&&typeof this.creator<"u"&&this.creator!==null?(a=this.data)==null||a.setItems((r=(n=t==null?void 0:t.data)==null?void 0:n.items)==null?void 0:r.map(f=>{var g;return(g=this.creator)==null?void 0:g.call(this,f)})):typeof((i=t==null?void 0:t.data)==null?void 0:i.item)=="object"&&typeof this.creator<"u"&&this.creator!==null?(l=this.data)==null||l.setItem(this.creator((o=t==null?void 0:t.data)==null?void 0:o.item)):(d=this.data)==null||d.setItem((u=t==null?void 0:t.data)==null?void 0:u.item)),this}}function Nl(e,t,n){if(n&&n instanceof URLSearchParams)e+=`?${n.toString()}`;else if(n&&Object.keys(n).length){const r=new URLSearchParams(Object.entries(n).map(([a,i])=>[a,String(i)])).toString();e+=`?${r}`}return e}const Sne=R.createContext(null),lIe=Sne.Provider;function Ml(){return R.useContext(Sne)}var tE;function _s(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var uIe=0;function FE(e){return"__private_"+uIe+++"_"+e}const cIe=e=>{const t=Ml(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),Wd.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[Wd.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class Wd{}tE=Wd;Wd.URL="/user/passports";Wd.NewUrl=e=>Nl(tE.URL,void 0,e);Wd.Method="get";Wd.Fetch$=async(e,t,n,r)=>Rl(r??tE.NewUrl(e),{method:tE.Method,...n||{}},t);Wd.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new iv(o)})=>{t=t||(l=>new iv(l));const o=await tE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Wd.Definition={name:"UserPassports",url:"/user/passports",method:"get",description:"Returns list of passports belongs to an specific user.",out:{envelope:"GResponse",fields:[{name:"value",description:"The passport value, such as email address or phone number",type:"string"},{name:"uniqueId",description:"Unique identifier of the passport to operate some action on top of it",type:"string"},{name:"type",description:"The type of the passport, such as email, phone number",type:"string"},{name:"totpConfirmed",description:"Regardless of the secret, user needs to confirm his secret. There is an extra action to confirm user totp, could be used after signup or prior to login.",type:"bool"}]}};var Bm=FE("value"),Wm=FE("uniqueId"),zm=FE("type"),qm=FE("totpConfirmed"),fA=FE("isJsonAppliable");class iv{get value(){return _s(this,Bm)[Bm]}set value(t){_s(this,Bm)[Bm]=String(t)}setValue(t){return this.value=t,this}get uniqueId(){return _s(this,Wm)[Wm]}set uniqueId(t){_s(this,Wm)[Wm]=String(t)}setUniqueId(t){return this.uniqueId=t,this}get type(){return _s(this,zm)[zm]}set type(t){_s(this,zm)[zm]=String(t)}setType(t){return this.type=t,this}get totpConfirmed(){return _s(this,qm)[qm]}set totpConfirmed(t){_s(this,qm)[qm]=!!t}setTotpConfirmed(t){return this.totpConfirmed=t,this}constructor(t=void 0){if(Object.defineProperty(this,fA,{value:dIe}),Object.defineProperty(this,Bm,{writable:!0,value:""}),Object.defineProperty(this,Wm,{writable:!0,value:""}),Object.defineProperty(this,zm,{writable:!0,value:""}),Object.defineProperty(this,qm,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(_s(this,fA)[fA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.type!==void 0&&(this.type=n.type),n.totpConfirmed!==void 0&&(this.totpConfirmed=n.totpConfirmed)}toJSON(){return{value:_s(this,Bm)[Bm],uniqueId:_s(this,Wm)[Wm],type:_s(this,zm)[zm],totpConfirmed:_s(this,qm)[qm]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",uniqueId:"uniqueId",type:"type",totpConfirmed:"totpConfirmed"}}static from(t){return new iv(t)}static with(t){return new iv(t)}copyWith(t){return new iv({...this.toJSON(),...t})}clone(){return new iv(this.toJSON())}}function dIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const fIe=()=>{const e=Kt(xa),{goBack:t}=xr(),n=cIe({}),{signout:r}=R.useContext(nt);return{goBack:t,signout:r,query:n,s:e}},pIe=({})=>{var a,i;const{query:e,s:t,signout:n}=fIe(),r=((i=(a=e==null?void 0:e.data)==null?void 0:a.data)==null?void 0:i.items)||[];return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:t.userPassports.title}),w.jsx("p",{children:t.userPassports.description}),w.jsx(Al,{query:e}),w.jsx(hIe,{passports:r}),w.jsx("button",{className:"btn btn-danger mt-3 w-100",onClick:n,children:"Signout"})]})},hIe=({passports:e})=>{const t=Kt(xa);return w.jsx("div",{className:"d-flex ",children:e.map(n=>w.jsxs("div",{className:"card p-3 w-100",children:[w.jsx("h3",{className:"card-title",children:n.type.toUpperCase()}),w.jsx("p",{className:"card-text",children:n.value}),w.jsxs("p",{className:"text-muted",children:["TOTP: ",n.totpConfirmed?"Yes":"No"]}),w.jsx(Ub,{href:`../change-password/${n.uniqueId}`,children:w.jsx("button",{className:"btn btn-primary",children:t.changePassword.submit})})]},n.uniqueId))})};var nE;function yu(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var mIe=0;function jE(e){return"__private_"+mIe+++"_"+e}const gIe=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),yh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class yh{}nE=yh;yh.URL="/passport/change-password";yh.NewUrl=e=>Nl(nE.URL,void 0,e);yh.Method="post";yh.Fetch$=async(e,t,n,r)=>Rl(r??nE.NewUrl(e),{method:nE.Method,...n||{}},t);yh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new sv(o)})=>{t=t||(l=>new sv(l));const o=await nE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};yh.Definition={name:"ChangePassword",cliName:"cp",url:"/passport/change-password",method:"post",description:"Change the password for a given passport of the user. User needs to be authenticated in order to be able to change the password for a given account.",in:{fields:[{name:"password",description:"New password meeting the security requirements.",type:"string",tags:{validate:"required"}},{name:"uniqueId",description:"The passport uniqueId (not the email or phone number) which password would be applied to. Don't confuse with value.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"changed",type:"bool"}]}};var Hm=jE("password"),Vm=jE("uniqueId"),pA=jE("isJsonAppliable");class ov{get password(){return yu(this,Hm)[Hm]}set password(t){yu(this,Hm)[Hm]=String(t)}setPassword(t){return this.password=t,this}get uniqueId(){return yu(this,Vm)[Vm]}set uniqueId(t){yu(this,Vm)[Vm]=String(t)}setUniqueId(t){return this.uniqueId=t,this}constructor(t=void 0){if(Object.defineProperty(this,pA,{value:vIe}),Object.defineProperty(this,Hm,{writable:!0,value:""}),Object.defineProperty(this,Vm,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(yu(this,pA)[pA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.password!==void 0&&(this.password=n.password),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId)}toJSON(){return{password:yu(this,Hm)[Hm],uniqueId:yu(this,Vm)[Vm]}}toString(){return JSON.stringify(this)}static get Fields(){return{password:"password",uniqueId:"uniqueId"}}static from(t){return new ov(t)}static with(t){return new ov(t)}copyWith(t){return new ov({...this.toJSON(),...t})}clone(){return new ov(this.toJSON())}}function vIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var Gm=jE("changed"),hA=jE("isJsonAppliable");class sv{get changed(){return yu(this,Gm)[Gm]}set changed(t){yu(this,Gm)[Gm]=!!t}setChanged(t){return this.changed=t,this}constructor(t=void 0){if(Object.defineProperty(this,hA,{value:yIe}),Object.defineProperty(this,Gm,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(yu(this,hA)[hA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.changed!==void 0&&(this.changed=n.changed)}toJSON(){return{changed:yu(this,Gm)[Gm]}}toString(){return JSON.stringify(this)}static get Fields(){return{changed:"changed"}}static from(t){return new sv(t)}static with(t){return new sv(t)}copyWith(t){return new sv({...this.toJSON(),...t})}clone(){return new sv(this.toJSON())}}function yIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const bIe=()=>{const e=Kt(xa),{goBack:t,state:n,replace:r,push:a,query:i}=xr(),o=gIe(),l=i==null?void 0:i.uniqueId,u=()=>{o.mutateAsync(new ov(d.values)).then(f=>{t()})},d=Jd({initialValues:{},onSubmit:u});return R.useEffect(()=>{!l||!d||d.setFieldValue(ov.Fields.uniqueId,l)},[l]),{mutation:o,form:d,submit:u,goBack:t,s:e}},wIe=({})=>{const{mutation:e,form:t,s:n}=bIe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:n.changePassword.title}),w.jsx("p",{children:n.changePassword.description}),w.jsx(Al,{query:e}),w.jsx(SIe,{form:t,mutation:e})]})},SIe=({form:e,mutation:t})=>{const n=Kt(xa),{password2:r,password:a}=e.values,i=a!==r||((a==null?void 0:a.length)||0)<6;return w.jsxs("form",{onSubmit:o=>{o.preventDefault(),e.submitForm()},children:[w.jsx(In,{type:"password",value:e.values.password,label:n.changePassword.pass1Label,id:"password-input",errorMessage:e.errors.password,onChange:o=>e.setFieldValue("password",o,!1)}),w.jsx(In,{type:"password",value:e.values.password2,label:n.changePassword.pass2Label,id:"password-input-2",errorMessage:e.errors.password,onChange:o=>e.setFieldValue("password2",o,!1)}),w.jsx(Us,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:i,children:n.continue})]})};function EIe(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}=e,[a,i]=R.useState(!1),o=R.useRef(n);o.current=n;const l=R.useRef(r);return l.current=r,R.useEffect(()=>{const u=document.createElement("script");return u.src="https://accounts.google.com/gsi/client",u.async=!0,u.defer=!0,u.nonce=t,u.onload=()=>{var d;i(!0),(d=o.current)===null||d===void 0||d.call(o)},u.onerror=()=>{var d;i(!1),(d=l.current)===null||d===void 0||d.call(l)},document.body.appendChild(u),()=>{document.body.removeChild(u)}},[t]),a}const Ene=R.createContext(null);function TIe({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r,children:a}){const i=EIe({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}),o=R.useMemo(()=>({clientId:e,scriptLoadedSuccessfully:i}),[e,i]);return ze.createElement(Ene.Provider,{value:o},a)}function CIe(){const e=R.useContext(Ene);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function kIe({flow:e="implicit",scope:t="",onSuccess:n,onError:r,onNonOAuthError:a,overrideScope:i,state:o,...l}){const{clientId:u,scriptLoadedSuccessfully:d}=CIe(),f=R.useRef(),g=R.useRef(n);g.current=n;const y=R.useRef(r);y.current=r;const h=R.useRef(a);h.current=a,R.useEffect(()=>{var T,C;if(!d)return;const k=e==="implicit"?"initTokenClient":"initCodeClient",_=(C=(T=window==null?void 0:window.google)===null||T===void 0?void 0:T.accounts)===null||C===void 0?void 0:C.oauth2[k]({client_id:u,scope:i?t:`openid profile email ${t}`,callback:A=>{var P,N;if(A.error)return(P=y.current)===null||P===void 0?void 0:P.call(y,A);(N=g.current)===null||N===void 0||N.call(g,A)},error_callback:A=>{var P;(P=h.current)===null||P===void 0||P.call(h,A)},state:o,...l});f.current=_},[u,d,e,t,o]);const v=R.useCallback(T=>{var C;return(C=f.current)===null||C===void 0?void 0:C.requestAccessToken(T)},[]),E=R.useCallback(()=>{var T;return(T=f.current)===null||T===void 0?void 0:T.requestCode()},[]);return e==="implicit"?v:E}const Tne=()=>w.jsxs("div",{className:"loader",id:"loader-4",children:[w.jsx("span",{}),w.jsx("span",{}),w.jsx("span",{})]});function xIe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/passport/via-oauth".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.OauthAuthenticateActionResDto",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}var Ms=(e=>(e.Email="email",e.Phone="phone",e.Google="google",e.Facebook="facebook",e))(Ms||{});const UE=()=>{const{setSession:e,selectUrw:t,selectedUrw:n}=R.useContext(nt),{locale:r}=sr(),{replace:a}=xr();return{onComplete:o=>{var g,y;e(o.data.item.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(o.data));const u=new URLSearchParams(window.location.search).get("redirect"),d=sessionStorage.getItem("redirect_temporary");if(!((y=(g=o.data)==null?void 0:g.item.session)==null?void 0:y.token)){alert("Authentication has failed.");return}if(sessionStorage.removeItem("redirect_temporary"),sessionStorage.removeItem("workspace_type_id"),d)window.location.href=d;else if(u){const h=new URL(u);h.searchParams.set("session",JSON.stringify(o.data.item.session)),window.location.href=h.toString()}else{const h="/{locale}/dashboard".replace("{locale}",r||"en");a(h,h)}}}},_Ie=e=>{R.useEffect(()=>{const t=new URLSearchParams(window.location.search),n=window.location.hash.indexOf("?"),r=n!==-1?new URLSearchParams(window.location.hash.slice(n)):new URLSearchParams;e.forEach(a=>{const i=t.get(a)||r.get(a);i&&sessionStorage.setItem(a,i)})},[e.join(",")])},OIe=({continueWithResult:e,facebookAppId:t})=>{Kt(xa),R.useEffect(()=>{if(window.FB)return;const r=document.createElement("script");r.src="https://connect.facebook.net/en_US/sdk.js",r.async=!0,r.onload=()=>{window.FB.init({appId:t,cookie:!0,xfbml:!1,version:"v19.0"})},document.body.appendChild(r)},[]);const n=()=>{const r=window.FB;if(!r){alert("Facebook SDK not loaded");return}r.login(a=>{var i;console.log("Facebook:",a),(i=a.authResponse)!=null&&i.accessToken?e(a.authResponse.accessToken):alert("Facebook login failed")},{scope:"email,public_profile"})};return w.jsxs("button",{id:"using-facebook",type:"button",onClick:n,children:[w.jsx("img",{className:"button-icon",src:$s("/common/facebook.png")}),"Facebook"]})};var rE;function Vr(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var RIe=0;function nf(e){return"__private_"+RIe+++"_"+e}const Cne=e=>{const t=Ml(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),zd.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[zd.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class zd{}rE=zd;zd.URL="/passports/available-methods";zd.NewUrl=e=>Nl(rE.URL,void 0,e);zd.Method="get";zd.Fetch$=async(e,t,n,r)=>Rl(r??rE.NewUrl(e),{method:rE.Method,...n||{}},t);zd.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new Yp(o)})=>{t=t||(l=>new Yp(l));const o=await rE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};zd.Definition={name:"CheckPassportMethods",cliName:"check-passport-methods",url:"/passports/available-methods",method:"get",description:"Publicly available information to create the authentication form, and show users how they can signin or signup to the system. Based on the PassportMethod entities, it will compute the available methods for the user, considering their region (IP for example)",out:{envelope:"GResponse",fields:[{name:"email",type:"bool",default:!1},{name:"phone",type:"bool",default:!1},{name:"google",type:"bool",default:!1},{name:"facebook",type:"bool",default:!1},{name:"googleOAuthClientKey",type:"string"},{name:"facebookAppId",type:"string"},{name:"enabledRecaptcha2",type:"bool",default:!1},{name:"recaptcha2ClientKey",type:"string"}]}};var Ym=nf("email"),Km=nf("phone"),Xm=nf("google"),Qm=nf("facebook"),Jm=nf("googleOAuthClientKey"),Zm=nf("facebookAppId"),eg=nf("enabledRecaptcha2"),tg=nf("recaptcha2ClientKey"),mA=nf("isJsonAppliable");class Yp{get email(){return Vr(this,Ym)[Ym]}set email(t){Vr(this,Ym)[Ym]=!!t}setEmail(t){return this.email=t,this}get phone(){return Vr(this,Km)[Km]}set phone(t){Vr(this,Km)[Km]=!!t}setPhone(t){return this.phone=t,this}get google(){return Vr(this,Xm)[Xm]}set google(t){Vr(this,Xm)[Xm]=!!t}setGoogle(t){return this.google=t,this}get facebook(){return Vr(this,Qm)[Qm]}set facebook(t){Vr(this,Qm)[Qm]=!!t}setFacebook(t){return this.facebook=t,this}get googleOAuthClientKey(){return Vr(this,Jm)[Jm]}set googleOAuthClientKey(t){Vr(this,Jm)[Jm]=String(t)}setGoogleOAuthClientKey(t){return this.googleOAuthClientKey=t,this}get facebookAppId(){return Vr(this,Zm)[Zm]}set facebookAppId(t){Vr(this,Zm)[Zm]=String(t)}setFacebookAppId(t){return this.facebookAppId=t,this}get enabledRecaptcha2(){return Vr(this,eg)[eg]}set enabledRecaptcha2(t){Vr(this,eg)[eg]=!!t}setEnabledRecaptcha2(t){return this.enabledRecaptcha2=t,this}get recaptcha2ClientKey(){return Vr(this,tg)[tg]}set recaptcha2ClientKey(t){Vr(this,tg)[tg]=String(t)}setRecaptcha2ClientKey(t){return this.recaptcha2ClientKey=t,this}constructor(t=void 0){if(Object.defineProperty(this,mA,{value:PIe}),Object.defineProperty(this,Ym,{writable:!0,value:!1}),Object.defineProperty(this,Km,{writable:!0,value:!1}),Object.defineProperty(this,Xm,{writable:!0,value:!1}),Object.defineProperty(this,Qm,{writable:!0,value:!1}),Object.defineProperty(this,Jm,{writable:!0,value:""}),Object.defineProperty(this,Zm,{writable:!0,value:""}),Object.defineProperty(this,eg,{writable:!0,value:!1}),Object.defineProperty(this,tg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Vr(this,mA)[mA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.email!==void 0&&(this.email=n.email),n.phone!==void 0&&(this.phone=n.phone),n.google!==void 0&&(this.google=n.google),n.facebook!==void 0&&(this.facebook=n.facebook),n.googleOAuthClientKey!==void 0&&(this.googleOAuthClientKey=n.googleOAuthClientKey),n.facebookAppId!==void 0&&(this.facebookAppId=n.facebookAppId),n.enabledRecaptcha2!==void 0&&(this.enabledRecaptcha2=n.enabledRecaptcha2),n.recaptcha2ClientKey!==void 0&&(this.recaptcha2ClientKey=n.recaptcha2ClientKey)}toJSON(){return{email:Vr(this,Ym)[Ym],phone:Vr(this,Km)[Km],google:Vr(this,Xm)[Xm],facebook:Vr(this,Qm)[Qm],googleOAuthClientKey:Vr(this,Jm)[Jm],facebookAppId:Vr(this,Zm)[Zm],enabledRecaptcha2:Vr(this,eg)[eg],recaptcha2ClientKey:Vr(this,tg)[tg]}}toString(){return JSON.stringify(this)}static get Fields(){return{email:"email",phone:"phone",google:"google",facebook:"facebook",googleOAuthClientKey:"googleOAuthClientKey",facebookAppId:"facebookAppId",enabledRecaptcha2:"enabledRecaptcha2",recaptcha2ClientKey:"recaptcha2ClientKey"}}static from(t){return new Yp(t)}static with(t){return new Yp(t)}copyWith(t){return new Yp({...this.toJSON(),...t})}clone(){return new Yp(this.toJSON())}}function PIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const AIe=()=>{var f,g;const e=At(),{locale:t}=sr(),{push:n}=xr(),r=R.useRef(),a=Cne({});_Ie(["redirect_temporary","workspace_type_id"]);const[i,o]=R.useState(void 0),l=i?Object.values(i).filter(Boolean).length:void 0,u=(g=(f=a.data)==null?void 0:f.data)==null?void 0:g.item,d=(y,h=!0)=>{switch(y){case Ms.Email:n(`/${t}/selfservice/email`,void 0,{canGoBack:h});break;case Ms.Phone:n(`/${t}/selfservice/phone`,void 0,{canGoBack:h});break}};return R.useEffect(()=>{if(!u)return;const y={email:u.email,google:u.google,facebook:u.facebook,phone:u.phone,googleOAuthClientKey:u.googleOAuthClientKey,facebookAppId:u.facebookAppId};Object.values(y).filter(Boolean).length===1&&(y.email&&d(Ms.Email,!1),y.phone&&d(Ms.Phone,!1),y.google&&d(Ms.Google,!1),y.facebook&&d(Ms.Facebook,!1)),o(y)},[u]),{t:e,formik:r,onSelect:d,availableOptions:i,passportMethodsQuery:a,isLoadingMethods:a.isLoading,totalAvailableMethods:l}},NIe=()=>{const{onSelect:e,availableOptions:t,totalAvailableMethods:n,isLoadingMethods:r,passportMethodsQuery:a}=AIe(),i=Jd({initialValues:{},onSubmit:()=>{}});return a.isError||a.error?w.jsx("div",{className:"signin-form-container",children:w.jsx(Al,{query:a})}):n===void 0||r?w.jsx("div",{className:"signin-form-container",children:w.jsx(Tne,{})}):n===0?w.jsx("div",{className:"signin-form-container",children:w.jsx(IIe,{})}):w.jsx("div",{className:"signin-form-container",children:t.googleOAuthClientKey?w.jsx(TIe,{clientId:t.googleOAuthClientKey,children:w.jsx(ez,{availableOptions:t,onSelect:e,form:i})}):w.jsx(ez,{availableOptions:t,onSelect:e,form:i})})},ez=({form:e,onSelect:t,availableOptions:n})=>{const{submit:r}=xIe({}),{setSession:a}=R.useContext(nt),{locale:i}=sr(),{replace:o}=xr(),l=(d,f)=>{r({service:f,token:d}).then(g=>{a(g.data.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(g.data));{const y=kr.DEFAULT_ROUTE.replace("{locale}",i||"en");o(y,y)}}).catch(g=>{alert(g)})},u=Kt(xa);return w.jsxs("form",{onSubmit:d=>{d.preventDefault(),e.submitForm()},children:[w.jsx("h1",{children:u.welcomeBack}),w.jsxs("p",{children:[u.welcomeBackDescription," "]}),w.jsxs("div",{role:"group","aria-label":"Login method",className:"flex gap-2 login-option-buttons",children:[n.email?w.jsx("button",{id:"using-email",type:"button",onClick:()=>t(Ms.Email),children:u.emailMethod}):null,n.phone?w.jsx("button",{id:"using-phone",type:"button",onClick:()=>t(Ms.Phone),children:u.phoneMethod}):null,n.facebook?w.jsx(OIe,{facebookAppId:n.facebookAppId,continueWithResult:d=>l(d,"facebook")}):null,n.google?w.jsx(MIe,{continueWithResult:d=>l(d,"google")}):null]})]})},MIe=({continueWithResult:e})=>{const t=Kt(xa),n=kIe({onSuccess:r=>{e(r.access_token)},scope:["https://www.googleapis.com/auth/userinfo.profile"].join(" ")});return w.jsx(w.Fragment,{children:w.jsxs("button",{id:"using-google",type:"button",onClick:()=>n(),children:[w.jsx("img",{className:"button-icon",src:$s("/common/google.png")}),t.google]})})},IIe=()=>{const e=Kt(xa);return w.jsxs(w.Fragment,{children:[w.jsx("h1",{children:e.noAuthenticationMethod}),w.jsx("p",{children:e.noAuthenticationMethodDescription})]})};var DIe=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function p3(){return p3=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function ck(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LIe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h3(e,t)}function h3(e,t){return h3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},h3(e,t)}var x_=(function(e){LIe(t,e);function t(){var r;return r=e.call(this)||this,r.handleExpired=r.handleExpired.bind(ck(r)),r.handleErrored=r.handleErrored.bind(ck(r)),r.handleChange=r.handleChange.bind(ck(r)),r.handleRecaptchaRef=r.handleRecaptchaRef.bind(ck(r)),r}var n=t.prototype;return n.getCaptchaFunction=function(a){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[a]:this.props.grecaptcha[a]:null},n.getValue=function(){var a=this.getCaptchaFunction("getResponse");return a&&this._widgetId!==void 0?a(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},n.execute=function(){var a=this.getCaptchaFunction("execute");if(a&&this._widgetId!==void 0)return a(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var a=this;return new Promise(function(i,o){a.executionResolve=i,a.executionReject=o,a.execute()})},n.reset=function(){var a=this.getCaptchaFunction("reset");a&&this._widgetId!==void 0&&a(this._widgetId)},n.forceReset=function(){var a=this.getCaptchaFunction("reset");a&&a()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(a){this.props.onChange&&this.props.onChange(a),this.executionResolve&&(this.executionResolve(a),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var a=this.getCaptchaFunction("render");if(a&&this._widgetId===void 0){var i=document.createElement("div");this._widgetId=a(i,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(i)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(a){this.captcha=a},n.render=function(){var a=this.props;a.sitekey,a.onChange,a.theme,a.type,a.tabindex,a.onExpired,a.onErrored,a.size,a.stoken,a.grecaptcha,a.badge,a.hl,a.isolated;var i=$Ie(a,DIe);return R.createElement("div",p3({},i,{ref:this.handleRecaptchaRef}))},t})(R.Component);x_.displayName="ReCAPTCHA";x_.propTypes={sitekey:Ye.string.isRequired,onChange:Ye.func,grecaptcha:Ye.object,theme:Ye.oneOf(["dark","light"]),type:Ye.oneOf(["image","audio"]),tabindex:Ye.number,onExpired:Ye.func,onErrored:Ye.func,size:Ye.oneOf(["compact","normal","invisible"]),stoken:Ye.string,hl:Ye.string,badge:Ye.oneOf(["bottomright","bottomleft","inline"]),isolated:Ye.bool};x_.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};function m3(){return m3=Object.assign||function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function jIe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var pu={},UIe=0;function BIe(e,t){return t=t||{},function(r){var a=r.displayName||r.name||"Component",i=(function(l){jIe(u,l);function u(f,g){var y;return y=l.call(this,f,g)||this,y.state={},y.__scriptURL="",y}var d=u.prototype;return d.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+UIe++),this.__scriptLoaderID},d.setupScriptURL=function(){return this.__scriptURL=typeof e=="function"?e():e,this.__scriptURL},d.asyncScriptLoaderHandleLoad=function(g){var y=this;this.setState(g,function(){return y.props.asyncScriptOnLoad&&y.props.asyncScriptOnLoad(y.state)})},d.asyncScriptLoaderTriggerOnScriptLoaded=function(){var g=pu[this.__scriptURL];if(!g||!g.loaded)throw new Error("Script is not loaded.");for(var y in g.observers)g.observers[y](g);delete window[t.callbackName]},d.componentDidMount=function(){var g=this,y=this.setupScriptURL(),h=this.asyncScriptLoaderGetScriptLoaderID(),v=t,E=v.globalName,T=v.callbackName,C=v.scriptId;if(E&&typeof window[E]<"u"&&(pu[y]={loaded:!0,observers:{}}),pu[y]){var k=pu[y];if(k&&(k.loaded||k.errored)){this.asyncScriptLoaderHandleLoad(k);return}k.observers[h]=function(I){return g.asyncScriptLoaderHandleLoad(I)};return}var _={};_[h]=function(I){return g.asyncScriptLoaderHandleLoad(I)},pu[y]={loaded:!1,observers:_};var A=document.createElement("script");A.src=y,A.async=!0;for(var P in t.attributes)A.setAttribute(P,t.attributes[P]);C&&(A.id=C);var N=function(L){if(pu[y]){var j=pu[y],z=j.observers;for(var Q in z)L(z[Q])&&delete z[Q]}};T&&typeof window<"u"&&(window[T]=function(){return g.asyncScriptLoaderTriggerOnScriptLoaded()}),A.onload=function(){var I=pu[y];I&&(I.loaded=!0,N(function(L){return T?!1:(L(I),!0)}))},A.onerror=function(){var I=pu[y];I&&(I.errored=!0,N(function(L){return L(I),!0}))},document.body.appendChild(A)},d.componentWillUnmount=function(){var g=this.__scriptURL;if(t.removeOnUnmount===!0)for(var y=document.getElementsByTagName("script"),h=0;h-1&&y[h].parentNode&&y[h].parentNode.removeChild(y[h]);var v=pu[g];v&&(delete v.observers[this.asyncScriptLoaderGetScriptLoaderID()],t.removeOnUnmount===!0&&delete pu[g])},d.render=function(){var g=t.globalName,y=this.props;y.asyncScriptOnLoad;var h=y.forwardedRef,v=FIe(y,["asyncScriptOnLoad","forwardedRef"]);return g&&typeof window<"u"&&(v[g]=typeof window[g]<"u"?window[g]:void 0),v.ref=h,R.createElement(r,v)},u})(R.Component),o=R.forwardRef(function(l,u){return R.createElement(i,m3({},l,{forwardedRef:u}))});return o.displayName="AsyncScriptLoader("+a+")",o.propTypes={asyncScriptOnLoad:Ye.func},Qde(o,r)}}var g3="onloadcallback",WIe="grecaptcha";function v3(){return typeof window<"u"&&window.recaptchaOptions||{}}function zIe(){var e=v3(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+g3+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+g3+"&render=explicit"}const qIe=BIe(zIe,{callbackName:g3,globalName:WIe,attributes:v3().nonce?{nonce:v3().nonce}:{}})(x_),HIe=({sitekey:e,enabled:t,invisible:n})=>{n=n===void 0?!0:n;const[r,a]=R.useState(),[i,o]=R.useState(!1),l=R.createRef(),u=R.useRef("");return R.useEffect(()=>{var g,y;t&&l.current&&((g=l.current)==null||g.execute(),(y=l.current)==null||y.reset())},[t,l.current]),R.useEffect(()=>{setTimeout(()=>{u.current||o(!0)},2e3)},[]),{value:r,Component:()=>!t||!e?null:w.jsx(w.Fragment,{children:w.jsx(qIe,{sitekey:e,size:n&&!i?"invisible":void 0,ref:l,onChange:g=>{a(g),u.current=g}})}),LegalNotice:()=>!n||!t?null:w.jsxs("div",{className:"mt-5 recaptcha-closure",children:["This site is protected by reCAPTCHA and the Google",w.jsxs("a",{target:"_blank",href:"https://policies.google.com/privacy",children:[" ","Privacy Policy"," "]})," ","and",w.jsxs("a",{target:"_blank",href:"https://policies.google.com/terms",children:[" ","Terms of Service"," "]})," ","apply."]})}};var aE,lS,Dp,$p,Lp,Fp,dk;function wr(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var VIe=0;function Sl(e){return"__private_"+VIe+++"_"+e}const GIe=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),bh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class bh{}aE=bh;bh.URL="/workspace/passport/check";bh.NewUrl=e=>Nl(aE.URL,void 0,e);bh.Method="post";bh.Fetch$=async(e,t,n,r)=>Rl(r??aE.NewUrl(e),{method:aE.Method,...n||{}},t);bh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new bl(o)})=>{t=t||(l=>new bl(l));const o=await aE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};bh.Definition={name:"CheckClassicPassport",cliName:"ccp",url:"/workspace/passport/check",method:"post",description:"Checks if a classic passport (email, phone) exists or not, used in multi step authentication",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"securityToken",description:"This can be the value of ReCaptcha2, ReCaptcha3, or generate security image or voice for verification. Will be used based on the configuration.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"flags",description:"Extra information that can be useful actually when doing onboarding. Make sure sensitive information doesn't go out.",type:"slice",primitive:"string"},{name:"otpInfo",description:"If the endpoint automatically triggers a send otp, then it would be holding that information, Also the otp information can become available.",type:"object?",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}]}};var ng=Sl("value"),rg=Sl("securityToken"),gA=Sl("isJsonAppliable");class lv{get value(){return wr(this,ng)[ng]}set value(t){wr(this,ng)[ng]=String(t)}setValue(t){return this.value=t,this}get securityToken(){return wr(this,rg)[rg]}set securityToken(t){wr(this,rg)[rg]=String(t)}setSecurityToken(t){return this.securityToken=t,this}constructor(t=void 0){if(Object.defineProperty(this,gA,{value:YIe}),Object.defineProperty(this,ng,{writable:!0,value:""}),Object.defineProperty(this,rg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(wr(this,gA)[gA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.securityToken!==void 0&&(this.securityToken=n.securityToken)}toJSON(){return{value:wr(this,ng)[ng],securityToken:wr(this,rg)[rg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",securityToken:"securityToken"}}static from(t){return new lv(t)}static with(t){return new lv(t)}copyWith(t){return new lv({...this.toJSON(),...t})}clone(){return new lv(this.toJSON())}}function YIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var ag=Sl("next"),ig=Sl("flags"),fd=Sl("otpInfo"),vA=Sl("isJsonAppliable");class bl{get next(){return wr(this,ag)[ag]}set next(t){wr(this,ag)[ag]=t}setNext(t){return this.next=t,this}get flags(){return wr(this,ig)[ig]}set flags(t){wr(this,ig)[ig]=t}setFlags(t){return this.flags=t,this}get otpInfo(){return wr(this,fd)[fd]}set otpInfo(t){t instanceof bl.OtpInfo?wr(this,fd)[fd]=t:wr(this,fd)[fd]=new bl.OtpInfo(t)}setOtpInfo(t){return this.otpInfo=t,this}constructor(t=void 0){if(Object.defineProperty(this,vA,{value:KIe}),Object.defineProperty(this,ag,{writable:!0,value:[]}),Object.defineProperty(this,ig,{writable:!0,value:[]}),Object.defineProperty(this,fd,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(wr(this,vA)[vA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.next!==void 0&&(this.next=n.next),n.flags!==void 0&&(this.flags=n.flags),n.otpInfo!==void 0&&(this.otpInfo=n.otpInfo)}toJSON(){return{next:wr(this,ag)[ag],flags:wr(this,ig)[ig],otpInfo:wr(this,fd)[fd]}}toString(){return JSON.stringify(this)}static get Fields(){return{next$:"next",get next(){return"next[:i]"},flags$:"flags",get flags(){return"flags[:i]"},otpInfo$:"otpInfo",get otpInfo(){return ah("otpInfo",bl.OtpInfo.Fields)}}}static from(t){return new bl(t)}static with(t){return new bl(t)}copyWith(t){return new bl({...this.toJSON(),...t})}clone(){return new bl(this.toJSON())}}lS=bl;function KIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}bl.OtpInfo=(Dp=Sl("suspendUntil"),$p=Sl("validUntil"),Lp=Sl("blockedUntil"),Fp=Sl("secondsToUnblock"),dk=Sl("isJsonAppliable"),class{get suspendUntil(){return wr(this,Dp)[Dp]}set suspendUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,Dp)[Dp]=r)}setSuspendUntil(t){return this.suspendUntil=t,this}get validUntil(){return wr(this,$p)[$p]}set validUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,$p)[$p]=r)}setValidUntil(t){return this.validUntil=t,this}get blockedUntil(){return wr(this,Lp)[Lp]}set blockedUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,Lp)[Lp]=r)}setBlockedUntil(t){return this.blockedUntil=t,this}get secondsToUnblock(){return wr(this,Fp)[Fp]}set secondsToUnblock(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(wr(this,Fp)[Fp]=r)}setSecondsToUnblock(t){return this.secondsToUnblock=t,this}constructor(t=void 0){if(Object.defineProperty(this,dk,{value:XIe}),Object.defineProperty(this,Dp,{writable:!0,value:0}),Object.defineProperty(this,$p,{writable:!0,value:0}),Object.defineProperty(this,Lp,{writable:!0,value:0}),Object.defineProperty(this,Fp,{writable:!0,value:0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(wr(this,dk)[dk](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:wr(this,Dp)[Dp],validUntil:wr(this,$p)[$p],blockedUntil:wr(this,Lp)[Lp],secondsToUnblock:wr(this,Fp)[Fp]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(t){return new lS.OtpInfo(t)}static with(t){return new lS.OtpInfo(t)}copyWith(t){return new lS.OtpInfo({...this.toJSON(),...t})}clone(){return new lS.OtpInfo(this.toJSON())}});function XIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const QIe=({method:e})=>{var k,_,A;const t=Kt(xa),{goBack:n,push:r,state:a}=xr(),{locale:i}=sr(),o=GIe(),l=(a==null?void 0:a.canGoBack)!==!1;let u=!1,d="";const{data:f}=Cne({});f instanceof Ws&&f.data.item instanceof Yp&&(u=(k=f==null?void 0:f.data)==null?void 0:k.item.enabledRecaptcha2,d=(A=(_=f==null?void 0:f.data)==null?void 0:_.item)==null?void 0:A.recaptcha2ClientKey);const g=P=>{o.mutateAsync(new lv(P)).then(N=>{var j;const{next:I,flags:L}=(j=N==null?void 0:N.data)==null?void 0:j.item;I.includes("otp")&&I.length===1?r(`/${i}/selfservice/otp`,void 0,{value:P.value,type:e}):I.includes("signin-with-password")?r(`/${i}/selfservice/password`,void 0,{value:P.value,next:I,canContinueOnOtp:I==null?void 0:I.includes("otp"),flags:L}):I.includes("create-with-password")&&r(`/${i}/selfservice/complete`,void 0,{value:P.value,type:e,next:I,flags:L})}).catch(N=>{y==null||y.setErrors(f0(N))})},y=Jd({initialValues:{},onSubmit:g});let h=t.continueWithEmail,v=t.continueWithEmailDescription;e==="phone"&&(h=t.continueWithPhone,v=t.continueWithPhoneDescription);const{Component:E,LegalNotice:T,value:C}=HIe({enabled:u,sitekey:d});return R.useEffect(()=>{!u||!C||y.setFieldValue(lv.Fields.securityToken,C)},[C]),{title:h,mutation:o,canGoBack:l,form:y,enabledRecaptcha2:u,recaptcha2ClientKey:d,description:v,Recaptcha:E,LegalNotice:T,s:t,submit:g,goBack:n}};var iE;function Or(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var JIe=0;function Ru(e){return"__private_"+JIe+++"_"+e}const kne=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),wh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class wh{}iE=wh;wh.URL="/passports/signin/classic";wh.NewUrl=e=>Nl(iE.URL,void 0,e);wh.Method="post";wh.Fetch$=async(e,t,n,r)=>Rl(r??iE.NewUrl(e),{method:iE.Method,...n||{}},t);wh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new uv(o)})=>{t=t||(l=>new uv(l));const o=await iE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};wh.Definition={name:"ClassicSignin",cliName:"in",url:"/passports/signin/classic",method:"post",description:"Signin publicly to and account using class passports (email, password)",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"totpCode",description:"Accepts login with totp code. If enabled, first login would return a success response with next[enter-totp] value and ui can understand that user needs to be navigated into the screen other screen.",type:"string"},{name:"sessionSecret",description:"Session secret when logging in to the application requires more steps to complete.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"session",type:"one",target:"UserSessionDto"},{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"totpUrl",description:"In case the account doesn't have totp, but enforced by installation, this value will contain the link",type:"string"},{name:"sessionSecret",description:"Returns a secret session if the authentication requires more steps.",type:"string"}]}};var og=Ru("value"),sg=Ru("password"),lg=Ru("totpCode"),ug=Ru("sessionSecret"),yA=Ru("isJsonAppliable");class wu{get value(){return Or(this,og)[og]}set value(t){Or(this,og)[og]=String(t)}setValue(t){return this.value=t,this}get password(){return Or(this,sg)[sg]}set password(t){Or(this,sg)[sg]=String(t)}setPassword(t){return this.password=t,this}get totpCode(){return Or(this,lg)[lg]}set totpCode(t){Or(this,lg)[lg]=String(t)}setTotpCode(t){return this.totpCode=t,this}get sessionSecret(){return Or(this,ug)[ug]}set sessionSecret(t){Or(this,ug)[ug]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}constructor(t=void 0){if(Object.defineProperty(this,yA,{value:ZIe}),Object.defineProperty(this,og,{writable:!0,value:""}),Object.defineProperty(this,sg,{writable:!0,value:""}),Object.defineProperty(this,lg,{writable:!0,value:""}),Object.defineProperty(this,ug,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Or(this,yA)[yA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.password!==void 0&&(this.password=n.password),n.totpCode!==void 0&&(this.totpCode=n.totpCode),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret)}toJSON(){return{value:Or(this,og)[og],password:Or(this,sg)[sg],totpCode:Or(this,lg)[lg],sessionSecret:Or(this,ug)[ug]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",password:"password",totpCode:"totpCode",sessionSecret:"sessionSecret"}}static from(t){return new wu(t)}static with(t){return new wu(t)}copyWith(t){return new wu({...this.toJSON(),...t})}clone(){return new wu(this.toJSON())}}function ZIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var pd=Ru("session"),cg=Ru("next"),dg=Ru("totpUrl"),fg=Ru("sessionSecret"),bA=Ru("isJsonAppliable"),x1=Ru("lateInitFields");class uv{get session(){return Or(this,pd)[pd]}set session(t){t instanceof Ta?Or(this,pd)[pd]=t:Or(this,pd)[pd]=new Ta(t)}setSession(t){return this.session=t,this}get next(){return Or(this,cg)[cg]}set next(t){Or(this,cg)[cg]=t}setNext(t){return this.next=t,this}get totpUrl(){return Or(this,dg)[dg]}set totpUrl(t){Or(this,dg)[dg]=String(t)}setTotpUrl(t){return this.totpUrl=t,this}get sessionSecret(){return Or(this,fg)[fg]}set sessionSecret(t){Or(this,fg)[fg]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}constructor(t=void 0){if(Object.defineProperty(this,x1,{value:tDe}),Object.defineProperty(this,bA,{value:eDe}),Object.defineProperty(this,pd,{writable:!0,value:void 0}),Object.defineProperty(this,cg,{writable:!0,value:[]}),Object.defineProperty(this,dg,{writable:!0,value:""}),Object.defineProperty(this,fg,{writable:!0,value:""}),t==null){Or(this,x1)[x1]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Or(this,bA)[bA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),n.next!==void 0&&(this.next=n.next),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),Or(this,x1)[x1](t)}toJSON(){return{session:Or(this,pd)[pd],next:Or(this,cg)[cg],totpUrl:Or(this,dg)[dg],sessionSecret:Or(this,fg)[fg]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return ah("session",Ta.Fields)},next$:"next",get next(){return"next[:i]"},totpUrl:"totpUrl",sessionSecret:"sessionSecret"}}static from(t){return new uv(t)}static with(t){return new uv(t)}copyWith(t){return new uv({...this.toJSON(),...t})}clone(){return new uv(this.toJSON())}}function eDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function tDe(e={}){const t=e;t.session instanceof Ta||(this.session=new Ta(t.session||{}))}const tz=({method:e})=>{const{description:t,title:n,goBack:r,mutation:a,form:i,canGoBack:o,LegalNotice:l,Recaptcha:u,s:d}=QIe({method:e});return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:n}),w.jsx("p",{children:t}),w.jsx(Al,{query:a}),w.jsx(rDe,{form:i,method:e,mutation:a}),w.jsx(u,{}),o?w.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:r,children:d.chooseAnotherMethod}):null,w.jsx(l,{})]})},nDe=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),rDe=({form:e,mutation:t,method:n})=>{var o,l,u;let r="email";n===Ms.Phone&&(r="phonenumber");let a=!((o=e==null?void 0:e.values)!=null&&o.value);Ms.Email===n&&(a=!nDe((l=e==null?void 0:e.values)==null?void 0:l.value));const i=Kt(xa);return w.jsxs("form",{onSubmit:d=>{d.preventDefault(),e.submitForm()},children:[w.jsx(In,{autoFocus:!0,type:r,id:"value-input",dir:"ltr",value:(u=e==null?void 0:e.values)==null?void 0:u.value,errorMessage:e==null?void 0:e.errors.value,onChange:d=>e.setFieldValue(wu.Fields.value,d,!1)}),w.jsx(Us,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:a,children:i.continue})]})};var aDe=Object.defineProperty,Ax=Object.getOwnPropertySymbols,xne=Object.prototype.hasOwnProperty,_ne=Object.prototype.propertyIsEnumerable,nz=(e,t,n)=>t in e?aDe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y3=(e,t)=>{for(var n in t||(t={}))xne.call(t,n)&&nz(e,n,t[n]);if(Ax)for(var n of Ax(t))_ne.call(t,n)&&nz(e,n,t[n]);return e},b3=(e,t)=>{var n={};for(var r in e)xne.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ax)for(var r of Ax(e))t.indexOf(r)<0&&_ne.call(e,r)&&(n[r]=e[r]);return n};/** * @license QR Code generator library (TypeScript) * Copyright (c) Project Nayuki. * SPDX-License-Identifier: MIT - */var nv;(e=>{const t=class Vn{constructor(u,d,f,g){if(this.version=u,this.errorCorrectionLevel=d,this.modules=[],this.isFunction=[],uVn.MAX_VERSION)throw new RangeError("Version value out of range");if(g<-1||g>7)throw new RangeError("Mask value out of range");this.size=u*4+17;let y=[];for(let v=0;v7)throw new RangeError("Invalid value");let v,E;for(v=f;;v++){const _=Vn.getNumDataCodewords(v,d)*8,A=o.getTotalBits(u,v);if(A<=_){E=A;break}if(v>=g)throw new RangeError("Data too long")}for(const _ of[Vn.Ecc.MEDIUM,Vn.Ecc.QUARTILE,Vn.Ecc.HIGH])p&&E<=Vn.getNumDataCodewords(v,_)*8&&(d=_);let T=[];for(const _ of u){n(_.mode.modeBits,4,T),n(_.numChars,_.mode.numCharCountBits(v),T);for(const A of _.getData())T.push(A)}a(T.length==E);const C=Vn.getNumDataCodewords(v,d)*8;a(T.length<=C),n(0,Math.min(4,C-T.length),T),n(0,(8-T.length%8)%8,T),a(T.length%8==0);for(let _=236;T.lengthk[A>>>3]|=_<<7-(A&7)),new Vn(v,d,k,y)}getModule(u,d){return 0<=u&&u>>9)*1335;const g=(d<<10|f)^21522;a(g>>>15==0);for(let y=0;y<=5;y++)this.setFunctionModule(8,y,r(g,y));this.setFunctionModule(8,7,r(g,6)),this.setFunctionModule(8,8,r(g,7)),this.setFunctionModule(7,8,r(g,8));for(let y=9;y<15;y++)this.setFunctionModule(14-y,8,r(g,y));for(let y=0;y<8;y++)this.setFunctionModule(this.size-1-y,8,r(g,y));for(let y=8;y<15;y++)this.setFunctionModule(8,this.size-15+y,r(g,y));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let u=this.version;for(let f=0;f<12;f++)u=u<<1^(u>>>11)*7973;const d=this.version<<12|u;a(d>>>18==0);for(let f=0;f<18;f++){const g=r(d,f),y=this.size-11+f%3,p=Math.floor(f/3);this.setFunctionModule(y,p,g),this.setFunctionModule(p,y,g)}}drawFinderPattern(u,d){for(let f=-4;f<=4;f++)for(let g=-4;g<=4;g++){const y=Math.max(Math.abs(g),Math.abs(f)),p=u+g,v=d+f;0<=p&&p{(_!=E-y||P>=v)&&k.push(A[_])});return a(k.length==p),k}drawCodewords(u){if(u.length!=Math.floor(Vn.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let d=0;for(let f=this.size-1;f>=1;f-=2){f==6&&(f=5);for(let g=0;g>>3],7-(d&7)),d++)}}a(d==u.length*8)}applyMask(u){if(u<0||u>7)throw new RangeError("Mask value out of range");for(let d=0;d5&&u++):(this.finderPenaltyAddHistory(v,E),p||(u+=this.finderPenaltyCountPatterns(E)*Vn.PENALTY_N3),p=this.modules[y][T],v=1);u+=this.finderPenaltyTerminateAndCount(p,v,E)*Vn.PENALTY_N3}for(let y=0;y5&&u++):(this.finderPenaltyAddHistory(v,E),p||(u+=this.finderPenaltyCountPatterns(E)*Vn.PENALTY_N3),p=this.modules[T][y],v=1);u+=this.finderPenaltyTerminateAndCount(p,v,E)*Vn.PENALTY_N3}for(let y=0;yp+(v?1:0),d);const f=this.size*this.size,g=Math.ceil(Math.abs(d*20-f*10)/f)-1;return a(0<=g&&g<=9),u+=g*Vn.PENALTY_N4,a(0<=u&&u<=2568888),u}getAlignmentPatternPositions(){if(this.version==1)return[];{const u=Math.floor(this.version/7)+2,d=this.version==32?26:Math.ceil((this.version*4+4)/(u*2-2))*2;let f=[6];for(let g=this.size-7;f.lengthVn.MAX_VERSION)throw new RangeError("Version number out of range");let d=(16*u+128)*u+64;if(u>=2){const f=Math.floor(u/7)+2;d-=(25*f-10)*f-55,u>=7&&(d-=36)}return a(208<=d&&d<=29648),d}static getNumDataCodewords(u,d){return Math.floor(Vn.getNumRawDataModules(u)/8)-Vn.ECC_CODEWORDS_PER_BLOCK[d.ordinal][u]*Vn.NUM_ERROR_CORRECTION_BLOCKS[d.ordinal][u]}static reedSolomonComputeDivisor(u){if(u<1||u>255)throw new RangeError("Degree out of range");let d=[];for(let g=0;g0);for(const g of u){const y=g^f.shift();f.push(0),d.forEach((p,v)=>f[v]^=Vn.reedSolomonMultiply(p,y))}return f}static reedSolomonMultiply(u,d){if(u>>>8||d>>>8)throw new RangeError("Byte out of range");let f=0;for(let g=7;g>=0;g--)f=f<<1^(f>>>7)*285,f^=(d>>>g&1)*u;return a(f>>>8==0),f}finderPenaltyCountPatterns(u){const d=u[1];a(d<=this.size*3);const f=d>0&&u[2]==d&&u[3]==d*3&&u[4]==d&&u[5]==d;return(f&&u[0]>=d*4&&u[6]>=d?1:0)+(f&&u[6]>=d*4&&u[0]>=d?1:0)}finderPenaltyTerminateAndCount(u,d,f){return u&&(this.finderPenaltyAddHistory(d,f),d=0),d+=this.size,this.finderPenaltyAddHistory(d,f),this.finderPenaltyCountPatterns(f)}finderPenaltyAddHistory(u,d){d[0]==0&&(u+=this.size),d.pop(),d.unshift(u)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(l,u,d){if(u<0||u>31||l>>>u)throw new RangeError("Value out of range");for(let f=u-1;f>=0;f--)d.push(l>>>f&1)}function r(l,u){return(l>>>u&1)!=0}function a(l){if(!l)throw new Error("Assertion error")}const i=class ba{constructor(u,d,f){if(this.mode=u,this.numChars=d,this.bitData=f,d<0)throw new RangeError("Invalid argument");this.bitData=f.slice()}static makeBytes(u){let d=[];for(const f of u)n(f,8,d);return new ba(ba.Mode.BYTE,u.length,d)}static makeNumeric(u){if(!ba.isNumeric(u))throw new RangeError("String contains non-numeric characters");let d=[];for(let f=0;f=1<{(t=>{const n=class{constructor(a,i){this.ordinal=a,this.formatBits=i}};n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(nv||(nv={}));(e=>{(t=>{const n=class{constructor(a,i){this.modeBits=a,this.numBitsCharCount=i}numCharCountBits(a){return this.numBitsCharCount[Math.floor((a+7)/17)]}};n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(nv||(nv={}));var ab=nv;/** + */var Rv;(e=>{const t=class Vn{constructor(u,d,f,g){if(this.version=u,this.errorCorrectionLevel=d,this.modules=[],this.isFunction=[],uVn.MAX_VERSION)throw new RangeError("Version value out of range");if(g<-1||g>7)throw new RangeError("Mask value out of range");this.size=u*4+17;let y=[];for(let v=0;v7)throw new RangeError("Invalid value");let v,E;for(v=f;;v++){const _=Vn.getNumDataCodewords(v,d)*8,A=o.getTotalBits(u,v);if(A<=_){E=A;break}if(v>=g)throw new RangeError("Data too long")}for(const _ of[Vn.Ecc.MEDIUM,Vn.Ecc.QUARTILE,Vn.Ecc.HIGH])h&&E<=Vn.getNumDataCodewords(v,_)*8&&(d=_);let T=[];for(const _ of u){n(_.mode.modeBits,4,T),n(_.numChars,_.mode.numCharCountBits(v),T);for(const A of _.getData())T.push(A)}a(T.length==E);const C=Vn.getNumDataCodewords(v,d)*8;a(T.length<=C),n(0,Math.min(4,C-T.length),T),n(0,(8-T.length%8)%8,T),a(T.length%8==0);for(let _=236;T.lengthk[A>>>3]|=_<<7-(A&7)),new Vn(v,d,k,y)}getModule(u,d){return 0<=u&&u>>9)*1335;const g=(d<<10|f)^21522;a(g>>>15==0);for(let y=0;y<=5;y++)this.setFunctionModule(8,y,r(g,y));this.setFunctionModule(8,7,r(g,6)),this.setFunctionModule(8,8,r(g,7)),this.setFunctionModule(7,8,r(g,8));for(let y=9;y<15;y++)this.setFunctionModule(14-y,8,r(g,y));for(let y=0;y<8;y++)this.setFunctionModule(this.size-1-y,8,r(g,y));for(let y=8;y<15;y++)this.setFunctionModule(8,this.size-15+y,r(g,y));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let u=this.version;for(let f=0;f<12;f++)u=u<<1^(u>>>11)*7973;const d=this.version<<12|u;a(d>>>18==0);for(let f=0;f<18;f++){const g=r(d,f),y=this.size-11+f%3,h=Math.floor(f/3);this.setFunctionModule(y,h,g),this.setFunctionModule(h,y,g)}}drawFinderPattern(u,d){for(let f=-4;f<=4;f++)for(let g=-4;g<=4;g++){const y=Math.max(Math.abs(g),Math.abs(f)),h=u+g,v=d+f;0<=h&&h{(_!=E-y||P>=v)&&k.push(A[_])});return a(k.length==h),k}drawCodewords(u){if(u.length!=Math.floor(Vn.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let d=0;for(let f=this.size-1;f>=1;f-=2){f==6&&(f=5);for(let g=0;g>>3],7-(d&7)),d++)}}a(d==u.length*8)}applyMask(u){if(u<0||u>7)throw new RangeError("Mask value out of range");for(let d=0;d5&&u++):(this.finderPenaltyAddHistory(v,E),h||(u+=this.finderPenaltyCountPatterns(E)*Vn.PENALTY_N3),h=this.modules[y][T],v=1);u+=this.finderPenaltyTerminateAndCount(h,v,E)*Vn.PENALTY_N3}for(let y=0;y5&&u++):(this.finderPenaltyAddHistory(v,E),h||(u+=this.finderPenaltyCountPatterns(E)*Vn.PENALTY_N3),h=this.modules[T][y],v=1);u+=this.finderPenaltyTerminateAndCount(h,v,E)*Vn.PENALTY_N3}for(let y=0;yh+(v?1:0),d);const f=this.size*this.size,g=Math.ceil(Math.abs(d*20-f*10)/f)-1;return a(0<=g&&g<=9),u+=g*Vn.PENALTY_N4,a(0<=u&&u<=2568888),u}getAlignmentPatternPositions(){if(this.version==1)return[];{const u=Math.floor(this.version/7)+2,d=this.version==32?26:Math.ceil((this.version*4+4)/(u*2-2))*2;let f=[6];for(let g=this.size-7;f.lengthVn.MAX_VERSION)throw new RangeError("Version number out of range");let d=(16*u+128)*u+64;if(u>=2){const f=Math.floor(u/7)+2;d-=(25*f-10)*f-55,u>=7&&(d-=36)}return a(208<=d&&d<=29648),d}static getNumDataCodewords(u,d){return Math.floor(Vn.getNumRawDataModules(u)/8)-Vn.ECC_CODEWORDS_PER_BLOCK[d.ordinal][u]*Vn.NUM_ERROR_CORRECTION_BLOCKS[d.ordinal][u]}static reedSolomonComputeDivisor(u){if(u<1||u>255)throw new RangeError("Degree out of range");let d=[];for(let g=0;g0);for(const g of u){const y=g^f.shift();f.push(0),d.forEach((h,v)=>f[v]^=Vn.reedSolomonMultiply(h,y))}return f}static reedSolomonMultiply(u,d){if(u>>>8||d>>>8)throw new RangeError("Byte out of range");let f=0;for(let g=7;g>=0;g--)f=f<<1^(f>>>7)*285,f^=(d>>>g&1)*u;return a(f>>>8==0),f}finderPenaltyCountPatterns(u){const d=u[1];a(d<=this.size*3);const f=d>0&&u[2]==d&&u[3]==d*3&&u[4]==d&&u[5]==d;return(f&&u[0]>=d*4&&u[6]>=d?1:0)+(f&&u[6]>=d*4&&u[0]>=d?1:0)}finderPenaltyTerminateAndCount(u,d,f){return u&&(this.finderPenaltyAddHistory(d,f),d=0),d+=this.size,this.finderPenaltyAddHistory(d,f),this.finderPenaltyCountPatterns(f)}finderPenaltyAddHistory(u,d){d[0]==0&&(u+=this.size),d.pop(),d.unshift(u)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(l,u,d){if(u<0||u>31||l>>>u)throw new RangeError("Value out of range");for(let f=u-1;f>=0;f--)d.push(l>>>f&1)}function r(l,u){return(l>>>u&1)!=0}function a(l){if(!l)throw new Error("Assertion error")}const i=class ba{constructor(u,d,f){if(this.mode=u,this.numChars=d,this.bitData=f,d<0)throw new RangeError("Invalid argument");this.bitData=f.slice()}static makeBytes(u){let d=[];for(const f of u)n(f,8,d);return new ba(ba.Mode.BYTE,u.length,d)}static makeNumeric(u){if(!ba.isNumeric(u))throw new RangeError("String contains non-numeric characters");let d=[];for(let f=0;f=1<{(t=>{const n=class{constructor(a,i){this.ordinal=a,this.formatBits=i}};n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(Rv||(Rv={}));(e=>{(t=>{const n=class{constructor(a,i){this.modeBits=a,this.numBitsCharCount=i}numCharCountBits(a){return this.numBitsCharCount[Math.floor((a+7)/17)]}};n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(Rv||(Rv={}));var Nb=Rv;/** * @license qrcode.react * Copyright (c) Paul O'Shannessy * SPDX-License-Identifier: ISC - */var pIe={L:ab.QrCode.Ecc.LOW,M:ab.QrCode.Ecc.MEDIUM,Q:ab.QrCode.Ecc.QUARTILE,H:ab.QrCode.Ecc.HIGH},zte=128,qte="L",Hte="#FFFFFF",Vte="#000000",Gte=!1,Yte=1,mIe=4,hIe=0,gIe=.1;function Kte(e,t=0){const n=[];return e.forEach(function(r,a){let i=null;r.forEach(function(o,l){if(!o&&i!==null){n.push(`M${i+t} ${a+t}h${l-i}v1H${i+t}z`),i=null;return}if(l===r.length-1){if(!o)return;i===null?n.push(`M${l+t},${a+t} h1v1H${l+t}z`):n.push(`M${i+t},${a+t} h${l+1-i}v1H${i+t}z`);return}o&&i===null&&(i=l)})}),n.join("")}function Xte(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((a,i)=>i=t.x+t.w?a:!1))}function vIe(e,t,n,r){if(r==null)return null;const a=e.length+n*2,i=Math.floor(t*gIe),o=a/t,l=(r.width||i)*o,u=(r.height||i)*o,d=r.x==null?e.length/2-l/2:r.x*o,f=r.y==null?e.length/2-u/2:r.y*o,g=r.opacity==null?1:r.opacity;let y=null;if(r.excavate){let v=Math.floor(d),E=Math.floor(f),T=Math.ceil(l+d-v),C=Math.ceil(u+f-E);y={x:v,y:E,w:T,h:C}}const p=r.crossOrigin;return{x:d,y:f,h:u,w:l,excavation:y,opacity:g,crossOrigin:p}}function yIe(e,t){return t!=null?Math.max(Math.floor(t),0):e?mIe:hIe}function Qte({value:e,level:t,minVersion:n,includeMargin:r,marginSize:a,imageSettings:i,size:o,boostLevel:l}){let u=ze.useMemo(()=>{const v=(Array.isArray(e)?e:[e]).reduce((E,T)=>(E.push(...ab.QrSegment.makeSegments(T)),E),[]);return ab.QrCode.encodeSegments(v,pIe[t],n,void 0,void 0,l)},[e,t,n,l]);const{cells:d,margin:f,numCells:g,calculatedImageSettings:y}=ze.useMemo(()=>{let p=u.getModules();const v=yIe(r,a),E=p.length+v*2,T=vIe(p,o,v,i);return{cells:p,margin:v,numCells:E,calculatedImageSettings:T}},[u,o,i,r,a]);return{qrcode:u,margin:f,cells:d,numCells:g,calculatedImageSettings:y}}var bIe=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),wIe=ze.forwardRef(function(t,n){const r=t,{value:a,size:i=zte,level:o=qte,bgColor:l=Hte,fgColor:u=Vte,includeMargin:d=Gte,minVersion:f=Yte,boostLevel:g,marginSize:y,imageSettings:p}=r,E=AL(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:T}=E,C=AL(E,["style"]),k=p==null?void 0:p.src,_=ze.useRef(null),A=ze.useRef(null),P=ze.useCallback(ge=>{_.current=ge,typeof n=="function"?n(ge):n&&(n.current=ge)},[n]),[N,I]=ze.useState(!1),{margin:L,cells:j,numCells:z,calculatedImageSettings:Q}=Qte({value:a,level:o,minVersion:f,boostLevel:g,includeMargin:d,marginSize:y,imageSettings:p,size:i});ze.useEffect(()=>{if(_.current!=null){const ge=_.current,he=ge.getContext("2d");if(!he)return;let W=j;const G=A.current,q=Q!=null&&G!==null&&G.complete&&G.naturalHeight!==0&&G.naturalWidth!==0;q&&Q.excavation!=null&&(W=Xte(j,Q.excavation));const ce=window.devicePixelRatio||1;ge.height=ge.width=i*ce;const H=i/z*ce;he.scale(H,H),he.fillStyle=l,he.fillRect(0,0,z,z),he.fillStyle=u,bIe?he.fill(new Path2D(Kte(W,L))):j.forEach(function(Y,ie){Y.forEach(function(Z,ee){Z&&he.fillRect(ee+L,ie+L,1,1)})}),Q&&(he.globalAlpha=Q.opacity),q&&he.drawImage(G,Q.x+L,Q.y+L,Q.w,Q.h)}}),ze.useEffect(()=>{I(!1)},[k]);const le=PL({height:i,width:i},T);let re=null;return k!=null&&(re=ze.createElement("img",{src:k,key:k,style:{display:"none"},onLoad:()=>{I(!0)},ref:A,crossOrigin:Q==null?void 0:Q.crossOrigin})),ze.createElement(ze.Fragment,null,ze.createElement("canvas",PL({style:le,height:i,width:i,ref:P,role:"img"},C)),re)});wIe.displayName="QRCodeCanvas";var Zte=ze.forwardRef(function(t,n){const r=t,{value:a,size:i=zte,level:o=qte,bgColor:l=Hte,fgColor:u=Vte,includeMargin:d=Gte,minVersion:f=Yte,boostLevel:g,title:y,marginSize:p,imageSettings:v}=r,E=AL(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:T,cells:C,numCells:k,calculatedImageSettings:_}=Qte({value:a,level:o,minVersion:f,boostLevel:g,includeMargin:d,marginSize:p,imageSettings:v,size:i});let A=C,P=null;v!=null&&_!=null&&(_.excavation!=null&&(A=Xte(C,_.excavation)),P=ze.createElement("image",{href:v.src,height:_.h,width:_.w,x:_.x+T,y:_.y+T,preserveAspectRatio:"none",opacity:_.opacity,crossOrigin:_.crossOrigin}));const N=Kte(A,T);return ze.createElement("svg",PL({height:i,width:i,viewBox:`0 0 ${k} ${k}`,ref:n,role:"img"},E),!!y&&ze.createElement("title",null,y),ze.createElement("path",{fill:l,d:`M0,0 h${k}v${k}H0z`,shapeRendering:"crispEdges"}),ze.createElement("path",{fill:u,d:N,shapeRendering:"crispEdges"}),P)});Zte.displayName="QRCodeSVG";const Zw={backspace:8,left:37,up:38,right:39,down:40};class iE extends R.Component{constructor(t){super(t),this.__clearvalues__=()=>{const{fields:o}=this.props;this.setState({values:Array(o).fill("")}),this.iRefs[0].current.focus()},this.triggerChange=(o=this.state.values)=>{const{onChange:l,onComplete:u,fields:d}=this.props,f=o.join("");l&&l(f),u&&f.length>=d&&u(f)},this.onChange=o=>{const l=parseInt(o.target.dataset.id);if(this.props.type==="number"&&(o.target.value=o.target.value.replace(/[^\d]/gi,"")),o.target.value===""||this.props.type==="number"&&!o.target.validity.valid)return;const{fields:u}=this.props;let d;const f=o.target.value;let{values:g}=this.state;if(g=Object.assign([],g),f.length>1){let y=f.length+l-1;y>=u&&(y=u-1),d=this.iRefs[y],f.split("").forEach((v,E)=>{const T=l+E;T{const l=parseInt(o.target.dataset.id),u=l-1,d=l+1,f=this.iRefs[u],g=this.iRefs[d];switch(o.keyCode){case Zw.backspace:o.preventDefault();const y=[...this.state.values];this.state.values[l]?(y[l]="",this.setState({values:y}),this.triggerChange(y)):f&&(y[u]="",f.current.focus(),this.setState({values:y}),this.triggerChange(y));break;case Zw.left:o.preventDefault(),f&&f.current.focus();break;case Zw.right:o.preventDefault(),g&&g.current.focus();break;case Zw.up:case Zw.down:o.preventDefault();break}},this.onFocus=o=>{o.target.select(o)};const{fields:n,values:r}=t;let a,i=0;if(r&&r.length){a=[];for(let o=0;o=n?0:r.length}else a=Array(n).fill("");this.state={values:a,autoFocusIndex:i},this.iRefs=[];for(let o=0;ow.jsx("input",{type:f==="number"?"tel":f,pattern:f==="number"?"[0-9]*":null,autoFocus:u&&E===n,style:g,"data-id":E,value:v,id:this.props.id?`${this.props.id}-${E}`:null,ref:this.iRefs[E],onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,disabled:this.props.disabled,required:this.props.required,placeholder:this.props.placeholder[E]},`${this.id}-${E}`))}),r&&w.jsxs("div",{className:"rc-loading",style:p,children:[w.jsx("div",{className:"rc-blur"}),w.jsx("svg",{className:"rc-spin",viewBox:"0 0 1024 1024","data-icon":"loading",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:w.jsx("path",{fill:"#006fff",d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"})})]})]})}}iE.propTypes={type:Ye.oneOf(["text","number"]),onChange:Ye.func,onComplete:Ye.func,fields:Ye.number,loading:Ye.bool,title:Ye.string,fieldWidth:Ye.number,id:Ye.string,fieldHeight:Ye.number,autoFocus:Ye.bool,className:Ye.string,values:Ye.arrayOf(Ye.string),disabled:Ye.bool,required:Ye.bool,placeholder:Ye.arrayOf(Ye.string)};iE.defaultProps={type:"number",fields:6,fieldWidth:58,fieldHeight:54,autoFocus:!0,disabled:!1,required:!1,placeholder:[]};function SIe(e){let{queryClient:t,query:n,execFnOverride:r}={};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/passport/totp/confirm".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.ConfirmClassicPassportTotpActionResDto",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const EIe=()=>{const{goBack:e,state:t}=xr(),{submit:n,mutation:r}=SIe(),{onComplete:a}=aE(),i=t==null?void 0:t.totpUrl,o=t==null?void 0:t.forcedTotp,l=t==null?void 0:t.password,u=t==null?void 0:t.value,d=y=>{n({...y,password:l,value:u}).then(g).catch(p=>{f==null||f.setErrors(Lb(p))})},f=Cc({initialValues:{},onSubmit:d}),g=y=>{var p;(p=y.data)!=null&&p.session&&a(y)};return{mutation:r,totpUrl:i,forcedTotp:o,form:f,submit:d,goBack:e}},TIe=({})=>{const{goBack:e,mutation:t,form:n,totpUrl:r,forcedTotp:a}=EIe(),i=Kt(xa);return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:i.setupTotp}),w.jsx("p",{children:i.setupTotpDescription}),w.jsx(xl,{query:t}),w.jsx(CIe,{form:n,totpUrl:r,mutation:t,forcedTotp:a}),w.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:e,children:"Try another account"})]})},CIe=({form:e,mutation:t,forcedTotp:n,totpUrl:r})=>{var o;const a=Kt(xa),i=!e.values.totpCode||e.values.totpCode.length!=6;return w.jsxs("form",{onSubmit:l=>{l.preventDefault(),e.submitForm()},children:[w.jsx("center",{children:w.jsx(Zte,{value:r,width:200,height:200})}),w.jsx(iE,{values:(o=e.values.totpCode)==null?void 0:o.split(""),onChange:l=>e.setFieldValue(h3.Fields.totpCode,l,!1),className:"otp-react-code-input"}),w.jsx(Fs,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:i,children:a.continue}),n!==!0&&w.jsxs(w.Fragment,{children:[w.jsx("p",{className:"mt-4",children:a.skipTotpInfo}),w.jsx("button",{className:"btn btn-warning w-100 d-block mb-2",children:a.skipTotpButton})]})]})},kIe=()=>{const{goBack:e,state:t,replace:n,push:r}=xr(),a=Ute(),{onComplete:i}=aE(),o=t==null?void 0:t.totpUrl,l=t==null?void 0:t.forcedTotp,u=t==null?void 0:t.password,d=t==null?void 0:t.value,f=p=>{a.mutateAsync(new fu({...p,password:u,value:d})).then(y).catch(v=>{g==null||g.setErrors(Lb(v))})},g=Cc({initialValues:{},onSubmit:(p,v)=>{a.mutateAsync(new fu(p))}}),y=p=>{var v,E;(E=(v=p.data)==null?void 0:v.item)!=null&&E.session&&i(p)};return{mutation:a,totpUrl:o,forcedTotp:l,form:g,submit:f,goBack:e}},xIe=({})=>{const{goBack:e,mutation:t,form:n}=kIe(),r=Kt(xa);return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:r.enterTotp}),w.jsx("p",{children:r.enterTotpDescription}),w.jsx(xl,{query:t}),w.jsx(_Ie,{form:n,mutation:t}),w.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:e,children:r.anotherAccount})]})},_Ie=({form:e,mutation:t})=>{var a;const n=!e.values.totpCode||e.values.totpCode.length!=6,r=Kt(xa);return w.jsxs("form",{onSubmit:i=>{i.preventDefault(),e.submitForm()},children:[w.jsx(iE,{values:(a=e.values.totpCode)==null?void 0:a.split(""),onChange:i=>e.setFieldValue(h3.Fields.totpCode,i,!1),className:"otp-react-code-input"}),w.jsx(Fs,{className:"btn btn-success w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:n,children:r.continue})]})};var OS;function kn(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var OIe=0;function io(e){return"__private_"+OIe+++"_"+e}const RIe=e=>{const n=um()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),fm.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class fm{}OS=fm;fm.URL="/passports/signup/classic";fm.NewUrl=e=>lm(OS.URL,void 0,e);fm.Method="post";fm.Fetch$=async(e,t,n,r)=>nm(r??OS.NewUrl(e),{method:OS.Method,...n||{}},t);fm.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new Fg(o)})=>{t=t||(l=>new Fg(l));const o=await OS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};fm.Definition={name:"ClassicSignup",cliName:"up",url:"/passports/signup/classic",method:"post",description:"Signup a user into system via public access (aka website visitors) using either email or phone number.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"sessionSecret",description:"Required when the account creation requires recaptcha, or otp approval first. If such requirements are there, you first need to follow the otp apis, get the session secret and pass it here to complete the setup.",type:"string"},{name:"type",type:"enum",of:[{k:"phonenumber"},{k:"email"}],tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"firstName",type:"string",tags:{validate:"required"}},{name:"lastName",type:"string",tags:{validate:"required"}},{name:"inviteId",type:"string?"},{name:"publicJoinKeyId",type:"string?"},{name:"workspaceTypeId",type:"string?",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Returns the user session in case that signup is completely successful.",type:"one",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"continueToTotp",description:"Returns true and session will be empty if, the totp is required by the installation. In such scenario, you need to forward user to setup totp screen.",type:"bool"},{name:"forcedTotp",description:"Determines if user must complete totp in order to continue based on workspace or installation",type:"bool"}]}};var Kh=io("value"),Xh=io("sessionSecret"),Qh=io("type"),Zh=io("password"),Jh=io("firstName"),eg=io("lastName"),tg=io("inviteId"),ng=io("publicJoinKeyId"),rg=io("workspaceTypeId"),DP=io("isJsonAppliable");class dc{get value(){return kn(this,Kh)[Kh]}set value(t){kn(this,Kh)[Kh]=String(t)}setValue(t){return this.value=t,this}get sessionSecret(){return kn(this,Xh)[Xh]}set sessionSecret(t){kn(this,Xh)[Xh]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}get type(){return kn(this,Qh)[Qh]}set type(t){kn(this,Qh)[Qh]=t}setType(t){return this.type=t,this}get password(){return kn(this,Zh)[Zh]}set password(t){kn(this,Zh)[Zh]=String(t)}setPassword(t){return this.password=t,this}get firstName(){return kn(this,Jh)[Jh]}set firstName(t){kn(this,Jh)[Jh]=String(t)}setFirstName(t){return this.firstName=t,this}get lastName(){return kn(this,eg)[eg]}set lastName(t){kn(this,eg)[eg]=String(t)}setLastName(t){return this.lastName=t,this}get inviteId(){return kn(this,tg)[tg]}set inviteId(t){const n=typeof t=="string"||t===void 0||t===null;kn(this,tg)[tg]=n?t:String(t)}setInviteId(t){return this.inviteId=t,this}get publicJoinKeyId(){return kn(this,ng)[ng]}set publicJoinKeyId(t){const n=typeof t=="string"||t===void 0||t===null;kn(this,ng)[ng]=n?t:String(t)}setPublicJoinKeyId(t){return this.publicJoinKeyId=t,this}get workspaceTypeId(){return kn(this,rg)[rg]}set workspaceTypeId(t){const n=typeof t=="string"||t===void 0||t===null;kn(this,rg)[rg]=n?t:String(t)}setWorkspaceTypeId(t){return this.workspaceTypeId=t,this}constructor(t=void 0){if(Object.defineProperty(this,DP,{value:PIe}),Object.defineProperty(this,Kh,{writable:!0,value:""}),Object.defineProperty(this,Xh,{writable:!0,value:""}),Object.defineProperty(this,Qh,{writable:!0,value:void 0}),Object.defineProperty(this,Zh,{writable:!0,value:""}),Object.defineProperty(this,Jh,{writable:!0,value:""}),Object.defineProperty(this,eg,{writable:!0,value:""}),Object.defineProperty(this,tg,{writable:!0,value:void 0}),Object.defineProperty(this,ng,{writable:!0,value:void 0}),Object.defineProperty(this,rg,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(kn(this,DP)[DP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.type!==void 0&&(this.type=n.type),n.password!==void 0&&(this.password=n.password),n.firstName!==void 0&&(this.firstName=n.firstName),n.lastName!==void 0&&(this.lastName=n.lastName),n.inviteId!==void 0&&(this.inviteId=n.inviteId),n.publicJoinKeyId!==void 0&&(this.publicJoinKeyId=n.publicJoinKeyId),n.workspaceTypeId!==void 0&&(this.workspaceTypeId=n.workspaceTypeId)}toJSON(){return{value:kn(this,Kh)[Kh],sessionSecret:kn(this,Xh)[Xh],type:kn(this,Qh)[Qh],password:kn(this,Zh)[Zh],firstName:kn(this,Jh)[Jh],lastName:kn(this,eg)[eg],inviteId:kn(this,tg)[tg],publicJoinKeyId:kn(this,ng)[ng],workspaceTypeId:kn(this,rg)[rg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",sessionSecret:"sessionSecret",type:"type",password:"password",firstName:"firstName",lastName:"lastName",inviteId:"inviteId",publicJoinKeyId:"publicJoinKeyId",workspaceTypeId:"workspaceTypeId"}}static from(t){return new dc(t)}static with(t){return new dc(t)}copyWith(t){return new dc({...this.toJSON(),...t})}clone(){return new dc(this.toJSON())}}function PIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var sd=io("session"),ag=io("totpUrl"),ig=io("continueToTotp"),og=io("forcedTotp"),$P=io("isJsonAppliable"),Jw=io("lateInitFields");class Fg{get session(){return kn(this,sd)[sd]}set session(t){t instanceof Bi?kn(this,sd)[sd]=t:kn(this,sd)[sd]=new Bi(t)}setSession(t){return this.session=t,this}get totpUrl(){return kn(this,ag)[ag]}set totpUrl(t){kn(this,ag)[ag]=String(t)}setTotpUrl(t){return this.totpUrl=t,this}get continueToTotp(){return kn(this,ig)[ig]}set continueToTotp(t){kn(this,ig)[ig]=!!t}setContinueToTotp(t){return this.continueToTotp=t,this}get forcedTotp(){return kn(this,og)[og]}set forcedTotp(t){kn(this,og)[og]=!!t}setForcedTotp(t){return this.forcedTotp=t,this}constructor(t=void 0){if(Object.defineProperty(this,Jw,{value:NIe}),Object.defineProperty(this,$P,{value:AIe}),Object.defineProperty(this,sd,{writable:!0,value:void 0}),Object.defineProperty(this,ag,{writable:!0,value:""}),Object.defineProperty(this,ig,{writable:!0,value:void 0}),Object.defineProperty(this,og,{writable:!0,value:void 0}),t==null){kn(this,Jw)[Jw]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(kn(this,$P)[$P](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.continueToTotp!==void 0&&(this.continueToTotp=n.continueToTotp),n.forcedTotp!==void 0&&(this.forcedTotp=n.forcedTotp),kn(this,Jw)[Jw](t)}toJSON(){return{session:kn(this,sd)[sd],totpUrl:kn(this,ag)[ag],continueToTotp:kn(this,ig)[ig],forcedTotp:kn(this,og)[og]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return ev("session",Bi.Fields)},totpUrl:"totpUrl",continueToTotp:"continueToTotp",forcedTotp:"forcedTotp"}}static from(t){return new Fg(t)}static with(t){return new Fg(t)}copyWith(t){return new Fg({...this.toJSON(),...t})}clone(){return new Fg(this.toJSON())}}function AIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function NIe(e={}){const t=e;t.session instanceof Bi||(this.session=new Bi(t.session||{}))}var RS;function xs(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var MIe=0;function oE(e){return"__private_"+MIe+++"_"+e}const IIe=e=>{const t=um(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),Dd.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[Dd.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class Dd{}RS=Dd;Dd.URL="/workspace/public/types";Dd.NewUrl=e=>lm(RS.URL,void 0,e);Dd.Method="get";Dd.Fetch$=async(e,t,n,r)=>nm(r??RS.NewUrl(e),{method:RS.Method,...n||{}},t);Dd.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new jg(o)})=>{t=t||(l=>new jg(l));const o=await RS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Dd.Definition={name:"QueryWorkspaceTypesPublicly",cliName:"public-types",url:"/workspace/public/types",method:"get",description:"Returns the workspaces types available in the project publicly without authentication, and the value could be used upon signup to go different route.",out:{envelope:"GResponse",fields:[{name:"title",type:"string"},{name:"description",type:"string"},{name:"uniqueId",type:"string"},{name:"slug",type:"string"}]}};var sg=oE("title"),lg=oE("description"),ug=oE("uniqueId"),cg=oE("slug"),LP=oE("isJsonAppliable");class jg{get title(){return xs(this,sg)[sg]}set title(t){xs(this,sg)[sg]=String(t)}setTitle(t){return this.title=t,this}get description(){return xs(this,lg)[lg]}set description(t){xs(this,lg)[lg]=String(t)}setDescription(t){return this.description=t,this}get uniqueId(){return xs(this,ug)[ug]}set uniqueId(t){xs(this,ug)[ug]=String(t)}setUniqueId(t){return this.uniqueId=t,this}get slug(){return xs(this,cg)[cg]}set slug(t){xs(this,cg)[cg]=String(t)}setSlug(t){return this.slug=t,this}constructor(t=void 0){if(Object.defineProperty(this,LP,{value:DIe}),Object.defineProperty(this,sg,{writable:!0,value:""}),Object.defineProperty(this,lg,{writable:!0,value:""}),Object.defineProperty(this,ug,{writable:!0,value:""}),Object.defineProperty(this,cg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(xs(this,LP)[LP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.title!==void 0&&(this.title=n.title),n.description!==void 0&&(this.description=n.description),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.slug!==void 0&&(this.slug=n.slug)}toJSON(){return{title:xs(this,sg)[sg],description:xs(this,lg)[lg],uniqueId:xs(this,ug)[ug],slug:xs(this,cg)[cg]}}toString(){return JSON.stringify(this)}static get Fields(){return{title:"title",description:"description",uniqueId:"uniqueId",slug:"slug"}}static from(t){return new jg(t)}static with(t){return new jg(t)}copyWith(t){return new jg({...this.toJSON(),...t})}clone(){return new jg(this.toJSON())}}function DIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const $Ie=()=>{var k;const{goBack:e,state:t,push:n}=xr(),{locale:r}=sr(),{onComplete:a}=aE(),i=RIe(),o=t==null?void 0:t.totpUrl,{data:l,isLoading:u}=IIe({}),d=((k=l==null?void 0:l.data)==null?void 0:k.items)||[],f=Kt(xa),g=sessionStorage.getItem("workspace_type_id"),y=_=>{i.mutateAsync(new dc({..._,value:t==null?void 0:t.value,workspaceTypeId:C,type:t==null?void 0:t.type,sessionSecret:t==null?void 0:t.sessionSecret})).then(v).catch(A=>{p==null||p.setErrors(Lb(A))})},p=Cc({initialValues:{},onSubmit:y});R.useEffect(()=>{p==null||p.setFieldValue(dc.Fields.value,t==null?void 0:t.value)},[t==null?void 0:t.value]);const v=_=>{_.data.item.session?a(_):_.data.item.continueToTotp&&n(`/${r}/selfservice/totp-setup`,void 0,{totpUrl:_.data.item.totpUrl||o,forcedTotp:_.data.item.forcedTotp,password:p.values.password,value:t==null?void 0:t.value})},[E,T]=R.useState("");let C=d.length===1?d[0].uniqueId:E;return g&&(C=g),{mutation:i,isLoading:u,form:p,setSelectedWorkspaceType:T,totpUrl:o,workspaceTypeId:C,submit:y,goBack:e,s:f,workspaceTypes:d,state:t}},LIe=({})=>{const{goBack:e,mutation:t,form:n,workspaceTypes:r,workspaceTypeId:a,isLoading:i,setSelectedWorkspaceType:o,s:l}=$Ie();return i?w.jsx("div",{className:"signin-form-container",children:w.jsx($te,{})}):r.length===0?w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:l.registerationNotPossible}),w.jsx("p",{children:l.registerationNotPossibleLine1}),w.jsx("p",{children:l.registerationNotPossibleLine2})]}):r.length>=2&&!a?w.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[w.jsx("h1",{children:l.completeYourAccount}),w.jsx("p",{children:l.completeYourAccountDescription}),w.jsx("div",{className:" ",children:r.map(u=>w.jsxs("div",{className:"mt-3",children:[w.jsx("h2",{children:u.title}),w.jsx("p",{children:u.description}),w.jsx("button",{className:"btn btn-outline-primary w-100",onClick:()=>{o(u.uniqueId)},children:"Select"},u.uniqueId)]},u.uniqueId))})]}):w.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[w.jsx("h1",{children:l.completeYourAccount}),w.jsx("p",{children:l.completeYourAccountDescription}),w.jsx(xl,{query:t}),w.jsx(FIe,{form:n,mutation:t}),w.jsx("button",{id:"go-step-back",onClick:e,className:"bg-transparent border-0",children:l.cancelStep})]})},FIe=({form:e,mutation:t})=>{const n=Kt(xa),r=!e.values.firstName||!e.values.lastName||!e.values.password||e.values.password.length<6;return w.jsxs("form",{onSubmit:a=>{a.preventDefault(),e.submitForm()},children:[w.jsx(In,{value:e.values.firstName,label:n.firstName,id:"first-name-input",autoFocus:!0,errorMessage:e.errors.firstName,onChange:a=>e.setFieldValue(dc.Fields.firstName,a,!1)}),w.jsx(In,{value:e.values.lastName,label:n.lastName,id:"last-name-input",errorMessage:e.errors.lastName,onChange:a=>e.setFieldValue(dc.Fields.lastName,a,!1)}),w.jsx(In,{type:"password",value:e.values.password,label:n.password,id:"password-input",errorMessage:e.errors.password,onChange:a=>e.setFieldValue(dc.Fields.password,a,!1)}),w.jsx(Fs,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:r,children:n.continue})]})};var PS;function $i(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var jIe=0;function fv(e){return"__private_"+jIe+++"_"+e}const UIe=e=>{const n=um()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),pm.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class pm{}PS=pm;pm.URL="/workspace/passport/request-otp";pm.NewUrl=e=>lm(PS.URL,void 0,e);pm.Method="post";pm.Fetch$=async(e,t,n,r)=>nm(r??PS.NewUrl(e),{method:PS.Method,...n||{}},t);pm.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new Ug(o)})=>{t=t||(l=>new Ug(l));const o=await PS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};pm.Definition={name:"ClassicPassportRequestOtp",cliName:"otp-request",url:"/workspace/passport/request-otp",method:"post",description:"Triggers an otp request, and will send an sms or email to the passport. This endpoint is not used for login, but rather makes a request at initial step. Later you can call classicPassportOtp to get in.",in:{fields:[{name:"value",description:"Passport value (email, phone number) which would be receiving the otp code.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}};var dg=fv("value"),FP=fv("isJsonAppliable");class ib{get value(){return $i(this,dg)[dg]}set value(t){$i(this,dg)[dg]=String(t)}setValue(t){return this.value=t,this}constructor(t=void 0){if(Object.defineProperty(this,FP,{value:BIe}),Object.defineProperty(this,dg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if($i(this,FP)[FP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value)}toJSON(){return{value:$i(this,dg)[dg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value"}}static from(t){return new ib(t)}static with(t){return new ib(t)}copyWith(t){return new ib({...this.toJSON(),...t})}clone(){return new ib(this.toJSON())}}function BIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var fg=fv("suspendUntil"),pg=fv("validUntil"),mg=fv("blockedUntil"),hg=fv("secondsToUnblock"),jP=fv("isJsonAppliable");class Ug{get suspendUntil(){return $i(this,fg)[fg]}set suspendUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||($i(this,fg)[fg]=r)}setSuspendUntil(t){return this.suspendUntil=t,this}get validUntil(){return $i(this,pg)[pg]}set validUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||($i(this,pg)[pg]=r)}setValidUntil(t){return this.validUntil=t,this}get blockedUntil(){return $i(this,mg)[mg]}set blockedUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||($i(this,mg)[mg]=r)}setBlockedUntil(t){return this.blockedUntil=t,this}get secondsToUnblock(){return $i(this,hg)[hg]}set secondsToUnblock(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||($i(this,hg)[hg]=r)}setSecondsToUnblock(t){return this.secondsToUnblock=t,this}constructor(t=void 0){if(Object.defineProperty(this,jP,{value:WIe}),Object.defineProperty(this,fg,{writable:!0,value:0}),Object.defineProperty(this,pg,{writable:!0,value:0}),Object.defineProperty(this,mg,{writable:!0,value:0}),Object.defineProperty(this,hg,{writable:!0,value:0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if($i(this,jP)[jP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:$i(this,fg)[fg],validUntil:$i(this,pg)[pg],blockedUntil:$i(this,mg)[mg],secondsToUnblock:$i(this,hg)[hg]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(t){return new Ug(t)}static with(t){return new Ug(t)}copyWith(t){return new Ug({...this.toJSON(),...t})}clone(){return new Ug(this.toJSON())}}function WIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const zIe=()=>{const e=Kt(xa),{goBack:t,state:n,push:r}=xr(),{locale:a}=sr(),{onComplete:i}=aE(),o=Ute(),l=n==null?void 0:n.canContinueOnOtp,u=UIe(),d=p=>{o.mutateAsync(new fu({value:p.value,password:p.password})).then(y).catch(v=>{f==null||f.setErrors(Lb(v))})},f=Cc({initialValues:{},onSubmit:d}),g=()=>{u.mutateAsync(new ib({value:f.values.value})).then(p=>{r("../otp",void 0,{value:f.values.value})}).catch(p=>{p.error.message==="OtaRequestBlockedUntil"&&r("../otp",void 0,{value:f.values.value})})};R.useEffect(()=>{n!=null&&n.value&&f.setFieldValue(fu.Fields.value,n.value)},[n==null?void 0:n.value]);const y=p=>{var v,E;p.data.item.session?i(p):(v=p.data.item.next)!=null&&v.includes("enter-totp")?r(`/${a}/selfservice/totp-enter`,void 0,{value:f.values.value,password:f.values.password}):(E=p.data.item.next)!=null&&E.includes("setup-totp")&&r(`/${a}/selfservice/totp-setup`,void 0,{totpUrl:p.data.item.totpUrl,forcedTotp:!0,password:f.values.password,value:n==null?void 0:n.value})};return{mutation:o,otpEnabled:l,continueWithOtp:g,form:f,submit:d,goBack:t,s:e}},qIe=({})=>{const{goBack:e,mutation:t,form:n,continueWithOtp:r,otpEnabled:a,s:i}=zIe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:i.enterPassword}),w.jsx("p",{children:i.enterPasswordDescription}),w.jsx(xl,{query:t}),w.jsx(HIe,{form:n,mutation:t,continueWithOtp:r,otpEnabled:a}),w.jsx("button",{id:"go-back-button",onClick:e,className:"btn bg-transparent w-100 mt-4",children:i.anotherAccount})]})},HIe=({form:e,mutation:t,otpEnabled:n,continueWithOtp:r})=>{const a=Kt(xa),i=!e.values.value||!e.values.password;return w.jsxs("form",{onSubmit:o=>{o.preventDefault(),e.submitForm()},children:[w.jsx(In,{type:"password",value:e.values.password,label:a.password,id:"password-input",autoFocus:!0,errorMessage:e.errors.password,onChange:o=>e.setFieldValue(fu.Fields.password,o,!1)}),w.jsx(Fs,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:i,children:a.continue}),n&&w.jsx("button",{onClick:r,className:"bg-transparent border-0 mt-3 mb-3",children:a.useOneTimePassword})]})};var AS;function Fa(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var VIe=0;function mm(e){return"__private_"+VIe+++"_"+e}const GIe=e=>{const t=um(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),hm.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result))),...e||{}}),isCompleted:r,response:i}};class hm{}AS=hm;hm.URL="/workspace/passport/otp";hm.NewUrl=e=>lm(AS.URL,void 0,e);hm.Method="post";hm.Fetch$=async(e,t,n,r)=>nm(r??AS.NewUrl(e),{method:AS.Method,...n||{}},t);hm.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new Wg(o)})=>{t=t||(l=>new Wg(l));const o=await AS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};hm.Definition={name:"ClassicPassportOtp",cliName:"otp",url:"/workspace/passport/otp",method:"post",description:"Authenticate the user publicly for classic methods using communication service, such as sms, call, or email. You need to call classicPassportRequestOtp beforehand to send a otp code, and then validate it with this API. Also checkClassicPassport action might already sent the otp, so make sure you don't send it twice.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"otp",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Upon successful authentication, there will be a session dto generated, which is a ground information of authorized user and can be stored in front-end.",type:"one?",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"sessionSecret",description:"The session secret will be used to call complete user registration api.",type:"string"},{name:"continueWithCreation",description:"If return true, means the OTP is correct and user needs to be created before continue the authentication process.",type:"bool"}]}};var gg=mm("value"),vg=mm("otp"),UP=mm("isJsonAppliable");class Bg{get value(){return Fa(this,gg)[gg]}set value(t){Fa(this,gg)[gg]=String(t)}setValue(t){return this.value=t,this}get otp(){return Fa(this,vg)[vg]}set otp(t){Fa(this,vg)[vg]=String(t)}setOtp(t){return this.otp=t,this}constructor(t=void 0){if(Object.defineProperty(this,UP,{value:YIe}),Object.defineProperty(this,gg,{writable:!0,value:""}),Object.defineProperty(this,vg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Fa(this,UP)[UP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.otp!==void 0&&(this.otp=n.otp)}toJSON(){return{value:Fa(this,gg)[gg],otp:Fa(this,vg)[vg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",otp:"otp"}}static from(t){return new Bg(t)}static with(t){return new Bg(t)}copyWith(t){return new Bg({...this.toJSON(),...t})}clone(){return new Bg(this.toJSON())}}function YIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var ld=mm("session"),yg=mm("totpUrl"),bg=mm("sessionSecret"),wg=mm("continueWithCreation"),BP=mm("isJsonAppliable");class Wg{get session(){return Fa(this,ld)[ld]}set session(t){t instanceof Bi?Fa(this,ld)[ld]=t:Fa(this,ld)[ld]=new Bi(t)}setSession(t){return this.session=t,this}get totpUrl(){return Fa(this,yg)[yg]}set totpUrl(t){Fa(this,yg)[yg]=String(t)}setTotpUrl(t){return this.totpUrl=t,this}get sessionSecret(){return Fa(this,bg)[bg]}set sessionSecret(t){Fa(this,bg)[bg]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}get continueWithCreation(){return Fa(this,wg)[wg]}set continueWithCreation(t){Fa(this,wg)[wg]=!!t}setContinueWithCreation(t){return this.continueWithCreation=t,this}constructor(t=void 0){if(Object.defineProperty(this,BP,{value:KIe}),Object.defineProperty(this,ld,{writable:!0,value:void 0}),Object.defineProperty(this,yg,{writable:!0,value:""}),Object.defineProperty(this,bg,{writable:!0,value:""}),Object.defineProperty(this,wg,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Fa(this,BP)[BP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.continueWithCreation!==void 0&&(this.continueWithCreation=n.continueWithCreation)}toJSON(){return{session:Fa(this,ld)[ld],totpUrl:Fa(this,yg)[yg],sessionSecret:Fa(this,bg)[bg],continueWithCreation:Fa(this,wg)[wg]}}toString(){return JSON.stringify(this)}static get Fields(){return{session:"session",totpUrl:"totpUrl",sessionSecret:"sessionSecret",continueWithCreation:"continueWithCreation"}}static from(t){return new Wg(t)}static with(t){return new Wg(t)}copyWith(t){return new Wg({...this.toJSON(),...t})}clone(){return new Wg(this.toJSON())}}function KIe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const XIe=()=>{const{goBack:e,state:t,replace:n,push:r}=xr(),{locale:a}=sr(),i=Kt(xa),o=GIe({}),{onComplete:l}=aE(),u=g=>{o.mutateAsync(new Bg({...g,value:t.value})).then(f).catch(y=>{d==null||d.setErrors(Lb(y))})},d=Cc({initialValues:{},onSubmit:u}),f=g=>{var y,p,v,E,T;(y=g.data)!=null&&y.item.session?l(g):(v=(p=g.data)==null?void 0:p.item)!=null&&v.continueWithCreation&&r(`/${a}/selfservice/complete`,void 0,{value:t.value,type:t.type,sessionSecret:(E=g.data.item)==null?void 0:E.sessionSecret,totpUrl:(T=g.data.item)==null?void 0:T.totpUrl})};return{mutation:o,form:d,s:i,submit:u,goBack:e}},QIe=({})=>{const{goBack:e,mutation:t,form:n,s:r}=XIe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:r.enterOtp}),w.jsx("p",{children:r.enterOtpDescription}),w.jsx(xl,{query:t}),w.jsx(ZIe,{form:n,mutation:t}),w.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:e,children:r.anotherAccount})]})},ZIe=({form:e,mutation:t})=>{var a;const n=!e.values.otp,r=Kt(xa);return w.jsxs("form",{onSubmit:i=>{i.preventDefault(),e.submitForm()},children:[w.jsx(iE,{values:(a=e.values.otp)==null?void 0:a.split(""),onChange:i=>e.setFieldValue(Bg.Fields.otp,i,!1),className:"otp-react-code-input"}),w.jsx(Fs,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:n,children:r.continue})]})};class Ns extends wn{constructor(...t){super(...t),this.children=void 0,this.role=void 0,this.roleId=void 0,this.workspace=void 0}}Ns.Navigation={edit(e,t){return`${t?"/"+t:".."}/public-join-key/edit/${e}`},create(e){return`${e?"/"+e:".."}/public-join-key/new`},single(e,t){return`${t?"/"+t:".."}/public-join-key/${e}`},query(e={},t){return`${t?"/"+t:".."}/public-join-keys`},Redit:"public-join-key/edit/:uniqueId",Rcreate:"public-join-key/new",Rsingle:"public-join-key/:uniqueId",Rquery:"public-join-keys"};Ns.definition={rpc:{query:{}},name:"publicJoinKey",features:{},gormMap:{},fields:[{name:"role",type:"one",target:"RoleEntity",computedType:"RoleEntity",gormMap:{}},{name:"workspace",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}}],description:"Joining to different workspaces using a public link directly"};Ns.Fields={...wn.Fields,roleId:"roleId",role$:"role",role:ni.Fields,workspace$:"workspace",workspace:vi.Fields};function Jte({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/public-join-key/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.PublicJoinKeyEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function JIe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/public-join-key".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.PublicJoinKeyEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function eDe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/public-join-key".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.PublicJoinKeyEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const tDe=({form:e,isEditing:t})=>{const{values:n,setValues:r,setFieldValue:a,errors:i}=e,{options:o}=R.useContext(Je),l=At();return w.jsx(w.Fragment,{children:w.jsx(ca,{formEffect:{field:Ns.Fields.role$,form:e},querySource:Hd,label:l.wokspaces.invite.role,errorMessage:i.roleId,fnLabelFormat:u=>u.name,hint:l.wokspaces.invite.roleHint})})},gW=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,t:a}=Dr({data:e}),i=Jte({query:{uniqueId:n}}),o=eDe({queryClient:r}),l=JIe({queryClient:r});return w.jsx(jo,{postHook:o,getSingleHook:i,patchHook:l,onCancel:()=>{t.goBackOrDefault(Ns.Navigation.query())},onFinishUriResolver:(u,d)=>{var f;return Ns.Navigation.single((f=u.data)==null?void 0:f.uniqueId)},Form:tDe,onEditTitle:a.fb.editPublicJoinKey,onCreateTitle:a.fb.newPublicJoinKey,data:e})},nDe=()=>{var i,o;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Jte({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return w.jsx(w.Fragment,{children:w.jsx(ro,{editEntityHandler:()=>{e.push(Ns.Navigation.edit(n))},getSingleHook:r,children:w.jsx(ao,{entity:a,fields:[{label:t.role.name,elem:(o=a==null?void 0:a.role)==null?void 0:o.name}]})})})};function rDe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/public-join-key".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.PublicJoinKeyEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.PublicJoinKeyEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function ene({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/public-join-keys".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.PublicJoinKeyEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}ene.UKEY="*abac.PublicJoinKeyEntity";const aDe={roleName:"Role name",uniqueId:"Unique Id"},iDe={roleName:"Nazwa roli",uniqueId:"Unikalny identyfikator"},oDe={...aDe,$pl:iDe},sDe=e=>[{name:"uniqueId",title:e.uniqueId,width:200},{name:"role",title:e.roleName,width:200,getCellValue:t=>{var n;return(n=t.role)==null?void 0:n.name}}],lDe=()=>{const e=Kt(oDe);return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:sDe(e),queryHook:ene,uniqueIdHrefHandler:t=>Ns.Navigation.single(t),deleteHook:rDe})})},uDe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Lo,{pageTitle:e.fbMenu.publicJoinKey,newEntityHandler:({locale:t,router:n})=>{n.push(Ns.Navigation.create())},children:w.jsx(lDe,{})})})};function cDe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(gW,{}),path:Ns.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(nDe,{}),path:Ns.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(gW,{}),path:Ns.Navigation.Redit}),w.jsx(ht,{element:w.jsx(uDe,{}),path:Ns.Navigation.Rquery})]})}function tne({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/role/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.RoleEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function dDe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/role".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.RoleEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function fDe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/role".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.RoleEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function pDe({value:e,onChange:t,...n}){const r=R.useRef();return R.useEffect(()=>{r.current.indeterminate=e==="indeterminate"},[r,e]),w.jsx("input",{...n,type:"checkbox",ref:r,onChange:a=>{t("checked")},checked:e==="checked",className:"form-check-input"})}function su(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var mDe=0;function Vx(e){return"__private_"+mDe+++"_"+e}var Sg=Vx("uniqueId"),Eg=Vx("name"),ud=Vx("children"),WP=Vx("isJsonAppliable");class ns{get uniqueId(){return su(this,Sg)[Sg]}set uniqueId(t){su(this,Sg)[Sg]=String(t)}setUniqueId(t){return this.uniqueId=t,this}get name(){return su(this,Eg)[Eg]}set name(t){su(this,Eg)[Eg]=String(t)}setName(t){return this.name=t,this}get children(){return su(this,ud)[ud]}set children(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof ns?su(this,ud)[ud]=t:su(this,ud)[ud]=t.map(n=>new ns(n)))}setChildren(t){return this.children=t,this}constructor(t=void 0){if(Object.defineProperty(this,WP,{value:hDe}),Object.defineProperty(this,Sg,{writable:!0,value:""}),Object.defineProperty(this,Eg,{writable:!0,value:""}),Object.defineProperty(this,ud,{writable:!0,value:[]}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(su(this,WP)[WP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.name!==void 0&&(this.name=n.name),n.children!==void 0&&(this.children=n.children)}toJSON(){return{uniqueId:su(this,Sg)[Sg],name:su(this,Eg)[Eg],children:su(this,ud)[ud]}}toString(){return JSON.stringify(this)}static get Fields(){return{uniqueId:"uniqueId",name:"name",children$:"children",get children(){return ev("children[:i]",ns.Fields)}}}static from(t){return new ns(t)}static with(t){return new ns(t)}copyWith(t){return new ns({...this.toJSON(),...t})}clone(){return new ns(this.toJSON())}}function hDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var NS;function cd(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var gDe=0;function zF(e){return"__private_"+gDe+++"_"+e}const vDe=e=>{const t=um(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),$d.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[$d.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class $d{}NS=$d;$d.URL="/capabilitiesTree";$d.NewUrl=e=>lm(NS.URL,void 0,e);$d.Method="get";$d.Fetch$=async(e,t,n,r)=>nm(r??NS.NewUrl(e),{method:NS.Method,...n||{}},t);$d.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new zg(o)})=>{t=t||(l=>new zg(l));const o=await NS.Fetch$(n,r,e,i);return rm(o,l=>{const u=new Vd;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};$d.Definition={name:"CapabilitiesTree",cliName:"treex",url:"/capabilitiesTree",method:"get",description:"dLists all of the capabilities in database as a array of string as root access",out:{envelope:"GResponse",fields:[{name:"capabilities",type:"collection",target:"CapabilityInfoDto"},{name:"nested",type:"collection",target:"CapabilityInfoDto"}]}};var dd=zF("capabilities"),fd=zF("nested"),zP=zF("isJsonAppliable");class zg{get capabilities(){return cd(this,dd)[dd]}set capabilities(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof ns?cd(this,dd)[dd]=t:cd(this,dd)[dd]=t.map(n=>new ns(n)))}setCapabilities(t){return this.capabilities=t,this}get nested(){return cd(this,fd)[fd]}set nested(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof ns?cd(this,fd)[fd]=t:cd(this,fd)[fd]=t.map(n=>new ns(n)))}setNested(t){return this.nested=t,this}constructor(t=void 0){if(Object.defineProperty(this,zP,{value:yDe}),Object.defineProperty(this,dd,{writable:!0,value:[]}),Object.defineProperty(this,fd,{writable:!0,value:[]}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(cd(this,zP)[zP](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.capabilities!==void 0&&(this.capabilities=n.capabilities),n.nested!==void 0&&(this.nested=n.nested)}toJSON(){return{capabilities:cd(this,dd)[dd],nested:cd(this,fd)[fd]}}toString(){return JSON.stringify(this)}static get Fields(){return{capabilities$:"capabilities",get capabilities(){return ev("capabilities[:i]",ns.Fields)},nested$:"nested",get nested(){return ev("nested[:i]",ns.Fields)}}}static from(t){return new zg(t)}static with(t){return new zg(t)}copyWith(t){return new zg({...this.toJSON(),...t})}clone(){return new zg(this.toJSON())}}function yDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function nne({onChange:e,value:t,prefix:n}){var l,u;const{data:r,error:a}=vDe({}),i=((u=(l=r==null?void 0:r.data)==null?void 0:l.item)==null?void 0:u.nested)||[],o=(d,f)=>{let g=[...t||[]];f==="checked"&&g.push(d),f==="unchecked"&&(g=g.filter(y=>y!==d)),e&&e(g)};return w.jsxs("nav",{className:"tree-nav",children:[w.jsx(Vb,{error:a}),w.jsx("ul",{className:"list",children:w.jsx(rne,{items:i,onNodeChange:o,value:t,prefix:n})})]})}function rne({items:e,onNodeChange:t,value:n,prefix:r,autoChecked:a}){const i=r?r+".":"";return w.jsx(w.Fragment,{children:e.map(o=>{var d;const l=`${i}${o.uniqueId}${(d=o.children)!=null&&d.length?".*":""}`,u=(n||[]).includes(l)?"checked":"unchecked";return w.jsxs("li",{children:[w.jsx("span",{children:w.jsxs("label",{className:a?"auto-checked":"",children:[w.jsx(pDe,{value:u,onChange:f=>{t(l,u==="checked"?"unchecked":"checked")}}),o.uniqueId]})}),o.children&&w.jsx("ul",{children:w.jsx(rne,{autoChecked:a||u==="checked",onNodeChange:t,value:n,items:o.children,prefix:i+o.uniqueId})})]},o.uniqueId)})})}const bDe=(e,t)=>e!=null&&e.length&&!(t!=null&&t.length)?e.map(n=>n.uniqueId):t||[],wDe=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a}=e,i=At();return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:n.name,onChange:o=>r(ni.Fields.name,o,!1),errorMessage:a.name,label:i.wokspaces.invite.role,autoFocus:!t,hint:i.wokspaces.invite.roleHint}),w.jsx(nne,{onChange:o=>r(ni.Fields.capabilitiesListId,o,!1),value:bDe(n.capabilities,n.capabilitiesListId)})]})},vW=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a}=Dr({data:e}),i=At(),o=tne({query:{uniqueId:n},queryOptions:{enabled:!!n}}),l=fDe({queryClient:r}),u=dDe({queryClient:r});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,beforeSubmit:d=>{var f;return((f=d.capabilities)==null?void 0:f.length)>0&&d.capabilitiesListId===null?{...d,capabilitiesListId:d.capabilities.map(g=>g.uniqueId)}:d},onCancel:()=>{t.goBackOrDefault(ni.Navigation.query(void 0,a))},onFinishUriResolver:(d,f)=>{var g;return ni.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:wDe,onEditTitle:i.fb.editRole,onCreateTitle:i.fb.newRole,data:e})},SDe=()=>{var l;const e=xr();Ls();const t=e.query.uniqueId,n=At();sr();const[r,a]=R.useState([]),i=tne({query:{uniqueId:t,deep:!0}});var o=(l=i.query.data)==null?void 0:l.data;return Ux((o==null?void 0:o.name)||""),R.useEffect(()=>{var u;a((u=o==null?void 0:o.capabilities)==null?void 0:u.map(d=>d.uniqueId||""))},[o==null?void 0:o.capabilities]),w.jsx(w.Fragment,{children:w.jsxs(ro,{editEntityHandler:()=>{e.push(ni.Navigation.edit(t))},getSingleHook:i,children:[w.jsx(ao,{entity:o,fields:[{label:n.role.name,elem:o==null?void 0:o.name}]}),w.jsx(Mo,{title:n.role.permissions,className:"mt-3",children:w.jsx(nne,{value:r})})]})})},EDe=e=>[{name:ni.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:ni.Fields.name,title:e.role.name,width:200}];function TDe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/role".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.RoleEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.RoleEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const CDe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:EDe(e),queryHook:Hd,uniqueIdHrefHandler:t=>ni.Navigation.single(t),deleteHook:TDe})})},kDe=()=>{const e=At();return Npe(),w.jsx(w.Fragment,{children:w.jsx(Lo,{newEntityHandler:({locale:t,router:n})=>n.push(ni.Navigation.create()),pageTitle:e.fbMenu.roles,children:w.jsx(CDe,{})})})};function xDe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(vW,{}),path:ni.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(SDe,{}),path:ni.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(vW,{}),path:ni.Navigation.Redit}),w.jsx(ht,{element:w.jsx(kDe,{}),path:ni.Navigation.Rquery})]})}({...wn.Fields});function ane({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/users/invitations".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserInvitationsQueryColumns",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}ane.UKEY="*abac.UserInvitationsQueryColumns";const _De={confirmRejectTitle:"Reject invite",reject:"Reject",workspaceName:"Workspace Name",passport:"Passport",confirmAcceptDescription:"Are you sure that you are confirming to join?",confirmRejectDescription:"Are you sure to reject this invitation? You need to be reinvited by admins again.",acceptBtn:null,accept:"Accept",roleName:"Role name",method:"Method",actions:"Actions",confirmAcceptTitle:"Confirm invitation"},ODe={actions:"Akcje",confirmRejectTitle:"Odrzuć zaproszenie",method:"Metoda",roleName:"Nazwa roli",accept:"Akceptuj",confirmAcceptDescription:"Czy na pewno chcesz dołączyć?",confirmAcceptTitle:"Potwierdź zaproszenie",confirmRejectDescription:"Czy na pewno chcesz odrzucić to zaproszenie? Aby dołączyć ponownie, musisz zostać ponownie zaproszony przez administratorów.",passport:"Paszport",reject:"Odrzuć",workspaceName:"Nazwa przestrzeni roboczej",acceptBtn:"Tak"},RDe={..._De,$pl:ODe},PDe=(e,t,n)=>[{name:"roleName",title:e.roleName,width:100},{name:"workspaceName",title:e.workspaceName,width:100},{name:"method",title:e.method,width:100,getCellValue:r=>r.type},{name:"value",title:e.passport,width:100,getCellValue:r=>r.value},{name:"actions",title:e.actions,width:100,getCellValue:r=>w.jsxs(w.Fragment,{children:[w.jsx("button",{className:"btn btn-sm btn-success",style:{marginRight:"2px"},onClick:a=>{t(r)},children:e.accept}),w.jsx("button",{onClick:a=>{n(r)},className:"btn btn-sm btn-danger",children:e.reject})]})}];function ADe(e){let{queryClient:t,query:n,execFnOverride:r}={};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/user/invitation/accept".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("string",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const NDe=()=>{const e=Kt(RDe),t=R.useContext(_x),{submit:n}=ADe(),r=i=>{t.openModal({title:e.confirmAcceptTitle,confirmButtonLabel:e.acceptBtn,component:()=>w.jsx("div",{children:e.confirmAcceptDescription}),onSubmit:async()=>n({invitationUniqueId:i.uniqueId}).then(o=>{})})},a=i=>{t.openModal({title:e.confirmRejectTitle,confirmButtonLabel:e.acceptBtn,component:()=>w.jsx("div",{children:e.confirmRejectDescription}),onSubmit:async()=>!0})};return w.jsx(w.Fragment,{children:w.jsx(Fo,{selectable:!1,columns:PDe(e,r,a),queryHook:ane})})},MDe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Lo,{pageTitle:e.fbMenu.myInvitations,children:w.jsx(NDe,{})})})};function IDe(){return w.jsx(w.Fragment,{children:w.jsx(ht,{element:w.jsx(MDe,{}),path:"user-invitations"})})}class Ga extends wn{constructor(...t){super(...t),this.children=void 0,this.publicKey=void 0,this.coverLetter=void 0,this.targetUserLocale=void 0,this.email=void 0,this.phonenumber=void 0,this.workspace=void 0,this.firstName=void 0,this.lastName=void 0,this.forceEmailAddress=void 0,this.forcePhoneNumber=void 0,this.role=void 0,this.roleId=void 0}}Ga.Navigation={edit(e,t){return`${t?"/"+t:".."}/workspace-invite/edit/${e}`},create(e){return`${e?"/"+e:".."}/workspace-invite/new`},single(e,t){return`${t?"/"+t:".."}/workspace-invite/${e}`},query(e={},t){return`${t?"/"+t:".."}/workspace-invites`},Redit:"workspace-invite/edit/:uniqueId",Rcreate:"workspace-invite/new",Rsingle:"workspace-invite/:uniqueId",Rquery:"workspace-invites"};Ga.definition={rpc:{query:{}},name:"workspaceInvite",features:{},gormMap:{},fields:[{name:"publicKey",description:"A long hash to get the user into the confirm or signup page without sending the email or phone number, for example if an administrator wants to copy the link.",type:"string",computedType:"string",gormMap:{}},{name:"coverLetter",description:"The content that user will receive to understand the reason of the letter.",type:"string",computedType:"string",gormMap:{}},{name:"targetUserLocale",description:"If the invited person has a different language, then you can define that so the interface for him will be automatically translated.",type:"string",computedType:"string",gormMap:{}},{name:"email",description:"The email address of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"phonenumber",description:"The phone number of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"workspace",description:"Workspace which user is being invite to.",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}},{name:"firstName",description:"First name of the person which is invited",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"lastName",description:"Last name of the person which is invited.",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"forceEmailAddress",description:"If forced, the email address cannot be changed by the user which has been invited.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePhoneNumber",description:"If forced, user cannot change the phone number and needs to complete signup.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"role",description:"The role which invitee get if they accept the request.",type:"one",target:"RoleEntity",validate:"required",computedType:"RoleEntity",gormMap:{}}],cliShort:"invite",description:"Active invitations for non-users or already users to join an specific workspace, created by administration of the workspace"};Ga.Fields={...wn.Fields,publicKey:"publicKey",coverLetter:"coverLetter",targetUserLocale:"targetUserLocale",email:"email",phonenumber:"phonenumber",workspace$:"workspace",workspace:vi.Fields,firstName:"firstName",lastName:"lastName",forceEmailAddress:"forceEmailAddress",forcePhoneNumber:"forcePhoneNumber",roleId:"roleId",role$:"role",role:ni.Fields};function ine({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(Je),l=t?t(i):o?o(i):bt(i);let d=`${"/workspace-invite/:uniqueId".substr(1)}?${new URLSearchParams(zt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,p=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!p&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.WorkspaceInviteEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function DDe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace-invite".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("PATCH",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceInviteEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}function $De(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(Je),o=r?r(a):i?i(a):bt(a);let u=`${"/workspace/invite".substr(1)}?${new URLSearchParams(zt(n)).toString()}`;const f=un(p=>o("POST",u,p)),g=(p,v)=>{var E;return p?(p.data&&(v!=null&&v.data)&&(p.data.items=[v.data,...((E=p==null?void 0:p.data)==null?void 0:E.items)||[]]),p):{data:{items:[]}}};return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){t==null||t.setQueryData("*abac.WorkspaceInviteEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const LDe={targetLocaleHint:"If the user has a different language available, the initial interface will be on th selected value.",forcedEmailAddress:"Force Email Address",forcedEmailAddressHint:"If checked, user can only make the invitation using this email address, and won't be able to change it. If account exists, they need to accept invitation there.",forcedPhone:"Force Phone Number",forcedPhoneHint:"If checked, user only can create or join using this phone number",coverLetter:"Cover letter",coverLetterHint:"The invitation text that user would get over sms or email, you can modify it here.",targetLocale:"Target Locale"},FDe={targetLocaleHint:"Jeśli użytkownik ma dostępny inny język, interfejs początkowy będzie ustawiony na wybraną wartość.",coverLetter:"List motywacyjny",coverLetterHint:"Treść zaproszenia, którą użytkownik otrzyma przez SMS lub e-mail – możesz ją tutaj edytować.",forcedEmailAddress:"Wymuszony adres e-mail",forcedEmailAddressHint:"Jeśli zaznaczone, użytkownik może wysłać zaproszenie tylko na ten adres e-mail i nie będzie mógł go zmienić. Jeśli konto już istnieje, użytkownik musi zaakceptować zaproszenie na tym koncie.",forcedPhone:"Wymuszony numer telefonu",forcedPhoneHint:"Jeśli zaznaczone, użytkownik może utworzyć konto lub dołączyć tylko przy użyciu tego numeru telefonu",targetLocale:"Docelowy język"},one={...LDe,$pl:FDe},jDe=({form:e,isEditing:t})=>{const n=At(),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(one),u=Nte(n),d=js(u);return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"row",children:[w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.firstName,onChange:f=>i(Ga.Fields.firstName,f,!1),errorMessage:o.firstName,label:n.wokspaces.invite.firstName,autoFocus:!t,hint:n.wokspaces.invite.firstNameHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.lastName,onChange:f=>i(Ga.Fields.lastName,f,!1),errorMessage:o.lastName,label:n.wokspaces.invite.lastName,hint:n.wokspaces.invite.lastNameHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(ca,{keyExtractor:f=>f.value,formEffect:{form:e,field:Ga.Fields.targetUserLocale,beforeSet(f){return f.value}},errorMessage:e.errors.targetUserLocale,querySource:d,label:l.targetLocale,hint:l.targetLocaleHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(rF,{value:r.coverLetter,onChange:f=>i(Ga.Fields.coverLetter,f,!1),forceBasic:!0,errorMessage:o.coverLetter,label:l.coverLetter,placeholder:l.coverLetterHint,hint:l.coverLetterHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(ca,{formEffect:{field:Ga.Fields.role$,form:e},querySource:Hd,label:n.wokspaces.invite.role,errorMessage:o.roleId,fnLabelFormat:f=>f.name,hint:n.wokspaces.invite.roleHint})})]}),w.jsxs("div",{className:"row",children:[w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.email,onChange:f=>i(Ga.Fields.email,f,!1),errorMessage:o.email,label:n.wokspaces.invite.email,hint:n.wokspaces.invite.emailHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(ml,{value:r.forceEmailAddress,onChange:f=>i(Ga.Fields.forceEmailAddress,f),errorMessage:o.forceEmailAddress,label:l.forcedEmailAddress,hint:l.forcedEmailAddressHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.phonenumber,onChange:f=>i(Ga.Fields.phonenumber,f,!1),errorMessage:o.phonenumber,type:"phonenumber",label:n.wokspaces.invite.phoneNumber,hint:n.wokspaces.invite.phoneNumberHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(ml,{value:r.forcePhoneNumber,onChange:f=>i(Ga.Fields.forcePhoneNumber,f),errorMessage:o.forcePhoneNumber,label:l.forcedPhone,hint:l.forcedPhoneHint})})]})]})},yW=({data:e})=>{const t=At(),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=ine({query:{uniqueId:r},queryClient:a}),l=$De({queryClient:a}),u=DDe({queryClient:a});return w.jsx(jo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{n.goBackOrDefault(`/${i}/workspace-invites`)},onFinishUriResolver:(d,f)=>`/${f}/workspace-invites`,Form:jDe,onEditTitle:t.wokspaces.invite.editInvitation,onCreateTitle:t.wokspaces.invite.createInvitation,data:e})},UDe=()=>{var o;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Kt(one),a=ine({query:{uniqueId:n}});var i=(o=a.query.data)==null?void 0:o.data;return Ux((i==null?void 0:i.firstName)+" "+(i==null?void 0:i.lastName)||""),w.jsx(w.Fragment,{children:w.jsx(ro,{getSingleHook:a,editEntityHandler:()=>e.push(Ga.Navigation.edit(n)),children:w.jsx(ao,{entity:i,fields:[{label:t.wokspaces.invite.firstName,elem:i==null?void 0:i.firstName},{label:t.wokspaces.invite.lastName,elem:i==null?void 0:i.lastName},{label:t.wokspaces.invite.email,elem:i==null?void 0:i.email},{label:t.wokspaces.invite.phoneNumber,elem:i==null?void 0:i.phonenumber},{label:r.forcedEmailAddress,elem:i==null?void 0:i.forceEmailAddress},{label:r.forcedPhone,elem:i==null?void 0:i.forcePhoneNumber},{label:r.targetLocale,elem:i==null?void 0:i.targetUserLocale}]})})})},BDe=e=>[{name:Ga.Fields.uniqueId,title:e.table.uniqueId,width:100},{name:"firstName",title:e.wokspaces.invite.firstName,width:100},{name:"lastName",title:e.wokspaces.invite.lastName,width:100},{name:"phoneNumber",title:e.wokspaces.invite.phoneNumber,width:100},{name:"email",title:e.wokspaces.invite.email,width:100},{name:"role_id",title:e.wokspaces.invite.role,width:100,getCellValue:t=>{var n;return(n=t==null?void 0:t.role)==null?void 0:n.name}}];function sne({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(Je),u=i?i(o):o,d=r?r(u):l?l(u):bt(u);let g=`${"/workspace-invites".substr(1)}?${Ca.stringify(t)}`;const y=()=>d("GET",g),p=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=p!="undefined"&&p!=null&&p!=null&&p!="null"&&!!p;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.WorkspaceInviteEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}sne.UKEY="*abac.WorkspaceInviteEntity";function WDe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(Je),o=t?t(a):i?i(a):bt(a);let u=`${"/workspace-invite".substr(1)}?${new URLSearchParams(zt(r)).toString()}`;const f=un(p=>o("DELETE",u,p)),g=(p,v)=>p;return{mutation:f,submit:(p,v)=>new Promise((E,T)=>{f.mutate(p,{onSuccess(C){n==null||n.setQueryData("*abac.WorkspaceInviteEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.WorkspaceInviteEntity"),E(C)},onError(C){v==null||v.setErrors(Sn(C)),T(C)}})}),fnUpdater:g}}const zDe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{columns:BDe(e),queryHook:sne,uniqueIdHrefHandler:t=>Ga.Navigation.single(t),deleteHook:WDe})})},qDe=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Lo,{pageTitle:e.fbMenu.workspaceInvites,newEntityHandler:({locale:t,router:n})=>{n.push(Ga.Navigation.create())},children:w.jsx(zDe,{})})})};function HDe(){return w.jsxs(w.Fragment,{children:[w.jsx(ht,{element:w.jsx(yW,{}),path:Ga.Navigation.Rcreate}),w.jsx(ht,{element:w.jsx(yW,{}),path:Ga.Navigation.Redit}),w.jsx(ht,{element:w.jsx(UDe,{}),path:Ga.Navigation.Rsingle}),w.jsx(ht,{element:w.jsx(qDe,{}),path:Ga.Navigation.Rquery})]})}const VDe=()=>{const e=Kt(xa);return w.jsxs(w.Fragment,{children:[w.jsx(Mo,{title:e.home.title,description:e.home.description}),w.jsx("h2",{children:w.jsx(XD,{to:"passports",children:e.home.passportsTitle})}),w.jsx("p",{children:e.home.passportsDescription}),w.jsx(XD,{to:"passports",className:"btn btn-success btn-sm",children:e.home.passportsTitle})]})},GDe=()=>{const e=Kt(xa),{goBack:t,query:n}=xr(),{mutation:r}=Ite(),a=Cc({initialValues:{},onSubmit:()=>{alert("done")}});return{mutation:r,form:a,goBack:t,s:e}},YDe=()=>{var i,o;const{s:e}=GDe(),{query:t}=qS({queryOptions:{cacheTime:50},query:{}}),n=((o=(i=t.data)==null?void 0:i.data)==null?void 0:o.items)||[],{selectedUrw:r,selectUrw:a}=R.useContext(Je);return w.jsxs("div",{className:"signin-form-container",children:[w.jsxs("div",{className:"mb-4",children:[w.jsx("h1",{className:"h3",children:e.selectWorkspaceTitle}),w.jsx("p",{className:"text-muted",children:e.selectWorkspace})]}),n.map(l=>w.jsxs("div",{className:"mb-4",children:[w.jsx("h2",{className:"h5",children:l.name}),w.jsx("div",{className:"d-flex flex-wrap gap-2 mt-2",children:l.roles.map(u=>w.jsxs("button",{className:"btn btn-outline-primary w-100",onClick:()=>a({workspaceId:l.uniqueId,roleId:u.uniqueId}),children:["Select (",u.name,")"]},u.uniqueId))})]},l.uniqueId))]})};function KDe(){return w.jsxs(w.Fragment,{children:[w.jsxs(ht,{path:"selfservice",children:[w.jsx(ht,{path:"welcome",element:w.jsx(UMe,{})}),w.jsx(ht,{path:"email",element:w.jsx(mW,{method:As.Email})}),w.jsx(ht,{path:"phone",element:w.jsx(mW,{method:As.Phone})}),w.jsx(ht,{path:"totp-setup",element:w.jsx(TIe,{})}),w.jsx(ht,{path:"totp-enter",element:w.jsx(xIe,{})}),w.jsx(ht,{path:"complete",element:w.jsx(LIe,{})}),w.jsx(ht,{path:"password",element:w.jsx(qIe,{})}),w.jsx(ht,{path:"otp",element:w.jsx(QIe,{})})]}),w.jsx(ht,{path:"*",element:w.jsx(JL,{to:"/en/selfservice/welcome",replace:!0})})]})}function XDe(){const e=cDe(),t=xDe(),n=IDe(),r=HDe();return w.jsxs(ht,{path:"selfservice",children:[w.jsx(ht,{path:"passports",element:w.jsx(yMe,{})}),w.jsx(ht,{path:"change-password/:uniqueId",element:w.jsx(SMe,{})}),e,t,n,r,w.jsx(ht,{path:"",element:w.jsx(BF,{children:w.jsx(VDe,{})})})]})}function QDe({children:e,routerId:t}){const n=At();kde();const{locale:r}=sr(),{config:a}=R.useContext(Jp),i=hQ(),o=XDe(),l=iRe(),u=V2e();return w.jsx(Ype,{affix:n.productName,children:w.jsxs(jK,{children:[w.jsx(ht,{path:"/",element:w.jsx(JL,{to:kr.DEFAULT_ROUTE.replace("{locale}",a.interfaceLanguage||r||"en"),replace:!0})}),w.jsxs(ht,{path:":locale",element:w.jsx(She,{routerId:t,sidebarMenu:i}),children:[w.jsx(ht,{path:"settings",element:w.jsx(BF,{children:w.jsx(mMe,{})})}),o,l,u,e,w.jsx(ht,{path:"*",element:w.jsx(nU,{})})]}),w.jsx(ht,{path:"*",element:w.jsx(nU,{})})]})})}const lne=e=>{sr();const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,errorMessage:u,type:d,focused:f=!1,autoFocus:g,...y}=e,[p,v]=R.useState(!1),E=R.useRef(),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(qd,{focused:p,onClick:T,...e,children:w.jsx("input",{type:"date",className:"form-control",value:e.value,onChange:C=>e.onChange&&e.onChange(C.target.value),...e.inputProps})})};function qF(e,t){const[n,r]=R.useState(()=>{try{const a=localStorage.getItem(e);return a===null?t:JSON.parse(a)}catch(a){return console.error(`Error parsing localStorage key "${e}":`,a),t}});return R.useEffect(()=>{try{localStorage.setItem(e,JSON.stringify(n))}catch(a){console.error(`Error saving to localStorage key "${e}":`,a)}},[e,n]),[n,r]}function bW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ob(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var qP={};function JDe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return qP[t]||(qP[t]=ZDe(e)),qP[t]}function e$e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),a=JDe(r);return a.reduce(function(i,o){return ob(ob({},i),n[o])},t)}function wW(e){return e.join(" ")}function t$e(e,t){var n=0;return function(r){return n+=1,r.map(function(a,i){return une({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function une(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,l=t.properties,u=t.type,d=t.tagName,f=t.value;if(u==="text")return f;if(d){var g=t$e(n,i),y;if(!i)y=ob(ob({},l),{},{className:wW(l.className)});else{var p=Object.keys(n).reduce(function(C,k){return k.split(".").forEach(function(_){C.includes(_)||C.push(_)}),C},[]),v=l.className&&l.className.includes("token")?["token"]:[],E=l.className&&v.concat(l.className.filter(function(C){return!p.includes(C)}));y=ob(ob({},l),{},{className:wW(E)||void 0,style:e$e(l.className,Object.assign({},l.style,a),n)})}var T=g(t.children);return ze.createElement(d,vt({key:o},y),T)}}const n$e=(function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1});var r$e=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function SW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Up(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return rk({children:P,lineNumber:N,lineNumberStyle:l,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:u,wrapLines:t})}function E(P,N){if(r&&N&&a){var I=dne(l,N,o);P.unshift(cne(N,I))}return P}function T(P,N){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||I.length>0?v(P,N,I):E(P,N)}for(var C=function(){var N=f[p],I=N.children[0].value,L=i$e(I);if(L){var j=I.split(` + */var iDe={L:Nb.QrCode.Ecc.LOW,M:Nb.QrCode.Ecc.MEDIUM,Q:Nb.QrCode.Ecc.QUARTILE,H:Nb.QrCode.Ecc.HIGH},One=128,Rne="L",Pne="#FFFFFF",Ane="#000000",Nne=!1,Mne=1,oDe=4,sDe=0,lDe=.1;function Ine(e,t=0){const n=[];return e.forEach(function(r,a){let i=null;r.forEach(function(o,l){if(!o&&i!==null){n.push(`M${i+t} ${a+t}h${l-i}v1H${i+t}z`),i=null;return}if(l===r.length-1){if(!o)return;i===null?n.push(`M${l+t},${a+t} h1v1H${l+t}z`):n.push(`M${i+t},${a+t} h${l+1-i}v1H${i+t}z`);return}o&&i===null&&(i=l)})}),n.join("")}function Dne(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((a,i)=>i=t.x+t.w?a:!1))}function uDe(e,t,n,r){if(r==null)return null;const a=e.length+n*2,i=Math.floor(t*lDe),o=a/t,l=(r.width||i)*o,u=(r.height||i)*o,d=r.x==null?e.length/2-l/2:r.x*o,f=r.y==null?e.length/2-u/2:r.y*o,g=r.opacity==null?1:r.opacity;let y=null;if(r.excavate){let v=Math.floor(d),E=Math.floor(f),T=Math.ceil(l+d-v),C=Math.ceil(u+f-E);y={x:v,y:E,w:T,h:C}}const h=r.crossOrigin;return{x:d,y:f,h:u,w:l,excavation:y,opacity:g,crossOrigin:h}}function cDe(e,t){return t!=null?Math.max(Math.floor(t),0):e?oDe:sDe}function $ne({value:e,level:t,minVersion:n,includeMargin:r,marginSize:a,imageSettings:i,size:o,boostLevel:l}){let u=ze.useMemo(()=>{const v=(Array.isArray(e)?e:[e]).reduce((E,T)=>(E.push(...Nb.QrSegment.makeSegments(T)),E),[]);return Nb.QrCode.encodeSegments(v,iDe[t],n,void 0,void 0,l)},[e,t,n,l]);const{cells:d,margin:f,numCells:g,calculatedImageSettings:y}=ze.useMemo(()=>{let h=u.getModules();const v=cDe(r,a),E=h.length+v*2,T=uDe(h,o,v,i);return{cells:h,margin:v,numCells:E,calculatedImageSettings:T}},[u,o,i,r,a]);return{qrcode:u,margin:f,cells:d,numCells:g,calculatedImageSettings:y}}var dDe=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),fDe=ze.forwardRef(function(t,n){const r=t,{value:a,size:i=One,level:o=Rne,bgColor:l=Pne,fgColor:u=Ane,includeMargin:d=Nne,minVersion:f=Mne,boostLevel:g,marginSize:y,imageSettings:h}=r,E=b3(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:T}=E,C=b3(E,["style"]),k=h==null?void 0:h.src,_=ze.useRef(null),A=ze.useRef(null),P=ze.useCallback(ge=>{_.current=ge,typeof n=="function"?n(ge):n&&(n.current=ge)},[n]),[N,I]=ze.useState(!1),{margin:L,cells:j,numCells:z,calculatedImageSettings:Q}=$ne({value:a,level:o,minVersion:f,boostLevel:g,includeMargin:d,marginSize:y,imageSettings:h,size:i});ze.useEffect(()=>{if(_.current!=null){const ge=_.current,me=ge.getContext("2d");if(!me)return;let W=j;const G=A.current,q=Q!=null&&G!==null&&G.complete&&G.naturalHeight!==0&&G.naturalWidth!==0;q&&Q.excavation!=null&&(W=Dne(j,Q.excavation));const ce=window.devicePixelRatio||1;ge.height=ge.width=i*ce;const H=i/z*ce;me.scale(H,H),me.fillStyle=l,me.fillRect(0,0,z,z),me.fillStyle=u,dDe?me.fill(new Path2D(Ine(W,L))):j.forEach(function(Y,ie){Y.forEach(function(J,ee){J&&me.fillRect(ee+L,ie+L,1,1)})}),Q&&(me.globalAlpha=Q.opacity),q&&me.drawImage(G,Q.x+L,Q.y+L,Q.w,Q.h)}}),ze.useEffect(()=>{I(!1)},[k]);const le=y3({height:i,width:i},T);let re=null;return k!=null&&(re=ze.createElement("img",{src:k,key:k,style:{display:"none"},onLoad:()=>{I(!0)},ref:A,crossOrigin:Q==null?void 0:Q.crossOrigin})),ze.createElement(ze.Fragment,null,ze.createElement("canvas",y3({style:le,height:i,width:i,ref:P,role:"img"},C)),re)});fDe.displayName="QRCodeCanvas";var Lne=ze.forwardRef(function(t,n){const r=t,{value:a,size:i=One,level:o=Rne,bgColor:l=Pne,fgColor:u=Ane,includeMargin:d=Nne,minVersion:f=Mne,boostLevel:g,title:y,marginSize:h,imageSettings:v}=r,E=b3(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:T,cells:C,numCells:k,calculatedImageSettings:_}=$ne({value:a,level:o,minVersion:f,boostLevel:g,includeMargin:d,marginSize:h,imageSettings:v,size:i});let A=C,P=null;v!=null&&_!=null&&(_.excavation!=null&&(A=Dne(C,_.excavation)),P=ze.createElement("image",{href:v.src,height:_.h,width:_.w,x:_.x+T,y:_.y+T,preserveAspectRatio:"none",opacity:_.opacity,crossOrigin:_.crossOrigin}));const N=Ine(A,T);return ze.createElement("svg",y3({height:i,width:i,viewBox:`0 0 ${k} ${k}`,ref:n,role:"img"},E),!!y&&ze.createElement("title",null,y),ze.createElement("path",{fill:l,d:`M0,0 h${k}v${k}H0z`,shapeRendering:"crispEdges"}),ze.createElement("path",{fill:u,d:N,shapeRendering:"crispEdges"}),P)});Lne.displayName="QRCodeSVG";const _1={backspace:8,left:37,up:38,right:39,down:40};class BE extends R.Component{constructor(t){super(t),this.__clearvalues__=()=>{const{fields:o}=this.props;this.setState({values:Array(o).fill("")}),this.iRefs[0].current.focus()},this.triggerChange=(o=this.state.values)=>{const{onChange:l,onComplete:u,fields:d}=this.props,f=o.join("");l&&l(f),u&&f.length>=d&&u(f)},this.onChange=o=>{const l=parseInt(o.target.dataset.id);if(this.props.type==="number"&&(o.target.value=o.target.value.replace(/[^\d]/gi,"")),o.target.value===""||this.props.type==="number"&&!o.target.validity.valid)return;const{fields:u}=this.props;let d;const f=o.target.value;let{values:g}=this.state;if(g=Object.assign([],g),f.length>1){let y=f.length+l-1;y>=u&&(y=u-1),d=this.iRefs[y],f.split("").forEach((v,E)=>{const T=l+E;T{const l=parseInt(o.target.dataset.id),u=l-1,d=l+1,f=this.iRefs[u],g=this.iRefs[d];switch(o.keyCode){case _1.backspace:o.preventDefault();const y=[...this.state.values];this.state.values[l]?(y[l]="",this.setState({values:y}),this.triggerChange(y)):f&&(y[u]="",f.current.focus(),this.setState({values:y}),this.triggerChange(y));break;case _1.left:o.preventDefault(),f&&f.current.focus();break;case _1.right:o.preventDefault(),g&&g.current.focus();break;case _1.up:case _1.down:o.preventDefault();break}},this.onFocus=o=>{o.target.select(o)};const{fields:n,values:r}=t;let a,i=0;if(r&&r.length){a=[];for(let o=0;o=n?0:r.length}else a=Array(n).fill("");this.state={values:a,autoFocusIndex:i},this.iRefs=[];for(let o=0;ow.jsx("input",{type:f==="number"?"tel":f,pattern:f==="number"?"[0-9]*":null,autoFocus:u&&E===n,style:g,"data-id":E,value:v,id:this.props.id?`${this.props.id}-${E}`:null,ref:this.iRefs[E],onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,disabled:this.props.disabled,required:this.props.required,placeholder:this.props.placeholder[E]},`${this.id}-${E}`))}),r&&w.jsxs("div",{className:"rc-loading",style:h,children:[w.jsx("div",{className:"rc-blur"}),w.jsx("svg",{className:"rc-spin",viewBox:"0 0 1024 1024","data-icon":"loading",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:w.jsx("path",{fill:"#006fff",d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"})})]})]})}}BE.propTypes={type:Ye.oneOf(["text","number"]),onChange:Ye.func,onComplete:Ye.func,fields:Ye.number,loading:Ye.bool,title:Ye.string,fieldWidth:Ye.number,id:Ye.string,fieldHeight:Ye.number,autoFocus:Ye.bool,className:Ye.string,values:Ye.arrayOf(Ye.string),disabled:Ye.bool,required:Ye.bool,placeholder:Ye.arrayOf(Ye.string)};BE.defaultProps={type:"number",fields:6,fieldWidth:58,fieldHeight:54,autoFocus:!0,disabled:!1,required:!1,placeholder:[]};var oE;function Ui(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var pDe=0;function jv(e){return"__private_"+pDe+++"_"+e}const hDe=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),Sh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class Sh{}oE=Sh;Sh.URL="/passport/totp/confirm";Sh.NewUrl=e=>Nl(oE.URL,void 0,e);Sh.Method="post";Sh.Fetch$=async(e,t,n,r)=>Rl(r??oE.NewUrl(e),{method:oE.Method,...n||{}},t);Sh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new cv(o)})=>{t=t||(l=>new cv(l));const o=await oE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Sh.Definition={name:"ConfirmClassicPassportTotp",url:"/passport/totp/confirm",method:"post",description:"When user requires to setup the totp for an specifc passport, they can use this endpoint to confirm it.",in:{fields:[{name:"value",description:"Passport value, email or phone number which is already successfully registered.",type:"string",tags:{validate:"required"}},{name:"password",description:"Password related to the passport. Totp is only available for passports with a password. Basically totp is protecting passport, not otp over email or sms.",type:"string",tags:{validate:"required"}},{name:"totpCode",description:"The totp code generated by authenticator such as google or microsft apps.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",type:"one",target:"UserSessionDto"}]}};var pg=jv("value"),hg=jv("password"),mg=jv("totpCode"),wA=jv("isJsonAppliable");class Kp{get value(){return Ui(this,pg)[pg]}set value(t){Ui(this,pg)[pg]=String(t)}setValue(t){return this.value=t,this}get password(){return Ui(this,hg)[hg]}set password(t){Ui(this,hg)[hg]=String(t)}setPassword(t){return this.password=t,this}get totpCode(){return Ui(this,mg)[mg]}set totpCode(t){Ui(this,mg)[mg]=String(t)}setTotpCode(t){return this.totpCode=t,this}constructor(t=void 0){if(Object.defineProperty(this,wA,{value:mDe}),Object.defineProperty(this,pg,{writable:!0,value:""}),Object.defineProperty(this,hg,{writable:!0,value:""}),Object.defineProperty(this,mg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Ui(this,wA)[wA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.password!==void 0&&(this.password=n.password),n.totpCode!==void 0&&(this.totpCode=n.totpCode)}toJSON(){return{value:Ui(this,pg)[pg],password:Ui(this,hg)[hg],totpCode:Ui(this,mg)[mg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",password:"password",totpCode:"totpCode"}}static from(t){return new Kp(t)}static with(t){return new Kp(t)}copyWith(t){return new Kp({...this.toJSON(),...t})}clone(){return new Kp(this.toJSON())}}function mDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var hd=jv("session"),SA=jv("isJsonAppliable"),O1=jv("lateInitFields");class cv{get session(){return Ui(this,hd)[hd]}set session(t){t instanceof Ta?Ui(this,hd)[hd]=t:Ui(this,hd)[hd]=new Ta(t)}setSession(t){return this.session=t,this}constructor(t=void 0){if(Object.defineProperty(this,O1,{value:vDe}),Object.defineProperty(this,SA,{value:gDe}),Object.defineProperty(this,hd,{writable:!0,value:void 0}),t==null){Ui(this,O1)[O1]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Ui(this,SA)[SA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),Ui(this,O1)[O1](t)}toJSON(){return{session:Ui(this,hd)[hd]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return ah("session",Ta.Fields)}}}static from(t){return new cv(t)}static with(t){return new cv(t)}copyWith(t){return new cv({...this.toJSON(),...t})}clone(){return new cv(this.toJSON())}}function gDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function vDe(e={}){const t=e;t.session instanceof Ta||(this.session=new Ta(t.session||{}))}const yDe=()=>{const{goBack:e,state:t}=xr(),n=hDe(),{onComplete:r}=UE(),a=t==null?void 0:t.totpUrl,i=t==null?void 0:t.forcedTotp,o=t==null?void 0:t.password,l=t==null?void 0:t.value,u=g=>{n.mutateAsync(new Kp({...g,password:o,value:l})).then(f).catch(y=>{d==null||d.setErrors(f0(y))})},d=Jd({initialValues:{},onSubmit:u}),f=g=>{var y,h;(h=(y=g.data)==null?void 0:y.item)!=null&&h.session&&r(g)};return{mutation:n,totpUrl:a,forcedTotp:i,form:d,submit:u,goBack:e}},bDe=({})=>{const{goBack:e,mutation:t,form:n,totpUrl:r,forcedTotp:a}=yDe(),i=Kt(xa);return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:i.setupTotp}),w.jsx("p",{children:i.setupTotpDescription}),w.jsx(Al,{query:t}),w.jsx(wDe,{form:n,totpUrl:r,mutation:t,forcedTotp:a}),w.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:e,children:"Try another account"})]})},wDe=({form:e,mutation:t,forcedTotp:n,totpUrl:r})=>{var o;const a=Kt(xa),i=!e.values.totpCode||e.values.totpCode.length!=6;return w.jsxs("form",{onSubmit:l=>{l.preventDefault(),e.submitForm()},children:[w.jsx("center",{children:w.jsx(Lne,{value:r,width:200,height:200})}),w.jsx(BE,{values:(o=e.values.totpCode)==null?void 0:o.split(""),onChange:l=>e.setFieldValue(Kp.Fields.totpCode,l,!1),className:"otp-react-code-input"}),w.jsx(Us,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:i,children:a.continue}),n!==!0&&w.jsxs(w.Fragment,{children:[w.jsx("p",{className:"mt-4",children:a.skipTotpInfo}),w.jsx("button",{className:"btn btn-warning w-100 d-block mb-2",children:a.skipTotpButton})]})]})},SDe=()=>{const{goBack:e,state:t,replace:n,push:r}=xr(),a=kne(),{onComplete:i}=UE(),o=t==null?void 0:t.totpUrl,l=t==null?void 0:t.forcedTotp,u=t==null?void 0:t.password,d=t==null?void 0:t.value,f=h=>{a.mutateAsync(new wu({...h,password:u,value:d})).then(y).catch(v=>{g==null||g.setErrors(f0(v))})},g=Jd({initialValues:{},onSubmit:(h,v)=>{a.mutateAsync(new wu(h))}}),y=h=>{var v,E;(E=(v=h.data)==null?void 0:v.item)!=null&&E.session&&i(h)};return{mutation:a,totpUrl:o,forcedTotp:l,form:g,submit:f,goBack:e}},EDe=({})=>{const{goBack:e,mutation:t,form:n}=SDe(),r=Kt(xa);return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:r.enterTotp}),w.jsx("p",{children:r.enterTotpDescription}),w.jsx(Al,{query:t}),w.jsx(TDe,{form:n,mutation:t}),w.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:e,children:r.anotherAccount})]})},TDe=({form:e,mutation:t})=>{var a;const n=!e.values.totpCode||e.values.totpCode.length!=6,r=Kt(xa);return w.jsxs("form",{onSubmit:i=>{i.preventDefault(),e.submitForm()},children:[w.jsx(BE,{values:(a=e.values.totpCode)==null?void 0:a.split(""),onChange:i=>e.setFieldValue(Kp.Fields.totpCode,i,!1),className:"otp-react-code-input"}),w.jsx(Us,{className:"btn btn-success w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:n,children:r.continue})]})};var sE;function Cn(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var CDe=0;function oo(e){return"__private_"+CDe+++"_"+e}const kDe=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),Eh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class Eh{}sE=Eh;Eh.URL="/passports/signup/classic";Eh.NewUrl=e=>Nl(sE.URL,void 0,e);Eh.Method="post";Eh.Fetch$=async(e,t,n,r)=>Rl(r??sE.NewUrl(e),{method:sE.Method,...n||{}},t);Eh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new dv(o)})=>{t=t||(l=>new dv(l));const o=await sE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Eh.Definition={name:"ClassicSignup",cliName:"up",url:"/passports/signup/classic",method:"post",description:"Signup a user into system via public access (aka website visitors) using either email or phone number.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"sessionSecret",description:"Required when the account creation requires recaptcha, or otp approval first. If such requirements are there, you first need to follow the otp apis, get the session secret and pass it here to complete the setup.",type:"string"},{name:"type",type:"enum",of:[{k:"phonenumber"},{k:"email"}],tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"firstName",type:"string",tags:{validate:"required"}},{name:"lastName",type:"string",tags:{validate:"required"}},{name:"inviteId",type:"string?"},{name:"publicJoinKeyId",type:"string?"},{name:"workspaceTypeId",type:"string?",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Returns the user session in case that signup is completely successful.",type:"one",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"continueToTotp",description:"Returns true and session will be empty if, the totp is required by the installation. In such scenario, you need to forward user to setup totp screen.",type:"bool"},{name:"forcedTotp",description:"Determines if user must complete totp in order to continue based on workspace or installation",type:"bool"}]}};var gg=oo("value"),vg=oo("sessionSecret"),yg=oo("type"),bg=oo("password"),wg=oo("firstName"),Sg=oo("lastName"),Eg=oo("inviteId"),Tg=oo("publicJoinKeyId"),Cg=oo("workspaceTypeId"),EA=oo("isJsonAppliable");class bc{get value(){return Cn(this,gg)[gg]}set value(t){Cn(this,gg)[gg]=String(t)}setValue(t){return this.value=t,this}get sessionSecret(){return Cn(this,vg)[vg]}set sessionSecret(t){Cn(this,vg)[vg]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}get type(){return Cn(this,yg)[yg]}set type(t){Cn(this,yg)[yg]=t}setType(t){return this.type=t,this}get password(){return Cn(this,bg)[bg]}set password(t){Cn(this,bg)[bg]=String(t)}setPassword(t){return this.password=t,this}get firstName(){return Cn(this,wg)[wg]}set firstName(t){Cn(this,wg)[wg]=String(t)}setFirstName(t){return this.firstName=t,this}get lastName(){return Cn(this,Sg)[Sg]}set lastName(t){Cn(this,Sg)[Sg]=String(t)}setLastName(t){return this.lastName=t,this}get inviteId(){return Cn(this,Eg)[Eg]}set inviteId(t){const n=typeof t=="string"||t===void 0||t===null;Cn(this,Eg)[Eg]=n?t:String(t)}setInviteId(t){return this.inviteId=t,this}get publicJoinKeyId(){return Cn(this,Tg)[Tg]}set publicJoinKeyId(t){const n=typeof t=="string"||t===void 0||t===null;Cn(this,Tg)[Tg]=n?t:String(t)}setPublicJoinKeyId(t){return this.publicJoinKeyId=t,this}get workspaceTypeId(){return Cn(this,Cg)[Cg]}set workspaceTypeId(t){const n=typeof t=="string"||t===void 0||t===null;Cn(this,Cg)[Cg]=n?t:String(t)}setWorkspaceTypeId(t){return this.workspaceTypeId=t,this}constructor(t=void 0){if(Object.defineProperty(this,EA,{value:xDe}),Object.defineProperty(this,gg,{writable:!0,value:""}),Object.defineProperty(this,vg,{writable:!0,value:""}),Object.defineProperty(this,yg,{writable:!0,value:void 0}),Object.defineProperty(this,bg,{writable:!0,value:""}),Object.defineProperty(this,wg,{writable:!0,value:""}),Object.defineProperty(this,Sg,{writable:!0,value:""}),Object.defineProperty(this,Eg,{writable:!0,value:void 0}),Object.defineProperty(this,Tg,{writable:!0,value:void 0}),Object.defineProperty(this,Cg,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Cn(this,EA)[EA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.type!==void 0&&(this.type=n.type),n.password!==void 0&&(this.password=n.password),n.firstName!==void 0&&(this.firstName=n.firstName),n.lastName!==void 0&&(this.lastName=n.lastName),n.inviteId!==void 0&&(this.inviteId=n.inviteId),n.publicJoinKeyId!==void 0&&(this.publicJoinKeyId=n.publicJoinKeyId),n.workspaceTypeId!==void 0&&(this.workspaceTypeId=n.workspaceTypeId)}toJSON(){return{value:Cn(this,gg)[gg],sessionSecret:Cn(this,vg)[vg],type:Cn(this,yg)[yg],password:Cn(this,bg)[bg],firstName:Cn(this,wg)[wg],lastName:Cn(this,Sg)[Sg],inviteId:Cn(this,Eg)[Eg],publicJoinKeyId:Cn(this,Tg)[Tg],workspaceTypeId:Cn(this,Cg)[Cg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",sessionSecret:"sessionSecret",type:"type",password:"password",firstName:"firstName",lastName:"lastName",inviteId:"inviteId",publicJoinKeyId:"publicJoinKeyId",workspaceTypeId:"workspaceTypeId"}}static from(t){return new bc(t)}static with(t){return new bc(t)}copyWith(t){return new bc({...this.toJSON(),...t})}clone(){return new bc(this.toJSON())}}function xDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var md=oo("session"),kg=oo("totpUrl"),xg=oo("continueToTotp"),_g=oo("forcedTotp"),TA=oo("isJsonAppliable"),R1=oo("lateInitFields");class dv{get session(){return Cn(this,md)[md]}set session(t){t instanceof Ta?Cn(this,md)[md]=t:Cn(this,md)[md]=new Ta(t)}setSession(t){return this.session=t,this}get totpUrl(){return Cn(this,kg)[kg]}set totpUrl(t){Cn(this,kg)[kg]=String(t)}setTotpUrl(t){return this.totpUrl=t,this}get continueToTotp(){return Cn(this,xg)[xg]}set continueToTotp(t){Cn(this,xg)[xg]=!!t}setContinueToTotp(t){return this.continueToTotp=t,this}get forcedTotp(){return Cn(this,_g)[_g]}set forcedTotp(t){Cn(this,_g)[_g]=!!t}setForcedTotp(t){return this.forcedTotp=t,this}constructor(t=void 0){if(Object.defineProperty(this,R1,{value:ODe}),Object.defineProperty(this,TA,{value:_De}),Object.defineProperty(this,md,{writable:!0,value:void 0}),Object.defineProperty(this,kg,{writable:!0,value:""}),Object.defineProperty(this,xg,{writable:!0,value:void 0}),Object.defineProperty(this,_g,{writable:!0,value:void 0}),t==null){Cn(this,R1)[R1]();return}if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Cn(this,TA)[TA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.continueToTotp!==void 0&&(this.continueToTotp=n.continueToTotp),n.forcedTotp!==void 0&&(this.forcedTotp=n.forcedTotp),Cn(this,R1)[R1](t)}toJSON(){return{session:Cn(this,md)[md],totpUrl:Cn(this,kg)[kg],continueToTotp:Cn(this,xg)[xg],forcedTotp:Cn(this,_g)[_g]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return ah("session",Ta.Fields)},totpUrl:"totpUrl",continueToTotp:"continueToTotp",forcedTotp:"forcedTotp"}}static from(t){return new dv(t)}static with(t){return new dv(t)}copyWith(t){return new dv({...this.toJSON(),...t})}clone(){return new dv(this.toJSON())}}function _De(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function ODe(e={}){const t=e;t.session instanceof Ta||(this.session=new Ta(t.session||{}))}var lE;function Os(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var RDe=0;function WE(e){return"__private_"+RDe+++"_"+e}const PDe=e=>{const t=Ml(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),qd.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[qd.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class qd{}lE=qd;qd.URL="/workspace/public/types";qd.NewUrl=e=>Nl(lE.URL,void 0,e);qd.Method="get";qd.Fetch$=async(e,t,n,r)=>Rl(r??lE.NewUrl(e),{method:lE.Method,...n||{}},t);qd.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new fv(o)})=>{t=t||(l=>new fv(l));const o=await lE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};qd.Definition={name:"QueryWorkspaceTypesPublicly",cliName:"public-types",url:"/workspace/public/types",method:"get",description:"Returns the workspaces types available in the project publicly without authentication, and the value could be used upon signup to go different route.",out:{envelope:"GResponse",fields:[{name:"title",type:"string"},{name:"description",type:"string"},{name:"uniqueId",type:"string"},{name:"slug",type:"string"}]}};var Og=WE("title"),Rg=WE("description"),Pg=WE("uniqueId"),Ag=WE("slug"),CA=WE("isJsonAppliable");class fv{get title(){return Os(this,Og)[Og]}set title(t){Os(this,Og)[Og]=String(t)}setTitle(t){return this.title=t,this}get description(){return Os(this,Rg)[Rg]}set description(t){Os(this,Rg)[Rg]=String(t)}setDescription(t){return this.description=t,this}get uniqueId(){return Os(this,Pg)[Pg]}set uniqueId(t){Os(this,Pg)[Pg]=String(t)}setUniqueId(t){return this.uniqueId=t,this}get slug(){return Os(this,Ag)[Ag]}set slug(t){Os(this,Ag)[Ag]=String(t)}setSlug(t){return this.slug=t,this}constructor(t=void 0){if(Object.defineProperty(this,CA,{value:ADe}),Object.defineProperty(this,Og,{writable:!0,value:""}),Object.defineProperty(this,Rg,{writable:!0,value:""}),Object.defineProperty(this,Pg,{writable:!0,value:""}),Object.defineProperty(this,Ag,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Os(this,CA)[CA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.title!==void 0&&(this.title=n.title),n.description!==void 0&&(this.description=n.description),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.slug!==void 0&&(this.slug=n.slug)}toJSON(){return{title:Os(this,Og)[Og],description:Os(this,Rg)[Rg],uniqueId:Os(this,Pg)[Pg],slug:Os(this,Ag)[Ag]}}toString(){return JSON.stringify(this)}static get Fields(){return{title:"title",description:"description",uniqueId:"uniqueId",slug:"slug"}}static from(t){return new fv(t)}static with(t){return new fv(t)}copyWith(t){return new fv({...this.toJSON(),...t})}clone(){return new fv(this.toJSON())}}function ADe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const NDe=()=>{var k;const{goBack:e,state:t,push:n}=xr(),{locale:r}=sr(),{onComplete:a}=UE(),i=kDe(),o=t==null?void 0:t.totpUrl,{data:l,isLoading:u}=PDe({}),d=((k=l==null?void 0:l.data)==null?void 0:k.items)||[],f=Kt(xa),g=sessionStorage.getItem("workspace_type_id"),y=_=>{i.mutateAsync(new bc({..._,value:t==null?void 0:t.value,workspaceTypeId:C,type:t==null?void 0:t.type,sessionSecret:t==null?void 0:t.sessionSecret})).then(v).catch(A=>{h==null||h.setErrors(f0(A))})},h=Jd({initialValues:{},onSubmit:y});R.useEffect(()=>{h==null||h.setFieldValue(bc.Fields.value,t==null?void 0:t.value)},[t==null?void 0:t.value]);const v=_=>{_.data.item.session?a(_):_.data.item.continueToTotp&&n(`/${r}/selfservice/totp-setup`,void 0,{totpUrl:_.data.item.totpUrl||o,forcedTotp:_.data.item.forcedTotp,password:h.values.password,value:t==null?void 0:t.value})},[E,T]=R.useState("");let C=d.length===1?d[0].uniqueId:E;return g&&(C=g),{mutation:i,isLoading:u,form:h,setSelectedWorkspaceType:T,totpUrl:o,workspaceTypeId:C,submit:y,goBack:e,s:f,workspaceTypes:d,state:t}},MDe=({})=>{const{goBack:e,mutation:t,form:n,workspaceTypes:r,workspaceTypeId:a,isLoading:i,setSelectedWorkspaceType:o,s:l}=NDe();return i?w.jsx("div",{className:"signin-form-container",children:w.jsx(Tne,{})}):r.length===0?w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:l.registerationNotPossible}),w.jsx("p",{children:l.registerationNotPossibleLine1}),w.jsx("p",{children:l.registerationNotPossibleLine2})]}):r.length>=2&&!a?w.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[w.jsx("h1",{children:l.completeYourAccount}),w.jsx("p",{children:l.completeYourAccountDescription}),w.jsx("div",{className:" ",children:r.map(u=>w.jsxs("div",{className:"mt-3",children:[w.jsx("h2",{children:u.title}),w.jsx("p",{children:u.description}),w.jsx("button",{className:"btn btn-outline-primary w-100",onClick:()=>{o(u.uniqueId)},children:"Select"},u.uniqueId)]},u.uniqueId))})]}):w.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[w.jsx("h1",{children:l.completeYourAccount}),w.jsx("p",{children:l.completeYourAccountDescription}),w.jsx(Al,{query:t}),w.jsx(IDe,{form:n,mutation:t}),w.jsx("button",{id:"go-step-back",onClick:e,className:"bg-transparent border-0",children:l.cancelStep})]})},IDe=({form:e,mutation:t})=>{const n=Kt(xa),r=!e.values.firstName||!e.values.lastName||!e.values.password||e.values.password.length<6;return w.jsxs("form",{onSubmit:a=>{a.preventDefault(),e.submitForm()},children:[w.jsx(In,{value:e.values.firstName,label:n.firstName,id:"first-name-input",autoFocus:!0,errorMessage:e.errors.firstName,onChange:a=>e.setFieldValue(bc.Fields.firstName,a,!1)}),w.jsx(In,{value:e.values.lastName,label:n.lastName,id:"last-name-input",errorMessage:e.errors.lastName,onChange:a=>e.setFieldValue(bc.Fields.lastName,a,!1)}),w.jsx(In,{type:"password",value:e.values.password,label:n.password,id:"password-input",errorMessage:e.errors.password,onChange:a=>e.setFieldValue(bc.Fields.password,a,!1)}),w.jsx(Us,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:r,children:n.continue})]})};var uE;function Li(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var DDe=0;function Uv(e){return"__private_"+DDe+++"_"+e}const $De=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),Th.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class Th{}uE=Th;Th.URL="/workspace/passport/request-otp";Th.NewUrl=e=>Nl(uE.URL,void 0,e);Th.Method="post";Th.Fetch$=async(e,t,n,r)=>Rl(r??uE.NewUrl(e),{method:uE.Method,...n||{}},t);Th.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new pv(o)})=>{t=t||(l=>new pv(l));const o=await uE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Th.Definition={name:"ClassicPassportRequestOtp",cliName:"otp-request",url:"/workspace/passport/request-otp",method:"post",description:"Triggers an otp request, and will send an sms or email to the passport. This endpoint is not used for login, but rather makes a request at initial step. Later you can call classicPassportOtp to get in.",in:{fields:[{name:"value",description:"Passport value (email, phone number) which would be receiving the otp code.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}};var Ng=Uv("value"),kA=Uv("isJsonAppliable");class Mb{get value(){return Li(this,Ng)[Ng]}set value(t){Li(this,Ng)[Ng]=String(t)}setValue(t){return this.value=t,this}constructor(t=void 0){if(Object.defineProperty(this,kA,{value:LDe}),Object.defineProperty(this,Ng,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Li(this,kA)[kA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value)}toJSON(){return{value:Li(this,Ng)[Ng]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value"}}static from(t){return new Mb(t)}static with(t){return new Mb(t)}copyWith(t){return new Mb({...this.toJSON(),...t})}clone(){return new Mb(this.toJSON())}}function LDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var Mg=Uv("suspendUntil"),Ig=Uv("validUntil"),Dg=Uv("blockedUntil"),$g=Uv("secondsToUnblock"),xA=Uv("isJsonAppliable");class pv{get suspendUntil(){return Li(this,Mg)[Mg]}set suspendUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(Li(this,Mg)[Mg]=r)}setSuspendUntil(t){return this.suspendUntil=t,this}get validUntil(){return Li(this,Ig)[Ig]}set validUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(Li(this,Ig)[Ig]=r)}setValidUntil(t){return this.validUntil=t,this}get blockedUntil(){return Li(this,Dg)[Dg]}set blockedUntil(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(Li(this,Dg)[Dg]=r)}setBlockedUntil(t){return this.blockedUntil=t,this}get secondsToUnblock(){return Li(this,$g)[$g]}set secondsToUnblock(t){const r=typeof t=="number"?t:Number(t);Number.isNaN(r)||(Li(this,$g)[$g]=r)}setSecondsToUnblock(t){return this.secondsToUnblock=t,this}constructor(t=void 0){if(Object.defineProperty(this,xA,{value:FDe}),Object.defineProperty(this,Mg,{writable:!0,value:0}),Object.defineProperty(this,Ig,{writable:!0,value:0}),Object.defineProperty(this,Dg,{writable:!0,value:0}),Object.defineProperty(this,$g,{writable:!0,value:0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Li(this,xA)[xA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:Li(this,Mg)[Mg],validUntil:Li(this,Ig)[Ig],blockedUntil:Li(this,Dg)[Dg],secondsToUnblock:Li(this,$g)[$g]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(t){return new pv(t)}static with(t){return new pv(t)}copyWith(t){return new pv({...this.toJSON(),...t})}clone(){return new pv(this.toJSON())}}function FDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const jDe=()=>{const e=Kt(xa),{goBack:t,state:n,push:r}=xr(),{locale:a}=sr(),{onComplete:i}=UE(),o=kne(),l=n==null?void 0:n.canContinueOnOtp,u=$De(),d=h=>{o.mutateAsync(new wu({value:h.value,password:h.password})).then(y).catch(v=>{f==null||f.setErrors(f0(v))})},f=Jd({initialValues:{},onSubmit:d}),g=()=>{u.mutateAsync(new Mb({value:f.values.value})).then(h=>{r("../otp",void 0,{value:f.values.value})}).catch(h=>{h.error.message==="OtaRequestBlockedUntil"&&r("../otp",void 0,{value:f.values.value})})};R.useEffect(()=>{n!=null&&n.value&&f.setFieldValue(wu.Fields.value,n.value)},[n==null?void 0:n.value]);const y=h=>{var v,E;h.data.item.session?i(h):(v=h.data.item.next)!=null&&v.includes("enter-totp")?r(`/${a}/selfservice/totp-enter`,void 0,{value:f.values.value,password:f.values.password}):(E=h.data.item.next)!=null&&E.includes("setup-totp")&&r(`/${a}/selfservice/totp-setup`,void 0,{totpUrl:h.data.item.totpUrl,forcedTotp:!0,password:f.values.password,value:n==null?void 0:n.value})};return{mutation:o,otpEnabled:l,continueWithOtp:g,form:f,submit:d,goBack:t,s:e}},UDe=({})=>{const{goBack:e,mutation:t,form:n,continueWithOtp:r,otpEnabled:a,s:i}=jDe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:i.enterPassword}),w.jsx("p",{children:i.enterPasswordDescription}),w.jsx(Al,{query:t}),w.jsx(BDe,{form:n,mutation:t,continueWithOtp:r,otpEnabled:a}),w.jsx("button",{id:"go-back-button",onClick:e,className:"btn bg-transparent w-100 mt-4",children:i.anotherAccount})]})},BDe=({form:e,mutation:t,otpEnabled:n,continueWithOtp:r})=>{const a=Kt(xa),i=!e.values.value||!e.values.password;return w.jsxs("form",{onSubmit:o=>{o.preventDefault(),e.submitForm()},children:[w.jsx(In,{type:"password",value:e.values.password,label:a.password,id:"password-input",autoFocus:!0,errorMessage:e.errors.password,onChange:o=>e.setFieldValue(wu.Fields.password,o,!1)}),w.jsx(Us,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:i,children:a.continue}),n&&w.jsx("button",{onClick:r,className:"bg-transparent border-0 mt-3 mb-3",children:a.useOneTimePassword})]})};var cE;function Fa(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var WDe=0;function Ch(e){return"__private_"+WDe+++"_"+e}const zDe=e=>{const t=Ml(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),kh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result))),...e||{}}),isCompleted:r,response:i}};class kh{}cE=kh;kh.URL="/workspace/passport/otp";kh.NewUrl=e=>Nl(cE.URL,void 0,e);kh.Method="post";kh.Fetch$=async(e,t,n,r)=>Rl(r??cE.NewUrl(e),{method:cE.Method,...n||{}},t);kh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new mv(o)})=>{t=t||(l=>new mv(l));const o=await cE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};kh.Definition={name:"ClassicPassportOtp",cliName:"otp",url:"/workspace/passport/otp",method:"post",description:"Authenticate the user publicly for classic methods using communication service, such as sms, call, or email. You need to call classicPassportRequestOtp beforehand to send a otp code, and then validate it with this API. Also checkClassicPassport action might already sent the otp, so make sure you don't send it twice.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"otp",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Upon successful authentication, there will be a session dto generated, which is a ground information of authorized user and can be stored in front-end.",type:"one?",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"sessionSecret",description:"The session secret will be used to call complete user registration api.",type:"string"},{name:"continueWithCreation",description:"If return true, means the OTP is correct and user needs to be created before continue the authentication process.",type:"bool"}]}};var Lg=Ch("value"),Fg=Ch("otp"),_A=Ch("isJsonAppliable");class hv{get value(){return Fa(this,Lg)[Lg]}set value(t){Fa(this,Lg)[Lg]=String(t)}setValue(t){return this.value=t,this}get otp(){return Fa(this,Fg)[Fg]}set otp(t){Fa(this,Fg)[Fg]=String(t)}setOtp(t){return this.otp=t,this}constructor(t=void 0){if(Object.defineProperty(this,_A,{value:qDe}),Object.defineProperty(this,Lg,{writable:!0,value:""}),Object.defineProperty(this,Fg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Fa(this,_A)[_A](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.value!==void 0&&(this.value=n.value),n.otp!==void 0&&(this.otp=n.otp)}toJSON(){return{value:Fa(this,Lg)[Lg],otp:Fa(this,Fg)[Fg]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",otp:"otp"}}static from(t){return new hv(t)}static with(t){return new hv(t)}copyWith(t){return new hv({...this.toJSON(),...t})}clone(){return new hv(this.toJSON())}}function qDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var gd=Ch("session"),jg=Ch("totpUrl"),Ug=Ch("sessionSecret"),Bg=Ch("continueWithCreation"),OA=Ch("isJsonAppliable");class mv{get session(){return Fa(this,gd)[gd]}set session(t){t instanceof Ta?Fa(this,gd)[gd]=t:Fa(this,gd)[gd]=new Ta(t)}setSession(t){return this.session=t,this}get totpUrl(){return Fa(this,jg)[jg]}set totpUrl(t){Fa(this,jg)[jg]=String(t)}setTotpUrl(t){return this.totpUrl=t,this}get sessionSecret(){return Fa(this,Ug)[Ug]}set sessionSecret(t){Fa(this,Ug)[Ug]=String(t)}setSessionSecret(t){return this.sessionSecret=t,this}get continueWithCreation(){return Fa(this,Bg)[Bg]}set continueWithCreation(t){Fa(this,Bg)[Bg]=!!t}setContinueWithCreation(t){return this.continueWithCreation=t,this}constructor(t=void 0){if(Object.defineProperty(this,OA,{value:HDe}),Object.defineProperty(this,gd,{writable:!0,value:void 0}),Object.defineProperty(this,jg,{writable:!0,value:""}),Object.defineProperty(this,Ug,{writable:!0,value:""}),Object.defineProperty(this,Bg,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Fa(this,OA)[OA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.continueWithCreation!==void 0&&(this.continueWithCreation=n.continueWithCreation)}toJSON(){return{session:Fa(this,gd)[gd],totpUrl:Fa(this,jg)[jg],sessionSecret:Fa(this,Ug)[Ug],continueWithCreation:Fa(this,Bg)[Bg]}}toString(){return JSON.stringify(this)}static get Fields(){return{session:"session",totpUrl:"totpUrl",sessionSecret:"sessionSecret",continueWithCreation:"continueWithCreation"}}static from(t){return new mv(t)}static with(t){return new mv(t)}copyWith(t){return new mv({...this.toJSON(),...t})}clone(){return new mv(this.toJSON())}}function HDe(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const VDe=()=>{const{goBack:e,state:t,replace:n,push:r}=xr(),{locale:a}=sr(),i=Kt(xa),o=zDe({}),{onComplete:l}=UE(),u=g=>{o.mutateAsync(new hv({...g,value:t.value})).then(f).catch(y=>{d==null||d.setErrors(f0(y))})},d=Jd({initialValues:{},onSubmit:u}),f=g=>{var y,h,v,E,T;(y=g.data)!=null&&y.item.session?l(g):(v=(h=g.data)==null?void 0:h.item)!=null&&v.continueWithCreation&&r(`/${a}/selfservice/complete`,void 0,{value:t.value,type:t.type,sessionSecret:(E=g.data.item)==null?void 0:E.sessionSecret,totpUrl:(T=g.data.item)==null?void 0:T.totpUrl})};return{mutation:o,form:d,s:i,submit:u,goBack:e}},GDe=({})=>{const{goBack:e,mutation:t,form:n,s:r}=VDe();return w.jsxs("div",{className:"signin-form-container",children:[w.jsx("h1",{children:r.enterOtp}),w.jsx("p",{children:r.enterOtpDescription}),w.jsx(Al,{query:t}),w.jsx(YDe,{form:n,mutation:t}),w.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:e,children:r.anotherAccount})]})},YDe=({form:e,mutation:t})=>{var a;const n=!e.values.otp,r=Kt(xa);return w.jsxs("form",{onSubmit:i=>{i.preventDefault(),e.submitForm()},children:[w.jsx(BE,{values:(a=e.values.otp)==null?void 0:a.split(""),onChange:i=>e.setFieldValue(hv.Fields.otp,i,!1),className:"otp-react-code-input"}),w.jsx(Us,{className:"btn btn-primary w-100 d-block mb-2",mutation:t,id:"submit-form",disabled:n,children:r.continue})]})};class Is extends wn{constructor(...t){super(...t),this.children=void 0,this.role=void 0,this.roleId=void 0,this.workspace=void 0}}Is.Navigation={edit(e,t){return`${t?"/"+t:".."}/public-join-key/edit/${e}`},create(e){return`${e?"/"+e:".."}/public-join-key/new`},single(e,t){return`${t?"/"+t:".."}/public-join-key/${e}`},query(e={},t){return`${t?"/"+t:".."}/public-join-keys`},Redit:"public-join-key/edit/:uniqueId",Rcreate:"public-join-key/new",Rsingle:"public-join-key/:uniqueId",Rquery:"public-join-keys"};Is.definition={rpc:{query:{}},name:"publicJoinKey",features:{},gormMap:{},fields:[{name:"role",type:"one",target:"RoleEntity",computedType:"RoleEntity",gormMap:{}},{name:"workspace",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}}],description:"Joining to different workspaces using a public link directly"};Is.Fields={...wn.Fields,roleId:"roleId",role$:"role",role:ri.Fields,workspace$:"workspace",workspace:yi.Fields};function Fne({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/public-join-key/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.PublicJoinKeyEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function KDe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/public-join-key".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.PublicJoinKeyEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function XDe(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/public-join-key".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.PublicJoinKeyEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const QDe=({form:e,isEditing:t})=>{const{values:n,setValues:r,setFieldValue:a,errors:i}=e,{options:o}=R.useContext(nt),l=At();return w.jsx(w.Fragment,{children:w.jsx(ca,{formEffect:{field:Is.Fields.role$,form:e},querySource:tf,label:l.wokspaces.invite.role,errorMessage:i.roleId,fnLabelFormat:u=>u.name,hint:l.wokspaces.invite.roleHint})})},rz=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,t:a}=Dr({data:e}),i=Fne({query:{uniqueId:n}}),o=XDe({queryClient:r}),l=KDe({queryClient:r});return w.jsx(Uo,{postHook:o,getSingleHook:i,patchHook:l,onCancel:()=>{t.goBackOrDefault(Is.Navigation.query())},onFinishUriResolver:(u,d)=>{var f;return Is.Navigation.single((f=u.data)==null?void 0:f.uniqueId)},Form:QDe,onEditTitle:a.fb.editPublicJoinKey,onCreateTitle:a.fb.newPublicJoinKey,data:e})},JDe=()=>{var i,o;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Fne({query:{uniqueId:n}});var a=(i=r.query.data)==null?void 0:i.data;return w.jsx(w.Fragment,{children:w.jsx(ao,{editEntityHandler:()=>{e.push(Is.Navigation.edit(n))},getSingleHook:r,children:w.jsx(io,{entity:a,fields:[{label:t.role.name,elem:(o=a==null?void 0:a.role)==null?void 0:o.name}]})})})};function ZDe(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/public-join-key".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.PublicJoinKeyEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.PublicJoinKeyEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function jne({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/public-join-keys".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.PublicJoinKeyEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}jne.UKEY="*abac.PublicJoinKeyEntity";const e$e={roleName:"Role name",uniqueId:"Unique Id"},t$e={roleName:"Nazwa roli",uniqueId:"Unikalny identyfikator"},n$e={...e$e,$pl:t$e},r$e=e=>[{name:"uniqueId",title:e.uniqueId,width:200},{name:"role",title:e.roleName,width:200,getCellValue:t=>{var n;return(n=t.role)==null?void 0:n.name}}],a$e=()=>{const e=Kt(n$e);return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:r$e(e),queryHook:jne,uniqueIdHrefHandler:t=>Is.Navigation.single(t),deleteHook:ZDe})})},i$e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{pageTitle:e.fbMenu.publicJoinKey,newEntityHandler:({locale:t,router:n})=>{n.push(Is.Navigation.create())},children:w.jsx(a$e,{})})})};function o$e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(rz,{}),path:Is.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(JDe,{}),path:Is.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(rz,{}),path:Is.Navigation.Redit}),w.jsx(mt,{element:w.jsx(i$e,{}),path:Is.Navigation.Rquery})]})}function Une({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/role/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.RoleEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function s$e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/role".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.RoleEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function l$e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/role".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.RoleEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function u$e({value:e,onChange:t,...n}){const r=R.useRef();return R.useEffect(()=>{r.current.indeterminate=e==="indeterminate"},[r,e]),w.jsx("input",{...n,type:"checkbox",ref:r,onChange:a=>{t("checked")},checked:e==="checked",className:"form-check-input"})}function hu(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var c$e=0;function __(e){return"__private_"+c$e+++"_"+e}var Wg=__("uniqueId"),zg=__("name"),vd=__("children"),RA=__("isJsonAppliable");class rs{get uniqueId(){return hu(this,Wg)[Wg]}set uniqueId(t){hu(this,Wg)[Wg]=String(t)}setUniqueId(t){return this.uniqueId=t,this}get name(){return hu(this,zg)[zg]}set name(t){hu(this,zg)[zg]=String(t)}setName(t){return this.name=t,this}get children(){return hu(this,vd)[vd]}set children(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof rs?hu(this,vd)[vd]=t:hu(this,vd)[vd]=t.map(n=>new rs(n)))}setChildren(t){return this.children=t,this}constructor(t=void 0){if(Object.defineProperty(this,RA,{value:d$e}),Object.defineProperty(this,Wg,{writable:!0,value:""}),Object.defineProperty(this,zg,{writable:!0,value:""}),Object.defineProperty(this,vd,{writable:!0,value:[]}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(hu(this,RA)[RA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.name!==void 0&&(this.name=n.name),n.children!==void 0&&(this.children=n.children)}toJSON(){return{uniqueId:hu(this,Wg)[Wg],name:hu(this,zg)[zg],children:hu(this,vd)[vd]}}toString(){return JSON.stringify(this)}static get Fields(){return{uniqueId:"uniqueId",name:"name",children$:"children",get children(){return ah("children[:i]",rs.Fields)}}}static from(t){return new rs(t)}static with(t){return new rs(t)}copyWith(t){return new rs({...this.toJSON(),...t})}clone(){return new rs(this.toJSON())}}function d$e(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var dE;function yd(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var f$e=0;function Pj(e){return"__private_"+f$e+++"_"+e}const p$e=e=>{const t=Ml(),n=(e==null?void 0:e.ctx)??t??void 0,[r,a]=R.useState(!1),[i,o]=R.useState(),l=()=>(a(!1),Hd.Fetch({headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(d=>(d.done.then(()=>{a(!0)}),o(d.response),d.response.result)));return{...jn({queryKey:[Hd.NewUrl(e==null?void 0:e.qs)],queryFn:l,...e||{}}),isCompleted:r,response:i}};class Hd{}dE=Hd;Hd.URL="/capabilitiesTree";Hd.NewUrl=e=>Nl(dE.URL,void 0,e);Hd.Method="get";Hd.Fetch$=async(e,t,n,r)=>Rl(r??dE.NewUrl(e),{method:dE.Method,...n||{}},t);Hd.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new gv(o)})=>{t=t||(l=>new gv(l));const o=await dE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};Hd.Definition={name:"CapabilitiesTree",cliName:"treex",url:"/capabilitiesTree",method:"get",description:"dLists all of the capabilities in database as a array of string as root access",out:{envelope:"GResponse",fields:[{name:"capabilities",type:"collection",target:"CapabilityInfoDto"},{name:"nested",type:"collection",target:"CapabilityInfoDto"}]}};var bd=Pj("capabilities"),wd=Pj("nested"),PA=Pj("isJsonAppliable");class gv{get capabilities(){return yd(this,bd)[bd]}set capabilities(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof rs?yd(this,bd)[bd]=t:yd(this,bd)[bd]=t.map(n=>new rs(n)))}setCapabilities(t){return this.capabilities=t,this}get nested(){return yd(this,wd)[wd]}set nested(t){Array.isArray(t)&&(t.length>0&&t[0]instanceof rs?yd(this,wd)[wd]=t:yd(this,wd)[wd]=t.map(n=>new rs(n)))}setNested(t){return this.nested=t,this}constructor(t=void 0){if(Object.defineProperty(this,PA,{value:h$e}),Object.defineProperty(this,bd,{writable:!0,value:[]}),Object.defineProperty(this,wd,{writable:!0,value:[]}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(yd(this,PA)[PA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.capabilities!==void 0&&(this.capabilities=n.capabilities),n.nested!==void 0&&(this.nested=n.nested)}toJSON(){return{capabilities:yd(this,bd)[bd],nested:yd(this,wd)[wd]}}toString(){return JSON.stringify(this)}static get Fields(){return{capabilities$:"capabilities",get capabilities(){return ah("capabilities[:i]",rs.Fields)},nested$:"nested",get nested(){return ah("nested[:i]",rs.Fields)}}}static from(t){return new gv(t)}static with(t){return new gv(t)}copyWith(t){return new gv({...this.toJSON(),...t})}clone(){return new gv(this.toJSON())}}function h$e(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}function Bne({onChange:e,value:t,prefix:n}){var l,u;const{data:r,error:a}=p$e({}),i=((u=(l=r==null?void 0:r.data)==null?void 0:l.item)==null?void 0:u.nested)||[],o=(d,f)=>{let g=[...t||[]];f==="checked"&&g.push(d),f==="unchecked"&&(g=g.filter(y=>y!==d)),e&&e(g)};return w.jsxs("nav",{className:"tree-nav",children:[w.jsx(S0,{error:a}),w.jsx("ul",{className:"list",children:w.jsx(Wne,{items:i,onNodeChange:o,value:t,prefix:n})})]})}function Wne({items:e,onNodeChange:t,value:n,prefix:r,autoChecked:a}){const i=r?r+".":"";return w.jsx(w.Fragment,{children:e.map(o=>{var d;const l=`${i}${o.uniqueId}${(d=o.children)!=null&&d.length?".*":""}`,u=(n||[]).includes(l)?"checked":"unchecked";return w.jsxs("li",{children:[w.jsx("span",{children:w.jsxs("label",{className:a?"auto-checked":"",children:[w.jsx(u$e,{value:u,onChange:f=>{t(l,u==="checked"?"unchecked":"checked")}}),o.uniqueId]})}),o.children&&w.jsx("ul",{children:w.jsx(Wne,{autoChecked:a||u==="checked",onNodeChange:t,value:n,items:o.children,prefix:i+o.uniqueId})})]},o.uniqueId)})})}const m$e=(e,t)=>e!=null&&e.length&&!(t!=null&&t.length)?e.map(n=>n.uniqueId):t||[],g$e=({form:e,isEditing:t})=>{const{values:n,setFieldValue:r,errors:a}=e,i=At();return w.jsxs(w.Fragment,{children:[w.jsx(In,{value:n.name,onChange:o=>r(ri.Fields.name,o,!1),errorMessage:a.name,label:i.wokspaces.invite.role,autoFocus:!t,hint:i.wokspaces.invite.roleHint}),w.jsx(Bne,{onChange:o=>r(ri.Fields.capabilitiesListId,o,!1),value:m$e(n.capabilities,n.capabilitiesListId)})]})},az=({data:e})=>{const{router:t,uniqueId:n,queryClient:r,locale:a}=Dr({data:e}),i=At(),o=Une({query:{uniqueId:n},queryOptions:{enabled:!!n}}),l=l$e({queryClient:r}),u=s$e({queryClient:r});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,beforeSubmit:d=>{var f;return((f=d.capabilities)==null?void 0:f.length)>0&&d.capabilitiesListId===null?{...d,capabilitiesListId:d.capabilities.map(g=>g.uniqueId)}:d},onCancel:()=>{t.goBackOrDefault(ri.Navigation.query(void 0,a))},onFinishUriResolver:(d,f)=>{var g;return ri.Navigation.single((g=d.data)==null?void 0:g.uniqueId,f)},Form:g$e,onEditTitle:i.fb.editRole,onCreateTitle:i.fb.newRole,data:e})},v$e=()=>{var l;const e=xr();js();const t=e.query.uniqueId,n=At();sr();const[r,a]=R.useState([]),i=Une({query:{uniqueId:t,deep:!0}});var o=(l=i.query.data)==null?void 0:l.data;return S_((o==null?void 0:o.name)||""),R.useEffect(()=>{var u;a((u=o==null?void 0:o.capabilities)==null?void 0:u.map(d=>d.uniqueId||""))},[o==null?void 0:o.capabilities]),w.jsx(w.Fragment,{children:w.jsxs(ao,{editEntityHandler:()=>{e.push(ri.Navigation.edit(t))},getSingleHook:i,children:[w.jsx(io,{entity:o,fields:[{label:n.role.name,elem:o==null?void 0:o.name}]}),w.jsx(Io,{title:n.role.permissions,className:"mt-3",children:w.jsx(Bne,{value:r})})]})})},y$e=e=>[{name:ri.Fields.uniqueId,title:e.table.uniqueId,width:200},{name:ri.Fields.name,title:e.role.name,width:200}];function b$e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/role".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.RoleEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.RoleEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const w$e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:y$e(e),queryHook:tf,uniqueIdHrefHandler:t=>ri.Navigation.single(t),deleteHook:b$e})})},S$e=()=>{const e=At();return vhe(),w.jsx(w.Fragment,{children:w.jsx(Fo,{newEntityHandler:({locale:t,router:n})=>n.push(ri.Navigation.create()),pageTitle:e.fbMenu.roles,children:w.jsx(w$e,{})})})};function E$e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(az,{}),path:ri.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(v$e,{}),path:ri.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(az,{}),path:ri.Navigation.Redit}),w.jsx(mt,{element:w.jsx(S$e,{}),path:ri.Navigation.Rquery})]})}({...wn.Fields});function zne({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/users/invitations".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.UserInvitationsQueryColumns",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}zne.UKEY="*abac.UserInvitationsQueryColumns";const T$e={confirmRejectTitle:"Reject invite",reject:"Reject",workspaceName:"Workspace Name",passport:"Passport",confirmAcceptDescription:"Are you sure that you are confirming to join?",confirmRejectDescription:"Are you sure to reject this invitation? You need to be reinvited by admins again.",acceptBtn:null,accept:"Accept",roleName:"Role name",method:"Method",actions:"Actions",confirmAcceptTitle:"Confirm invitation"},C$e={actions:"Akcje",confirmRejectTitle:"Odrzuć zaproszenie",method:"Metoda",roleName:"Nazwa roli",accept:"Akceptuj",confirmAcceptDescription:"Czy na pewno chcesz dołączyć?",confirmAcceptTitle:"Potwierdź zaproszenie",confirmRejectDescription:"Czy na pewno chcesz odrzucić to zaproszenie? Aby dołączyć ponownie, musisz zostać ponownie zaproszony przez administratorów.",passport:"Paszport",reject:"Odrzuć",workspaceName:"Nazwa przestrzeni roboczej",acceptBtn:"Tak"},k$e={...T$e,$pl:C$e},x$e=(e,t,n)=>[{name:"roleName",title:e.roleName,width:100},{name:"workspaceName",title:e.workspaceName,width:100},{name:"method",title:e.method,width:100,getCellValue:r=>r.type},{name:"value",title:e.passport,width:100,getCellValue:r=>r.value},{name:"actions",title:e.actions,width:100,getCellValue:r=>w.jsxs(w.Fragment,{children:[w.jsx("button",{className:"btn btn-sm btn-success",style:{marginRight:"2px"},onClick:a=>{t(r)},children:e.accept}),w.jsx("button",{onClick:a=>{n(r)},className:"btn btn-sm btn-danger",children:e.reject})]})}];var fE;function Xp(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var _$e=0;function O_(e){return"__private_"+_$e+++"_"+e}const O$e=e=>{const n=Ml()??void 0,[r,a]=R.useState(!1),[i,o]=R.useState();return{...un({mutationFn:d=>(a(!1),xh.Fetch({body:d,headers:e==null?void 0:e.headers},{creatorFn:e==null?void 0:e.creatorFn,qs:e==null?void 0:e.qs,ctx:n,onMessage:e==null?void 0:e.onMessage,overrideUrl:e==null?void 0:e.overrideUrl}).then(f=>(f.done.then(()=>{a(!0)}),o(f.response),f.response.result)))}),isCompleted:r,response:i}};class xh{}fE=xh;xh.URL="/user/invitation/accept";xh.NewUrl=e=>Nl(fE.URL,void 0,e);xh.Method="post";xh.Fetch$=async(e,t,n,r)=>Rl(r??fE.NewUrl(e),{method:fE.Method,...n||{}},t);xh.Fetch=async(e,{creatorFn:t,qs:n,ctx:r,onMessage:a,overrideUrl:i}={creatorFn:o=>new vv(o)})=>{t=t||(l=>new vv(l));const o=await fE.Fetch$(n,r,e,i);return Pl(o,l=>{const u=new Ws;return t&&u.setCreator(t),u.inject(l),u},a,e==null?void 0:e.signal)};xh.Definition={name:"AcceptInvite",url:"/user/invitation/accept",method:"post",description:"Use it when user accepts an invitation, and it will complete the joining process",in:{fields:[{name:"invitationUniqueId",description:"The invitation id which will be used to process",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"accepted",type:"bool"}]}};var qg=O_("invitationUniqueId"),AA=O_("isJsonAppliable");class Ib{get invitationUniqueId(){return Xp(this,qg)[qg]}set invitationUniqueId(t){Xp(this,qg)[qg]=String(t)}setInvitationUniqueId(t){return this.invitationUniqueId=t,this}constructor(t=void 0){if(Object.defineProperty(this,AA,{value:R$e}),Object.defineProperty(this,qg,{writable:!0,value:""}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xp(this,AA)[AA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.invitationUniqueId!==void 0&&(this.invitationUniqueId=n.invitationUniqueId)}toJSON(){return{invitationUniqueId:Xp(this,qg)[qg]}}toString(){return JSON.stringify(this)}static get Fields(){return{invitationUniqueId:"invitationUniqueId"}}static from(t){return new Ib(t)}static with(t){return new Ib(t)}copyWith(t){return new Ib({...this.toJSON(),...t})}clone(){return new Ib(this.toJSON())}}function R$e(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}var Hg=O_("accepted"),NA=O_("isJsonAppliable");class vv{get accepted(){return Xp(this,Hg)[Hg]}set accepted(t){Xp(this,Hg)[Hg]=!!t}setAccepted(t){return this.accepted=t,this}constructor(t=void 0){if(Object.defineProperty(this,NA,{value:P$e}),Object.defineProperty(this,Hg,{writable:!0,value:void 0}),t!=null)if(typeof t=="string")this.applyFromObject(JSON.parse(t));else if(Xp(this,NA)[NA](t))this.applyFromObject(t);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof t)}applyFromObject(t={}){const n=t;n.accepted!==void 0&&(this.accepted=n.accepted)}toJSON(){return{accepted:Xp(this,Hg)[Hg]}}toString(){return JSON.stringify(this)}static get Fields(){return{accepted:"accepted"}}static from(t){return new vv(t)}static with(t){return new vv(t)}copyWith(t){return new vv({...this.toJSON(),...t})}clone(){return new vv(this.toJSON())}}function P$e(e){const t=globalThis,n=typeof t.Buffer<"u"&&typeof t.Buffer.isBuffer=="function"&&t.Buffer.isBuffer(e),r=typeof t.Blob<"u"&&e instanceof t.Blob;return e&&typeof e=="object"&&!Array.isArray(e)&&!n&&!(e instanceof ArrayBuffer)&&!r}const A$e=()=>{const e=Kt(k$e),t=R.useContext(l_),n=O$e(),r=i=>{t.openModal({title:e.confirmAcceptTitle,confirmButtonLabel:e.acceptBtn,component:()=>w.jsx("div",{children:e.confirmAcceptDescription}),onSubmit:async()=>n.mutateAsync(new Ib({invitationUniqueId:i.uniqueId})).then(o=>{alert("Successful.")})})},a=i=>{t.openModal({title:e.confirmRejectTitle,confirmButtonLabel:e.acceptBtn,component:()=>w.jsx("div",{children:e.confirmRejectDescription}),onSubmit:async()=>!0})};return w.jsx(w.Fragment,{children:w.jsx(jo,{selectable:!1,columns:x$e(e,r,a),queryHook:zne})})},N$e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{pageTitle:e.fbMenu.myInvitations,children:w.jsx(A$e,{})})})};function M$e(){return w.jsx(w.Fragment,{children:w.jsx(mt,{element:w.jsx(N$e,{}),path:"user-invitations"})})}class Ya extends wn{constructor(...t){super(...t),this.children=void 0,this.publicKey=void 0,this.coverLetter=void 0,this.targetUserLocale=void 0,this.email=void 0,this.phonenumber=void 0,this.workspace=void 0,this.firstName=void 0,this.lastName=void 0,this.forceEmailAddress=void 0,this.forcePhoneNumber=void 0,this.role=void 0,this.roleId=void 0}}Ya.Navigation={edit(e,t){return`${t?"/"+t:".."}/workspace-invite/edit/${e}`},create(e){return`${e?"/"+e:".."}/workspace-invite/new`},single(e,t){return`${t?"/"+t:".."}/workspace-invite/${e}`},query(e={},t){return`${t?"/"+t:".."}/workspace-invites`},Redit:"workspace-invite/edit/:uniqueId",Rcreate:"workspace-invite/new",Rsingle:"workspace-invite/:uniqueId",Rquery:"workspace-invites"};Ya.definition={rpc:{query:{}},name:"workspaceInvite",features:{},gormMap:{},fields:[{name:"publicKey",description:"A long hash to get the user into the confirm or signup page without sending the email or phone number, for example if an administrator wants to copy the link.",type:"string",computedType:"string",gormMap:{}},{name:"coverLetter",description:"The content that user will receive to understand the reason of the letter.",type:"string",computedType:"string",gormMap:{}},{name:"targetUserLocale",description:"If the invited person has a different language, then you can define that so the interface for him will be automatically translated.",type:"string",computedType:"string",gormMap:{}},{name:"email",description:"The email address of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"phonenumber",description:"The phone number of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"workspace",description:"Workspace which user is being invite to.",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}},{name:"firstName",description:"First name of the person which is invited",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"lastName",description:"Last name of the person which is invited.",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"forceEmailAddress",description:"If forced, the email address cannot be changed by the user which has been invited.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePhoneNumber",description:"If forced, user cannot change the phone number and needs to complete signup.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"role",description:"The role which invitee get if they accept the request.",type:"one",target:"RoleEntity",validate:"required",computedType:"RoleEntity",gormMap:{}}],cliShort:"invite",description:"Active invitations for non-users or already users to join an specific workspace, created by administration of the workspace"};Ya.Fields={...wn.Fields,publicKey:"publicKey",coverLetter:"coverLetter",targetUserLocale:"targetUserLocale",email:"email",phonenumber:"phonenumber",workspace$:"workspace",workspace:yi.Fields,firstName:"firstName",lastName:"lastName",forceEmailAddress:"forceEmailAddress",forcePhoneNumber:"forcePhoneNumber",roleId:"roleId",role$:"role",role:ri.Fields};function qne({queryOptions:e,execFnOverride:t,query:n,queryClient:r,unauthorized:a}){var T;const{options:i,execFn:o}=R.useContext(nt),l=t?t(i):o?o(i):St(i);let d=`${"/workspace-invite/:uniqueId".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`,f=!0;d=d.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(f=!1);const g=()=>l("GET",d),y=(T=i==null?void 0:i.headers)==null?void 0:T.authorization,h=y!="undefined"&&y!=null&&y!=null&&y!="null"&&!!y;let v=!0;return f?!h&&!a&&(v=!1):v=!1,{query:jn([i,n,"*abac.WorkspaceInviteEntity"],g,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:v,...e||{}})}}function I$e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace-invite".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("PATCH",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueriesData("*abac.WorkspaceInviteEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}function D$e(e){let{queryClient:t,query:n,execFnOverride:r}=e||{};n=n||{};const{options:a,execFn:i}=R.useContext(nt),o=r?r(a):i?i(a):St(a);let u=`${"/workspace/invite".substr(1)}?${new URLSearchParams(Gt(n)).toString()}`;const f=un(h=>o("POST",u,h)),g=(h,v)=>{var E;return h?(h.data&&(v!=null&&v.data)&&(h.data.items=[v.data,...((E=h==null?void 0:h.data)==null?void 0:E.items)||[]]),h):{data:{items:[]}}};return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){t==null||t.setQueryData("*abac.WorkspaceInviteEntity",k=>g(k,C)),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const $$e={targetLocaleHint:"If the user has a different language available, the initial interface will be on th selected value.",forcedEmailAddress:"Force Email Address",forcedEmailAddressHint:"If checked, user can only make the invitation using this email address, and won't be able to change it. If account exists, they need to accept invitation there.",forcedPhone:"Force Phone Number",forcedPhoneHint:"If checked, user only can create or join using this phone number",coverLetter:"Cover letter",coverLetterHint:"The invitation text that user would get over sms or email, you can modify it here.",targetLocale:"Target Locale"},L$e={targetLocaleHint:"Jeśli użytkownik ma dostępny inny język, interfejs początkowy będzie ustawiony na wybraną wartość.",coverLetter:"List motywacyjny",coverLetterHint:"Treść zaproszenia, którą użytkownik otrzyma przez SMS lub e-mail – możesz ją tutaj edytować.",forcedEmailAddress:"Wymuszony adres e-mail",forcedEmailAddressHint:"Jeśli zaznaczone, użytkownik może wysłać zaproszenie tylko na ten adres e-mail i nie będzie mógł go zmienić. Jeśli konto już istnieje, użytkownik musi zaakceptować zaproszenie na tym koncie.",forcedPhone:"Wymuszony numer telefonu",forcedPhoneHint:"Jeśli zaznaczone, użytkownik może utworzyć konto lub dołączyć tylko przy użyciu tego numeru telefonu",targetLocale:"Docelowy język"},Hne={...$$e,$pl:L$e},F$e=({form:e,isEditing:t})=>{const n=At(),{values:r,setValues:a,setFieldValue:i,errors:o}=e,l=Kt(Hne),u=bne(n),d=Bs(u);return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"row",children:[w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.firstName,onChange:f=>i(Ya.Fields.firstName,f,!1),errorMessage:o.firstName,label:n.wokspaces.invite.firstName,autoFocus:!t,hint:n.wokspaces.invite.firstNameHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.lastName,onChange:f=>i(Ya.Fields.lastName,f,!1),errorMessage:o.lastName,label:n.wokspaces.invite.lastName,hint:n.wokspaces.invite.lastNameHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(ca,{keyExtractor:f=>f.value,formEffect:{form:e,field:Ya.Fields.targetUserLocale,beforeSet(f){return f.value}},errorMessage:e.errors.targetUserLocale,querySource:d,label:l.targetLocale,hint:l.targetLocaleHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(qF,{value:r.coverLetter,onChange:f=>i(Ya.Fields.coverLetter,f,!1),forceBasic:!0,errorMessage:o.coverLetter,label:l.coverLetter,placeholder:l.coverLetterHint,hint:l.coverLetterHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(ca,{formEffect:{field:Ya.Fields.role$,form:e},querySource:tf,label:n.wokspaces.invite.role,errorMessage:o.roleId,fnLabelFormat:f=>f.name,hint:n.wokspaces.invite.roleHint})})]}),w.jsxs("div",{className:"row",children:[w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.email,onChange:f=>i(Ya.Fields.email,f,!1),errorMessage:o.email,label:n.wokspaces.invite.email,hint:n.wokspaces.invite.emailHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(vl,{value:r.forceEmailAddress,onChange:f=>i(Ya.Fields.forceEmailAddress,f),errorMessage:o.forceEmailAddress,label:l.forcedEmailAddress,hint:l.forcedEmailAddressHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(In,{value:r.phonenumber,onChange:f=>i(Ya.Fields.phonenumber,f,!1),errorMessage:o.phonenumber,type:"phonenumber",label:n.wokspaces.invite.phoneNumber,hint:n.wokspaces.invite.phoneNumberHint})}),w.jsx("div",{className:"col-md-12",children:w.jsx(vl,{value:r.forcePhoneNumber,onChange:f=>i(Ya.Fields.forcePhoneNumber,f),errorMessage:o.forcePhoneNumber,label:l.forcedPhone,hint:l.forcedPhoneHint})})]})]})},iz=({data:e})=>{const t=At(),{router:n,uniqueId:r,queryClient:a,locale:i}=Dr({data:e}),o=qne({query:{uniqueId:r},queryClient:a}),l=D$e({queryClient:a}),u=I$e({queryClient:a});return w.jsx(Uo,{postHook:l,getSingleHook:o,patchHook:u,onCancel:()=>{n.goBackOrDefault(`/${i}/workspace-invites`)},onFinishUriResolver:(d,f)=>`/${f}/workspace-invites`,Form:F$e,onEditTitle:t.wokspaces.invite.editInvitation,onCreateTitle:t.wokspaces.invite.createInvitation,data:e})},j$e=()=>{var o;const e=xr(),t=At(),n=e.query.uniqueId;sr();const r=Kt(Hne),a=qne({query:{uniqueId:n}});var i=(o=a.query.data)==null?void 0:o.data;return S_((i==null?void 0:i.firstName)+" "+(i==null?void 0:i.lastName)||""),w.jsx(w.Fragment,{children:w.jsx(ao,{getSingleHook:a,editEntityHandler:()=>e.push(Ya.Navigation.edit(n)),children:w.jsx(io,{entity:i,fields:[{label:t.wokspaces.invite.firstName,elem:i==null?void 0:i.firstName},{label:t.wokspaces.invite.lastName,elem:i==null?void 0:i.lastName},{label:t.wokspaces.invite.email,elem:i==null?void 0:i.email},{label:t.wokspaces.invite.phoneNumber,elem:i==null?void 0:i.phonenumber},{label:r.forcedEmailAddress,elem:i==null?void 0:i.forceEmailAddress},{label:r.forcedPhone,elem:i==null?void 0:i.forcePhoneNumber},{label:r.targetLocale,elem:i==null?void 0:i.targetUserLocale}]})})})},U$e=e=>[{name:Ya.Fields.uniqueId,title:e.table.uniqueId,width:100},{name:"firstName",title:e.wokspaces.invite.firstName,width:100},{name:"lastName",title:e.wokspaces.invite.lastName,width:100},{name:"phoneNumber",title:e.wokspaces.invite.phoneNumber,width:100},{name:"email",title:e.wokspaces.invite.email,width:100},{name:"role_id",title:e.wokspaces.invite.role,width:100,getCellValue:t=>{var n;return(n=t==null?void 0:t.role)==null?void 0:n.name}}];function Vne({queryOptions:e,query:t,queryClient:n,execFnOverride:r,unauthorized:a,optionFn:i}){var k,_,A;const{options:o,execFn:l}=R.useContext(nt),u=i?i(o):o,d=r?r(u):l?l(u):St(u);let g=`${"/workspace-invites".substr(1)}?${qa.stringify(t)}`;const y=()=>d("GET",g),h=(k=u==null?void 0:u.headers)==null?void 0:k.authorization,v=h!="undefined"&&h!=null&&h!=null&&h!="null"&&!!h;let E=!0;!v&&!a&&(E=!1);const T=jn(["*abac.WorkspaceInviteEntity",u,t],y,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...e||{}}),C=((A=(_=T.data)==null?void 0:_.data)==null?void 0:A.items)||[];return{query:T,items:C,keyExtractor:P=>P.uniqueId}}Vne.UKEY="*abac.WorkspaceInviteEntity";function B$e(e){const{execFnOverride:t,queryClient:n,query:r}=e||{},{options:a,execFn:i}=R.useContext(nt),o=t?t(a):i?i(a):St(a);let u=`${"/workspace-invite".substr(1)}?${new URLSearchParams(Gt(r)).toString()}`;const f=un(h=>o("DELETE",u,h)),g=(h,v)=>h;return{mutation:f,submit:(h,v)=>new Promise((E,T)=>{f.mutate(h,{onSuccess(C){n==null||n.setQueryData("*abac.WorkspaceInviteEntity",k=>g(k)),n==null||n.invalidateQueries("*abac.WorkspaceInviteEntity"),E(C)},onError(C){v==null||v.setErrors(_n(C)),T(C)}})}),fnUpdater:g}}const W$e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(jo,{columns:U$e(e),queryHook:Vne,uniqueIdHrefHandler:t=>Ya.Navigation.single(t),deleteHook:B$e})})},z$e=()=>{const e=At();return w.jsx(w.Fragment,{children:w.jsx(Fo,{pageTitle:e.fbMenu.workspaceInvites,newEntityHandler:({locale:t,router:n})=>{n.push(Ya.Navigation.create())},children:w.jsx(W$e,{})})})};function q$e(){return w.jsxs(w.Fragment,{children:[w.jsx(mt,{element:w.jsx(iz,{}),path:Ya.Navigation.Rcreate}),w.jsx(mt,{element:w.jsx(iz,{}),path:Ya.Navigation.Redit}),w.jsx(mt,{element:w.jsx(j$e,{}),path:Ya.Navigation.Rsingle}),w.jsx(mt,{element:w.jsx(z$e,{}),path:Ya.Navigation.Rquery})]})}const H$e=()=>{const e=Kt(xa);return w.jsxs(w.Fragment,{children:[w.jsx(Io,{title:e.home.title,description:e.home.description}),w.jsx("h2",{children:w.jsx(j$,{to:"passports",children:e.home.passportsTitle})}),w.jsx("p",{children:e.home.passportsDescription}),w.jsx(j$,{to:"passports",className:"btn btn-success btn-sm",children:e.home.passportsTitle})]})},V$e=()=>{const e=Kt(xa),{goBack:t,query:n}=xr();return{goBack:t,s:e}},G$e=()=>{var i,o;const{s:e}=V$e(),{query:t}=CE({queryOptions:{cacheTime:50},query:{}}),n=((o=(i=t.data)==null?void 0:i.data)==null?void 0:o.items)||[],{selectedUrw:r,selectUrw:a}=R.useContext(nt);return w.jsxs("div",{className:"signin-form-container",children:[w.jsxs("div",{className:"mb-4",children:[w.jsx("h1",{className:"h3",children:e.selectWorkspaceTitle}),w.jsx("p",{className:"text-muted",children:e.selectWorkspace})]}),n.map(l=>w.jsxs("div",{className:"mb-4",children:[w.jsx("h2",{className:"h5",children:l.name}),w.jsx("div",{className:"d-flex flex-wrap gap-2 mt-2",children:l.roles.map(u=>w.jsxs("button",{className:"btn btn-outline-primary w-100",onClick:()=>a({workspaceId:l.uniqueId,roleId:u.uniqueId}),children:["Select (",u.name,")"]},u.uniqueId))})]},l.uniqueId))]})};function Y$e(){return w.jsxs(w.Fragment,{children:[w.jsxs(mt,{path:"selfservice",children:[w.jsx(mt,{path:"welcome",element:w.jsx(NIe,{})}),w.jsx(mt,{path:"email",element:w.jsx(tz,{method:Ms.Email})}),w.jsx(mt,{path:"phone",element:w.jsx(tz,{method:Ms.Phone})}),w.jsx(mt,{path:"totp-setup",element:w.jsx(bDe,{})}),w.jsx(mt,{path:"totp-enter",element:w.jsx(EDe,{})}),w.jsx(mt,{path:"complete",element:w.jsx(MDe,{})}),w.jsx(mt,{path:"password",element:w.jsx(UDe,{})}),w.jsx(mt,{path:"otp",element:w.jsx(GDe,{})})]}),w.jsx(mt,{path:"*",element:w.jsx(B3,{to:"/en/selfservice/welcome",replace:!0})})]})}function K$e(){const e=o$e(),t=E$e(),n=M$e(),r=q$e();return w.jsxs(mt,{path:"selfservice",children:[w.jsx(mt,{path:"passports",element:w.jsx(pIe,{})}),w.jsx(mt,{path:"change-password/:uniqueId",element:w.jsx(wIe,{})}),e,t,n,r,w.jsx(mt,{path:"",element:w.jsx(Oj,{children:w.jsx(H$e,{})})})]})}function X$e({children:e,routerId:t}){const n=At();cfe();const{locale:r}=sr(),{config:a}=R.useContext(dh),i=nJ(),o=K$e(),l=qRe(),u=AMe();return w.jsx(Mhe,{affix:n.productName,children:w.jsxs(xX,{children:[w.jsx(mt,{path:"/",element:w.jsx(B3,{to:kr.DEFAULT_ROUTE.replace("{locale}",a.interfaceLanguage||r||"en"),replace:!0})}),w.jsxs(mt,{path:":locale",element:w.jsx(oge,{routerId:t,sidebarMenu:i}),children:[w.jsx(mt,{path:"settings",element:w.jsx(Oj,{children:w.jsx(ZMe,{})})}),o,l,u,e,w.jsx(mt,{path:"*",element:w.jsx(zU,{})})]}),w.jsx(mt,{path:"*",element:w.jsx(zU,{})})]})})}const Gne=e=>{sr();const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,errorMessage:u,type:d,focused:f=!1,autoFocus:g,...y}=e,[h,v]=R.useState(!1),E=R.useRef(),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(ef,{focused:h,onClick:T,...e,children:w.jsx("input",{type:"date",className:"form-control",value:e.value,onChange:C=>e.onChange&&e.onChange(C.target.value),...e.inputProps})})};function Aj(e,t){const[n,r]=R.useState(()=>{try{const a=localStorage.getItem(e);return a===null?t:JSON.parse(a)}catch(a){return console.error(`Error parsing localStorage key "${e}":`,a),t}});return R.useEffect(()=>{try{localStorage.setItem(e,JSON.stringify(n))}catch(a){console.error(`Error saving to localStorage key "${e}":`,a)}},[e,n]),[n,r]}function oz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Db(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var MA={};function J$e(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return MA[t]||(MA[t]=Q$e(e)),MA[t]}function Z$e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),a=J$e(r);return a.reduce(function(i,o){return Db(Db({},i),n[o])},t)}function sz(e){return e.join(" ")}function eLe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,i){return Yne({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function Yne(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,l=t.properties,u=t.type,d=t.tagName,f=t.value;if(u==="text")return f;if(d){var g=eLe(n,i),y;if(!i)y=Db(Db({},l),{},{className:sz(l.className)});else{var h=Object.keys(n).reduce(function(C,k){return k.split(".").forEach(function(_){C.includes(_)||C.push(_)}),C},[]),v=l.className&&l.className.includes("token")?["token"]:[],E=l.className&&v.concat(l.className.filter(function(C){return!h.includes(C)}));y=Db(Db({},l),{},{className:sz(E)||void 0,style:Z$e(l.className,Object.assign({},l.style,a),n)})}var T=g(t.children);return ze.createElement(d,vt({key:o},y),T)}}const tLe=(function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1});var nLe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function lz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Qp(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return jk({children:P,lineNumber:N,lineNumberStyle:l,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:u,wrapLines:t})}function E(P,N){if(r&&N&&a){var I=Xne(l,N,o);P.unshift(Kne(N,I))}return P}function T(P,N){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||I.length>0?v(P,N,I):E(P,N)}for(var C=function(){var N=f[h],I=N.children[0].value,L=aLe(I);if(L){var j=I.split(` `);j.forEach(function(z,Q){var le=r&&g.length+i,re={type:"text",value:"".concat(z,` -`)};if(Q===0){var ge=f.slice(y+1,p).concat(rk({children:[re],className:N.properties.className})),he=T(ge,le);g.push(he)}else if(Q===j.length-1){var W=f[p+1]&&f[p+1].children&&f[p+1].children[0],G={type:"text",value:"".concat(z)};if(W){var q=rk({children:[G],className:N.properties.className});f.splice(p+1,0,q)}else{var ce=[G],H=T(ce,le,N.properties.className);g.push(H)}}else{var Y=[re],ie=T(Y,le,N.properties.className);g.push(ie)}}),y=p}p++};p4&&v.slice(0,4)===r&&a.test(p)&&(p.charAt(4)==="-"?E=u(p):p=d(p),T=t),new T(E,p))}function u(y){var p=y.slice(5).replace(i,g);return r+p.charAt(0).toUpperCase()+p.slice(1)}function d(y){var p=y.slice(4);return i.test(p)?y:(p=p.replace(o,f),p.charAt(0)!=="-"&&(p="-"+p),r+p)}function f(y){return"-"+y.toLowerCase()}function g(y){return y.charAt(1).toUpperCase()}return oA}var sA,jW;function C$e(){if(jW)return sA;jW=1,sA=t;var e=/[#.]/g;function t(n,r){for(var a=n||"",i=r||"div",o={},l=0,u,d,f;l=48&&n<=57}return dA}var fA,VW;function P3e(){if(VW)return fA;VW=1,fA=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}return fA}var pA,GW;function A3e(){if(GW)return pA;GW=1,pA=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=122||n>=65&&n<=90}return pA}var mA,YW;function N3e(){if(YW)return mA;YW=1;var e=A3e(),t=yne();mA=n;function n(r){return e(r)||t(r)}return mA}var hA,KW;function M3e(){if(KW)return hA;KW=1;var e,t=59;hA=n;function n(r){var a="&"+r+";",i;return e=e||document.createElement("i"),e.innerHTML=a,i=e.textContent,i.charCodeAt(i.length-1)===t&&r!=="semi"||i===a?!1:i}return hA}var gA,XW;function I3e(){if(XW)return gA;XW=1;var e=O3e,t=R3e,n=yne(),r=P3e(),a=N3e(),i=M3e();gA=ce;var o={}.hasOwnProperty,l=String.fromCharCode,u=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f=9,g=10,y=12,p=32,v=38,E=59,T=60,C=61,k=35,_=88,A=120,P=65533,N="named",I="hexadecimal",L="decimal",j={};j[I]=16,j[L]=10;var z={};z[N]=a,z[L]=n,z[I]=r;var Q=1,le=2,re=3,ge=4,he=5,W=6,G=7,q={};q[Q]="Named character references must be terminated by a semicolon",q[le]="Numeric character references must be terminated by a semicolon",q[re]="Named character references cannot be empty",q[ge]="Numeric character references cannot be empty",q[he]="Named character references must be known",q[W]="Numeric character references cannot be disallowed",q[G]="Numeric character references cannot be outside the permissible Unicode range";function ce(Z,ee){var J={},ue,ke;ee||(ee={});for(ke in d)ue=ee[ke],J[ke]=ue??d[ke];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),H(Z,J)}function H(Z,ee){var J=ee.additional,ue=ee.nonTerminated,ke=ee.text,fe=ee.reference,xe=ee.warning,Ie=ee.textContext,qe=ee.referenceContext,nt=ee.warningContext,Ge=ee.position,at=ee.indent||[],Et=Z.length,kt=0,xt=-1,Rt=Ge.column||1,cn=Ge.line||1,Ht="",Wt=[],Oe,dt,ft,ut,Nt,U,D,F,ae,Te,Fe,We,Tt,Mt,be,Ee,gt,Lt,_t;for(typeof J=="string"&&(J=J.charCodeAt(0)),Ee=Ut(),F=xe?On:u,kt--,Et++;++kt65535&&(U-=65536,Te+=l(U>>>10|55296),U=56320|U&1023),U=Te+l(U))):Mt!==N&&F(ge,Lt)),U?(gn(),Ee=Ut(),kt=_t-1,Rt+=_t-Tt+1,Wt.push(U),gt=Ut(),gt.offset++,fe&&fe.call(qe,U,{start:Ee,end:gt},Z.slice(Tt-1,_t)),Ee=gt):(ut=Z.slice(Tt-1,_t),Ht+=ut,Rt+=ut.length,kt=_t-1)}else Nt===10&&(cn++,xt++,Rt=0),Nt===Nt?(Ht+=l(Nt),Rt++):gn();return Wt.join("");function Ut(){return{line:cn,column:Rt,offset:kt+(Ge.offset||0)}}function On(ln,Bn){var oa=Ut();oa.column+=Bn,oa.offset+=Bn,xe.call(nt,q[ln],oa,ln)}function gn(){Ht&&(Wt.push(Ht),ke&&ke.call(Ie,Ht,{start:Ee,end:Ut()}),Ht="")}}function Y(Z){return Z>=55296&&Z<=57343||Z>1114111}function ie(Z){return Z>=1&&Z<=8||Z===11||Z>=13&&Z<=31||Z>=127&&Z<=159||Z>=64976&&Z<=65007||(Z&65535)===65535||(Z&65535)===65534}return gA}var vA={exports:{}},QW;function D3e(){return QW||(QW=1,(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +`)};if(Q===0){var ge=f.slice(y+1,h).concat(jk({children:[re],className:N.properties.className})),me=T(ge,le);g.push(me)}else if(Q===j.length-1){var W=f[h+1]&&f[h+1].children&&f[h+1].children[0],G={type:"text",value:"".concat(z)};if(W){var q=jk({children:[G],className:N.properties.className});f.splice(h+1,0,q)}else{var ce=[G],H=T(ce,le,N.properties.className);g.push(H)}}else{var Y=[re],ie=T(Y,le,N.properties.className);g.push(ie)}}),y=h}h++};h4&&v.slice(0,4)===r&&a.test(h)&&(h.charAt(4)==="-"?E=u(h):h=d(h),T=t),new T(E,h))}function u(y){var h=y.slice(5).replace(i,g);return r+h.charAt(0).toUpperCase()+h.slice(1)}function d(y){var h=y.slice(4);return i.test(h)?y:(h=h.replace(o,f),h.charAt(0)!=="-"&&(h="-"+h),r+h)}function f(y){return"-"+y.toLowerCase()}function g(y){return y.charAt(1).toUpperCase()}return KA}var XA,xz;function TLe(){if(xz)return XA;xz=1,XA=t;var e=/[#.]/g;function t(n,r){for(var a=n||"",i=r||"div",o={},l=0,u,d,f;l=48&&n<=57}return eN}var tN,Mz;function RFe(){if(Mz)return tN;Mz=1,tN=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}return tN}var nN,Iz;function PFe(){if(Iz)return nN;Iz=1,nN=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=122||n>=65&&n<=90}return nN}var rN,Dz;function AFe(){if(Dz)return rN;Dz=1;var e=PFe(),t=rre();rN=n;function n(r){return e(r)||t(r)}return rN}var aN,$z;function NFe(){if($z)return aN;$z=1;var e,t=59;aN=n;function n(r){var a="&"+r+";",i;return e=e||document.createElement("i"),e.innerHTML=a,i=e.textContent,i.charCodeAt(i.length-1)===t&&r!=="semi"||i===a?!1:i}return aN}var iN,Lz;function MFe(){if(Lz)return iN;Lz=1;var e=_Fe,t=OFe,n=rre(),r=RFe(),a=AFe(),i=NFe();iN=ce;var o={}.hasOwnProperty,l=String.fromCharCode,u=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f=9,g=10,y=12,h=32,v=38,E=59,T=60,C=61,k=35,_=88,A=120,P=65533,N="named",I="hexadecimal",L="decimal",j={};j[I]=16,j[L]=10;var z={};z[N]=a,z[L]=n,z[I]=r;var Q=1,le=2,re=3,ge=4,me=5,W=6,G=7,q={};q[Q]="Named character references must be terminated by a semicolon",q[le]="Numeric character references must be terminated by a semicolon",q[re]="Named character references cannot be empty",q[ge]="Numeric character references cannot be empty",q[me]="Named character references must be known",q[W]="Numeric character references cannot be disallowed",q[G]="Numeric character references cannot be outside the permissible Unicode range";function ce(J,ee){var Z={},ue,ke;ee||(ee={});for(ke in d)ue=ee[ke],Z[ke]=ue??d[ke];return(Z.position.indent||Z.position.start)&&(Z.indent=Z.position.indent||[],Z.position=Z.position.start),H(J,Z)}function H(J,ee){var Z=ee.additional,ue=ee.nonTerminated,ke=ee.text,fe=ee.reference,xe=ee.warning,Ie=ee.textContext,qe=ee.referenceContext,tt=ee.warningContext,Ge=ee.position,at=ee.indent||[],Et=J.length,kt=0,xt=-1,Rt=Ge.column||1,cn=Ge.line||1,qt="",Wt=[],Oe,dt,ft,ut,Nt,U,D,F,ae,Te,Fe,We,Tt,Mt,be,Ee,gt,Lt,_t;for(typeof Z=="string"&&(Z=Z.charCodeAt(0)),Ee=Ut(),F=xe?On:u,kt--,Et++;++kt65535&&(U-=65536,Te+=l(U>>>10|55296),U=56320|U&1023),U=Te+l(U))):Mt!==N&&F(ge,Lt)),U?(gn(),Ee=Ut(),kt=_t-1,Rt+=_t-Tt+1,Wt.push(U),gt=Ut(),gt.offset++,fe&&fe.call(qe,U,{start:Ee,end:gt},J.slice(Tt-1,_t)),Ee=gt):(ut=J.slice(Tt-1,_t),qt+=ut,Rt+=ut.length,kt=_t-1)}else Nt===10&&(cn++,xt++,Rt=0),Nt===Nt?(qt+=l(Nt),Rt++):gn();return Wt.join("");function Ut(){return{line:cn,column:Rt,offset:kt+(Ge.offset||0)}}function On(ln,Bn){var oa=Ut();oa.column+=Bn,oa.offset+=Bn,xe.call(tt,q[ln],oa,ln)}function gn(){qt&&(Wt.push(qt),ke&&ke.call(Ie,qt,{start:Ee,end:Ut()}),qt="")}}function Y(J){return J>=55296&&J<=57343||J>1114111}function ie(J){return J>=1&&J<=8||J===11||J>=13&&J<=31||J>=127&&J<=159||J>=64976&&J<=65007||(J&65535)===65535||(J&65535)===65534}return iN}var oN={exports:{}},Fz;function IFe(){return Fz||(Fz=1,(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var n=(function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},l={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function k(_){return _ instanceof u?new u(_.type,k(_.content),_.alias):Array.isArray(_)?_.map(k):_.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(P){var k=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(P.stack)||[])[1];if(k){var _=document.getElementsByTagName("script");for(var A in _)if(_[A].src==k)return _[A]}return null}},isActive:function(k,_,A){for(var P="no-"+_;k;){var N=k.classList;if(N.contains(_))return!0;if(N.contains(P))return!1;k=k.parentElement}return!!A}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(k,_){var A=l.util.clone(l.languages[k]);for(var P in _)A[P]=_[P];return A},insertBefore:function(k,_,A,P){P=P||l.languages;var N=P[k],I={};for(var L in N)if(N.hasOwnProperty(L)){if(L==_)for(var j in A)A.hasOwnProperty(j)&&(I[j]=A[j]);A.hasOwnProperty(L)||(I[L]=N[L])}var z=P[k];return P[k]=I,l.languages.DFS(l.languages,function(Q,le){le===z&&Q!=k&&(this[Q]=I)}),I},DFS:function k(_,A,P,N){N=N||{};var I=l.util.objId;for(var L in _)if(_.hasOwnProperty(L)){A.call(_,L,_[L],P||L);var j=_[L],z=l.util.type(j);z==="Object"&&!N[I(j)]?(N[I(j)]=!0,k(j,A,null,N)):z==="Array"&&!N[I(j)]&&(N[I(j)]=!0,k(j,A,L,N))}}},plugins:{},highlightAll:function(k,_){l.highlightAllUnder(document,k,_)},highlightAllUnder:function(k,_,A){var P={callback:A,container:k,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",P),P.elements=Array.prototype.slice.apply(P.container.querySelectorAll(P.selector)),l.hooks.run("before-all-elements-highlight",P);for(var N=0,I;I=P.elements[N++];)l.highlightElement(I,_===!0,P.callback)},highlightElement:function(k,_,A){var P=l.util.getLanguage(k),N=l.languages[P];l.util.setLanguage(k,P);var I=k.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(I,P);var L=k.textContent,j={element:k,language:P,grammar:N,code:L};function z(le){j.highlightedCode=le,l.hooks.run("before-insert",j),j.element.innerHTML=j.highlightedCode,l.hooks.run("after-highlight",j),l.hooks.run("complete",j),A&&A.call(j.element)}if(l.hooks.run("before-sanity-check",j),I=j.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!j.code){l.hooks.run("complete",j),A&&A.call(j.element);return}if(l.hooks.run("before-highlight",j),!j.grammar){z(l.util.encode(j.code));return}if(_&&r.Worker){var Q=new Worker(l.filename);Q.onmessage=function(le){z(le.data)},Q.postMessage(JSON.stringify({language:j.language,code:j.code,immediateClose:!0}))}else z(l.highlight(j.code,j.grammar,j.language))},highlight:function(k,_,A){var P={code:k,grammar:_,language:A};if(l.hooks.run("before-tokenize",P),!P.grammar)throw new Error('The language "'+P.language+'" has no grammar.');return P.tokens=l.tokenize(P.code,P.grammar),l.hooks.run("after-tokenize",P),u.stringify(l.util.encode(P.tokens),P.language)},tokenize:function(k,_){var A=_.rest;if(A){for(var P in A)_[P]=A[P];delete _.rest}var N=new g;return y(N,N.head,k),f(k,N,_,N.head,0),v(N)},hooks:{all:{},add:function(k,_){var A=l.hooks.all;A[k]=A[k]||[],A[k].push(_)},run:function(k,_){var A=l.hooks.all[k];if(!(!A||!A.length))for(var P=0,N;N=A[P++];)N(_)}},Token:u};r.Prism=l;function u(k,_,A,P){this.type=k,this.content=_,this.alias=A,this.length=(P||"").length|0}u.stringify=function k(_,A){if(typeof _=="string")return _;if(Array.isArray(_)){var P="";return _.forEach(function(z){P+=k(z,A)}),P}var N={type:_.type,content:k(_.content,A),tag:"span",classes:["token",_.type],attributes:{},language:A},I=_.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(N.classes,I):N.classes.push(I)),l.hooks.run("wrap",N);var L="";for(var j in N.attributes)L+=" "+j+'="'+(N.attributes[j]||"").replace(/"/g,""")+'"';return"<"+N.tag+' class="'+N.classes.join(" ")+'"'+L+">"+N.content+""};function d(k,_,A,P){k.lastIndex=_;var N=k.exec(A);if(N&&P&&N[1]){var I=N[1].length;N.index+=I,N[0]=N[0].slice(I)}return N}function f(k,_,A,P,N,I){for(var L in A)if(!(!A.hasOwnProperty(L)||!A[L])){var j=A[L];j=Array.isArray(j)?j:[j];for(var z=0;z=I.reach);ce+=q.value.length,q=q.next){var H=q.value;if(_.length>k.length)return;if(!(H instanceof u)){var Y=1,ie;if(ge){if(ie=d(G,ce,k,re),!ie||ie.index>=k.length)break;var ue=ie.index,Z=ie.index+ie[0].length,ee=ce;for(ee+=q.value.length;ue>=ee;)q=q.next,ee+=q.value.length;if(ee-=q.value.length,ce=ee,q.value instanceof u)continue;for(var J=q;J!==_.tail&&(eeI.reach&&(I.reach=Ie);var qe=q.prev;fe&&(qe=y(_,qe,fe),ce+=fe.length),p(_,qe,Y);var nt=new u(L,le?l.tokenize(ke,le):ke,he,ke);if(q=y(_,qe,nt),xe&&y(_,q,xe),Y>1){var Ge={cause:L+","+z,reach:Ie};f(k,_,A,q.prev,ce,Ge),I&&Ge.reach>I.reach&&(I.reach=Ge.reach)}}}}}}function g(){var k={value:null,prev:null,next:null},_={value:null,prev:k,next:null};k.next=_,this.head=k,this.tail=_,this.length=0}function y(k,_,A){var P=_.next,N={value:A,prev:_,next:P};return _.next=N,P.prev=N,k.length++,N}function p(k,_,A){for(var P=_.next,N=0;N/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(r,a){var i={};i["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:t.languages[a]},i.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:i}};o["language-"+a]={pattern:/[\s\S]+/,inside:t.languages[a]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}return yA}var bA,JW;function L3e(){if(JW)return bA;JW=1,bA=e,e.displayName="css",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var a=n.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(t)}return bA}var wA,ez;function F3e(){if(ez)return wA;ez=1,wA=e,e.displayName="clike",e.aliases=[];function e(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}return wA}var SA,tz;function j3e(){if(tz)return SA;tz=1,SA=e,e.displayName="javascript",e.aliases=["js"];function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}return SA}var EA,nz;function U3e(){if(nz)return EA;nz=1;var e=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof bl=="object"?bl:{},t=P();e.Prism={manual:!0,disableWorkerMessageHandler:!0};var n=R$e(),r=I3e(),a=D3e(),i=$3e(),o=L3e(),l=F3e(),u=j3e();t();var d={}.hasOwnProperty;function f(){}f.prototype=a;var g=new f;EA=g,g.highlight=v,g.register=y,g.alias=p,g.registered=E,g.listLanguages=T,y(i),y(o),y(l),y(u),g.util.encode=_,g.Token.stringify=C;function y(N){if(typeof N!="function"||!N.displayName)throw new Error("Expected `function` for `grammar`, got `"+N+"`");g.languages[N.displayName]===void 0&&N(g)}function p(N,I){var L=g.languages,j=N,z,Q,le,re;I&&(j={},j[N]=I);for(z in j)for(Q=j[z],Q=typeof Q=="string"?[Q]:Q,le=Q.length,re=-1;++re code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var TA,rz;function W3e(){if(rz)return TA;rz=1,TA=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return TA}var CA,az;function z3e(){if(az)return CA;az=1,CA=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return CA}var kA,iz;function q3e(){if(iz)return kA;iz=1,kA=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return kA}var xA,oz;function H3e(){if(oz)return xA;oz=1,xA=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return xA}var _A,sz;function V3e(){if(sz)return _A;sz=1,_A=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return _A}var OA,lz;function G3e(){if(lz)return OA;lz=1,OA=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return OA}var RA,uz;function Y3e(){if(uz)return RA;uz=1,RA=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return RA}var PA,cz;function K3e(){if(cz)return PA;cz=1,PA=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return PA}var AA,dz;function GF(){if(dz)return AA;dz=1,AA=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return AA}var NA,fz;function X3e(){if(fz)return NA;fz=1;var e=GF();NA=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),(function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function o(u){return RegExp(u.replace(//g,function(){return i}),"i")}var l={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:l},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:l},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:l}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}})(n)}return NA}var MA,pz;function Q3e(){if(pz)return MA;pz=1,MA=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return MA}var IA,mz;function Z3e(){if(mz)return IA;mz=1,IA=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return IA}var DA,hz;function J3e(){if(hz)return DA;hz=1,DA=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return DA}var $A,gz;function pv(){if(gz)return $A;gz=1,$A=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return $A}var LA,vz;function YF(){if(vz)return LA;vz=1;var e=pv();LA=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),(function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])})(n)}return LA}var FA,yz;function eFe(){if(yz)return FA;yz=1;var e=YF();FA=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return FA}var jA,bz;function tFe(){if(bz)return jA;bz=1,jA=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return jA}var UA,wz;function nFe(){if(wz)return UA;wz=1,UA=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(o){o=o.split(" ");for(var l={},u=0,d=o.length;u>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return WA}var zA,Tz;function Gx(){if(Tz)return zA;Tz=1,zA=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(Y,ie){return Y.replace(/<<(\d+)>>/g,function(Z,ee){return"(?:"+ie[+ee]+")"})}function a(Y,ie,Z){return RegExp(r(Y,ie),"")}function i(Y,ie){for(var Z=0;Z>/g,function(){return"(?:"+Y+")"});return Y.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(Y){return"\\b(?:"+Y.trim().replace(/ /g,"|")+")\\b"}var u=l(o.typeDeclaration),d=RegExp(l(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),f=l(o.typeDeclaration+" "+o.contextual+" "+o.other),g=l(o.type+" "+o.typeDeclaration+" "+o.other),y=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),p=i(/\((?:[^()]|<>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,E=r(/<<0>>(?:\s*<<1>>)?/.source,[v,y]),T=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,E]),C=/\[\s*(?:,\s*)*\]/.source,k=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[T,C]),_=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[y,p,C]),A=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),P=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[A,T,C]),N={keyword:d,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,L=/"(?:\\.|[^\\"\r\n])*"/.source,j=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[j]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[T]),lookbehind:!0,inside:N},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,P]),lookbehind:!0,inside:N},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[u,E]),lookbehind:!0,inside:N},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[T]),lookbehind:!0,inside:N},{pattern:a(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[k]),lookbehind:!0,inside:N},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[P,g,v]),inside:N}],keyword:d,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:N},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[P,T]),inside:N,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[P]),lookbehind:!0,inside:N,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,y]),inside:{function:a(/^<<0>>/.source,[v]),generic:{pattern:RegExp(y),alias:"class-name",inside:N}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,E,v,P,d.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[E,p]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:d,"class-name":{pattern:RegExp(P),greedy:!0,inside:N},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var z=L+"|"+I,Q=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[z]),le=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[Q]),2),re=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ge=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[T,le]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[re,ge]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[re]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[le]),inside:n.languages.csharp},"class-name":{pattern:RegExp(T),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var he=/:[^}\r\n]+/.source,W=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[Q]),2),G=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[W,he]),q=i(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[z]),2),ce=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[q,he]);function H(Y,ie){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Y]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[ie,he]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[G]),lookbehind:!0,greedy:!0,inside:H(G,W)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ce]),lookbehind:!0,greedy:!0,inside:H(ce,q)}],char:{pattern:RegExp(I),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return zA}var qA,Cz;function iFe(){if(Cz)return qA;Cz=1;var e=Gx();qA=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return qA}var HA,kz;function oFe(){if(kz)return HA;kz=1,HA=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return HA}var VA,xz;function sFe(){if(xz)return VA;xz=1,VA=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return VA}var GA,_z;function lFe(){if(_z)return GA;_z=1,GA=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(f,g){return f.replace(/<<(\d+)>>/g,function(y,p){return g[+p]})}function a(f,g,y){return RegExp(r(f,g),y)}var i=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),l=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),u=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),d=[o,l,u].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[d],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return GA}var YA,Oz;function uFe(){if(Oz)return YA;Oz=1,YA=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return YA}var KA,Rz;function bne(){if(Rz)return KA;Rz=1,KA=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=i.variable[1].inside,u=0;u?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return XA}var QA,Az;function cFe(){if(Az)return QA;Az=1,QA=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:a,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:a,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return QA}var ZA,Nz;function dFe(){if(Nz)return ZA;Nz=1,ZA=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return ZA}var JA,Mz;function fFe(){if(Mz)return JA;Mz=1,JA=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return JA}var eN,Iz;function pFe(){if(Iz)return eN;Iz=1,eN=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return eN}var tN,Dz;function mFe(){if(Dz)return tN;Dz=1;var e=pv();tN=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return tN}var nN,$z;function hFe(){if($z)return nN;$z=1,nN=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return nN}var rN,Lz;function gFe(){if(Lz)return rN;Lz=1,rN=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return rN}var aN,Fz;function vFe(){if(Fz)return aN;Fz=1,aN=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return aN}var iN,jz;function yFe(){if(jz)return iN;jz=1,iN=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return iN}var oN,Uz;function bFe(){if(Uz)return oN;Uz=1,oN=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return oN}var sN,Bz;function wFe(){if(Bz)return sN;Bz=1,sN=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return sN}var lN,Wz;function SFe(){if(Wz)return lN;Wz=1;var e=YF();lN=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return lN}var uN,zz;function EFe(){if(zz)return uN;zz=1,uN=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return uN}var cN,qz;function TFe(){if(qz)return cN;qz=1,cN=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return cN}var dN,Hz;function CFe(){if(Hz)return dN;Hz=1,dN=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return dN}var fN,Vz;function kFe(){if(Vz)return fN;Vz=1,fN=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return fN}var pN,Gz;function xFe(){if(Gz)return pN;Gz=1,pN=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return pN}var mN,Yz;function _Fe(){if(Yz)return mN;Yz=1,mN=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return mN}var hN,Kz;function OFe(){if(Kz)return hN;Kz=1,hN=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return hN}var gN,Xz;function Yx(){if(Xz)return gN;Xz=1,gN=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return gN}var vN,Qz;function RFe(){if(Qz)return vN;Qz=1;var e=Yx();vN=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})})(n)}return vN}var yN,Zz;function PFe(){if(Zz)return yN;Zz=1;var e=Gx();yN=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),(function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(T,C){for(var k=0;k/g,function(){return"(?:"+T+")"});return T.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+i+")").replace(//g,"(?:"+a+")")}var l=o(/\((?:[^()'"@/]|||)*\)/.source,2),u=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),d=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),f=o(/<(?:[^<>'"@/]|||)*>/.source,2),g=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,y=/(?!\d)[^\s>\/=$<%]+/.source+g+/\s*\/?>/.source,p=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+y+"|"+o(/<\1/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+y+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return wN}var SN,t9;function MFe(){if(t9)return SN;t9=1,SN=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return SN}var EN,n9;function IFe(){if(n9)return EN;n9=1,EN=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return EN}var TN,r9;function DFe(){if(r9)return TN;r9=1,TN=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return TN}var CN,a9;function $Fe(){if(a9)return CN;a9=1,CN=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return CN}var kN,i9;function LFe(){if(i9)return kN;i9=1,kN=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return kN}var xN,o9;function FFe(){if(o9)return xN;o9=1,xN=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return xN}var _N,s9;function jFe(){if(s9)return _N;s9=1,_N=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return _N}var ON,l9;function UFe(){if(l9)return ON;l9=1,ON=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var i=r[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r + */var n=(function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},l={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function k(_){return _ instanceof u?new u(_.type,k(_.content),_.alias):Array.isArray(_)?_.map(k):_.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(P){var k=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(P.stack)||[])[1];if(k){var _=document.getElementsByTagName("script");for(var A in _)if(_[A].src==k)return _[A]}return null}},isActive:function(k,_,A){for(var P="no-"+_;k;){var N=k.classList;if(N.contains(_))return!0;if(N.contains(P))return!1;k=k.parentElement}return!!A}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(k,_){var A=l.util.clone(l.languages[k]);for(var P in _)A[P]=_[P];return A},insertBefore:function(k,_,A,P){P=P||l.languages;var N=P[k],I={};for(var L in N)if(N.hasOwnProperty(L)){if(L==_)for(var j in A)A.hasOwnProperty(j)&&(I[j]=A[j]);A.hasOwnProperty(L)||(I[L]=N[L])}var z=P[k];return P[k]=I,l.languages.DFS(l.languages,function(Q,le){le===z&&Q!=k&&(this[Q]=I)}),I},DFS:function k(_,A,P,N){N=N||{};var I=l.util.objId;for(var L in _)if(_.hasOwnProperty(L)){A.call(_,L,_[L],P||L);var j=_[L],z=l.util.type(j);z==="Object"&&!N[I(j)]?(N[I(j)]=!0,k(j,A,null,N)):z==="Array"&&!N[I(j)]&&(N[I(j)]=!0,k(j,A,L,N))}}},plugins:{},highlightAll:function(k,_){l.highlightAllUnder(document,k,_)},highlightAllUnder:function(k,_,A){var P={callback:A,container:k,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",P),P.elements=Array.prototype.slice.apply(P.container.querySelectorAll(P.selector)),l.hooks.run("before-all-elements-highlight",P);for(var N=0,I;I=P.elements[N++];)l.highlightElement(I,_===!0,P.callback)},highlightElement:function(k,_,A){var P=l.util.getLanguage(k),N=l.languages[P];l.util.setLanguage(k,P);var I=k.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(I,P);var L=k.textContent,j={element:k,language:P,grammar:N,code:L};function z(le){j.highlightedCode=le,l.hooks.run("before-insert",j),j.element.innerHTML=j.highlightedCode,l.hooks.run("after-highlight",j),l.hooks.run("complete",j),A&&A.call(j.element)}if(l.hooks.run("before-sanity-check",j),I=j.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!j.code){l.hooks.run("complete",j),A&&A.call(j.element);return}if(l.hooks.run("before-highlight",j),!j.grammar){z(l.util.encode(j.code));return}if(_&&r.Worker){var Q=new Worker(l.filename);Q.onmessage=function(le){z(le.data)},Q.postMessage(JSON.stringify({language:j.language,code:j.code,immediateClose:!0}))}else z(l.highlight(j.code,j.grammar,j.language))},highlight:function(k,_,A){var P={code:k,grammar:_,language:A};if(l.hooks.run("before-tokenize",P),!P.grammar)throw new Error('The language "'+P.language+'" has no grammar.');return P.tokens=l.tokenize(P.code,P.grammar),l.hooks.run("after-tokenize",P),u.stringify(l.util.encode(P.tokens),P.language)},tokenize:function(k,_){var A=_.rest;if(A){for(var P in A)_[P]=A[P];delete _.rest}var N=new g;return y(N,N.head,k),f(k,N,_,N.head,0),v(N)},hooks:{all:{},add:function(k,_){var A=l.hooks.all;A[k]=A[k]||[],A[k].push(_)},run:function(k,_){var A=l.hooks.all[k];if(!(!A||!A.length))for(var P=0,N;N=A[P++];)N(_)}},Token:u};r.Prism=l;function u(k,_,A,P){this.type=k,this.content=_,this.alias=A,this.length=(P||"").length|0}u.stringify=function k(_,A){if(typeof _=="string")return _;if(Array.isArray(_)){var P="";return _.forEach(function(z){P+=k(z,A)}),P}var N={type:_.type,content:k(_.content,A),tag:"span",classes:["token",_.type],attributes:{},language:A},I=_.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(N.classes,I):N.classes.push(I)),l.hooks.run("wrap",N);var L="";for(var j in N.attributes)L+=" "+j+'="'+(N.attributes[j]||"").replace(/"/g,""")+'"';return"<"+N.tag+' class="'+N.classes.join(" ")+'"'+L+">"+N.content+""};function d(k,_,A,P){k.lastIndex=_;var N=k.exec(A);if(N&&P&&N[1]){var I=N[1].length;N.index+=I,N[0]=N[0].slice(I)}return N}function f(k,_,A,P,N,I){for(var L in A)if(!(!A.hasOwnProperty(L)||!A[L])){var j=A[L];j=Array.isArray(j)?j:[j];for(var z=0;z=I.reach);ce+=q.value.length,q=q.next){var H=q.value;if(_.length>k.length)return;if(!(H instanceof u)){var Y=1,ie;if(ge){if(ie=d(G,ce,k,re),!ie||ie.index>=k.length)break;var ue=ie.index,J=ie.index+ie[0].length,ee=ce;for(ee+=q.value.length;ue>=ee;)q=q.next,ee+=q.value.length;if(ee-=q.value.length,ce=ee,q.value instanceof u)continue;for(var Z=q;Z!==_.tail&&(eeI.reach&&(I.reach=Ie);var qe=q.prev;fe&&(qe=y(_,qe,fe),ce+=fe.length),h(_,qe,Y);var tt=new u(L,le?l.tokenize(ke,le):ke,me,ke);if(q=y(_,qe,tt),xe&&y(_,q,xe),Y>1){var Ge={cause:L+","+z,reach:Ie};f(k,_,A,q.prev,ce,Ge),I&&Ge.reach>I.reach&&(I.reach=Ge.reach)}}}}}}function g(){var k={value:null,prev:null,next:null},_={value:null,prev:k,next:null};k.next=_,this.head=k,this.tail=_,this.length=0}function y(k,_,A){var P=_.next,N={value:A,prev:_,next:P};return _.next=N,P.prev=N,k.length++,N}function h(k,_,A){for(var P=_.next,N=0;N/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(r,a){var i={};i["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:t.languages[a]},i.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:i}};o["language-"+a]={pattern:/[\s\S]+/,inside:t.languages[a]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}return sN}var lN,Uz;function $Fe(){if(Uz)return lN;Uz=1,lN=e,e.displayName="css",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var a=n.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(t)}return lN}var uN,Bz;function LFe(){if(Bz)return uN;Bz=1,uN=e,e.displayName="clike",e.aliases=[];function e(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}return uN}var cN,Wz;function FFe(){if(Wz)return cN;Wz=1,cN=e,e.displayName="javascript",e.aliases=["js"];function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}return cN}var dN,zz;function jFe(){if(zz)return dN;zz=1;var e=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof El=="object"?El:{},t=P();e.Prism={manual:!0,disableWorkerMessageHandler:!0};var n=OLe(),r=MFe(),a=IFe(),i=DFe(),o=$Fe(),l=LFe(),u=FFe();t();var d={}.hasOwnProperty;function f(){}f.prototype=a;var g=new f;dN=g,g.highlight=v,g.register=y,g.alias=h,g.registered=E,g.listLanguages=T,y(i),y(o),y(l),y(u),g.util.encode=_,g.Token.stringify=C;function y(N){if(typeof N!="function"||!N.displayName)throw new Error("Expected `function` for `grammar`, got `"+N+"`");g.languages[N.displayName]===void 0&&N(g)}function h(N,I){var L=g.languages,j=N,z,Q,le,re;I&&(j={},j[N]=I);for(z in j)for(Q=j[z],Q=typeof Q=="string"?[Q]:Q,le=Q.length,re=-1;++re code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var fN,qz;function BFe(){if(qz)return fN;qz=1,fN=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return fN}var pN,Hz;function WFe(){if(Hz)return pN;Hz=1,pN=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return pN}var hN,Vz;function zFe(){if(Vz)return hN;Vz=1,hN=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return hN}var mN,Gz;function qFe(){if(Gz)return mN;Gz=1,mN=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return mN}var gN,Yz;function HFe(){if(Yz)return gN;Yz=1,gN=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return gN}var vN,Kz;function VFe(){if(Kz)return vN;Kz=1,vN=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return vN}var yN,Xz;function GFe(){if(Xz)return yN;Xz=1,yN=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return yN}var bN,Qz;function YFe(){if(Qz)return bN;Qz=1,bN=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return bN}var wN,Jz;function Ij(){if(Jz)return wN;Jz=1,wN=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return wN}var SN,Zz;function KFe(){if(Zz)return SN;Zz=1;var e=Ij();SN=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),(function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function o(u){return RegExp(u.replace(//g,function(){return i}),"i")}var l={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:l},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:l},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:l}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}})(n)}return SN}var EN,eq;function XFe(){if(eq)return EN;eq=1,EN=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return EN}var TN,tq;function QFe(){if(tq)return TN;tq=1,TN=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return TN}var CN,nq;function JFe(){if(nq)return CN;nq=1,CN=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return CN}var kN,rq;function Bv(){if(rq)return kN;rq=1,kN=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return kN}var xN,aq;function Dj(){if(aq)return xN;aq=1;var e=Bv();xN=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),(function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])})(n)}return xN}var _N,iq;function ZFe(){if(iq)return _N;iq=1;var e=Dj();_N=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return _N}var ON,oq;function eje(){if(oq)return ON;oq=1,ON=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return ON}var RN,sq;function tje(){if(sq)return RN;sq=1,RN=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(o){o=o.split(" ");for(var l={},u=0,d=o.length;u>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return AN}var NN,cq;function R_(){if(cq)return NN;cq=1,NN=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(Y,ie){return Y.replace(/<<(\d+)>>/g,function(J,ee){return"(?:"+ie[+ee]+")"})}function a(Y,ie,J){return RegExp(r(Y,ie),"")}function i(Y,ie){for(var J=0;J>/g,function(){return"(?:"+Y+")"});return Y.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(Y){return"\\b(?:"+Y.trim().replace(/ /g,"|")+")\\b"}var u=l(o.typeDeclaration),d=RegExp(l(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),f=l(o.typeDeclaration+" "+o.contextual+" "+o.other),g=l(o.type+" "+o.typeDeclaration+" "+o.other),y=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=i(/\((?:[^()]|<>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,E=r(/<<0>>(?:\s*<<1>>)?/.source,[v,y]),T=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,E]),C=/\[\s*(?:,\s*)*\]/.source,k=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[T,C]),_=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[y,h,C]),A=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),P=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[A,T,C]),N={keyword:d,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,L=/"(?:\\.|[^\\"\r\n])*"/.source,j=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[j]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[T]),lookbehind:!0,inside:N},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,P]),lookbehind:!0,inside:N},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[u,E]),lookbehind:!0,inside:N},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[T]),lookbehind:!0,inside:N},{pattern:a(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[k]),lookbehind:!0,inside:N},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[P,g,v]),inside:N}],keyword:d,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:N},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[P,T]),inside:N,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[P]),lookbehind:!0,inside:N,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,y]),inside:{function:a(/^<<0>>/.source,[v]),generic:{pattern:RegExp(y),alias:"class-name",inside:N}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,E,v,P,d.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[E,h]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:d,"class-name":{pattern:RegExp(P),greedy:!0,inside:N},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var z=L+"|"+I,Q=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[z]),le=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[Q]),2),re=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ge=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[T,le]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[re,ge]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[re]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[le]),inside:n.languages.csharp},"class-name":{pattern:RegExp(T),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var me=/:[^}\r\n]+/.source,W=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[Q]),2),G=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[W,me]),q=i(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[z]),2),ce=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[q,me]);function H(Y,ie){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Y]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[ie,me]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[G]),lookbehind:!0,greedy:!0,inside:H(G,W)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ce]),lookbehind:!0,greedy:!0,inside:H(ce,q)}],char:{pattern:RegExp(I),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return NN}var MN,dq;function aje(){if(dq)return MN;dq=1;var e=R_();MN=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return MN}var IN,fq;function ije(){if(fq)return IN;fq=1,IN=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return IN}var DN,pq;function oje(){if(pq)return DN;pq=1,DN=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return DN}var $N,hq;function sje(){if(hq)return $N;hq=1,$N=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(f,g){return f.replace(/<<(\d+)>>/g,function(y,h){return g[+h]})}function a(f,g,y){return RegExp(r(f,g),y)}var i=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),l=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),u=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),d=[o,l,u].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[d],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return $N}var LN,mq;function lje(){if(mq)return LN;mq=1,LN=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return LN}var FN,gq;function are(){if(gq)return FN;gq=1,FN=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=i.variable[1].inside,u=0;u?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return jN}var UN,yq;function uje(){if(yq)return UN;yq=1,UN=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:a,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:a,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return UN}var BN,bq;function cje(){if(bq)return BN;bq=1,BN=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return BN}var WN,wq;function dje(){if(wq)return WN;wq=1,WN=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return WN}var zN,Sq;function fje(){if(Sq)return zN;Sq=1,zN=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return zN}var qN,Eq;function pje(){if(Eq)return qN;Eq=1;var e=Bv();qN=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return qN}var HN,Tq;function hje(){if(Tq)return HN;Tq=1,HN=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return HN}var VN,Cq;function mje(){if(Cq)return VN;Cq=1,VN=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return VN}var GN,kq;function gje(){if(kq)return GN;kq=1,GN=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return GN}var YN,xq;function vje(){if(xq)return YN;xq=1,YN=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return YN}var KN,_q;function yje(){if(_q)return KN;_q=1,KN=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return KN}var XN,Oq;function bje(){if(Oq)return XN;Oq=1,XN=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return XN}var QN,Rq;function wje(){if(Rq)return QN;Rq=1;var e=Dj();QN=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return QN}var JN,Pq;function Sje(){if(Pq)return JN;Pq=1,JN=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return JN}var ZN,Aq;function Eje(){if(Aq)return ZN;Aq=1,ZN=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return ZN}var e2,Nq;function Tje(){if(Nq)return e2;Nq=1,e2=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return e2}var t2,Mq;function Cje(){if(Mq)return t2;Mq=1,t2=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return t2}var n2,Iq;function kje(){if(Iq)return n2;Iq=1,n2=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return n2}var r2,Dq;function xje(){if(Dq)return r2;Dq=1,r2=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return r2}var a2,$q;function _je(){if($q)return a2;$q=1,a2=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return a2}var i2,Lq;function P_(){if(Lq)return i2;Lq=1,i2=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return i2}var o2,Fq;function Oje(){if(Fq)return o2;Fq=1;var e=P_();o2=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})})(n)}return o2}var s2,jq;function Rje(){if(jq)return s2;jq=1;var e=R_();s2=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),(function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(T,C){for(var k=0;k/g,function(){return"(?:"+T+")"});return T.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+i+")").replace(//g,"(?:"+a+")")}var l=o(/\((?:[^()'"@/]|||)*\)/.source,2),u=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),d=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),f=o(/<(?:[^<>'"@/]|||)*>/.source,2),g=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,y=/(?!\d)[^\s>\/=$<%]+/.source+g+/\s*\/?>/.source,h=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+y+"|"+o(/<\1/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+y+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return u2}var c2,Wq;function Nje(){if(Wq)return c2;Wq=1,c2=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return c2}var d2,zq;function Mje(){if(zq)return d2;zq=1,d2=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return d2}var f2,qq;function Ije(){if(qq)return f2;qq=1,f2=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return f2}var p2,Hq;function Dje(){if(Hq)return p2;Hq=1,p2=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return p2}var h2,Vq;function $je(){if(Vq)return h2;Vq=1,h2=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return h2}var m2,Gq;function Lje(){if(Gq)return m2;Gq=1,m2=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return m2}var g2,Yq;function Fje(){if(Yq)return g2;Yq=1,g2=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return g2}var v2,Kq;function jje(){if(Kq)return v2;Kq=1,v2=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var i=r[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return ON}var RN,u9;function ss(){if(u9)return RN;u9=1,RN=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,l){if(a.language===i){var u=a.tokenStack=[];a.code=a.code.replace(o,function(d){if(typeof l=="function"&&!l(d))return d;for(var f=u.length,g;a.code.indexOf(g=r(i,f))!==-1;)++f;return u[f]=d,g}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,l=Object.keys(a.tokenStack);function u(d){for(var f=0;f=l.length);f++){var g=d[f];if(typeof g=="string"||g.content&&typeof g.content=="string"){var y=l[o],p=a.tokenStack[y],v=typeof g=="string"?g:g.content,E=r(i,y),T=v.indexOf(E);if(T>-1){++o;var C=v.substring(0,T),k=new n.Token(i,n.tokenize(p,a.grammar),"language-"+i,p),_=v.substring(T+E.length),A=[];C&&A.push.apply(A,u([C])),A.push(k),_&&A.push.apply(A,u([_])),typeof g=="string"?d.splice.apply(d,[f,1].concat(A)):g.content=A}}else g.content&&u(g.content)}return d}u(a.tokens)}}})})(t)}return RN}var PN,c9;function BFe(){if(c9)return PN;c9=1;var e=ss();PN=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),(function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})})(n)}return PN}var AN,d9;function WFe(){if(d9)return AN;d9=1,AN=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return AN}var NN,f9;function zFe(){if(f9)return NN;f9=1,NN=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),l={pattern:RegExp(i),greedy:!0},u={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function d(f,g){return f=f.replace(//g,function(){return o}).replace(//g,function(){return a}),RegExp(f,g)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:d(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:d(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:u,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:u},n.languages.dockerfile=n.languages.docker})(t)}return NN}var MN,p9;function qFe(){if(p9)return MN;p9=1,MN=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function i(o,l){return RegExp(o.replace(//g,function(){return r}),l)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return MN}var IN,m9;function HFe(){if(m9)return IN;m9=1,IN=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return IN}var DN,h9;function VFe(){if(h9)return DN;h9=1,DN=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return DN}var $N,g9;function GFe(){if(g9)return $N;g9=1,$N=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return $N}var LN,v9;function YFe(){if(v9)return LN;v9=1;var e=ss();LN=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),(function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var i=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs})(n)}return LN}var FN,y9;function KFe(){if(y9)return FN;y9=1,FN=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return FN}var jN,b9;function XFe(){if(b9)return jN;b9=1,jN=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return jN}var UN,w9;function QFe(){if(w9)return UN;w9=1;var e=Yx(),t=ss();UN=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})})(r)}return UN}var BN,S9;function ZFe(){if(S9)return BN;S9=1,BN=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return BN}var WN,E9;function Sne(){if(E9)return WN;E9=1,WN=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return WN}var zN,T9;function JFe(){if(T9)return zN;T9=1;var e=Sne(),t=ss();zN=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})})(r)}return zN}var qN,C9;function eje(){if(C9)return qN;C9=1,qN=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return qN}var HN,k9;function tje(){if(k9)return HN;k9=1,HN=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},o=function(f){return(f+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},l=function(f){return new RegExp("(^|\\s)(?:"+f.map(o).join("|")+")(?=\\s|$)")},u={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(u).forEach(function(f){i[f].pattern=l(u[f])});var d=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=l(d),n.languages.factor=i})(t)}return HN}var VN,x9;function nje(){if(x9)return VN;x9=1,VN=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return GN}var YN,O9;function aje(){if(O9)return YN;O9=1,YN=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return YN}var KN,R9;function ije(){if(R9)return KN;R9=1,KN=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return KN}var XN,P9;function oje(){if(P9)return XN;P9=1,XN=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return XN}var QN,A9;function sje(){if(A9)return QN;A9=1;var e=ss();QN=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),(function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(l){var u=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(l,"ftl",u)}),r.hooks.add("after-tokenize",function(l){r.languages["markup-templating"].tokenizePlaceholders(l,"ftl")})})(n)}return QN}var ZN,N9;function lje(){if(N9)return ZN;N9=1,ZN=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return ZN}var JN,M9;function uje(){if(M9)return JN;M9=1,JN=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return JN}var e2,I9;function cje(){if(I9)return e2;I9=1,e2=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return e2}var t2,D9;function dje(){if(D9)return t2;D9=1,t2=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return t2}var n2,$9;function fje(){if($9)return n2;$9=1,n2=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return n2}var r2,L9;function pje(){if(L9)return r2;L9=1,r2=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return r2}var a2,F9;function mje(){if(F9)return a2;F9=1;var e=pv();a2=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return a2}var i2,j9;function hje(){if(j9)return i2;j9=1,i2=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return i2}var o2,U9;function gje(){if(U9)return o2;U9=1,o2=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return o2}var s2,B9;function vje(){if(B9)return s2;B9=1,s2=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return s2}var l2,W9;function yje(){if(W9)return l2;W9=1,l2=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return l2}var u2,z9;function bje(){if(z9)return u2;z9=1,u2=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(C){return typeof C!="string"&&C.type!=="comment"&&C.type!=="scalar"}),i=0;function o(C){return a[i+C]}function l(C,k){k=k||0;for(var _=0;_0)){var v=u(/^\{$/,/^\}$/);if(v===-1)continue;for(var E=i;E=0&&d(T,"variable-input")}}}}})}return u2}var c2,q9;function wje(){if(q9)return c2;q9=1,c2=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return c2}var d2,H9;function Sje(){if(H9)return d2;H9=1;var e=Yx();d2=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},l=0,u=i.length;l@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars})(n)}return f2}var p2,G9;function KF(){if(G9)return p2;G9=1,p2=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return p2}var m2,Y9;function Tje(){if(Y9)return m2;Y9=1,m2=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return m2}var h2,K9;function Cje(){if(K9)return h2;K9=1,h2=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return h2}var g2,X9;function kje(){if(X9)return g2;X9=1;var e=pv();g2=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return g2}var v2,Q9;function xje(){if(Q9)return v2;Q9=1,v2=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return v2}var y2,Z9;function _je(){if(Z9)return y2;Z9=1,y2=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return y2}var b2,J9;function Oje(){if(J9)return b2;J9=1,b2=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return b2}var w2,eq;function Rje(){if(eq)return w2;eq=1,w2=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(g){return RegExp("(^(?:"+g+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,i={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},o={"application/json":!0,"application/xml":!0};function l(g){var y=g.replace(/^[a-z]+\//,""),p="\\w+/(?:[\\w.-]+\\+)+"+y+"(?![+\\w.-])";return"(?:"+g+"|"+p+")"}var u;for(var d in i)if(i[d]){u=u||{};var f=o[d]?l(d):d;u[d.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+f+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[d]}}u&&n.languages.insertBefore("http","header",u)})(t)}return w2}var S2,tq;function Pje(){if(tq)return S2;tq=1,S2=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return S2}var E2,nq;function Aje(){if(nq)return E2;nq=1,E2=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return E2}var T2,rq;function Nje(){if(rq)return T2;rq=1,T2=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(d,f){return f<=0?/[]/.source:d.replace(//g,function(){return r(d,f-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},l=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),u={pattern:RegExp(l),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(l),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":u,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":u,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:o},u.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return T2}var C2,aq;function Mje(){if(aq)return C2;aq=1;var e=KF();C2=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return C2}var k2,iq;function Ije(){if(iq)return k2;iq=1,k2=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return k2}var x2,oq;function Dje(){if(oq)return x2;oq=1,x2=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return x2}var _2,sq;function $je(){if(sq)return _2;sq=1,_2=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return _2}var O2,lq;function Lje(){if(lq)return O2;lq=1,O2=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return O2}var R2,uq;function Fje(){if(uq)return R2;uq=1,R2=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return P2}var A2,dq;function XF(){if(dq)return A2;dq=1,A2=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return A2}var N2,fq;function Kx(){if(fq)return N2;fq=1,N2=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(o,l){var u="doc-comment",d=n.languages[o];if(d){var f=d[u];if(!f){var g={};g[u]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},d=n.languages.insertBefore(o,"comment",g),f=d[u]}if(f instanceof RegExp&&(f=d[u]={pattern:f}),Array.isArray(f))for(var y=0,p=f.length;y)?|/.source.replace(//g,function(){return o});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+l+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:i,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:i,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)})(r)}return M2}var I2,mq;function Bje(){if(mq)return I2;mq=1,I2=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return I2}var D2,hq;function Wje(){if(hq)return D2;hq=1,D2=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return D2}var $2,gq;function zje(){if(gq)return $2;gq=1,$2=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return $2}var L2,vq;function qje(){if(vq)return L2;vq=1,L2=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=o})(t)}return L2}var F2,yq;function Hje(){if(yq)return F2;yq=1,F2=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(d,f){return RegExp(d.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),f)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],i=0;i=I.length)return;var Q=j[z];if(typeof Q=="string"||typeof Q.content=="string"){var le=I[_],re=typeof Q=="string"?Q:Q.content,ge=re.indexOf(le);if(ge!==-1){++_;var he=re.substring(0,ge),W=g(A[le]),G=re.substring(ge+le.length),q=[];if(he&&q.push(he),q.push(W),G){var ce=[G];L(ce),q.push.apply(q,ce)}typeof Q=="string"?(j.splice.apply(j,[z,1].concat(q)),z+=q.length-1):Q.content=q}}else{var H=Q.content;Array.isArray(H)?L(H):L([H])}}}return L(N),new n.Token(C,N,"language-"+C,E)}var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(E){if(!(E.language in p))return;function T(C){for(var k=0,_=C.length;k<_;k++){var A=C[k];if(typeof A!="string"){var P=A.content;if(!Array.isArray(P)){typeof P!="string"&&T([P]);continue}if(A.type==="template-string"){var N=P[1];if(P.length===3&&typeof N!="string"&&N.type==="embedded-code"){var I=v(N),L=N.alias,j=Array.isArray(L)?L[0]:L,z=n.languages[j];if(!z)continue;P[1]=y(I,z,j)}}else T(P)}}}T(E.tokens)});function v(E){return typeof E=="string"?E:Array.isArray(E)?E.map(v).join(""):v(E.content)}})(t)}return j2}var U2,wq;function QF(){if(wq)return U2;wq=1,U2=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(n){n.languages.typescript=n.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return U2}var B2,Sq;function Gje(){if(Sq)return B2;Sq=1;var e=Kx(),t=QF();B2=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,l="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(l+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(l+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)})(r)}return B2}var W2,Eq;function ZF(){if(Eq)return W2;Eq=1,W2=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return W2}var z2,Tq;function Yje(){if(Tq)return z2;Tq=1;var e=ZF();z2=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),(function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(n)}return z2}var q2,Cq;function Kje(){if(Cq)return q2;Cq=1;var e=ZF();q2=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return q2}var H2,kq;function Xje(){if(kq)return H2;kq=1,H2=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return H2}var V2,xq;function Ene(){if(xq)return V2;xq=1,V2=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function l(f,g){return f=f.replace(//g,function(){return a}).replace(//g,function(){return i}).replace(//g,function(){return o}),RegExp(f,g)}o=l(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:l(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var u=function(f){return f?typeof f=="string"?f:typeof f.content=="string"?f.content:f.content.map(u).join(""):""},d=function(f){for(var g=[],y=0;y0&&g[g.length-1].tagName===u(p.content[0].content[1])&&g.pop():p.content[p.content.length-1].content==="/>"||g.push({tagName:u(p.content[0].content[1]),openedBraces:0}):g.length>0&&p.type==="punctuation"&&p.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&p.type==="punctuation"&&p.content==="}"?g[g.length-1].openedBraces--:v=!0),(v||typeof p=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var E=u(p);y0&&(typeof f[y-1]=="string"||f[y-1].type==="plain-text")&&(E=u(f[y-1])+E,f.splice(y-1,1),y--),f[y]=new n.Token("plain-text",E,null,E)}p.content&&typeof p.content!="string"&&d(p.content)}};n.hooks.add("after-tokenize",function(f){f.language!=="jsx"&&f.language!=="tsx"||d(f.tokens)})})(t)}return V2}var G2,_q;function Qje(){if(_q)return G2;_q=1,G2=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return G2}var Y2,Oq;function Zje(){if(Oq)return Y2;Oq=1,Y2=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return Y2}var K2,Rq;function Jje(){if(Rq)return K2;Rq=1,K2=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return K2}var X2,Pq;function e4e(){if(Pq)return X2;Pq=1,X2=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return X2}var Q2,Aq;function t4e(){if(Aq)return Q2;Aq=1,Q2=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(i,o){return RegExp(i.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return Q2}var Z2,Nq;function n4e(){if(Nq)return Z2;Nq=1,Z2=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return Z2}var J2,Mq;function r4e(){if(Mq)return J2;Mq=1,J2=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return J2}var eM,Iq;function Xx(){if(Iq)return eM;Iq=1;var e=ss();eM=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),(function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,l=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,u=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:l,punctuation:u};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},f=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}];r.languages.insertBefore("php","variable",{string:f,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:f,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:o,operator:l,punctuation:u}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(g){if(/<\?/.test(g.code)){var y=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(g,"php",y)}}),r.hooks.add("after-tokenize",function(g){r.languages["markup-templating"].tokenizePlaceholders(g,"php")})})(n)}return eM}var tM,Dq;function a4e(){if(Dq)return tM;Dq=1;var e=ss(),t=Xx();tM=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var i=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var l=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",l),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})})(r)}return tM}var nM,$q;function i4e(){if($q)return nM;$q=1,nM=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return nM}var rM,Lq;function JF(){if(Lq)return rM;Lq=1,rM=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return rM}var aM,Fq;function o4e(){if(Fq)return aM;Fq=1;var e=JF();aM=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),(function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,i=5,o=0;o/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var l=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};l["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=l,r.languages.ly=l})(n)}return aM}var iM,jq;function s4e(){if(jq)return iM;jq=1;var e=ss();iM=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,i=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(o){var l=/^\{%-?\s*(\w+)/.exec(o);if(l){var u=l[1];if(u==="raw"&&!i)return i=!0,!0;if(u==="endraw")return i=!1,!0}return!i})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return iM}var oM,Uq;function l4e(){if(Uq)return oM;Uq=1,oM=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(E){return RegExp(/(\()/.source+"(?:"+E+")"+/(?=[\s\)])/.source)}function a(E){return RegExp(/([\s([])/.source+"(?:"+E+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,l="(\\()",u="(?=\\))",d="(?=\\s)",f=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,g={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(l+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+d),lookbehind:!0},{pattern:RegExp(l+"(?:append|by|collect|concat|do|finally|for|in|return)"+d),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(l+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(l+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+f+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(l+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(l+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},y={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+f+/\)/.source),inside:g},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:g},p="\\S+(?:\\s+\\S+)*",v={pattern:RegExp(l+f+u),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+p),inside:y},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+p),inside:y},keys:{pattern:RegExp("&key\\s+"+p+"(?:\\s+&allow-other-keys)?"),inside:y},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};g.lambda.inside.arguments=v,g.defun.inside.arguments=n.util.clone(v),g.defun.inside.arguments.inside.sublist=v,n.languages.lisp=g,n.languages.elisp=g,n.languages.emacs=g,n.languages["emacs-lisp"]=g})(t)}return oM}var sM,Bq;function u4e(){if(Bq)return sM;Bq=1,sM=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return sM}var lM,Wq;function c4e(){if(Wq)return lM;Wq=1,lM=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return lM}var uM,zq;function d4e(){if(zq)return uM;zq=1,uM=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return uM}var cM,qq;function f4e(){if(qq)return cM;qq=1,cM=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return cM}var dM,Hq;function p4e(){if(Hq)return dM;Hq=1,dM=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return dM}var fM,Vq;function m4e(){if(Vq)return fM;Vq=1,fM=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return fM}var pM,Gq;function h4e(){if(Gq)return pM;Gq=1,pM=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(y){return y=y.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+l+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+l+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(y){["url","bold","italic","strike","code-snippet"].forEach(function(p){y!==p&&(n.languages.markdown[y].inside.content.inside[p]=n.languages.markdown[p])})}),n.hooks.add("after-tokenize",function(y){if(y.language!=="markdown"&&y.language!=="md")return;function p(v){if(!(!v||typeof v=="string"))for(var E=0,T=v.length;E",quot:'"'},f=String.fromCodePoint||String.fromCharCode;function g(y){var p=y.replace(u,"");return p=p.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(v,E){if(E=E.toLowerCase(),E[0]==="#"){var T;return E[1]==="x"?T=parseInt(E.slice(2),16):T=Number(E.slice(1)),f(T)}else{var C=d[E];return C||v}}),p}n.languages.md=n.languages.markdown})(t)}return pM}var mM,Yq;function g4e(){if(Yq)return mM;Yq=1,mM=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return mM}var hM,Kq;function v4e(){if(Kq)return hM;Kq=1,hM=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return hM}var gM,Xq;function y4e(){if(Xq)return gM;Xq=1,gM=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return gM}var vM,Qq;function b4e(){if(Qq)return vM;Qq=1,vM=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return vM}var yM,Zq;function w4e(){if(Zq)return yM;Zq=1,yM=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return yM}var bM,Jq;function S4e(){if(Jq)return bM;Jq=1,bM=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var i="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return bM}var wM,eH;function E4e(){if(eH)return wM;eH=1,wM=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return wM}var SM,tH;function T4e(){if(tH)return SM;tH=1,SM=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return SM}var EM,nH;function C4e(){if(nH)return EM;nH=1,EM=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return EM}var TM,rH;function k4e(){if(rH)return TM;rH=1,TM=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return TM}var CM,aH;function x4e(){if(aH)return CM;aH=1,CM=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return CM}var kM,iH;function _4e(){if(iH)return kM;iH=1,kM=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(l){var u=l.tokens;u.forEach(function(d){if(typeof d!="string"&&d.type==="generic-text"){var f=o(d);i(f)||(d.type="bad-line",d.content=f)}})});function i(l){for(var u="[]{}",d=[],f=0;f=&|$!]/}}return xM}var _M,sH;function R4e(){if(sH)return _M;sH=1,_M=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return _M}var OM,lH;function P4e(){if(lH)return OM;lH=1,OM=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return OM}var RM,uH;function A4e(){if(uH)return RM;uH=1,RM=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return RM}var PM,cH;function N4e(){if(cH)return PM;cH=1,PM=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return PM}var AM,dH;function M4e(){if(dH)return AM;dH=1,AM=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return AM}var NM,fH;function I4e(){if(fH)return NM;fH=1,NM=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return NM}var MM,pH;function D4e(){if(pH)return MM;pH=1;var e=pv();MM=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return MM}var IM,mH;function $4e(){if(mH)return IM;mH=1,IM=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return IM}var DM,hH;function L4e(){if(hH)return DM;hH=1;var e=pv();DM=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))})(n)}return DM}var $M,gH;function F4e(){if(gH)return $M;gH=1,$M=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return $M}var LM,vH;function j4e(){if(vH)return LM;vH=1,LM=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return LM}var FM,yH;function U4e(){if(yH)return FM;yH=1,FM=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")})(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return FM}var jM,bH;function B4e(){if(bH)return jM;bH=1,jM=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return jM}var UM,wH;function W4e(){if(wH)return UM;wH=1,UM=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return UM}var BM,SH;function z4e(){if(SH)return BM;SH=1,BM=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),i=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(l,u){return l[u]=i[u],l},{});i["class-name"].forEach(function(l){l.inside=o})})(t)}return BM}var WM,EH;function q4e(){if(EH)return WM;EH=1,WM=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return WM}var zM,TH;function H4e(){if(TH)return zM;TH=1,zM=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return zM}var qM,CH;function V4e(){if(CH)return qM;CH=1,qM=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return qM}var HM,kH;function G4e(){if(kH)return HM;kH=1;var e=Xx();HM=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return HM}var VM,xH;function Y4e(){if(xH)return VM;xH=1;var e=Xx(),t=Kx();VM=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)})(r)}return VM}var GM,_H;function K4e(){if(_H)return GM;_H=1;var e=GF();GM=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return GM}var YM,OH;function X4e(){if(OH)return YM;OH=1,YM=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return YM}var KM,RH;function Q4e(){if(RH)return KM;RH=1,KM=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return KM}var XM,PH;function Z4e(){if(PH)return XM;PH=1,XM=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return XM}var QM,AH;function J4e(){if(AH)return QM;AH=1,QM=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return QM}var ZM,NH;function eUe(){if(NH)return ZM;NH=1,ZM=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],i=["offset"],o=r.concat(a,i);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return ZM}var JM,MH;function tUe(){if(MH)return JM;MH=1,JM=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return JM}var eI,IH;function nUe(){if(IH)return eI;IH=1,eI=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return eI}var tI,DH;function rUe(){if(DH)return tI;DH=1,tI=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return tI}var nI,$H;function aUe(){if($H)return nI;$H=1,nI=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},o=0,l=a.length;o",function(){return u.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[u.language,"language-"+u.language],inside:n.languages[u.language]}}})}n.languages.insertBefore("pug","filter",i)})(t)}return nI}var rI,LH;function iUe(){if(LH)return rI;LH=1,rI=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return rI}var aI,FH;function oUe(){if(FH)return aI;FH=1,aI=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),n.languages[o]){var l={};l["inline-lang-"+o]={pattern:RegExp(a.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},l["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",l)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return aI}var iI,jH;function sUe(){if(jH)return iI;jH=1,iI=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return iI}var oI,UH;function lUe(){if(UH)return oI;UH=1;var e=KF();oI=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return oI}var sI,BH;function uUe(){if(BH)return sI;BH=1,sI=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return sI}var lI,WH;function cUe(){if(WH)return lI;WH=1,lI=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return lI}var uI,zH;function dUe(){if(zH)return uI;zH=1,uI=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return uI}var cI,qH;function fUe(){if(qH)return cI;qH=1,cI=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return cI}var dI,HH;function pUe(){if(HH)return dI;HH=1,dI=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(v,E){return v.replace(/<<(\d+)>>/g,function(T,C){return"(?:"+E[+C]+")"})}function a(v,E,T){return RegExp(r(v,E),"")}function i(v,E){for(var T=0;T>/g,function(){return"(?:"+v+")"});return v.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function l(v){return"\\b(?:"+v.trim().replace(/ /g,"|")+")\\b"}var u=RegExp(l(o.type+" "+o.other)),d=/\b[A-Za-z_]\w*\b/.source,f=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[d]),g={keyword:u,punctuation:/[<>()?,.:[\]]/},y=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[y]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[f]),lookbehind:!0,inside:g},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[f]),lookbehind:!0,inside:g}],keyword:u,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var p=i(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[y]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[p]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[p]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return dI}var fI,VH;function mUe(){if(VH)return fI;VH=1,fI=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return fI}var pI,GH;function hUe(){if(GH)return pI;GH=1;var e=JF();pI=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return pI}var mI,YH;function gUe(){if(YH)return mI;YH=1,mI=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return mI}var hI,KH;function vUe(){if(KH)return hI;KH=1,hI=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l="(?:[^\\\\-]|"+a.source+")",u=RegExp(l+"-"+l),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:u,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:a}},"special-escape":r,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return gI}var vI,QH;function bUe(){if(QH)return vI;QH=1,vI=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return vI}var yI,ZH;function wUe(){if(ZH)return yI;ZH=1,yI=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return yI}var bI,JH;function SUe(){if(JH)return bI;JH=1,bI=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return bI}var wI,e7;function EUe(){if(e7)return wI;e7=1,wI=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return wI}var SI,t7;function TUe(){if(t7)return SI;t7=1,SI=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(d,f){var g={};g["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var y in f)g[y]=f[y];return g.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},g.variable=a,g.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return d}),"im"),alias:"section",inside:g}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},l={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},u={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":l,documentation:o,property:u}),keywords:i("Keywords",{"keyword-name":l,documentation:o,property:u}),tasks:i("Tasks",{"task-name":l,documentation:o,property:u}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return SI}var EI,n7;function CUe(){if(n7)return EI;n7=1,EI=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return EI}var TI,r7;function kUe(){if(r7)return TI;r7=1,TI=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},l={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},u={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},d=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],f={pattern:RegExp(r),greedy:!0},g=/[$%@.(){}\[\];,\\]/,y={pattern:/%?\b\w+(?=\()/,alias:"keyword"},p={function:y,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:g,string:f},v={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},E={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},T={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},C={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},k=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,_={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return k}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return k}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:d,function:y,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:a,"numeric-constant":i,punctuation:g,string:f}},A={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":T,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:A,"submit-statement":C,"global-statements":T,number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:A,"submit-statement":C,"global-statements":T,number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":_,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:u,keyword:A,function:y,format:v,altformat:E,"global-statements":T,number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:p},"macro-keyword":l,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":l,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:g}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:d,number:a,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":_,comment:d,function:y,format:v,altformat:E,"numeric-constant":i,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:f,step:u,keyword:A,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:g}})(t)}return TI}var CI,a7;function xUe(){if(a7)return CI;a7=1,CI=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return CI}var kI,i7;function _Ue(){if(i7)return kI;i7=1;var e=XF();kI=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return kI}var xI,o7;function OUe(){if(o7)return xI;o7=1,xI=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return xI}var _I,s7;function RUe(){if(s7)return _I;s7=1;var e=bne();_I=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),(function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]})(n)}return _I}var OI,l7;function PUe(){if(l7)return OI;l7=1,OI=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return OI}var RI,u7;function AUe(){if(u7)return RI;u7=1,RI=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return RI}var PI,c7;function NUe(){if(c7)return PI;c7=1;var e=ss();PI=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(o){var l="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(f){return f===u&&(d=!1),d?!1:(f===l&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})})(n)}return PI}var AI,d7;function MUe(){if(d7)return AI;d7=1,AI=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return AI}var NI,f7;function IUe(){if(f7)return NI;f7=1,NI=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return NI}var MI,p7;function DUe(){if(p7)return MI;p7=1,MI=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return MI}var II,m7;function $Ue(){if(m7)return II;m7=1;var e=ss();II=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),(function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var l=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,u="{literal}",d="{/literal}",f=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",l,function(g){return g===d&&(f=!1),f?!1:(g===u&&(f=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})})(n)}return II}var DI,h7;function Tne(){if(h7)return DI;h7=1,DI=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return DI}var $I,g7;function LUe(){if(g7)return $I;g7=1;var e=Tne();$I=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return $I}var LI,v7;function FUe(){if(v7)return LI;v7=1,LI=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return LI}var FI,y7;function jUe(){if(y7)return FI;y7=1,FI=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return FI}var jI,b7;function UUe(){if(b7)return jI;b7=1,jI=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return jI}var UI,w7;function BUe(){if(w7)return UI;w7=1,UI=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return UI}var BI,S7;function WUe(){if(S7)return BI;S7=1,BI=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return BI}var WI,E7;function zUe(){if(E7)return WI;E7=1,WI=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return WI}var zI,T7;function qUe(){if(T7)return zI;T7=1,zI=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return zI}var qI,C7;function ej(){if(C7)return qI;C7=1,qI=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,l){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:l}}}}function a(i){var o=n.languages[i],l="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,l),"class-feature":r("\\+",o,l),standard:r("",o,l)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return qI}var HI,k7;function HUe(){if(k7)return HI;k7=1;var e=ej(),t=Gx();HI=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return HI}var VI,x7;function Cne(){if(x7)return VI;x7=1;var e=wne();VI=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return VI}var GI,_7;function VUe(){if(_7)return GI;_7=1;var e=ej(),t=Cne();GI=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return GI}var YI,O7;function kne(){if(O7)return YI;O7=1,YI=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(d,f){f=(f||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return d});return RegExp(g,f)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+o+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(l),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return YI}var KI,R7;function GUe(){if(R7)return KI;R7=1;var e=kne();KI=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return KI}var XI,P7;function YUe(){if(P7)return XI;P7=1,XI=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return XI}var QI,A7;function KUe(){if(A7)return QI;A7=1,QI=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(y,p){return RegExp(y.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),p||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},l=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),u=l.phrase.inside,d={inline:u.inline,link:u.link,image:u.image,footnote:u.footnote,acronym:u.acronym,mark:u.mark};l.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var f=u.inline.inside;f.bold.inside=d,f.italic.inside=d,f.inserted.inside=d,f.deleted.inside=d,f.span.inside=d;var g=u.table.inside;g.inline=d.inline,g.link=d.link,g.image=d.image,g.footnote=d.footnote,g.acronym=d.acronym,g.mark=d.mark})(t)}return QI}var ZI,N7;function XUe(){if(N7)return ZI;N7=1,ZI=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return ZI}var JI,M7;function QUe(){if(M7)return JI;M7=1,JI=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return JI}var eD,I7;function ZUe(){if(I7)return eD;I7=1;var e=Ene(),t=QF();eD=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0})(r)}return eD}var tD,D7;function JUe(){if(D7)return tD;D7=1;var e=ss();tD=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var i=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})})(n)}return tD}var nD,$7;function e6e(){if($7)return nD;$7=1;var e=ss();nD=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return nD}var rD,L7;function t6e(){if(L7)return rD;L7=1,rD=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return rD}var aD,F7;function n6e(){if(F7)return aD;F7=1,aD=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return aD}var iD,j7;function r6e(){if(j7)return iD;j7=1,iD=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return iD}var oD,U7;function a6e(){if(U7)return oD;U7=1,oD=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return oD}var sD,B7;function i6e(){if(B7)return sD;B7=1,sD=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return sD}var lD,W7;function o6e(){if(W7)return lD;W7=1,lD=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return lD}var uD,z7;function s6e(){if(z7)return uD;z7=1,uD=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return uD}var cD,q7;function l6e(){if(q7)return cD;q7=1,cD=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return cD}var dD,H7;function u6e(){if(H7)return dD;H7=1,dD=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return dD}var fD,V7;function c6e(){if(V7)return fD;V7=1,fD=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return fD}var pD,G7;function d6e(){if(G7)return pD;G7=1,pD=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return pD}var mD,Y7;function f6e(){if(Y7)return mD;Y7=1,mD=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return mD}var hD,K7;function p6e(){if(K7)return hD;K7=1,hD=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return hD}var gD,X7;function m6e(){if(X7)return gD;X7=1,gD=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(i[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return gD}var vD,Q7;function h6e(){if(Q7)return vD;Q7=1,vD=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return vD}var yD,Z7;function g6e(){if(Z7)return yD;Z7=1,yD=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return yD}var bD,J7;function v6e(){if(J7)return bD;J7=1,bD=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return bD}var wD,eV;function y6e(){if(eV)return wD;eV=1,wD=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return wD}var SD,tV;function b6e(){if(tV)return SD;tV=1,SD=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(l,u){n.languages[l]&&n.languages.insertBefore(l,"comment",{"doc-comment":u})}var a=n.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",i),r("fsharp",i),r("vbnet",o)})(t)}return SD}var ED,nV;function w6e(){if(nV)return ED;nV=1,ED=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return ED}var TD,rV;function S6e(){if(rV)return TD;rV=1,TD=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(r).join("")},a=function(i){for(var o=[],l=0;l0&&o[o.length-1].tagName===r(u.content[0].content[1])&&o.pop():u.content[u.content.length-1].content==="/>"||o.push({tagName:r(u.content[0].content[1]),openedBraces:0}):o.length>0&&u.type==="punctuation"&&u.content==="{"&&(!i[l+1]||i[l+1].type!=="punctuation"||i[l+1].content!=="{")&&(!i[l-1]||i[l-1].type!=="plain-text"||i[l-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&u.type==="punctuation"&&u.content==="}"?o[o.length-1].openedBraces--:u.type!=="comment"&&(d=!0)),(d||typeof u=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var f=r(u);l0&&(typeof i[l-1]=="string"||i[l-1].type==="plain-text")&&(f=r(i[l-1])+f,i.splice(l-1,1),l--),/^\s+$/.test(f)?i[l]=f:i[l]=new n.Token("plain-text",f,null,f)}u.content&&typeof u.content!="string"&&a(u.content)}};n.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return TD}var CD,aV;function E6e(){if(aV)return CD;aV=1,CD=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return CD}var kD,iV;function T6e(){if(iV)return kD;iV=1,kD=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(f){return function(){return f}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),u=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(i)),d="(?!\\s)(?:!?\\s*(?:"+l+"\\s*)*"+u+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(d)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(d)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(f){f.inside===null&&(f.inside=n.languages.zig)})})(t)}return kD}var xD,oV;function C6e(){if(oV)return xD;oV=1;var e=U3e();return xD=e,e.register(W3e()),e.register(z3e()),e.register(q3e()),e.register(H3e()),e.register(V3e()),e.register(G3e()),e.register(Y3e()),e.register(K3e()),e.register(X3e()),e.register(Q3e()),e.register(Z3e()),e.register(J3e()),e.register(eFe()),e.register(tFe()),e.register(nFe()),e.register(rFe()),e.register(aFe()),e.register(iFe()),e.register(oFe()),e.register(sFe()),e.register(lFe()),e.register(uFe()),e.register(bne()),e.register(wne()),e.register(cFe()),e.register(dFe()),e.register(fFe()),e.register(pFe()),e.register(mFe()),e.register(hFe()),e.register(gFe()),e.register(vFe()),e.register(yFe()),e.register(bFe()),e.register(pv()),e.register(wFe()),e.register(SFe()),e.register(EFe()),e.register(TFe()),e.register(CFe()),e.register(kFe()),e.register(xFe()),e.register(_Fe()),e.register(OFe()),e.register(YF()),e.register(RFe()),e.register(Gx()),e.register(PFe()),e.register(AFe()),e.register(NFe()),e.register(MFe()),e.register(IFe()),e.register(DFe()),e.register($Fe()),e.register(LFe()),e.register(FFe()),e.register(jFe()),e.register(UFe()),e.register(BFe()),e.register(WFe()),e.register(zFe()),e.register(qFe()),e.register(HFe()),e.register(VFe()),e.register(GFe()),e.register(YFe()),e.register(KFe()),e.register(XFe()),e.register(QFe()),e.register(ZFe()),e.register(JFe()),e.register(eje()),e.register(tje()),e.register(nje()),e.register(rje()),e.register(aje()),e.register(ije()),e.register(oje()),e.register(sje()),e.register(lje()),e.register(uje()),e.register(cje()),e.register(dje()),e.register(fje()),e.register(pje()),e.register(mje()),e.register(hje()),e.register(gje()),e.register(vje()),e.register(yje()),e.register(bje()),e.register(wje()),e.register(Sje()),e.register(Eje()),e.register(KF()),e.register(Tje()),e.register(Cje()),e.register(kje()),e.register(xje()),e.register(_je()),e.register(Oje()),e.register(Rje()),e.register(Pje()),e.register(Aje()),e.register(Nje()),e.register(Mje()),e.register(Ije()),e.register(Dje()),e.register($je()),e.register(Lje()),e.register(Fje()),e.register(jje()),e.register(XF()),e.register(Uje()),e.register(Kx()),e.register(Bje()),e.register(Wje()),e.register(zje()),e.register(qje()),e.register(Hje()),e.register(Vje()),e.register(Gje()),e.register(ZF()),e.register(Yje()),e.register(Kje()),e.register(Xje()),e.register(Ene()),e.register(Qje()),e.register(Zje()),e.register(Jje()),e.register(e4e()),e.register(t4e()),e.register(n4e()),e.register(r4e()),e.register(a4e()),e.register(i4e()),e.register(o4e()),e.register(s4e()),e.register(l4e()),e.register(u4e()),e.register(c4e()),e.register(d4e()),e.register(f4e()),e.register(Sne()),e.register(p4e()),e.register(m4e()),e.register(h4e()),e.register(ss()),e.register(g4e()),e.register(v4e()),e.register(y4e()),e.register(b4e()),e.register(w4e()),e.register(S4e()),e.register(E4e()),e.register(T4e()),e.register(C4e()),e.register(k4e()),e.register(x4e()),e.register(_4e()),e.register(O4e()),e.register(R4e()),e.register(P4e()),e.register(A4e()),e.register(N4e()),e.register(M4e()),e.register(I4e()),e.register(D4e()),e.register($4e()),e.register(L4e()),e.register(F4e()),e.register(j4e()),e.register(U4e()),e.register(B4e()),e.register(W4e()),e.register(z4e()),e.register(q4e()),e.register(H4e()),e.register(V4e()),e.register(G4e()),e.register(Xx()),e.register(Y4e()),e.register(K4e()),e.register(X4e()),e.register(Q4e()),e.register(Z4e()),e.register(J4e()),e.register(eUe()),e.register(tUe()),e.register(nUe()),e.register(rUe()),e.register(aUe()),e.register(iUe()),e.register(oUe()),e.register(sUe()),e.register(lUe()),e.register(uUe()),e.register(cUe()),e.register(dUe()),e.register(fUe()),e.register(pUe()),e.register(mUe()),e.register(hUe()),e.register(gUe()),e.register(vUe()),e.register(yUe()),e.register(bUe()),e.register(wUe()),e.register(SUe()),e.register(EUe()),e.register(TUe()),e.register(Yx()),e.register(CUe()),e.register(kUe()),e.register(xUe()),e.register(_Ue()),e.register(JF()),e.register(OUe()),e.register(RUe()),e.register(PUe()),e.register(AUe()),e.register(NUe()),e.register(MUe()),e.register(IUe()),e.register(DUe()),e.register($Ue()),e.register(LUe()),e.register(FUe()),e.register(jUe()),e.register(GF()),e.register(UUe()),e.register(BUe()),e.register(WUe()),e.register(zUe()),e.register(qUe()),e.register(HUe()),e.register(ej()),e.register(VUe()),e.register(GUe()),e.register(YUe()),e.register(KUe()),e.register(XUe()),e.register(QUe()),e.register(ZUe()),e.register(JUe()),e.register(Tne()),e.register(e6e()),e.register(QF()),e.register(t6e()),e.register(n6e()),e.register(r6e()),e.register(a6e()),e.register(i6e()),e.register(o6e()),e.register(Cne()),e.register(s6e()),e.register(l6e()),e.register(u6e()),e.register(c6e()),e.register(d6e()),e.register(f6e()),e.register(p6e()),e.register(m6e()),e.register(h6e()),e.register(g6e()),e.register(v6e()),e.register(y6e()),e.register(b6e()),e.register(w6e()),e.register(S6e()),e.register(kne()),e.register(E6e()),e.register(T6e()),xD}var k6e=C6e();const x6e=Sc(k6e);var xne=f$e(x6e,B3e);xne.supportedLanguages=p$e;const _6e={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}},O6e={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},na=({codeString:e})=>{var i;const t=(i=document==null?void 0:document.body)==null?void 0:i.classList.contains("dark-theme"),[n,r]=R.useState(!1),a=()=>{navigator.clipboard.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),1500)})};return w.jsxs("div",{className:"code-viewer-container",children:[w.jsx("button",{className:"copy-button",onClick:a,children:n?"Copied!":"Copy"}),w.jsx(xne,{language:"tsx",style:t?O6e:_6e,children:e})]})},md={Example1:`const Example1 = () => { +|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return v2}var y2,Xq;function ls(){if(Xq)return y2;Xq=1,y2=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,l){if(a.language===i){var u=a.tokenStack=[];a.code=a.code.replace(o,function(d){if(typeof l=="function"&&!l(d))return d;for(var f=u.length,g;a.code.indexOf(g=r(i,f))!==-1;)++f;return u[f]=d,g}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,l=Object.keys(a.tokenStack);function u(d){for(var f=0;f=l.length);f++){var g=d[f];if(typeof g=="string"||g.content&&typeof g.content=="string"){var y=l[o],h=a.tokenStack[y],v=typeof g=="string"?g:g.content,E=r(i,y),T=v.indexOf(E);if(T>-1){++o;var C=v.substring(0,T),k=new n.Token(i,n.tokenize(h,a.grammar),"language-"+i,h),_=v.substring(T+E.length),A=[];C&&A.push.apply(A,u([C])),A.push(k),_&&A.push.apply(A,u([_])),typeof g=="string"?d.splice.apply(d,[f,1].concat(A)):g.content=A}}else g.content&&u(g.content)}return d}u(a.tokens)}}})})(t)}return y2}var b2,Qq;function Uje(){if(Qq)return b2;Qq=1;var e=ls();b2=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),(function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})})(n)}return b2}var w2,Jq;function Bje(){if(Jq)return w2;Jq=1,w2=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return w2}var S2,Zq;function Wje(){if(Zq)return S2;Zq=1,S2=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),l={pattern:RegExp(i),greedy:!0},u={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function d(f,g){return f=f.replace(//g,function(){return o}).replace(//g,function(){return a}),RegExp(f,g)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:d(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:d(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:u,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:u},n.languages.dockerfile=n.languages.docker})(t)}return S2}var E2,e9;function zje(){if(e9)return E2;e9=1,E2=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function i(o,l){return RegExp(o.replace(//g,function(){return r}),l)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return E2}var T2,t9;function qje(){if(t9)return T2;t9=1,T2=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return T2}var C2,n9;function Hje(){if(n9)return C2;n9=1,C2=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return C2}var k2,r9;function Vje(){if(r9)return k2;r9=1,k2=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return k2}var x2,a9;function Gje(){if(a9)return x2;a9=1;var e=ls();x2=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),(function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var i=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs})(n)}return x2}var _2,i9;function Yje(){if(i9)return _2;i9=1,_2=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return _2}var O2,o9;function Kje(){if(o9)return O2;o9=1,O2=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return O2}var R2,s9;function Xje(){if(s9)return R2;s9=1;var e=P_(),t=ls();R2=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})})(r)}return R2}var P2,l9;function Qje(){if(l9)return P2;l9=1,P2=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return P2}var A2,u9;function ore(){if(u9)return A2;u9=1,A2=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return A2}var N2,c9;function Jje(){if(c9)return N2;c9=1;var e=ore(),t=ls();N2=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})})(r)}return N2}var M2,d9;function Zje(){if(d9)return M2;d9=1,M2=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return M2}var I2,f9;function e4e(){if(f9)return I2;f9=1,I2=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},o=function(f){return(f+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},l=function(f){return new RegExp("(^|\\s)(?:"+f.map(o).join("|")+")(?=\\s|$)")},u={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(u).forEach(function(f){i[f].pattern=l(u[f])});var d=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=l(d),n.languages.factor=i})(t)}return I2}var D2,p9;function t4e(){if(p9)return D2;p9=1,D2=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return $2}var L2,m9;function r4e(){if(m9)return L2;m9=1,L2=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return L2}var F2,g9;function a4e(){if(g9)return F2;g9=1,F2=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return F2}var j2,v9;function i4e(){if(v9)return j2;v9=1,j2=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return j2}var U2,y9;function o4e(){if(y9)return U2;y9=1;var e=ls();U2=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),(function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(l){var u=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(l,"ftl",u)}),r.hooks.add("after-tokenize",function(l){r.languages["markup-templating"].tokenizePlaceholders(l,"ftl")})})(n)}return U2}var B2,b9;function s4e(){if(b9)return B2;b9=1,B2=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return B2}var W2,w9;function l4e(){if(w9)return W2;w9=1,W2=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return W2}var z2,S9;function u4e(){if(S9)return z2;S9=1,z2=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return z2}var q2,E9;function c4e(){if(E9)return q2;E9=1,q2=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return q2}var H2,T9;function d4e(){if(T9)return H2;T9=1,H2=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return H2}var V2,C9;function f4e(){if(C9)return V2;C9=1,V2=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return V2}var G2,k9;function p4e(){if(k9)return G2;k9=1;var e=Bv();G2=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return G2}var Y2,x9;function h4e(){if(x9)return Y2;x9=1,Y2=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return Y2}var K2,_9;function m4e(){if(_9)return K2;_9=1,K2=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return K2}var X2,O9;function g4e(){if(O9)return X2;O9=1,X2=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return X2}var Q2,R9;function v4e(){if(R9)return Q2;R9=1,Q2=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return Q2}var J2,P9;function y4e(){if(P9)return J2;P9=1,J2=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(C){return typeof C!="string"&&C.type!=="comment"&&C.type!=="scalar"}),i=0;function o(C){return a[i+C]}function l(C,k){k=k||0;for(var _=0;_0)){var v=u(/^\{$/,/^\}$/);if(v===-1)continue;for(var E=i;E=0&&d(T,"variable-input")}}}}})}return J2}var Z2,A9;function b4e(){if(A9)return Z2;A9=1,Z2=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return Z2}var eM,N9;function w4e(){if(N9)return eM;N9=1;var e=P_();eM=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},l=0,u=i.length;l@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars})(n)}return tM}var nM,I9;function $j(){if(I9)return nM;I9=1,nM=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return nM}var rM,D9;function E4e(){if(D9)return rM;D9=1,rM=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return rM}var aM,$9;function T4e(){if($9)return aM;$9=1,aM=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return aM}var iM,L9;function C4e(){if(L9)return iM;L9=1;var e=Bv();iM=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return iM}var oM,F9;function k4e(){if(F9)return oM;F9=1,oM=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return oM}var sM,j9;function x4e(){if(j9)return sM;j9=1,sM=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return sM}var lM,U9;function _4e(){if(U9)return lM;U9=1,lM=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return lM}var uM,B9;function O4e(){if(B9)return uM;B9=1,uM=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(g){return RegExp("(^(?:"+g+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,i={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},o={"application/json":!0,"application/xml":!0};function l(g){var y=g.replace(/^[a-z]+\//,""),h="\\w+/(?:[\\w.-]+\\+)+"+y+"(?![+\\w.-])";return"(?:"+g+"|"+h+")"}var u;for(var d in i)if(i[d]){u=u||{};var f=o[d]?l(d):d;u[d.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+f+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[d]}}u&&n.languages.insertBefore("http","header",u)})(t)}return uM}var cM,W9;function R4e(){if(W9)return cM;W9=1,cM=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return cM}var dM,z9;function P4e(){if(z9)return dM;z9=1,dM=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return dM}var fM,q9;function A4e(){if(q9)return fM;q9=1,fM=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(d,f){return f<=0?/[]/.source:d.replace(//g,function(){return r(d,f-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},l=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),u={pattern:RegExp(l),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(l),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":u,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":u,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:o},u.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return fM}var pM,H9;function N4e(){if(H9)return pM;H9=1;var e=$j();pM=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return pM}var hM,V9;function M4e(){if(V9)return hM;V9=1,hM=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return hM}var mM,G9;function I4e(){if(G9)return mM;G9=1,mM=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return mM}var gM,Y9;function D4e(){if(Y9)return gM;Y9=1,gM=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return gM}var vM,K9;function $4e(){if(K9)return vM;K9=1,vM=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return vM}var yM,X9;function L4e(){if(X9)return yM;X9=1,yM=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return bM}var wM,J9;function Lj(){if(J9)return wM;J9=1,wM=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return wM}var SM,Z9;function A_(){if(Z9)return SM;Z9=1,SM=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(o,l){var u="doc-comment",d=n.languages[o];if(d){var f=d[u];if(!f){var g={};g[u]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},d=n.languages.insertBefore(o,"comment",g),f=d[u]}if(f instanceof RegExp&&(f=d[u]={pattern:f}),Array.isArray(f))for(var y=0,h=f.length;y)?|/.source.replace(//g,function(){return o});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+l+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:i,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:i,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)})(r)}return EM}var TM,tH;function U4e(){if(tH)return TM;tH=1,TM=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return TM}var CM,nH;function B4e(){if(nH)return CM;nH=1,CM=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return CM}var kM,rH;function W4e(){if(rH)return kM;rH=1,kM=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return kM}var xM,aH;function z4e(){if(aH)return xM;aH=1,xM=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=o})(t)}return xM}var _M,iH;function q4e(){if(iH)return _M;iH=1,_M=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(d,f){return RegExp(d.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),f)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],i=0;i=I.length)return;var Q=j[z];if(typeof Q=="string"||typeof Q.content=="string"){var le=I[_],re=typeof Q=="string"?Q:Q.content,ge=re.indexOf(le);if(ge!==-1){++_;var me=re.substring(0,ge),W=g(A[le]),G=re.substring(ge+le.length),q=[];if(me&&q.push(me),q.push(W),G){var ce=[G];L(ce),q.push.apply(q,ce)}typeof Q=="string"?(j.splice.apply(j,[z,1].concat(q)),z+=q.length-1):Q.content=q}}else{var H=Q.content;Array.isArray(H)?L(H):L([H])}}}return L(N),new n.Token(C,N,"language-"+C,E)}var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(E){if(!(E.language in h))return;function T(C){for(var k=0,_=C.length;k<_;k++){var A=C[k];if(typeof A!="string"){var P=A.content;if(!Array.isArray(P)){typeof P!="string"&&T([P]);continue}if(A.type==="template-string"){var N=P[1];if(P.length===3&&typeof N!="string"&&N.type==="embedded-code"){var I=v(N),L=N.alias,j=Array.isArray(L)?L[0]:L,z=n.languages[j];if(!z)continue;P[1]=y(I,z,j)}}else T(P)}}}T(E.tokens)});function v(E){return typeof E=="string"?E:Array.isArray(E)?E.map(v).join(""):v(E.content)}})(t)}return OM}var RM,sH;function Fj(){if(sH)return RM;sH=1,RM=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(n){n.languages.typescript=n.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return RM}var PM,lH;function V4e(){if(lH)return PM;lH=1;var e=A_(),t=Fj();PM=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,l="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(l+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(l+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)})(r)}return PM}var AM,uH;function jj(){if(uH)return AM;uH=1,AM=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return AM}var NM,cH;function G4e(){if(cH)return NM;cH=1;var e=jj();NM=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),(function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(n)}return NM}var MM,dH;function Y4e(){if(dH)return MM;dH=1;var e=jj();MM=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return MM}var IM,fH;function K4e(){if(fH)return IM;fH=1,IM=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return IM}var DM,pH;function sre(){if(pH)return DM;pH=1,DM=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function l(f,g){return f=f.replace(//g,function(){return a}).replace(//g,function(){return i}).replace(//g,function(){return o}),RegExp(f,g)}o=l(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:l(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var u=function(f){return f?typeof f=="string"?f:typeof f.content=="string"?f.content:f.content.map(u).join(""):""},d=function(f){for(var g=[],y=0;y0&&g[g.length-1].tagName===u(h.content[0].content[1])&&g.pop():h.content[h.content.length-1].content==="/>"||g.push({tagName:u(h.content[0].content[1]),openedBraces:0}):g.length>0&&h.type==="punctuation"&&h.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&h.type==="punctuation"&&h.content==="}"?g[g.length-1].openedBraces--:v=!0),(v||typeof h=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var E=u(h);y0&&(typeof f[y-1]=="string"||f[y-1].type==="plain-text")&&(E=u(f[y-1])+E,f.splice(y-1,1),y--),f[y]=new n.Token("plain-text",E,null,E)}h.content&&typeof h.content!="string"&&d(h.content)}};n.hooks.add("after-tokenize",function(f){f.language!=="jsx"&&f.language!=="tsx"||d(f.tokens)})})(t)}return DM}var $M,hH;function X4e(){if(hH)return $M;hH=1,$M=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return $M}var LM,mH;function Q4e(){if(mH)return LM;mH=1,LM=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return LM}var FM,gH;function J4e(){if(gH)return FM;gH=1,FM=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return FM}var jM,vH;function Z4e(){if(vH)return jM;vH=1,jM=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return jM}var UM,yH;function eUe(){if(yH)return UM;yH=1,UM=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(i,o){return RegExp(i.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return UM}var BM,bH;function tUe(){if(bH)return BM;bH=1,BM=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return BM}var WM,wH;function nUe(){if(wH)return WM;wH=1,WM=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return WM}var zM,SH;function N_(){if(SH)return zM;SH=1;var e=ls();zM=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),(function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,l=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,u=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:l,punctuation:u};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},f=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}];r.languages.insertBefore("php","variable",{string:f,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:f,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:o,operator:l,punctuation:u}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(g){if(/<\?/.test(g.code)){var y=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(g,"php",y)}}),r.hooks.add("after-tokenize",function(g){r.languages["markup-templating"].tokenizePlaceholders(g,"php")})})(n)}return zM}var qM,EH;function rUe(){if(EH)return qM;EH=1;var e=ls(),t=N_();qM=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var i=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var l=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",l),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})})(r)}return qM}var HM,TH;function aUe(){if(TH)return HM;TH=1,HM=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return HM}var VM,CH;function Uj(){if(CH)return VM;CH=1,VM=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return VM}var GM,kH;function iUe(){if(kH)return GM;kH=1;var e=Uj();GM=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),(function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,i=5,o=0;o/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var l=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};l["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=l,r.languages.ly=l})(n)}return GM}var YM,xH;function oUe(){if(xH)return YM;xH=1;var e=ls();YM=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,i=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(o){var l=/^\{%-?\s*(\w+)/.exec(o);if(l){var u=l[1];if(u==="raw"&&!i)return i=!0,!0;if(u==="endraw")return i=!1,!0}return!i})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return YM}var KM,_H;function sUe(){if(_H)return KM;_H=1,KM=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(E){return RegExp(/(\()/.source+"(?:"+E+")"+/(?=[\s\)])/.source)}function a(E){return RegExp(/([\s([])/.source+"(?:"+E+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,l="(\\()",u="(?=\\))",d="(?=\\s)",f=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,g={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(l+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+d),lookbehind:!0},{pattern:RegExp(l+"(?:append|by|collect|concat|do|finally|for|in|return)"+d),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(l+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(l+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+f+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(l+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(l+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},y={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+f+/\)/.source),inside:g},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:g},h="\\S+(?:\\s+\\S+)*",v={pattern:RegExp(l+f+u),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+h),inside:y},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+h),inside:y},keys:{pattern:RegExp("&key\\s+"+h+"(?:\\s+&allow-other-keys)?"),inside:y},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};g.lambda.inside.arguments=v,g.defun.inside.arguments=n.util.clone(v),g.defun.inside.arguments.inside.sublist=v,n.languages.lisp=g,n.languages.elisp=g,n.languages.emacs=g,n.languages["emacs-lisp"]=g})(t)}return KM}var XM,OH;function lUe(){if(OH)return XM;OH=1,XM=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return XM}var QM,RH;function uUe(){if(RH)return QM;RH=1,QM=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return QM}var JM,PH;function cUe(){if(PH)return JM;PH=1,JM=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return JM}var ZM,AH;function dUe(){if(AH)return ZM;AH=1,ZM=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return ZM}var eI,NH;function fUe(){if(NH)return eI;NH=1,eI=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return eI}var tI,MH;function pUe(){if(MH)return tI;MH=1,tI=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return tI}var nI,IH;function hUe(){if(IH)return nI;IH=1,nI=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(y){return y=y.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+l+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+l+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(y){["url","bold","italic","strike","code-snippet"].forEach(function(h){y!==h&&(n.languages.markdown[y].inside.content.inside[h]=n.languages.markdown[h])})}),n.hooks.add("after-tokenize",function(y){if(y.language!=="markdown"&&y.language!=="md")return;function h(v){if(!(!v||typeof v=="string"))for(var E=0,T=v.length;E",quot:'"'},f=String.fromCodePoint||String.fromCharCode;function g(y){var h=y.replace(u,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(v,E){if(E=E.toLowerCase(),E[0]==="#"){var T;return E[1]==="x"?T=parseInt(E.slice(2),16):T=Number(E.slice(1)),f(T)}else{var C=d[E];return C||v}}),h}n.languages.md=n.languages.markdown})(t)}return nI}var rI,DH;function mUe(){if(DH)return rI;DH=1,rI=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return rI}var aI,$H;function gUe(){if($H)return aI;$H=1,aI=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return aI}var iI,LH;function vUe(){if(LH)return iI;LH=1,iI=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return iI}var oI,FH;function yUe(){if(FH)return oI;FH=1,oI=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return oI}var sI,jH;function bUe(){if(jH)return sI;jH=1,sI=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return sI}var lI,UH;function wUe(){if(UH)return lI;UH=1,lI=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var i="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return lI}var uI,BH;function SUe(){if(BH)return uI;BH=1,uI=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return uI}var cI,WH;function EUe(){if(WH)return cI;WH=1,cI=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return cI}var dI,zH;function TUe(){if(zH)return dI;zH=1,dI=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return dI}var fI,qH;function CUe(){if(qH)return fI;qH=1,fI=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return fI}var pI,HH;function kUe(){if(HH)return pI;HH=1,pI=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return pI}var hI,VH;function xUe(){if(VH)return hI;VH=1,hI=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(l){var u=l.tokens;u.forEach(function(d){if(typeof d!="string"&&d.type==="generic-text"){var f=o(d);i(f)||(d.type="bad-line",d.content=f)}})});function i(l){for(var u="[]{}",d=[],f=0;f=&|$!]/}}return mI}var gI,YH;function OUe(){if(YH)return gI;YH=1,gI=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return gI}var vI,KH;function RUe(){if(KH)return vI;KH=1,vI=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return vI}var yI,XH;function PUe(){if(XH)return yI;XH=1,yI=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return yI}var bI,QH;function AUe(){if(QH)return bI;QH=1,bI=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return bI}var wI,JH;function NUe(){if(JH)return wI;JH=1,wI=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return wI}var SI,ZH;function MUe(){if(ZH)return SI;ZH=1,SI=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return SI}var EI,e7;function IUe(){if(e7)return EI;e7=1;var e=Bv();EI=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return EI}var TI,t7;function DUe(){if(t7)return TI;t7=1,TI=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return TI}var CI,n7;function $Ue(){if(n7)return CI;n7=1;var e=Bv();CI=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))})(n)}return CI}var kI,r7;function LUe(){if(r7)return kI;r7=1,kI=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return kI}var xI,a7;function FUe(){if(a7)return xI;a7=1,xI=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return xI}var _I,i7;function jUe(){if(i7)return _I;i7=1,_I=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")})(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return _I}var OI,o7;function UUe(){if(o7)return OI;o7=1,OI=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return OI}var RI,s7;function BUe(){if(s7)return RI;s7=1,RI=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return RI}var PI,l7;function WUe(){if(l7)return PI;l7=1,PI=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),i=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(l,u){return l[u]=i[u],l},{});i["class-name"].forEach(function(l){l.inside=o})})(t)}return PI}var AI,u7;function zUe(){if(u7)return AI;u7=1,AI=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return AI}var NI,c7;function qUe(){if(c7)return NI;c7=1,NI=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return NI}var MI,d7;function HUe(){if(d7)return MI;d7=1,MI=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return MI}var II,f7;function VUe(){if(f7)return II;f7=1;var e=N_();II=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return II}var DI,p7;function GUe(){if(p7)return DI;p7=1;var e=N_(),t=A_();DI=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)})(r)}return DI}var $I,h7;function YUe(){if(h7)return $I;h7=1;var e=Ij();$I=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return $I}var LI,m7;function KUe(){if(m7)return LI;m7=1,LI=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return LI}var FI,g7;function XUe(){if(g7)return FI;g7=1,FI=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return FI}var jI,v7;function QUe(){if(v7)return jI;v7=1,jI=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return jI}var UI,y7;function JUe(){if(y7)return UI;y7=1,UI=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return UI}var BI,b7;function ZUe(){if(b7)return BI;b7=1,BI=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],i=["offset"],o=r.concat(a,i);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return BI}var WI,w7;function e6e(){if(w7)return WI;w7=1,WI=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return WI}var zI,S7;function t6e(){if(S7)return zI;S7=1,zI=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return zI}var qI,E7;function n6e(){if(E7)return qI;E7=1,qI=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return qI}var HI,T7;function r6e(){if(T7)return HI;T7=1,HI=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},o=0,l=a.length;o",function(){return u.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[u.language,"language-"+u.language],inside:n.languages[u.language]}}})}n.languages.insertBefore("pug","filter",i)})(t)}return HI}var VI,C7;function a6e(){if(C7)return VI;C7=1,VI=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return VI}var GI,k7;function i6e(){if(k7)return GI;k7=1,GI=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),n.languages[o]){var l={};l["inline-lang-"+o]={pattern:RegExp(a.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},l["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",l)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return GI}var YI,x7;function o6e(){if(x7)return YI;x7=1,YI=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return YI}var KI,_7;function s6e(){if(_7)return KI;_7=1;var e=$j();KI=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return KI}var XI,O7;function l6e(){if(O7)return XI;O7=1,XI=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return XI}var QI,R7;function u6e(){if(R7)return QI;R7=1,QI=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return QI}var JI,P7;function c6e(){if(P7)return JI;P7=1,JI=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return JI}var ZI,A7;function d6e(){if(A7)return ZI;A7=1,ZI=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return ZI}var eD,N7;function f6e(){if(N7)return eD;N7=1,eD=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(v,E){return v.replace(/<<(\d+)>>/g,function(T,C){return"(?:"+E[+C]+")"})}function a(v,E,T){return RegExp(r(v,E),"")}function i(v,E){for(var T=0;T>/g,function(){return"(?:"+v+")"});return v.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function l(v){return"\\b(?:"+v.trim().replace(/ /g,"|")+")\\b"}var u=RegExp(l(o.type+" "+o.other)),d=/\b[A-Za-z_]\w*\b/.source,f=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[d]),g={keyword:u,punctuation:/[<>()?,.:[\]]/},y=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[y]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[f]),lookbehind:!0,inside:g},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[f]),lookbehind:!0,inside:g}],keyword:u,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var h=i(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[y]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[h]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[h]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return eD}var tD,M7;function p6e(){if(M7)return tD;M7=1,tD=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return tD}var nD,I7;function h6e(){if(I7)return nD;I7=1;var e=Uj();nD=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return nD}var rD,D7;function m6e(){if(D7)return rD;D7=1,rD=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return rD}var aD,$7;function g6e(){if($7)return aD;$7=1,aD=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l="(?:[^\\\\-]|"+a.source+")",u=RegExp(l+"-"+l),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:u,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:a}},"special-escape":r,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return iD}var oD,F7;function y6e(){if(F7)return oD;F7=1,oD=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return oD}var sD,j7;function b6e(){if(j7)return sD;j7=1,sD=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return sD}var lD,U7;function w6e(){if(U7)return lD;U7=1,lD=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return lD}var uD,B7;function S6e(){if(B7)return uD;B7=1,uD=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return uD}var cD,W7;function E6e(){if(W7)return cD;W7=1,cD=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(d,f){var g={};g["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var y in f)g[y]=f[y];return g.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},g.variable=a,g.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return d}),"im"),alias:"section",inside:g}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},l={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},u={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":l,documentation:o,property:u}),keywords:i("Keywords",{"keyword-name":l,documentation:o,property:u}),tasks:i("Tasks",{"task-name":l,documentation:o,property:u}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return cD}var dD,z7;function T6e(){if(z7)return dD;z7=1,dD=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return dD}var fD,q7;function C6e(){if(q7)return fD;q7=1,fD=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},l={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},u={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},d=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],f={pattern:RegExp(r),greedy:!0},g=/[$%@.(){}\[\];,\\]/,y={pattern:/%?\b\w+(?=\()/,alias:"keyword"},h={function:y,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:g,string:f},v={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},E={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},T={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},C={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},k=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,_={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return k}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return k}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:d,function:y,"arg-value":h["arg-value"],operator:h.operator,argument:h.arg,number:a,"numeric-constant":i,punctuation:g,string:f}},A={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":T,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:A,"submit-statement":C,"global-statements":T,number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:A,"submit-statement":C,"global-statements":T,number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:h}},"cas-actions":_,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:h},step:u,keyword:A,function:y,format:v,altformat:E,"global-statements":T,number:a,"numeric-constant":i,punctuation:g,string:f}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:h},"macro-keyword":l,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":l,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:g}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:d,number:a,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:h},"cas-actions":_,comment:d,function:y,format:v,altformat:E,"numeric-constant":i,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:f,step:u,keyword:A,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:g}})(t)}return fD}var pD,H7;function k6e(){if(H7)return pD;H7=1,pD=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return pD}var hD,V7;function x6e(){if(V7)return hD;V7=1;var e=Lj();hD=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return hD}var mD,G7;function _6e(){if(G7)return mD;G7=1,mD=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return mD}var gD,Y7;function O6e(){if(Y7)return gD;Y7=1;var e=are();gD=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),(function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]})(n)}return gD}var vD,K7;function R6e(){if(K7)return vD;K7=1,vD=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return vD}var yD,X7;function P6e(){if(X7)return yD;X7=1,yD=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return yD}var bD,Q7;function A6e(){if(Q7)return bD;Q7=1;var e=ls();bD=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(o){var l="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(f){return f===u&&(d=!1),d?!1:(f===l&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})})(n)}return bD}var wD,J7;function N6e(){if(J7)return wD;J7=1,wD=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return wD}var SD,Z7;function M6e(){if(Z7)return SD;Z7=1,SD=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return SD}var ED,eV;function I6e(){if(eV)return ED;eV=1,ED=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return ED}var TD,tV;function D6e(){if(tV)return TD;tV=1;var e=ls();TD=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),(function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var l=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,u="{literal}",d="{/literal}",f=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",l,function(g){return g===d&&(f=!1),f?!1:(g===u&&(f=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})})(n)}return TD}var CD,nV;function lre(){if(nV)return CD;nV=1,CD=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return CD}var kD,rV;function $6e(){if(rV)return kD;rV=1;var e=lre();kD=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return kD}var xD,aV;function L6e(){if(aV)return xD;aV=1,xD=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return xD}var _D,iV;function F6e(){if(iV)return _D;iV=1,_D=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return _D}var OD,oV;function j6e(){if(oV)return OD;oV=1,OD=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return OD}var RD,sV;function U6e(){if(sV)return RD;sV=1,RD=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return RD}var PD,lV;function B6e(){if(lV)return PD;lV=1,PD=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return PD}var AD,uV;function W6e(){if(uV)return AD;uV=1,AD=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return AD}var ND,cV;function z6e(){if(cV)return ND;cV=1,ND=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return ND}var MD,dV;function Bj(){if(dV)return MD;dV=1,MD=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,l){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:l}}}}function a(i){var o=n.languages[i],l="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,l),"class-feature":r("\\+",o,l),standard:r("",o,l)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return MD}var ID,fV;function q6e(){if(fV)return ID;fV=1;var e=Bj(),t=R_();ID=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return ID}var DD,pV;function ure(){if(pV)return DD;pV=1;var e=ire();DD=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return DD}var $D,hV;function H6e(){if(hV)return $D;hV=1;var e=Bj(),t=ure();$D=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return $D}var LD,mV;function cre(){if(mV)return LD;mV=1,LD=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(d,f){f=(f||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return d});return RegExp(g,f)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+o+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(l),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return LD}var FD,gV;function V6e(){if(gV)return FD;gV=1;var e=cre();FD=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return FD}var jD,vV;function G6e(){if(vV)return jD;vV=1,jD=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return jD}var UD,yV;function Y6e(){if(yV)return UD;yV=1,UD=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(y,h){return RegExp(y.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),h||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},l=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),u=l.phrase.inside,d={inline:u.inline,link:u.link,image:u.image,footnote:u.footnote,acronym:u.acronym,mark:u.mark};l.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var f=u.inline.inside;f.bold.inside=d,f.italic.inside=d,f.inserted.inside=d,f.deleted.inside=d,f.span.inside=d;var g=u.table.inside;g.inline=d.inline,g.link=d.link,g.image=d.image,g.footnote=d.footnote,g.acronym=d.acronym,g.mark=d.mark})(t)}return UD}var BD,bV;function K6e(){if(bV)return BD;bV=1,BD=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return BD}var WD,wV;function X6e(){if(wV)return WD;wV=1,WD=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return WD}var zD,SV;function Q6e(){if(SV)return zD;SV=1;var e=sre(),t=Fj();zD=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),(function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0})(r)}return zD}var qD,EV;function J6e(){if(EV)return qD;EV=1;var e=ls();qD=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),(function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var i=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})})(n)}return qD}var HD,TV;function Z6e(){if(TV)return HD;TV=1;var e=ls();HD=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return HD}var VD,CV;function eBe(){if(CV)return VD;CV=1,VD=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return VD}var GD,kV;function tBe(){if(kV)return GD;kV=1,GD=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return GD}var YD,xV;function nBe(){if(xV)return YD;xV=1,YD=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return YD}var KD,_V;function rBe(){if(_V)return KD;_V=1,KD=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return KD}var XD,OV;function aBe(){if(OV)return XD;OV=1,XD=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return XD}var QD,RV;function iBe(){if(RV)return QD;RV=1,QD=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return QD}var JD,PV;function oBe(){if(PV)return JD;PV=1,JD=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return JD}var ZD,AV;function sBe(){if(AV)return ZD;AV=1,ZD=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return ZD}var e$,NV;function lBe(){if(NV)return e$;NV=1,e$=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return e$}var t$,MV;function uBe(){if(MV)return t$;MV=1,t$=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return t$}var n$,IV;function cBe(){if(IV)return n$;IV=1,n$=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return n$}var r$,DV;function dBe(){if(DV)return r$;DV=1,r$=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return r$}var a$,$V;function fBe(){if($V)return a$;$V=1,a$=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return a$}var i$,LV;function pBe(){if(LV)return i$;LV=1,i$=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(i[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return i$}var o$,FV;function hBe(){if(FV)return o$;FV=1,o$=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return o$}var s$,jV;function mBe(){if(jV)return s$;jV=1,s$=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return s$}var l$,UV;function gBe(){if(UV)return l$;UV=1,l$=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return l$}var u$,BV;function vBe(){if(BV)return u$;BV=1,u$=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return u$}var c$,WV;function yBe(){if(WV)return c$;WV=1,c$=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(l,u){n.languages[l]&&n.languages.insertBefore(l,"comment",{"doc-comment":u})}var a=n.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",i),r("fsharp",i),r("vbnet",o)})(t)}return c$}var d$,zV;function bBe(){if(zV)return d$;zV=1,d$=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return d$}var f$,qV;function wBe(){if(qV)return f$;qV=1,f$=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(r).join("")},a=function(i){for(var o=[],l=0;l0&&o[o.length-1].tagName===r(u.content[0].content[1])&&o.pop():u.content[u.content.length-1].content==="/>"||o.push({tagName:r(u.content[0].content[1]),openedBraces:0}):o.length>0&&u.type==="punctuation"&&u.content==="{"&&(!i[l+1]||i[l+1].type!=="punctuation"||i[l+1].content!=="{")&&(!i[l-1]||i[l-1].type!=="plain-text"||i[l-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&u.type==="punctuation"&&u.content==="}"?o[o.length-1].openedBraces--:u.type!=="comment"&&(d=!0)),(d||typeof u=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var f=r(u);l0&&(typeof i[l-1]=="string"||i[l-1].type==="plain-text")&&(f=r(i[l-1])+f,i.splice(l-1,1),l--),/^\s+$/.test(f)?i[l]=f:i[l]=new n.Token("plain-text",f,null,f)}u.content&&typeof u.content!="string"&&a(u.content)}};n.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return f$}var p$,HV;function SBe(){if(HV)return p$;HV=1,p$=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return p$}var h$,VV;function EBe(){if(VV)return h$;VV=1,h$=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(f){return function(){return f}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),u=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(i)),d="(?!\\s)(?:!?\\s*(?:"+l+"\\s*)*"+u+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(d)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(d)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(f){f.inside===null&&(f.inside=n.languages.zig)})})(t)}return h$}var m$,GV;function TBe(){if(GV)return m$;GV=1;var e=jFe();return m$=e,e.register(BFe()),e.register(WFe()),e.register(zFe()),e.register(qFe()),e.register(HFe()),e.register(VFe()),e.register(GFe()),e.register(YFe()),e.register(KFe()),e.register(XFe()),e.register(QFe()),e.register(JFe()),e.register(ZFe()),e.register(eje()),e.register(tje()),e.register(nje()),e.register(rje()),e.register(aje()),e.register(ije()),e.register(oje()),e.register(sje()),e.register(lje()),e.register(are()),e.register(ire()),e.register(uje()),e.register(cje()),e.register(dje()),e.register(fje()),e.register(pje()),e.register(hje()),e.register(mje()),e.register(gje()),e.register(vje()),e.register(yje()),e.register(Bv()),e.register(bje()),e.register(wje()),e.register(Sje()),e.register(Eje()),e.register(Tje()),e.register(Cje()),e.register(kje()),e.register(xje()),e.register(_je()),e.register(Dj()),e.register(Oje()),e.register(R_()),e.register(Rje()),e.register(Pje()),e.register(Aje()),e.register(Nje()),e.register(Mje()),e.register(Ije()),e.register(Dje()),e.register($je()),e.register(Lje()),e.register(Fje()),e.register(jje()),e.register(Uje()),e.register(Bje()),e.register(Wje()),e.register(zje()),e.register(qje()),e.register(Hje()),e.register(Vje()),e.register(Gje()),e.register(Yje()),e.register(Kje()),e.register(Xje()),e.register(Qje()),e.register(Jje()),e.register(Zje()),e.register(e4e()),e.register(t4e()),e.register(n4e()),e.register(r4e()),e.register(a4e()),e.register(i4e()),e.register(o4e()),e.register(s4e()),e.register(l4e()),e.register(u4e()),e.register(c4e()),e.register(d4e()),e.register(f4e()),e.register(p4e()),e.register(h4e()),e.register(m4e()),e.register(g4e()),e.register(v4e()),e.register(y4e()),e.register(b4e()),e.register(w4e()),e.register(S4e()),e.register($j()),e.register(E4e()),e.register(T4e()),e.register(C4e()),e.register(k4e()),e.register(x4e()),e.register(_4e()),e.register(O4e()),e.register(R4e()),e.register(P4e()),e.register(A4e()),e.register(N4e()),e.register(M4e()),e.register(I4e()),e.register(D4e()),e.register($4e()),e.register(L4e()),e.register(F4e()),e.register(Lj()),e.register(j4e()),e.register(A_()),e.register(U4e()),e.register(B4e()),e.register(W4e()),e.register(z4e()),e.register(q4e()),e.register(H4e()),e.register(V4e()),e.register(jj()),e.register(G4e()),e.register(Y4e()),e.register(K4e()),e.register(sre()),e.register(X4e()),e.register(Q4e()),e.register(J4e()),e.register(Z4e()),e.register(eUe()),e.register(tUe()),e.register(nUe()),e.register(rUe()),e.register(aUe()),e.register(iUe()),e.register(oUe()),e.register(sUe()),e.register(lUe()),e.register(uUe()),e.register(cUe()),e.register(dUe()),e.register(ore()),e.register(fUe()),e.register(pUe()),e.register(hUe()),e.register(ls()),e.register(mUe()),e.register(gUe()),e.register(vUe()),e.register(yUe()),e.register(bUe()),e.register(wUe()),e.register(SUe()),e.register(EUe()),e.register(TUe()),e.register(CUe()),e.register(kUe()),e.register(xUe()),e.register(_Ue()),e.register(OUe()),e.register(RUe()),e.register(PUe()),e.register(AUe()),e.register(NUe()),e.register(MUe()),e.register(IUe()),e.register(DUe()),e.register($Ue()),e.register(LUe()),e.register(FUe()),e.register(jUe()),e.register(UUe()),e.register(BUe()),e.register(WUe()),e.register(zUe()),e.register(qUe()),e.register(HUe()),e.register(VUe()),e.register(N_()),e.register(GUe()),e.register(YUe()),e.register(KUe()),e.register(XUe()),e.register(QUe()),e.register(JUe()),e.register(ZUe()),e.register(e6e()),e.register(t6e()),e.register(n6e()),e.register(r6e()),e.register(a6e()),e.register(i6e()),e.register(o6e()),e.register(s6e()),e.register(l6e()),e.register(u6e()),e.register(c6e()),e.register(d6e()),e.register(f6e()),e.register(p6e()),e.register(h6e()),e.register(m6e()),e.register(g6e()),e.register(v6e()),e.register(y6e()),e.register(b6e()),e.register(w6e()),e.register(S6e()),e.register(E6e()),e.register(P_()),e.register(T6e()),e.register(C6e()),e.register(k6e()),e.register(x6e()),e.register(Uj()),e.register(_6e()),e.register(O6e()),e.register(R6e()),e.register(P6e()),e.register(A6e()),e.register(N6e()),e.register(M6e()),e.register(I6e()),e.register(D6e()),e.register($6e()),e.register(L6e()),e.register(F6e()),e.register(Ij()),e.register(j6e()),e.register(U6e()),e.register(B6e()),e.register(W6e()),e.register(z6e()),e.register(q6e()),e.register(Bj()),e.register(H6e()),e.register(V6e()),e.register(G6e()),e.register(Y6e()),e.register(K6e()),e.register(X6e()),e.register(Q6e()),e.register(J6e()),e.register(lre()),e.register(Z6e()),e.register(Fj()),e.register(eBe()),e.register(tBe()),e.register(nBe()),e.register(rBe()),e.register(aBe()),e.register(iBe()),e.register(ure()),e.register(oBe()),e.register(sBe()),e.register(lBe()),e.register(uBe()),e.register(cBe()),e.register(dBe()),e.register(fBe()),e.register(pBe()),e.register(hBe()),e.register(mBe()),e.register(gBe()),e.register(vBe()),e.register(yBe()),e.register(bBe()),e.register(wBe()),e.register(cre()),e.register(SBe()),e.register(EBe()),m$}var CBe=TBe();const kBe=Rc(CBe);var dre=dLe(kBe,UFe);dre.supportedLanguages=fLe;const xBe={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}},_Be={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},na=({codeString:e})=>{var i;const t=(i=document==null?void 0:document.body)==null?void 0:i.classList.contains("dark-theme"),[n,r]=R.useState(!1),a=()=>{navigator.clipboard.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),1500)})};return w.jsxs("div",{className:"code-viewer-container",children:[w.jsx("button",{className:"copy-button",onClick:a,children:n?"Copied!":"Copy"}),w.jsx(dre,{language:"tsx",style:t?_Be:xBe,children:e})]})},Ed={Example1:`const Example1 = () => { const users = useMemo(() => generateUsers(100000), []); const querySource = createQuerySource(users); const [selectedValue, setValue] = usePresistentState<{ @@ -796,7 +796,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ); -}`};function R6e(){return w.jsxs("div",{children:[w.jsx("h2",{children:"FormSelect"}),w.jsx("p",{children:"Selecting items are one of the most important aspect of any application. You want always give the user the option to select, search, deselect items and assign that selection in some part of an DTO or entity."}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(P6e,{}),w.jsx(na,{codeString:md.Example1})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(A6e,{}),w.jsx(na,{codeString:md.Example2})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(N6e,{}),w.jsx(na,{codeString:md.Example3})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(M6e,{}),w.jsx(na,{codeString:md.Example4})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(I6e,{}),w.jsx(na,{codeString:md.Example5})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(D6e,{}),w.jsx(na,{codeString:md.Example6})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx($6e,{}),w.jsx(na,{codeString:md.Example9})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(L6e,{}),w.jsx(na,{codeString:md.Example8})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(F6e,{}),w.jsx(na,{codeString:md.Example7})]})]})}const sV=` +}`};function OBe(){return w.jsxs("div",{children:[w.jsx("h2",{children:"FormSelect"}),w.jsx("p",{children:"Selecting items are one of the most important aspect of any application. You want always give the user the option to select, search, deselect items and assign that selection in some part of an DTO or entity."}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(RBe,{}),w.jsx(na,{codeString:Ed.Example1})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(PBe,{}),w.jsx(na,{codeString:Ed.Example2})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(ABe,{}),w.jsx(na,{codeString:Ed.Example3})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(NBe,{}),w.jsx(na,{codeString:Ed.Example4})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(MBe,{}),w.jsx(na,{codeString:Ed.Example5})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(IBe,{}),w.jsx(na,{codeString:Ed.Example6})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(DBe,{}),w.jsx(na,{codeString:Ed.Example9})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx($Be,{}),w.jsx(na,{codeString:Ed.Example8})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(LBe,{}),w.jsx(na,{codeString:Ed.Example7})]})]})}const YV=` Ali Reza Negar Sina Parisa Mehdi Hamed Kiana Bahram Nima Farzad Samira Shahram Yasmin Dariush Elham Kamran Roya Shirin Behnaz Omid Nasrin Saeed Shahab Zohreh Babak Ladan Fariba Mohsen Mojgan Amir Hossein Farhad Leila @@ -804,7 +804,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho Forough Parsa Sara Kourosh Fereshteh Niloofar Mehrazin Matin Armin Samin Pouya Anahita Shapour Laleh Dariya Navid Elnaz Siamak Shadi Behzad Rozita Hassan Tarannom Baharak Pejman Mansour Parsa Mobin Yasna Yashar Mahdieh - `.split(/\s+/),lV=` + `.split(/\s+/),KV=` Torabi Moghaddam Khosravi Jafari Gholami Ahmadi Shams Karimi Hashemi Zand Rajabi Shariatmadari Tavakoli Hedayati Amini Behnam Farhadi Yazdani Mirzaei Eskandari Shafiei Motamedi Monfared Eslami Rashidi Daneshgar Kianian @@ -812,7 +812,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho Keshavarz Rezazadeh Kaviani Namdar Baniameri Kamali Moradi Azimi Sotoudeh Amiri Nikpour Fakhimi Karamat Taheri Javid Salimi Saidi Yousefi Rostami Najafi Ranjbar Darvishi Fallahian Ghanbari Panahi Hosseinzadeh Fattahi Rahbar - Sousa Oliveira Gomez Rodriguez`.split(/\s+/);function _ne(e){return Array.from({length:e},(t,n)=>({name:`${sV[Math.floor(Math.random()*sV.length)]} ${lV[Math.floor(Math.random()*lV.length)]}`,id:n+1}))}const P6e=()=>{const e=R.useMemo(()=>_ne(1e5),[]),t=js(e),[n,r]=qF("samplefromstaticjson",e[0]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting from static array"}),w.jsx("p",{children:"In many cases, you already have an array your app hard coded, then you want to allow user to select from them, and you store them into a form or a react state. In this example we create large list of users, and preselect the first one."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(n,null,2)]}),w.jsx(ca,{value:n,label:"User",keyExtractor:a=>a.id,fnLabelFormat:a=>a.name,querySource:t,onChange:a=>{r(a)}}),w.jsx("div",{children:"Code:"})]})},A6e=()=>{const e=R.useMemo(()=>_ne(1e4),[]),t=js(e),[n,r]=R.useState([e[0],e[1],e[2]]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting multiple from static array"}),w.jsx("p",{children:"In this example, we use a large list of users array from a static json, and then user can make multiple selection, and we keep that into a react state."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(n,null,2)]}),w.jsx(J3,{value:n,label:"Multiple users",keyExtractor:a=>a.id,fnLabelFormat:a=>a.name,querySource:t,onChange:a=>r(a)})]})},N6e=()=>{const[e,t]=R.useState();return w.jsxs("div",{children:[w.jsx("h2",{children:"Select multiple entities from Fireback generated code"}),w.jsx("p",{children:"As all of the entities generated via Fireback are searchable through the generated sdk, by using react-query, in this example we are selecting a role and storing it into a react state. There are samples to store that on formik form using formEffect later in this document."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(e,null,2)]}),w.jsx(J3,{value:e,label:"Multiple users",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:Hd,onChange:n=>t(n)})]})},M6e=()=>{const[e,t]=qF("Example4",void 0);return w.jsxs("div",{children:[w.jsx("h2",{children:"Select single entity (role) from backend"}),w.jsx("p",{children:"In this scenario we allow user to select a single entity and assign it to the react usestate."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(e,null,2)]}),w.jsx(ca,{value:e,label:"Select single role",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:Hd,onChange:n=>t(n)})]})},I6e=()=>{class e{constructor(){this.user=void 0}}return e.Fields={user$:"user",user:{role:"user.role",roleId:"user.roleId"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting role with formEffect property"}),w.jsxs("p",{children:["A lot of time we are working with formik forms. In order to avoid value, onChange settings for each field, FormSelect and FormMultipleSelect allow for ",w.jsx("strong",{children:"formEffect"}),"property, which would automatically operate on the form values and modify them."]}),w.jsx(os,{initialValues:{user:{}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(ca,{value:t.values.user.role,label:"Select single role",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:Hd,formEffect:{field:e.Fields.user.role,form:t}})]})})]})},D6e=()=>{class e{constructor(){this.user=void 0}}return e.Fields={user$:"user",user:{roles:"user.roles"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting multiple role with formEffect"}),w.jsx("p",{children:"In this example, we allow a user to fill an array in the formik form, by selecting multiple roles and assign them to the user."}),w.jsx(os,{initialValues:{user:{}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(J3,{value:t.values.user.roles,label:"Select multiple roles",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:Hd,formEffect:{field:e.Fields.user.roles,form:t}})]})})]})},$6e=()=>{const[e,t]=qF("samplePrimitivenumeric",3),n=js([{sisters:1},{sisters:2},{sisters:3}]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting and changing only pure primitives"}),w.jsx("p",{children:"There are reasons that you want to set a primitive such as string or number when working with input select. In fact, by default a lot of components out there in react community let you do this, and you need to build FormSelect and FormMultipleSelect yourself."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(e,null,2)]}),w.jsx(ca,{value:e,label:"Select a number",onChange:r=>t(r.sisters),keyExtractor:r=>r.sisters,fnLabelFormat:r=>r.sisters+" Sisters",querySource:n})]})},L6e=()=>{class e{constructor(){this.user=void 0}}e.Fields={user$:"user",user:{sisters:"user.sisters"}};const t=js([{sisters:1},{sisters:2},{sisters:3}]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting primitives with form effect"}),w.jsxs("p",{children:["Direct change, and read primitives such as string and number are available also as formeffect, just take a deeper look on the"," ",w.jsx("strong",{children:"beforeSet"})," function in this case. You need to take out the value you want in this callback."]}),w.jsx(os,{initialValues:{user:{sisters:2}},onSubmit:n=>{alert(JSON.stringify(n,null,2))},children:n=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(n.values,null,2)]}),w.jsx(ca,{value:n.values.user.sisters,label:"Select how many sisters user has",keyExtractor:r=>r.sisters,fnLabelFormat:r=>r.sisters+" sisters!",querySource:t,formEffect:{field:e.Fields.user.sisters,form:n,beforeSet(r){return r.sisters}}})]})})]})},F6e=()=>{class e{constructor(){this.date=void 0}}return e.Fields={date:"date"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form Date demo"}),w.jsx("p",{children:"In many examples you want to select only a date string, nothing more. This input does that clearly."}),w.jsx(os,{initialValues:{date:"2020-10-10"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(lne,{value:t.values.date,label:"When did you born?",onChange:n=>t.setFieldValue(e.Fields.date,n)})]})})]})};function j6e(){return w.jsxs("div",{children:[w.jsx("h1",{children:"Demo screen"}),w.jsx("p",{children:"Here I put some demo and example of fireback components for react.js"}),w.jsx("div",{children:w.jsx(El,{href:"/demo/modals",children:"Check modals"})}),w.jsx("div",{children:w.jsx(El,{href:"/demo/form-select",children:"Check Selects"})}),w.jsx("div",{children:w.jsx(El,{href:"/demo/form-date",children:"Check Date Inputs"})}),w.jsx("hr",{})]})}const tc={example1:`const example1 = () => { + Sousa Oliveira Gomez Rodriguez`.split(/\s+/);function fre(e){return Array.from({length:e},(t,n)=>({name:`${YV[Math.floor(Math.random()*YV.length)]} ${KV[Math.floor(Math.random()*KV.length)]}`,id:n+1}))}const RBe=()=>{const e=R.useMemo(()=>fre(1e5),[]),t=Bs(e),[n,r]=Aj("samplefromstaticjson",e[0]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting from static array"}),w.jsx("p",{children:"In many cases, you already have an array your app hard coded, then you want to allow user to select from them, and you store them into a form or a react state. In this example we create large list of users, and preselect the first one."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(n,null,2)]}),w.jsx(ca,{value:n,label:"User",keyExtractor:a=>a.id,fnLabelFormat:a=>a.name,querySource:t,onChange:a=>{r(a)}}),w.jsx("div",{children:"Code:"})]})},PBe=()=>{const e=R.useMemo(()=>fre(1e4),[]),t=Bs(e),[n,r]=R.useState([e[0],e[1],e[2]]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting multiple from static array"}),w.jsx("p",{children:"In this example, we use a large list of users array from a static json, and then user can make multiple selection, and we keep that into a react state."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(n,null,2)]}),w.jsx(UF,{value:n,label:"Multiple users",keyExtractor:a=>a.id,fnLabelFormat:a=>a.name,querySource:t,onChange:a=>r(a)})]})},ABe=()=>{const[e,t]=R.useState();return w.jsxs("div",{children:[w.jsx("h2",{children:"Select multiple entities from Fireback generated code"}),w.jsx("p",{children:"As all of the entities generated via Fireback are searchable through the generated sdk, by using react-query, in this example we are selecting a role and storing it into a react state. There are samples to store that on formik form using formEffect later in this document."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(e,null,2)]}),w.jsx(UF,{value:e,label:"Multiple users",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:tf,onChange:n=>t(n)})]})},NBe=()=>{const[e,t]=Aj("Example4",void 0);return w.jsxs("div",{children:[w.jsx("h2",{children:"Select single entity (role) from backend"}),w.jsx("p",{children:"In this scenario we allow user to select a single entity and assign it to the react usestate."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(e,null,2)]}),w.jsx(ca,{value:e,label:"Select single role",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:tf,onChange:n=>t(n)})]})},MBe=()=>{class e{constructor(){this.user=void 0}}return e.Fields={user$:"user",user:{role:"user.role",roleId:"user.roleId"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting role with formEffect property"}),w.jsxs("p",{children:["A lot of time we are working with formik forms. In order to avoid value, onChange settings for each field, FormSelect and FormMultipleSelect allow for ",w.jsx("strong",{children:"formEffect"}),"property, which would automatically operate on the form values and modify them."]}),w.jsx(ss,{initialValues:{user:{}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(ca,{value:t.values.user.role,label:"Select single role",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:tf,formEffect:{field:e.Fields.user.role,form:t}})]})})]})},IBe=()=>{class e{constructor(){this.user=void 0}}return e.Fields={user$:"user",user:{roles:"user.roles"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting multiple role with formEffect"}),w.jsx("p",{children:"In this example, we allow a user to fill an array in the formik form, by selecting multiple roles and assign them to the user."}),w.jsx(ss,{initialValues:{user:{}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(UF,{value:t.values.user.roles,label:"Select multiple roles",keyExtractor:n=>n.uniqueId,fnLabelFormat:n=>n.name,querySource:tf,formEffect:{field:e.Fields.user.roles,form:t}})]})})]})},DBe=()=>{const[e,t]=Aj("samplePrimitivenumeric",3),n=Bs([{sisters:1},{sisters:2},{sisters:3}]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting and changing only pure primitives"}),w.jsx("p",{children:"There are reasons that you want to set a primitive such as string or number when working with input select. In fact, by default a lot of components out there in react community let you do this, and you need to build FormSelect and FormMultipleSelect yourself."}),w.jsxs("pre",{children:["Value: ",JSON.stringify(e,null,2)]}),w.jsx(ca,{value:e,label:"Select a number",onChange:r=>t(r.sisters),keyExtractor:r=>r.sisters,fnLabelFormat:r=>r.sisters+" Sisters",querySource:n})]})},$Be=()=>{class e{constructor(){this.user=void 0}}e.Fields={user$:"user",user:{sisters:"user.sisters"}};const t=Bs([{sisters:1},{sisters:2},{sisters:3}]);return w.jsxs("div",{children:[w.jsx("h2",{children:"Selecting primitives with form effect"}),w.jsxs("p",{children:["Direct change, and read primitives such as string and number are available also as formeffect, just take a deeper look on the"," ",w.jsx("strong",{children:"beforeSet"})," function in this case. You need to take out the value you want in this callback."]}),w.jsx(ss,{initialValues:{user:{sisters:2}},onSubmit:n=>{alert(JSON.stringify(n,null,2))},children:n=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(n.values,null,2)]}),w.jsx(ca,{value:n.values.user.sisters,label:"Select how many sisters user has",keyExtractor:r=>r.sisters,fnLabelFormat:r=>r.sisters+" sisters!",querySource:t,formEffect:{field:e.Fields.user.sisters,form:n,beforeSet(r){return r.sisters}}})]})})]})},LBe=()=>{class e{constructor(){this.date=void 0}}return e.Fields={date:"date"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form Date demo"}),w.jsx("p",{children:"In many examples you want to select only a date string, nothing more. This input does that clearly."}),w.jsx(ss,{initialValues:{date:"2020-10-10"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Gne,{value:t.values.date,label:"When did you born?",onChange:n=>t.setFieldValue(e.Fields.date,n)})]})})]})};function FBe(){return w.jsxs("div",{children:[w.jsx("h1",{children:"Demo screen"}),w.jsx("p",{children:"Here I put some demo and example of fireback components for react.js"}),w.jsx("div",{children:w.jsx(kl,{href:"/demo/modals",children:"Check modals"})}),w.jsx("div",{children:w.jsx(kl,{href:"/demo/form-select",children:"Check Selects"})}),w.jsx("div",{children:w.jsx(kl,{href:"/demo/form-date",children:"Check Date Inputs"})}),w.jsx("hr",{})]})}const uc={example1:`const example1 = () => { return openDrawer(() =>
Hi, this is opened in a drawer
); }`,example2:`const example2 = () => { openDrawer( @@ -918,17 +918,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho promise.finally(() => { clearInterval(id); }); - }`},nc=({children:e})=>w.jsx("div",{style:{marginBottom:"70px"},children:e});function U6e(){const{openDrawer:e,openModal:t}=w3(),{confirmDrawer:n,confirmModal:r}=LQ(),a=()=>e(()=>w.jsx("div",{children:"Hi, this is opened in a drawer"})),i=()=>{e(()=>w.jsx("div",{children:"Hi, this is opened in a drawer, with a larger area and from left"}),{direction:"left",size:"40%"})},o=()=>{t(({resolve:E})=>{const[T,C]=R.useState("");return w.jsxs("form",{onSubmit:k=>k.preventDefault(),children:[w.jsxs("span",{children:["If you enter ",w.jsx("strong",{children:"ali"})," in the box, you'll see the example1 opening"]}),w.jsx(In,{autoFocus:!0,value:T,onChange:k=>C(k)}),w.jsx(Fs,{onClick:()=>E(T),children:"Okay"})]})}).promise.then(({data:E})=>{if(E==="ali")return a();alert(E)})},l=()=>{a(),a(),i(),i()},u=()=>{t(({close:E})=>(R.useEffect(()=>{setTimeout(()=>{E()},3e3)},[]),w.jsx("span",{children:"I will disappear :)))))"})))},d=()=>{const{close:E,id:T}=t(()=>w.jsx("span",{children:"I will disappear by outside :)))))"}));setTimeout(()=>{alert(T),E()},2e3)},f=()=>{t(({setOnBeforeClose:E})=>{const[T,C]=R.useState(!1);return R.useEffect(()=>{E==null||E(()=>T?window.confirm("You have unsaved changes. Close anyway?"):!0)},[T]),w.jsxs("span",{children:["If you write anything here, it will be dirty and asks for quite.",w.jsx("input",{onChange:()=>C(!0)}),T?"Will ask":"Not dirty yet"]})})},g=()=>{n({title:"Confirm",description:"Are you to confirm? You still can cancel",confirmLabel:"Confirm",cancelLabel:"Cancel"}).promise.then(E=>{console.log(10,E)})},y=()=>{r({title:"Confirm",description:"Are you to confirm? You still can cancel",confirmLabel:"Confirm",cancelLabel:"Cancel"}).promise.then(E=>{console.log(10,E)})},p=R.useRef(0),v=()=>{const{updateData:E,promise:T}=e(({data:k})=>w.jsxs("span",{children:["Params: ",JSON.stringify(k)]})),C=setInterval(()=>{E({c:++p.current})},100);T.finally(()=>{clearInterval(C)})};return w.jsxs("div",{children:[w.jsx("h1",{children:"Demo Modals"}),w.jsx("p",{children:"Modals, Drawers are a major solved issue in the Fireback react.js. In here we make some examples. The core system is called `overlay`, can be used to show portals such as modal, drawer, alerts..."}),w.jsx("hr",{}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Opening a drawer"}),w.jsx("p",{children:"Every component can be shown as modal, or in a drawer in Fireback."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>a(),children:"Open a text in drawer"}),w.jsx(na,{codeString:tc.example1})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Opening a drawer, from left"}),w.jsx("p",{children:"Shows a drawer from left, also larger"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>i(),children:"Open a text in drawer"}),w.jsx(na,{codeString:tc.example2})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Opening a modal, and get result"}),w.jsx("p",{children:"You can open a modal or drawer, and make some operation in it, and send back the result as a promise."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>o(),children:"Open a text in drawer"}),w.jsx(na,{codeString:tc.example3})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Opening multiple"}),w.jsx("p",{children:"You can open multiple modals, or drawers, doesn't matter."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>l(),children:"Open 2 modal, and open 2 drawer"}),w.jsx(na,{codeString:tc.example4})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Auto disappearing"}),w.jsx("p",{children:"A modal which disappears after 5 seconds"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>u(),children:"Run"}),w.jsx(na,{codeString:tc.example5})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Control from outside"}),w.jsx("p",{children:"Sometimes you want to open a drawer, and then from outside component close it."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>d(),children:"Open but close from outside"}),w.jsx(na,{codeString:tc.example6})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Prevent close"}),w.jsx("p",{children:"When a drawer or modal is open, you can prevent the close."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>f(),children:"Open but ask before close"}),w.jsx(na,{codeString:tc.example7})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Confirm Dialog (drawer)"}),w.jsx("p",{children:"There is a set of ready to use dialogs, such as confirm"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>g(),children:"Open the confirm"}),w.jsx(na,{codeString:tc.example8})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Confirm Dialog (modal)"}),w.jsx("p",{children:"There is a set of ready to use dialogs, such as confirm"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>y(),children:"Open the confirm"}),w.jsx(na,{codeString:tc.example9})]}),w.jsxs(nc,{children:[w.jsx("h2",{children:"Update params from outside"}),w.jsx("p",{children:"In rare cases, you might want to update the params from the outside."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>v(),children:"Open & Update name"}),w.jsx(na,{codeString:tc.example10})]}),w.jsx("br",{}),w.jsx("br",{}),w.jsx("br",{})]})}var _D={},e1={},t1={},Tg={};function yt(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function me(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Re(e){me(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||no(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function bc(e,t){me(2,arguments);var n=Re(e),r=yt(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function lE(e,t){me(2,arguments);var n=Re(e),r=yt(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var a=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var o=i.getDate();return a>=o?i:(n.setFullYear(i.getFullYear(),i.getMonth(),a),n)}function Yy(e,t){if(me(2,arguments),!t||no(t)!=="object")return new Date(NaN);var n=t.years?yt(t.years):0,r=t.months?yt(t.months):0,a=t.weeks?yt(t.weeks):0,i=t.days?yt(t.days):0,o=t.hours?yt(t.hours):0,l=t.minutes?yt(t.minutes):0,u=t.seconds?yt(t.seconds):0,d=Re(e),f=r||n?lE(d,r+n*12):d,g=i||a?bc(f,i+a*7):f,y=l+o*60,p=u+y*60,v=p*1e3,E=new Date(g.getTime()+v);return E}function gb(e){me(1,arguments);var t=Re(e),n=t.getDay();return n===0||n===6}function tj(e){return me(1,arguments),Re(e).getDay()===0}function One(e){return me(1,arguments),Re(e).getDay()===6}function Rne(e,t){me(2,arguments);var n=Re(e),r=gb(n),a=yt(t);if(isNaN(a))return new Date(NaN);var i=n.getHours(),o=a<0?-1:1,l=yt(a/5);n.setDate(n.getDate()+l*7);for(var u=Math.abs(a%5);u>0;)n.setDate(n.getDate()+o),gb(n)||(u-=1);return r&&gb(n)&&a!==0&&(One(n)&&n.setDate(n.getDate()+(o<0?2:-1)),tj(n)&&n.setDate(n.getDate()+(o<0?1:-2))),n.setHours(i),n}function uE(e,t){me(2,arguments);var n=Re(e).getTime(),r=yt(t);return new Date(n+r)}var B6e=36e5;function nj(e,t){me(2,arguments);var n=yt(t);return uE(e,n*B6e)}var Pne={};function Ka(){return Pne}function W6e(e){Pne=e}function kl(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Ka(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Re(e),p=y.getDay(),v=(p=a.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function Xp(e){me(1,arguments);var t=rv(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=Ld(n);return r}function $o(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Pb(e){me(1,arguments);var t=Re(e);return t.setHours(0,0,0,0),t}var z6e=864e5;function vc(e,t){me(2,arguments);var n=Pb(e),r=Pb(t),a=n.getTime()-$o(n),i=r.getTime()-$o(r);return Math.round((a-i)/z6e)}function Ane(e,t){me(2,arguments);var n=Re(e),r=yt(t),a=vc(n,Xp(n)),i=new Date(0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),n=Xp(i),n.setDate(n.getDate()+a),n}function Nne(e,t){me(2,arguments);var n=yt(t);return Ane(e,rv(e)+n)}var q6e=6e4;function rj(e,t){me(2,arguments);var n=yt(t);return uE(e,n*q6e)}function aj(e,t){me(2,arguments);var n=yt(t),r=n*3;return lE(e,r)}function Mne(e,t){me(2,arguments);var n=yt(t);return uE(e,n*1e3)}function Qx(e,t){me(2,arguments);var n=yt(t),r=n*7;return bc(e,r)}function Ine(e,t){me(2,arguments);var n=yt(t);return lE(e,n*12)}function H6e(e,t,n){me(2,arguments);var r=Re(e==null?void 0:e.start).getTime(),a=Re(e==null?void 0:e.end).getTime(),i=Re(t==null?void 0:t.start).getTime(),o=Re(t==null?void 0:t.end).getTime();if(!(r<=a&&i<=o))throw new RangeError("Invalid interval");return n!=null&&n.inclusive?r<=o&&i<=a:ra||isNaN(a.getDate()))&&(n=a)}),n||new Date(NaN)}function V6e(e,t){var n=t.start,r=t.end;return me(2,arguments),$ne([Dne([e,n]),r])}function G6e(e,t){me(2,arguments);var n=Re(e);if(isNaN(Number(n)))return NaN;var r=n.getTime(),a;t==null?a=[]:typeof t.forEach=="function"?a=t:a=Array.prototype.slice.call(t);var i,o;return a.forEach(function(l,u){var d=Re(l);if(isNaN(Number(d))){i=NaN,o=NaN;return}var f=Math.abs(r-d.getTime());(i==null||f0?1:a}function K6e(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=n.getTime()-r.getTime();return a>0?-1:a<0?1:a}var ij=7,Lne=365.2425,Fne=Math.pow(10,8)*24*60*60*1e3,mv=6e4,hv=36e5,Zx=1e3,X6e=-Fne,oj=60,sj=3,lj=12,uj=4,cE=3600,Jx=60,e_=cE*24,jne=e_*7,cj=e_*Lne,dj=cj/12,Une=dj*3;function Q6e(e){me(1,arguments);var t=e/ij;return Math.floor(t)}function dE(e,t){me(2,arguments);var n=Pb(e),r=Pb(t);return n.getTime()===r.getTime()}function Bne(e){return me(1,arguments),e instanceof Date||no(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Fd(e){if(me(1,arguments),!Bne(e)&&typeof e!="number")return!1;var t=Re(e);return!isNaN(Number(t))}function Z6e(e,t){me(2,arguments);var n=Re(e),r=Re(t);if(!Fd(n)||!Fd(r))return NaN;var a=vc(n,r),i=a<0?-1:1,o=yt(a/7),l=o*5;for(r=bc(r,o*7);!dE(n,r);)l+=gb(r)?0:i,r=bc(r,i);return l===0?0:l}function Wne(e,t){return me(2,arguments),rv(e)-rv(t)}var J6e=6048e5;function eBe(e,t){me(2,arguments);var n=Ld(e),r=Ld(t),a=n.getTime()-$o(n),i=r.getTime()-$o(r);return Math.round((a-i)/J6e)}function Xk(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return a*12+i}function NL(e){me(1,arguments);var t=Re(e),n=Math.floor(t.getMonth()/3)+1;return n}function ak(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=n.getFullYear()-r.getFullYear(),i=NL(n)-NL(r);return a*4+i}var tBe=6048e5;function Qk(e,t,n){me(2,arguments);var r=kl(e,n),a=kl(t,n),i=r.getTime()-$o(r),o=a.getTime()-$o(a);return Math.round((i-o)/tBe)}function G1(e,t){me(2,arguments);var n=Re(e),r=Re(t);return n.getFullYear()-r.getFullYear()}function uV(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function fj(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=uV(n,r),i=Math.abs(vc(n,r));n.setDate(n.getDate()-a*i);var o=+(uV(n,r)===-a),l=a*(i-o);return l===0?0:l}function t_(e,t){return me(2,arguments),Re(e).getTime()-Re(t).getTime()}var cV={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},nBe="trunc";function Gb(e){return e?cV[e]:cV[nBe]}function Zk(e,t,n){me(2,arguments);var r=t_(e,t)/hv;return Gb(n==null?void 0:n.roundingMethod)(r)}function zne(e,t){me(2,arguments);var n=yt(t);return Nne(e,-n)}function rBe(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=hu(n,r),i=Math.abs(Wne(n,r));n=zne(n,a*i);var o=+(hu(n,r)===-a),l=a*(i-o);return l===0?0:l}function Jk(e,t,n){me(2,arguments);var r=t_(e,t)/mv;return Gb(n==null?void 0:n.roundingMethod)(r)}function pj(e){me(1,arguments);var t=Re(e);return t.setHours(23,59,59,999),t}function mj(e){me(1,arguments);var t=Re(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function qne(e){me(1,arguments);var t=Re(e);return pj(t).getTime()===mj(t).getTime()}function n_(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=hu(n,r),i=Math.abs(Xk(n,r)),o;if(i<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-a*i);var l=hu(n,r)===-a;qne(Re(e))&&i===1&&hu(e,r)===1&&(l=!1),o=a*(i-Number(l))}return o===0?0:o}function aBe(e,t,n){me(2,arguments);var r=n_(e,t)/3;return Gb(n==null?void 0:n.roundingMethod)(r)}function vb(e,t,n){me(2,arguments);var r=t_(e,t)/1e3;return Gb(n==null?void 0:n.roundingMethod)(r)}function iBe(e,t,n){me(2,arguments);var r=fj(e,t)/7;return Gb(n==null?void 0:n.roundingMethod)(r)}function Hne(e,t){me(2,arguments);var n=Re(e),r=Re(t),a=hu(n,r),i=Math.abs(G1(n,r));n.setFullYear(1584),r.setFullYear(1584);var o=hu(n,r)===-a,l=a*(i-Number(o));return l===0?0:l}function Vne(e,t){var n;me(1,arguments);var r=e||{},a=Re(r.start),i=Re(r.end),o=i.getTime();if(!(a.getTime()<=o))throw new RangeError("Invalid interval");var l=[],u=a;u.setHours(0,0,0,0);var d=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number greater than 1");for(;u.getTime()<=o;)l.push(Re(u)),u.setDate(u.getDate()+d),u.setHours(0,0,0,0);return l}function oBe(e,t){var n;me(1,arguments);var r=e||{},a=Re(r.start),i=Re(r.end),o=a.getTime(),l=i.getTime();if(!(o<=l))throw new RangeError("Invalid interval");var u=[],d=a;d.setMinutes(0,0,0);var f=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(f<1||isNaN(f))throw new RangeError("`options.step` must be a number greater than 1");for(;d.getTime()<=l;)u.push(Re(d)),d=nj(d,f);return u}function ex(e){me(1,arguments);var t=Re(e);return t.setSeconds(0,0),t}function sBe(e,t){var n;me(1,arguments);var r=ex(Re(e.start)),a=Re(e.end),i=r.getTime(),o=a.getTime();if(i>=o)throw new RangeError("Invalid interval");var l=[],u=r,d=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number equal to or greater than 1");for(;u.getTime()<=o;)l.push(Re(u)),u=rj(u,d);return l}function lBe(e){me(1,arguments);var t=e||{},n=Re(t.start),r=Re(t.end),a=r.getTime(),i=[];if(!(n.getTime()<=a))throw new RangeError("Invalid interval");var o=n;for(o.setHours(0,0,0,0),o.setDate(1);o.getTime()<=a;)i.push(Re(o)),o.setMonth(o.getMonth()+1);return i}function MS(e){me(1,arguments);var t=Re(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function uBe(e){me(1,arguments);var t=e||{},n=Re(t.start),r=Re(t.end),a=r.getTime();if(!(n.getTime()<=a))throw new RangeError("Invalid interval");var i=MS(n),o=MS(r);a=o.getTime();for(var l=[],u=i;u.getTime()<=a;)l.push(Re(u)),u=aj(u,1);return l}function cBe(e,t){me(1,arguments);var n=e||{},r=Re(n.start),a=Re(n.end),i=a.getTime();if(!(r.getTime()<=i))throw new RangeError("Invalid interval");var o=kl(r,t),l=kl(a,t);o.setHours(15),l.setHours(15),i=l.getTime();for(var u=[],d=o;d.getTime()<=i;)d.setHours(0),u.push(Re(d)),d=Qx(d,1),d.setHours(15);return u}function hj(e){me(1,arguments);for(var t=Vne(e),n=[],r=0;r=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Re(e),p=y.getDay(),v=(p=a.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function xBe(e){me(1,arguments);var t=Kne(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Nb(n);return r}var _Be=6048e5;function Xne(e){me(1,arguments);var t=Re(e),n=Nb(t).getTime()-xBe(t).getTime();return Math.round(n/_Be)+1}function jd(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Ka(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Re(e),p=y.getUTCDay(),v=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(g+1,0,p),v.setUTCHours(0,0,0,0);var E=jd(v,t),T=new Date(0);T.setUTCFullYear(g,0,p),T.setUTCHours(0,0,0,0);var C=jd(T,t);return f.getTime()>=E.getTime()?g+1:f.getTime()>=C.getTime()?g:g-1}function OBe(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Ka(),g=yt((n=(r=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&a!==void 0?a:f.firstWeekContainsDate)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1),y=vj(e,t),p=new Date(0);p.setUTCFullYear(y,0,g),p.setUTCHours(0,0,0,0);var v=jd(p,t);return v}var RBe=6048e5;function Qne(e,t){me(1,arguments);var n=Re(e),r=jd(n,t).getTime()-OBe(n,t).getTime();return Math.round(r/RBe)+1}function Jt(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return Jt(n==="yy"?a%100:a,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):Jt(r+1,2)},d:function(t,n){return Jt(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return Jt(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Jt(t.getUTCHours(),n.length)},m:function(t,n){return Jt(t.getUTCMinutes(),n.length)},s:function(t,n){return Jt(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,a=t.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,r-3));return Jt(i,n.length)}},jy={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},PBe={G:function(t,n,r){var a=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var a=t.getUTCFullYear(),i=a>0?a:1-a;return r.ordinalNumber(i,{unit:"year"})}return gd.y(t,n)},Y:function(t,n,r,a){var i=vj(t,a),o=i>0?i:1-i;if(n==="YY"){var l=o%100;return Jt(l,2)}return n==="Yo"?r.ordinalNumber(o,{unit:"year"}):Jt(o,n.length)},R:function(t,n){var r=Kne(t);return Jt(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return Jt(r,n.length)},Q:function(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return Jt(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return Jt(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,n,r){var a=t.getUTCMonth();switch(n){case"M":case"MM":return gd.M(t,n);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(t,n,r){var a=t.getUTCMonth();switch(n){case"L":return String(a+1);case"LL":return Jt(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(t,n,r,a){var i=Qne(t,a);return n==="wo"?r.ordinalNumber(i,{unit:"week"}):Jt(i,n.length)},I:function(t,n,r){var a=Xne(t);return n==="Io"?r.ordinalNumber(a,{unit:"week"}):Jt(a,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):gd.d(t,n)},D:function(t,n,r){var a=kBe(t);return n==="Do"?r.ordinalNumber(a,{unit:"dayOfYear"}):Jt(a,n.length)},E:function(t,n,r){var a=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(t,n,r,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return Jt(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,n,r,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return Jt(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,n,r){var a=t.getUTCDay(),i=a===0?7:a;switch(n){case"i":return String(i);case"ii":return Jt(i,n.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(t,n,r){var a=t.getUTCHours(),i=a/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,n,r){var a=t.getUTCHours(),i;switch(a===12?i=jy.noon:a===0?i=jy.midnight:i=a/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,n,r){var a=t.getUTCHours(),i;switch(a>=17?i=jy.evening:a>=12?i=jy.afternoon:a>=4?i=jy.morning:i=jy.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),r.ordinalNumber(a,{unit:"hour"})}return gd.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):gd.H(t,n)},K:function(t,n,r){var a=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(a,{unit:"hour"}):Jt(a,n.length)},k:function(t,n,r){var a=t.getUTCHours();return a===0&&(a=24),n==="ko"?r.ordinalNumber(a,{unit:"hour"}):Jt(a,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):gd.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):gd.s(t,n)},S:function(t,n){return gd.S(t,n)},X:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return fV(o);case"XXXX":case"XX":return Ng(o);case"XXXXX":case"XXX":default:return Ng(o,":")}},x:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(n){case"x":return fV(o);case"xxxx":case"xx":return Ng(o);case"xxxxx":case"xxx":default:return Ng(o,":")}},O:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+dV(o,":");case"OOOO":default:return"GMT"+Ng(o,":")}},z:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+dV(o,":");case"zzzz":default:return"GMT"+Ng(o,":")}},t:function(t,n,r,a){var i=a._originalDate||t,o=Math.floor(i.getTime()/1e3);return Jt(o,n.length)},T:function(t,n,r,a){var i=a._originalDate||t,o=i.getTime();return Jt(o,n.length)}};function dV(e,t){var n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;if(i===0)return n+String(a);var o=t;return n+String(a)+o+Jt(i,2)}function fV(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Jt(Math.abs(e)/60,2)}return Ng(e,t)}function Ng(e,t){var n=t||"",r=e>0?"-":"+",a=Math.abs(e),i=Jt(Math.floor(a/60),2),o=Jt(a%60,2);return r+i+n+o}var pV=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Zne=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},ABe=function(t,n){var r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return pV(t,n);var o;switch(a){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",pV(a,n)).replace("{{time}}",Zne(i,n))},ML={p:Zne,P:ABe},NBe=["D","DD"],MBe=["YY","YYYY"];function Jne(e){return NBe.indexOf(e)!==-1}function ere(e){return MBe.indexOf(e)!==-1}function tx(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var IBe={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"}},yj=function(t,n,r){var a,i=IBe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};function Ne(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var DBe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$Be={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},LBe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},FBe={date:Ne({formats:DBe,defaultWidth:"full"}),time:Ne({formats:$Be,defaultWidth:"full"}),dateTime:Ne({formats:LBe,defaultWidth:"full"})},jBe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},a_=function(t,n,r,a){return jBe[t]};function oe(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",a;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var l=e.defaultWidth,u=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[u]||e.values[l]}var d=e.argumentCallback?e.argumentCallback(t):t;return a[d]}}var UBe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},BBe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},WBe={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"]},zBe={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"]},qBe={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"}},HBe={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"}},VBe=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},i_={ordinalNumber:VBe,era:oe({values:UBe,defaultWidth:"wide"}),quarter:oe({values:BBe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:WBe,defaultWidth:"wide"}),day:oe({values:zBe,defaultWidth:"wide"}),dayPeriod:oe({values:qBe,defaultWidth:"wide",formattingValues:HBe,defaultFormattingWidth:"wide"})};function se(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?YBe(l,function(g){return g.test(o)}):GBe(l,function(g){return g.test(o)}),d;d=e.valueCallback?e.valueCallback(u):u,d=n.valueCallback?n.valueCallback(d):d;var f=t.slice(o.length);return{value:d,rest:f}}}function GBe(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function YBe(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var a=r[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var l=t.slice(a.length);return{value:o,rest:l}}}var KBe=/^(\d+)(th|st|nd|rd)?/i,XBe=/\d+/i,QBe={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},ZBe={any:[/^b/i,/^(a|c)/i]},JBe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},e8e={any:[/1/i,/2/i,/3/i,/4/i]},t8e={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},n8e={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]},r8e={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},a8e={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]},i8e={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},o8e={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}},o_={ordinalNumber:Xt({matchPattern:KBe,parsePattern:XBe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:QBe,defaultMatchWidth:"wide",parsePatterns:ZBe,defaultParseWidth:"any"}),quarter:se({matchPatterns:JBe,defaultMatchWidth:"wide",parsePatterns:e8e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:t8e,defaultMatchWidth:"wide",parsePatterns:n8e,defaultParseWidth:"any"}),day:se({matchPatterns:r8e,defaultMatchWidth:"wide",parsePatterns:a8e,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:i8e,defaultMatchWidth:"any",parsePatterns:o8e,defaultParseWidth:"any"})},gv={code:"en-US",formatDistance:yj,formatLong:FBe,formatRelative:a_,localize:i_,match:o_,options:{weekStartsOn:0,firstWeekContainsDate:1}};const s8e=Object.freeze(Object.defineProperty({__proto__:null,default:gv},Symbol.toStringTag,{value:"Module"}));var l8e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,u8e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,c8e=/^'([^]*?)'?$/,d8e=/''/g,f8e=/[a-zA-Z]/;function tre(e,t,n){var r,a,i,o,l,u,d,f,g,y,p,v,E,T,C,k,_,A;me(2,arguments);var P=String(t),N=Ka(),I=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:N.locale)!==null&&r!==void 0?r:gv,L=yt((i=(o=(l=(u=n==null?void 0:n.firstWeekContainsDate)!==null&&u!==void 0?u:n==null||(d=n.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&l!==void 0?l:N.firstWeekContainsDate)!==null&&o!==void 0?o:(g=N.locale)===null||g===void 0||(y=g.options)===null||y===void 0?void 0:y.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(L>=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=yt((p=(v=(E=(T=n==null?void 0:n.weekStartsOn)!==null&&T!==void 0?T:n==null||(C=n.locale)===null||C===void 0||(k=C.options)===null||k===void 0?void 0:k.weekStartsOn)!==null&&E!==void 0?E:N.weekStartsOn)!==null&&v!==void 0?v:(_=N.locale)===null||_===void 0||(A=_.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&p!==void 0?p:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!I.localize)throw new RangeError("locale must contain localize property");if(!I.formatLong)throw new RangeError("locale must contain formatLong property");var z=Re(e);if(!Fd(z))throw new RangeError("Invalid time value");var Q=$o(z),le=Ab(z,Q),re={firstWeekContainsDate:L,weekStartsOn:j,locale:I,_originalDate:z},ge=P.match(u8e).map(function(he){var W=he[0];if(W==="p"||W==="P"){var G=ML[W];return G(he,I.formatLong)}return he}).join("").match(l8e).map(function(he){if(he==="''")return"'";var W=he[0];if(W==="'")return p8e(he);var G=PBe[W];if(G)return!(n!=null&&n.useAdditionalWeekYearTokens)&&ere(he)&&tx(he,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Jne(he)&&tx(he,t,String(e)),G(le,he,I.localize,re);if(W.match(f8e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");return he}).join("");return ge}function p8e(e){var t=e.match(c8e);return t?t[1].replace(d8e,"'"):e}function fE(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function nre(e){return fE({},e)}var mV=1440,m8e=2520,OD=43200,h8e=86400;function rre(e,t,n){var r,a;me(2,arguments);var i=Ka(),o=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:i.locale)!==null&&r!==void 0?r:gv;if(!o.formatDistance)throw new RangeError("locale must contain formatDistance property");var l=hu(e,t);if(isNaN(l))throw new RangeError("Invalid time value");var u=fE(nre(n),{addSuffix:!!(n!=null&&n.addSuffix),comparison:l}),d,f;l>0?(d=Re(t),f=Re(e)):(d=Re(e),f=Re(t));var g=vb(f,d),y=($o(f)-$o(d))/1e3,p=Math.round((g-y)/60),v;if(p<2)return n!=null&&n.includeSeconds?g<5?o.formatDistance("lessThanXSeconds",5,u):g<10?o.formatDistance("lessThanXSeconds",10,u):g<20?o.formatDistance("lessThanXSeconds",20,u):g<40?o.formatDistance("halfAMinute",0,u):g<60?o.formatDistance("lessThanXMinutes",1,u):o.formatDistance("xMinutes",1,u):p===0?o.formatDistance("lessThanXMinutes",1,u):o.formatDistance("xMinutes",p,u);if(p<45)return o.formatDistance("xMinutes",p,u);if(p<90)return o.formatDistance("aboutXHours",1,u);if(p0?(f=Re(t),g=Re(e)):(f=Re(e),g=Re(t));var y=String((i=n==null?void 0:n.roundingMethod)!==null&&i!==void 0?i:"round"),p;if(y==="floor")p=Math.floor;else if(y==="ceil")p=Math.ceil;else if(y==="round")p=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var v=g.getTime()-f.getTime(),E=v/hV,T=$o(g)-$o(f),C=(v-T)/hV,k=n==null?void 0:n.unit,_;if(k?_=String(k):E<1?_="second":E<60?_="minute":E=0&&a<=3))throw new RangeError("fractionDigits must be between 0 and 3 inclusively");var i=Jt(r.getDate(),2),o=Jt(r.getMonth()+1,2),l=r.getFullYear(),u=Jt(r.getHours(),2),d=Jt(r.getMinutes(),2),f=Jt(r.getSeconds(),2),g="";if(a>0){var y=r.getMilliseconds(),p=Math.floor(y*Math.pow(10,a-3));g="."+Jt(p,a)}var v="",E=r.getTimezoneOffset();if(E!==0){var T=Math.abs(E),C=Jt(yt(T/60),2),k=Jt(T%60,2),_=E<0?"+":"-";v="".concat(_).concat(C,":").concat(k)}else v="Z";return"".concat(l,"-").concat(o,"-").concat(i,"T").concat(u,":").concat(d,":").concat(f).concat(g).concat(v)}var C8e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],k8e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function x8e(e){if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"));var t=Re(e);if(!Fd(t))throw new RangeError("Invalid time value");var n=C8e[t.getUTCDay()],r=Jt(t.getUTCDate(),2),a=k8e[t.getUTCMonth()],i=t.getUTCFullYear(),o=Jt(t.getUTCHours(),2),l=Jt(t.getUTCMinutes(),2),u=Jt(t.getUTCSeconds(),2);return"".concat(n,", ").concat(r," ").concat(a," ").concat(i," ").concat(o,":").concat(l,":").concat(u," GMT")}function _8e(e,t,n){var r,a,i,o,l,u,d,f,g,y;me(2,arguments);var p=Re(e),v=Re(t),E=Ka(),T=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:E.locale)!==null&&r!==void 0?r:gv,C=yt((i=(o=(l=(u=n==null?void 0:n.weekStartsOn)!==null&&u!==void 0?u:n==null||(d=n.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&l!==void 0?l:E.weekStartsOn)!==null&&o!==void 0?o:(g=E.locale)===null||g===void 0||(y=g.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&i!==void 0?i:0);if(!T.localize)throw new RangeError("locale must contain localize property");if(!T.formatLong)throw new RangeError("locale must contain formatLong property");if(!T.formatRelative)throw new RangeError("locale must contain formatRelative property");var k=vc(p,v);if(isNaN(k))throw new RangeError("Invalid time value");var _;k<-6?_="other":k<-1?_="lastWeek":k<0?_="yesterday":k<1?_="today":k<2?_="tomorrow":k<7?_="nextWeek":_="other";var A=Ab(p,$o(p)),P=Ab(v,$o(v)),N=T.formatRelative(_,A,P,{locale:T,weekStartsOn:C});return tre(p,N,{locale:T,weekStartsOn:C})}function O8e(e){me(1,arguments);var t=yt(e);return Re(t*1e3)}function ire(e){me(1,arguments);var t=Re(e),n=t.getDate();return n}function s_(e){me(1,arguments);var t=Re(e),n=t.getDay();return n}function R8e(e){me(1,arguments);var t=Re(e),n=vc(t,gj(t)),r=n+1;return r}function ore(e){me(1,arguments);var t=Re(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function sre(e){me(1,arguments);var t=Re(e),n=t.getFullYear();return n%400===0||n%4===0&&n%100!==0}function P8e(e){me(1,arguments);var t=Re(e);return String(new Date(t))==="Invalid Date"?NaN:sre(t)?366:365}function A8e(e){me(1,arguments);var t=Re(e),n=t.getFullYear(),r=Math.floor(n/10)*10;return r}function N8e(){return fE({},Ka())}function M8e(e){me(1,arguments);var t=Re(e),n=t.getHours();return n}function lre(e){me(1,arguments);var t=Re(e),n=t.getDay();return n===0&&(n=7),n}var I8e=6048e5;function ure(e){me(1,arguments);var t=Re(e),n=Ld(t).getTime()-Xp(t).getTime();return Math.round(n/I8e)+1}var D8e=6048e5;function $8e(e){me(1,arguments);var t=Xp(e),n=Xp(Qx(t,60)),r=n.valueOf()-t.valueOf();return Math.round(r/D8e)}function L8e(e){me(1,arguments);var t=Re(e),n=t.getMilliseconds();return n}function F8e(e){me(1,arguments);var t=Re(e),n=t.getMinutes();return n}function j8e(e){me(1,arguments);var t=Re(e),n=t.getMonth();return n}var U8e=1440*60*1e3;function B8e(e,t){me(2,arguments);var n=e||{},r=t||{},a=Re(n.start).getTime(),i=Re(n.end).getTime(),o=Re(r.start).getTime(),l=Re(r.end).getTime();if(!(a<=i&&o<=l))throw new RangeError("Invalid interval");var u=ai?i:l,g=f-d;return Math.ceil(g/U8e)}function W8e(e){me(1,arguments);var t=Re(e),n=t.getSeconds();return n}function cre(e){me(1,arguments);var t=Re(e),n=t.getTime();return n}function z8e(e){return me(1,arguments),Math.floor(cre(e)/1e3)}function dre(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Re(e),g=f.getFullYear(),y=Ka(),p=yt((n=(r=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&a!==void 0?a:y.firstWeekContainsDate)!==null&&r!==void 0?r:(u=y.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setFullYear(g+1,0,p),v.setHours(0,0,0,0);var E=kl(v,t),T=new Date(0);T.setFullYear(g,0,p),T.setHours(0,0,0,0);var C=kl(T,t);return f.getTime()>=E.getTime()?g+1:f.getTime()>=C.getTime()?g:g-1}function rx(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Ka(),g=yt((n=(r=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&a!==void 0?a:f.firstWeekContainsDate)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1),y=dre(e,t),p=new Date(0);p.setFullYear(y,0,g),p.setHours(0,0,0,0);var v=kl(p,t);return v}var q8e=6048e5;function fre(e,t){me(1,arguments);var n=Re(e),r=kl(n,t).getTime()-rx(n,t).getTime();return Math.round(r/q8e)+1}function H8e(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Ka(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=ire(e);if(isNaN(y))return NaN;var p=s_(r_(e)),v=g-p;v<=0&&(v+=7);var E=y-v;return Math.ceil(E/7)+1}function pre(e){me(1,arguments);var t=Re(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function V8e(e,t){return me(1,arguments),Qk(pre(e),r_(e),t)+1}function G8e(e){return me(1,arguments),Re(e).getFullYear()}function Y8e(e){return me(1,arguments),Math.floor(e*hv)}function K8e(e){return me(1,arguments),Math.floor(e*oj)}function X8e(e){return me(1,arguments),Math.floor(e*cE)}function Q8e(e){me(1,arguments);var t=Re(e.start),n=Re(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(Hne(n,t));var a=hu(n,t),i=Yy(t,{years:a*r.years});r.months=Math.abs(n_(n,i));var o=Yy(i,{months:a*r.months});r.days=Math.abs(fj(n,o));var l=Yy(o,{days:a*r.days});r.hours=Math.abs(Zk(n,l));var u=Yy(l,{hours:a*r.hours});r.minutes=Math.abs(Jk(n,u));var d=Yy(u,{minutes:a*r.minutes});return r.seconds=Math.abs(vb(n,d)),r}function Z8e(e,t,n){var r;me(1,arguments);var a;return J8e(t)?a=t:n=t,new Intl.DateTimeFormat((r=n)===null||r===void 0?void 0:r.locale,a).format(e)}function J8e(e){return e!==void 0&&!("locale"in e)}function e5e(e,t,n){me(2,arguments);var r=0,a,i=Re(e),o=Re(t);if(n!=null&&n.unit)a=n==null?void 0:n.unit,a==="second"?r=vb(i,o):a==="minute"?r=Jk(i,o):a==="hour"?r=Zk(i,o):a==="day"?r=vc(i,o):a==="week"?r=Qk(i,o):a==="month"?r=Xk(i,o):a==="quarter"?r=ak(i,o):a==="year"&&(r=G1(i,o));else{var l=vb(i,o);Math.abs(l)r.getTime()}function n5e(e,t){me(2,arguments);var n=Re(e),r=Re(t);return n.getTime()Date.now()}function yV(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=W3(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return i=d.done,d},e:function(d){o=!0,l=d},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw l}}}}var l5e=10,mre=(function(){function e(){Xn(this,e),St(this,"priority",void 0),St(this,"subPriority",0)}return Qn(e,[{key:"validate",value:function(n,r){return!0}}]),e})(),u5e=(function(e){tr(n,e);var t=nr(n);function n(r,a,i,o,l){var u;return Xn(this,n),u=t.call(this),u.value=r,u.validateValue=a,u.setValue=i,u.priority=o,l&&(u.subPriority=l),u}return Qn(n,[{key:"validate",value:function(a,i){return this.validateValue(a,this.value,i)}},{key:"set",value:function(a,i,o){return this.setValue(a,i,this.value,o)}}]),n})(mre),c5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o0,r=n?t:1-t,a;if(r<=50)a=e||100;else{var i=r+50,o=Math.floor(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return n?a:1-a}function vre(e){return e%400===0||e%4===0&&e%100!==0}var f5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o0}},{key:"set",value:function(a,i,o){var l=a.getUTCFullYear();if(o.isTwoDigitYear){var u=gre(o.year,l);return a.setUTCFullYear(u,0,1),a.setUTCHours(0,0,0,0),a}var d=!("era"in i)||i.era===1?o.year:1-o.year;return a.setUTCFullYear(d,0,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),p5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o0}},{key:"set",value:function(a,i,o,l){var u=vj(a,l);if(o.isTwoDigitYear){var d=gre(o.year,u);return a.setUTCFullYear(d,0,l.firstWeekContainsDate),a.setUTCHours(0,0,0,0),jd(a,l)}var f=!("era"in i)||i.era===1?o.year:1-o.year;return a.setUTCFullYear(f,0,l.firstWeekContainsDate),a.setUTCHours(0,0,0,0),jd(a,l)}}]),n})(Sr),m5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=4}},{key:"set",value:function(a,i,o){return a.setUTCMonth((o-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),v5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=4}},{key:"set",value:function(a,i,o){return a.setUTCMonth((o-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),y5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=11}},{key:"set",value:function(a,i,o){return a.setUTCMonth(o,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),b5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=11}},{key:"set",value:function(a,i,o){return a.setUTCMonth(o,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr);function w5e(e,t,n){me(2,arguments);var r=Re(e),a=yt(t),i=Qne(r,n)-a;return r.setUTCDate(r.getUTCDate()-i*7),r}var S5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=53}},{key:"set",value:function(a,i,o,l){return jd(w5e(a,o,l),l)}}]),n})(Sr);function E5e(e,t){me(2,arguments);var n=Re(e),r=yt(t),a=Xne(n)-r;return n.setUTCDate(n.getUTCDate()-a*7),n}var T5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=53}},{key:"set",value:function(a,i,o){return Nb(E5e(a,o))}}]),n})(Sr),C5e=[31,28,31,30,31,30,31,31,30,31,30,31],k5e=[31,29,31,30,31,30,31,31,30,31,30,31],x5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=k5e[u]:i>=1&&i<=C5e[u]}},{key:"set",value:function(a,i,o){return a.setUTCDate(o),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),_5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(a,i,o){return a.setUTCMonth(0,o),a.setUTCHours(0,0,0,0),a}}]),n})(Sr);function wj(e,t,n){var r,a,i,o,l,u,d,f;me(2,arguments);var g=Ka(),y=yt((r=(a=(i=(o=n==null?void 0:n.weekStartsOn)!==null&&o!==void 0?o:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:g.weekStartsOn)!==null&&a!==void 0?a:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Re(e),v=yt(t),E=p.getUTCDay(),T=v%7,C=(T+7)%7,k=(C=0&&i<=6}},{key:"set",value:function(a,i,o,l){return a=wj(a,o,l),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),R5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=6}},{key:"set",value:function(a,i,o,l){return a=wj(a,o,l),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),P5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=6}},{key:"set",value:function(a,i,o,l){return a=wj(a,o,l),a.setUTCHours(0,0,0,0),a}}]),n})(Sr);function A5e(e,t){me(2,arguments);var n=yt(t);n%7===0&&(n=n-7);var r=1,a=Re(e),i=a.getUTCDay(),o=n%7,l=(o+7)%7,u=(l=1&&i<=7}},{key:"set",value:function(a,i,o){return a=A5e(a,o),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),M5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=12}},{key:"set",value:function(a,i,o){var l=a.getUTCHours()>=12;return l&&o<12?a.setUTCHours(o+12,0,0,0):!l&&o===12?a.setUTCHours(0,0,0,0):a.setUTCHours(o,0,0,0),a}}]),n})(Sr),L5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=23}},{key:"set",value:function(a,i,o){return a.setUTCHours(o,0,0,0),a}}]),n})(Sr),F5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=11}},{key:"set",value:function(a,i,o){var l=a.getUTCHours()>=12;return l&&o<12?a.setUTCHours(o+12,0,0,0):a.setUTCHours(o,0,0,0),a}}]),n})(Sr),j5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=24}},{key:"set",value:function(a,i,o){var l=o<=24?o%24:o;return a.setUTCHours(l,0,0,0),a}}]),n})(Sr),U5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=59}},{key:"set",value:function(a,i,o){return a.setUTCMinutes(o,0,0),a}}]),n})(Sr),B5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=59}},{key:"set",value:function(a,i,o){return a.setUTCSeconds(o,0),a}}]),n})(Sr),W5e=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&z<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Q=yt((v=(E=(T=(C=r==null?void 0:r.weekStartsOn)!==null&&C!==void 0?C:r==null||(k=r.locale)===null||k===void 0||(_=k.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&T!==void 0?T:L.weekStartsOn)!==null&&E!==void 0?E:(A=L.locale)===null||A===void 0||(P=A.options)===null||P===void 0?void 0:P.weekStartsOn)!==null&&v!==void 0?v:0);if(!(Q>=0&&Q<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(I==="")return N===""?Re(n):new Date(NaN);var le={firstWeekContainsDate:z,weekStartsOn:Q,locale:j},re=[new c5e],ge=I.match(K5e).map(function(fe){var xe=fe[0];if(xe in ML){var Ie=ML[xe];return Ie(fe,j.formatLong)}return fe}).join("").match(Y5e),he=[],W=yV(ge),G;try{var q=function(){var xe=G.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&ere(xe)&&tx(xe,I,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Jne(xe)&&tx(xe,I,e);var Ie=xe[0],qe=G5e[Ie];if(qe){var nt=qe.incompatibleTokens;if(Array.isArray(nt)){var Ge=he.find(function(Et){return nt.includes(Et.token)||Et.token===Ie});if(Ge)throw new RangeError("The format string mustn't contain `".concat(Ge.fullToken,"` and `").concat(xe,"` at the same time"))}else if(qe.incompatibleTokens==="*"&&he.length>0)throw new RangeError("The format string mustn't contain `".concat(xe,"` and any other token at the same time"));he.push({token:Ie,fullToken:xe});var at=qe.run(N,xe,j.match,le);if(!at)return{v:new Date(NaN)};re.push(at.setter),N=at.rest}else{if(Ie.match(J5e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ie+"`");if(xe==="''"?xe="'":Ie==="'"&&(xe=eWe(xe)),N.indexOf(xe)===0)N=N.slice(xe.length);else return{v:new Date(NaN)}}};for(W.s();!(G=W.n()).done;){var ce=q();if(no(ce)==="object")return ce.v}}catch(fe){W.e(fe)}finally{W.f()}if(N.length>0&&Z5e.test(N))return new Date(NaN);var H=re.map(function(fe){return fe.priority}).sort(function(fe,xe){return xe-fe}).filter(function(fe,xe,Ie){return Ie.indexOf(fe)===xe}).map(function(fe){return re.filter(function(xe){return xe.priority===fe}).sort(function(xe,Ie){return Ie.subPriority-xe.subPriority})}).map(function(fe){return fe[0]}),Y=Re(n);if(isNaN(Y.getTime()))return new Date(NaN);var ie=Ab(Y,$o(Y)),Z={},ee=yV(H),J;try{for(ee.s();!(J=ee.n()).done;){var ue=J.value;if(!ue.validate(ie,le))return new Date(NaN);var ke=ue.set(ie,Z,le);Array.isArray(ke)?(ie=ke[0],fE(Z,ke[1])):ie=ke}}catch(fe){ee.e(fe)}finally{ee.f()}return ie}function eWe(e){return e.match(X5e)[1].replace(Q5e,"'")}function tWe(e,t,n){return me(2,arguments),Fd(yre(e,t,new Date,n))}function nWe(e){return me(1,arguments),Re(e).getDay()===1}function rWe(e){return me(1,arguments),Re(e).getTime()=r&&n<=a}function l_(e,t){me(2,arguments);var n=yt(t);return bc(e,-n)}function bWe(e){return me(1,arguments),dE(e,l_(Date.now(),1))}function wWe(e){me(1,arguments);var t=Re(e),n=t.getFullYear(),r=9+Math.floor(n/10)*10;return t.setFullYear(r+1,0,0),t.setHours(0,0,0,0),t}function xre(e,t){var n,r,a,i,o,l,u,d;me(1,arguments);var f=Ka(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var y=Re(e),p=y.getDay(),v=(p2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],NC.timeZoneDelimiter.test(t.date)&&(t.date=e.split(NC.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){var a=NC.timezone.exec(r);a?(t.time=r.replace(a[1],""),t.timezone=a[1]):t.time=r}return t}function ZWe(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?a:i*100,restDateString:e.slice((r[1]||r[2]).length)}}function JWe(e,t){if(t===null)return new Date(NaN);var n=e.match(YWe);if(!n)return new Date(NaN);var r=!!n[4],a=n1(n[1]),i=n1(n[2])-1,o=n1(n[3]),l=n1(n[4]),u=n1(n[5])-1;if(r)return oze(t,l,u)?nze(t,l,u):new Date(NaN);var d=new Date(0);return!aze(t,i,o)||!ize(t,a)?new Date(NaN):(d.setUTCFullYear(t,i,Math.max(a,o)),d)}function n1(e){return e?parseInt(e):1}function eze(e){var t=e.match(KWe);if(!t)return NaN;var n=RD(t[1]),r=RD(t[2]),a=RD(t[3]);return sze(n,r,a)?n*hv+r*mv+a*1e3:NaN}function RD(e){return e&&parseFloat(e.replace(",","."))||0}function tze(e){if(e==="Z")return 0;var t=e.match(XWe);if(!t)return 0;var n=t[1]==="+"?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return lze(r,a)?n*(r*hv+a*mv):NaN}function nze(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var a=r.getUTCDay()||7,i=(t-1)*7+n+1-a;return r.setUTCDate(r.getUTCDate()+i),r}var rze=[31,null,31,30,31,30,31,31,30,31,30,31];function _re(e){return e%400===0||e%4===0&&e%100!==0}function aze(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(rze[t]||(_re(e)?29:28))}function ize(e,t){return t>=1&&t<=(_re(e)?366:365)}function oze(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function sze(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function lze(e,t){return t>=0&&t<=59}function uze(e){if(me(1,arguments),typeof e=="string"){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return t?new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*(t[8]=="-"?-1:1),+t[5]-(+t[10]||0)*(t[8]=="-"?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3))):new Date(NaN)}return Re(e)}function vm(e,t){me(2,arguments);var n=s_(e)-t;return n<=0&&(n+=7),l_(e,n)}function cze(e){return me(1,arguments),vm(e,5)}function dze(e){return me(1,arguments),vm(e,1)}function fze(e){return me(1,arguments),vm(e,6)}function pze(e){return me(1,arguments),vm(e,0)}function mze(e){return me(1,arguments),vm(e,4)}function hze(e){return me(1,arguments),vm(e,2)}function gze(e){return me(1,arguments),vm(e,3)}function vze(e){return me(1,arguments),Math.floor(e*sj)}function yze(e){me(1,arguments);var t=e/uj;return Math.floor(t)}function bze(e,t){var n;if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present");var r=yt((n=t==null?void 0:t.nearestTo)!==null&&n!==void 0?n:1);if(r<1||r>30)throw new RangeError("`options.nearestTo` must be between 1 and 30");var a=Re(e),i=a.getSeconds(),o=a.getMinutes()+i/60,l=Gb(t==null?void 0:t.roundingMethod),u=l(o/r)*r,d=o%r,f=Math.round(d/r)*r;return new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),u+f)}function wze(e){me(1,arguments);var t=e/cE;return Math.floor(t)}function Sze(e){return me(1,arguments),e*Zx}function Eze(e){me(1,arguments);var t=e/Jx;return Math.floor(t)}function Ej(e,t){me(2,arguments);var n=Re(e),r=yt(t),a=n.getFullYear(),i=n.getDate(),o=new Date(0);o.setFullYear(a,r,15),o.setHours(0,0,0,0);var l=ore(o);return n.setMonth(r,Math.min(i,l)),n}function Tze(e,t){if(me(2,arguments),no(t)!=="object"||t===null)throw new RangeError("values parameter must be an object");var n=Re(e);return isNaN(n.getTime())?new Date(NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=Ej(n,t.month)),t.date!=null&&n.setDate(yt(t.date)),t.hours!=null&&n.setHours(yt(t.hours)),t.minutes!=null&&n.setMinutes(yt(t.minutes)),t.seconds!=null&&n.setSeconds(yt(t.seconds)),t.milliseconds!=null&&n.setMilliseconds(yt(t.milliseconds)),n)}function Cze(e,t){me(2,arguments);var n=Re(e),r=yt(t);return n.setDate(r),n}function kze(e,t,n){var r,a,i,o,l,u,d,f;me(2,arguments);var g=Ka(),y=yt((r=(a=(i=(o=n==null?void 0:n.weekStartsOn)!==null&&o!==void 0?o:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:g.weekStartsOn)!==null&&a!==void 0?a:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Re(e),v=yt(t),E=p.getDay(),T=v%7,C=(T+7)%7,k=7-y,_=v<0||v>6?v-(E+k)%7:(C+k)%7-(E+k)%7;return bc(p,_)}function xze(e,t){me(2,arguments);var n=Re(e),r=yt(t);return n.setMonth(0),n.setDate(r),n}function _ze(e){me(1,arguments);var t={},n=Ka();for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(e[a]===void 0?delete t[a]:t[a]=e[a]);W6e(t)}function Oze(e,t){me(2,arguments);var n=Re(e),r=yt(t);return n.setHours(r),n}function Rze(e,t){me(2,arguments);var n=Re(e),r=yt(t),a=lre(n),i=r-a;return bc(n,i)}function Pze(e,t){me(2,arguments);var n=Re(e),r=yt(t),a=ure(n)-r;return n.setDate(n.getDate()-a*7),n}function Aze(e,t){me(2,arguments);var n=Re(e),r=yt(t);return n.setMilliseconds(r),n}function Nze(e,t){me(2,arguments);var n=Re(e),r=yt(t);return n.setMinutes(r),n}function Mze(e,t){me(2,arguments);var n=Re(e),r=yt(t),a=Math.floor(n.getMonth()/3)+1,i=r-a;return Ej(n,n.getMonth()+i*3)}function Ize(e,t){me(2,arguments);var n=Re(e),r=yt(t);return n.setSeconds(r),n}function Dze(e,t,n){me(2,arguments);var r=Re(e),a=yt(t),i=fre(r,n)-a;return r.setDate(r.getDate()-i*7),r}function $ze(e,t,n){var r,a,i,o,l,u,d,f;me(2,arguments);var g=Ka(),y=yt((r=(a=(i=(o=n==null?void 0:n.firstWeekContainsDate)!==null&&o!==void 0?o:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:g.firstWeekContainsDate)!==null&&a!==void 0?a:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&r!==void 0?r:1),p=Re(e),v=yt(t),E=vc(p,rx(p,n)),T=new Date(0);return T.setFullYear(v,0,y),T.setHours(0,0,0,0),p=rx(T,n),p.setDate(p.getDate()+E),p}function Lze(e,t){me(2,arguments);var n=Re(e),r=yt(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Fze(e){me(1,arguments);var t=Re(e),n=t.getFullYear(),r=Math.floor(n/10)*10;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}function jze(){return Pb(Date.now())}function Uze(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r+1),a.setHours(0,0,0,0),a}function Bze(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r-1),a.setHours(0,0,0,0),a}function Ore(e,t){me(2,arguments);var n=yt(t);return lE(e,-n)}function Wze(e,t){if(me(2,arguments),!t||no(t)!=="object")return new Date(NaN);var n=t.years?yt(t.years):0,r=t.months?yt(t.months):0,a=t.weeks?yt(t.weeks):0,i=t.days?yt(t.days):0,o=t.hours?yt(t.hours):0,l=t.minutes?yt(t.minutes):0,u=t.seconds?yt(t.seconds):0,d=Ore(e,r+n*12),f=l_(d,i+a*7),g=l+o*60,y=u+g*60,p=y*1e3,v=new Date(f.getTime()-p);return v}function zze(e,t){me(2,arguments);var n=yt(t);return Rne(e,-n)}function qze(e,t){me(2,arguments);var n=yt(t);return nj(e,-n)}function Hze(e,t){me(2,arguments);var n=yt(t);return rj(e,-n)}function Vze(e,t){me(2,arguments);var n=yt(t);return aj(e,-n)}function Gze(e,t){me(2,arguments);var n=yt(t);return Mne(e,-n)}function Yze(e,t){me(2,arguments);var n=yt(t);return Qx(e,-n)}function Kze(e,t){me(2,arguments);var n=yt(t);return Ine(e,-n)}function Xze(e){return me(1,arguments),Math.floor(e*ij)}function Qze(e){return me(1,arguments),Math.floor(e*lj)}function Zze(e){return me(1,arguments),Math.floor(e*uj)}const Jze=Object.freeze(Object.defineProperty({__proto__:null,add:Yy,addBusinessDays:Rne,addDays:bc,addHours:nj,addISOWeekYears:Nne,addMilliseconds:uE,addMinutes:rj,addMonths:lE,addQuarters:aj,addSeconds:Mne,addWeeks:Qx,addYears:Ine,areIntervalsOverlapping:H6e,clamp:V6e,closestIndexTo:G6e,closestTo:Y6e,compareAsc:hu,compareDesc:K6e,daysInWeek:ij,daysInYear:Lne,daysToWeeks:Q6e,differenceInBusinessDays:Z6e,differenceInCalendarDays:vc,differenceInCalendarISOWeekYears:Wne,differenceInCalendarISOWeeks:eBe,differenceInCalendarMonths:Xk,differenceInCalendarQuarters:ak,differenceInCalendarWeeks:Qk,differenceInCalendarYears:G1,differenceInDays:fj,differenceInHours:Zk,differenceInISOWeekYears:rBe,differenceInMilliseconds:t_,differenceInMinutes:Jk,differenceInMonths:n_,differenceInQuarters:aBe,differenceInSeconds:vb,differenceInWeeks:iBe,differenceInYears:Hne,eachDayOfInterval:Vne,eachHourOfInterval:oBe,eachMinuteOfInterval:sBe,eachMonthOfInterval:lBe,eachQuarterOfInterval:uBe,eachWeekOfInterval:cBe,eachWeekendOfInterval:hj,eachWeekendOfMonth:dBe,eachWeekendOfYear:fBe,eachYearOfInterval:pBe,endOfDay:pj,endOfDecade:mBe,endOfHour:hBe,endOfISOWeek:gBe,endOfISOWeekYear:vBe,endOfMinute:yBe,endOfMonth:mj,endOfQuarter:bBe,endOfSecond:wBe,endOfToday:SBe,endOfTomorrow:EBe,endOfWeek:Yne,endOfYear:Gne,endOfYesterday:TBe,format:tre,formatDistance:rre,formatDistanceStrict:are,formatDistanceToNow:g8e,formatDistanceToNowStrict:v8e,formatDuration:b8e,formatISO:w8e,formatISO9075:S8e,formatISODuration:E8e,formatRFC3339:T8e,formatRFC7231:x8e,formatRelative:_8e,fromUnixTime:O8e,getDate:ire,getDay:s_,getDayOfYear:R8e,getDaysInMonth:ore,getDaysInYear:P8e,getDecade:A8e,getDefaultOptions:N8e,getHours:M8e,getISODay:lre,getISOWeek:ure,getISOWeekYear:rv,getISOWeeksInYear:$8e,getMilliseconds:L8e,getMinutes:F8e,getMonth:j8e,getOverlappingDaysInIntervals:B8e,getQuarter:NL,getSeconds:W8e,getTime:cre,getUnixTime:z8e,getWeek:fre,getWeekOfMonth:H8e,getWeekYear:dre,getWeeksInMonth:V8e,getYear:G8e,hoursToMilliseconds:Y8e,hoursToMinutes:K8e,hoursToSeconds:X8e,intervalToDuration:Q8e,intlFormat:Z8e,intlFormatDistance:e5e,isAfter:t5e,isBefore:n5e,isDate:Bne,isEqual:r5e,isExists:a5e,isFirstDayOfMonth:i5e,isFriday:o5e,isFuture:s5e,isLastDayOfMonth:qne,isLeapYear:sre,isMatch:tWe,isMonday:nWe,isPast:rWe,isSameDay:dE,isSameHour:bre,isSameISOWeek:wre,isSameISOWeekYear:aWe,isSameMinute:Sre,isSameMonth:Ere,isSameQuarter:Tre,isSameSecond:Cre,isSameWeek:Sj,isSameYear:kre,isSaturday:One,isSunday:tj,isThisHour:iWe,isThisISOWeek:oWe,isThisMinute:sWe,isThisMonth:lWe,isThisQuarter:uWe,isThisSecond:cWe,isThisWeek:dWe,isThisYear:fWe,isThursday:pWe,isToday:mWe,isTomorrow:hWe,isTuesday:gWe,isValid:Fd,isWednesday:vWe,isWeekend:gb,isWithinInterval:yWe,isYesterday:bWe,lastDayOfDecade:wWe,lastDayOfISOWeek:SWe,lastDayOfISOWeekYear:EWe,lastDayOfMonth:pre,lastDayOfQuarter:TWe,lastDayOfWeek:xre,lastDayOfYear:CWe,lightFormat:RWe,max:Dne,maxTime:Fne,milliseconds:AWe,millisecondsInHour:hv,millisecondsInMinute:mv,millisecondsInSecond:Zx,millisecondsToHours:NWe,millisecondsToMinutes:MWe,millisecondsToSeconds:IWe,min:$ne,minTime:X6e,minutesInHour:oj,minutesToHours:DWe,minutesToMilliseconds:$We,minutesToSeconds:LWe,monthsInQuarter:sj,monthsInYear:lj,monthsToQuarters:FWe,monthsToYears:jWe,nextDay:gm,nextFriday:UWe,nextMonday:BWe,nextSaturday:WWe,nextSunday:zWe,nextThursday:qWe,nextTuesday:HWe,nextWednesday:VWe,parse:yre,parseISO:GWe,parseJSON:uze,previousDay:vm,previousFriday:cze,previousMonday:dze,previousSaturday:fze,previousSunday:pze,previousThursday:mze,previousTuesday:hze,previousWednesday:gze,quartersInYear:uj,quartersToMonths:vze,quartersToYears:yze,roundToNearestMinutes:bze,secondsInDay:e_,secondsInHour:cE,secondsInMinute:Jx,secondsInMonth:dj,secondsInQuarter:Une,secondsInWeek:jne,secondsInYear:cj,secondsToHours:wze,secondsToMilliseconds:Sze,secondsToMinutes:Eze,set:Tze,setDate:Cze,setDay:kze,setDayOfYear:xze,setDefaultOptions:_ze,setHours:Oze,setISODay:Rze,setISOWeek:Pze,setISOWeekYear:Ane,setMilliseconds:Aze,setMinutes:Nze,setMonth:Ej,setQuarter:Mze,setSeconds:Ize,setWeek:Dze,setWeekYear:$ze,setYear:Lze,startOfDay:Pb,startOfDecade:Fze,startOfHour:IL,startOfISOWeek:Ld,startOfISOWeekYear:Xp,startOfMinute:ex,startOfMonth:r_,startOfQuarter:MS,startOfSecond:DL,startOfToday:jze,startOfTomorrow:Uze,startOfWeek:kl,startOfWeekYear:rx,startOfYear:gj,startOfYesterday:Bze,sub:Wze,subBusinessDays:zze,subDays:l_,subHours:qze,subISOWeekYears:zne,subMilliseconds:Ab,subMinutes:Hze,subMonths:Ore,subQuarters:Vze,subSeconds:Gze,subWeeks:Yze,subYears:Kze,toDate:Re,weeksToDays:Xze,yearsToMonths:Qze,yearsToQuarters:Zze},Symbol.toStringTag,{value:"Module"})),vv=jt(Jze);var wV;function u_(){if(wV)return Tg;wV=1,Object.defineProperty(Tg,"__esModule",{value:!0}),Tg.rangeShape=Tg.default=void 0;var e=o($s()),t=a(kc()),n=a(tm()),r=vv;function a(p){return p&&p.__esModule?p:{default:p}}function i(p){if(typeof WeakMap!="function")return null;var v=new WeakMap,E=new WeakMap;return(i=function(T){return T?E:v})(p)}function o(p,v){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var E=i(v);if(E&&E.has(p))return E.get(p);var T={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in p)if(k!=="default"&&Object.prototype.hasOwnProperty.call(p,k)){var _=C?Object.getOwnPropertyDescriptor(p,k):null;_&&(_.get||_.set)?Object.defineProperty(T,k,_):T[k]=p[k]}return T.default=p,E&&E.set(p,T),T}function l(){return l=Object.assign?Object.assign.bind():function(p){for(var v=1;v{const{day:C,onMouseDown:k,onMouseUp:_}=this.props;[13,32].includes(T.keyCode)&&(T.type==="keydown"?k(C):_(C))}),u(this,"handleMouseEvent",T=>{const{day:C,disabled:k,onPreviewChange:_,onMouseEnter:A,onMouseDown:P,onMouseUp:N}=this.props,I={};if(k){_();return}switch(T.type){case"mouseenter":A(C),_(C),I.hover=!0;break;case"blur":case"mouseleave":I.hover=!1;break;case"mousedown":I.active=!0,P(C);break;case"mouseup":T.stopPropagation(),I.active=!1,N(C);break;case"focus":_(C);break}Object.keys(I).length&&this.setState(I)}),u(this,"getClassNames",()=>{const{isPassive:T,isToday:C,isWeekend:k,isStartOfWeek:_,isEndOfWeek:A,isStartOfMonth:P,isEndOfMonth:N,disabled:I,styles:L}=this.props;return(0,n.default)(L.day,{[L.dayPassive]:T,[L.dayDisabled]:I,[L.dayToday]:C,[L.dayWeekend]:k,[L.dayStartOfWeek]:_,[L.dayEndOfWeek]:A,[L.dayStartOfMonth]:P,[L.dayEndOfMonth]:N,[L.dayHovered]:this.state.hover,[L.dayActive]:this.state.active})}),u(this,"renderPreviewPlaceholder",()=>{const{preview:T,day:C,styles:k}=this.props;if(!T)return null;const _=T.startDate?(0,r.endOfDay)(T.startDate):null,A=T.endDate?(0,r.startOfDay)(T.endDate):null,P=(!_||(0,r.isAfter)(C,_))&&(!A||(0,r.isBefore)(C,A)),N=!P&&(0,r.isSameDay)(C,_),I=!P&&(0,r.isSameDay)(C,A);return e.default.createElement("span",{className:(0,n.default)({[k.dayStartPreview]:N,[k.dayInPreview]:P,[k.dayEndPreview]:I}),style:{color:T.color}})}),u(this,"renderSelectionPlaceholders",()=>{const{styles:T,ranges:C,day:k}=this.props;return this.props.displayMode==="date"?(0,r.isSameDay)(this.props.day,this.props.date)?e.default.createElement("span",{className:T.selected,style:{color:this.props.color}}):null:C.reduce((A,P)=>{let N=P.startDate,I=P.endDate;N&&I&&(0,r.isBefore)(I,N)&&([N,I]=[I,N]),N=N?(0,r.endOfDay)(N):null,I=I?(0,r.startOfDay)(I):null;const L=(!N||(0,r.isAfter)(k,N))&&(!I||(0,r.isBefore)(k,I)),j=!L&&(0,r.isSameDay)(k,N),z=!L&&(0,r.isSameDay)(k,I);return L||j||z?[...A,{isStartEdge:j,isEndEdge:z,isInRange:L,...P}]:A},[]).map((A,P)=>e.default.createElement("span",{key:P,className:(0,n.default)({[T.startEdge]:A.isStartEdge,[T.endEdge]:A.isEndEdge,[T.inRange]:A.isInRange}),style:{color:A.color||this.props.color}}))}),this.state={hover:!1,active:!1}}render(){const{dayContentRenderer:v}=this.props;return e.default.createElement("button",l({type:"button",onMouseEnter:this.handleMouseEvent,onMouseLeave:this.handleMouseEvent,onFocus:this.handleMouseEvent,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onBlur:this.handleMouseEvent,onPauseCapture:this.handleMouseEvent,onKeyDown:this.handleKeyEvent,onKeyUp:this.handleKeyEvent,className:this.getClassNames(this.props.styles)},this.props.disabled||this.props.isPassive?{tabIndex:-1}:{},{style:{color:this.props.color}}),this.renderSelectionPlaceholders(),this.renderPreviewPlaceholder(),e.default.createElement("span",{className:this.props.styles.dayNumber},(v==null?void 0:v(this.props.day))||e.default.createElement("span",null,(0,r.format)(this.props.day,this.props.dayDisplayFormat))))}};g.defaultProps={};const y=Tg.rangeShape=t.default.shape({startDate:t.default.object,endDate:t.default.object,color:t.default.string,key:t.default.string,autoFocus:t.default.bool,disabled:t.default.bool,showDateDisplay:t.default.bool});return g.propTypes={day:t.default.object.isRequired,dayDisplayFormat:t.default.string,date:t.default.object,ranges:t.default.arrayOf(y),preview:t.default.shape({startDate:t.default.object,endDate:t.default.object,color:t.default.string}),onPreviewChange:t.default.func,previewColor:t.default.string,disabled:t.default.bool,isPassive:t.default.bool,isToday:t.default.bool,isWeekend:t.default.bool,isStartOfWeek:t.default.bool,isEndOfWeek:t.default.bool,isStartOfMonth:t.default.bool,isEndOfMonth:t.default.bool,color:t.default.string,displayMode:t.default.oneOf(["dateRange","date"]),styles:t.default.object,onMouseDown:t.default.func,onMouseUp:t.default.func,onMouseEnter:t.default.func,dayContentRenderer:t.default.func},Tg.default=g,Tg}var r1={},Cg={},SV;function c_(){if(SV)return Cg;SV=1,Object.defineProperty(Cg,"__esModule",{value:!0}),Cg.calcFocusDate=r,Cg.findNextRangeIndex=a,Cg.generateStyles=o,Cg.getMonthDisplayRange=i;var e=n(tm()),t=vv;function n(l){return l&&l.__esModule?l:{default:l}}function r(l,u){const{shownDate:d,date:f,months:g,ranges:y,focusedRange:p,displayMode:v}=u;let E;if(v==="dateRange"){const C=y[p[0]]||{};E={start:C.startDate,end:C.endDate}}else E={start:f,end:f};E.start=(0,t.startOfMonth)(E.start||new Date),E.end=(0,t.endOfMonth)(E.end||E.start);const T=E.start||E.end||d||new Date;return l?(0,t.differenceInCalendarMonths)(E.start,E.end)>g?l:T:d||T}function a(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;const d=l.findIndex((f,g)=>g>u&&f.autoFocus!==!1&&!f.disabled);return d!==-1?d:l.findIndex(f=>f.autoFocus!==!1&&!f.disabled)}function i(l,u,d){const f=(0,t.startOfMonth)(l,u),g=(0,t.endOfMonth)(l,u),y=(0,t.startOfWeek)(f,u);let p=(0,t.endOfWeek)(g,u);return d&&(0,t.differenceInCalendarDays)(p,y)<=34&&(p=(0,t.addDays)(p,7)),{start:y,end:p,startDateOfMonth:f,endDateOfMonth:g}}function o(l){return l.length?l.filter(d=>!!d).reduce((d,f)=>(Object.keys(f).forEach(g=>{d[g]=(0,e.default)(d[g],f[g])}),d),{}):{}}return Cg}var EV;function e9e(){if(EV)return r1;EV=1,Object.defineProperty(r1,"__esModule",{value:!0}),r1.default=void 0;var e=l($s()),t=i(kc()),n=l(u_()),r=vv,a=c_();function i(g){return g&&g.__esModule?g:{default:g}}function o(g){if(typeof WeakMap!="function")return null;var y=new WeakMap,p=new WeakMap;return(o=function(v){return v?p:y})(g)}function l(g,y){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var p=o(y);if(p&&p.has(g))return p.get(g);var v={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in g)if(T!=="default"&&Object.prototype.hasOwnProperty.call(g,T)){var C=E?Object.getOwnPropertyDescriptor(g,T):null;C&&(C.get||C.set)?Object.defineProperty(v,T,C):v[T]=g[T]}return v.default=g,p&&p.set(g,v),v}function u(){return u=Object.assign?Object.assign.bind():function(g){for(var y=1;ye.default.createElement("span",{className:g.weekDay,key:T},(0,r.format)(E,p,y))))}let f=class extends e.PureComponent{render(){const y=new Date,{displayMode:p,focusedRange:v,drag:E,styles:T,disabledDates:C,disabledDay:k}=this.props,_=this.props.minDate&&(0,r.startOfDay)(this.props.minDate),A=this.props.maxDate&&(0,r.endOfDay)(this.props.maxDate),P=(0,a.getMonthDisplayRange)(this.props.month,this.props.dateOptions,this.props.fixedHeight);let N=this.props.ranges;if(p==="dateRange"&&E.status){let{startDate:L,endDate:j}=E.range;N=N.map((z,Q)=>Q!==v[0]?z:{...z,startDate:L,endDate:j})}const I=this.props.showPreview&&!E.disablePreview;return e.default.createElement("div",{className:T.month,style:this.props.style},this.props.showMonthName?e.default.createElement("div",{className:T.monthName},(0,r.format)(this.props.month,this.props.monthDisplayFormat,this.props.dateOptions)):null,this.props.showWeekDays&&d(T,this.props.dateOptions,this.props.weekdayDisplayFormat),e.default.createElement("div",{className:T.days,onMouseLeave:this.props.onMouseLeave},(0,r.eachDayOfInterval)({start:P.start,end:P.end}).map((L,j)=>{const z=(0,r.isSameDay)(L,P.startDateOfMonth),Q=(0,r.isSameDay)(L,P.endDateOfMonth),le=_&&(0,r.isBefore)(L,_)||A&&(0,r.isAfter)(L,A),re=C.some(he=>(0,r.isSameDay)(he,L)),ge=k(L);return e.default.createElement(n.default,u({},this.props,{ranges:N,day:L,preview:I?this.props.preview:null,isWeekend:(0,r.isWeekend)(L,this.props.dateOptions),isToday:(0,r.isSameDay)(L,y),isStartOfWeek:(0,r.isSameDay)(L,(0,r.startOfWeek)(L,this.props.dateOptions)),isEndOfWeek:(0,r.isSameDay)(L,(0,r.endOfWeek)(L,this.props.dateOptions)),isStartOfMonth:z,isEndOfMonth:Q,key:j,disabled:le||re||ge,isPassive:!(0,r.isWithinInterval)(L,{start:P.startDateOfMonth,end:P.endDateOfMonth}),styles:T,onMouseDown:this.props.onDragSelectionStart,onMouseUp:this.props.onDragSelectionEnd,onMouseEnter:this.props.onDragSelectionMove,dragRange:E.range,drag:E.status}))})))}};return f.defaultProps={},f.propTypes={style:t.default.object,styles:t.default.object,month:t.default.object,drag:t.default.object,dateOptions:t.default.object,disabledDates:t.default.array,disabledDay:t.default.func,preview:t.default.shape({startDate:t.default.object,endDate:t.default.object}),showPreview:t.default.bool,displayMode:t.default.oneOf(["dateRange","date"]),minDate:t.default.object,maxDate:t.default.object,ranges:t.default.arrayOf(n.rangeShape),focusedRange:t.default.arrayOf(t.default.number),onDragSelectionStart:t.default.func,onDragSelectionEnd:t.default.func,onDragSelectionMove:t.default.func,onMouseLeave:t.default.func,monthDisplayFormat:t.default.string,weekdayDisplayFormat:t.default.string,dayDisplayFormat:t.default.string,showWeekDays:t.default.bool,showMonthName:t.default.bool,fixedHeight:t.default.bool},r1.default=f,r1}var a1={},TV;function t9e(){if(TV)return a1;TV=1,Object.defineProperty(a1,"__esModule",{value:!0}),a1.default=void 0;var e=o($s()),t=a(kc()),n=a(tm()),r=vv;function a(g){return g&&g.__esModule?g:{default:g}}function i(g){if(typeof WeakMap!="function")return null;var y=new WeakMap,p=new WeakMap;return(i=function(v){return v?p:y})(g)}function o(g,y){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var p=i(y);if(p&&p.has(g))return p.get(g);var v={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in g)if(T!=="default"&&Object.prototype.hasOwnProperty.call(g,T)){var C=E?Object.getOwnPropertyDescriptor(g,T):null;C&&(C.get||C.set)?Object.defineProperty(v,T,C):v[T]=g[T]}return v.default=g,p&&p.set(g,v),v}function l(g,y,p){return y=u(y),y in g?Object.defineProperty(g,y,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[y]=p,g}function u(g){var y=d(g,"string");return typeof y=="symbol"?y:String(y)}function d(g,y){if(typeof g!="object"||!g)return g;var p=g[Symbol.toPrimitive];if(p!==void 0){var v=p.call(g,y);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(g)}let f=class extends e.PureComponent{constructor(y,p){super(y,p),l(this,"onKeyDown",v=>{const{value:E}=this.state;v.key==="Enter"&&this.update(E)}),l(this,"onChange",v=>{this.setState({value:v.target.value,changed:!0,invalid:!1})}),l(this,"onBlur",()=>{const{value:v}=this.state;this.update(v)}),this.state={invalid:!1,changed:!1,value:this.formatDate(y)}}componentDidUpdate(y){const{value:p}=y;(0,r.isEqual)(p,this.props.value)||this.setState({value:this.formatDate(this.props)})}formatDate(y){let{value:p,dateDisplayFormat:v,dateOptions:E}=y;return p&&(0,r.isValid)(p)?(0,r.format)(p,v,E):""}update(y){const{invalid:p,changed:v}=this.state;if(p||!v||!y)return;const{onChange:E,dateDisplayFormat:T,dateOptions:C}=this.props,k=(0,r.parse)(y,T,new Date,C);(0,r.isValid)(k)?this.setState({changed:!1},()=>E(k)):this.setState({invalid:!0})}render(){const{className:y,readOnly:p,placeholder:v,ariaLabel:E,disabled:T,onFocus:C}=this.props,{value:k,invalid:_}=this.state;return e.default.createElement("span",{className:(0,n.default)("rdrDateInput",y)},e.default.createElement("input",{readOnly:p,disabled:T,value:k,placeholder:v,"aria-label":E,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:C}),_&&e.default.createElement("span",{className:"rdrWarning"},"⚠"))}};return f.propTypes={value:t.default.object,placeholder:t.default.string,disabled:t.default.bool,readOnly:t.default.bool,dateOptions:t.default.object,dateDisplayFormat:t.default.string,ariaLabel:t.default.string,className:t.default.string,onFocus:t.default.func.isRequired,onChange:t.default.func.isRequired},f.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"},a1.default=f,a1}var MC={},CV;function n9e(){return CV||(CV=1,(function(e){(function(t,n){n(e,$s(),_K())})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:MC,function(t,n,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function a(ie){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Z){return typeof Z}:function(Z){return Z&&typeof Symbol=="function"&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z},a(ie)}function i(ie,Z){if(!(ie instanceof Z))throw new TypeError("Cannot call a class as a function")}function o(ie,Z){for(var ee=0;ee"u")return!1;var ie=!1;try{document.createElement("div").addEventListener("test",re,{get passive(){return ie=!0,!1}})}catch{}return ie})()?{passive:!0}:!1,he="ReactList failed to reach a stable state.",W=40,G=function(Z,ee){for(var J in ee)if(Z[J]!==ee[J])return!1;return!0},q=function(Z){for(var ee=Z.props.axis,J=Z.getEl(),ue=j[ee];J=J.parentElement;)switch(window.getComputedStyle(J)[ue]){case"auto":case"scroll":case"overlay":return J}return window},ce=function(Z){var ee=Z.props.axis,J=Z.scrollParent;return J===window?window[N[ee]]:J[A[ee]]},H=function(Z,ee){var J=Z.length,ue=Z.minSize,ke=Z.type,fe=ee.from,xe=ee.size,Ie=ee.itemsPerRow;xe=Math.max(xe,ue);var qe=xe%Ie;return qe&&(xe+=Ie-qe),xe>J&&(xe=J),fe=ke==="simple"||!fe?0:Math.max(Math.min(fe,J-xe),0),(qe=fe%Ie)&&(fe-=qe,xe+=qe),fe===ee.from&&xe===ee.size?ee:T(T({},ee),{},{from:fe,size:xe})},Y=t.default=(function(ie){function Z(ee){var J;return i(this,Z),J=u(this,Z,[ee]),J.state=H(ee,{itemsPerRow:1,from:ee.initialIndex,size:0}),J.cache={},J.cachedScrollPosition=null,J.prevPrevState={},J.unstable=!1,J.updateCounter=0,J}return p(Z,ie),l(Z,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(J){var ue=this;if(this.props.axis!==J.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>W)return this.unstable=!0,console.error(he);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){ue.updateCounter=0,delete ue.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(J,ue){if(G(this.state,J))return ue();this.setState(J,ue)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,ge),this.scrollParent.removeEventListener("mousewheel",re,ge)}},{key:"getOffset",value:function(J){var ue=this.props.axis,ke=J[P[ue]]||0,fe=L[ue];do ke+=J[fe]||0;while(J=J.offsetParent);return ke}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var J=this.scrollParent,ue=this.props.axis,ke=Q[ue],fe=J===window?document.body[ke]||document.documentElement[ke]:J[ke],xe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),Ie=Math.max(0,Math.min(fe,xe)),qe=this.getEl();return this.cachedScrollPosition=this.getOffset(J)+Ie-this.getOffset(qe),this.cachedScrollPosition}},{key:"setScroll",value:function(J){var ue=this.scrollParent,ke=this.props.axis;if(J+=this.getOffset(this.getEl()),ue===window)return window.scrollTo(0,J);J-=this.getOffset(this.scrollParent),ue[Q[ke]]=J}},{key:"getScrollSize",value:function(){var J=this.scrollParent,ue=document,ke=ue.body,fe=ue.documentElement,xe=z[this.props.axis];return J===window?Math.max(ke[xe],fe[xe]):J[xe]}},{key:"hasDeterminateSize",value:function(){var J=this.props,ue=J.itemSizeGetter,ke=J.type;return ke==="uniform"||ue}},{key:"getStartAndEnd",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,ue=this.getScrollPosition(),ke=Math.max(0,ue-J),fe=ue+this.props.scrollParentViewportSizeGetter(this)+J;return this.hasDeterminateSize()&&(fe=Math.min(fe,this.getSpaceBefore(this.props.length))),{start:ke,end:fe}}},{key:"getItemSizeAndItemsPerRow",value:function(){var J=this.props,ue=J.axis,ke=J.useStaticSize,fe=this.state,xe=fe.itemSize,Ie=fe.itemsPerRow;if(ke&&xe&&Ie)return{itemSize:xe,itemsPerRow:Ie};var qe=this.items.children;if(!qe.length)return{};var nt=qe[0],Ge=nt[I[ue]],at=Math.abs(Ge-xe);if((isNaN(at)||at>=1)&&(xe=Ge),!xe)return{};var Et=L[ue],kt=nt[Et];Ie=1;for(var xt=qe[Ie];xt&&xt[Et]===kt;xt=qe[Ie])++Ie;return{itemSize:xe,itemsPerRow:Ie}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(J){return this.clearSizeCache(),this.updateFrame(J)}},{key:"updateFrame",value:function(J){switch(this.updateScrollParent(),typeof J!="function"&&(J=re),this.props.type){case"simple":return this.updateSimpleFrame(J);case"variable":return this.updateVariableFrame(J);case"uniform":return this.updateUniformFrame(J)}}},{key:"updateScrollParent",value:function(){var J=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),J!==this.scrollParent&&(J&&(J.removeEventListener("scroll",this.updateFrameAndClearCache),J.removeEventListener("mousewheel",re)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,ge),this.scrollParent.addEventListener("mousewheel",re,ge))}},{key:"updateSimpleFrame",value:function(J){var ue=this.getStartAndEnd(),ke=ue.end,fe=this.items.children,xe=0;if(fe.length){var Ie=this.props.axis,qe=fe[0],nt=fe[fe.length-1];xe=this.getOffset(nt)+nt[I[Ie]]-this.getOffset(qe)}if(xe>ke)return J();var Ge=this.props,at=Ge.pageSize,Et=Ge.length,kt=Math.min(this.state.size+at,Et);this.maybeSetState({size:kt},J)}},{key:"updateVariableFrame",value:function(J){this.props.itemSizeGetter||this.cacheSizes();for(var ue=this.getStartAndEnd(),ke=ue.start,fe=ue.end,xe=this.props,Ie=xe.length,qe=xe.pageSize,nt=0,Ge=0,at=0,Et=Ie-1;Geke)break;nt+=kt,++Ge}for(var xt=Ie-Ge;at1&&arguments[1]!==void 0?arguments[1]:{};if(ue[J]!=null)return ue[J];var ke=this.state,fe=ke.itemSize,xe=ke.itemsPerRow;if(fe)return ue[J]=Math.floor(J/xe)*fe;for(var Ie=J;Ie>0&&ue[--Ie]==null;);for(var qe=ue[Ie]||0,nt=Ie;nt=at&&JIe)return this.setScroll(Ie)}},{key:"getVisibleRange",value:function(){for(var J=this.state,ue=J.from,ke=J.size,fe=this.getStartAndEnd(0),xe=fe.start,Ie=fe.end,qe={},nt,Ge,at=ue;atxe&&(nt=at),nt!=null&&Et1&&arguments[1]!==void 0?arguments[1]:L.props,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!z.scroll.enabled){if(Q&&z.preventSnapRefocus){const ge=(0,d.differenceInCalendarMonths)(j,L.state.focusedDate),he=z.calendarFocus==="forwards"&&ge>=0,W=z.calendarFocus==="backwards"&&ge<=0;if((he||W)&&Math.abs(ge)0&&arguments[0]!==void 0?arguments[0]:L.props;const z=j.scroll.enabled?{...j,months:L.list.getVisibleRange().length}:j,Q=(0,i.calcFocusDate)(L.state.focusedDate,z);L.focusToDate(Q,z)}),C(this,"updatePreview",j=>{if(!j){this.setState({preview:null});return}const z={startDate:j,endDate:j,color:this.props.color};this.setState({preview:z})}),C(this,"changeShownDate",function(j){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set";const{focusedDate:Q}=L.state,{onShownDateChange:le,minDate:re,maxDate:ge}=L.props,he={monthOffset:()=>(0,d.addMonths)(Q,j),setMonth:()=>(0,d.setMonth)(Q,j),setYear:()=>(0,d.setYear)(Q,j),set:()=>j},W=(0,d.min)([(0,d.max)([he[z](),re]),ge]);L.focusToDate(W,L.props,!1),le&&le(W)}),C(this,"handleRangeFocusChange",(j,z)=>{this.props.onRangeFocusChange&&this.props.onRangeFocusChange([j,z])}),C(this,"handleScroll",()=>{const{onShownDateChange:j,minDate:z}=this.props,{focusedDate:Q}=this.state,{isFirstRender:le}=this,re=this.list.getVisibleRange();if(re[0]===void 0)return;const ge=(0,d.addMonths)(z,re[0]||0);!(0,d.isSameMonth)(ge,Q)&&!le&&(this.setState({focusedDate:ge}),j&&j(ge)),this.isFirstRender=!1}),C(this,"renderMonthAndYear",(j,z,Q)=>{const{showMonthArrow:le,minDate:re,maxDate:ge,showMonthAndYearPickers:he,ariaLabels:W}=Q,G=(ge||$L.defaultProps.maxDate).getFullYear(),q=(re||$L.defaultProps.minDate).getFullYear(),ce=this.styles;return e.default.createElement("div",{onMouseUp:H=>H.stopPropagation(),className:ce.monthAndYearWrapper},le?e.default.createElement("button",{type:"button",className:(0,o.default)(ce.nextPrevButton,ce.prevButton),onClick:()=>z(-1,"monthOffset"),"aria-label":W.prevButton},e.default.createElement("i",null)):null,he?e.default.createElement("span",{className:ce.monthAndYearPickers},e.default.createElement("span",{className:ce.monthPicker},e.default.createElement("select",{value:j.getMonth(),onChange:H=>z(H.target.value,"setMonth"),"aria-label":W.monthPicker},this.state.monthNames.map((H,Y)=>e.default.createElement("option",{key:Y,value:Y},H)))),e.default.createElement("span",{className:ce.monthAndYearDivider}),e.default.createElement("span",{className:ce.yearPicker},e.default.createElement("select",{value:j.getFullYear(),onChange:H=>z(H.target.value,"setYear"),"aria-label":W.yearPicker},new Array(G-q+1).fill(G).map((H,Y)=>{const ie=H-Y;return e.default.createElement("option",{key:ie,value:ie},ie)})))):e.default.createElement("span",{className:ce.monthAndYearPickers},this.state.monthNames[j.getMonth()]," ",j.getFullYear()),le?e.default.createElement("button",{type:"button",className:(0,o.default)(ce.nextPrevButton,ce.nextButton),onClick:()=>z(1,"monthOffset"),"aria-label":W.nextButton},e.default.createElement("i",null)):null)}),C(this,"renderDateDisplay",()=>{const{focusedRange:j,color:z,ranges:Q,rangeColors:le,dateDisplayFormat:re,editableDateInputs:ge,startDatePlaceholder:he,endDatePlaceholder:W,ariaLabels:G}=this.props,q=le[j[0]]||z,ce=this.styles;return e.default.createElement("div",{className:ce.dateDisplayWrapper},Q.map((H,Y)=>H.showDateDisplay===!1||H.disabled&&!H.showDateDisplay?null:e.default.createElement("div",{className:ce.dateDisplay,key:Y,style:{color:H.color||q}},e.default.createElement(a.default,{className:(0,o.default)(ce.dateDisplayItem,{[ce.dateDisplayItemActive]:j[0]===Y&&j[1]===0}),readOnly:!ge,disabled:H.disabled,value:H.startDate,placeholder:he,dateOptions:this.dateOptions,dateDisplayFormat:re,ariaLabel:G.dateInput&&G.dateInput[H.key]&&G.dateInput[H.key].startDate,onChange:this.onDragSelectionEnd,onFocus:()=>this.handleRangeFocusChange(Y,0)}),e.default.createElement(a.default,{className:(0,o.default)(ce.dateDisplayItem,{[ce.dateDisplayItemActive]:j[0]===Y&&j[1]===1}),readOnly:!ge,disabled:H.disabled,value:H.endDate,placeholder:W,dateOptions:this.dateOptions,dateDisplayFormat:re,ariaLabel:G.dateInput&&G.dateInput[H.key]&&G.dateInput[H.key].endDate,onChange:this.onDragSelectionEnd,onFocus:()=>this.handleRangeFocusChange(Y,1)}))))}),C(this,"onDragSelectionStart",j=>{const{onChange:z,dragSelectionEnabled:Q}=this.props;Q?this.setState({drag:{status:!0,range:{startDate:j,endDate:j},disablePreview:!0}}):z&&z(j)}),C(this,"onDragSelectionEnd",j=>{const{updateRange:z,displayMode:Q,onChange:le,dragSelectionEnabled:re}=this.props;if(!re)return;if(Q==="date"||!this.state.drag.status){le&&le(j);return}const ge={startDate:this.state.drag.range.startDate,endDate:j};Q!=="dateRange"||(0,d.isSameDay)(ge.startDate,j)?this.setState({drag:{status:!1,range:{}}},()=>le&&le(j)):this.setState({drag:{status:!1,range:{}}},()=>{z&&z(ge)})}),C(this,"onDragSelectionMove",j=>{const{drag:z}=this.state;!z.status||!this.props.dragSelectionEnabled||this.setState({drag:{status:z.status,range:{startDate:z.range.startDate,endDate:j},disablePreview:!0}})}),C(this,"estimateMonthSize",(j,z)=>{const{direction:Q,minDate:le}=this.props,{scrollArea:re}=this.state;if(z&&(this.listSizeCache=z,z[j]))return z[j];if(Q==="horizontal")return re.monthWidth;const ge=(0,d.addMonths)(le,j),{start:he,end:W}=(0,i.getMonthDisplayRange)(ge,this.dateOptions);return(0,d.differenceInDays)(W,he,this.dateOptions)+1>35?re.longMonthHeight:re.monthHeight}),this.dateOptions={locale:N.locale},N.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=N.weekStartsOn),this.styles=(0,i.generateStyles)([g.default,N.classNames]),this.listSizeCache={},this.isFirstRender=!0,this.state={monthNames:this.getMonthNames(),focusedDate:(0,i.calcFocusDate)(null,N),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:this.calcScrollArea(N)}}getMonthNames(){return[...Array(12).keys()].map(N=>this.props.locale.localize.month(N))}calcScrollArea(N){const{direction:I,months:L,scroll:j}=N;if(!j.enabled)return{enabled:!1};const z=j.longMonthHeight||j.monthHeight;return I==="vertical"?{enabled:!0,monthHeight:j.monthHeight||220,longMonthHeight:z||260,calendarWidth:"auto",calendarHeight:(j.calendarHeight||z||240)*L}:{enabled:!0,monthWidth:j.monthWidth||332,calendarWidth:(j.calendarWidth||j.monthWidth||332)*L,monthHeight:z||300,calendarHeight:z||300}}componentDidMount(){this.props.scroll.enabled&&setTimeout(()=>this.focusToDate(this.state.focusedDate))}componentDidUpdate(N){const L={dateRange:"ranges",date:"date"}[this.props.displayMode];this.props[L]!==N[L]&&this.updateShownDate(this.props),(N.locale!==this.props.locale||N.weekStartsOn!==this.props.weekStartsOn)&&(this.dateOptions={locale:this.props.locale},this.props.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,u.shallowEqualObjects)(N.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}renderWeekdays(){const N=new Date;return e.default.createElement("div",{className:this.styles.weekDays},(0,d.eachDayOfInterval)({start:(0,d.startOfWeek)(N,this.dateOptions),end:(0,d.endOfWeek)(N,this.dateOptions)}).map((I,L)=>e.default.createElement("span",{className:this.styles.weekDay,key:L},(0,d.format)(I,this.props.weekdayDisplayFormat,this.dateOptions))))}render(){const{showDateDisplay:N,onPreviewChange:I,scroll:L,direction:j,disabledDates:z,disabledDay:Q,maxDate:le,minDate:re,rangeColors:ge,color:he,navigatorRenderer:W,className:G,preview:q}=this.props,{scrollArea:ce,focusedDate:H}=this.state,Y=j==="vertical",ie=W||this.renderMonthAndYear,Z=this.props.ranges.map((ee,J)=>({...ee,color:ee.color||ge[J]||he}));return e.default.createElement("div",{className:(0,o.default)(this.styles.calendarWrapper,G),onMouseUp:()=>this.setState({drag:{status:!1,range:{}}}),onMouseLeave:()=>{this.setState({drag:{status:!1,range:{}}})}},N&&this.renderDateDisplay(),ie(H,this.changeShownDate,this.props),L.enabled?e.default.createElement("div",null,Y&&this.renderWeekdays(this.dateOptions),e.default.createElement("div",{className:(0,o.default)(this.styles.infiniteMonths,Y?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:()=>I&&I(),style:{width:ce.calendarWidth+11,height:ce.calendarHeight+11},onScroll:this.handleScroll},e.default.createElement(l.default,{length:(0,d.differenceInCalendarMonths)((0,d.endOfMonth)(le),(0,d.addDays)((0,d.startOfMonth)(re),-1),this.dateOptions),treshold:500,type:"variable",ref:ee=>this.list=ee,itemSizeEstimator:this.estimateMonthSize,axis:Y?"y":"x",itemRenderer:(ee,J)=>{const ue=(0,d.addMonths)(re,ee);return e.default.createElement(r.default,T({},this.props,{onPreviewChange:I||this.updatePreview,preview:q||this.state.preview,ranges:Z,key:J,drag:this.state.drag,dateOptions:this.dateOptions,disabledDates:z,disabledDay:Q,month:ue,onDragSelectionStart:this.onDragSelectionStart,onDragSelectionEnd:this.onDragSelectionEnd,onDragSelectionMove:this.onDragSelectionMove,onMouseLeave:()=>I&&I(),styles:this.styles,style:Y?{height:this.estimateMonthSize(ee)}:{height:ce.monthHeight,width:this.estimateMonthSize(ee)},showMonthName:!0,showWeekDays:!Y}))}}))):e.default.createElement("div",{className:(0,o.default)(this.styles.months,Y?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map((ee,J)=>{let ue=(0,d.addMonths)(this.state.focusedDate,J);return this.props.calendarFocus==="backwards"&&(ue=(0,d.subMonths)(this.state.focusedDate,this.props.months-1-J)),e.default.createElement(r.default,T({},this.props,{onPreviewChange:I||this.updatePreview,preview:q||this.state.preview,ranges:Z,key:J,drag:this.state.drag,dateOptions:this.dateOptions,disabledDates:z,disabledDay:Q,month:ue,onDragSelectionStart:this.onDragSelectionStart,onDragSelectionEnd:this.onDragSelectionEnd,onDragSelectionMove:this.onDragSelectionMove,onMouseLeave:()=>I&&I(),styles:this.styles,showWeekDays:!Y||J===0,showMonthName:!Y||J>0}))})))}};return A.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:()=>{},classNames:{},locale:f.enUS,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,d.addYears)(new Date,20),minDate:(0,d.addYears)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}},A.propTypes={showMonthArrow:t.default.bool,showMonthAndYearPickers:t.default.bool,disabledDates:t.default.array,disabledDay:t.default.func,minDate:t.default.object,maxDate:t.default.object,date:t.default.object,onChange:t.default.func,onPreviewChange:t.default.func,onRangeFocusChange:t.default.func,classNames:t.default.object,locale:t.default.object,shownDate:t.default.object,onShownDateChange:t.default.func,ranges:t.default.arrayOf(n.rangeShape),preview:t.default.shape({startDate:t.default.object,endDate:t.default.object,color:t.default.string}),dateDisplayFormat:t.default.string,monthDisplayFormat:t.default.string,weekdayDisplayFormat:t.default.string,weekStartsOn:t.default.number,dayDisplayFormat:t.default.string,focusedRange:t.default.arrayOf(t.default.number),initialFocusedRange:t.default.arrayOf(t.default.number),months:t.default.number,className:t.default.string,showDateDisplay:t.default.bool,showPreview:t.default.bool,displayMode:t.default.oneOf(["dateRange","date"]),color:t.default.string,updateRange:t.default.func,scroll:t.default.shape({enabled:t.default.bool,monthHeight:t.default.number,longMonthHeight:t.default.number,monthWidth:t.default.number,calendarWidth:t.default.number,calendarHeight:t.default.number}),direction:t.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:t.default.string,endDatePlaceholder:t.default.string,navigatorRenderer:t.default.func,rangeColors:t.default.arrayOf(t.default.string),editableDateInputs:t.default.bool,dragSelectionEnabled:t.default.bool,fixedHeight:t.default.bool,calendarFocus:t.default.string,preventSnapRefocus:t.default.bool,ariaLabels:y.ariaLabelsShape},t1.default=A,t1}var OV;function Are(){if(OV)return e1;OV=1,Object.defineProperty(e1,"__esModule",{value:!0}),e1.default=void 0;var e=f($s()),t=u(kc()),n=u(Pre()),r=u_(),a=c_(),i=vv,o=u(tm()),l=u(d_());function u(T){return T&&T.__esModule?T:{default:T}}function d(T){if(typeof WeakMap!="function")return null;var C=new WeakMap,k=new WeakMap;return(d=function(_){return _?k:C})(T)}function f(T,C){if(T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var k=d(C);if(k&&k.has(T))return k.get(T);var _={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in T)if(P!=="default"&&Object.prototype.hasOwnProperty.call(T,P)){var N=A?Object.getOwnPropertyDescriptor(T,P):null;N&&(N.get||N.set)?Object.defineProperty(_,P,N):_[P]=T[P]}return _.default=T,k&&k.set(T,_),_}function g(){return g=Object.assign?Object.assign.bind():function(T){for(var C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const N=_.props.focusedRange||_.state.focusedRange,{ranges:I,onChange:L,maxDate:j,moveRangeOnFirstSelection:z,retainEndDateOnFirstSelection:Q,disabledDates:le}=_.props,re=N[0],ge=I[re];if(!ge||!L)return{};let{startDate:he,endDate:W}=ge;const G=new Date;let q;if(!P)he=A.startDate,W=A.endDate;else if(N[1]===0){const Y=(0,i.differenceInCalendarDays)(W||G,he),ie=()=>z?(0,i.addDays)(A,Y):Q?!W||(0,i.isBefore)(A,W)?W:A:A||G;he=A,W=ie(),j&&(W=(0,i.min)([W,j])),q=[N[0],1]}else W=A;let ce=N[1]===0;(0,i.isBefore)(W,he)&&(ce=!ce,[he,W]=[W,he]);const H=le.filter(Y=>(0,i.isWithinInterval)(Y,{start:he,end:W}));return H.length>0&&(ce?he=(0,i.addDays)((0,i.max)(H),1):W=(0,i.addDays)((0,i.min)(H),-1)),q||(q=[(0,a.findNextRangeIndex)(_.props.ranges,N[0]),0]),{wasValid:!(H.length>0),range:{startDate:he,endDate:W},nextFocusRange:q}}),y(this,"setSelection",(A,P)=>{const{onChange:N,ranges:I,onRangeFocusChange:L}=this.props,z=(this.props.focusedRange||this.state.focusedRange)[0],Q=I[z];if(!Q)return;const le=this.calcNewSelection(A,P);N({[Q.key||`range${z+1}`]:{...Q,...le.range}}),this.setState({focusedRange:le.nextFocusRange,preview:null}),L&&L(le.nextFocusRange)}),y(this,"handleRangeFocusChange",A=>{this.setState({focusedRange:A}),this.props.onRangeFocusChange&&this.props.onRangeFocusChange(A)}),y(this,"updatePreview",A=>{var j;if(!A){this.setState({preview:null});return}const{rangeColors:P,ranges:N}=this.props,I=this.props.focusedRange||this.state.focusedRange,L=((j=N[I[0]])==null?void 0:j.color)||P[I[0]]||L;this.setState({preview:{...A.range,color:L}})}),this.state={focusedRange:C.initialFocusedRange||[(0,a.findNextRangeIndex)(C.ranges),0],preview:null},this.styles=(0,a.generateStyles)([l.default,C.classNames])}render(){return e.default.createElement(n.default,g({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:C=>{this.updatePreview(C?this.calcNewSelection(C):null)}},this.props,{displayMode:"dateRange",className:(0,o.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:C=>this.setSelection(C,!1),ref:C=>{this.calendar=C}}))}};return E.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]},E.propTypes={...n.default.propTypes,onChange:t.default.func,onRangeFocusChange:t.default.func,className:t.default.string,ranges:t.default.arrayOf(r.rangeShape),moveRangeOnFirstSelection:t.default.bool,retainEndDateOnFirstSelection:t.default.bool},e1.default=E,e1}var s1={},l1={},Pp={},RV;function Nre(){if(RV)return Pp;RV=1,Object.defineProperty(Pp,"__esModule",{value:!0}),Pp.createStaticRanges=r,Pp.defaultStaticRanges=Pp.defaultInputRanges=void 0;var e=vv;const t={startOfWeek:(0,e.startOfWeek)(new Date),endOfWeek:(0,e.endOfWeek)(new Date),startOfLastWeek:(0,e.startOfWeek)((0,e.addDays)(new Date,-7)),endOfLastWeek:(0,e.endOfWeek)((0,e.addDays)(new Date,-7)),startOfToday:(0,e.startOfDay)(new Date),endOfToday:(0,e.endOfDay)(new Date),startOfYesterday:(0,e.startOfDay)((0,e.addDays)(new Date,-1)),endOfYesterday:(0,e.endOfDay)((0,e.addDays)(new Date,-1)),startOfMonth:(0,e.startOfMonth)(new Date),endOfMonth:(0,e.endOfMonth)(new Date),startOfLastMonth:(0,e.startOfMonth)((0,e.addMonths)(new Date,-1)),endOfLastMonth:(0,e.endOfMonth)((0,e.addMonths)(new Date,-1))},n={range:{},isSelected(a){const i=this.range();return(0,e.isSameDay)(a.startDate,i.startDate)&&(0,e.isSameDay)(a.endDate,i.endDate)}};function r(a){return a.map(i=>({...n,...i}))}return Pp.defaultStaticRanges=r([{label:"Today",range:()=>({startDate:t.startOfToday,endDate:t.endOfToday})},{label:"Yesterday",range:()=>({startDate:t.startOfYesterday,endDate:t.endOfYesterday})},{label:"This Week",range:()=>({startDate:t.startOfWeek,endDate:t.endOfWeek})},{label:"Last Week",range:()=>({startDate:t.startOfLastWeek,endDate:t.endOfLastWeek})},{label:"This Month",range:()=>({startDate:t.startOfMonth,endDate:t.endOfMonth})},{label:"Last Month",range:()=>({startDate:t.startOfLastMonth,endDate:t.endOfLastMonth})}]),Pp.defaultInputRanges=[{label:"days up to today",range(a){return{startDate:(0,e.addDays)(t.startOfToday,(Math.max(Number(a),1)-1)*-1),endDate:t.endOfToday}},getCurrentValue(a){return(0,e.isSameDay)(a.endDate,t.endOfToday)?a.startDate?(0,e.differenceInCalendarDays)(t.endOfToday,a.startDate)+1:"∞":"-"}},{label:"days starting today",range(a){const i=new Date;return{startDate:i,endDate:(0,e.addDays)(i,Math.max(Number(a),1)-1)}},getCurrentValue(a){return(0,e.isSameDay)(a.startDate,t.startOfToday)?a.endDate?(0,e.differenceInCalendarDays)(a.endDate,t.startOfToday)+1:"∞":"-"}}],Pp}var u1={},PV;function l9e(){if(PV)return u1;PV=1,Object.defineProperty(u1,"__esModule",{value:!0}),u1.default=void 0;var e=a($s()),t=n(kc());function n(g){return g&&g.__esModule?g:{default:g}}function r(g){if(typeof WeakMap!="function")return null;var y=new WeakMap,p=new WeakMap;return(r=function(v){return v?p:y})(g)}function a(g,y){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var p=r(y);if(p&&p.has(g))return p.get(g);var v={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in g)if(T!=="default"&&Object.prototype.hasOwnProperty.call(g,T)){var C=E?Object.getOwnPropertyDescriptor(g,T):null;C&&(C.get||C.set)?Object.defineProperty(v,T,C):v[T]=g[T]}return v.default=g,p&&p.set(g,v),v}function i(g,y,p){return y=o(y),y in g?Object.defineProperty(g,y,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[y]=p,g}function o(g){var y=l(g,"string");return typeof y=="symbol"?y:String(y)}function l(g,y){if(typeof g!="object"||!g)return g;var p=g[Symbol.toPrimitive];if(p!==void 0){var v=p.call(g,y);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(g)}const u=0,d=99999;let f=class extends e.Component{constructor(y,p){super(y,p),i(this,"onChange",v=>{const{onChange:E}=this.props;let T=parseInt(v.target.value,10);T=isNaN(T)?0:Math.max(Math.min(d,T),u),E(T)})}shouldComponentUpdate(y){const{value:p,label:v,placeholder:E}=this.props;return p!==y.value||v!==y.label||E!==y.placeholder}render(){const{label:y,placeholder:p,value:v,styles:E,onBlur:T,onFocus:C}=this.props;return e.default.createElement("div",{className:E.inputRange},e.default.createElement("input",{className:E.inputRangeInput,placeholder:p,value:v,min:u,max:d,onChange:this.onChange,onFocus:C,onBlur:T}),e.default.createElement("span",{className:E.inputRangeLabel},y))}};return f.propTypes={value:t.default.oneOfType([t.default.string,t.default.number]),label:t.default.oneOfType([t.default.element,t.default.node]).isRequired,placeholder:t.default.string,styles:t.default.shape({inputRange:t.default.string,inputRangeInput:t.default.string,inputRangeLabel:t.default.string}).isRequired,onBlur:t.default.func.isRequired,onFocus:t.default.func.isRequired,onChange:t.default.func.isRequired},f.defaultProps={value:"",placeholder:"-"},u1.default=f,u1}var AV;function Mre(){if(AV)return l1;AV=1,Object.defineProperty(l1,"__esModule",{value:!0}),l1.default=void 0;var e=d($s()),t=l(kc()),n=l(d_()),r=Nre(),a=u_(),i=l(l9e()),o=l(tm());function l(v){return v&&v.__esModule?v:{default:v}}function u(v){if(typeof WeakMap!="function")return null;var E=new WeakMap,T=new WeakMap;return(u=function(C){return C?T:E})(v)}function d(v,E){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var T=u(E);if(T&&T.has(v))return T.get(v);var C={__proto__:null},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in v)if(_!=="default"&&Object.prototype.hasOwnProperty.call(v,_)){var A=k?Object.getOwnPropertyDescriptor(v,_):null;A&&(A.get||A.set)?Object.defineProperty(C,_,A):C[_]=v[_]}return C.default=v,T&&T.set(v,C),C}function f(v,E,T){return E=g(E),E in v?Object.defineProperty(v,E,{value:T,enumerable:!0,configurable:!0,writable:!0}):v[E]=T,v}function g(v){var E=y(v,"string");return typeof E=="symbol"?E:String(E)}function y(v,E){if(typeof v!="object"||!v)return v;var T=v[Symbol.toPrimitive];if(T!==void 0){var C=T.call(v,E);if(typeof C!="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(v)}let p=class extends e.Component{constructor(E){super(E),f(this,"handleRangeChange",T=>{const{onChange:C,ranges:k,focusedRange:_}=this.props,A=k[_[0]];!C||!A||C({[A.key||`range${_[0]+1}`]:{...A,...T}})}),this.state={rangeOffset:0,focusedInput:-1}}getRangeOptionValue(E){const{ranges:T=[],focusedRange:C=[]}=this.props;if(typeof E.getCurrentValue!="function")return"";const k=T[C[0]]||{};return E.getCurrentValue(k)||""}getSelectedRange(E,T){const C=E.findIndex(_=>!_.startDate||!_.endDate||_.disabled?!1:T.isSelected(_));return{selectedRange:E[C],focusedRangeIndex:C}}render(){const{headerContent:E,footerContent:T,onPreviewChange:C,inputRanges:k,staticRanges:_,ranges:A,renderStaticRangeLabel:P,rangeColors:N,className:I}=this.props;return e.default.createElement("div",{className:(0,o.default)(n.default.definedRangesWrapper,I)},E,e.default.createElement("div",{className:n.default.staticRanges},_.map((L,j)=>{const{selectedRange:z,focusedRangeIndex:Q}=this.getSelectedRange(A,L);let le;return L.hasCustomRendering?le=P(L):le=L.label,e.default.createElement("button",{type:"button",className:(0,o.default)(n.default.staticRange,{[n.default.staticRangeSelected]:!!z}),style:{color:z?z.color||N[Q]:null},key:j,onClick:()=>this.handleRangeChange(L.range(this.props)),onFocus:()=>C&&C(L.range(this.props)),onMouseOver:()=>C&&C(L.range(this.props)),onMouseLeave:()=>{C&&C()}},e.default.createElement("span",{tabIndex:-1,className:n.default.staticRangeLabel},le))})),e.default.createElement("div",{className:n.default.inputRanges},k.map((L,j)=>e.default.createElement(i.default,{key:j,styles:n.default,label:L.label,onFocus:()=>this.setState({focusedInput:j,rangeOffset:0}),onBlur:()=>this.setState({rangeOffset:0}),onChange:z=>this.handleRangeChange(L.range(z,this.props)),value:this.getRangeOptionValue(L)}))),T)}};return p.propTypes={inputRanges:t.default.array,staticRanges:t.default.array,ranges:t.default.arrayOf(a.rangeShape),focusedRange:t.default.arrayOf(t.default.number),onPreviewChange:t.default.func,onChange:t.default.func,footerContent:t.default.any,headerContent:t.default.any,rangeColors:t.default.arrayOf(t.default.string),className:t.default.string,renderStaticRangeLabel:t.default.func},p.defaultProps={inputRanges:r.defaultInputRanges,staticRanges:r.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]},l1.default=p,l1}var NV;function u9e(){if(NV)return s1;NV=1,Object.defineProperty(s1,"__esModule",{value:!0}),s1.default=void 0;var e=d($s()),t=l(kc()),n=l(Are()),r=l(Mre()),a=c_(),i=l(tm()),o=l(d_());function l(y){return y&&y.__esModule?y:{default:y}}function u(y){if(typeof WeakMap!="function")return null;var p=new WeakMap,v=new WeakMap;return(u=function(E){return E?v:p})(y)}function d(y,p){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var v=u(p);if(v&&v.has(y))return v.get(y);var E={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in y)if(C!=="default"&&Object.prototype.hasOwnProperty.call(y,C)){var k=T?Object.getOwnPropertyDescriptor(y,C):null;k&&(k.get||k.set)?Object.defineProperty(E,C,k):E[C]=y[C]}return E.default=y,v&&v.set(y,E),E}function f(){return f=Object.assign?Object.assign.bind():function(y){for(var p=1;pthis.dateRange.updatePreview(v?this.dateRange.calcNewSelection(v,typeof v=="string"):null)},this.props,{range:this.props.ranges[p[0]],className:void 0})),e.default.createElement(n.default,f({onRangeFocusChange:v=>this.setState({focusedRange:v}),focusedRange:p},this.props,{ref:v=>this.dateRange=v,className:void 0})))}};return g.defaultProps={},g.propTypes={...n.default.propTypes,...r.default.propTypes,className:t.default.string},s1.default=g,s1}var MV;function c9e(){return MV||(MV=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"DateRange",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"DateRangePicker",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DefinedRange",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStaticRanges",{enumerable:!0,get:function(){return i.createStaticRanges}}),Object.defineProperty(e,"defaultInputRanges",{enumerable:!0,get:function(){return i.defaultInputRanges}}),Object.defineProperty(e,"defaultStaticRanges",{enumerable:!0,get:function(){return i.defaultStaticRanges}});var t=o(Are()),n=o(Pre()),r=o(u9e()),a=o(Mre()),i=Nre();function o(l){return l&&l.__esModule?l:{default:l}}})(_D)),_D}var d9e=c9e(),PD={},f9e={lessThanXSeconds:{one:"minder as 'n sekonde",other:"minder as {{count}} sekondes"},xSeconds:{one:"1 sekonde",other:"{{count}} sekondes"},halfAMinute:"'n halwe minuut",lessThanXMinutes:{one:"minder as 'n minuut",other:"minder as {{count}} minute"},xMinutes:{one:"'n minuut",other:"{{count}} minute"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} ure"},xHours:{one:"1 uur",other:"{{count}} ure"},xDays:{one:"1 dag",other:"{{count}} dae"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weke"},xWeeks:{one:"1 week",other:"{{count}} weke"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maande"},xMonths:{one:"1 maand",other:"{{count}} maande"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer as 1 jaar",other:"meer as {{count}} jaar"},almostXYears:{one:"byna 1 jaar",other:"byna {{count}} jaar"}},p9e=function(t,n,r){var a,i=f9e[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"oor "+a:a+" gelede":a},m9e={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},h9e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},g9e={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v9e={date:Ne({formats:m9e,defaultWidth:"full"}),time:Ne({formats:h9e,defaultWidth:"full"}),dateTime:Ne({formats:g9e,defaultWidth:"full"})},y9e={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"},b9e=function(t,n,r,a){return y9e[t]},w9e={narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},S9e={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},E9e={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","Des"],wide:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},T9e={narrow:["S","M","D","W","D","V","S"],short:["So","Ma","Di","Wo","Do","Vr","Sa"],abbreviated:["Son","Maa","Din","Woe","Don","Vry","Sat"],wide:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},C9e={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"}},k9e={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"}},x9e=function(t){var n=Number(t),r=n%100;if(r<20)switch(r){case 1:case 8:return n+"ste";default:return n+"de"}return n+"ste"},_9e={ordinalNumber:x9e,era:oe({values:w9e,defaultWidth:"wide"}),quarter:oe({values:S9e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:E9e,defaultWidth:"wide"}),day:oe({values:T9e,defaultWidth:"wide"}),dayPeriod:oe({values:C9e,defaultWidth:"wide",formattingValues:k9e,defaultFormattingWidth:"wide"})},O9e=/^(\d+)(ste|de)?/i,R9e=/\d+/i,P9e={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},A9e={any:[/^v/,/^n/]},N9e={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},M9e={any:[/1/i,/2/i,/3/i,/4/i]},I9e={narrow:/^[jfmasond]/i,abbreviated:/^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i,wide:/^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i},D9e={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,/^Mrt/i,/^Apr/i,/^Mei/i,/^Jun/i,/^Jul/i,/^Aug/i,/^Sep/i,/^Okt/i,/^Nov/i,/^Dec/i]},$9e={narrow:/^[smdwv]/i,short:/^(So|Ma|Di|Wo|Do|Vr|Sa)/i,abbreviated:/^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,wide:/^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i},L9e={narrow:[/^S/i,/^M/i,/^D/i,/^W/i,/^D/i,/^V/i,/^S/i],any:[/^So/i,/^Ma/i,/^Di/i,/^Wo/i,/^Do/i,/^Vr/i,/^Sa/i]},F9e={any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},j9e={any:{am:/^vm/i,pm:/^nm/i,midnight:/^middernag/i,noon:/^middaguur/i,morning:/oggend/i,afternoon:/middag/i,evening:/laat middag/i,night:/aand/i}},U9e={ordinalNumber:Xt({matchPattern:O9e,parsePattern:R9e,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:P9e,defaultMatchWidth:"wide",parsePatterns:A9e,defaultParseWidth:"any"}),quarter:se({matchPatterns:N9e,defaultMatchWidth:"wide",parsePatterns:M9e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:I9e,defaultMatchWidth:"wide",parsePatterns:D9e,defaultParseWidth:"any"}),day:se({matchPatterns:$9e,defaultMatchWidth:"wide",parsePatterns:L9e,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:F9e,defaultMatchWidth:"any",parsePatterns:j9e,defaultParseWidth:"any"})},B9e={code:"af",formatDistance:p9e,formatLong:v9e,formatRelative:b9e,localize:_9e,match:U9e,options:{weekStartsOn:0,firstWeekContainsDate:1}};const W9e=Object.freeze(Object.defineProperty({__proto__:null,default:B9e},Symbol.toStringTag,{value:"Module"})),z9e=jt(W9e);var q9e={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},H9e=function(t,n,r){r=r||{};var a=q9e[t],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)),r.addSuffix?r.comparison&&r.comparison>0?"في خلال "+i:"منذ "+i:i},V9e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G9e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Y9e={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K9e={date:Ne({formats:V9e,defaultWidth:"full"}),time:Ne({formats:G9e,defaultWidth:"full"}),dateTime:Ne({formats:Y9e,defaultWidth:"full"})},X9e={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},Q9e=function(t,n,r,a){return X9e[t]},Z9e={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},J9e={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},eqe={narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},tqe={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},nqe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},rqe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},aqe=function(t){return String(t)},iqe={ordinalNumber:aqe,era:oe({values:Z9e,defaultWidth:"wide"}),quarter:oe({values:J9e,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:eqe,defaultWidth:"wide"}),day:oe({values:tqe,defaultWidth:"wide"}),dayPeriod:oe({values:nqe,defaultWidth:"wide",formattingValues:rqe,defaultFormattingWidth:"wide"})},oqe=/^(\d+)(th|st|nd|rd)?/i,sqe=/\d+/i,lqe={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},uqe={any:[/^قبل/i,/^بعد/i]},cqe={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},dqe={any:[/1/i,/2/i,/3/i,/4/i]},fqe={narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},pqe={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]},mqe={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},hqe={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},gqe={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},vqe={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}},yqe={ordinalNumber:Xt({matchPattern:oqe,parsePattern:sqe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:lqe,defaultMatchWidth:"wide",parsePatterns:uqe,defaultParseWidth:"any"}),quarter:se({matchPatterns:cqe,defaultMatchWidth:"wide",parsePatterns:dqe,defaultParseWidth:"any",valueCallback:function(t){return Number(t)+1}}),month:se({matchPatterns:fqe,defaultMatchWidth:"wide",parsePatterns:pqe,defaultParseWidth:"any"}),day:se({matchPatterns:mqe,defaultMatchWidth:"wide",parsePatterns:hqe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:gqe,defaultMatchWidth:"any",parsePatterns:vqe,defaultParseWidth:"any"})},bqe={code:"ar-DZ",formatDistance:H9e,formatLong:K9e,formatRelative:Q9e,localize:iqe,match:yqe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const wqe=Object.freeze(Object.defineProperty({__proto__:null,default:bqe},Symbol.toStringTag,{value:"Module"})),Sqe=jt(wqe);var Eqe={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},Tqe=function(t,n,r){var a,i=Eqe[t];return typeof i=="string"?a=i:n===1?a=i.one:n===2?a=i.two:n<=10?a=i.threeToTen.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"في خلال "+a:"منذ "+a:a},Cqe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},kqe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},xqe={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_qe={date:Ne({formats:Cqe,defaultWidth:"full"}),time:Ne({formats:kqe,defaultWidth:"full"}),dateTime:Ne({formats:xqe,defaultWidth:"full"})},Oqe={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},Rqe=function(t,n,r,a){return Oqe[t]},Pqe={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},Aqe={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Nqe={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},Mqe={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Iqe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},Dqe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},$qe=function(t){return String(t)},Lqe={ordinalNumber:$qe,era:oe({values:Pqe,defaultWidth:"wide"}),quarter:oe({values:Aqe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Nqe,defaultWidth:"wide"}),day:oe({values:Mqe,defaultWidth:"wide"}),dayPeriod:oe({values:Iqe,defaultWidth:"wide",formattingValues:Dqe,defaultFormattingWidth:"wide"})},Fqe=/^(\d+)(th|st|nd|rd)?/i,jqe=/\d+/i,Uqe={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},Bqe={any:[/^قبل/i,/^بعد/i]},Wqe={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},zqe={any:[/1/i,/2/i,/3/i,/4/i]},qqe={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},Hqe={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]},Vqe={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},Gqe={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},Yqe={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},Kqe={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}},Xqe={ordinalNumber:Xt({matchPattern:Fqe,parsePattern:jqe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Uqe,defaultMatchWidth:"wide",parsePatterns:Bqe,defaultParseWidth:"any"}),quarter:se({matchPatterns:Wqe,defaultMatchWidth:"wide",parsePatterns:zqe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:qqe,defaultMatchWidth:"wide",parsePatterns:Hqe,defaultParseWidth:"any"}),day:se({matchPatterns:Vqe,defaultMatchWidth:"wide",parsePatterns:Gqe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Yqe,defaultMatchWidth:"any",parsePatterns:Kqe,defaultParseWidth:"any"})},Qqe={code:"ar-SA",formatDistance:Tqe,formatLong:_qe,formatRelative:Rqe,localize:Lqe,match:Xqe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Zqe=Object.freeze(Object.defineProperty({__proto__:null,default:Qqe},Symbol.toStringTag,{value:"Module"})),Jqe=jt(Zqe);function c1(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function _o(e){return function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?c1(e.future,t):"праз "+c1(e.regular,t):e.past?c1(e.past,t):c1(e.regular,t)+" таму":c1(e.regular,t)}}var eHe=function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны"},tHe={lessThanXSeconds:_o({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:_o({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:eHe,lessThanXMinutes:_o({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:_o({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:_o({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:_o({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:_o({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:_o({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xWeeks:_o({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXMonths:_o({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:_o({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:_o({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:_o({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:_o({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:_o({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},nHe=function(t,n,r){return r=r||{},tHe[t](n,r)},rHe={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},aHe={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},iHe={any:"{{date}}, {{time}}"},oHe={date:Ne({formats:rHe,defaultWidth:"full"}),time:Ne({formats:aHe,defaultWidth:"full"}),dateTime:Ne({formats:iHe,defaultWidth:"any"})};function bi(e,t,n){me(2,arguments);var r=jd(e,n),a=jd(t,n);return r.getTime()===a.getTime()}var Tj=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function sHe(e){var t=Tj[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+t+" а' p";case 1:case 2:case 4:return"'у мінулы "+t+" а' p"}}function Ire(e){var t=Tj[e];return"'у "+t+" а' p"}function lHe(e){var t=Tj[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+t+" а' p";case 1:case 2:case 4:return"'у наступны "+t+" а' p"}}var uHe=function(t,n,r){var a=Re(t),i=a.getUTCDay();return bi(a,n,r)?Ire(i):sHe(i)},cHe=function(t,n,r){var a=Re(t),i=a.getUTCDay();return bi(a,n,r)?Ire(i):lHe(i)},dHe={lastWeek:uHe,yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:cHe,other:"P"},fHe=function(t,n,r,a){var i=dHe[t];return typeof i=="function"?i(n,r,a):i},pHe={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},mHe={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},hHe={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},gHe={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},vHe={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},yHe={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},bHe={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},wHe=function(t,n){var r=String(n==null?void 0:n.unit),a=Number(t),i;return r==="date"?i="-га":r==="hour"||r==="minute"||r==="second"?i="-я":i=(a%10===2||a%10===3)&&a%100!==12&&a%100!==13?"-і":"-ы",a+i},SHe={ordinalNumber:wHe,era:oe({values:pHe,defaultWidth:"wide"}),quarter:oe({values:mHe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:hHe,defaultWidth:"wide",formattingValues:gHe,defaultFormattingWidth:"wide"}),day:oe({values:vHe,defaultWidth:"wide"}),dayPeriod:oe({values:yHe,defaultWidth:"any",formattingValues:bHe,defaultFormattingWidth:"wide"})},EHe=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,THe=/\d+/i,CHe={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},kHe={any:[/^д/i,/^н/i]},xHe={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},_He={any:[/1/i,/2/i,/3/i,/4/i]},OHe={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},RHe={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]},PHe={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},AHe={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},NHe={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},MHe={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},IHe={ordinalNumber:Xt({matchPattern:EHe,parsePattern:THe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:CHe,defaultMatchWidth:"wide",parsePatterns:kHe,defaultParseWidth:"any"}),quarter:se({matchPatterns:xHe,defaultMatchWidth:"wide",parsePatterns:_He,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:OHe,defaultMatchWidth:"wide",parsePatterns:RHe,defaultParseWidth:"any"}),day:se({matchPatterns:PHe,defaultMatchWidth:"wide",parsePatterns:AHe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:NHe,defaultMatchWidth:"wide",parsePatterns:MHe,defaultParseWidth:"any"})},DHe={code:"be",formatDistance:nHe,formatLong:oHe,formatRelative:fHe,localize:SHe,match:IHe,options:{weekStartsOn:1,firstWeekContainsDate:1}};const $He=Object.freeze(Object.defineProperty({__proto__:null,default:DHe},Symbol.toStringTag,{value:"Module"})),LHe=jt($He);var FHe={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXWeeks:{one:"около седмица",other:"около {{count}} седмици"},xWeeks:{one:"1 седмица",other:"{{count}} седмици"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}},jHe=function(t,n,r){var a,i=FHe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"след "+a:"преди "+a:a},UHe={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},BHe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},WHe={any:"{{date}} {{time}}"},zHe={date:Ne({formats:UHe,defaultWidth:"full"}),time:Ne({formats:BHe,defaultWidth:"full"}),dateTime:Ne({formats:WHe,defaultWidth:"any"})},Cj=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function qHe(e){var t=Cj[e];switch(e){case 0:case 3:case 6:return"'миналата "+t+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+t+" в' p"}}function Dre(e){var t=Cj[e];return e===2?"'във "+t+" в' p":"'в "+t+" в' p"}function HHe(e){var t=Cj[e];switch(e){case 0:case 3:case 6:return"'следващата "+t+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+t+" в' p"}}var VHe=function(t,n,r){var a=Re(t),i=a.getUTCDay();return bi(a,n,r)?Dre(i):qHe(i)},GHe=function(t,n,r){var a=Re(t),i=a.getUTCDay();return bi(a,n,r)?Dre(i):HHe(i)},YHe={lastWeek:VHe,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:GHe,other:"P"},KHe=function(t,n,r,a){var i=YHe[t];return typeof i=="function"?i(n,r,a):i},XHe={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},QHe={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},ZHe={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},JHe={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},e7e={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function t7e(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function n7e(e){return e==="quarter"}function kg(e,t,n,r,a){var i=n7e(t)?a:t7e(t)?r:n;return e+"-"+i}var r7e=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(r===0)return kg(0,a,"ев","ева","ево");if(r%1e3===0)return kg(r,a,"ен","на","но");if(r%100===0)return kg(r,a,"тен","тна","тно");var i=r%100;if(i>20||i<10)switch(i%10){case 1:return kg(r,a,"ви","ва","во");case 2:return kg(r,a,"ри","ра","ро");case 7:case 8:return kg(r,a,"ми","ма","мо")}return kg(r,a,"ти","та","то")},a7e={ordinalNumber:r7e,era:oe({values:XHe,defaultWidth:"wide"}),quarter:oe({values:QHe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ZHe,defaultWidth:"wide"}),day:oe({values:JHe,defaultWidth:"wide"}),dayPeriod:oe({values:e7e,defaultWidth:"wide"})},i7e=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,o7e=/\d+/i,s7e={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},l7e={any:[/^п/i,/^н/i]},u7e={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},c7e={any:[/1/i,/2/i,/3/i,/4/i]},d7e={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},f7e={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},p7e={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},m7e={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},h7e={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},g7e={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},v7e={ordinalNumber:Xt({matchPattern:i7e,parsePattern:o7e,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:s7e,defaultMatchWidth:"wide",parsePatterns:l7e,defaultParseWidth:"any"}),quarter:se({matchPatterns:u7e,defaultMatchWidth:"wide",parsePatterns:c7e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:p7e,defaultMatchWidth:"wide",parsePatterns:m7e,defaultParseWidth:"any"}),day:se({matchPatterns:d7e,defaultMatchWidth:"wide",parsePatterns:f7e,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:h7e,defaultMatchWidth:"any",parsePatterns:g7e,defaultParseWidth:"any"})},y7e={code:"bg",formatDistance:jHe,formatLong:zHe,formatRelative:KHe,localize:a7e,match:v7e,options:{weekStartsOn:1,firstWeekContainsDate:1}};const b7e=Object.freeze(Object.defineProperty({__proto__:null,default:y7e},Symbol.toStringTag,{value:"Module"})),w7e=jt(b7e);var S7e={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}},E7e={narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},T7e={narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},C7e={narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},k7e={narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},x7e={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},_7e={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}};function O7e(e,t){if(e>18&&e<=31)return t+"শে";switch(e){case 1:return t+"লা";case 2:case 3:return t+"রা";case 4:return t+"ঠা";default:return t+"ই"}}var R7e=function(t,n){var r=Number(t),a=$re(r),i=n==null?void 0:n.unit;if(i==="date")return O7e(r,a);if(r>10||r===0)return a+"তম";var o=r%10;switch(o){case 2:case 3:return a+"য়";case 4:return a+"র্থ";case 6:return a+"ষ্ঠ";default:return a+"ম"}};function $re(e){return e.toString().replace(/\d/g,function(t){return S7e.locale[t]})}var P7e={ordinalNumber:R7e,era:oe({values:E7e,defaultWidth:"wide"}),quarter:oe({values:T7e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:C7e,defaultWidth:"wide"}),day:oe({values:k7e,defaultWidth:"wide"}),dayPeriod:oe({values:x7e,defaultWidth:"wide",formattingValues:_7e,defaultFormattingWidth:"wide"})},A7e={lessThanXSeconds:{one:"প্রায় ১ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"১ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় ১ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"১ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় ১ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"১ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"১ দিন",other:"{{count}} দিন"},aboutXWeeks:{one:"প্রায় ১ সপ্তাহ",other:"প্রায় {{count}} সপ্তাহ"},xWeeks:{one:"১ সপ্তাহ",other:"{{count}} সপ্তাহ"},aboutXMonths:{one:"প্রায় ১ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"১ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"১ বছর",other:"{{count}} বছর"},overXYears:{one:"১ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"}},N7e=function(t,n,r){var a,i=A7e[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",$re(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" এর মধ্যে":a+" আগে":a},M7e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},I7e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},D7e={full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$7e={date:Ne({formats:M7e,defaultWidth:"full"}),time:Ne({formats:I7e,defaultWidth:"full"}),dateTime:Ne({formats:D7e,defaultWidth:"full"})},L7e={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},F7e=function(t,n,r,a){return L7e[t]},j7e=/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,U7e=/\d+/i,B7e={narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},W7e={narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},z7e={narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},q7e={any:[/১/i,/২/i,/৩/i,/৪/i]},H7e={narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},V7e={any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},G7e={narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},Y7e={narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},K7e={narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},X7e={any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},Q7e={ordinalNumber:Xt({matchPattern:j7e,parsePattern:U7e,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:B7e,defaultMatchWidth:"wide",parsePatterns:W7e,defaultParseWidth:"wide"}),quarter:se({matchPatterns:z7e,defaultMatchWidth:"wide",parsePatterns:q7e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:H7e,defaultMatchWidth:"wide",parsePatterns:V7e,defaultParseWidth:"any"}),day:se({matchPatterns:G7e,defaultMatchWidth:"wide",parsePatterns:Y7e,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:K7e,defaultMatchWidth:"wide",parsePatterns:X7e,defaultParseWidth:"any"})},Z7e={code:"bn",formatDistance:N7e,formatLong:$7e,formatRelative:F7e,localize:P7e,match:Q7e,options:{weekStartsOn:0,firstWeekContainsDate:1}};const J7e=Object.freeze(Object.defineProperty({__proto__:null,default:Z7e},Symbol.toStringTag,{value:"Module"})),eVe=jt(J7e);var tVe={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},nVe=function(t,n,r){var a,i=tVe[t];return typeof i=="string"?a=i:n===1?a=i.one:n===11&&i.eleven?a=i.eleven:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"fa "+a:a},rVe={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},aVe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},iVe={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oVe={date:Ne({formats:rVe,defaultWidth:"full"}),time:Ne({formats:aVe,defaultWidth:"full"}),dateTime:Ne({formats:iVe,defaultWidth:"full"})},sVe={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},lVe={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"},uVe=function(t,n,r,a){return n.getUTCHours()!==1?lVe[t]:sVe[t]},cVe={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},dVe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},fVe={narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},pVe={narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},mVe={narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},hVe={narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},gVe=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"r";case 2:return r+"n";case 3:return r+"r";case 4:return r+"t"}return r+"è"},vVe={ordinalNumber:gVe,era:oe({values:cVe,defaultWidth:"wide"}),quarter:oe({values:dVe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:fVe,defaultWidth:"wide"}),day:oe({values:pVe,defaultWidth:"wide"}),dayPeriod:oe({values:mVe,defaultWidth:"wide",formattingValues:hVe,defaultFormattingWidth:"wide"})},yVe=/^(\d+)(è|r|n|r|t)?/i,bVe=/\d+/i,wVe={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},SVe={narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},EVe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},TVe={any:[/1/i,/2/i,/3/i,/4/i]},CVe={narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},kVe={narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},xVe={narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},_Ve={narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},OVe={narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},RVe={any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},PVe={ordinalNumber:Xt({matchPattern:yVe,parsePattern:bVe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:wVe,defaultMatchWidth:"wide",parsePatterns:SVe,defaultParseWidth:"wide"}),quarter:se({matchPatterns:EVe,defaultMatchWidth:"wide",parsePatterns:TVe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:CVe,defaultMatchWidth:"wide",parsePatterns:kVe,defaultParseWidth:"wide"}),day:se({matchPatterns:xVe,defaultMatchWidth:"wide",parsePatterns:_Ve,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:OVe,defaultMatchWidth:"wide",parsePatterns:RVe,defaultParseWidth:"any"})},AVe={code:"ca",formatDistance:nVe,formatLong:oVe,formatRelative:uVe,localize:vVe,match:PVe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const NVe=Object.freeze(Object.defineProperty({__proto__:null,default:AVe},Symbol.toStringTag,{value:"Module"})),MVe=jt(NVe);var IVe={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},DVe=function(t,n,r){var a,i=IVe[t];i.type==="other"?a=i.other:n===1?a=i.one:n>1&&n<5?a=i.few:a=i.many;var o=(r==null?void 0:r.addSuffix)===!0,l=r==null?void 0:r.comparison,u;return o&&l===-1?u=a.past:o&&l===1?u=a.future:u=a.regular,u.replace("{{count}}",String(n))},$Ve={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},LVe={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},FVe={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},jVe={date:Ne({formats:$Ve,defaultWidth:"full"}),time:Ne({formats:LVe,defaultWidth:"full"}),dateTime:Ne({formats:FVe,defaultWidth:"full"})},UVe=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],BVe={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(t){var n=t.getUTCDay();return"'v "+UVe[n]+" o' p"},other:"P"},WVe=function(t,n){var r=BVe[t];return typeof r=="function"?r(n):r},zVe={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},qVe={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},HVe={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},VVe={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},GVe={narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},YVe={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},KVe={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},XVe=function(t,n){var r=Number(t);return r+"."},QVe={ordinalNumber:XVe,era:oe({values:zVe,defaultWidth:"wide"}),quarter:oe({values:qVe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:HVe,defaultWidth:"wide",formattingValues:VVe,defaultFormattingWidth:"wide"}),day:oe({values:GVe,defaultWidth:"wide"}),dayPeriod:oe({values:YVe,defaultWidth:"wide",formattingValues:KVe,defaultFormattingWidth:"wide"})},ZVe=/^(\d+)\.?/i,JVe=/\d+/i,eGe={narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},tGe={any:[/^p[řr]/i,/^(po|n)/i]},nGe={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},rGe={any:[/1/i,/2/i,/3/i,/4/i]},aGe={narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},iGe={narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},oGe={narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},sGe={narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},lGe={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},uGe={any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},cGe={ordinalNumber:Xt({matchPattern:ZVe,parsePattern:JVe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:eGe,defaultMatchWidth:"wide",parsePatterns:tGe,defaultParseWidth:"any"}),quarter:se({matchPatterns:nGe,defaultMatchWidth:"wide",parsePatterns:rGe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:aGe,defaultMatchWidth:"wide",parsePatterns:iGe,defaultParseWidth:"any"}),day:se({matchPatterns:oGe,defaultMatchWidth:"wide",parsePatterns:sGe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:lGe,defaultMatchWidth:"any",parsePatterns:uGe,defaultParseWidth:"any"})},dGe={code:"cs",formatDistance:DVe,formatLong:jVe,formatRelative:WVe,localize:QVe,match:cGe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const fGe=Object.freeze(Object.defineProperty({__proto__:null,default:dGe},Symbol.toStringTag,{value:"Module"})),pGe=jt(fGe);var mGe={lessThanXSeconds:{one:"llai na eiliad",other:"llai na {{count}} eiliad"},xSeconds:{one:"1 eiliad",other:"{{count}} eiliad"},halfAMinute:"hanner munud",lessThanXMinutes:{one:"llai na munud",two:"llai na 2 funud",other:"llai na {{count}} munud"},xMinutes:{one:"1 munud",two:"2 funud",other:"{{count}} munud"},aboutXHours:{one:"tua 1 awr",other:"tua {{count}} awr"},xHours:{one:"1 awr",other:"{{count}} awr"},xDays:{one:"1 diwrnod",two:"2 ddiwrnod",other:"{{count}} diwrnod"},aboutXWeeks:{one:"tua 1 wythnos",two:"tua pythefnos",other:"tua {{count}} wythnos"},xWeeks:{one:"1 wythnos",two:"pythefnos",other:"{{count}} wythnos"},aboutXMonths:{one:"tua 1 mis",two:"tua 2 fis",other:"tua {{count}} mis"},xMonths:{one:"1 mis",two:"2 fis",other:"{{count}} mis"},aboutXYears:{one:"tua 1 flwyddyn",two:"tua 2 flynedd",other:"tua {{count}} mlynedd"},xYears:{one:"1 flwyddyn",two:"2 flynedd",other:"{{count}} mlynedd"},overXYears:{one:"dros 1 flwyddyn",two:"dros 2 flynedd",other:"dros {{count}} mlynedd"},almostXYears:{one:"bron 1 flwyddyn",two:"bron 2 flynedd",other:"bron {{count}} mlynedd"}},hGe=function(t,n,r){var a,i=mGe[t];return typeof i=="string"?a=i:n===1?a=i.one:n===2&&i.two?a=i.two:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"mewn "+a:a+" yn ôl":a},gGe={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},vGe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},yGe={full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bGe={date:Ne({formats:gGe,defaultWidth:"full"}),time:Ne({formats:vGe,defaultWidth:"full"}),dateTime:Ne({formats:yGe,defaultWidth:"full"})},wGe={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"},SGe=function(t,n,r,a){return wGe[t]},EGe={narrow:["C","O"],abbreviated:["CC","OC"],wide:["Cyn Crist","Ar ôl Crist"]},TGe={narrow:["1","2","3","4"],abbreviated:["Ch1","Ch2","Ch3","Ch4"],wide:["Chwarter 1af","2ail chwarter","3ydd chwarter","4ydd chwarter"]},CGe={narrow:["I","Ch","Ma","E","Mi","Me","G","A","Md","H","T","Rh"],abbreviated:["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag"],wide:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"]},kGe={narrow:["S","Ll","M","M","I","G","S"],short:["Su","Ll","Ma","Me","Ia","Gw","Sa"],abbreviated:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],wide:["dydd Sul","dydd Llun","dydd Mawrth","dydd Mercher","dydd Iau","dydd Gwener","dydd Sadwrn"]},xGe={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"}},_Ge={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"}},OGe=function(t,n){var r=Number(t);if(r<20)switch(r){case 0:return r+"fed";case 1:return r+"af";case 2:return r+"ail";case 3:case 4:return r+"ydd";case 5:case 6:return r+"ed";case 7:case 8:case 9:case 10:case 12:case 15:case 18:return r+"fed";case 11:case 13:case 14:case 16:case 17:case 19:return r+"eg"}else if(r>=50&&r<=60||r===80||r>=100)return r+"fed";return r+"ain"},RGe={ordinalNumber:OGe,era:oe({values:EGe,defaultWidth:"wide"}),quarter:oe({values:TGe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:CGe,defaultWidth:"wide"}),day:oe({values:kGe,defaultWidth:"wide"}),dayPeriod:oe({values:xGe,defaultWidth:"wide",formattingValues:_Ge,defaultFormattingWidth:"wide"})},PGe=/^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i,AGe=/\d+/i,NGe={narrow:/^(c|o)/i,abbreviated:/^(c\.?\s?c\.?|o\.?\s?c\.?)/i,wide:/^(cyn christ|ar ôl crist|ar ol crist)/i},MGe={wide:[/^c/i,/^(ar ôl crist|ar ol crist)/i],any:[/^c/i,/^o/i]},IGe={narrow:/^[1234]/i,abbreviated:/^ch[1234]/i,wide:/^(chwarter 1af)|([234](ail|ydd)? chwarter)/i},DGe={any:[/1/i,/2/i,/3/i,/4/i]},$Ge={narrow:/^(i|ch|m|e|g|a|h|t|rh)/i,abbreviated:/^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,wide:/^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i},LGe={narrow:[/^i/i,/^ch/i,/^m/i,/^e/i,/^m/i,/^m/i,/^g/i,/^a/i,/^m/i,/^h/i,/^t/i,/^rh/i],any:[/^io/i,/^ch/i,/^maw/i,/^e/i,/^mai/i,/^meh/i,/^g/i,/^a/i,/^med/i,/^h/i,/^t/i,/^rh/i]},FGe={narrow:/^(s|ll|m|i|g)/i,short:/^(su|ll|ma|me|ia|gw|sa)/i,abbreviated:/^(sul|llun|maw|mer|iau|gwe|sad)/i,wide:/^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i},jGe={narrow:[/^s/i,/^ll/i,/^m/i,/^m/i,/^i/i,/^g/i,/^s/i],wide:[/^dydd su/i,/^dydd ll/i,/^dydd ma/i,/^dydd me/i,/^dydd i/i,/^dydd g/i,/^dydd sa/i],any:[/^su/i,/^ll/i,/^ma/i,/^me/i,/^i/i,/^g/i,/^sa/i]},UGe={narrow:/^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,any:/^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i},BGe={any:{am:/^b|(y\.?\s?b\.?)/i,pm:/^h|(y\.?\s?h\.?)|(yr hwyr)/i,midnight:/^hn|hanner nos/i,noon:/^hd|hanner dydd/i,morning:/bore/i,afternoon:/prynhawn/i,evening:/^gyda'r nos$/i,night:/blah/i}},WGe={ordinalNumber:Xt({matchPattern:PGe,parsePattern:AGe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:NGe,defaultMatchWidth:"wide",parsePatterns:MGe,defaultParseWidth:"any"}),quarter:se({matchPatterns:IGe,defaultMatchWidth:"wide",parsePatterns:DGe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:$Ge,defaultMatchWidth:"wide",parsePatterns:LGe,defaultParseWidth:"any"}),day:se({matchPatterns:FGe,defaultMatchWidth:"wide",parsePatterns:jGe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:UGe,defaultMatchWidth:"any",parsePatterns:BGe,defaultParseWidth:"any"})},zGe={code:"cy",formatDistance:hGe,formatLong:bGe,formatRelative:SGe,localize:RGe,match:WGe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const qGe=Object.freeze(Object.defineProperty({__proto__:null,default:zGe},Symbol.toStringTag,{value:"Module"})),HGe=jt(qGe);var VGe={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},GGe=function(t,n,r){var a,i=VGe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" siden":a},YGe={full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},KGe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},XGe={full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},QGe={date:Ne({formats:YGe,defaultWidth:"full"}),time:Ne({formats:KGe,defaultWidth:"full"}),dateTime:Ne({formats:XGe,defaultWidth:"full"})},ZGe={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"},JGe=function(t,n,r,a){return ZGe[t]},eYe={narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},tYe={narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},nYe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},rYe={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},aYe={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},iYe={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},oYe=function(t,n){var r=Number(t);return r+"."},sYe={ordinalNumber:oYe,era:oe({values:eYe,defaultWidth:"wide"}),quarter:oe({values:tYe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:nYe,defaultWidth:"wide"}),day:oe({values:rYe,defaultWidth:"wide"}),dayPeriod:oe({values:aYe,defaultWidth:"wide",formattingValues:iYe,defaultFormattingWidth:"wide"})},lYe=/^(\d+)(\.)?/i,uYe=/\d+/i,cYe={narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},dYe={any:[/^f/i,/^(v|e)/i]},fYe={narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},pYe={any:[/1/i,/2/i,/3/i,/4/i]},mYe={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},hYe={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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},gYe={narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},vYe={narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},yYe={narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},bYe={any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},wYe={ordinalNumber:Xt({matchPattern:lYe,parsePattern:uYe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:cYe,defaultMatchWidth:"wide",parsePatterns:dYe,defaultParseWidth:"any"}),quarter:se({matchPatterns:fYe,defaultMatchWidth:"wide",parsePatterns:pYe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:mYe,defaultMatchWidth:"wide",parsePatterns:hYe,defaultParseWidth:"any"}),day:se({matchPatterns:gYe,defaultMatchWidth:"wide",parsePatterns:vYe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:yYe,defaultMatchWidth:"any",parsePatterns:bYe,defaultParseWidth:"any"})},SYe={code:"da",formatDistance:GGe,formatLong:QGe,formatRelative:JGe,localize:sYe,match:wYe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const EYe=Object.freeze(Object.defineProperty({__proto__:null,default:SYe},Symbol.toStringTag,{value:"Module"})),TYe=jt(EYe);var IV={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:"halbe Minute",withPreposition:"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"}}},CYe=function(t,n,r){var a,i=r!=null&&r.addSuffix?IV[t].withPreposition:IV[t].standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:"vor "+a:a},kYe={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},xYe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_Ye={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},OYe={date:Ne({formats:kYe,defaultWidth:"full"}),time:Ne({formats:xYe,defaultWidth:"full"}),dateTime:Ne({formats:_Ye,defaultWidth:"full"})},RYe={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},PYe=function(t,n,r,a){return RYe[t]},AYe={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},NYe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},LL={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},MYe={narrow:LL.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:LL.wide},IYe={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"]},DYe={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"}},$Ye={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"}},LYe=function(t){var n=Number(t);return n+"."},FYe={ordinalNumber:LYe,era:oe({values:AYe,defaultWidth:"wide"}),quarter:oe({values:NYe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:LL,formattingValues:MYe,defaultWidth:"wide"}),day:oe({values:IYe,defaultWidth:"wide"}),dayPeriod:oe({values:DYe,defaultWidth:"wide",formattingValues:$Ye,defaultFormattingWidth:"wide"})},jYe=/^(\d+)(\.)?/i,UYe=/\d+/i,BYe={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},WYe={any:[/^v/i,/^n/i]},zYe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},qYe={any:[/1/i,/2/i,/3/i,/4/i]},HYe={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},VYe={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]},GYe={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},YYe={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},KYe={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},XYe={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}},QYe={ordinalNumber:Xt({matchPattern:jYe,parsePattern:UYe,valueCallback:function(t){return parseInt(t)}}),era:se({matchPatterns:BYe,defaultMatchWidth:"wide",parsePatterns:WYe,defaultParseWidth:"any"}),quarter:se({matchPatterns:zYe,defaultMatchWidth:"wide",parsePatterns:qYe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:HYe,defaultMatchWidth:"wide",parsePatterns:VYe,defaultParseWidth:"any"}),day:se({matchPatterns:GYe,defaultMatchWidth:"wide",parsePatterns:YYe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:KYe,defaultMatchWidth:"wide",parsePatterns:XYe,defaultParseWidth:"any"})},ZYe={code:"de",formatDistance:CYe,formatLong:OYe,formatRelative:PYe,localize:FYe,match:QYe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const JYe=Object.freeze(Object.defineProperty({__proto__:null,default:ZYe},Symbol.toStringTag,{value:"Module"})),eKe=jt(JYe);var tKe={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXWeeks:{one:"περίπου 1 εβδομάδα",other:"περίπου {{count}} εβδομάδες"},xWeeks:{one:"1 εβδομάδα",other:"{{count}} εβδομάδες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}},nKe=function(t,n,r){var a,i=tKe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"σε "+a:a+" πριν":a},rKe={full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},aKe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iKe={full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oKe={date:Ne({formats:rKe,defaultWidth:"full"}),time:Ne({formats:aKe,defaultWidth:"full"}),dateTime:Ne({formats:iKe,defaultWidth:"full"})},sKe={lastWeek:function(t){switch(t.getUTCDay()){case 6:return"'το προηγούμενο' eeee 'στις' p";default:return"'την προηγούμενη' eeee 'στις' p"}},yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},lKe=function(t,n){var r=sKe[t];return typeof r=="function"?r(n):r},uKe={narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},cKe={narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},dKe={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},fKe={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},pKe={narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},mKe={narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},hKe=function(t,n){var r=Number(t),a=n==null?void 0:n.unit,i;return a==="year"||a==="month"?i="ος":a==="week"||a==="dayOfYear"||a==="day"||a==="hour"||a==="date"?i="η":i="ο",r+i},gKe={ordinalNumber:hKe,era:oe({values:uKe,defaultWidth:"wide"}),quarter:oe({values:cKe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:dKe,defaultWidth:"wide",formattingValues:fKe,defaultFormattingWidth:"wide"}),day:oe({values:pKe,defaultWidth:"wide"}),dayPeriod:oe({values:mKe,defaultWidth:"wide"})},vKe=/^(\d+)(ος|η|ο)?/i,yKe=/\d+/i,bKe={narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},wKe={any:[/^π/i,/^(μ|κ)/i]},SKe={narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},EKe={any:[/1/i,/2/i,/3/i,/4/i]},TKe={narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},CKe={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]},kKe={narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},xKe={narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},_Ke={narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},OKe={any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},RKe={ordinalNumber:Xt({matchPattern:vKe,parsePattern:yKe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:bKe,defaultMatchWidth:"wide",parsePatterns:wKe,defaultParseWidth:"any"}),quarter:se({matchPatterns:SKe,defaultMatchWidth:"wide",parsePatterns:EKe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:TKe,defaultMatchWidth:"wide",parsePatterns:CKe,defaultParseWidth:"any"}),day:se({matchPatterns:kKe,defaultMatchWidth:"wide",parsePatterns:xKe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:_Ke,defaultMatchWidth:"any",parsePatterns:OKe,defaultParseWidth:"any"})},PKe={code:"el",formatDistance:nKe,formatLong:oKe,formatRelative:lKe,localize:gKe,match:RKe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const AKe=Object.freeze(Object.defineProperty({__proto__:null,default:PKe},Symbol.toStringTag,{value:"Module"})),NKe=jt(AKe);var MKe={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},IKe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},DKe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$Ke={date:Ne({formats:MKe,defaultWidth:"full"}),time:Ne({formats:IKe,defaultWidth:"full"}),dateTime:Ne({formats:DKe,defaultWidth:"full"})},LKe={code:"en-AU",formatDistance:yj,formatLong:$Ke,formatRelative:a_,localize:i_,match:o_,options:{weekStartsOn:1,firstWeekContainsDate:4}};const FKe=Object.freeze(Object.defineProperty({__proto__:null,default:LKe},Symbol.toStringTag,{value:"Module"})),jKe=jt(FKe);var UKe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"a second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"a minute",other:"{{count}} minutes"},aboutXHours:{one:"about an hour",other:"about {{count}} hours"},xHours:{one:"an hour",other:"{{count}} hours"},xDays:{one:"a day",other:"{{count}} days"},aboutXWeeks:{one:"about a week",other:"about {{count}} weeks"},xWeeks:{one:"a week",other:"{{count}} weeks"},aboutXMonths:{one:"about a month",other:"about {{count}} months"},xMonths:{one:"a month",other:"{{count}} months"},aboutXYears:{one:"about a year",other:"about {{count}} years"},xYears:{one:"a year",other:"{{count}} years"},overXYears:{one:"over a year",other:"over {{count}} years"},almostXYears:{one:"almost a year",other:"almost {{count}} years"}},BKe=function(t,n,r){var a,i=UKe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a},WKe={full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},zKe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qKe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},HKe={date:Ne({formats:WKe,defaultWidth:"full"}),time:Ne({formats:zKe,defaultWidth:"full"}),dateTime:Ne({formats:qKe,defaultWidth:"full"})},VKe={code:"en-CA",formatDistance:BKe,formatLong:HKe,formatRelative:a_,localize:i_,match:o_,options:{weekStartsOn:0,firstWeekContainsDate:1}};const GKe=Object.freeze(Object.defineProperty({__proto__:null,default:VKe},Symbol.toStringTag,{value:"Module"})),YKe=jt(GKe);var KKe={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},XKe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},QKe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ZKe={date:Ne({formats:KKe,defaultWidth:"full"}),time:Ne({formats:XKe,defaultWidth:"full"}),dateTime:Ne({formats:QKe,defaultWidth:"full"})},JKe={code:"en-GB",formatDistance:yj,formatLong:ZKe,formatRelative:a_,localize:i_,match:o_,options:{weekStartsOn:1,firstWeekContainsDate:4}};const eXe=Object.freeze(Object.defineProperty({__proto__:null,default:JKe},Symbol.toStringTag,{value:"Module"})),tXe=jt(eXe);var nXe={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xWeeks:{one:"1 semajno",other:"{{count}} semajnoj"},aboutXWeeks:{one:"proksimume 1 semajno",other:"proksimume {{count}} semajnoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}},rXe=function(t,n,r){var a,i=nXe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r!=null&&r.comparison&&r.comparison>0?"post "+a:"antaŭ "+a:a},aXe={full:"EEEE, do 'de' MMMM y",long:"y-MMMM-dd",medium:"y-MMM-dd",short:"yyyy-MM-dd"},iXe={full:"Ho 'horo kaj' m:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oXe={any:"{{date}} {{time}}"},sXe={date:Ne({formats:aXe,defaultWidth:"full"}),time:Ne({formats:iXe,defaultWidth:"full"}),dateTime:Ne({formats:oXe,defaultWidth:"any"})},lXe={lastWeek:"'pasinta' eeee 'je' p",yesterday:"'hieraŭ je' p",today:"'hodiaŭ je' p",tomorrow:"'morgaŭ je' p",nextWeek:"eeee 'je' p",other:"P"},uXe=function(t,n,r,a){return lXe[t]},cXe={narrow:["aK","pK"],abbreviated:["a.K.E.","p.K.E."],wide:["antaŭ Komuna Erao","Komuna Erao"]},dXe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1-a kvaronjaro","2-a kvaronjaro","3-a kvaronjaro","4-a kvaronjaro"]},fXe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],wide:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"]},pXe={narrow:["D","L","M","M","Ĵ","V","S"],short:["di","lu","ma","me","ĵa","ve","sa"],abbreviated:["dim","lun","mar","mer","ĵaŭ","ven","sab"],wide:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"]},mXe={narrow:{am:"a",pm:"p",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},abbreviated:{am:"a.t.m.",pm:"p.t.m.",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},wide:{am:"antaŭtagmeze",pm:"posttagmeze",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"}},hXe=function(t){var n=Number(t);return n+"-a"},gXe={ordinalNumber:hXe,era:oe({values:cXe,defaultWidth:"wide"}),quarter:oe({values:dXe,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:fXe,defaultWidth:"wide"}),day:oe({values:pXe,defaultWidth:"wide"}),dayPeriod:oe({values:mXe,defaultWidth:"wide"})},vXe=/^(\d+)(-?a)?/i,yXe=/\d+/i,bXe={narrow:/^([ap]k)/i,abbreviated:/^([ap]\.?\s?k\.?\s?e\.?)/i,wide:/^((antaǔ |post )?komuna erao)/i},wXe={any:[/^a/i,/^[kp]/i]},SXe={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](-?a)? kvaronjaro/i},EXe={any:[/1/i,/2/i,/3/i,/4/i]},TXe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,wide:/^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i},CXe={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,/^maj/i,/^jun/i,/^jul/i,/^a(u|ŭ)/i,/^s/i,/^o/i,/^n/i,/^d/i]},kXe={narrow:/^[dlmĵjvs]/i,short:/^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,wide:/^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i},xXe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^(j|ĵ)/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^(j|ĵ)/i,/^v/i,/^s/i]},_Xe={narrow:/^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,abbreviated:/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,wide:/^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i},OXe={any:{am:/^a/i,pm:/^p/i,midnight:/^noktom/i,noon:/^t/i,morning:/^m/i,afternoon:/^posttagmeze/i,evening:/^v/i,night:/^n/i}},RXe={ordinalNumber:Xt({matchPattern:vXe,parsePattern:yXe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:bXe,defaultMatchWidth:"wide",parsePatterns:wXe,defaultParseWidth:"any"}),quarter:se({matchPatterns:SXe,defaultMatchWidth:"wide",parsePatterns:EXe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:TXe,defaultMatchWidth:"wide",parsePatterns:CXe,defaultParseWidth:"any"}),day:se({matchPatterns:kXe,defaultMatchWidth:"wide",parsePatterns:xXe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:_Xe,defaultMatchWidth:"wide",parsePatterns:OXe,defaultParseWidth:"any"})},PXe={code:"eo",formatDistance:rXe,formatLong:sXe,formatRelative:uXe,localize:gXe,match:RXe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const AXe=Object.freeze(Object.defineProperty({__proto__:null,default:PXe},Symbol.toStringTag,{value:"Module"})),NXe=jt(AXe);var MXe={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ía",other:"{{count}} días"},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ño",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},IXe=function(t,n,r){var a,i=MXe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"hace "+a:a},DXe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},$Xe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},LXe={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},FXe={date:Ne({formats:DXe,defaultWidth:"full"}),time:Ne({formats:$Xe,defaultWidth:"full"}),dateTime:Ne({formats:LXe,defaultWidth:"full"})},jXe={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},UXe={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},BXe=function(t,n,r,a){return n.getUTCHours()!==1?UXe[t]:jXe[t]},WXe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},zXe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},qXe={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"]},HXe={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},VXe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},GXe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",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ñana",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ñana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},YXe=function(t,n){var r=Number(t);return r+"º"},KXe={ordinalNumber:YXe,era:oe({values:WXe,defaultWidth:"wide"}),quarter:oe({values:zXe,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:qXe,defaultWidth:"wide"}),day:oe({values:HXe,defaultWidth:"wide"}),dayPeriod:oe({values:VXe,defaultWidth:"wide",formattingValues:GXe,defaultFormattingWidth:"wide"})},XXe=/^(\d+)(º)?/i,QXe=/\d+/i,ZXe={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},JXe={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]},eQe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},tQe={any:[/1/i,/2/i,/3/i,/4/i]},nQe={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},rQe={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]},aQe={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},iQe={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]},oQe={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},sQe={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}},lQe={ordinalNumber:Xt({matchPattern:XXe,parsePattern:QXe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:ZXe,defaultMatchWidth:"wide",parsePatterns:JXe,defaultParseWidth:"any"}),quarter:se({matchPatterns:eQe,defaultMatchWidth:"wide",parsePatterns:tQe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:nQe,defaultMatchWidth:"wide",parsePatterns:rQe,defaultParseWidth:"any"}),day:se({matchPatterns:aQe,defaultMatchWidth:"wide",parsePatterns:iQe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:oQe,defaultMatchWidth:"any",parsePatterns:sQe,defaultParseWidth:"any"})},uQe={code:"es",formatDistance:IXe,formatLong:FXe,formatRelative:BXe,localize:KXe,match:lQe,options:{weekStartsOn:1,firstWeekContainsDate:1}};const cQe=Object.freeze(Object.defineProperty({__proto__:null,default:uQe},Symbol.toStringTag,{value:"Module"})),dQe=jt(cQe);var DV={lessThanXSeconds:{standalone:{one:"vähem kui üks sekund",other:"vähem kui {{count}} sekundit"},withPreposition:{one:"vähem kui ühe sekundi",other:"vähem kui {{count}} sekundi"}},xSeconds:{standalone:{one:"üks sekund",other:"{{count}} sekundit"},withPreposition:{one:"ühe sekundi",other:"{{count}} sekundi"}},halfAMinute:{standalone:"pool minutit",withPreposition:"poole minuti"},lessThanXMinutes:{standalone:{one:"vähem kui üks minut",other:"vähem kui {{count}} minutit"},withPreposition:{one:"vähem kui ühe minuti",other:"vähem kui {{count}} minuti"}},xMinutes:{standalone:{one:"üks minut",other:"{{count}} minutit"},withPreposition:{one:"ühe minuti",other:"{{count}} minuti"}},aboutXHours:{standalone:{one:"umbes üks tund",other:"umbes {{count}} tundi"},withPreposition:{one:"umbes ühe tunni",other:"umbes {{count}} tunni"}},xHours:{standalone:{one:"üks tund",other:"{{count}} tundi"},withPreposition:{one:"ühe tunni",other:"{{count}} tunni"}},xDays:{standalone:{one:"üks päev",other:"{{count}} päeva"},withPreposition:{one:"ühe päeva",other:"{{count}} päeva"}},aboutXWeeks:{standalone:{one:"umbes üks nädal",other:"umbes {{count}} nädalat"},withPreposition:{one:"umbes ühe nädala",other:"umbes {{count}} nädala"}},xWeeks:{standalone:{one:"üks nädal",other:"{{count}} nädalat"},withPreposition:{one:"ühe nädala",other:"{{count}} nädala"}},aboutXMonths:{standalone:{one:"umbes üks kuu",other:"umbes {{count}} kuud"},withPreposition:{one:"umbes ühe kuu",other:"umbes {{count}} kuu"}},xMonths:{standalone:{one:"üks kuu",other:"{{count}} kuud"},withPreposition:{one:"ühe kuu",other:"{{count}} kuu"}},aboutXYears:{standalone:{one:"umbes üks aasta",other:"umbes {{count}} aastat"},withPreposition:{one:"umbes ühe aasta",other:"umbes {{count}} aasta"}},xYears:{standalone:{one:"üks aasta",other:"{{count}} aastat"},withPreposition:{one:"ühe aasta",other:"{{count}} aasta"}},overXYears:{standalone:{one:"rohkem kui üks aasta",other:"rohkem kui {{count}} aastat"},withPreposition:{one:"rohkem kui ühe aasta",other:"rohkem kui {{count}} aasta"}},almostXYears:{standalone:{one:"peaaegu üks aasta",other:"peaaegu {{count}} aastat"},withPreposition:{one:"peaaegu ühe aasta",other:"peaaegu {{count}} aasta"}}},fQe=function(t,n,r){var a=r!=null&&r.addSuffix?DV[t].withPreposition:DV[t].standalone,i;return typeof a=="string"?i=a:n===1?i=a.one:i=a.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?i+" pärast":i+" eest":i},pQe={full:"EEEE, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},mQe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hQe={full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},gQe={date:Ne({formats:pQe,defaultWidth:"full"}),time:Ne({formats:mQe,defaultWidth:"full"}),dateTime:Ne({formats:hQe,defaultWidth:"full"})},vQe={lastWeek:"'eelmine' eeee 'kell' p",yesterday:"'eile kell' p",today:"'täna kell' p",tomorrow:"'homme kell' p",nextWeek:"'järgmine' eeee 'kell' p",other:"P"},yQe=function(t,n,r,a){return vQe[t]},bQe={narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},wQe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},$V={narrow:["J","V","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],wide:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]},LV={narrow:["P","E","T","K","N","R","L"],short:["P","E","T","K","N","R","L"],abbreviated:["pühap.","esmasp.","teisip.","kolmap.","neljap.","reede.","laup."],wide:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"]},SQe={narrow:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},abbreviated:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},wide:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"}},EQe={narrow:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},abbreviated:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},wide:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"}},TQe=function(t,n){var r=Number(t);return r+"."},CQe={ordinalNumber:TQe,era:oe({values:bQe,defaultWidth:"wide"}),quarter:oe({values:wQe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:$V,defaultWidth:"wide",formattingValues:$V,defaultFormattingWidth:"wide"}),day:oe({values:LV,defaultWidth:"wide",formattingValues:LV,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:SQe,defaultWidth:"wide",formattingValues:EQe,defaultFormattingWidth:"wide"})},kQe=/^\d+\./i,xQe=/\d+/i,_Qe={narrow:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,abbreviated:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,wide:/^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i},OQe={any:[/^e/i,/^(m|p)/i]},RQe={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},PQe={any:[/1/i,/2/i,/3/i,/4/i]},AQe={narrow:/^[jvmasond]/i,abbreviated:/^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i,wide:/^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i},NQe={narrow:[/^j/i,/^v/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^v/i,/^mär/i,/^ap/i,/^mai/i,/^juun/i,/^juul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},MQe={narrow:/^[petknrl]/i,short:/^[petknrl]/i,abbreviated:/^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i,wide:/^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i},IQe={any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},DQe={any:/^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i},$Qe={any:{am:/^a/i,pm:/^p/i,midnight:/^keskö/i,noon:/^keskp/i,morning:/hommik/i,afternoon:/pärastlõuna/i,evening:/õhtu/i,night:/öö/i}},LQe={ordinalNumber:Xt({matchPattern:kQe,parsePattern:xQe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:_Qe,defaultMatchWidth:"wide",parsePatterns:OQe,defaultParseWidth:"any"}),quarter:se({matchPatterns:RQe,defaultMatchWidth:"wide",parsePatterns:PQe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:AQe,defaultMatchWidth:"wide",parsePatterns:NQe,defaultParseWidth:"any"}),day:se({matchPatterns:MQe,defaultMatchWidth:"wide",parsePatterns:IQe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:DQe,defaultMatchWidth:"any",parsePatterns:$Qe,defaultParseWidth:"any"})},FQe={code:"et",formatDistance:fQe,formatLong:gQe,formatRelative:yQe,localize:CQe,match:LQe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const jQe=Object.freeze(Object.defineProperty({__proto__:null,default:FQe},Symbol.toStringTag,{value:"Module"})),UQe=jt(jQe);var BQe={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},WQe=function(t,n,r){var a,i=BQe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"در "+a:a+" قبل":a},zQe={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},qQe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},HQe={full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},VQe={date:Ne({formats:zQe,defaultWidth:"full"}),time:Ne({formats:qQe,defaultWidth:"full"}),dateTime:Ne({formats:HQe,defaultWidth:"full"})},GQe={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},YQe=function(t,n,r,a){return GQe[t]},KQe={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},XQe={narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},QQe={narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},ZQe={narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},JQe={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},eZe={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},tZe=function(t,n){return String(t)},nZe={ordinalNumber:tZe,era:oe({values:KQe,defaultWidth:"wide"}),quarter:oe({values:XQe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:QQe,defaultWidth:"wide"}),day:oe({values:ZQe,defaultWidth:"wide"}),dayPeriod:oe({values:JQe,defaultWidth:"wide",formattingValues:eZe,defaultFormattingWidth:"wide"})},rZe=/^(\d+)(th|st|nd|rd)?/i,aZe=/\d+/i,iZe={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},oZe={any:[/^قبل/i,/^بعد/i]},sZe={narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},lZe={any:[/1/i,/2/i,/3/i,/4/i]},uZe={narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},cZe={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]},dZe={narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},fZe={narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سه‌شنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},pZe={narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},mZe={any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},hZe={ordinalNumber:Xt({matchPattern:rZe,parsePattern:aZe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:iZe,defaultMatchWidth:"wide",parsePatterns:oZe,defaultParseWidth:"any"}),quarter:se({matchPatterns:sZe,defaultMatchWidth:"wide",parsePatterns:lZe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:uZe,defaultMatchWidth:"wide",parsePatterns:cZe,defaultParseWidth:"any"}),day:se({matchPatterns:dZe,defaultMatchWidth:"wide",parsePatterns:fZe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:pZe,defaultMatchWidth:"wide",parsePatterns:mZe,defaultParseWidth:"any"})},gZe={code:"fa-IR",formatDistance:WQe,formatLong:VQe,formatRelative:YQe,localize:nZe,match:hZe,options:{weekStartsOn:6,firstWeekContainsDate:1}};const vZe=Object.freeze(Object.defineProperty({__proto__:null,default:gZe},Symbol.toStringTag,{value:"Module"})),yZe=jt(vZe);function FV(e){return e.replace(/sekuntia?/,"sekunnin")}function jV(e){return e.replace(/minuuttia?/,"minuutin")}function UV(e){return e.replace(/tuntia?/,"tunnin")}function bZe(e){return e.replace(/päivää?/,"päivän")}function BV(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function WV(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function IC(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}var wZe={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:FV},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:FV},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(t){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:jV},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:jV},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:UV},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:UV},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:bZe},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:BV},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:BV},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:WV},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:WV},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:IC},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:IC},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:IC},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:IC}},SZe=function(t,n,r){var a=wZe[t],i=n===1?a.one:a.other.replace("{{count}}",String(n));return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a.futureTense(i)+" kuluttua":i+" sitten":i},EZe={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},TZe={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},CZe={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},kZe={date:Ne({formats:EZe,defaultWidth:"full"}),time:Ne({formats:TZe,defaultWidth:"full"}),dateTime:Ne({formats:CZe,defaultWidth:"full"})},xZe={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},_Ze=function(t,n,r,a){return xZe[t]},OZe={narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},RZe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},FL={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},PZe={narrow:FL.narrow,abbreviated:FL.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},ik={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},AZe={narrow:ik.narrow,short:ik.short,abbreviated:ik.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},NZe={narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},MZe=function(t,n){var r=Number(t);return r+"."},IZe={ordinalNumber:MZe,era:oe({values:OZe,defaultWidth:"wide"}),quarter:oe({values:RZe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:FL,defaultWidth:"wide",formattingValues:PZe,defaultFormattingWidth:"wide"}),day:oe({values:ik,defaultWidth:"wide",formattingValues:AZe,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:NZe,defaultWidth:"wide"})},DZe=/^(\d+)(\.)/i,$Ze=/\d+/i,LZe={narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},FZe={any:[/^e/i,/^j/i]},jZe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},UZe={any:[/1/i,/2/i,/3/i,/4/i]},BZe={narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},WZe={narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},zZe={narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},qZe={narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},HZe={narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},VZe={any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},GZe={ordinalNumber:Xt({matchPattern:DZe,parsePattern:$Ze,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:LZe,defaultMatchWidth:"wide",parsePatterns:FZe,defaultParseWidth:"any"}),quarter:se({matchPatterns:jZe,defaultMatchWidth:"wide",parsePatterns:UZe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:BZe,defaultMatchWidth:"wide",parsePatterns:WZe,defaultParseWidth:"any"}),day:se({matchPatterns:zZe,defaultMatchWidth:"wide",parsePatterns:qZe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:HZe,defaultMatchWidth:"any",parsePatterns:VZe,defaultParseWidth:"any"})},YZe={code:"fi",formatDistance:SZe,formatLong:kZe,formatRelative:_Ze,localize:IZe,match:GZe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const KZe=Object.freeze(Object.defineProperty({__proto__:null,default:YZe},Symbol.toStringTag,{value:"Module"})),XZe=jt(KZe);var QZe={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une 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’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Lre=function(t,n,r){var a,i=QZe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dans "+a:"il y a "+a:a},ZZe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},JZe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},eJe={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tJe={date:Ne({formats:ZZe,defaultWidth:"full"}),time:Ne({formats:JZe,defaultWidth:"full"}),dateTime:Ne({formats:eJe,defaultWidth:"full"})},nJe={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Fre=function(t,n,r,a){return nJe[t]},rJe={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},aJe={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},iJe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},oJe={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"]},sJe={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ès-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},lJe=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(r===0)return"0";var i=["year","week","hour","minute","second"],o;return r===1?o=a&&i.includes(a)?"ère":"er":o="ème",r+o},jre={ordinalNumber:lJe,era:oe({values:rJe,defaultWidth:"wide"}),quarter:oe({values:aJe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:iJe,defaultWidth:"wide"}),day:oe({values:oJe,defaultWidth:"wide"}),dayPeriod:oe({values:sJe,defaultWidth:"wide"})},uJe=/^(\d+)(ième|ère|ème|er|e)?/i,cJe=/\d+/i,dJe={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},fJe={any:[/^av/i,/^ap/i]},pJe={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},mJe={any:[/1/i,/2/i,/3/i,/4/i]},hJe={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},gJe={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]},vJe={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},yJe={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]},bJe={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},wJe={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}},Ure={ordinalNumber:Xt({matchPattern:uJe,parsePattern:cJe,valueCallback:function(t){return parseInt(t)}}),era:se({matchPatterns:dJe,defaultMatchWidth:"wide",parsePatterns:fJe,defaultParseWidth:"any"}),quarter:se({matchPatterns:pJe,defaultMatchWidth:"wide",parsePatterns:mJe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:hJe,defaultMatchWidth:"wide",parsePatterns:gJe,defaultParseWidth:"any"}),day:se({matchPatterns:vJe,defaultMatchWidth:"wide",parsePatterns:yJe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:bJe,defaultMatchWidth:"any",parsePatterns:wJe,defaultParseWidth:"any"})},SJe={code:"fr",formatDistance:Lre,formatLong:tJe,formatRelative:Fre,localize:jre,match:Ure,options:{weekStartsOn:1,firstWeekContainsDate:4}};const EJe=Object.freeze(Object.defineProperty({__proto__:null,default:SJe},Symbol.toStringTag,{value:"Module"})),TJe=jt(EJe);var CJe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"yy-MM-dd"},kJe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},xJe={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_Je={date:Ne({formats:CJe,defaultWidth:"full"}),time:Ne({formats:kJe,defaultWidth:"full"}),dateTime:Ne({formats:xJe,defaultWidth:"full"})},OJe={code:"fr-CA",formatDistance:Lre,formatLong:_Je,formatRelative:Fre,localize:jre,match:Ure,options:{weekStartsOn:0,firstWeekContainsDate:1}};const RJe=Object.freeze(Object.defineProperty({__proto__:null,default:OJe},Symbol.toStringTag,{value:"Module"})),PJe=jt(RJe);var AJe={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},NJe=function(t,n,r){var a,i=AJe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"hai "+a:a},MJe={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},IJe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},DJe={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$Je={date:Ne({formats:MJe,defaultWidth:"full"}),time:Ne({formats:IJe,defaultWidth:"full"}),dateTime:Ne({formats:DJe,defaultWidth:"full"})},LJe={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},FJe={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},jJe=function(t,n,r,a){return n.getUTCHours()!==1?FJe[t]:LJe[t]},UJe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},BJe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},WJe={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},zJe={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},qJe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},HJe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},VJe=function(t,n){var r=Number(t);return r+"º"},GJe={ordinalNumber:VJe,era:oe({values:UJe,defaultWidth:"wide"}),quarter:oe({values:BJe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:WJe,defaultWidth:"wide"}),day:oe({values:zJe,defaultWidth:"wide"}),dayPeriod:oe({values:qJe,defaultWidth:"wide",formattingValues:HJe,defaultFormattingWidth:"wide"})},YJe=/^(\d+)(º)?/i,KJe=/\d+/i,XJe={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 com[uú]n|despois de cristo|era com[uú]n)/i},QJe={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},ZJe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},JJe={any:[/1/i,/2/i,/3/i,/4/i]},eet={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},tet={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},net={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},ret={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},aet={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},iet={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},oet={ordinalNumber:Xt({matchPattern:YJe,parsePattern:KJe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:XJe,defaultMatchWidth:"wide",parsePatterns:QJe,defaultParseWidth:"any"}),quarter:se({matchPatterns:ZJe,defaultMatchWidth:"wide",parsePatterns:JJe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:eet,defaultMatchWidth:"wide",parsePatterns:tet,defaultParseWidth:"any"}),day:se({matchPatterns:net,defaultMatchWidth:"wide",parsePatterns:ret,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:aet,defaultMatchWidth:"any",parsePatterns:iet,defaultParseWidth:"any"})},set={code:"gl",formatDistance:NJe,formatLong:$Je,formatRelative:jJe,localize:GJe,match:oet,options:{weekStartsOn:1,firstWeekContainsDate:1}};const uet=Object.freeze(Object.defineProperty({__proto__:null,default:set},Symbol.toStringTag,{value:"Module"})),cet=jt(uet);var det={lessThanXSeconds:{one:"હમણાં",other:"​આશરે {{count}} સેકંડ"},xSeconds:{one:"1 સેકંડ",other:"{{count}} સેકંડ"},halfAMinute:"અડધી મિનિટ",lessThanXMinutes:{one:"આ મિનિટ",other:"​આશરે {{count}} મિનિટ"},xMinutes:{one:"1 મિનિટ",other:"{{count}} મિનિટ"},aboutXHours:{one:"​આશરે 1 કલાક",other:"​આશરે {{count}} કલાક"},xHours:{one:"1 કલાક",other:"{{count}} કલાક"},xDays:{one:"1 દિવસ",other:"{{count}} દિવસ"},aboutXWeeks:{one:"આશરે 1 અઠવાડિયું",other:"આશરે {{count}} અઠવાડિયા"},xWeeks:{one:"1 અઠવાડિયું",other:"{{count}} અઠવાડિયા"},aboutXMonths:{one:"આશરે 1 મહિનો",other:"આશરે {{count}} મહિના"},xMonths:{one:"1 મહિનો",other:"{{count}} મહિના"},aboutXYears:{one:"આશરે 1 વર્ષ",other:"આશરે {{count}} વર્ષ"},xYears:{one:"1 વર્ષ",other:"{{count}} વર્ષ"},overXYears:{one:"1 વર્ષથી વધુ",other:"{{count}} વર્ષથી વધુ"},almostXYears:{one:"લગભગ 1 વર્ષ",other:"લગભગ {{count}} વર્ષ"}},fet=function(t,n,r){var a,i=det[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"માં":a+" પહેલાં":a},pet={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},met={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},het={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},get={date:Ne({formats:pet,defaultWidth:"full"}),time:Ne({formats:met,defaultWidth:"full"}),dateTime:Ne({formats:het,defaultWidth:"full"})},vet={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"},yet=function(t,n,r,a){return vet[t]},bet={narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},wet={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},Eet={narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},Tet={narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},Cet={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બ.",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},ket={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},xet=function(t,n){return String(t)},_et={ordinalNumber:xet,era:oe({values:bet,defaultWidth:"wide"}),quarter:oe({values:wet,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Eet,defaultWidth:"wide"}),day:oe({values:Tet,defaultWidth:"wide"}),dayPeriod:oe({values:Cet,defaultWidth:"wide",formattingValues:ket,defaultFormattingWidth:"wide"})},Oet=/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,Ret=/\d+/i,Pet={narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},Aet={any:[/^ઈસપૂ/i,/^ઈસ/i]},Net={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},Met={any:[/1/i,/2/i,/3/i,/4/i]},Iet={narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},Det={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]},$et={narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},Let={narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},Fet={narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},jet={any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},Uet={ordinalNumber:Xt({matchPattern:Oet,parsePattern:Ret,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Pet,defaultMatchWidth:"wide",parsePatterns:Aet,defaultParseWidth:"any"}),quarter:se({matchPatterns:Net,defaultMatchWidth:"wide",parsePatterns:Met,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Iet,defaultMatchWidth:"wide",parsePatterns:Det,defaultParseWidth:"any"}),day:se({matchPatterns:$et,defaultMatchWidth:"wide",parsePatterns:Let,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Fet,defaultMatchWidth:"any",parsePatterns:jet,defaultParseWidth:"any"})},Bet={code:"gu",formatDistance:fet,formatLong:get,formatRelative:yet,localize:_et,match:Uet,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Wet=Object.freeze(Object.defineProperty({__proto__:null,default:Bet},Symbol.toStringTag,{value:"Module"})),zet=jt(Wet);var qet={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"כשעה",two:"כשעתיים",other:"כ־{{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXWeeks:{one:"כשבוע",two:"כשבועיים",other:"כ־{{count}} שבועות"},xWeeks:{one:"שבוע",two:"שבועיים",other:"{{count}} שבועות"},aboutXMonths:{one:"כחודש",two:"כחודשיים",other:"כ־{{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"כשנה",two:"כשנתיים",other:"כ־{{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}},Het=function(t,n,r){if(t==="xDays"&&r!==null&&r!==void 0&&r.addSuffix&&n<=2)return r.comparison&&r.comparison>0?n===1?"מחר":"מחרתיים":n===1?"אתמול":"שלשום";var a,i=qet[t];return typeof i=="string"?a=i:n===1?a=i.one:n===2?a=i.two:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"בעוד "+a:"לפני "+a:a},Vet={full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},Get={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Yet={full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ket={date:Ne({formats:Vet,defaultWidth:"full"}),time:Ne({formats:Get,defaultWidth:"full"}),dateTime:Ne({formats:Yet,defaultWidth:"full"})},Xet={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},Qet=function(t,n,r,a){return Xet[t]},Zet={narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},Jet={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},ett={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},ttt={narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},ntt={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},rtt={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},att=function(t,n){var r=Number(t);if(r<=0||r>10)return String(r);var a=String(n==null?void 0:n.unit),i=["year","hour","minute","second"].indexOf(a)>=0,o=["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"],l=["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"],u=r-1;return i?l[u]:o[u]},itt={ordinalNumber:att,era:oe({values:Zet,defaultWidth:"wide"}),quarter:oe({values:Jet,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ett,defaultWidth:"wide"}),day:oe({values:ttt,defaultWidth:"wide"}),dayPeriod:oe({values:ntt,defaultWidth:"wide",formattingValues:rtt,defaultFormattingWidth:"wide"})},ott=/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,stt=/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,ltt={narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},utt={any:[/^לפ/i,/^לס/i]},ctt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},dtt={any:[/1/i,/2/i,/3/i,/4/i]},ftt={narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},ptt={narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^נ/i,/^ד/i]},mtt={narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},htt={abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},gtt={any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},vtt={any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},ytt=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"],btt={ordinalNumber:Xt({matchPattern:ott,parsePattern:stt,valueCallback:function(t){var n=parseInt(t,10);return isNaN(n)?ytt.indexOf(t)+1:n}}),era:se({matchPatterns:ltt,defaultMatchWidth:"wide",parsePatterns:utt,defaultParseWidth:"any"}),quarter:se({matchPatterns:ctt,defaultMatchWidth:"wide",parsePatterns:dtt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:ftt,defaultMatchWidth:"wide",parsePatterns:ptt,defaultParseWidth:"any"}),day:se({matchPatterns:mtt,defaultMatchWidth:"wide",parsePatterns:htt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:gtt,defaultMatchWidth:"any",parsePatterns:vtt,defaultParseWidth:"any"})},wtt={code:"he",formatDistance:Het,formatLong:Ket,formatRelative:Qet,localize:itt,match:btt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Stt=Object.freeze(Object.defineProperty({__proto__:null,default:wtt},Symbol.toStringTag,{value:"Module"})),Ett=jt(Stt);var Bre={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},Ttt={narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},Ctt={narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},ktt={narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},xtt={narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},_tt={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},Ott={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},Rtt=function(t,n){var r=Number(t);return Wre(r)};function Ptt(e){var t=e.toString().replace(/[१२३४५६७८९०]/g,function(n){return Bre.number[n]});return Number(t)}function Wre(e){return e.toString().replace(/\d/g,function(t){return Bre.locale[t]})}var Att={ordinalNumber:Rtt,era:oe({values:Ttt,defaultWidth:"wide"}),quarter:oe({values:Ctt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ktt,defaultWidth:"wide"}),day:oe({values:xtt,defaultWidth:"wide"}),dayPeriod:oe({values:_tt,defaultWidth:"wide",formattingValues:Ott,defaultFormattingWidth:"wide"})},Ntt={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}},Mtt=function(t,n,r){var a,i=Ntt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",Wre(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"मे ":a+" पहले":a},Itt={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},Dtt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$tt={full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ltt={date:Ne({formats:Itt,defaultWidth:"full"}),time:Ne({formats:Dtt,defaultWidth:"full"}),dateTime:Ne({formats:$tt,defaultWidth:"full"})},Ftt={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},jtt=function(t,n,r,a){return Ftt[t]},Utt=/^[०१२३४५६७८९]+/i,Btt=/^[०१२३४५६७८९]+/i,Wtt={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},ztt={any:[/^b/i,/^(a|c)/i]},qtt={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},Htt={any:[/1/i,/2/i,/3/i,/4/i]},Vtt={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},Gtt={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]},Ytt={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},Ktt={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},Xtt={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},Qtt={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},Ztt={ordinalNumber:Xt({matchPattern:Utt,parsePattern:Btt,valueCallback:Ptt}),era:se({matchPatterns:Wtt,defaultMatchWidth:"wide",parsePatterns:ztt,defaultParseWidth:"any"}),quarter:se({matchPatterns:qtt,defaultMatchWidth:"wide",parsePatterns:Htt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Vtt,defaultMatchWidth:"wide",parsePatterns:Gtt,defaultParseWidth:"any"}),day:se({matchPatterns:Ytt,defaultMatchWidth:"wide",parsePatterns:Ktt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Xtt,defaultMatchWidth:"any",parsePatterns:Qtt,defaultParseWidth:"any"})},Jtt={code:"hi",formatDistance:Mtt,formatLong:Ltt,formatRelative:jtt,localize:Att,match:Ztt,options:{weekStartsOn:0,firstWeekContainsDate:4}};const ent=Object.freeze(Object.defineProperty({__proto__:null,default:Jtt},Symbol.toStringTag,{value:"Module"})),tnt=jt(ent);var nnt={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 tjedan",withPrepositionAgo:"oko 1 tjedan",withPrepositionIn:"oko 1 tjedan"},dual:"oko {{count}} tjedna",other:"oko {{count}} tjedana"},xWeeks:{one:{standalone:"1 tjedan",withPrepositionAgo:"1 tjedan",withPrepositionIn:"1 tjedan"},dual:"{{count}} tjedna",other:"{{count}} tjedana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},rnt=function(t,n,r){var a,i=nnt[t];return typeof i=="string"?a=i:n===1?r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a=i.one.withPrepositionIn:a=i.one.withPrepositionAgo:a=i.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=i.dual.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+a:"prije "+a:a},ant={full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},int={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ont={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},snt={date:Ne({formats:ant,defaultWidth:"full"}),time:Ne({formats:int,defaultWidth:"full"}),dateTime:Ne({formats:ont,defaultWidth:"full"})},lnt={lastWeek:function(t){switch(t.getUTCDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(t){switch(t.getUTCDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"},unt=function(t,n,r,a){var i=lnt[t];return typeof i=="function"?i(n):i},cnt={narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},dnt={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},fnt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},pnt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},mnt={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},hnt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},gnt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},vnt=function(t,n){var r=Number(t);return r+"."},ynt={ordinalNumber:vnt,era:oe({values:cnt,defaultWidth:"wide"}),quarter:oe({values:dnt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:fnt,defaultWidth:"wide",formattingValues:pnt,defaultFormattingWidth:"wide"}),day:oe({values:mnt,defaultWidth:"wide"}),dayPeriod:oe({values:gnt,defaultWidth:"wide",formattingValues:hnt,defaultFormattingWidth:"wide"})},bnt=/^(\d+)\./i,wnt=/\d+/i,Snt={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},Ent={any:[/^pr/i,/^(po|nova)/i]},Tnt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},Cnt={any:[/1/i,/2/i,/3/i,/4/i]},knt={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},xnt={narrow:[/1/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i,/8/i,/9/i,/10/i,/11/i,/12/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},_nt={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},Ont={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]},Rnt={any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},Pnt={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},Ant={ordinalNumber:Xt({matchPattern:bnt,parsePattern:wnt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Snt,defaultMatchWidth:"wide",parsePatterns:Ent,defaultParseWidth:"any"}),quarter:se({matchPatterns:Tnt,defaultMatchWidth:"wide",parsePatterns:Cnt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:knt,defaultMatchWidth:"wide",parsePatterns:xnt,defaultParseWidth:"wide"}),day:se({matchPatterns:_nt,defaultMatchWidth:"wide",parsePatterns:Ont,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Rnt,defaultMatchWidth:"any",parsePatterns:Pnt,defaultParseWidth:"any"})},Nnt={code:"hr",formatDistance:rnt,formatLong:snt,formatRelative:unt,localize:ynt,match:Ant,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Mnt=Object.freeze(Object.defineProperty({__proto__:null,default:Nnt},Symbol.toStringTag,{value:"Module"})),Int=jt(Mnt);var Dnt={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},$nt={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},Lnt={xseconds:{"-1":" másodperccel ezelőtt",1:" másodperc múlva",0:" másodperce"},halfaminute:{"-1":"fél perccel ezelőtt",1:"fél perc múlva",0:"fél perce"},xminutes:{"-1":" perccel ezelőtt",1:" perc múlva",0:" perce"},xhours:{"-1":" órával ezelőtt",1:" óra múlva",0:" órája"},xdays:{"-1":" nappal ezelőtt",1:" nap múlva",0:" napja"},xweeks:{"-1":" héttel ezelőtt",1:" hét múlva",0:" hete"},xmonths:{"-1":" hónappal ezelőtt",1:" hónap múlva",0:" hónapja"},xyears:{"-1":" évvel ezelőtt",1:" év múlva",0:" éve"}},Fnt=function(t,n,r){var a=t.match(/about|over|almost|lessthan/i),i=a?t.replace(a[0],""):t,o=(r==null?void 0:r.addSuffix)===!0,l=i.toLowerCase(),u=(r==null?void 0:r.comparison)||0,d=o?Lnt[l][u]:$nt[l],f=l==="halfaminute"?d:n+d;if(a){var g=a[0].toLowerCase();f=Dnt[g]+" "+f}return f},jnt={full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},Unt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Bnt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Wnt={date:Ne({formats:jnt,defaultWidth:"full"}),time:Ne({formats:Unt,defaultWidth:"full"}),dateTime:Ne({formats:Bnt,defaultWidth:"full"})},znt=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function zV(e){return function(t){var n=znt[t.getUTCDay()],r=e?"":"'múlt' ";return"".concat(r,"'").concat(n,"' p'-kor'")}}var qnt={lastWeek:zV(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:zV(!0),other:"P"},Hnt=function(t,n){var r=qnt[t];return typeof r=="function"?r(n):r},Vnt={narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},Gnt={narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},Ynt={narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},Knt={narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},Xnt={narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},Qnt={narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},Znt=function(t,n){var r=Number(t);return r+"."},Jnt={ordinalNumber:Znt,era:oe({values:Vnt,defaultWidth:"wide"}),quarter:oe({values:Gnt,defaultWidth:"wide",argumentCallback:function(t){return t-1},formattingValues:Ynt,defaultFormattingWidth:"wide"}),month:oe({values:Knt,defaultWidth:"wide"}),day:oe({values:Xnt,defaultWidth:"wide"}),dayPeriod:oe({values:Qnt,defaultWidth:"wide"})},ert=/^(\d+)\.?/i,trt=/\d+/i,nrt={narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},rrt={narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},art={narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},irt={any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},ort={narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},srt={narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},lrt={narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},urt={narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},crt={any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},drt={any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},frt={ordinalNumber:Xt({matchPattern:ert,parsePattern:trt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:nrt,defaultMatchWidth:"wide",parsePatterns:rrt,defaultParseWidth:"any"}),quarter:se({matchPatterns:art,defaultMatchWidth:"wide",parsePatterns:irt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:ort,defaultMatchWidth:"wide",parsePatterns:srt,defaultParseWidth:"any"}),day:se({matchPatterns:lrt,defaultMatchWidth:"wide",parsePatterns:urt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:crt,defaultMatchWidth:"any",parsePatterns:drt,defaultParseWidth:"any"})},prt={code:"hu",formatDistance:Fnt,formatLong:Wnt,formatRelative:Hnt,localize:Jnt,match:frt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const mrt=Object.freeze(Object.defineProperty({__proto__:null,default:prt},Symbol.toStringTag,{value:"Module"})),hrt=jt(mrt);var grt={lessThanXSeconds:{one:"ավելի քիչ քան 1 վայրկյան",other:"ավելի քիչ քան {{count}} վայրկյան"},xSeconds:{one:"1 վայրկյան",other:"{{count}} վայրկյան"},halfAMinute:"կես րոպե",lessThanXMinutes:{one:"ավելի քիչ քան 1 րոպե",other:"ավելի քիչ քան {{count}} րոպե"},xMinutes:{one:"1 րոպե",other:"{{count}} րոպե"},aboutXHours:{one:"մոտ 1 ժամ",other:"մոտ {{count}} ժամ"},xHours:{one:"1 ժամ",other:"{{count}} ժամ"},xDays:{one:"1 օր",other:"{{count}} օր"},aboutXWeeks:{one:"մոտ 1 շաբաթ",other:"մոտ {{count}} շաբաթ"},xWeeks:{one:"1 շաբաթ",other:"{{count}} շաբաթ"},aboutXMonths:{one:"մոտ 1 ամիս",other:"մոտ {{count}} ամիս"},xMonths:{one:"1 ամիս",other:"{{count}} ամիս"},aboutXYears:{one:"մոտ 1 տարի",other:"մոտ {{count}} տարի"},xYears:{one:"1 տարի",other:"{{count}} տարի"},overXYears:{one:"ավելի քան 1 տարի",other:"ավելի քան {{count}} տարի"},almostXYears:{one:"համարյա 1 տարի",other:"համարյա {{count}} տարի"}},vrt=function(t,n,r){var a,i=grt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" հետո":a+" առաջ":a},yrt={full:"d MMMM, y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd.MM.yyyy"},brt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wrt={full:"{{date}} 'ժ․'{{time}}",long:"{{date}} 'ժ․'{{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Srt={date:Ne({formats:yrt,defaultWidth:"full"}),time:Ne({formats:brt,defaultWidth:"full"}),dateTime:Ne({formats:wrt,defaultWidth:"full"})},Ert={lastWeek:"'նախորդ' eeee p'֊ին'",yesterday:"'երեկ' p'֊ին'",today:"'այսօր' p'֊ին'",tomorrow:"'վաղը' p'֊ին'",nextWeek:"'հաջորդ' eeee p'֊ին'",other:"P"},Trt=function(t,n,r,a){return Ert[t]},Crt={narrow:["Ք","Մ"],abbreviated:["ՔԱ","ՄԹ"],wide:["Քրիստոսից առաջ","Մեր թվարկության"]},krt={narrow:["1","2","3","4"],abbreviated:["Ք1","Ք2","Ք3","Ք4"],wide:["1֊ին քառորդ","2֊րդ քառորդ","3֊րդ քառորդ","4֊րդ քառորդ"]},xrt={narrow:["Հ","Փ","Մ","Ա","Մ","Հ","Հ","Օ","Ս","Հ","Ն","Դ"],abbreviated:["հուն","փետ","մար","ապր","մայ","հուն","հուլ","օգս","սեպ","հոկ","նոյ","դեկ"],wide:["հունվար","փետրվար","մարտ","ապրիլ","մայիս","հունիս","հուլիս","օգոստոս","սեպտեմբեր","հոկտեմբեր","նոյեմբեր","դեկտեմբեր"]},_rt={narrow:["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],short:["կր","եր","եք","չք","հգ","ուր","շբ"],abbreviated:["կիր","երկ","երք","չոր","հնգ","ուրբ","շաբ"],wide:["կիրակի","երկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"]},Ort={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"}},Rrt={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"}},Prt=function(t,n){var r=Number(t),a=r%100;return a<10&&a%10===1?r+"֊ին":r+"֊րդ"},Art={ordinalNumber:Prt,era:oe({values:Crt,defaultWidth:"wide"}),quarter:oe({values:krt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:xrt,defaultWidth:"wide"}),day:oe({values:_rt,defaultWidth:"wide"}),dayPeriod:oe({values:Ort,defaultWidth:"wide",formattingValues:Rrt,defaultFormattingWidth:"wide"})},Nrt=/^(\d+)((-|֊)?(ին|րդ))?/i,Mrt=/\d+/i,Irt={narrow:/^(Ք|Մ)/i,abbreviated:/^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i,wide:/^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i},Drt={any:[/^ք/i,/^մ/i]},$rt={narrow:/^[1234]/i,abbreviated:/^ք[1234]/i,wide:/^[1234]((-|֊)?(ին|րդ)) քառորդ/i},Lrt={any:[/1/i,/2/i,/3/i,/4/i]},Frt={narrow:/^[հփմաօսնդ]/i,abbreviated:/^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,wide:/^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i},jrt={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]},Urt={narrow:/^[եչհոշկ]/i,short:/^(կր|եր|եք|չք|հգ|ուր|շբ)/i,abbreviated:/^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,wide:/^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i},Brt={narrow:[/^կ/i,/^ե/i,/^ե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],short:[/^կ/i,/^եր/i,/^եք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],abbreviated:[/^կ/i,/^երկ/i,/^երք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],wide:[/^կ/i,/^երկ/i,/^երե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i]},Wrt={narrow:/^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,any:/^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i},zrt={any:{am:/^a/i,pm:/^p/i,midnight:/կեսգիշեր/i,noon:/կեսօր/i,morning:/առավոտ/i,afternoon:/ցերեկ/i,evening:/երեկո/i,night:/գիշեր/i}},qrt={ordinalNumber:Xt({matchPattern:Nrt,parsePattern:Mrt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Irt,defaultMatchWidth:"wide",parsePatterns:Drt,defaultParseWidth:"any"}),quarter:se({matchPatterns:$rt,defaultMatchWidth:"wide",parsePatterns:Lrt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Frt,defaultMatchWidth:"wide",parsePatterns:jrt,defaultParseWidth:"any"}),day:se({matchPatterns:Urt,defaultMatchWidth:"wide",parsePatterns:Brt,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:Wrt,defaultMatchWidth:"any",parsePatterns:zrt,defaultParseWidth:"any"})},Hrt={code:"hy",formatDistance:vrt,formatLong:Srt,formatRelative:Trt,localize:Art,match:qrt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Vrt=Object.freeze(Object.defineProperty({__proto__:null,default:Hrt},Symbol.toStringTag,{value:"Module"})),Grt=jt(Vrt);var Yrt={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},Krt=function(t,n,r){var a,i=Yrt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dalam waktu "+a:a+" yang lalu":a},Xrt={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},Qrt={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},Zrt={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jrt={date:Ne({formats:Xrt,defaultWidth:"full"}),time:Ne({formats:Qrt,defaultWidth:"full"}),dateTime:Ne({formats:Zrt,defaultWidth:"full"})},eat={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},tat=function(t,n,r,a){return eat[t]},nat={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},rat={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},aat={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},iat={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},oat={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},sat={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},lat=function(t,n){var r=Number(t);return"ke-"+r},uat={ordinalNumber:lat,era:oe({values:nat,defaultWidth:"wide"}),quarter:oe({values:rat,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:aat,defaultWidth:"wide"}),day:oe({values:iat,defaultWidth:"wide"}),dayPeriod:oe({values:oat,defaultWidth:"wide",formattingValues:sat,defaultFormattingWidth:"wide"})},cat=/^ke-(\d+)?/i,dat=/\d+/i,fat={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},pat={any:[/^s/i,/^(m|e)/i]},mat={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},hat={any:[/1/i,/2/i,/3/i,/4/i]},gat={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},vat={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,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},yat={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},bat={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},wat={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},Sat={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},Eat={ordinalNumber:Xt({matchPattern:cat,parsePattern:dat,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:fat,defaultMatchWidth:"wide",parsePatterns:pat,defaultParseWidth:"any"}),quarter:se({matchPatterns:mat,defaultMatchWidth:"wide",parsePatterns:hat,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:gat,defaultMatchWidth:"wide",parsePatterns:vat,defaultParseWidth:"any"}),day:se({matchPatterns:yat,defaultMatchWidth:"wide",parsePatterns:bat,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:wat,defaultMatchWidth:"any",parsePatterns:Sat,defaultParseWidth:"any"})},Tat={code:"id",formatDistance:Krt,formatLong:Jrt,formatRelative:tat,localize:uat,match:Eat,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Cat=Object.freeze(Object.defineProperty({__proto__:null,default:Tat},Symbol.toStringTag,{value:"Module"})),kat=jt(Cat);var xat={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXWeeks:{one:"um viku",other:"um {{count}} vikur"},xWeeks:{one:"1 viku",other:"{{count}} vikur"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}},_at=function(t,n,r){var a,i=xat[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"í "+a:a+" síðan":a},Oat={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},Rat={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Pat={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Aat={date:Ne({formats:Oat,defaultWidth:"full"}),time:Ne({formats:Rat,defaultWidth:"full"}),dateTime:Ne({formats:Pat,defaultWidth:"full"})},Nat={lastWeek:"'síðasta' dddd 'kl.' p",yesterday:"'í gær kl.' p",today:"'í dag kl.' p",tomorrow:"'á morgun kl.' p",nextWeek:"dddd 'kl.' p",other:"P"},Mat=function(t,n,r,a){return Nat[t]},Iat={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},Dat={narrow:["1","2","3","4"],abbreviated:["1F","2F","3F","4F"],wide:["1. fjórðungur","2. fjórðungur","3. fjórðungur","4. fjórðungur"]},$at={narrow:["J","F","M","A","M","J","J","Á","S","Ó","N","D"],abbreviated:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],wide:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"]},Lat={narrow:["S","M","Þ","M","F","F","L"],short:["Su","Má","Þr","Mi","Fi","Fö","La"],abbreviated:["sun.","mán.","þri.","mið.","fim.","fös.","lau."],wide:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"]},Fat={narrow:{am:"f",pm:"e",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"}},jat={narrow:{am:"f",pm:"e",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"}},Uat=function(t,n){var r=Number(t);return r+"."},Bat={ordinalNumber:Uat,era:oe({values:Iat,defaultWidth:"wide"}),quarter:oe({values:Dat,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:$at,defaultWidth:"wide"}),day:oe({values:Lat,defaultWidth:"wide"}),dayPeriod:oe({values:Fat,defaultWidth:"wide",formattingValues:jat,defaultFormattingWidth:"wide"})},Wat=/^(\d+)(\.)?/i,zat=/\d+(\.)?/i,qat={narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},Hat={any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},Vat={narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/i},Gat={any:[/1\.?/i,/2\.?/i,/3\.?/i,/4\.?/i]},Yat={narrow:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},Kat={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},Xat={narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},Qat={narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},Zat={narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},Jat={any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},eit={ordinalNumber:Xt({matchPattern:Wat,parsePattern:zat,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:qat,defaultMatchWidth:"wide",parsePatterns:Hat,defaultParseWidth:"any"}),quarter:se({matchPatterns:Vat,defaultMatchWidth:"wide",parsePatterns:Gat,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Yat,defaultMatchWidth:"wide",parsePatterns:Kat,defaultParseWidth:"any"}),day:se({matchPatterns:Xat,defaultMatchWidth:"wide",parsePatterns:Qat,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Zat,defaultMatchWidth:"any",parsePatterns:Jat,defaultParseWidth:"any"})},tit={code:"is",formatDistance:_at,formatLong:Aat,formatRelative:Mat,localize:Bat,match:eit,options:{weekStartsOn:1,firstWeekContainsDate:4}};const nit=Object.freeze(Object.defineProperty({__proto__:null,default:tit},Symbol.toStringTag,{value:"Module"})),rit=jt(nit);var ait={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},iit=function(t,n,r){var a,i=ait[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"tra "+a:a+" fa":a},oit={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},sit={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lit={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},uit={date:Ne({formats:oit,defaultWidth:"full"}),time:Ne({formats:sit,defaultWidth:"full"}),dateTime:Ne({formats:lit,defaultWidth:"full"})},kj=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function cit(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+kj[e]+" scorso alle' p"}}function qV(e){return"'"+kj[e]+" alle' p"}function dit(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+kj[e]+" prossimo alle' p"}}var fit={lastWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?qV(a):cit(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?qV(a):dit(a)},other:"P"},pit=function(t,n,r,a){var i=fit[t];return typeof i=="function"?i(n,r,a):i},mit={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},hit={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},git={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},vit={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},yit={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},bit={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},wit=function(t,n){var r=Number(t);return String(r)},Sit={ordinalNumber:wit,era:oe({values:mit,defaultWidth:"wide"}),quarter:oe({values:hit,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:git,defaultWidth:"wide"}),day:oe({values:vit,defaultWidth:"wide"}),dayPeriod:oe({values:yit,defaultWidth:"wide",formattingValues:bit,defaultFormattingWidth:"wide"})},Eit=/^(\d+)(º)?/i,Tit=/\d+/i,Cit={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},kit={any:[/^a/i,/^(d|e)/i]},xit={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},_it={any:[/1/i,/2/i,/3/i,/4/i]},Oit={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},Rit={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Pit={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},Ait={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},Nit={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},Mit={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},Iit={ordinalNumber:Xt({matchPattern:Eit,parsePattern:Tit,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Cit,defaultMatchWidth:"wide",parsePatterns:kit,defaultParseWidth:"any"}),quarter:se({matchPatterns:xit,defaultMatchWidth:"wide",parsePatterns:_it,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Oit,defaultMatchWidth:"wide",parsePatterns:Rit,defaultParseWidth:"any"}),day:se({matchPatterns:Pit,defaultMatchWidth:"wide",parsePatterns:Ait,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Nit,defaultMatchWidth:"any",parsePatterns:Mit,defaultParseWidth:"any"})},Dit={code:"it",formatDistance:iit,formatLong:uit,formatRelative:pit,localize:Sit,match:Iit,options:{weekStartsOn:1,firstWeekContainsDate:4}};const $it=Object.freeze(Object.defineProperty({__proto__:null,default:Dit},Symbol.toStringTag,{value:"Module"})),Lit=jt($it);var Fit={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},jit=function(t,n,r){r=r||{};var a,i=Fit[t];return typeof i=="string"?a=i:n===1?r.addSuffix&&i.oneWithSuffix?a=i.oneWithSuffix:a=i.one:r.addSuffix&&i.otherWithSuffix?a=i.otherWithSuffix.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r.addSuffix?r.comparison&&r.comparison>0?a+"後":a+"前":a},Uit={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},Bit={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Wit={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},zit={date:Ne({formats:Uit,defaultWidth:"full"}),time:Ne({formats:Bit,defaultWidth:"full"}),dateTime:Ne({formats:Wit,defaultWidth:"full"})},qit={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},Hit=function(t,n,r,a){return qit[t]},Vit={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Git={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},Yit={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},Kit={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},Xit={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},Qit={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},Zit=function(t,n){var r=Number(t),a=String(n==null?void 0:n.unit);switch(a){case"year":return"".concat(r,"年");case"quarter":return"第".concat(r,"四半期");case"month":return"".concat(r,"月");case"week":return"第".concat(r,"週");case"date":return"".concat(r,"日");case"hour":return"".concat(r,"時");case"minute":return"".concat(r,"分");case"second":return"".concat(r,"秒");default:return"".concat(r)}},Jit={ordinalNumber:Zit,era:oe({values:Vit,defaultWidth:"wide"}),quarter:oe({values:Git,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:Yit,defaultWidth:"wide"}),day:oe({values:Kit,defaultWidth:"wide"}),dayPeriod:oe({values:Xit,defaultWidth:"wide",formattingValues:Qit,defaultFormattingWidth:"wide"})},eot=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,tot=/\d+/i,not={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},rot={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},aot={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},iot={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},oot={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},sot={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},lot={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},uot={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},cot={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},dot={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},fot={ordinalNumber:Xt({matchPattern:eot,parsePattern:tot,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:not,defaultMatchWidth:"wide",parsePatterns:rot,defaultParseWidth:"any"}),quarter:se({matchPatterns:aot,defaultMatchWidth:"wide",parsePatterns:iot,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:oot,defaultMatchWidth:"wide",parsePatterns:sot,defaultParseWidth:"any"}),day:se({matchPatterns:lot,defaultMatchWidth:"wide",parsePatterns:uot,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:cot,defaultMatchWidth:"any",parsePatterns:dot,defaultParseWidth:"any"})},pot={code:"ja",formatDistance:jit,formatLong:zit,formatRelative:Hit,localize:Jit,match:fot,options:{weekStartsOn:0,firstWeekContainsDate:1}};const mot=Object.freeze(Object.defineProperty({__proto__:null,default:pot},Symbol.toStringTag,{value:"Module"})),hot=jt(mot);var got={lessThanXSeconds:{past:"{{count}} წამზე ნაკლები ხნის წინ",present:"{{count}} წამზე ნაკლები",future:"{{count}} წამზე ნაკლებში"},xSeconds:{past:"{{count}} წამის წინ",present:"{{count}} წამი",future:"{{count}} წამში"},halfAMinute:{past:"ნახევარი წუთის წინ",present:"ნახევარი წუთი",future:"ნახევარი წუთში"},lessThanXMinutes:{past:"{{count}} წუთზე ნაკლები ხნის წინ",present:"{{count}} წუთზე ნაკლები",future:"{{count}} წუთზე ნაკლებში"},xMinutes:{past:"{{count}} წუთის წინ",present:"{{count}} წუთი",future:"{{count}} წუთში"},aboutXHours:{past:"დაახლოებით {{count}} საათის წინ",present:"დაახლოებით {{count}} საათი",future:"დაახლოებით {{count}} საათში"},xHours:{past:"{{count}} საათის წინ",present:"{{count}} საათი",future:"{{count}} საათში"},xDays:{past:"{{count}} დღის წინ",present:"{{count}} დღე",future:"{{count}} დღეში"},aboutXWeeks:{past:"დაახლოებით {{count}} კვირას წინ",present:"დაახლოებით {{count}} კვირა",future:"დაახლოებით {{count}} კვირაში"},xWeeks:{past:"{{count}} კვირას კვირა",present:"{{count}} კვირა",future:"{{count}} კვირაში"},aboutXMonths:{past:"დაახლოებით {{count}} თვის წინ",present:"დაახლოებით {{count}} თვე",future:"დაახლოებით {{count}} თვეში"},xMonths:{past:"{{count}} თვის წინ",present:"{{count}} თვე",future:"{{count}} თვეში"},aboutXYears:{past:"დაახლოებით {{count}} წლის წინ",present:"დაახლოებით {{count}} წელი",future:"დაახლოებით {{count}} წელში"},xYears:{past:"{{count}} წლის წინ",present:"{{count}} წელი",future:"{{count}} წელში"},overXYears:{past:"{{count}} წელზე მეტი ხნის წინ",present:"{{count}} წელზე მეტი",future:"{{count}} წელზე მეტი ხნის შემდეგ"},almostXYears:{past:"თითქმის {{count}} წლის წინ",present:"თითქმის {{count}} წელი",future:"თითქმის {{count}} წელში"}},vot=function(t,n,r){var a,i=got[t];return typeof i=="string"?a=i:r!=null&&r.addSuffix&&r.comparison&&r.comparison>0?a=i.future.replace("{{count}}",String(n)):r!=null&&r.addSuffix?a=i.past.replace("{{count}}",String(n)):a=i.present.replace("{{count}}",String(n)),a},yot={full:"EEEE, do MMMM, y",long:"do, MMMM, y",medium:"d, MMM, y",short:"dd/MM/yyyy"},bot={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wot={full:"{{date}} {{time}}'-ზე'",long:"{{date}} {{time}}'-ზე'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Sot={date:Ne({formats:yot,defaultWidth:"full"}),time:Ne({formats:bot,defaultWidth:"full"}),dateTime:Ne({formats:wot,defaultWidth:"full"})},Eot={lastWeek:"'წინა' eeee p'-ზე'",yesterday:"'გუშინ' p'-ზე'",today:"'დღეს' p'-ზე'",tomorrow:"'ხვალ' p'-ზე'",nextWeek:"'შემდეგი' eeee p'-ზე'",other:"P"},Tot=function(t,n,r,a){return Eot[t]},Cot={narrow:["ჩ.წ-მდე","ჩ.წ"],abbreviated:["ჩვ.წ-მდე","ჩვ.წ"],wide:["ჩვენს წელთაღრიცხვამდე","ჩვენი წელთაღრიცხვით"]},kot={narrow:["1","2","3","4"],abbreviated:["1-ლი კვ","2-ე კვ","3-ე კვ","4-ე კვ"],wide:["1-ლი კვარტალი","2-ე კვარტალი","3-ე კვარტალი","4-ე კვარტალი"]},xot={narrow:["ია","თე","მა","აპ","მს","ვნ","ვლ","აგ","სე","ოქ","ნო","დე"],abbreviated:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],wide:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"]},_ot={narrow:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],short:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],abbreviated:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],wide:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]},Oot={narrow:{am:"a",pm:"p",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"}},Rot={narrow:{am:"a",pm:"p",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"}},Pot=function(t){var n=Number(t);return n===1?n+"-ლი":n+"-ე"},Aot={ordinalNumber:Pot,era:oe({values:Cot,defaultWidth:"wide"}),quarter:oe({values:kot,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:xot,defaultWidth:"wide"}),day:oe({values:_ot,defaultWidth:"wide"}),dayPeriod:oe({values:Oot,defaultWidth:"wide",formattingValues:Rot,defaultFormattingWidth:"wide"})},Not=/^(\d+)(-ლი|-ე)?/i,Mot=/\d+/i,Iot={narrow:/^(ჩვ?\.წ)/i,abbreviated:/^(ჩვ?\.წ)/i,wide:/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i},Dot={any:[/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]},$ot={narrow:/^[1234]/i,abbreviated:/^[1234]-(ლი|ე)? კვ/i,wide:/^[1234]-(ლი|ე)? კვარტალი/i},Lot={any:[/1/i,/2/i,/3/i,/4/i]},Fot={any:/^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i},jot={any:[/^ია/i,/^თ/i,/^მარ/i,/^აპ/i,/^მაი/i,/^ი?ვნ/i,/^ი?ვლ/i,/^აგ/i,/^ს/i,/^ო/i,/^ნ/i,/^დ/i]},Uot={narrow:/^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,short:/^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,wide:/^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i},Bot={any:[/^კვ/i,/^ორ/i,/^სა/i,/^ოთ/i,/^ხუ/i,/^პა/i,/^შა/i]},Wot={any:/^([ap]\.?\s?m\.?|შუაღ|დილ)/i},zot={any:{am:/^a/i,pm:/^p/i,midnight:/^შუაღ/i,noon:/^შუადღ/i,morning:/^დილ/i,afternoon:/ნაშუადღევს/i,evening:/საღამო/i,night:/ღამ/i}},qot={ordinalNumber:Xt({matchPattern:Not,parsePattern:Mot,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Iot,defaultMatchWidth:"wide",parsePatterns:Dot,defaultParseWidth:"any"}),quarter:se({matchPatterns:$ot,defaultMatchWidth:"wide",parsePatterns:Lot,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Fot,defaultMatchWidth:"any",parsePatterns:jot,defaultParseWidth:"any"}),day:se({matchPatterns:Uot,defaultMatchWidth:"wide",parsePatterns:Bot,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Wot,defaultMatchWidth:"any",parsePatterns:zot,defaultParseWidth:"any"})},Hot={code:"ka",formatDistance:vot,formatLong:Sot,formatRelative:Tot,localize:Aot,match:qot,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Vot=Object.freeze(Object.defineProperty({__proto__:null,default:Hot},Symbol.toStringTag,{value:"Module"})),Got=jt(Vot);var Yot={lessThanXSeconds:{regular:{one:"1 секундтан аз",singularNominative:"{{count}} секундтан аз",singularGenitive:"{{count}} секундтан аз",pluralGenitive:"{{count}} секундтан аз"},future:{one:"бір секундтан кейін",singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},xSeconds:{regular:{singularNominative:"{{count}} секунд",singularGenitive:"{{count}} секунд",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунд бұрын",singularGenitive:"{{count}} секунд бұрын",pluralGenitive:"{{count}} секунд бұрын"},future:{singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},halfAMinute:function(t){return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"жарты минут ішінде":"жарты минут бұрын":"жарты минут"},lessThanXMinutes:{regular:{one:"1 минуттан аз",singularNominative:"{{count}} минуттан аз",singularGenitive:"{{count}} минуттан аз",pluralGenitive:"{{count}} минуттан аз"},future:{one:"минуттан кем ",singularNominative:"{{count}} минуттан кем",singularGenitive:"{{count}} минуттан кем",pluralGenitive:"{{count}} минуттан кем"}},xMinutes:{regular:{singularNominative:"{{count}} минут",singularGenitive:"{{count}} минут",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минут бұрын",singularGenitive:"{{count}} минут бұрын",pluralGenitive:"{{count}} минут бұрын"},future:{singularNominative:"{{count}} минуттан кейін",singularGenitive:"{{count}} минуттан кейін",pluralGenitive:"{{count}} минуттан кейін"}},aboutXHours:{regular:{singularNominative:"шамамен {{count}} сағат",singularGenitive:"шамамен {{count}} сағат",pluralGenitive:"шамамен {{count}} сағат"},future:{singularNominative:"шамамен {{count}} сағаттан кейін",singularGenitive:"шамамен {{count}} сағаттан кейін",pluralGenitive:"шамамен {{count}} сағаттан кейін"}},xHours:{regular:{singularNominative:"{{count}} сағат",singularGenitive:"{{count}} сағат",pluralGenitive:"{{count}} сағат"}},xDays:{regular:{singularNominative:"{{count}} күн",singularGenitive:"{{count}} күн",pluralGenitive:"{{count}} күн"},future:{singularNominative:"{{count}} күннен кейін",singularGenitive:"{{count}} күннен кейін",pluralGenitive:"{{count}} күннен кейін"}},aboutXWeeks:{type:"weeks",one:"шамамен 1 апта",other:"шамамен {{count}} апта"},xWeeks:{type:"weeks",one:"1 апта",other:"{{count}} апта"},aboutXMonths:{regular:{singularNominative:"шамамен {{count}} ай",singularGenitive:"шамамен {{count}} ай",pluralGenitive:"шамамен {{count}} ай"},future:{singularNominative:"шамамен {{count}} айдан кейін",singularGenitive:"шамамен {{count}} айдан кейін",pluralGenitive:"шамамен {{count}} айдан кейін"}},xMonths:{regular:{singularNominative:"{{count}} ай",singularGenitive:"{{count}} ай",pluralGenitive:"{{count}} ай"}},aboutXYears:{regular:{singularNominative:"шамамен {{count}} жыл",singularGenitive:"шамамен {{count}} жыл",pluralGenitive:"шамамен {{count}} жыл"},future:{singularNominative:"шамамен {{count}} жылдан кейін",singularGenitive:"шамамен {{count}} жылдан кейін",pluralGenitive:"шамамен {{count}} жылдан кейін"}},xYears:{regular:{singularNominative:"{{count}} жыл",singularGenitive:"{{count}} жыл",pluralGenitive:"{{count}} жыл"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}},overXYears:{regular:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"},future:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"}},almostXYears:{regular:{singularNominative:"{{count}} жылға жақын",singularGenitive:"{{count}} жылға жақын",pluralGenitive:"{{count}} жылға жақын"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}}};function d1(e,t){if(e.one&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}var Kot=function(t,n,r){var a=Yot[t];return typeof a=="function"?a(r):a.type==="weeks"?n===1?a.one:a.other.replace("{{count}}",String(n)):r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a.future?d1(a.future,n):d1(a.regular,n)+" кейін":a.past?d1(a.past,n):d1(a.regular,n)+" бұрын":d1(a.regular,n)},Xot={full:"EEEE, do MMMM y 'ж.'",long:"do MMMM y 'ж.'",medium:"d MMM y 'ж.'",short:"dd.MM.yyyy"},Qot={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Zot={any:"{{date}}, {{time}}"},Jot={date:Ne({formats:Xot,defaultWidth:"full"}),time:Ne({formats:Qot,defaultWidth:"full"}),dateTime:Ne({formats:Zot,defaultWidth:"any"})},xj=["жексенбіде","дүйсенбіде","сейсенбіде","сәрсенбіде","бейсенбіде","жұмада","сенбіде"];function est(e){var t=xj[e];return"'өткен "+t+" сағат' p'-де'"}function HV(e){var t=xj[e];return"'"+t+" сағат' p'-де'"}function tst(e){var t=xj[e];return"'келесі "+t+" сағат' p'-де'"}var nst={lastWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?HV(a):est(a)},yesterday:"'кеше сағат' p'-де'",today:"'бүгін сағат' p'-де'",tomorrow:"'ертең сағат' p'-де'",nextWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?HV(a):tst(a)},other:"P"},rst=function(t,n,r,a){var i=nst[t];return typeof i=="function"?i(n,r,a):i},ast={narrow:["б.з.д.","б.з."],abbreviated:["б.з.д.","б.з."],wide:["біздің заманымызға дейін","біздің заманымыз"]},ist={narrow:["1","2","3","4"],abbreviated:["1-ші тоқ.","2-ші тоқ.","3-ші тоқ.","4-ші тоқ."],wide:["1-ші тоқсан","2-ші тоқсан","3-ші тоқсан","4-ші тоқсан"]},ost={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},sst={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},lst={narrow:["Ж","Д","С","С","Б","Ж","С"],short:["жс","дс","сс","ср","бс","жм","сб"],abbreviated:["жс","дс","сс","ср","бс","жм","сб"],wide:["жексенбі","дүйсенбі","сейсенбі","сәрсенбі","бейсенбі","жұма","сенбі"]},ust={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"}},cst={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түс",morning:"таң",afternoon:"күн",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түсте",morning:"таңертең",afternoon:"күндіз",evening:"кеште",night:"түнде"}},AD={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},dst=function(t,n){var r=Number(t),a=r%10,i=r>=100?100:null,o=AD[r]||AD[a]||i&&AD[i]||"";return r+o},fst={ordinalNumber:dst,era:oe({values:ast,defaultWidth:"wide"}),quarter:oe({values:ist,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ost,defaultWidth:"wide",formattingValues:sst,defaultFormattingWidth:"wide"}),day:oe({values:lst,defaultWidth:"wide"}),dayPeriod:oe({values:ust,defaultWidth:"any",formattingValues:cst,defaultFormattingWidth:"wide"})},pst=/^(\d+)(-?(ші|шы))?/i,mst=/\d+/i,hst={narrow:/^((б )?з\.?\s?д\.?)/i,abbreviated:/^((б )?з\.?\s?д\.?)/i,wide:/^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i},gst={any:[/^б/i,/^з/i]},vst={narrow:/^[1234]/i,abbreviated:/^[1234](-?ші)? тоқ.?/i,wide:/^[1234](-?ші)? тоқсан/i},yst={any:[/1/i,/2/i,/3/i,/4/i]},bst={narrow:/^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,abbreviated:/^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,wide:/^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i},wst={narrow:[/^қ/i,/^а/i,/^н/i,/^с/i,/^м/i,/^м/i,/^ш/i,/^т/i,/^қ/i,/^қ/i,/^қ/i,/^ж/i],abbreviated:[/^қаң/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]},Sst={narrow:/^(ж|д|с|с|б|ж|с)/i,short:/^(жс|дс|сс|ср|бс|жм|сб)/i,wide:/^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i},Est={narrow:[/^ж/i,/^д/i,/^с/i,/^с/i,/^б/i,/^ж/i,/^с/i],short:[/^жс/i,/^дс/i,/^сс/i,/^ср/i,/^бс/i,/^жм/i,/^сб/i],any:[/^ж[ек]/i,/^д[үй]/i,/^сe[й]/i,/^сә[р]/i,/^б[ей]/i,/^ж[ұм]/i,/^се[н]/i]},Tst={narrow:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,wide:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,any:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i},Cst={any:{am:/^ТД/i,pm:/^ТК/i,midnight:/^түн орта/i,noon:/^күндіз/i,morning:/таң/i,afternoon:/түс/i,evening:/кеш/i,night:/түн/i}},kst={ordinalNumber:Xt({matchPattern:pst,parsePattern:mst,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:hst,defaultMatchWidth:"wide",parsePatterns:gst,defaultParseWidth:"any"}),quarter:se({matchPatterns:vst,defaultMatchWidth:"wide",parsePatterns:yst,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:bst,defaultMatchWidth:"wide",parsePatterns:wst,defaultParseWidth:"any"}),day:se({matchPatterns:Sst,defaultMatchWidth:"wide",parsePatterns:Est,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Tst,defaultMatchWidth:"wide",parsePatterns:Cst,defaultParseWidth:"any"})},xst={code:"kk",formatDistance:Kot,formatLong:Jot,formatRelative:rst,localize:fst,match:kst,options:{weekStartsOn:1,firstWeekContainsDate:1}};const _st=Object.freeze(Object.defineProperty({__proto__:null,default:xst},Symbol.toStringTag,{value:"Module"})),Ost=jt(_st);var Rst={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},Pst=function(t,n,r){var a,i=Rst[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" 후":a+" 전":a},Ast={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},Nst={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Mst={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Ist={date:Ne({formats:Ast,defaultWidth:"full"}),time:Ne({formats:Nst,defaultWidth:"full"}),dateTime:Ne({formats:Mst,defaultWidth:"full"})},Dst={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},$st=function(t,n,r,a){return Dst[t]},Lst={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},Fst={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},jst={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},Ust={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},Bst={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},Wst={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},zst=function(t,n){var r=Number(t),a=String(n==null?void 0:n.unit);switch(a){case"minute":case"second":return String(r);case"date":return r+"일";default:return r+"번째"}},qst={ordinalNumber:zst,era:oe({values:Lst,defaultWidth:"wide"}),quarter:oe({values:Fst,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:jst,defaultWidth:"wide"}),day:oe({values:Ust,defaultWidth:"wide"}),dayPeriod:oe({values:Bst,defaultWidth:"wide",formattingValues:Wst,defaultFormattingWidth:"wide"})},Hst=/^(\d+)(일|번째)?/i,Vst=/\d+/i,Gst={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},Yst={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},Kst={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},Xst={any:[/1/i,/2/i,/3/i,/4/i]},Qst={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},Zst={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Jst={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},elt={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},tlt={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},nlt={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},rlt={ordinalNumber:Xt({matchPattern:Hst,parsePattern:Vst,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Gst,defaultMatchWidth:"wide",parsePatterns:Yst,defaultParseWidth:"any"}),quarter:se({matchPatterns:Kst,defaultMatchWidth:"wide",parsePatterns:Xst,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Qst,defaultMatchWidth:"wide",parsePatterns:Zst,defaultParseWidth:"any"}),day:se({matchPatterns:Jst,defaultMatchWidth:"wide",parsePatterns:elt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:tlt,defaultMatchWidth:"any",parsePatterns:nlt,defaultParseWidth:"any"})},alt={code:"ko",formatDistance:Pst,formatLong:Ist,formatRelative:$st,localize:qst,match:rlt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const ilt=Object.freeze(Object.defineProperty({__proto__:null,default:alt},Symbol.toStringTag,{value:"Module"})),olt=jt(ilt);var zre={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xweeks_one:"savaitė_savaitės_savaitę",xweeks_other:"savaitės_savaičių_savaites",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"},VV=function(t,n,r,a){return n?a?"kelių sekundžių":"kelias sekundes":"kelios sekundės"},es=function(t,n,r,a){return n?a?Dp(r)[1]:Dp(r)[2]:Dp(r)[0]},Oo=function(t,n,r,a){var i=t+" ";return t===1?i+es(t,n,r,a):n?a?i+Dp(r)[1]:i+(GV(t)?Dp(r)[1]:Dp(r)[2]):i+(GV(t)?Dp(r)[1]:Dp(r)[0])};function GV(e){return e%10===0||e>10&&e<20}function Dp(e){return zre[e].split("_")}var slt={lessThanXSeconds:{one:VV,other:Oo},xSeconds:{one:VV,other:Oo},halfAMinute:"pusė minutės",lessThanXMinutes:{one:es,other:Oo},xMinutes:{one:es,other:Oo},aboutXHours:{one:es,other:Oo},xHours:{one:es,other:Oo},xDays:{one:es,other:Oo},aboutXWeeks:{one:es,other:Oo},xWeeks:{one:es,other:Oo},aboutXMonths:{one:es,other:Oo},xMonths:{one:es,other:Oo},aboutXYears:{one:es,other:Oo},xYears:{one:es,other:Oo},overXYears:{one:es,other:Oo},almostXYears:{one:es,other:Oo}},llt=function(t,n,r){var a=t.match(/about|over|almost|lessthan/i),i=a?t.replace(a[0],""):t,o=(r==null?void 0:r.comparison)!==void 0&&r.comparison>0,l,u=slt[t];if(typeof u=="string"?l=u:n===1?l=u.one(n,(r==null?void 0:r.addSuffix)===!0,i.toLowerCase()+"_one",o):l=u.other(n,(r==null?void 0:r.addSuffix)===!0,i.toLowerCase()+"_other",o),a){var d=a[0].toLowerCase();l=zre[d]+" "+l}return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"po "+l:"prieš "+l:l},ult={full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},clt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dlt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},flt={date:Ne({formats:ult,defaultWidth:"full"}),time:Ne({formats:clt,defaultWidth:"full"}),dateTime:Ne({formats:dlt,defaultWidth:"full"})},plt={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"},mlt=function(t,n,r,a){return plt[t]},hlt={narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},glt={narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},vlt={narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},ylt={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},blt={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},wlt={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},Slt={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},Elt={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},Tlt={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},Clt=function(t,n){var r=Number(t);return r+"-oji"},klt={ordinalNumber:Clt,era:oe({values:hlt,defaultWidth:"wide"}),quarter:oe({values:glt,defaultWidth:"wide",formattingValues:vlt,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ylt,defaultWidth:"wide",formattingValues:blt,defaultFormattingWidth:"wide"}),day:oe({values:wlt,defaultWidth:"wide",formattingValues:Slt,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:Elt,defaultWidth:"wide",formattingValues:Tlt,defaultFormattingWidth:"wide"})},xlt=/^(\d+)(-oji)?/i,_lt=/\d+/i,Olt={narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},Rlt={wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},Plt={narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},Alt={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},Nlt={narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},Mlt={narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},Ilt={narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i},Dlt={narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},$lt={narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},Llt={narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},Flt={ordinalNumber:Xt({matchPattern:xlt,parsePattern:_lt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Olt,defaultMatchWidth:"wide",parsePatterns:Rlt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Plt,defaultMatchWidth:"wide",parsePatterns:Alt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Nlt,defaultMatchWidth:"wide",parsePatterns:Mlt,defaultParseWidth:"any"}),day:se({matchPatterns:Ilt,defaultMatchWidth:"wide",parsePatterns:Dlt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:$lt,defaultMatchWidth:"any",parsePatterns:Llt,defaultParseWidth:"any"})},jlt={code:"lt",formatDistance:llt,formatLong:flt,formatRelative:mlt,localize:klt,match:Flt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Ult=Object.freeze(Object.defineProperty({__proto__:null,default:jlt},Symbol.toStringTag,{value:"Module"})),Blt=jt(Ult);function Ro(e){return function(t,n){if(t===1)return n!=null&&n.addSuffix?e.one[0].replace("{{time}}",e.one[2]):e.one[0].replace("{{time}}",e.one[1]);var r=t%10===1&&t%100!==11;return n!=null&&n.addSuffix?e.other[0].replace("{{time}}",r?e.other[3]:e.other[4]).replace("{{count}}",String(t)):e.other[0].replace("{{time}}",r?e.other[1]:e.other[2]).replace("{{count}}",String(t))}}var Wlt={lessThanXSeconds:Ro({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:Ro({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?"pusminūtes":"pusminūte"},lessThanXMinutes:Ro({one:["mazāk par {{time}}","minūti","minūti"],other:["mazāk nekā {{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),xMinutes:Ro({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:Ro({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:Ro({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:Ro({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXWeeks:Ro({one:["apmēram 1 {{time}}","nedēļa","nedēļas"],other:["apmēram {{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),xWeeks:Ro({one:["1 {{time}}","nedēļa","nedēļas"],other:["{{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),aboutXMonths:Ro({one:["apmēram 1 {{time}}","mēnesis","mēneša"],other:["apmēram {{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),xMonths:Ro({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:Ro({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:Ro({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:Ro({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:Ro({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})},zlt=function(t,n,r){var a=Wlt[t](n,r);return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"pēc "+a:"pirms "+a:a},qlt={full:"EEEE, y. 'gada' d. MMMM",long:"y. 'gada' d. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},Hlt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Vlt={full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Glt={date:Ne({formats:qlt,defaultWidth:"full"}),time:Ne({formats:Hlt,defaultWidth:"full"}),dateTime:Ne({formats:Vlt,defaultWidth:"full"})},YV=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],Ylt={lastWeek:function(t,n,r){if(bi(t,n,r))return"eeee 'plkst.' p";var a=YV[t.getUTCDay()];return"'Pagājušā "+a+" plkst.' p"},yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:function(t,n,r){if(bi(t,n,r))return"eeee 'plkst.' p";var a=YV[t.getUTCDay()];return"'Nākamajā "+a+" plkst.' p"},other:"P"},Klt=function(t,n,r,a){var i=Ylt[t];return typeof i=="function"?i(n,r,a):i},Xlt={narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},Qlt={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},Zlt={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},Jlt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"]},eut={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","martā","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī"]},tut={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"]},nut={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"]},rut={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"diena",evening:"vakars",night:"nakts"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"pēcpusd.",evening:"vakars",night:"nakts"},wide:{am:"am",pm:"pm",midnight:"pusnakts",noon:"pusdienlaiks",morning:"rīts",afternoon:"pēcpusdiena",evening:"vakars",night:"nakts"}},aut={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"dienā",evening:"vakarā",night:"naktī"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"pēcpusd.",evening:"vakarā",night:"naktī"},wide:{am:"am",pm:"pm",midnight:"pusnaktī",noon:"pusdienlaikā",morning:"rītā",afternoon:"pēcpusdienā",evening:"vakarā",night:"naktī"}},iut=function(t,n){var r=Number(t);return r+"."},out={ordinalNumber:iut,era:oe({values:Xlt,defaultWidth:"wide"}),quarter:oe({values:Qlt,defaultWidth:"wide",formattingValues:Zlt,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Jlt,defaultWidth:"wide",formattingValues:eut,defaultFormattingWidth:"wide"}),day:oe({values:tut,defaultWidth:"wide",formattingValues:nut,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:rut,defaultWidth:"wide",formattingValues:aut,defaultFormattingWidth:"wide"})},sut=/^(\d+)\./i,lut=/\d+/i,uut={narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},cut={any:[/^p/i,/^m/i]},dut={narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},fut={narrow:[/^1/i,/^2/i,/^3/i,/^4/i],abbreviated:[/^1/i,/^2/i,/^3/i,/^4/i],wide:[/^p/i,/^o/i,/^t/i,/^c/i]},put={narrow:/^[jfmasond]/i,abbreviated:/^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,wide:/^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i},mut={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,/^mai/i,/^jūn/i,/^jūl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hut={narrow:/^[spotc]/i,short:/^(sv|pi|o|t|c|pk|s)/i,abbreviated:/^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,wide:/^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i},gut={narrow:[/^s/i,/^p/i,/^o/i,/^t/i,/^c/i,/^p/i,/^s/i],any:[/^sv/i,/^pi/i,/^o/i,/^t/i,/^c/i,/^p/i,/^se/i]},vut={narrow:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,abbreviated:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,wide:/^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i},yut={any:{am:/^am/i,pm:/^pm/i,midnight:/^pusn/i,noon:/^pusd/i,morning:/^r/i,afternoon:/^(d|pēc)/i,evening:/^v/i,night:/^n/i}},but={ordinalNumber:Xt({matchPattern:sut,parsePattern:lut,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:uut,defaultMatchWidth:"wide",parsePatterns:cut,defaultParseWidth:"any"}),quarter:se({matchPatterns:dut,defaultMatchWidth:"wide",parsePatterns:fut,defaultParseWidth:"wide",valueCallback:function(t){return t+1}}),month:se({matchPatterns:put,defaultMatchWidth:"wide",parsePatterns:mut,defaultParseWidth:"any"}),day:se({matchPatterns:hut,defaultMatchWidth:"wide",parsePatterns:gut,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:vut,defaultMatchWidth:"wide",parsePatterns:yut,defaultParseWidth:"any"})},wut={code:"lv",formatDistance:zlt,formatLong:Glt,formatRelative:Klt,localize:out,match:but,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Sut=Object.freeze(Object.defineProperty({__proto__:null,default:wut},Symbol.toStringTag,{value:"Module"})),Eut=jt(Sut);var Tut={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},Cut=function(t,n,r){var a,i=Tut[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dalam masa "+a:a+" yang lalu":a},kut={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},xut={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},_ut={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Out={date:Ne({formats:kut,defaultWidth:"full"}),time:Ne({formats:xut,defaultWidth:"full"}),dateTime:Ne({formats:_ut,defaultWidth:"full"})},Rut={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"},Put=function(t,n,r,a){return Rut[t]},Aut={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},Nut={narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},Mut={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},Iut={narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},Dut={narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},$ut={narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},Lut=function(t,n){return"ke-"+Number(t)},Fut={ordinalNumber:Lut,era:oe({values:Aut,defaultWidth:"wide"}),quarter:oe({values:Nut,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Mut,defaultWidth:"wide"}),day:oe({values:Iut,defaultWidth:"wide"}),dayPeriod:oe({values:Dut,defaultWidth:"wide",formattingValues:$ut,defaultFormattingWidth:"wide"})},jut=/^ke-(\d+)?/i,Uut=/petama|\d+/i,But={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},Wut={any:[/^s/i,/^(m)/i]},zut={narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},qut={any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},Hut={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},Vut={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]},Gut={narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},Yut={narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa/i]},Kut={narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},Xut={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},Qut={ordinalNumber:Xt({matchPattern:jut,parsePattern:Uut,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:But,defaultMatchWidth:"wide",parsePatterns:Wut,defaultParseWidth:"any"}),quarter:se({matchPatterns:zut,defaultMatchWidth:"wide",parsePatterns:qut,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Hut,defaultMatchWidth:"wide",parsePatterns:Vut,defaultParseWidth:"any"}),day:se({matchPatterns:Gut,defaultMatchWidth:"wide",parsePatterns:Yut,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Kut,defaultMatchWidth:"any",parsePatterns:Xut,defaultParseWidth:"any"})},Zut={code:"ms",formatDistance:Cut,formatLong:Out,formatRelative:Put,localize:Fut,match:Qut,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Jut=Object.freeze(Object.defineProperty({__proto__:null,default:Zut},Symbol.toStringTag,{value:"Module"})),ect=jt(Jut);var tct={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},nct=function(t,n,r){var a,i=tct[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" siden":a},rct={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},act={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ict={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oct={date:Ne({formats:rct,defaultWidth:"full"}),time:Ne({formats:act,defaultWidth:"full"}),dateTime:Ne({formats:ict,defaultWidth:"full"})},sct={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},lct=function(t,n,r,a){return sct[t]},uct={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},cct={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},dct={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},fct={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},pct={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},mct=function(t,n){var r=Number(t);return r+"."},hct={ordinalNumber:mct,era:oe({values:uct,defaultWidth:"wide"}),quarter:oe({values:cct,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:dct,defaultWidth:"wide"}),day:oe({values:fct,defaultWidth:"wide"}),dayPeriod:oe({values:pct,defaultWidth:"wide"})},gct=/^(\d+)\.?/i,vct=/\d+/i,yct={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},bct={any:[/^f/i,/^e/i]},wct={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},Sct={any:[/1/i,/2/i,/3/i,/4/i]},Ect={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},Tct={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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},Cct={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},kct={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},xct={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},_ct={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},Oct={ordinalNumber:Xt({matchPattern:gct,parsePattern:vct,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:yct,defaultMatchWidth:"wide",parsePatterns:bct,defaultParseWidth:"any"}),quarter:se({matchPatterns:wct,defaultMatchWidth:"wide",parsePatterns:Sct,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Ect,defaultMatchWidth:"wide",parsePatterns:Tct,defaultParseWidth:"any"}),day:se({matchPatterns:Cct,defaultMatchWidth:"wide",parsePatterns:kct,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:xct,defaultMatchWidth:"any",parsePatterns:_ct,defaultParseWidth:"any"})},Rct={code:"nb",formatDistance:nct,formatLong:oct,formatRelative:lct,localize:hct,match:Oct,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Pct=Object.freeze(Object.defineProperty({__proto__:null,default:Rct},Symbol.toStringTag,{value:"Module"})),Act=jt(Pct);var Nct={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"}},Mct=function(t,n,r){var a,i=Nct[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"over "+a:a+" geleden":a},Ict={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Dct={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},$ct={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Lct={date:Ne({formats:Ict,defaultWidth:"full"}),time:Ne({formats:Dct,defaultWidth:"full"}),dateTime:Ne({formats:$ct,defaultWidth:"full"})},Fct={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},jct=function(t,n,r,a){return Fct[t]},Uct={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Bct={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Wct={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"]},zct={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"]},qct={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"}},Hct=function(t,n){var r=Number(t);return r+"e"},Vct={ordinalNumber:Hct,era:oe({values:Uct,defaultWidth:"wide"}),quarter:oe({values:Bct,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Wct,defaultWidth:"wide"}),day:oe({values:zct,defaultWidth:"wide"}),dayPeriod:oe({values:qct,defaultWidth:"wide"})},Gct=/^(\d+)e?/i,Yct=/\d+/i,Kct={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Xct={any:[/^v/,/^n/]},Qct={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Zct={any:[/1/i,/2/i,/3/i,/4/i]},Jct={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},edt={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]},tdt={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},ndt={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]},rdt={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},adt={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}},idt={ordinalNumber:Xt({matchPattern:Gct,parsePattern:Yct,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Kct,defaultMatchWidth:"wide",parsePatterns:Xct,defaultParseWidth:"any"}),quarter:se({matchPatterns:Qct,defaultMatchWidth:"wide",parsePatterns:Zct,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Jct,defaultMatchWidth:"wide",parsePatterns:edt,defaultParseWidth:"any"}),day:se({matchPatterns:tdt,defaultMatchWidth:"wide",parsePatterns:ndt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:rdt,defaultMatchWidth:"any",parsePatterns:adt,defaultParseWidth:"any"})},odt={code:"nl",formatDistance:Mct,formatLong:Lct,formatRelative:jct,localize:Vct,match:idt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const sdt=Object.freeze(Object.defineProperty({__proto__:null,default:odt},Symbol.toStringTag,{value:"Module"})),ldt=jt(sdt);var udt={lessThanXSeconds:{one:"mindre enn eitt sekund",other:"mindre enn {{count}} sekund"},xSeconds:{one:"eitt sekund",other:"{{count}} sekund"},halfAMinute:"eit halvt minutt",lessThanXMinutes:{one:"mindre enn eitt minutt",other:"mindre enn {{count}} minutt"},xMinutes:{one:"eitt minutt",other:"{{count}} minutt"},aboutXHours:{one:"omtrent ein time",other:"omtrent {{count}} timar"},xHours:{one:"ein time",other:"{{count}} timar"},xDays:{one:"ein dag",other:"{{count}} dagar"},aboutXWeeks:{one:"omtrent ei veke",other:"omtrent {{count}} veker"},xWeeks:{one:"ei veke",other:"{{count}} veker"},aboutXMonths:{one:"omtrent ein månad",other:"omtrent {{count}} månader"},xMonths:{one:"ein månad",other:"{{count}} månader"},aboutXYears:{one:"omtrent eitt år",other:"omtrent {{count}} år"},xYears:{one:"eitt år",other:"{{count}} år"},overXYears:{one:"over eitt år",other:"over {{count}} år"},almostXYears:{one:"nesten eitt år",other:"nesten {{count}} år"}},cdt=["null","ein","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],ddt=function(t,n,r){var a,i=udt[t];return typeof i=="string"?a=i:n===1?a=i.one:r&&r.onlyNumeric?a=i.other.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",n<13?cdt[n]:String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" sidan":a},fdt={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},pdt={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},mdt={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},hdt={date:Ne({formats:fdt,defaultWidth:"full"}),time:Ne({formats:pdt,defaultWidth:"full"}),dateTime:Ne({formats:mdt,defaultWidth:"full"})},gdt={lastWeek:"'førre' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},vdt=function(t,n,r,a){return gdt[t]},ydt={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},bdt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},wdt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},Sdt={narrow:["S","M","T","O","T","F","L"],short:["su","må","ty","on","to","fr","lau"],abbreviated:["sun","mån","tys","ons","tor","fre","laur"],wide:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"]},Edt={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natta"}},Tdt=function(t,n){var r=Number(t);return r+"."},Cdt={ordinalNumber:Tdt,era:oe({values:ydt,defaultWidth:"wide"}),quarter:oe({values:bdt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:wdt,defaultWidth:"wide"}),day:oe({values:Sdt,defaultWidth:"wide"}),dayPeriod:oe({values:Edt,defaultWidth:"wide"})},kdt=/^(\d+)\.?/i,xdt=/\d+/i,_dt={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},Odt={any:[/^f/i,/^e/i]},Rdt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},Pdt={any:[/1/i,/2/i,/3/i,/4/i]},Adt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},Ndt={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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},Mdt={narrow:/^[smtofl]/i,short:/^(su|må|ty|on|to|fr|la)/i,abbreviated:/^(sun|mån|tys|ons|tor|fre|laur)/i,wide:/^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i},Idt={any:[/^s/i,/^m/i,/^ty/i,/^o/i,/^to/i,/^f/i,/^l/i]},Ddt={narrow:/^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i},$dt={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},Ldt={ordinalNumber:Xt({matchPattern:kdt,parsePattern:xdt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:_dt,defaultMatchWidth:"wide",parsePatterns:Odt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Rdt,defaultMatchWidth:"wide",parsePatterns:Pdt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Adt,defaultMatchWidth:"wide",parsePatterns:Ndt,defaultParseWidth:"any"}),day:se({matchPatterns:Mdt,defaultMatchWidth:"wide",parsePatterns:Idt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ddt,defaultMatchWidth:"any",parsePatterns:$dt,defaultParseWidth:"any"})},Fdt={code:"nn",formatDistance:ddt,formatLong:hdt,formatRelative:vdt,localize:Cdt,match:Ldt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const jdt=Object.freeze(Object.defineProperty({__proto__:null,default:Fdt},Symbol.toStringTag,{value:"Module"})),Udt=jt(jdt);var Bdt={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function Wdt(e,t){if(t===1)return e.one;var n=t%100;if(n<=20&&n>10)return e.other;var r=n%10;return r>=2&&r<=4?e.twoFour:e.other}function ND(e,t,n){var r=Wdt(e,t),a=typeof r=="string"?r:r[n];return a.replace("{{count}}",String(t))}var zdt=function(t,n,r){var a=Bdt[t];return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+ND(a,n,"future"):ND(a,n,"past")+" temu":ND(a,n,"regular")},qdt={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},Hdt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Vdt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Gdt={date:Ne({formats:qdt,defaultWidth:"full"}),time:Ne({formats:Hdt,defaultWidth:"full"}),dateTime:Ne({formats:Vdt,defaultWidth:"full"})},Ydt={masculine:"ostatni",feminine:"ostatnia"},Kdt={masculine:"ten",feminine:"ta"},Xdt={masculine:"następny",feminine:"następna"},Qdt={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function KV(e,t,n,r){var a;if(bi(t,n,r))a=Kdt;else if(e==="lastWeek")a=Ydt;else if(e==="nextWeek")a=Xdt;else throw new Error("Cannot determine adjectives for token ".concat(e));var i=t.getUTCDay(),o=Qdt[i],l=a[o];return"'".concat(l,"' eeee 'o' p")}var Zdt={lastWeek:KV,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:KV,other:"P"},Jdt=function(t,n,r,a){var i=Zdt[t];return typeof i=="function"?i(t,n,r,a):i},eft={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},tft={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},nft={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},rft={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},aft={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},ift={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},oft={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},sft={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},lft=function(t,n){return String(t)},uft={ordinalNumber:lft,era:oe({values:eft,defaultWidth:"wide"}),quarter:oe({values:tft,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:nft,defaultWidth:"wide",formattingValues:rft,defaultFormattingWidth:"wide"}),day:oe({values:aft,defaultWidth:"wide",formattingValues:ift,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:oft,defaultWidth:"wide",formattingValues:sft,defaultFormattingWidth:"wide"})},cft=/^(\d+)?/i,dft=/\d+/i,fft={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},pft={any:[/^p/i,/^n/i]},mft={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},hft={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},gft={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},vft={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},yft={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},bft={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},wft={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},Sft={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},Eft={ordinalNumber:Xt({matchPattern:cft,parsePattern:dft,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:fft,defaultMatchWidth:"wide",parsePatterns:pft,defaultParseWidth:"any"}),quarter:se({matchPatterns:mft,defaultMatchWidth:"wide",parsePatterns:hft,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:gft,defaultMatchWidth:"wide",parsePatterns:vft,defaultParseWidth:"any"}),day:se({matchPatterns:yft,defaultMatchWidth:"wide",parsePatterns:bft,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:wft,defaultMatchWidth:"any",parsePatterns:Sft,defaultParseWidth:"any"})},Tft={code:"pl",formatDistance:zdt,formatLong:Gdt,formatRelative:Jdt,localize:uft,match:Eft,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Cft=Object.freeze(Object.defineProperty({__proto__:null,default:Tft},Symbol.toStringTag,{value:"Module"})),kft=jt(Cft);var xft={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ês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",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"}},_ft=function(t,n,r){var a,i=xft[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"daqui a "+a:"há "+a:a},Oft={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},Rft={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Pft={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Aft={date:Ne({formats:Oft,defaultWidth:"full"}),time:Ne({formats:Rft,defaultWidth:"full"}),dateTime:Ne({formats:Pft,defaultWidth:"full"})},Nft={lastWeek:function(t){var n=t.getUTCDay(),r=n===0||n===6?"último":"última";return"'"+r+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Mft=function(t,n,r,a){var i=Nft[t];return typeof i=="function"?i(n):i},Ift={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},Dft={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},$ft={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ço","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Lft={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},Fft={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},jft={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},Uft=function(t,n){var r=Number(t);return r+"º"},Bft={ordinalNumber:Uft,era:oe({values:Ift,defaultWidth:"wide"}),quarter:oe({values:Dft,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:$ft,defaultWidth:"wide"}),day:oe({values:Lft,defaultWidth:"wide"}),dayPeriod:oe({values:Fft,defaultWidth:"wide",formattingValues:jft,defaultFormattingWidth:"wide"})},Wft=/^(\d+)(º|ª)?/i,zft=/\d+/i,qft={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},Hft={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},Vft={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},Gft={any:[/1/i,/2/i,/3/i,/4/i]},Yft={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},Kft={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]},Xft={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},Qft={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]},Zft={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},Jft={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}},ept={ordinalNumber:Xt({matchPattern:Wft,parsePattern:zft,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:qft,defaultMatchWidth:"wide",parsePatterns:Hft,defaultParseWidth:"any"}),quarter:se({matchPatterns:Vft,defaultMatchWidth:"wide",parsePatterns:Gft,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Yft,defaultMatchWidth:"wide",parsePatterns:Kft,defaultParseWidth:"any"}),day:se({matchPatterns:Xft,defaultMatchWidth:"wide",parsePatterns:Qft,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Zft,defaultMatchWidth:"any",parsePatterns:Jft,defaultParseWidth:"any"})},tpt={code:"pt",formatDistance:_ft,formatLong:Aft,formatRelative:Mft,localize:Bft,match:ept,options:{weekStartsOn:1,firstWeekContainsDate:4}};const npt=Object.freeze(Object.defineProperty({__proto__:null,default:tpt},Symbol.toStringTag,{value:"Module"})),rpt=jt(npt);var apt={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:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{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"}},ipt=function(t,n,r){var a,i=apt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"em "+a:"há "+a:a},opt={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},spt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lpt={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},upt={date:Ne({formats:opt,defaultWidth:"full"}),time:Ne({formats:spt,defaultWidth:"full"}),dateTime:Ne({formats:lpt,defaultWidth:"full"})},cpt={lastWeek:function(t){var n=t.getUTCDay(),r=n===0||n===6?"último":"última";return"'"+r+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},dpt=function(t,n,r,a){var i=cpt[t];return typeof i=="function"?i(n):i},fpt={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},ppt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},mpt={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ço","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},hpt={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},gpt={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},vpt={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},ypt=function(t,n){var r=Number(t);return(n==null?void 0:n.unit)==="week"?r+"ª":r+"º"},bpt={ordinalNumber:ypt,era:oe({values:fpt,defaultWidth:"wide"}),quarter:oe({values:ppt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:mpt,defaultWidth:"wide"}),day:oe({values:hpt,defaultWidth:"wide"}),dayPeriod:oe({values:gpt,defaultWidth:"wide",formattingValues:vpt,defaultFormattingWidth:"wide"})},wpt=/^(\d+)[ºªo]?/i,Spt=/\d+/i,Ept={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},Tpt={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Cpt={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},kpt={any:[/1/i,/2/i,/3/i,/4/i]},xpt={narrow:/^[jfmajsond]/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},_pt={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,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},Opt={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},Rpt={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},Ppt={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},Apt={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},Npt={ordinalNumber:Xt({matchPattern:wpt,parsePattern:Spt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Ept,defaultMatchWidth:"wide",parsePatterns:Tpt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Cpt,defaultMatchWidth:"wide",parsePatterns:kpt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:xpt,defaultMatchWidth:"wide",parsePatterns:_pt,defaultParseWidth:"any"}),day:se({matchPatterns:Opt,defaultMatchWidth:"wide",parsePatterns:Rpt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ppt,defaultMatchWidth:"any",parsePatterns:Apt,defaultParseWidth:"any"})},Mpt={code:"pt-BR",formatDistance:ipt,formatLong:upt,formatRelative:dpt,localize:bpt,match:Npt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ipt=Object.freeze(Object.defineProperty({__proto__:null,default:Mpt},Symbol.toStringTag,{value:"Module"})),Dpt=jt(Ipt);var $pt={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXWeeks:{one:"circa o săptămână",other:"circa {{count}} săptămâni"},xWeeks:{one:"1 săptămână",other:"{{count}} săptămâni"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}},Lpt=function(t,n,r){var a,i=$pt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"în "+a:a+" în urmă":a},Fpt={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},jpt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Upt={full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bpt={date:Ne({formats:Fpt,defaultWidth:"full"}),time:Ne({formats:jpt,defaultWidth:"full"}),dateTime:Ne({formats:Upt,defaultWidth:"full"})},Wpt={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"},zpt=function(t,n,r,a){return Wpt[t]},qpt={narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},Hpt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},Vpt={narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},Gpt={narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},Ypt={narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},Kpt={narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},Xpt=function(t,n){return String(t)},Qpt={ordinalNumber:Xpt,era:oe({values:qpt,defaultWidth:"wide"}),quarter:oe({values:Hpt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Vpt,defaultWidth:"wide"}),day:oe({values:Gpt,defaultWidth:"wide"}),dayPeriod:oe({values:Ypt,defaultWidth:"wide",formattingValues:Kpt,defaultFormattingWidth:"wide"})},Zpt=/^(\d+)?/i,Jpt=/\d+/i,emt={narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},tmt={any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},nmt={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},rmt={any:[/1/i,/2/i,/3/i,/4/i]},amt={narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},imt={narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},omt={narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},smt={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},lmt={narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},umt={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},cmt={ordinalNumber:Xt({matchPattern:Zpt,parsePattern:Jpt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:emt,defaultMatchWidth:"wide",parsePatterns:tmt,defaultParseWidth:"any"}),quarter:se({matchPatterns:nmt,defaultMatchWidth:"wide",parsePatterns:rmt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:amt,defaultMatchWidth:"wide",parsePatterns:imt,defaultParseWidth:"any"}),day:se({matchPatterns:omt,defaultMatchWidth:"wide",parsePatterns:smt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:lmt,defaultMatchWidth:"any",parsePatterns:umt,defaultParseWidth:"any"})},dmt={code:"ro",formatDistance:Lpt,formatLong:Bpt,formatRelative:zpt,localize:Qpt,match:cmt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const fmt=Object.freeze(Object.defineProperty({__proto__:null,default:dmt},Symbol.toStringTag,{value:"Module"})),pmt=jt(fmt);function f1(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function Po(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?f1(e.future,t):"через "+f1(e.regular,t):e.past?f1(e.past,t):f1(e.regular,t)+" назад":f1(e.regular,t)}}var mmt={lessThanXSeconds:Po({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:Po({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:Po({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:Po({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:Po({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:Po({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:Po({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:Po({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:Po({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:Po({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:Po({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:Po({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:Po({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:Po({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:Po({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},hmt=function(t,n,r){return mmt[t](n,r)},gmt={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},vmt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},ymt={any:"{{date}}, {{time}}"},bmt={date:Ne({formats:gmt,defaultWidth:"full"}),time:Ne({formats:vmt,defaultWidth:"full"}),dateTime:Ne({formats:ymt,defaultWidth:"any"})},_j=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function wmt(e){var t=_j[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function XV(e){var t=_j[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function Smt(e){var t=_j[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var Emt={lastWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?XV(a):wmt(a)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?XV(a):Smt(a)},other:"P"},Tmt=function(t,n,r,a){var i=Emt[t];return typeof i=="function"?i(n,r,a):i},Cmt={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},kmt={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},xmt={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},_mt={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},Omt={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},Rmt={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},Pmt={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},Amt=function(t,n){var r=Number(t),a=n==null?void 0:n.unit,i;return a==="date"?i="-е":a==="week"||a==="minute"||a==="second"?i="-я":i="-й",r+i},Nmt={ordinalNumber:Amt,era:oe({values:Cmt,defaultWidth:"wide"}),quarter:oe({values:kmt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:xmt,defaultWidth:"wide",formattingValues:_mt,defaultFormattingWidth:"wide"}),day:oe({values:Omt,defaultWidth:"wide"}),dayPeriod:oe({values:Rmt,defaultWidth:"any",formattingValues:Pmt,defaultFormattingWidth:"wide"})},Mmt=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,Imt=/\d+/i,Dmt={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},$mt={any:[/^д/i,/^н/i]},Lmt={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Fmt={any:[/1/i,/2/i,/3/i,/4/i]},jmt={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Umt={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]},Bmt={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},Wmt={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},zmt={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},qmt={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Hmt={ordinalNumber:Xt({matchPattern:Mmt,parsePattern:Imt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Dmt,defaultMatchWidth:"wide",parsePatterns:$mt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Lmt,defaultMatchWidth:"wide",parsePatterns:Fmt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:jmt,defaultMatchWidth:"wide",parsePatterns:Umt,defaultParseWidth:"any"}),day:se({matchPatterns:Bmt,defaultMatchWidth:"wide",parsePatterns:Wmt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:zmt,defaultMatchWidth:"wide",parsePatterns:qmt,defaultParseWidth:"any"})},Vmt={code:"ru",formatDistance:hmt,formatLong:bmt,formatRelative:Tmt,localize:Nmt,match:Hmt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Gmt=Object.freeze(Object.defineProperty({__proto__:null,default:Vmt},Symbol.toStringTag,{value:"Module"})),Ymt=jt(Gmt);function Kmt(e,t){return t===1&&e.one?e.one:t>=2&&t<=4&&e.twoFour?e.twoFour:e.other}function MD(e,t,n){var r=Kmt(e,t),a=r[n];return a.replace("{{count}}",String(t))}function Xmt(e){var t=["lessThan","about","over","almost"].filter(function(n){return!!e.match(new RegExp("^"+n))});return t[0]}function ID(e){var t="";return e==="almost"&&(t="takmer"),e==="about"&&(t="približne"),t.length>0?t+" ":""}function DD(e){var t="";return e==="lessThan"&&(t="menej než"),e==="over"&&(t="viac než"),t.length>0?t+" ":""}function Qmt(e){return e.charAt(0).toLowerCase()+e.slice(1)}var Zmt={xSeconds:{one:{present:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{present:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{present:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{present:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{present:"minúta",past:"minútou",future:"minútu"},twoFour:{present:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{present:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{present:"hodina",past:"hodinou",future:"hodinu"},twoFour:{present:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{present:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{present:"deň",past:"dňom",future:"deň"},twoFour:{present:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{present:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{present:"týždeň",past:"týždňom",future:"týždeň"},twoFour:{present:"{{count}} týždne",past:"{{count}} týždňami",future:"{{count}} týždne"},other:{present:"{{count}} týždňov",past:"{{count}} týždňami",future:"{{count}} týždňov"}},xMonths:{one:{present:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{present:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{present:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{present:"rok",past:"rokom",future:"rok"},twoFour:{present:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{present:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}},Jmt=function(t,n,r){var a=Xmt(t)||"",i=Qmt(t.substring(a.length)),o=Zmt[i];return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?ID(a)+"o "+DD(a)+MD(o,n,"future"):ID(a)+"pred "+DD(a)+MD(o,n,"past"):ID(a)+DD(a)+MD(o,n,"present")},eht={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},tht={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},nht={full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},rht={date:Ne({formats:eht,defaultWidth:"full"}),time:Ne({formats:tht,defaultWidth:"full"}),dateTime:Ne({formats:nht,defaultWidth:"full"})},Oj=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function aht(e){var t=Oj[e];switch(e){case 0:case 3:case 6:return"'minulú "+t+" o' p";default:return"'minulý' eeee 'o' p"}}function QV(e){var t=Oj[e];return e===4?"'vo' eeee 'o' p":"'v "+t+" o' p"}function iht(e){var t=Oj[e];switch(e){case 0:case 4:case 6:return"'budúcu "+t+" o' p";default:return"'budúci' eeee 'o' p"}}var oht={lastWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?QV(a):aht(a)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return bi(t,n,r)?QV(a):iht(a)},other:"P"},sht=function(t,n,r,a){var i=oht[t];return typeof i=="function"?i(n,r,a):i},lht={narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]},uht={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},cht={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},dht={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},fht={narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},pht={narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},mht={narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},hht=function(t,n){var r=Number(t);return r+"."},ght={ordinalNumber:hht,era:oe({values:lht,defaultWidth:"wide"}),quarter:oe({values:uht,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:cht,defaultWidth:"wide",formattingValues:dht,defaultFormattingWidth:"wide"}),day:oe({values:fht,defaultWidth:"wide"}),dayPeriod:oe({values:pht,defaultWidth:"wide",formattingValues:mht,defaultFormattingWidth:"wide"})},vht=/^(\d+)\.?/i,yht=/\d+/i,bht={narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},wht={any:[/^pr/i,/^(po|n)/i]},Sht={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},Eht={any:[/1/i,/2/i,/3/i,/4/i]},Tht={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i},Cht={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,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},kht={narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},xht={narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},_ht={narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},Oht={any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},Rht={ordinalNumber:Xt({matchPattern:vht,parsePattern:yht,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:bht,defaultMatchWidth:"wide",parsePatterns:wht,defaultParseWidth:"any"}),quarter:se({matchPatterns:Sht,defaultMatchWidth:"wide",parsePatterns:Eht,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Tht,defaultMatchWidth:"wide",parsePatterns:Cht,defaultParseWidth:"any"}),day:se({matchPatterns:kht,defaultMatchWidth:"wide",parsePatterns:xht,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:_ht,defaultMatchWidth:"any",parsePatterns:Oht,defaultParseWidth:"any"})},Pht={code:"sk",formatDistance:Jmt,formatLong:rht,formatRelative:sht,localize:ght,match:Rht,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Aht=Object.freeze(Object.defineProperty({__proto__:null,default:Pht},Symbol.toStringTag,{value:"Module"})),Nht=jt(Aht);function Mht(e){return e.one!==void 0}var Iht={lessThanXSeconds:{present:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},past:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},future:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"}},xSeconds:{present:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},past:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},future:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"}},halfAMinute:"pol minute",lessThanXMinutes:{present:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},past:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},future:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"}},xMinutes:{present:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},past:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},future:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"}},aboutXHours:{present:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},past:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},future:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"}},xHours:{present:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},past:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},future:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"}},xDays:{present:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},past:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},future:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},xWeeks:{one:"{{count}} teden",two:"{{count}} tedna",few:"{{count}} tedne",other:"{{count}} tednov"},aboutXMonths:{present:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},past:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},future:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"}},xMonths:{present:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},past:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},future:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} mesece",other:"{{count}} mesecev"}},aboutXYears:{present:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},past:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},future:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"}},xYears:{present:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},past:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},future:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"}},overXYears:{present:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},past:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},future:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"}},almostXYears:{present:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"},past:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"},future:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}}};function Dht(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}var $ht=function(t,n,r){var a="",i="present";r!=null&&r.addSuffix&&(r.comparison&&r.comparison>0?(i="future",a="čez "):(i="past",a="pred "));var o=Iht[t];if(typeof o=="string")a+=o;else{var l=Dht(n);Mht(o)?a+=o[l].replace("{{count}}",String(n)):a+=o[i][l].replace("{{count}}",String(n))}return a},Lht={full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},Fht={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},jht={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Uht={date:Ne({formats:Lht,defaultWidth:"full"}),time:Ne({formats:Fht,defaultWidth:"full"}),dateTime:Ne({formats:jht,defaultWidth:"full"})},Bht={lastWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"},Wht=function(t,n,r,a){var i=Bht[t];return typeof i=="function"?i(n):i},zht={narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},qht={narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},Hht={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},Vht={narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},Ght={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},Yht={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},Kht=function(t,n){var r=Number(t);return r+"."},Xht={ordinalNumber:Kht,era:oe({values:zht,defaultWidth:"wide"}),quarter:oe({values:qht,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Hht,defaultWidth:"wide"}),day:oe({values:Vht,defaultWidth:"wide"}),dayPeriod:oe({values:Ght,defaultWidth:"wide",formattingValues:Yht,defaultFormattingWidth:"wide"})},Qht=/^(\d+)\./i,Zht=/\d+/i,Jht={abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},egt={any:[/^pr/i,/^(po|na[sš]em)/i]},tgt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},ngt={any:[/1/i,/2/i,/3/i,/4/i]},rgt={narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i},agt={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],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},igt={narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i},ogt={narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},sgt={narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},lgt={narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},ugt={ordinalNumber:Xt({matchPattern:Qht,parsePattern:Zht,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Jht,defaultMatchWidth:"wide",parsePatterns:egt,defaultParseWidth:"any"}),quarter:se({matchPatterns:tgt,defaultMatchWidth:"wide",parsePatterns:ngt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:rgt,defaultMatchWidth:"wide",parsePatterns:agt,defaultParseWidth:"wide"}),day:se({matchPatterns:igt,defaultMatchWidth:"wide",parsePatterns:ogt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:sgt,defaultMatchWidth:"any",parsePatterns:lgt,defaultParseWidth:"any"})},cgt={code:"sl",formatDistance:$ht,formatLong:Uht,formatRelative:Wht,localize:Xht,match:ugt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const dgt=Object.freeze(Object.defineProperty({__proto__:null,default:cgt},Symbol.toStringTag,{value:"Module"})),fgt=jt(dgt);var pgt={lessThanXSeconds:{one:{standalone:"мање од 1 секунде",withPrepositionAgo:"мање од 1 секунде",withPrepositionIn:"мање од 1 секунду"},dual:"мање од {{count}} секунде",other:"мање од {{count}} секунди"},xSeconds:{one:{standalone:"1 секунда",withPrepositionAgo:"1 секунде",withPrepositionIn:"1 секунду"},dual:"{{count}} секунде",other:"{{count}} секунди"},halfAMinute:"пола минуте",lessThanXMinutes:{one:{standalone:"мање од 1 минуте",withPrepositionAgo:"мање од 1 минуте",withPrepositionIn:"мање од 1 минуту"},dual:"мање од {{count}} минуте",other:"мање од {{count}} минута"},xMinutes:{one:{standalone:"1 минута",withPrepositionAgo:"1 минуте",withPrepositionIn:"1 минуту"},dual:"{{count}} минуте",other:"{{count}} минута"},aboutXHours:{one:{standalone:"око 1 сат",withPrepositionAgo:"око 1 сат",withPrepositionIn:"око 1 сат"},dual:"око {{count}} сата",other:"око {{count}} сати"},xHours:{one:{standalone:"1 сат",withPrepositionAgo:"1 сат",withPrepositionIn:"1 сат"},dual:"{{count}} сата",other:"{{count}} сати"},xDays:{one:{standalone:"1 дан",withPrepositionAgo:"1 дан",withPrepositionIn:"1 дан"},dual:"{{count}} дана",other:"{{count}} дана"},aboutXWeeks:{one:{standalone:"око 1 недељу",withPrepositionAgo:"око 1 недељу",withPrepositionIn:"око 1 недељу"},dual:"око {{count}} недеље",other:"око {{count}} недеље"},xWeeks:{one:{standalone:"1 недељу",withPrepositionAgo:"1 недељу",withPrepositionIn:"1 недељу"},dual:"{{count}} недеље",other:"{{count}} недеље"},aboutXMonths:{one:{standalone:"око 1 месец",withPrepositionAgo:"око 1 месец",withPrepositionIn:"око 1 месец"},dual:"око {{count}} месеца",other:"око {{count}} месеци"},xMonths:{one:{standalone:"1 месец",withPrepositionAgo:"1 месец",withPrepositionIn:"1 месец"},dual:"{{count}} месеца",other:"{{count}} месеци"},aboutXYears:{one:{standalone:"око 1 годину",withPrepositionAgo:"око 1 годину",withPrepositionIn:"око 1 годину"},dual:"око {{count}} године",other:"око {{count}} година"},xYears:{one:{standalone:"1 година",withPrepositionAgo:"1 године",withPrepositionIn:"1 годину"},dual:"{{count}} године",other:"{{count}} година"},overXYears:{one:{standalone:"преко 1 годину",withPrepositionAgo:"преко 1 годину",withPrepositionIn:"преко 1 годину"},dual:"преко {{count}} године",other:"преко {{count}} година"},almostXYears:{one:{standalone:"готово 1 годину",withPrepositionAgo:"готово 1 годину",withPrepositionIn:"готово 1 годину"},dual:"готово {{count}} године",other:"готово {{count}} година"}},mgt=function(t,n,r){var a,i=pgt[t];return typeof i=="string"?a=i:n===1?r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a=i.one.withPrepositionIn:a=i.one.withPrepositionAgo:a=i.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=i.dual.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"за "+a:"пре "+a:a},hgt={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},ggt={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},vgt={full:"{{date}} 'у' {{time}}",long:"{{date}} 'у' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ygt={date:Ne({formats:hgt,defaultWidth:"full"}),time:Ne({formats:ggt,defaultWidth:"full"}),dateTime:Ne({formats:vgt,defaultWidth:"full"})},bgt={lastWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'прошле недеље у' p";case 3:return"'прошле среде у' p";case 6:return"'прошле суботе у' p";default:return"'прошли' EEEE 'у' p"}},yesterday:"'јуче у' p",today:"'данас у' p",tomorrow:"'сутра у' p",nextWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'следеће недеље у' p";case 3:return"'следећу среду у' p";case 6:return"'следећу суботу у' p";default:return"'следећи' EEEE 'у' p"}},other:"P"},wgt=function(t,n,r,a){var i=bgt[t];return typeof i=="function"?i(n):i},Sgt={narrow:["пр.н.е.","АД"],abbreviated:["пр. Хр.","по. Хр."],wide:["Пре Христа","После Христа"]},Egt={narrow:["1.","2.","3.","4."],abbreviated:["1. кв.","2. кв.","3. кв.","4. кв."],wide:["1. квартал","2. квартал","3. квартал","4. квартал"]},Tgt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},Cgt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},kgt={narrow:["Н","П","У","С","Ч","П","С"],short:["нед","пон","уто","сре","чет","пет","суб"],abbreviated:["нед","пон","уто","сре","чет","пет","суб"],wide:["недеља","понедељак","уторак","среда","четвртак","петак","субота"]},xgt={narrow:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},_gt={narrow:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},Ogt=function(t,n){var r=Number(t);return r+"."},Rgt={ordinalNumber:Ogt,era:oe({values:Sgt,defaultWidth:"wide"}),quarter:oe({values:Egt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Tgt,defaultWidth:"wide",formattingValues:Cgt,defaultFormattingWidth:"wide"}),day:oe({values:kgt,defaultWidth:"wide"}),dayPeriod:oe({values:_gt,defaultWidth:"wide",formattingValues:xgt,defaultFormattingWidth:"wide"})},Pgt=/^(\d+)\./i,Agt=/\d+/i,Ngt={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},Mgt={any:[/^пр/i,/^(по|нова)/i]},Igt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},Dgt={any:[/1/i,/2/i,/3/i,/4/i]},$gt={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},Lgt={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},Fgt={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},jgt={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^п/i,/^с/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},Ugt={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},Bgt={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},Wgt={ordinalNumber:Xt({matchPattern:Pgt,parsePattern:Agt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Ngt,defaultMatchWidth:"wide",parsePatterns:Mgt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Igt,defaultMatchWidth:"wide",parsePatterns:Dgt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:$gt,defaultMatchWidth:"wide",parsePatterns:Lgt,defaultParseWidth:"any"}),day:se({matchPatterns:Fgt,defaultMatchWidth:"wide",parsePatterns:jgt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ugt,defaultMatchWidth:"any",parsePatterns:Bgt,defaultParseWidth:"any"})},zgt={code:"sr",formatDistance:mgt,formatLong:ygt,formatRelative:wgt,localize:Rgt,match:Wgt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const qgt=Object.freeze(Object.defineProperty({__proto__:null,default:zgt},Symbol.toStringTag,{value:"Module"})),Hgt=jt(qgt);var Vgt={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 nedelju",withPrepositionAgo:"oko 1 nedelju",withPrepositionIn:"oko 1 nedelju"},dual:"oko {{count}} nedelje",other:"oko {{count}} nedelje"},xWeeks:{one:{standalone:"1 nedelju",withPrepositionAgo:"1 nedelju",withPrepositionIn:"1 nedelju"},dual:"{{count}} nedelje",other:"{{count}} nedelje"},aboutXMonths:{one:{standalone:"oko 1 mesec",withPrepositionAgo:"oko 1 mesec",withPrepositionIn:"oko 1 mesec"},dual:"oko {{count}} meseca",other:"oko {{count}} meseci"},xMonths:{one:{standalone:"1 mesec",withPrepositionAgo:"1 mesec",withPrepositionIn:"1 mesec"},dual:"{{count}} meseca",other:"{{count}} meseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},Ggt=function(t,n,r){var a,i=Vgt[t];return typeof i=="string"?a=i:n===1?r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a=i.one.withPrepositionIn:a=i.one.withPrepositionAgo:a=i.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=i.dual.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+a:"pre "+a:a},Ygt={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},Kgt={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Xgt={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Qgt={date:Ne({formats:Ygt,defaultWidth:"full"}),time:Ne({formats:Kgt,defaultWidth:"full"}),dateTime:Ne({formats:Xgt,defaultWidth:"full"})},Zgt={lastWeek:function(t){switch(t.getUTCDay()){case 0:return"'prošle nedelje u' p";case 3:return"'prošle srede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(t){switch(t.getUTCDay()){case 0:return"'sledeće nedelje u' p";case 3:return"'sledeću sredu u' p";case 6:return"'sledeću subotu u' p";default:return"'sledeći' EEEE 'u' p"}},other:"P"},Jgt=function(t,n,r,a){var i=Zgt[t];return typeof i=="function"?i(n):i},evt={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Pre Hrista","Posle Hrista"]},tvt={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},nvt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},rvt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},avt={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"]},ivt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},ovt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},svt=function(t,n){var r=Number(t);return r+"."},lvt={ordinalNumber:svt,era:oe({values:evt,defaultWidth:"wide"}),quarter:oe({values:tvt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:nvt,defaultWidth:"wide",formattingValues:rvt,defaultFormattingWidth:"wide"}),day:oe({values:avt,defaultWidth:"wide"}),dayPeriod:oe({values:ovt,defaultWidth:"wide",formattingValues:ivt,defaultFormattingWidth:"wide"})},uvt=/^(\d+)\./i,cvt=/\d+/i,dvt={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i},fvt={any:[/^pr/i,/^(po|nova)/i]},pvt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},mvt={any:[/1/i,/2/i,/3/i,/4/i]},hvt={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},gvt={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},vvt={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i},yvt={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]},bvt={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i},wvt={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(posle\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},Svt={ordinalNumber:Xt({matchPattern:uvt,parsePattern:cvt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:dvt,defaultMatchWidth:"wide",parsePatterns:fvt,defaultParseWidth:"any"}),quarter:se({matchPatterns:pvt,defaultMatchWidth:"wide",parsePatterns:mvt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:hvt,defaultMatchWidth:"wide",parsePatterns:gvt,defaultParseWidth:"any"}),day:se({matchPatterns:vvt,defaultMatchWidth:"wide",parsePatterns:yvt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:bvt,defaultMatchWidth:"any",parsePatterns:wvt,defaultParseWidth:"any"})},Evt={code:"sr-Latn",formatDistance:Ggt,formatLong:Qgt,formatRelative:Jgt,localize:lvt,match:Svt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Tvt=Object.freeze(Object.defineProperty({__proto__:null,default:Evt},Symbol.toStringTag,{value:"Module"})),Cvt=jt(Tvt);var kvt={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},xvt=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],_vt=function(t,n,r){var a,i=kvt[t];return typeof i=="string"?a=i:n===1?a=i.one:r&&r.onlyNumeric?a=i.other.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",n<13?xvt[n]:String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" sedan":a},Ovt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},Rvt={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Pvt={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Avt={date:Ne({formats:Ovt,defaultWidth:"full"}),time:Ne({formats:Rvt,defaultWidth:"full"}),dateTime:Ne({formats:Pvt,defaultWidth:"full"})},Nvt={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},Mvt=function(t,n,r,a){return Nvt[t]},Ivt={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},Dvt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},$vt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},Lvt={narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},Fvt={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},jvt={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},Uvt=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:case 2:return r+":a"}return r+":e"},Bvt={ordinalNumber:Uvt,era:oe({values:Ivt,defaultWidth:"wide"}),quarter:oe({values:Dvt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:$vt,defaultWidth:"wide"}),day:oe({values:Lvt,defaultWidth:"wide"}),dayPeriod:oe({values:Fvt,defaultWidth:"wide",formattingValues:jvt,defaultFormattingWidth:"wide"})},Wvt=/^(\d+)(:a|:e)?/i,zvt=/\d+/i,qvt={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},Hvt={any:[/^f/i,/^[ev]/i]},Vvt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},Gvt={any:[/1/i,/2/i,/3/i,/4/i]},Yvt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},Kvt={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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xvt={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},Qvt={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},Zvt={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},Jvt={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},eyt={ordinalNumber:Xt({matchPattern:Wvt,parsePattern:zvt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:qvt,defaultMatchWidth:"wide",parsePatterns:Hvt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Vvt,defaultMatchWidth:"wide",parsePatterns:Gvt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Yvt,defaultMatchWidth:"wide",parsePatterns:Kvt,defaultParseWidth:"any"}),day:se({matchPatterns:Xvt,defaultMatchWidth:"wide",parsePatterns:Qvt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Zvt,defaultMatchWidth:"any",parsePatterns:Jvt,defaultParseWidth:"any"})},tyt={code:"sv",formatDistance:_vt,formatLong:Avt,formatRelative:Mvt,localize:Bvt,match:eyt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const nyt=Object.freeze(Object.defineProperty({__proto__:null,default:tyt},Symbol.toStringTag,{value:"Module"})),ryt=jt(nyt);function ayt(e){return e.one!==void 0}var iyt={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் குறைவாக",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXWeeks:{one:{default:"சுமார் 1 வாரம்",in:"சுமார் 1 வாரத்தில்",ago:"சுமார் 1 வாரம் முன்பு"},other:{default:"சுமார் {{count}} வாரங்கள்",in:"சுமார் {{count}} வாரங்களில்",ago:"சுமார் {{count}} வாரங்களுக்கு முன்பு"}},xWeeks:{one:{default:"1 வாரம்",in:"1 வாரத்தில்",ago:"1 வாரம் முன்பு"},other:{default:"{{count}} வாரங்கள்",in:"{{count}} வாரங்களில்",ago:"{{count}} வாரங்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}},oyt=function(t,n,r){var a=r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in":"ago":"default",i=iyt[t];return ayt(i)?n===1?i.one[a]:i.other[a].replace("{{count}}",String(n)):i[a]},syt={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},lyt={full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},uyt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cyt={date:Ne({formats:syt,defaultWidth:"full"}),time:Ne({formats:lyt,defaultWidth:"full"}),dateTime:Ne({formats:uyt,defaultWidth:"full"})},dyt={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"},fyt=function(t,n,r,a){return dyt[t]},pyt={narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},myt={narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},hyt={narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},gyt={narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},vyt={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},yyt={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},byt=function(t,n){return String(t)},wyt={ordinalNumber:byt,era:oe({values:pyt,defaultWidth:"wide"}),quarter:oe({values:myt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:hyt,defaultWidth:"wide"}),day:oe({values:gyt,defaultWidth:"wide"}),dayPeriod:oe({values:vyt,defaultWidth:"wide",formattingValues:yyt,defaultFormattingWidth:"wide"})},Syt=/^(\d+)(வது)?/i,Eyt=/\d+/i,Tyt={narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},Cyt={any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},kyt={narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},xyt={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},_yt={narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},Oyt={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]},Ryt={narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},Pyt={narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},Ayt={narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},Nyt={any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},Myt={ordinalNumber:Xt({matchPattern:Syt,parsePattern:Eyt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Tyt,defaultMatchWidth:"wide",parsePatterns:Cyt,defaultParseWidth:"any"}),quarter:se({matchPatterns:kyt,defaultMatchWidth:"wide",parsePatterns:xyt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:_yt,defaultMatchWidth:"wide",parsePatterns:Oyt,defaultParseWidth:"any"}),day:se({matchPatterns:Ryt,defaultMatchWidth:"wide",parsePatterns:Pyt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ayt,defaultMatchWidth:"any",parsePatterns:Nyt,defaultParseWidth:"any"})},Iyt={code:"ta",formatDistance:oyt,formatLong:cyt,formatRelative:fyt,localize:wyt,match:Myt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Dyt=Object.freeze(Object.defineProperty({__proto__:null,default:Iyt},Symbol.toStringTag,{value:"Module"})),$yt=jt(Dyt);var ZV={lessThanXSeconds:{standalone:{one:"సెకను కన్నా తక్కువ",other:"{{count}} సెకన్ల కన్నా తక్కువ"},withPreposition:{one:"సెకను",other:"{{count}} సెకన్ల"}},xSeconds:{standalone:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"},withPreposition:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"}},halfAMinute:{standalone:"అర నిమిషం",withPreposition:"అర నిమిషం"},lessThanXMinutes:{standalone:{one:"ఒక నిమిషం కన్నా తక్కువ",other:"{{count}} నిమిషాల కన్నా తక్కువ"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},xMinutes:{standalone:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాలు"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},aboutXHours:{standalone:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటలు"},withPreposition:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటల"}},xHours:{standalone:{one:"ఒక గంట",other:"{{count}} గంటలు"},withPreposition:{one:"ఒక గంట",other:"{{count}} గంటల"}},xDays:{standalone:{one:"ఒక రోజు",other:"{{count}} రోజులు"},withPreposition:{one:"ఒక రోజు",other:"{{count}} రోజుల"}},aboutXWeeks:{standalone:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలు"},withPreposition:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలల"}},xWeeks:{standalone:{one:"ఒక వారం",other:"{{count}} వారాలు"},withPreposition:{one:"ఒక వారం",other:"{{count}} వారాలల"}},aboutXMonths:{standalone:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలలు"},withPreposition:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలల"}},xMonths:{standalone:{one:"ఒక నెల",other:"{{count}} నెలలు"},withPreposition:{one:"ఒక నెల",other:"{{count}} నెలల"}},aboutXYears:{standalone:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాలు"},withPreposition:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాల"}},xYears:{standalone:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాలు"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},overXYears:{standalone:{one:"ఒక సంవత్సరం పైగా",other:"{{count}} సంవత్సరాలకు పైగా"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},almostXYears:{standalone:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాలు"},withPreposition:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాల"}}},Lyt=function(t,n,r){var a,i=r!=null&&r.addSuffix?ZV[t].withPreposition:ZV[t].standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"లో":a+" క్రితం":a},Fyt={full:"d, MMMM y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd-MM-yy"},jyt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Uyt={full:"{{date}} {{time}}'కి'",long:"{{date}} {{time}}'కి'",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Byt={date:Ne({formats:Fyt,defaultWidth:"full"}),time:Ne({formats:jyt,defaultWidth:"full"}),dateTime:Ne({formats:Uyt,defaultWidth:"full"})},Wyt={lastWeek:"'గత' eeee p",yesterday:"'నిన్న' p",today:"'ఈ రోజు' p",tomorrow:"'రేపు' p",nextWeek:"'తదుపరి' eeee p",other:"P"},zyt=function(t,n,r,a){return Wyt[t]},qyt={narrow:["క్రీ.పూ.","క్రీ.శ."],abbreviated:["క్రీ.పూ.","క్రీ.శ."],wide:["క్రీస్తు పూర్వం","క్రీస్తుశకం"]},Hyt={narrow:["1","2","3","4"],abbreviated:["త్రై1","త్రై2","త్రై3","త్రై4"],wide:["1వ త్రైమాసికం","2వ త్రైమాసికం","3వ త్రైమాసికం","4వ త్రైమాసికం"]},Vyt={narrow:["జ","ఫి","మా","ఏ","మే","జూ","జు","ఆ","సె","అ","న","డి"],abbreviated:["జన","ఫిబ్ర","మార్చి","ఏప్రి","మే","జూన్","జులై","ఆగ","సెప్టెం","అక్టో","నవం","డిసెం"],wide:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జులై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"]},Gyt={narrow:["ఆ","సో","మ","బు","గు","శు","శ"],short:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],abbreviated:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],wide:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"]},Yyt={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},Kyt={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},Xyt=function(t,n){var r=Number(t);return r+"వ"},Qyt={ordinalNumber:Xyt,era:oe({values:qyt,defaultWidth:"wide"}),quarter:oe({values:Hyt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Vyt,defaultWidth:"wide"}),day:oe({values:Gyt,defaultWidth:"wide"}),dayPeriod:oe({values:Yyt,defaultWidth:"wide",formattingValues:Kyt,defaultFormattingWidth:"wide"})},Zyt=/^(\d+)(వ)?/i,Jyt=/\d+/i,ebt={narrow:/^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,abbreviated:/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,wide:/^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i},tbt={any:[/^(పూ|శ)/i,/^సా/i]},nbt={narrow:/^[1234]/i,abbreviated:/^త్రై[1234]/i,wide:/^[1234](వ)? త్రైమాసికం/i},rbt={any:[/1/i,/2/i,/3/i,/4/i]},abt={narrow:/^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,abbreviated:/^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,wide:/^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i},ibt={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]},obt={narrow:/^(ఆ|సో|మ|బు|గు|శు|శ)/i,short:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,abbreviated:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,wide:/^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i},sbt={narrow:[/^ఆ/i,/^సో/i,/^మ/i,/^బు/i,/^గు/i,/^శు/i,/^శ/i],any:[/^ఆది/i,/^సోమ/i,/^మం/i,/^బుధ/i,/^గురు/i,/^శుక్ర/i,/^శని/i]},lbt={narrow:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,any:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i},ubt={any:{am:/^పూర్వాహ్నం/i,pm:/^అపరాహ్నం/i,midnight:/^అర్ధ/i,noon:/^మిట్ట/i,morning:/ఉదయం/i,afternoon:/మధ్యాహ్నం/i,evening:/సాయంత్రం/i,night:/రాత్రి/i}},cbt={ordinalNumber:Xt({matchPattern:Zyt,parsePattern:Jyt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:ebt,defaultMatchWidth:"wide",parsePatterns:tbt,defaultParseWidth:"any"}),quarter:se({matchPatterns:nbt,defaultMatchWidth:"wide",parsePatterns:rbt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:abt,defaultMatchWidth:"wide",parsePatterns:ibt,defaultParseWidth:"any"}),day:se({matchPatterns:obt,defaultMatchWidth:"wide",parsePatterns:sbt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:lbt,defaultMatchWidth:"any",parsePatterns:ubt,defaultParseWidth:"any"})},dbt={code:"te",formatDistance:Lyt,formatLong:Byt,formatRelative:zyt,localize:Qyt,match:cbt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const fbt=Object.freeze(Object.defineProperty({__proto__:null,default:dbt},Symbol.toStringTag,{value:"Module"})),pbt=jt(fbt);var mbt={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},hbt=function(t,n,r){var a,i=mbt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?t==="halfAMinute"?"ใน"+a:"ใน "+a:a+"ที่ผ่านมา":a},gbt={full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},vbt={full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},ybt={full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bbt={date:Ne({formats:gbt,defaultWidth:"full"}),time:Ne({formats:vbt,defaultWidth:"medium"}),dateTime:Ne({formats:ybt,defaultWidth:"full"})},wbt={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},Sbt=function(t,n,r,a){return wbt[t]},Ebt={narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},Tbt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},Cbt={narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},kbt={narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},xbt={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},_bt={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},Obt=function(t,n){return String(t)},Rbt={ordinalNumber:Obt,era:oe({values:Ebt,defaultWidth:"wide"}),quarter:oe({values:Tbt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:kbt,defaultWidth:"wide"}),day:oe({values:Cbt,defaultWidth:"wide"}),dayPeriod:oe({values:xbt,defaultWidth:"wide",formattingValues:_bt,defaultFormattingWidth:"wide"})},Pbt=/^\d+/i,Abt=/\d+/i,Nbt={narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},Mbt={any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},Ibt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},Dbt={any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},$bt={narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},Lbt={wide:[/^มก/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]},Fbt={narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},jbt={wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},Ubt={any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},Bbt={any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},Wbt={ordinalNumber:Xt({matchPattern:Pbt,parsePattern:Abt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Nbt,defaultMatchWidth:"wide",parsePatterns:Mbt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Ibt,defaultMatchWidth:"wide",parsePatterns:Dbt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:$bt,defaultMatchWidth:"wide",parsePatterns:Lbt,defaultParseWidth:"any"}),day:se({matchPatterns:Fbt,defaultMatchWidth:"wide",parsePatterns:jbt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ubt,defaultMatchWidth:"any",parsePatterns:Bbt,defaultParseWidth:"any"})},zbt={code:"th",formatDistance:hbt,formatLong:bbt,formatRelative:Sbt,localize:Rbt,match:Wbt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const qbt=Object.freeze(Object.defineProperty({__proto__:null,default:zbt},Symbol.toStringTag,{value:"Module"})),Hbt=jt(qbt);var Vbt={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},Gbt=function(t,n,r){var a,i=Vbt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" sonra":a+" önce":a},Ybt={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},Kbt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Xbt={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qbt={date:Ne({formats:Ybt,defaultWidth:"full"}),time:Ne({formats:Kbt,defaultWidth:"full"}),dateTime:Ne({formats:Xbt,defaultWidth:"full"})},Zbt={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},Jbt=function(t,n,r,a){return Zbt[t]},e0t={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},t0t={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},n0t={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},r0t={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},a0t={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},i0t={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},o0t=function(t,n){var r=Number(t);return r+"."},s0t={ordinalNumber:o0t,era:oe({values:e0t,defaultWidth:"wide"}),quarter:oe({values:t0t,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:n0t,defaultWidth:"wide"}),day:oe({values:r0t,defaultWidth:"wide"}),dayPeriod:oe({values:a0t,defaultWidth:"wide",formattingValues:i0t,defaultFormattingWidth:"wide"})},l0t=/^(\d+)(\.)?/i,u0t=/\d+/i,c0t={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},d0t={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},f0t={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},p0t={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]},m0t={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},h0t={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]},g0t={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},v0t={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]},y0t={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},b0t={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}},w0t={ordinalNumber:Xt({matchPattern:l0t,parsePattern:u0t,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:c0t,defaultMatchWidth:"wide",parsePatterns:d0t,defaultParseWidth:"any"}),quarter:se({matchPatterns:f0t,defaultMatchWidth:"wide",parsePatterns:p0t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:m0t,defaultMatchWidth:"wide",parsePatterns:h0t,defaultParseWidth:"any"}),day:se({matchPatterns:g0t,defaultMatchWidth:"wide",parsePatterns:v0t,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:y0t,defaultMatchWidth:"any",parsePatterns:b0t,defaultParseWidth:"any"})},S0t={code:"tr",formatDistance:Gbt,formatLong:Qbt,formatRelative:Jbt,localize:s0t,match:w0t,options:{weekStartsOn:1,firstWeekContainsDate:1}};const E0t=Object.freeze(Object.defineProperty({__proto__:null,default:S0t},Symbol.toStringTag,{value:"Module"})),T0t=jt(E0t);var C0t={lessThanXSeconds:{one:"بىر سىكۇنت ئىچىدە",other:"سىكۇنت ئىچىدە {{count}}"},xSeconds:{one:"بىر سىكۇنت",other:"سىكۇنت {{count}}"},halfAMinute:"يىرىم مىنۇت",lessThanXMinutes:{one:"بىر مىنۇت ئىچىدە",other:"مىنۇت ئىچىدە {{count}}"},xMinutes:{one:"بىر مىنۇت",other:"مىنۇت {{count}}"},aboutXHours:{one:"تەخمىنەن بىر سائەت",other:"سائەت {{count}} تەخمىنەن"},xHours:{one:"بىر سائەت",other:"سائەت {{count}}"},xDays:{one:"بىر كۈن",other:"كۈن {{count}}"},aboutXWeeks:{one:"تەخمىنەن بىرھەپتە",other:"ھەپتە {{count}} تەخمىنەن"},xWeeks:{one:"بىرھەپتە",other:"ھەپتە {{count}}"},aboutXMonths:{one:"تەخمىنەن بىر ئاي",other:"ئاي {{count}} تەخمىنەن"},xMonths:{one:"بىر ئاي",other:"ئاي {{count}}"},aboutXYears:{one:"تەخمىنەن بىر يىل",other:"يىل {{count}} تەخمىنەن"},xYears:{one:"بىر يىل",other:"يىل {{count}}"},overXYears:{one:"بىر يىلدىن ئارتۇق",other:"يىلدىن ئارتۇق {{count}}"},almostXYears:{one:"ئاساسەن بىر يىل",other:"يىل {{count}} ئاساسەن"}},k0t=function(t,n,r){var a,i=C0t[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a:a+" بولدى":a},x0t={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_0t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},O0t={full:"{{date}} 'دە' {{time}}",long:"{{date}} 'دە' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},R0t={date:Ne({formats:x0t,defaultWidth:"full"}),time:Ne({formats:_0t,defaultWidth:"full"}),dateTime:Ne({formats:O0t,defaultWidth:"full"})},P0t={lastWeek:"'ئ‍ۆتكەن' eeee 'دە' p",yesterday:"'تۈنۈگۈن دە' p",today:"'بۈگۈن دە' p",tomorrow:"'ئەتە دە' p",nextWeek:"eeee 'دە' p",other:"P"},A0t=function(t,n,r,a){return P0t[t]},N0t={narrow:["ب","ك"],abbreviated:["ب","ك"],wide:["مىيلادىدىن بۇرۇن","مىيلادىدىن كىيىن"]},M0t={narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["بىرىنجى چارەك","ئىككىنجى چارەك","ئۈچىنجى چارەك","تۆتىنجى چارەك"]},I0t={narrow:["ي","ف","م","ا","م","ى","ى","ا","س","ۆ","ن","د"],abbreviated:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"],wide:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"]},D0t={narrow:["ي","د","س","چ","پ","ج","ش"],short:["ي","د","س","چ","پ","ج","ش"],abbreviated:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],wide:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},$0t={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"}},L0t={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"}},F0t=function(t,n){return String(t)},j0t={ordinalNumber:F0t,era:oe({values:N0t,defaultWidth:"wide"}),quarter:oe({values:M0t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:I0t,defaultWidth:"wide"}),day:oe({values:D0t,defaultWidth:"wide"}),dayPeriod:oe({values:$0t,defaultWidth:"wide",formattingValues:L0t,defaultFormattingWidth:"wide"})},U0t=/^(\d+)(th|st|nd|rd)?/i,B0t=/\d+/i,W0t={narrow:/^(ب|ك)/i,wide:/^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i},z0t={any:[/^بۇرۇن/i,/^كىيىن/i]},q0t={narrow:/^[1234]/i,abbreviated:/^چ[1234]/i,wide:/^چارەك [1234]/i},H0t={any:[/1/i,/2/i,/3/i,/4/i]},V0t={narrow:/^[يفمئامئ‍ئاسۆند]/i,abbreviated:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,wide:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i},G0t={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]},Y0t={narrow:/^[دسچپجشي]/i,short:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},K0t={narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},X0t={narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},Q0t={any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},Z0t={ordinalNumber:Xt({matchPattern:U0t,parsePattern:B0t,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:W0t,defaultMatchWidth:"wide",parsePatterns:z0t,defaultParseWidth:"any"}),quarter:se({matchPatterns:q0t,defaultMatchWidth:"wide",parsePatterns:H0t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:V0t,defaultMatchWidth:"wide",parsePatterns:G0t,defaultParseWidth:"any"}),day:se({matchPatterns:Y0t,defaultMatchWidth:"wide",parsePatterns:K0t,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:X0t,defaultMatchWidth:"any",parsePatterns:Q0t,defaultParseWidth:"any"})},J0t={code:"ug",formatDistance:k0t,formatLong:R0t,formatRelative:A0t,localize:j0t,match:Z0t,options:{weekStartsOn:0,firstWeekContainsDate:1}};const ewt=Object.freeze(Object.defineProperty({__proto__:null,default:J0t},Symbol.toStringTag,{value:"Module"})),twt=jt(ewt);function p1(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function Ao(e){return function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?p1(e.future,t):"за "+p1(e.regular,t):e.past?p1(e.past,t):p1(e.regular,t)+" тому":p1(e.regular,t)}}var nwt=function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини"},rwt={lessThanXSeconds:Ao({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:Ao({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:nwt,lessThanXMinutes:Ao({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:Ao({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:Ao({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:Ao({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:Ao({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:Ao({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:Ao({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:Ao({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:Ao({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:Ao({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:Ao({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:Ao({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:Ao({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},awt=function(t,n,r){return r=r||{},rwt[t](n,r)},iwt={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},owt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},swt={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},lwt={date:Ne({formats:iwt,defaultWidth:"full"}),time:Ne({formats:owt,defaultWidth:"full"}),dateTime:Ne({formats:swt,defaultWidth:"full"})},Rj=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function uwt(e){var t=Rj[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+t+" о' p";case 1:case 2:case 4:return"'у минулий "+t+" о' p"}}function qre(e){var t=Rj[e];return"'у "+t+" о' p"}function cwt(e){var t=Rj[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+t+" о' p";case 1:case 2:case 4:return"'у наступний "+t+" о' p"}}var dwt=function(t,n,r){var a=Re(t),i=a.getUTCDay();return bi(a,n,r)?qre(i):uwt(i)},fwt=function(t,n,r){var a=Re(t),i=a.getUTCDay();return bi(a,n,r)?qre(i):cwt(i)},pwt={lastWeek:dwt,yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:fwt,other:"P"},mwt=function(t,n,r,a){var i=pwt[t];return typeof i=="function"?i(n,r,a):i},hwt={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},gwt={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},vwt={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},ywt={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},bwt={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},wwt={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},Swt={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},Ewt=function(t,n){var r=String(n==null?void 0:n.unit),a=Number(t),i;return r==="date"?a===3||a===23?i="-є":i="-е":r==="minute"||r==="second"||r==="hour"?i="-а":i="-й",a+i},Twt={ordinalNumber:Ewt,era:oe({values:hwt,defaultWidth:"wide"}),quarter:oe({values:gwt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:vwt,defaultWidth:"wide",formattingValues:ywt,defaultFormattingWidth:"wide"}),day:oe({values:bwt,defaultWidth:"wide"}),dayPeriod:oe({values:wwt,defaultWidth:"any",formattingValues:Swt,defaultFormattingWidth:"wide"})},Cwt=/^(\d+)(-?(е|й|є|а|я))?/i,kwt=/\d+/i,xwt={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},_wt={any:[/^д/i,/^н/i]},Owt={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},Rwt={any:[/1/i,/2/i,/3/i,/4/i]},Pwt={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},Awt={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]},Nwt={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},Mwt={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},Iwt={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},Dwt={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},$wt={ordinalNumber:Xt({matchPattern:Cwt,parsePattern:kwt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:xwt,defaultMatchWidth:"wide",parsePatterns:_wt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Owt,defaultMatchWidth:"wide",parsePatterns:Rwt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Pwt,defaultMatchWidth:"wide",parsePatterns:Awt,defaultParseWidth:"any"}),day:se({matchPatterns:Nwt,defaultMatchWidth:"wide",parsePatterns:Mwt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Iwt,defaultMatchWidth:"wide",parsePatterns:Dwt,defaultParseWidth:"any"})},Lwt={code:"uk",formatDistance:awt,formatLong:lwt,formatRelative:mwt,localize:Twt,match:$wt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Fwt=Object.freeze(Object.defineProperty({__proto__:null,default:Lwt},Symbol.toStringTag,{value:"Module"})),jwt=jt(Fwt);var Uwt={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},Bwt=function(t,n,r){var a,i=Uwt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" nữa":a+" trước":a},Wwt={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},zwt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qwt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Hwt={date:Ne({formats:Wwt,defaultWidth:"full"}),time:Ne({formats:zwt,defaultWidth:"full"}),dateTime:Ne({formats:qwt,defaultWidth:"full"})},Vwt={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},Gwt=function(t,n,r,a){return Vwt[t]},Ywt={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},Kwt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},Xwt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},Qwt={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},Zwt={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},Jwt={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},e1t={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},t1t={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},n1t=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(a==="quarter")switch(r){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(a==="day")switch(r){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(a==="week")return r===1?"thứ nhất":"thứ "+r;if(a==="dayOfYear")return r===1?"đầu tiên":"thứ "+r}return String(r)},r1t={ordinalNumber:n1t,era:oe({values:Ywt,defaultWidth:"wide"}),quarter:oe({values:Kwt,defaultWidth:"wide",formattingValues:Xwt,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Qwt,defaultWidth:"wide",formattingValues:Zwt,defaultFormattingWidth:"wide"}),day:oe({values:Jwt,defaultWidth:"wide"}),dayPeriod:oe({values:e1t,defaultWidth:"wide",formattingValues:t1t,defaultFormattingWidth:"wide"})},a1t=/^(\d+)/i,i1t=/\d+/i,o1t={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},s1t={any:[/^t/i,/^s/i]},l1t={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},u1t={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},c1t={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},d1t={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},f1t={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},p1t={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},m1t={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},h1t={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},g1t={ordinalNumber:Xt({matchPattern:a1t,parsePattern:i1t,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:o1t,defaultMatchWidth:"wide",parsePatterns:s1t,defaultParseWidth:"any"}),quarter:se({matchPatterns:l1t,defaultMatchWidth:"wide",parsePatterns:u1t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:c1t,defaultMatchWidth:"wide",parsePatterns:d1t,defaultParseWidth:"wide"}),day:se({matchPatterns:f1t,defaultMatchWidth:"wide",parsePatterns:p1t,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:m1t,defaultMatchWidth:"wide",parsePatterns:h1t,defaultParseWidth:"any"})},v1t={code:"vi",formatDistance:Bwt,formatLong:Hwt,formatRelative:Gwt,localize:r1t,match:g1t,options:{weekStartsOn:1,firstWeekContainsDate:1}};const y1t=Object.freeze(Object.defineProperty({__proto__:null,default:v1t},Symbol.toStringTag,{value:"Module"})),b1t=jt(y1t);var w1t={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},S1t=function(t,n,r){var a,i=w1t[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"内":a+"前":a},E1t={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},T1t={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},C1t={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},k1t={date:Ne({formats:E1t,defaultWidth:"full"}),time:Ne({formats:T1t,defaultWidth:"full"}),dateTime:Ne({formats:C1t,defaultWidth:"full"})};function JV(e,t,n){var r="eeee p";return bi(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}var x1t={lastWeek:JV,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:JV,other:"PP p"},_1t=function(t,n,r,a){var i=x1t[t];return typeof i=="function"?i(n,r,a):i},O1t={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},R1t={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},P1t={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},A1t={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},N1t={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},M1t={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},I1t=function(t,n){var r=Number(t);switch(n==null?void 0:n.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},D1t={ordinalNumber:I1t,era:oe({values:O1t,defaultWidth:"wide"}),quarter:oe({values:R1t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:P1t,defaultWidth:"wide"}),day:oe({values:A1t,defaultWidth:"wide"}),dayPeriod:oe({values:N1t,defaultWidth:"wide",formattingValues:M1t,defaultFormattingWidth:"wide"})},$1t=/^(第\s*)?\d+(日|时|分|秒)?/i,L1t=/\d+/i,F1t={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},j1t={any:[/^(前)/i,/^(公元)/i]},U1t={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},B1t={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},W1t={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},z1t={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]},q1t={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},H1t={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},V1t={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},G1t={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Y1t={ordinalNumber:Xt({matchPattern:$1t,parsePattern:L1t,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:F1t,defaultMatchWidth:"wide",parsePatterns:j1t,defaultParseWidth:"any"}),quarter:se({matchPatterns:U1t,defaultMatchWidth:"wide",parsePatterns:B1t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:W1t,defaultMatchWidth:"wide",parsePatterns:z1t,defaultParseWidth:"any"}),day:se({matchPatterns:q1t,defaultMatchWidth:"wide",parsePatterns:H1t,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:V1t,defaultMatchWidth:"any",parsePatterns:G1t,defaultParseWidth:"any"})},K1t={code:"zh-CN",formatDistance:S1t,formatLong:k1t,formatRelative:_1t,localize:D1t,match:Y1t,options:{weekStartsOn:1,firstWeekContainsDate:4}};const X1t=Object.freeze(Object.defineProperty({__proto__:null,default:K1t},Symbol.toStringTag,{value:"Module"})),Q1t=jt(X1t);var Z1t={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},J1t=function(t,n,r){var a,i=Z1t[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"內":a+"前":a},eSt={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},tSt={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},nSt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},rSt={date:Ne({formats:eSt,defaultWidth:"full"}),time:Ne({formats:tSt,defaultWidth:"full"}),dateTime:Ne({formats:nSt,defaultWidth:"full"})},aSt={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},iSt=function(t,n,r,a){return aSt[t]},oSt={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},sSt={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},lSt={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},uSt={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},cSt={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},dSt={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},fSt=function(t,n){var r=Number(t);switch(n==null?void 0:n.unit){case"date":return r+"日";case"hour":return r+"時";case"minute":return r+"分";case"second":return r+"秒";default:return"第 "+r}},pSt={ordinalNumber:fSt,era:oe({values:oSt,defaultWidth:"wide"}),quarter:oe({values:sSt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:lSt,defaultWidth:"wide"}),day:oe({values:uSt,defaultWidth:"wide"}),dayPeriod:oe({values:cSt,defaultWidth:"wide",formattingValues:dSt,defaultFormattingWidth:"wide"})},mSt=/^(第\s*)?\d+(日|時|分|秒)?/i,hSt=/\d+/i,gSt={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},vSt={any:[/^(前)/i,/^(公元)/i]},ySt={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},bSt={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},wSt={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},SSt={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]},ESt={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},TSt={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},CSt={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},kSt={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},xSt={ordinalNumber:Xt({matchPattern:mSt,parsePattern:hSt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:gSt,defaultMatchWidth:"wide",parsePatterns:vSt,defaultParseWidth:"any"}),quarter:se({matchPatterns:ySt,defaultMatchWidth:"wide",parsePatterns:bSt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:wSt,defaultMatchWidth:"wide",parsePatterns:SSt,defaultParseWidth:"any"}),day:se({matchPatterns:ESt,defaultMatchWidth:"wide",parsePatterns:TSt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:CSt,defaultMatchWidth:"any",parsePatterns:kSt,defaultParseWidth:"any"})},_St={code:"zh-TW",formatDistance:J1t,formatLong:rSt,formatRelative:iSt,localize:pSt,match:xSt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const OSt=Object.freeze(Object.defineProperty({__proto__:null,default:_St},Symbol.toStringTag,{value:"Module"})),RSt=jt(OSt);var eG;function PSt(){return eG||(eG=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"af",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"arDZ",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"arSA",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"be",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"bg",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"bn",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ca",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"cs",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"cy",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"da",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"de",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"el",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"enAU",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"enCA",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"enGB",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"enUS",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"eo",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"es",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"et",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"faIR",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"fi",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"fr",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"frCA",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"gl",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"gu",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"he",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"hi",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hr",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"hu",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"hy",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"it",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"ja",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"ka",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"kk",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"ko",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"lt",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"lv",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"ms",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"nb",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"nl",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"nn",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"pl",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"pt",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(e,"ptBR",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(e,"ro",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(e,"ru",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(e,"sk",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(e,"sl",{enumerable:!0,get:function(){return at.default}}),Object.defineProperty(e,"sr",{enumerable:!0,get:function(){return Et.default}}),Object.defineProperty(e,"srLatn",{enumerable:!0,get:function(){return kt.default}}),Object.defineProperty(e,"sv",{enumerable:!0,get:function(){return xt.default}}),Object.defineProperty(e,"ta",{enumerable:!0,get:function(){return Rt.default}}),Object.defineProperty(e,"te",{enumerable:!0,get:function(){return cn.default}}),Object.defineProperty(e,"th",{enumerable:!0,get:function(){return Ht.default}}),Object.defineProperty(e,"tr",{enumerable:!0,get:function(){return Wt.default}}),Object.defineProperty(e,"ug",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"uk",{enumerable:!0,get:function(){return dt.default}}),Object.defineProperty(e,"vi",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(e,"zhCN",{enumerable:!0,get:function(){return ut.default}}),Object.defineProperty(e,"zhTW",{enumerable:!0,get:function(){return Nt.default}});var t=U(z9e),n=U(Sqe),r=U(Jqe),a=U(LHe),i=U(w7e),o=U(eVe),l=U(MVe),u=U(pGe),d=U(HGe),f=U(TYe),g=U(eKe),y=U(NKe),p=U(jKe),v=U(YKe),E=U(tXe),T=U(Rre),C=U(NXe),k=U(dQe),_=U(UQe),A=U(yZe),P=U(XZe),N=U(TJe),I=U(PJe),L=U(cet),j=U(zet),z=U(Ett),Q=U(tnt),le=U(Int),re=U(hrt),ge=U(Grt),he=U(kat),W=U(rit),G=U(Lit),q=U(hot),ce=U(Got),H=U(Ost),Y=U(olt),ie=U(Blt),Z=U(Eut),ee=U(ect),J=U(Act),ue=U(ldt),ke=U(Udt),fe=U(kft),xe=U(rpt),Ie=U(Dpt),qe=U(pmt),nt=U(Ymt),Ge=U(Nht),at=U(fgt),Et=U(Hgt),kt=U(Cvt),xt=U(ryt),Rt=U($yt),cn=U(pbt),Ht=U(Hbt),Wt=U(T0t),Oe=U(twt),dt=U(jwt),ft=U(b1t),ut=U(Q1t),Nt=U(RSt);function U(D){return D&&D.__esModule?D:{default:D}}})(PD)),PD}var ASt=PSt();const Hre=e=>{const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,errorMessage:l,type:u,focused:d=!1,autoFocus:f,...g}=e,[y,p]=R.useState(!1),v=R.useRef(),E=R.useCallback(()=>{var T;(T=v.current)==null||T.focus()},[v.current]);return w.jsx(qd,{focused:y,onClick:E,...e,children:w.jsx("div",{children:w.jsx(d9e.DateRangePicker,{locale:ASt.enUS,date:e.value,months:2,showSelectionPreview:!0,direction:"horizontal",moveRangeOnFirstSelection:!1,ranges:[{...e.value||{},key:"selection"}],onChange:T=>{var C;(C=e.onChange)==null||C.call(e,T.selection)}})})})},NSt=e=>{var a,i;const t=o=>o?new Date(o.getFullYear(),o.getMonth(),o.getDate()):void 0,n={startDate:t(new Date((a=e.value)==null?void 0:a.startDate)),endDate:t(new Date((i=e.value)==null?void 0:i.endDate))},r=o=>{e.onChange({startDate:t(o.startDate),endDate:t(o.endDate)})};return w.jsx(Hre,{...e,value:n,onChange:r})};//! moment.js + }`},cc=({children:e})=>w.jsx("div",{style:{marginBottom:"70px"},children:e});function jBe(){const{openDrawer:e,openModal:t}=sF(),{confirmDrawer:n,confirmModal:r}=CJ(),a=()=>e(()=>w.jsx("div",{children:"Hi, this is opened in a drawer"})),i=()=>{e(()=>w.jsx("div",{children:"Hi, this is opened in a drawer, with a larger area and from left"}),{direction:"left",size:"40%"})},o=()=>{t(({resolve:E})=>{const[T,C]=R.useState("");return w.jsxs("form",{onSubmit:k=>k.preventDefault(),children:[w.jsxs("span",{children:["If you enter ",w.jsx("strong",{children:"ali"})," in the box, you'll see the example1 opening"]}),w.jsx(In,{autoFocus:!0,value:T,onChange:k=>C(k)}),w.jsx(Us,{onClick:()=>E(T),children:"Okay"})]})}).promise.then(({data:E})=>{if(E==="ali")return a();alert(E)})},l=()=>{a(),a(),i(),i()},u=()=>{t(({close:E})=>(R.useEffect(()=>{setTimeout(()=>{E()},3e3)},[]),w.jsx("span",{children:"I will disappear :)))))"})))},d=()=>{const{close:E,id:T}=t(()=>w.jsx("span",{children:"I will disappear by outside :)))))"}));setTimeout(()=>{alert(T),E()},2e3)},f=()=>{t(({setOnBeforeClose:E})=>{const[T,C]=R.useState(!1);return R.useEffect(()=>{E==null||E(()=>T?window.confirm("You have unsaved changes. Close anyway?"):!0)},[T]),w.jsxs("span",{children:["If you write anything here, it will be dirty and asks for quite.",w.jsx("input",{onChange:()=>C(!0)}),T?"Will ask":"Not dirty yet"]})})},g=()=>{n({title:"Confirm",description:"Are you to confirm? You still can cancel",confirmLabel:"Confirm",cancelLabel:"Cancel"}).promise.then(E=>{console.log(10,E)})},y=()=>{r({title:"Confirm",description:"Are you to confirm? You still can cancel",confirmLabel:"Confirm",cancelLabel:"Cancel"}).promise.then(E=>{console.log(10,E)})},h=R.useRef(0),v=()=>{const{updateData:E,promise:T}=e(({data:k})=>w.jsxs("span",{children:["Params: ",JSON.stringify(k)]})),C=setInterval(()=>{E({c:++h.current})},100);T.finally(()=>{clearInterval(C)})};return w.jsxs("div",{children:[w.jsx("h1",{children:"Demo Modals"}),w.jsx("p",{children:"Modals, Drawers are a major solved issue in the Fireback react.js. In here we make some examples. The core system is called `overlay`, can be used to show portals such as modal, drawer, alerts..."}),w.jsx("hr",{}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Opening a drawer"}),w.jsx("p",{children:"Every component can be shown as modal, or in a drawer in Fireback."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>a(),children:"Open a text in drawer"}),w.jsx(na,{codeString:uc.example1})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Opening a drawer, from left"}),w.jsx("p",{children:"Shows a drawer from left, also larger"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>i(),children:"Open a text in drawer"}),w.jsx(na,{codeString:uc.example2})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Opening a modal, and get result"}),w.jsx("p",{children:"You can open a modal or drawer, and make some operation in it, and send back the result as a promise."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>o(),children:"Open a text in drawer"}),w.jsx(na,{codeString:uc.example3})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Opening multiple"}),w.jsx("p",{children:"You can open multiple modals, or drawers, doesn't matter."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>l(),children:"Open 2 modal, and open 2 drawer"}),w.jsx(na,{codeString:uc.example4})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Auto disappearing"}),w.jsx("p",{children:"A modal which disappears after 5 seconds"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>u(),children:"Run"}),w.jsx(na,{codeString:uc.example5})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Control from outside"}),w.jsx("p",{children:"Sometimes you want to open a drawer, and then from outside component close it."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>d(),children:"Open but close from outside"}),w.jsx(na,{codeString:uc.example6})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Prevent close"}),w.jsx("p",{children:"When a drawer or modal is open, you can prevent the close."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>f(),children:"Open but ask before close"}),w.jsx(na,{codeString:uc.example7})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Confirm Dialog (drawer)"}),w.jsx("p",{children:"There is a set of ready to use dialogs, such as confirm"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>g(),children:"Open the confirm"}),w.jsx(na,{codeString:uc.example8})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Confirm Dialog (modal)"}),w.jsx("p",{children:"There is a set of ready to use dialogs, such as confirm"}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>y(),children:"Open the confirm"}),w.jsx(na,{codeString:uc.example9})]}),w.jsxs(cc,{children:[w.jsx("h2",{children:"Update params from outside"}),w.jsx("p",{children:"In rare cases, you might want to update the params from the outside."}),w.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>v(),children:"Open & Update name"}),w.jsx(na,{codeString:uc.example10})]}),w.jsx("br",{}),w.jsx("br",{}),w.jsx("br",{})]})}var g$={},P1={},A1={},Vg={};function yt(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function he(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Re(e){he(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||ro(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function _c(e,t){he(2,arguments);var n=Re(e),r=yt(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function qE(e,t){he(2,arguments);var n=Re(e),r=yt(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var a=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var o=i.getDate();return a>=o?i:(n.setFullYear(i.getFullYear(),i.getMonth(),a),n)}function Eb(e,t){if(he(2,arguments),!t||ro(t)!=="object")return new Date(NaN);var n=t.years?yt(t.years):0,r=t.months?yt(t.months):0,a=t.weeks?yt(t.weeks):0,i=t.days?yt(t.days):0,o=t.hours?yt(t.hours):0,l=t.minutes?yt(t.minutes):0,u=t.seconds?yt(t.seconds):0,d=Re(e),f=r||n?qE(d,r+n*12):d,g=i||a?_c(f,i+a*7):f,y=l+o*60,h=u+y*60,v=h*1e3,E=new Date(g.getTime()+v);return E}function Hb(e){he(1,arguments);var t=Re(e),n=t.getDay();return n===0||n===6}function Wj(e){return he(1,arguments),Re(e).getDay()===0}function pre(e){return he(1,arguments),Re(e).getDay()===6}function hre(e,t){he(2,arguments);var n=Re(e),r=Hb(n),a=yt(t);if(isNaN(a))return new Date(NaN);var i=n.getHours(),o=a<0?-1:1,l=yt(a/5);n.setDate(n.getDate()+l*7);for(var u=Math.abs(a%5);u>0;)n.setDate(n.getDate()+o),Hb(n)||(u-=1);return r&&Hb(n)&&a!==0&&(pre(n)&&n.setDate(n.getDate()+(o<0?2:-1)),Wj(n)&&n.setDate(n.getDate()+(o<0?1:-2))),n.setHours(i),n}function HE(e,t){he(2,arguments);var n=Re(e).getTime(),r=yt(t);return new Date(n+r)}var UBe=36e5;function zj(e,t){he(2,arguments);var n=yt(t);return HE(e,n*UBe)}var mre={};function Xa(){return mre}function BBe(e){mre=e}function Ol(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Xa(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Re(e),h=y.getDay(),v=(h=a.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function lh(e){he(1,arguments);var t=Pv(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=Vd(n);return r}function Lo(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function i0(e){he(1,arguments);var t=Re(e);return t.setHours(0,0,0,0),t}var WBe=864e5;function kc(e,t){he(2,arguments);var n=i0(e),r=i0(t),a=n.getTime()-Lo(n),i=r.getTime()-Lo(r);return Math.round((a-i)/WBe)}function gre(e,t){he(2,arguments);var n=Re(e),r=yt(t),a=kc(n,lh(n)),i=new Date(0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),n=lh(i),n.setDate(n.getDate()+a),n}function vre(e,t){he(2,arguments);var n=yt(t);return gre(e,Pv(e)+n)}var zBe=6e4;function qj(e,t){he(2,arguments);var n=yt(t);return HE(e,n*zBe)}function Hj(e,t){he(2,arguments);var n=yt(t),r=n*3;return qE(e,r)}function yre(e,t){he(2,arguments);var n=yt(t);return HE(e,n*1e3)}function M_(e,t){he(2,arguments);var n=yt(t),r=n*7;return _c(e,r)}function bre(e,t){he(2,arguments);var n=yt(t);return qE(e,n*12)}function qBe(e,t,n){he(2,arguments);var r=Re(e==null?void 0:e.start).getTime(),a=Re(e==null?void 0:e.end).getTime(),i=Re(t==null?void 0:t.start).getTime(),o=Re(t==null?void 0:t.end).getTime();if(!(r<=a&&i<=o))throw new RangeError("Invalid interval");return n!=null&&n.inclusive?r<=o&&i<=a:ra||isNaN(a.getDate()))&&(n=a)}),n||new Date(NaN)}function HBe(e,t){var n=t.start,r=t.end;return he(2,arguments),Sre([wre([e,n]),r])}function VBe(e,t){he(2,arguments);var n=Re(e);if(isNaN(Number(n)))return NaN;var r=n.getTime(),a;t==null?a=[]:typeof t.forEach=="function"?a=t:a=Array.prototype.slice.call(t);var i,o;return a.forEach(function(l,u){var d=Re(l);if(isNaN(Number(d))){i=NaN,o=NaN;return}var f=Math.abs(r-d.getTime());(i==null||f0?1:a}function YBe(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=n.getTime()-r.getTime();return a>0?-1:a<0?1:a}var Vj=7,Ere=365.2425,Tre=Math.pow(10,8)*24*60*60*1e3,Wv=6e4,zv=36e5,I_=1e3,KBe=-Tre,Gj=60,Yj=3,Kj=12,Xj=4,VE=3600,D_=60,$_=VE*24,Cre=$_*7,Qj=$_*Ere,Jj=Qj/12,kre=Jj*3;function XBe(e){he(1,arguments);var t=e/Vj;return Math.floor(t)}function GE(e,t){he(2,arguments);var n=i0(e),r=i0(t);return n.getTime()===r.getTime()}function xre(e){return he(1,arguments),e instanceof Date||ro(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Gd(e){if(he(1,arguments),!xre(e)&&typeof e!="number")return!1;var t=Re(e);return!isNaN(Number(t))}function QBe(e,t){he(2,arguments);var n=Re(e),r=Re(t);if(!Gd(n)||!Gd(r))return NaN;var a=kc(n,r),i=a<0?-1:1,o=yt(a/7),l=o*5;for(r=_c(r,o*7);!GE(n,r);)l+=Hb(r)?0:i,r=_c(r,i);return l===0?0:l}function _re(e,t){return he(2,arguments),Pv(e)-Pv(t)}var JBe=6048e5;function ZBe(e,t){he(2,arguments);var n=Vd(e),r=Vd(t),a=n.getTime()-Lo(n),i=r.getTime()-Lo(r);return Math.round((a-i)/JBe)}function Nx(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return a*12+i}function w3(e){he(1,arguments);var t=Re(e),n=Math.floor(t.getMonth()/3)+1;return n}function Uk(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=n.getFullYear()-r.getFullYear(),i=w3(n)-w3(r);return a*4+i}var e8e=6048e5;function Mx(e,t,n){he(2,arguments);var r=Ol(e,n),a=Ol(t,n),i=r.getTime()-Lo(r),o=a.getTime()-Lo(a);return Math.round((i-o)/e8e)}function TS(e,t){he(2,arguments);var n=Re(e),r=Re(t);return n.getFullYear()-r.getFullYear()}function XV(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Zj(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=XV(n,r),i=Math.abs(kc(n,r));n.setDate(n.getDate()-a*i);var o=+(XV(n,r)===-a),l=a*(i-o);return l===0?0:l}function L_(e,t){return he(2,arguments),Re(e).getTime()-Re(t).getTime()}var QV={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},t8e="trunc";function E0(e){return e?QV[e]:QV[t8e]}function Ix(e,t,n){he(2,arguments);var r=L_(e,t)/zv;return E0(n==null?void 0:n.roundingMethod)(r)}function Ore(e,t){he(2,arguments);var n=yt(t);return vre(e,-n)}function n8e(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=Tu(n,r),i=Math.abs(_re(n,r));n=Ore(n,a*i);var o=+(Tu(n,r)===-a),l=a*(i-o);return l===0?0:l}function Dx(e,t,n){he(2,arguments);var r=L_(e,t)/Wv;return E0(n==null?void 0:n.roundingMethod)(r)}function e4(e){he(1,arguments);var t=Re(e);return t.setHours(23,59,59,999),t}function t4(e){he(1,arguments);var t=Re(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Rre(e){he(1,arguments);var t=Re(e);return e4(t).getTime()===t4(t).getTime()}function F_(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=Tu(n,r),i=Math.abs(Nx(n,r)),o;if(i<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-a*i);var l=Tu(n,r)===-a;Rre(Re(e))&&i===1&&Tu(e,r)===1&&(l=!1),o=a*(i-Number(l))}return o===0?0:o}function r8e(e,t,n){he(2,arguments);var r=F_(e,t)/3;return E0(n==null?void 0:n.roundingMethod)(r)}function Vb(e,t,n){he(2,arguments);var r=L_(e,t)/1e3;return E0(n==null?void 0:n.roundingMethod)(r)}function a8e(e,t,n){he(2,arguments);var r=Zj(e,t)/7;return E0(n==null?void 0:n.roundingMethod)(r)}function Pre(e,t){he(2,arguments);var n=Re(e),r=Re(t),a=Tu(n,r),i=Math.abs(TS(n,r));n.setFullYear(1584),r.setFullYear(1584);var o=Tu(n,r)===-a,l=a*(i-Number(o));return l===0?0:l}function Are(e,t){var n;he(1,arguments);var r=e||{},a=Re(r.start),i=Re(r.end),o=i.getTime();if(!(a.getTime()<=o))throw new RangeError("Invalid interval");var l=[],u=a;u.setHours(0,0,0,0);var d=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number greater than 1");for(;u.getTime()<=o;)l.push(Re(u)),u.setDate(u.getDate()+d),u.setHours(0,0,0,0);return l}function i8e(e,t){var n;he(1,arguments);var r=e||{},a=Re(r.start),i=Re(r.end),o=a.getTime(),l=i.getTime();if(!(o<=l))throw new RangeError("Invalid interval");var u=[],d=a;d.setMinutes(0,0,0);var f=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(f<1||isNaN(f))throw new RangeError("`options.step` must be a number greater than 1");for(;d.getTime()<=l;)u.push(Re(d)),d=zj(d,f);return u}function $x(e){he(1,arguments);var t=Re(e);return t.setSeconds(0,0),t}function o8e(e,t){var n;he(1,arguments);var r=$x(Re(e.start)),a=Re(e.end),i=r.getTime(),o=a.getTime();if(i>=o)throw new RangeError("Invalid interval");var l=[],u=r,d=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number equal to or greater than 1");for(;u.getTime()<=o;)l.push(Re(u)),u=qj(u,d);return l}function s8e(e){he(1,arguments);var t=e||{},n=Re(t.start),r=Re(t.end),a=r.getTime(),i=[];if(!(n.getTime()<=a))throw new RangeError("Invalid interval");var o=n;for(o.setHours(0,0,0,0),o.setDate(1);o.getTime()<=a;)i.push(Re(o)),o.setMonth(o.getMonth()+1);return i}function pE(e){he(1,arguments);var t=Re(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function l8e(e){he(1,arguments);var t=e||{},n=Re(t.start),r=Re(t.end),a=r.getTime();if(!(n.getTime()<=a))throw new RangeError("Invalid interval");var i=pE(n),o=pE(r);a=o.getTime();for(var l=[],u=i;u.getTime()<=a;)l.push(Re(u)),u=Hj(u,1);return l}function u8e(e,t){he(1,arguments);var n=e||{},r=Re(n.start),a=Re(n.end),i=a.getTime();if(!(r.getTime()<=i))throw new RangeError("Invalid interval");var o=Ol(r,t),l=Ol(a,t);o.setHours(15),l.setHours(15),i=l.getTime();for(var u=[],d=o;d.getTime()<=i;)d.setHours(0),u.push(Re(d)),d=M_(d,1),d.setHours(15);return u}function n4(e){he(1,arguments);for(var t=Are(e),n=[],r=0;r=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Re(e),h=y.getDay(),v=(h=a.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function k8e(e){he(1,arguments);var t=Ire(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=s0(n);return r}var x8e=6048e5;function Dre(e){he(1,arguments);var t=Re(e),n=s0(t).getTime()-k8e(t).getTime();return Math.round(n/x8e)+1}function Yd(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Xa(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Re(e),h=y.getUTCDay(),v=(h=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(g+1,0,h),v.setUTCHours(0,0,0,0);var E=Yd(v,t),T=new Date(0);T.setUTCFullYear(g,0,h),T.setUTCHours(0,0,0,0);var C=Yd(T,t);return f.getTime()>=E.getTime()?g+1:f.getTime()>=C.getTime()?g:g-1}function _8e(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Xa(),g=yt((n=(r=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&a!==void 0?a:f.firstWeekContainsDate)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1),y=a4(e,t),h=new Date(0);h.setUTCFullYear(y,0,g),h.setUTCHours(0,0,0,0);var v=Yd(h,t);return v}var O8e=6048e5;function $re(e,t){he(1,arguments);var n=Re(e),r=Yd(n,t).getTime()-_8e(n,t).getTime();return Math.round(r/O8e)+1}function Zt(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return Zt(n==="yy"?a%100:a,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):Zt(r+1,2)},d:function(t,n){return Zt(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return Zt(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Zt(t.getUTCHours(),n.length)},m:function(t,n){return Zt(t.getUTCMinutes(),n.length)},s:function(t,n){return Zt(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,a=t.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,r-3));return Zt(i,n.length)}},pb={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},R8e={G:function(t,n,r){var a=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var a=t.getUTCFullYear(),i=a>0?a:1-a;return r.ordinalNumber(i,{unit:"year"})}return Cd.y(t,n)},Y:function(t,n,r,a){var i=a4(t,a),o=i>0?i:1-i;if(n==="YY"){var l=o%100;return Zt(l,2)}return n==="Yo"?r.ordinalNumber(o,{unit:"year"}):Zt(o,n.length)},R:function(t,n){var r=Ire(t);return Zt(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return Zt(r,n.length)},Q:function(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return Zt(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return Zt(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,n,r){var a=t.getUTCMonth();switch(n){case"M":case"MM":return Cd.M(t,n);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(t,n,r){var a=t.getUTCMonth();switch(n){case"L":return String(a+1);case"LL":return Zt(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(t,n,r,a){var i=$re(t,a);return n==="wo"?r.ordinalNumber(i,{unit:"week"}):Zt(i,n.length)},I:function(t,n,r){var a=Dre(t);return n==="Io"?r.ordinalNumber(a,{unit:"week"}):Zt(a,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):Cd.d(t,n)},D:function(t,n,r){var a=C8e(t);return n==="Do"?r.ordinalNumber(a,{unit:"dayOfYear"}):Zt(a,n.length)},E:function(t,n,r){var a=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(t,n,r,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return Zt(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,n,r,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return Zt(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,n,r){var a=t.getUTCDay(),i=a===0?7:a;switch(n){case"i":return String(i);case"ii":return Zt(i,n.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(t,n,r){var a=t.getUTCHours(),i=a/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,n,r){var a=t.getUTCHours(),i;switch(a===12?i=pb.noon:a===0?i=pb.midnight:i=a/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,n,r){var a=t.getUTCHours(),i;switch(a>=17?i=pb.evening:a>=12?i=pb.afternoon:a>=4?i=pb.morning:i=pb.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),r.ordinalNumber(a,{unit:"hour"})}return Cd.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Cd.H(t,n)},K:function(t,n,r){var a=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(a,{unit:"hour"}):Zt(a,n.length)},k:function(t,n,r){var a=t.getUTCHours();return a===0&&(a=24),n==="ko"?r.ordinalNumber(a,{unit:"hour"}):Zt(a,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Cd.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Cd.s(t,n)},S:function(t,n){return Cd.S(t,n)},X:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return ZV(o);case"XXXX":case"XX":return tv(o);case"XXXXX":case"XXX":default:return tv(o,":")}},x:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(n){case"x":return ZV(o);case"xxxx":case"xx":return tv(o);case"xxxxx":case"xxx":default:return tv(o,":")}},O:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+JV(o,":");case"OOOO":default:return"GMT"+tv(o,":")}},z:function(t,n,r,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+JV(o,":");case"zzzz":default:return"GMT"+tv(o,":")}},t:function(t,n,r,a){var i=a._originalDate||t,o=Math.floor(i.getTime()/1e3);return Zt(o,n.length)},T:function(t,n,r,a){var i=a._originalDate||t,o=i.getTime();return Zt(o,n.length)}};function JV(e,t){var n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;if(i===0)return n+String(a);var o=t;return n+String(a)+o+Zt(i,2)}function ZV(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Zt(Math.abs(e)/60,2)}return tv(e,t)}function tv(e,t){var n=t||"",r=e>0?"-":"+",a=Math.abs(e),i=Zt(Math.floor(a/60),2),o=Zt(a%60,2);return r+i+n+o}var eG=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Lre=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},P8e=function(t,n){var r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return eG(t,n);var o;switch(a){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",eG(a,n)).replace("{{time}}",Lre(i,n))},S3={p:Lre,P:P8e},A8e=["D","DD"],N8e=["YY","YYYY"];function Fre(e){return A8e.indexOf(e)!==-1}function jre(e){return N8e.indexOf(e)!==-1}function Lx(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var M8e={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"}},i4=function(t,n,r){var a,i=M8e[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};function Ne(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var I8e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},D8e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$8e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},L8e={date:Ne({formats:I8e,defaultWidth:"full"}),time:Ne({formats:D8e,defaultWidth:"full"}),dateTime:Ne({formats:$8e,defaultWidth:"full"})},F8e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},U_=function(t,n,r,a){return F8e[t]};function oe(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",a;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var l=e.defaultWidth,u=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[u]||e.values[l]}var d=e.argumentCallback?e.argumentCallback(t):t;return a[d]}}var j8e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},U8e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},B8e={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"]},W8e={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"]},z8e={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"}},q8e={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"}},H8e=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},B_={ordinalNumber:H8e,era:oe({values:j8e,defaultWidth:"wide"}),quarter:oe({values:U8e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:B8e,defaultWidth:"wide"}),day:oe({values:W8e,defaultWidth:"wide"}),dayPeriod:oe({values:z8e,defaultWidth:"wide",formattingValues:q8e,defaultFormattingWidth:"wide"})};function se(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?G8e(l,function(g){return g.test(o)}):V8e(l,function(g){return g.test(o)}),d;d=e.valueCallback?e.valueCallback(u):u,d=n.valueCallback?n.valueCallback(d):d;var f=t.slice(o.length);return{value:d,rest:f}}}function V8e(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function G8e(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var a=r[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var l=t.slice(a.length);return{value:o,rest:l}}}var Y8e=/^(\d+)(th|st|nd|rd)?/i,K8e=/\d+/i,X8e={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},Q8e={any:[/^b/i,/^(a|c)/i]},J8e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Z8e={any:[/1/i,/2/i,/3/i,/4/i]},e5e={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},t5e={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]},n5e={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},r5e={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]},a5e={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},i5e={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}},W_={ordinalNumber:Xt({matchPattern:Y8e,parsePattern:K8e,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:X8e,defaultMatchWidth:"wide",parsePatterns:Q8e,defaultParseWidth:"any"}),quarter:se({matchPatterns:J8e,defaultMatchWidth:"wide",parsePatterns:Z8e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:e5e,defaultMatchWidth:"wide",parsePatterns:t5e,defaultParseWidth:"any"}),day:se({matchPatterns:n5e,defaultMatchWidth:"wide",parsePatterns:r5e,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:a5e,defaultMatchWidth:"any",parsePatterns:i5e,defaultParseWidth:"any"})},qv={code:"en-US",formatDistance:i4,formatLong:L8e,formatRelative:U_,localize:B_,match:W_,options:{weekStartsOn:0,firstWeekContainsDate:1}};const o5e=Object.freeze(Object.defineProperty({__proto__:null,default:qv},Symbol.toStringTag,{value:"Module"}));var s5e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,l5e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,u5e=/^'([^]*?)'?$/,c5e=/''/g,d5e=/[a-zA-Z]/;function Ure(e,t,n){var r,a,i,o,l,u,d,f,g,y,h,v,E,T,C,k,_,A;he(2,arguments);var P=String(t),N=Xa(),I=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:N.locale)!==null&&r!==void 0?r:qv,L=yt((i=(o=(l=(u=n==null?void 0:n.firstWeekContainsDate)!==null&&u!==void 0?u:n==null||(d=n.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&l!==void 0?l:N.firstWeekContainsDate)!==null&&o!==void 0?o:(g=N.locale)===null||g===void 0||(y=g.options)===null||y===void 0?void 0:y.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(L>=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=yt((h=(v=(E=(T=n==null?void 0:n.weekStartsOn)!==null&&T!==void 0?T:n==null||(C=n.locale)===null||C===void 0||(k=C.options)===null||k===void 0?void 0:k.weekStartsOn)!==null&&E!==void 0?E:N.weekStartsOn)!==null&&v!==void 0?v:(_=N.locale)===null||_===void 0||(A=_.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&h!==void 0?h:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!I.localize)throw new RangeError("locale must contain localize property");if(!I.formatLong)throw new RangeError("locale must contain formatLong property");var z=Re(e);if(!Gd(z))throw new RangeError("Invalid time value");var Q=Lo(z),le=o0(z,Q),re={firstWeekContainsDate:L,weekStartsOn:j,locale:I,_originalDate:z},ge=P.match(l5e).map(function(me){var W=me[0];if(W==="p"||W==="P"){var G=S3[W];return G(me,I.formatLong)}return me}).join("").match(s5e).map(function(me){if(me==="''")return"'";var W=me[0];if(W==="'")return f5e(me);var G=R8e[W];if(G)return!(n!=null&&n.useAdditionalWeekYearTokens)&&jre(me)&&Lx(me,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Fre(me)&&Lx(me,t,String(e)),G(le,me,I.localize,re);if(W.match(d5e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");return me}).join("");return ge}function f5e(e){var t=e.match(u5e);return t?t[1].replace(c5e,"'"):e}function YE(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Bre(e){return YE({},e)}var tG=1440,p5e=2520,v$=43200,h5e=86400;function Wre(e,t,n){var r,a;he(2,arguments);var i=Xa(),o=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:i.locale)!==null&&r!==void 0?r:qv;if(!o.formatDistance)throw new RangeError("locale must contain formatDistance property");var l=Tu(e,t);if(isNaN(l))throw new RangeError("Invalid time value");var u=YE(Bre(n),{addSuffix:!!(n!=null&&n.addSuffix),comparison:l}),d,f;l>0?(d=Re(t),f=Re(e)):(d=Re(e),f=Re(t));var g=Vb(f,d),y=(Lo(f)-Lo(d))/1e3,h=Math.round((g-y)/60),v;if(h<2)return n!=null&&n.includeSeconds?g<5?o.formatDistance("lessThanXSeconds",5,u):g<10?o.formatDistance("lessThanXSeconds",10,u):g<20?o.formatDistance("lessThanXSeconds",20,u):g<40?o.formatDistance("halfAMinute",0,u):g<60?o.formatDistance("lessThanXMinutes",1,u):o.formatDistance("xMinutes",1,u):h===0?o.formatDistance("lessThanXMinutes",1,u):o.formatDistance("xMinutes",h,u);if(h<45)return o.formatDistance("xMinutes",h,u);if(h<90)return o.formatDistance("aboutXHours",1,u);if(h0?(f=Re(t),g=Re(e)):(f=Re(e),g=Re(t));var y=String((i=n==null?void 0:n.roundingMethod)!==null&&i!==void 0?i:"round"),h;if(y==="floor")h=Math.floor;else if(y==="ceil")h=Math.ceil;else if(y==="round")h=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var v=g.getTime()-f.getTime(),E=v/nG,T=Lo(g)-Lo(f),C=(v-T)/nG,k=n==null?void 0:n.unit,_;if(k?_=String(k):E<1?_="second":E<60?_="minute":E=0&&a<=3))throw new RangeError("fractionDigits must be between 0 and 3 inclusively");var i=Zt(r.getDate(),2),o=Zt(r.getMonth()+1,2),l=r.getFullYear(),u=Zt(r.getHours(),2),d=Zt(r.getMinutes(),2),f=Zt(r.getSeconds(),2),g="";if(a>0){var y=r.getMilliseconds(),h=Math.floor(y*Math.pow(10,a-3));g="."+Zt(h,a)}var v="",E=r.getTimezoneOffset();if(E!==0){var T=Math.abs(E),C=Zt(yt(T/60),2),k=Zt(T%60,2),_=E<0?"+":"-";v="".concat(_).concat(C,":").concat(k)}else v="Z";return"".concat(l,"-").concat(o,"-").concat(i,"T").concat(u,":").concat(d,":").concat(f).concat(g).concat(v)}var T5e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C5e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k5e(e){if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"));var t=Re(e);if(!Gd(t))throw new RangeError("Invalid time value");var n=T5e[t.getUTCDay()],r=Zt(t.getUTCDate(),2),a=C5e[t.getUTCMonth()],i=t.getUTCFullYear(),o=Zt(t.getUTCHours(),2),l=Zt(t.getUTCMinutes(),2),u=Zt(t.getUTCSeconds(),2);return"".concat(n,", ").concat(r," ").concat(a," ").concat(i," ").concat(o,":").concat(l,":").concat(u," GMT")}function x5e(e,t,n){var r,a,i,o,l,u,d,f,g,y;he(2,arguments);var h=Re(e),v=Re(t),E=Xa(),T=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:E.locale)!==null&&r!==void 0?r:qv,C=yt((i=(o=(l=(u=n==null?void 0:n.weekStartsOn)!==null&&u!==void 0?u:n==null||(d=n.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&l!==void 0?l:E.weekStartsOn)!==null&&o!==void 0?o:(g=E.locale)===null||g===void 0||(y=g.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&i!==void 0?i:0);if(!T.localize)throw new RangeError("locale must contain localize property");if(!T.formatLong)throw new RangeError("locale must contain formatLong property");if(!T.formatRelative)throw new RangeError("locale must contain formatRelative property");var k=kc(h,v);if(isNaN(k))throw new RangeError("Invalid time value");var _;k<-6?_="other":k<-1?_="lastWeek":k<0?_="yesterday":k<1?_="today":k<2?_="tomorrow":k<7?_="nextWeek":_="other";var A=o0(h,Lo(h)),P=o0(v,Lo(v)),N=T.formatRelative(_,A,P,{locale:T,weekStartsOn:C});return Ure(h,N,{locale:T,weekStartsOn:C})}function _5e(e){he(1,arguments);var t=yt(e);return Re(t*1e3)}function qre(e){he(1,arguments);var t=Re(e),n=t.getDate();return n}function z_(e){he(1,arguments);var t=Re(e),n=t.getDay();return n}function O5e(e){he(1,arguments);var t=Re(e),n=kc(t,r4(t)),r=n+1;return r}function Hre(e){he(1,arguments);var t=Re(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function Vre(e){he(1,arguments);var t=Re(e),n=t.getFullYear();return n%400===0||n%4===0&&n%100!==0}function R5e(e){he(1,arguments);var t=Re(e);return String(new Date(t))==="Invalid Date"?NaN:Vre(t)?366:365}function P5e(e){he(1,arguments);var t=Re(e),n=t.getFullYear(),r=Math.floor(n/10)*10;return r}function A5e(){return YE({},Xa())}function N5e(e){he(1,arguments);var t=Re(e),n=t.getHours();return n}function Gre(e){he(1,arguments);var t=Re(e),n=t.getDay();return n===0&&(n=7),n}var M5e=6048e5;function Yre(e){he(1,arguments);var t=Re(e),n=Vd(t).getTime()-lh(t).getTime();return Math.round(n/M5e)+1}var I5e=6048e5;function D5e(e){he(1,arguments);var t=lh(e),n=lh(M_(t,60)),r=n.valueOf()-t.valueOf();return Math.round(r/I5e)}function $5e(e){he(1,arguments);var t=Re(e),n=t.getMilliseconds();return n}function L5e(e){he(1,arguments);var t=Re(e),n=t.getMinutes();return n}function F5e(e){he(1,arguments);var t=Re(e),n=t.getMonth();return n}var j5e=1440*60*1e3;function U5e(e,t){he(2,arguments);var n=e||{},r=t||{},a=Re(n.start).getTime(),i=Re(n.end).getTime(),o=Re(r.start).getTime(),l=Re(r.end).getTime();if(!(a<=i&&o<=l))throw new RangeError("Invalid interval");var u=ai?i:l,g=f-d;return Math.ceil(g/j5e)}function B5e(e){he(1,arguments);var t=Re(e),n=t.getSeconds();return n}function Kre(e){he(1,arguments);var t=Re(e),n=t.getTime();return n}function W5e(e){return he(1,arguments),Math.floor(Kre(e)/1e3)}function Xre(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Re(e),g=f.getFullYear(),y=Xa(),h=yt((n=(r=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&a!==void 0?a:y.firstWeekContainsDate)!==null&&r!==void 0?r:(u=y.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setFullYear(g+1,0,h),v.setHours(0,0,0,0);var E=Ol(v,t),T=new Date(0);T.setFullYear(g,0,h),T.setHours(0,0,0,0);var C=Ol(T,t);return f.getTime()>=E.getTime()?g+1:f.getTime()>=C.getTime()?g:g-1}function jx(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Xa(),g=yt((n=(r=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&a!==void 0?a:f.firstWeekContainsDate)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&n!==void 0?n:1),y=Xre(e,t),h=new Date(0);h.setFullYear(y,0,g),h.setHours(0,0,0,0);var v=Ol(h,t);return v}var z5e=6048e5;function Qre(e,t){he(1,arguments);var n=Re(e),r=Ol(n,t).getTime()-jx(n,t).getTime();return Math.round(r/z5e)+1}function q5e(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Xa(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=qre(e);if(isNaN(y))return NaN;var h=z_(j_(e)),v=g-h;v<=0&&(v+=7);var E=y-v;return Math.ceil(E/7)+1}function Jre(e){he(1,arguments);var t=Re(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function H5e(e,t){return he(1,arguments),Mx(Jre(e),j_(e),t)+1}function V5e(e){return he(1,arguments),Re(e).getFullYear()}function G5e(e){return he(1,arguments),Math.floor(e*zv)}function Y5e(e){return he(1,arguments),Math.floor(e*Gj)}function K5e(e){return he(1,arguments),Math.floor(e*VE)}function X5e(e){he(1,arguments);var t=Re(e.start),n=Re(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(Pre(n,t));var a=Tu(n,t),i=Eb(t,{years:a*r.years});r.months=Math.abs(F_(n,i));var o=Eb(i,{months:a*r.months});r.days=Math.abs(Zj(n,o));var l=Eb(o,{days:a*r.days});r.hours=Math.abs(Ix(n,l));var u=Eb(l,{hours:a*r.hours});r.minutes=Math.abs(Dx(n,u));var d=Eb(u,{minutes:a*r.minutes});return r.seconds=Math.abs(Vb(n,d)),r}function Q5e(e,t,n){var r;he(1,arguments);var a;return J5e(t)?a=t:n=t,new Intl.DateTimeFormat((r=n)===null||r===void 0?void 0:r.locale,a).format(e)}function J5e(e){return e!==void 0&&!("locale"in e)}function Z5e(e,t,n){he(2,arguments);var r=0,a,i=Re(e),o=Re(t);if(n!=null&&n.unit)a=n==null?void 0:n.unit,a==="second"?r=Vb(i,o):a==="minute"?r=Dx(i,o):a==="hour"?r=Ix(i,o):a==="day"?r=kc(i,o):a==="week"?r=Mx(i,o):a==="month"?r=Nx(i,o):a==="quarter"?r=Uk(i,o):a==="year"&&(r=TS(i,o));else{var l=Vb(i,o);Math.abs(l)r.getTime()}function tWe(e,t){he(2,arguments);var n=Re(e),r=Re(t);return n.getTime()Date.now()}function iG(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=RF(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return i=d.done,d},e:function(d){o=!0,l=d},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw l}}}}var sWe=10,Zre=(function(){function e(){Xn(this,e),wt(this,"priority",void 0),wt(this,"subPriority",0)}return Qn(e,[{key:"validate",value:function(n,r){return!0}}]),e})(),lWe=(function(e){tr(n,e);var t=nr(n);function n(r,a,i,o,l){var u;return Xn(this,n),u=t.call(this),u.value=r,u.validateValue=a,u.setValue=i,u.priority=o,l&&(u.subPriority=l),u}return Qn(n,[{key:"validate",value:function(a,i){return this.validateValue(a,this.value,i)}},{key:"set",value:function(a,i,o){return this.setValue(a,i,this.value,o)}}]),n})(Zre),uWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o0,r=n?t:1-t,a;if(r<=50)a=e||100;else{var i=r+50,o=Math.floor(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return n?a:1-a}function nae(e){return e%400===0||e%4===0&&e%100!==0}var dWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o0}},{key:"set",value:function(a,i,o){var l=a.getUTCFullYear();if(o.isTwoDigitYear){var u=tae(o.year,l);return a.setUTCFullYear(u,0,1),a.setUTCHours(0,0,0,0),a}var d=!("era"in i)||i.era===1?o.year:1-o.year;return a.setUTCFullYear(d,0,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),fWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o0}},{key:"set",value:function(a,i,o,l){var u=a4(a,l);if(o.isTwoDigitYear){var d=tae(o.year,u);return a.setUTCFullYear(d,0,l.firstWeekContainsDate),a.setUTCHours(0,0,0,0),Yd(a,l)}var f=!("era"in i)||i.era===1?o.year:1-o.year;return a.setUTCFullYear(f,0,l.firstWeekContainsDate),a.setUTCHours(0,0,0,0),Yd(a,l)}}]),n})(Sr),pWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=4}},{key:"set",value:function(a,i,o){return a.setUTCMonth((o-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),gWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=4}},{key:"set",value:function(a,i,o){return a.setUTCMonth((o-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),vWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=11}},{key:"set",value:function(a,i,o){return a.setUTCMonth(o,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),yWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=11}},{key:"set",value:function(a,i,o){return a.setUTCMonth(o,1),a.setUTCHours(0,0,0,0),a}}]),n})(Sr);function bWe(e,t,n){he(2,arguments);var r=Re(e),a=yt(t),i=$re(r,n)-a;return r.setUTCDate(r.getUTCDate()-i*7),r}var wWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=53}},{key:"set",value:function(a,i,o,l){return Yd(bWe(a,o,l),l)}}]),n})(Sr);function SWe(e,t){he(2,arguments);var n=Re(e),r=yt(t),a=Dre(n)-r;return n.setUTCDate(n.getUTCDate()-a*7),n}var EWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=53}},{key:"set",value:function(a,i,o){return s0(SWe(a,o))}}]),n})(Sr),TWe=[31,28,31,30,31,30,31,31,30,31,30,31],CWe=[31,29,31,30,31,30,31,31,30,31,30,31],kWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=CWe[u]:i>=1&&i<=TWe[u]}},{key:"set",value:function(a,i,o){return a.setUTCDate(o),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),xWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(a,i,o){return a.setUTCMonth(0,o),a.setUTCHours(0,0,0,0),a}}]),n})(Sr);function s4(e,t,n){var r,a,i,o,l,u,d,f;he(2,arguments);var g=Xa(),y=yt((r=(a=(i=(o=n==null?void 0:n.weekStartsOn)!==null&&o!==void 0?o:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:g.weekStartsOn)!==null&&a!==void 0?a:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Re(e),v=yt(t),E=h.getUTCDay(),T=v%7,C=(T+7)%7,k=(C=0&&i<=6}},{key:"set",value:function(a,i,o,l){return a=s4(a,o,l),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),OWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=6}},{key:"set",value:function(a,i,o,l){return a=s4(a,o,l),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),RWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=6}},{key:"set",value:function(a,i,o,l){return a=s4(a,o,l),a.setUTCHours(0,0,0,0),a}}]),n})(Sr);function PWe(e,t){he(2,arguments);var n=yt(t);n%7===0&&(n=n-7);var r=1,a=Re(e),i=a.getUTCDay(),o=n%7,l=(o+7)%7,u=(l=1&&i<=7}},{key:"set",value:function(a,i,o){return a=PWe(a,o),a.setUTCHours(0,0,0,0),a}}]),n})(Sr),NWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=12}},{key:"set",value:function(a,i,o){var l=a.getUTCHours()>=12;return l&&o<12?a.setUTCHours(o+12,0,0,0):!l&&o===12?a.setUTCHours(0,0,0,0):a.setUTCHours(o,0,0,0),a}}]),n})(Sr),$We=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=23}},{key:"set",value:function(a,i,o){return a.setUTCHours(o,0,0,0),a}}]),n})(Sr),LWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=11}},{key:"set",value:function(a,i,o){var l=a.getUTCHours()>=12;return l&&o<12?a.setUTCHours(o+12,0,0,0):a.setUTCHours(o,0,0,0),a}}]),n})(Sr),FWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&i<=24}},{key:"set",value:function(a,i,o){var l=o<=24?o%24:o;return a.setUTCHours(l,0,0,0),a}}]),n})(Sr),jWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=59}},{key:"set",value:function(a,i,o){return a.setUTCMinutes(o,0,0),a}}]),n})(Sr),UWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=0&&i<=59}},{key:"set",value:function(a,i,o){return a.setUTCSeconds(o,0),a}}]),n})(Sr),BWe=(function(e){tr(n,e);var t=nr(n);function n(){var r;Xn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o=1&&z<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Q=yt((v=(E=(T=(C=r==null?void 0:r.weekStartsOn)!==null&&C!==void 0?C:r==null||(k=r.locale)===null||k===void 0||(_=k.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&T!==void 0?T:L.weekStartsOn)!==null&&E!==void 0?E:(A=L.locale)===null||A===void 0||(P=A.options)===null||P===void 0?void 0:P.weekStartsOn)!==null&&v!==void 0?v:0);if(!(Q>=0&&Q<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(I==="")return N===""?Re(n):new Date(NaN);var le={firstWeekContainsDate:z,weekStartsOn:Q,locale:j},re=[new uWe],ge=I.match(YWe).map(function(fe){var xe=fe[0];if(xe in S3){var Ie=S3[xe];return Ie(fe,j.formatLong)}return fe}).join("").match(GWe),me=[],W=iG(ge),G;try{var q=function(){var xe=G.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&jre(xe)&&Lx(xe,I,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Fre(xe)&&Lx(xe,I,e);var Ie=xe[0],qe=VWe[Ie];if(qe){var tt=qe.incompatibleTokens;if(Array.isArray(tt)){var Ge=me.find(function(Et){return tt.includes(Et.token)||Et.token===Ie});if(Ge)throw new RangeError("The format string mustn't contain `".concat(Ge.fullToken,"` and `").concat(xe,"` at the same time"))}else if(qe.incompatibleTokens==="*"&&me.length>0)throw new RangeError("The format string mustn't contain `".concat(xe,"` and any other token at the same time"));me.push({token:Ie,fullToken:xe});var at=qe.run(N,xe,j.match,le);if(!at)return{v:new Date(NaN)};re.push(at.setter),N=at.rest}else{if(Ie.match(JWe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ie+"`");if(xe==="''"?xe="'":Ie==="'"&&(xe=ZWe(xe)),N.indexOf(xe)===0)N=N.slice(xe.length);else return{v:new Date(NaN)}}};for(W.s();!(G=W.n()).done;){var ce=q();if(ro(ce)==="object")return ce.v}}catch(fe){W.e(fe)}finally{W.f()}if(N.length>0&&QWe.test(N))return new Date(NaN);var H=re.map(function(fe){return fe.priority}).sort(function(fe,xe){return xe-fe}).filter(function(fe,xe,Ie){return Ie.indexOf(fe)===xe}).map(function(fe){return re.filter(function(xe){return xe.priority===fe}).sort(function(xe,Ie){return Ie.subPriority-xe.subPriority})}).map(function(fe){return fe[0]}),Y=Re(n);if(isNaN(Y.getTime()))return new Date(NaN);var ie=o0(Y,Lo(Y)),J={},ee=iG(H),Z;try{for(ee.s();!(Z=ee.n()).done;){var ue=Z.value;if(!ue.validate(ie,le))return new Date(NaN);var ke=ue.set(ie,J,le);Array.isArray(ke)?(ie=ke[0],YE(J,ke[1])):ie=ke}}catch(fe){ee.e(fe)}finally{ee.f()}return ie}function ZWe(e){return e.match(KWe)[1].replace(XWe,"'")}function eze(e,t,n){return he(2,arguments),Gd(rae(e,t,new Date,n))}function tze(e){return he(1,arguments),Re(e).getDay()===1}function nze(e){return he(1,arguments),Re(e).getTime()=r&&n<=a}function q_(e,t){he(2,arguments);var n=yt(t);return _c(e,-n)}function yze(e){return he(1,arguments),GE(e,q_(Date.now(),1))}function bze(e){he(1,arguments);var t=Re(e),n=t.getFullYear(),r=9+Math.floor(n/10)*10;return t.setFullYear(r+1,0,0),t.setHours(0,0,0,0),t}function dae(e,t){var n,r,a,i,o,l,u,d;he(1,arguments);var f=Xa(),g=yt((n=(r=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var y=Re(e),h=y.getDay(),v=(h2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],hk.timeZoneDelimiter.test(t.date)&&(t.date=e.split(hk.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){var a=hk.timezone.exec(r);a?(t.time=r.replace(a[1],""),t.timezone=a[1]):t.time=r}return t}function Qze(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?a:i*100,restDateString:e.slice((r[1]||r[2]).length)}}function Jze(e,t){if(t===null)return new Date(NaN);var n=e.match(Gze);if(!n)return new Date(NaN);var r=!!n[4],a=N1(n[1]),i=N1(n[2])-1,o=N1(n[3]),l=N1(n[4]),u=N1(n[5])-1;if(r)return iqe(t,l,u)?tqe(t,l,u):new Date(NaN);var d=new Date(0);return!rqe(t,i,o)||!aqe(t,a)?new Date(NaN):(d.setUTCFullYear(t,i,Math.max(a,o)),d)}function N1(e){return e?parseInt(e):1}function Zze(e){var t=e.match(Yze);if(!t)return NaN;var n=y$(t[1]),r=y$(t[2]),a=y$(t[3]);return oqe(n,r,a)?n*zv+r*Wv+a*1e3:NaN}function y$(e){return e&&parseFloat(e.replace(",","."))||0}function eqe(e){if(e==="Z")return 0;var t=e.match(Kze);if(!t)return 0;var n=t[1]==="+"?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return sqe(r,a)?n*(r*zv+a*Wv):NaN}function tqe(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var a=r.getUTCDay()||7,i=(t-1)*7+n+1-a;return r.setUTCDate(r.getUTCDate()+i),r}var nqe=[31,null,31,30,31,30,31,31,30,31,30,31];function fae(e){return e%400===0||e%4===0&&e%100!==0}function rqe(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(nqe[t]||(fae(e)?29:28))}function aqe(e,t){return t>=1&&t<=(fae(e)?366:365)}function iqe(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function oqe(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function sqe(e,t){return t>=0&&t<=59}function lqe(e){if(he(1,arguments),typeof e=="string"){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return t?new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*(t[8]=="-"?-1:1),+t[5]-(+t[10]||0)*(t[8]=="-"?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3))):new Date(NaN)}return Re(e)}function Oh(e,t){he(2,arguments);var n=z_(e)-t;return n<=0&&(n+=7),q_(e,n)}function uqe(e){return he(1,arguments),Oh(e,5)}function cqe(e){return he(1,arguments),Oh(e,1)}function dqe(e){return he(1,arguments),Oh(e,6)}function fqe(e){return he(1,arguments),Oh(e,0)}function pqe(e){return he(1,arguments),Oh(e,4)}function hqe(e){return he(1,arguments),Oh(e,2)}function mqe(e){return he(1,arguments),Oh(e,3)}function gqe(e){return he(1,arguments),Math.floor(e*Yj)}function vqe(e){he(1,arguments);var t=e/Xj;return Math.floor(t)}function yqe(e,t){var n;if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present");var r=yt((n=t==null?void 0:t.nearestTo)!==null&&n!==void 0?n:1);if(r<1||r>30)throw new RangeError("`options.nearestTo` must be between 1 and 30");var a=Re(e),i=a.getSeconds(),o=a.getMinutes()+i/60,l=E0(t==null?void 0:t.roundingMethod),u=l(o/r)*r,d=o%r,f=Math.round(d/r)*r;return new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),u+f)}function bqe(e){he(1,arguments);var t=e/VE;return Math.floor(t)}function wqe(e){return he(1,arguments),e*I_}function Sqe(e){he(1,arguments);var t=e/D_;return Math.floor(t)}function u4(e,t){he(2,arguments);var n=Re(e),r=yt(t),a=n.getFullYear(),i=n.getDate(),o=new Date(0);o.setFullYear(a,r,15),o.setHours(0,0,0,0);var l=Hre(o);return n.setMonth(r,Math.min(i,l)),n}function Eqe(e,t){if(he(2,arguments),ro(t)!=="object"||t===null)throw new RangeError("values parameter must be an object");var n=Re(e);return isNaN(n.getTime())?new Date(NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=u4(n,t.month)),t.date!=null&&n.setDate(yt(t.date)),t.hours!=null&&n.setHours(yt(t.hours)),t.minutes!=null&&n.setMinutes(yt(t.minutes)),t.seconds!=null&&n.setSeconds(yt(t.seconds)),t.milliseconds!=null&&n.setMilliseconds(yt(t.milliseconds)),n)}function Tqe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return n.setDate(r),n}function Cqe(e,t,n){var r,a,i,o,l,u,d,f;he(2,arguments);var g=Xa(),y=yt((r=(a=(i=(o=n==null?void 0:n.weekStartsOn)!==null&&o!==void 0?o:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:g.weekStartsOn)!==null&&a!==void 0?a:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Re(e),v=yt(t),E=h.getDay(),T=v%7,C=(T+7)%7,k=7-y,_=v<0||v>6?v-(E+k)%7:(C+k)%7-(E+k)%7;return _c(h,_)}function kqe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return n.setMonth(0),n.setDate(r),n}function xqe(e){he(1,arguments);var t={},n=Xa();for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(e[a]===void 0?delete t[a]:t[a]=e[a]);BBe(t)}function _qe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return n.setHours(r),n}function Oqe(e,t){he(2,arguments);var n=Re(e),r=yt(t),a=Gre(n),i=r-a;return _c(n,i)}function Rqe(e,t){he(2,arguments);var n=Re(e),r=yt(t),a=Yre(n)-r;return n.setDate(n.getDate()-a*7),n}function Pqe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return n.setMilliseconds(r),n}function Aqe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return n.setMinutes(r),n}function Nqe(e,t){he(2,arguments);var n=Re(e),r=yt(t),a=Math.floor(n.getMonth()/3)+1,i=r-a;return u4(n,n.getMonth()+i*3)}function Mqe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return n.setSeconds(r),n}function Iqe(e,t,n){he(2,arguments);var r=Re(e),a=yt(t),i=Qre(r,n)-a;return r.setDate(r.getDate()-i*7),r}function Dqe(e,t,n){var r,a,i,o,l,u,d,f;he(2,arguments);var g=Xa(),y=yt((r=(a=(i=(o=n==null?void 0:n.firstWeekContainsDate)!==null&&o!==void 0?o:n==null||(l=n.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:g.firstWeekContainsDate)!==null&&a!==void 0?a:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=Re(e),v=yt(t),E=kc(h,jx(h,n)),T=new Date(0);return T.setFullYear(v,0,y),T.setHours(0,0,0,0),h=jx(T,n),h.setDate(h.getDate()+E),h}function $qe(e,t){he(2,arguments);var n=Re(e),r=yt(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Lqe(e){he(1,arguments);var t=Re(e),n=t.getFullYear(),r=Math.floor(n/10)*10;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}function Fqe(){return i0(Date.now())}function jqe(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r+1),a.setHours(0,0,0,0),a}function Uqe(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r-1),a.setHours(0,0,0,0),a}function pae(e,t){he(2,arguments);var n=yt(t);return qE(e,-n)}function Bqe(e,t){if(he(2,arguments),!t||ro(t)!=="object")return new Date(NaN);var n=t.years?yt(t.years):0,r=t.months?yt(t.months):0,a=t.weeks?yt(t.weeks):0,i=t.days?yt(t.days):0,o=t.hours?yt(t.hours):0,l=t.minutes?yt(t.minutes):0,u=t.seconds?yt(t.seconds):0,d=pae(e,r+n*12),f=q_(d,i+a*7),g=l+o*60,y=u+g*60,h=y*1e3,v=new Date(f.getTime()-h);return v}function Wqe(e,t){he(2,arguments);var n=yt(t);return hre(e,-n)}function zqe(e,t){he(2,arguments);var n=yt(t);return zj(e,-n)}function qqe(e,t){he(2,arguments);var n=yt(t);return qj(e,-n)}function Hqe(e,t){he(2,arguments);var n=yt(t);return Hj(e,-n)}function Vqe(e,t){he(2,arguments);var n=yt(t);return yre(e,-n)}function Gqe(e,t){he(2,arguments);var n=yt(t);return M_(e,-n)}function Yqe(e,t){he(2,arguments);var n=yt(t);return bre(e,-n)}function Kqe(e){return he(1,arguments),Math.floor(e*Vj)}function Xqe(e){return he(1,arguments),Math.floor(e*Kj)}function Qqe(e){return he(1,arguments),Math.floor(e*Xj)}const Jqe=Object.freeze(Object.defineProperty({__proto__:null,add:Eb,addBusinessDays:hre,addDays:_c,addHours:zj,addISOWeekYears:vre,addMilliseconds:HE,addMinutes:qj,addMonths:qE,addQuarters:Hj,addSeconds:yre,addWeeks:M_,addYears:bre,areIntervalsOverlapping:qBe,clamp:HBe,closestIndexTo:VBe,closestTo:GBe,compareAsc:Tu,compareDesc:YBe,daysInWeek:Vj,daysInYear:Ere,daysToWeeks:XBe,differenceInBusinessDays:QBe,differenceInCalendarDays:kc,differenceInCalendarISOWeekYears:_re,differenceInCalendarISOWeeks:ZBe,differenceInCalendarMonths:Nx,differenceInCalendarQuarters:Uk,differenceInCalendarWeeks:Mx,differenceInCalendarYears:TS,differenceInDays:Zj,differenceInHours:Ix,differenceInISOWeekYears:n8e,differenceInMilliseconds:L_,differenceInMinutes:Dx,differenceInMonths:F_,differenceInQuarters:r8e,differenceInSeconds:Vb,differenceInWeeks:a8e,differenceInYears:Pre,eachDayOfInterval:Are,eachHourOfInterval:i8e,eachMinuteOfInterval:o8e,eachMonthOfInterval:s8e,eachQuarterOfInterval:l8e,eachWeekOfInterval:u8e,eachWeekendOfInterval:n4,eachWeekendOfMonth:c8e,eachWeekendOfYear:d8e,eachYearOfInterval:f8e,endOfDay:e4,endOfDecade:p8e,endOfHour:h8e,endOfISOWeek:m8e,endOfISOWeekYear:g8e,endOfMinute:v8e,endOfMonth:t4,endOfQuarter:y8e,endOfSecond:b8e,endOfToday:w8e,endOfTomorrow:S8e,endOfWeek:Mre,endOfYear:Nre,endOfYesterday:E8e,format:Ure,formatDistance:Wre,formatDistanceStrict:zre,formatDistanceToNow:m5e,formatDistanceToNowStrict:g5e,formatDuration:y5e,formatISO:b5e,formatISO9075:w5e,formatISODuration:S5e,formatRFC3339:E5e,formatRFC7231:k5e,formatRelative:x5e,fromUnixTime:_5e,getDate:qre,getDay:z_,getDayOfYear:O5e,getDaysInMonth:Hre,getDaysInYear:R5e,getDecade:P5e,getDefaultOptions:A5e,getHours:N5e,getISODay:Gre,getISOWeek:Yre,getISOWeekYear:Pv,getISOWeeksInYear:D5e,getMilliseconds:$5e,getMinutes:L5e,getMonth:F5e,getOverlappingDaysInIntervals:U5e,getQuarter:w3,getSeconds:B5e,getTime:Kre,getUnixTime:W5e,getWeek:Qre,getWeekOfMonth:q5e,getWeekYear:Xre,getWeeksInMonth:H5e,getYear:V5e,hoursToMilliseconds:G5e,hoursToMinutes:Y5e,hoursToSeconds:K5e,intervalToDuration:X5e,intlFormat:Q5e,intlFormatDistance:Z5e,isAfter:eWe,isBefore:tWe,isDate:xre,isEqual:nWe,isExists:rWe,isFirstDayOfMonth:aWe,isFriday:iWe,isFuture:oWe,isLastDayOfMonth:Rre,isLeapYear:Vre,isMatch:eze,isMonday:tze,isPast:nze,isSameDay:GE,isSameHour:aae,isSameISOWeek:iae,isSameISOWeekYear:rze,isSameMinute:oae,isSameMonth:sae,isSameQuarter:lae,isSameSecond:uae,isSameWeek:l4,isSameYear:cae,isSaturday:pre,isSunday:Wj,isThisHour:aze,isThisISOWeek:ize,isThisMinute:oze,isThisMonth:sze,isThisQuarter:lze,isThisSecond:uze,isThisWeek:cze,isThisYear:dze,isThursday:fze,isToday:pze,isTomorrow:hze,isTuesday:mze,isValid:Gd,isWednesday:gze,isWeekend:Hb,isWithinInterval:vze,isYesterday:yze,lastDayOfDecade:bze,lastDayOfISOWeek:wze,lastDayOfISOWeekYear:Sze,lastDayOfMonth:Jre,lastDayOfQuarter:Eze,lastDayOfWeek:dae,lastDayOfYear:Tze,lightFormat:Oze,max:wre,maxTime:Tre,milliseconds:Pze,millisecondsInHour:zv,millisecondsInMinute:Wv,millisecondsInSecond:I_,millisecondsToHours:Aze,millisecondsToMinutes:Nze,millisecondsToSeconds:Mze,min:Sre,minTime:KBe,minutesInHour:Gj,minutesToHours:Ize,minutesToMilliseconds:Dze,minutesToSeconds:$ze,monthsInQuarter:Yj,monthsInYear:Kj,monthsToQuarters:Lze,monthsToYears:Fze,nextDay:_h,nextFriday:jze,nextMonday:Uze,nextSaturday:Bze,nextSunday:Wze,nextThursday:zze,nextTuesday:qze,nextWednesday:Hze,parse:rae,parseISO:Vze,parseJSON:lqe,previousDay:Oh,previousFriday:uqe,previousMonday:cqe,previousSaturday:dqe,previousSunday:fqe,previousThursday:pqe,previousTuesday:hqe,previousWednesday:mqe,quartersInYear:Xj,quartersToMonths:gqe,quartersToYears:vqe,roundToNearestMinutes:yqe,secondsInDay:$_,secondsInHour:VE,secondsInMinute:D_,secondsInMonth:Jj,secondsInQuarter:kre,secondsInWeek:Cre,secondsInYear:Qj,secondsToHours:bqe,secondsToMilliseconds:wqe,secondsToMinutes:Sqe,set:Eqe,setDate:Tqe,setDay:Cqe,setDayOfYear:kqe,setDefaultOptions:xqe,setHours:_qe,setISODay:Oqe,setISOWeek:Rqe,setISOWeekYear:gre,setMilliseconds:Pqe,setMinutes:Aqe,setMonth:u4,setQuarter:Nqe,setSeconds:Mqe,setWeek:Iqe,setWeekYear:Dqe,setYear:$qe,startOfDay:i0,startOfDecade:Lqe,startOfHour:E3,startOfISOWeek:Vd,startOfISOWeekYear:lh,startOfMinute:$x,startOfMonth:j_,startOfQuarter:pE,startOfSecond:T3,startOfToday:Fqe,startOfTomorrow:jqe,startOfWeek:Ol,startOfWeekYear:jx,startOfYear:r4,startOfYesterday:Uqe,sub:Bqe,subBusinessDays:Wqe,subDays:q_,subHours:zqe,subISOWeekYears:Ore,subMilliseconds:o0,subMinutes:qqe,subMonths:pae,subQuarters:Hqe,subSeconds:Vqe,subWeeks:Gqe,subYears:Yqe,toDate:Re,weeksToDays:Kqe,yearsToMonths:Xqe,yearsToQuarters:Qqe},Symbol.toStringTag,{value:"Module"})),Hv=jt(Jqe);var sG;function H_(){if(sG)return Vg;sG=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.rangeShape=Vg.default=void 0;var e=o(Fs()),t=a(Nc()),n=a(ph()),r=Hv;function a(h){return h&&h.__esModule?h:{default:h}}function i(h){if(typeof WeakMap!="function")return null;var v=new WeakMap,E=new WeakMap;return(i=function(T){return T?E:v})(h)}function o(h,v){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var E=i(v);if(E&&E.has(h))return E.get(h);var T={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in h)if(k!=="default"&&Object.prototype.hasOwnProperty.call(h,k)){var _=C?Object.getOwnPropertyDescriptor(h,k):null;_&&(_.get||_.set)?Object.defineProperty(T,k,_):T[k]=h[k]}return T.default=h,E&&E.set(h,T),T}function l(){return l=Object.assign?Object.assign.bind():function(h){for(var v=1;v{const{day:C,onMouseDown:k,onMouseUp:_}=this.props;[13,32].includes(T.keyCode)&&(T.type==="keydown"?k(C):_(C))}),u(this,"handleMouseEvent",T=>{const{day:C,disabled:k,onPreviewChange:_,onMouseEnter:A,onMouseDown:P,onMouseUp:N}=this.props,I={};if(k){_();return}switch(T.type){case"mouseenter":A(C),_(C),I.hover=!0;break;case"blur":case"mouseleave":I.hover=!1;break;case"mousedown":I.active=!0,P(C);break;case"mouseup":T.stopPropagation(),I.active=!1,N(C);break;case"focus":_(C);break}Object.keys(I).length&&this.setState(I)}),u(this,"getClassNames",()=>{const{isPassive:T,isToday:C,isWeekend:k,isStartOfWeek:_,isEndOfWeek:A,isStartOfMonth:P,isEndOfMonth:N,disabled:I,styles:L}=this.props;return(0,n.default)(L.day,{[L.dayPassive]:T,[L.dayDisabled]:I,[L.dayToday]:C,[L.dayWeekend]:k,[L.dayStartOfWeek]:_,[L.dayEndOfWeek]:A,[L.dayStartOfMonth]:P,[L.dayEndOfMonth]:N,[L.dayHovered]:this.state.hover,[L.dayActive]:this.state.active})}),u(this,"renderPreviewPlaceholder",()=>{const{preview:T,day:C,styles:k}=this.props;if(!T)return null;const _=T.startDate?(0,r.endOfDay)(T.startDate):null,A=T.endDate?(0,r.startOfDay)(T.endDate):null,P=(!_||(0,r.isAfter)(C,_))&&(!A||(0,r.isBefore)(C,A)),N=!P&&(0,r.isSameDay)(C,_),I=!P&&(0,r.isSameDay)(C,A);return e.default.createElement("span",{className:(0,n.default)({[k.dayStartPreview]:N,[k.dayInPreview]:P,[k.dayEndPreview]:I}),style:{color:T.color}})}),u(this,"renderSelectionPlaceholders",()=>{const{styles:T,ranges:C,day:k}=this.props;return this.props.displayMode==="date"?(0,r.isSameDay)(this.props.day,this.props.date)?e.default.createElement("span",{className:T.selected,style:{color:this.props.color}}):null:C.reduce((A,P)=>{let N=P.startDate,I=P.endDate;N&&I&&(0,r.isBefore)(I,N)&&([N,I]=[I,N]),N=N?(0,r.endOfDay)(N):null,I=I?(0,r.startOfDay)(I):null;const L=(!N||(0,r.isAfter)(k,N))&&(!I||(0,r.isBefore)(k,I)),j=!L&&(0,r.isSameDay)(k,N),z=!L&&(0,r.isSameDay)(k,I);return L||j||z?[...A,{isStartEdge:j,isEndEdge:z,isInRange:L,...P}]:A},[]).map((A,P)=>e.default.createElement("span",{key:P,className:(0,n.default)({[T.startEdge]:A.isStartEdge,[T.endEdge]:A.isEndEdge,[T.inRange]:A.isInRange}),style:{color:A.color||this.props.color}}))}),this.state={hover:!1,active:!1}}render(){const{dayContentRenderer:v}=this.props;return e.default.createElement("button",l({type:"button",onMouseEnter:this.handleMouseEvent,onMouseLeave:this.handleMouseEvent,onFocus:this.handleMouseEvent,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onBlur:this.handleMouseEvent,onPauseCapture:this.handleMouseEvent,onKeyDown:this.handleKeyEvent,onKeyUp:this.handleKeyEvent,className:this.getClassNames(this.props.styles)},this.props.disabled||this.props.isPassive?{tabIndex:-1}:{},{style:{color:this.props.color}}),this.renderSelectionPlaceholders(),this.renderPreviewPlaceholder(),e.default.createElement("span",{className:this.props.styles.dayNumber},(v==null?void 0:v(this.props.day))||e.default.createElement("span",null,(0,r.format)(this.props.day,this.props.dayDisplayFormat))))}};g.defaultProps={};const y=Vg.rangeShape=t.default.shape({startDate:t.default.object,endDate:t.default.object,color:t.default.string,key:t.default.string,autoFocus:t.default.bool,disabled:t.default.bool,showDateDisplay:t.default.bool});return g.propTypes={day:t.default.object.isRequired,dayDisplayFormat:t.default.string,date:t.default.object,ranges:t.default.arrayOf(y),preview:t.default.shape({startDate:t.default.object,endDate:t.default.object,color:t.default.string}),onPreviewChange:t.default.func,previewColor:t.default.string,disabled:t.default.bool,isPassive:t.default.bool,isToday:t.default.bool,isWeekend:t.default.bool,isStartOfWeek:t.default.bool,isEndOfWeek:t.default.bool,isStartOfMonth:t.default.bool,isEndOfMonth:t.default.bool,color:t.default.string,displayMode:t.default.oneOf(["dateRange","date"]),styles:t.default.object,onMouseDown:t.default.func,onMouseUp:t.default.func,onMouseEnter:t.default.func,dayContentRenderer:t.default.func},Vg.default=g,Vg}var M1={},Gg={},lG;function V_(){if(lG)return Gg;lG=1,Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.calcFocusDate=r,Gg.findNextRangeIndex=a,Gg.generateStyles=o,Gg.getMonthDisplayRange=i;var e=n(ph()),t=Hv;function n(l){return l&&l.__esModule?l:{default:l}}function r(l,u){const{shownDate:d,date:f,months:g,ranges:y,focusedRange:h,displayMode:v}=u;let E;if(v==="dateRange"){const C=y[h[0]]||{};E={start:C.startDate,end:C.endDate}}else E={start:f,end:f};E.start=(0,t.startOfMonth)(E.start||new Date),E.end=(0,t.endOfMonth)(E.end||E.start);const T=E.start||E.end||d||new Date;return l?(0,t.differenceInCalendarMonths)(E.start,E.end)>g?l:T:d||T}function a(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;const d=l.findIndex((f,g)=>g>u&&f.autoFocus!==!1&&!f.disabled);return d!==-1?d:l.findIndex(f=>f.autoFocus!==!1&&!f.disabled)}function i(l,u,d){const f=(0,t.startOfMonth)(l,u),g=(0,t.endOfMonth)(l,u),y=(0,t.startOfWeek)(f,u);let h=(0,t.endOfWeek)(g,u);return d&&(0,t.differenceInCalendarDays)(h,y)<=34&&(h=(0,t.addDays)(h,7)),{start:y,end:h,startDateOfMonth:f,endDateOfMonth:g}}function o(l){return l.length?l.filter(d=>!!d).reduce((d,f)=>(Object.keys(f).forEach(g=>{d[g]=(0,e.default)(d[g],f[g])}),d),{}):{}}return Gg}var uG;function Zqe(){if(uG)return M1;uG=1,Object.defineProperty(M1,"__esModule",{value:!0}),M1.default=void 0;var e=l(Fs()),t=i(Nc()),n=l(H_()),r=Hv,a=V_();function i(g){return g&&g.__esModule?g:{default:g}}function o(g){if(typeof WeakMap!="function")return null;var y=new WeakMap,h=new WeakMap;return(o=function(v){return v?h:y})(g)}function l(g,y){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var h=o(y);if(h&&h.has(g))return h.get(g);var v={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in g)if(T!=="default"&&Object.prototype.hasOwnProperty.call(g,T)){var C=E?Object.getOwnPropertyDescriptor(g,T):null;C&&(C.get||C.set)?Object.defineProperty(v,T,C):v[T]=g[T]}return v.default=g,h&&h.set(g,v),v}function u(){return u=Object.assign?Object.assign.bind():function(g){for(var y=1;ye.default.createElement("span",{className:g.weekDay,key:T},(0,r.format)(E,h,y))))}let f=class extends e.PureComponent{render(){const y=new Date,{displayMode:h,focusedRange:v,drag:E,styles:T,disabledDates:C,disabledDay:k}=this.props,_=this.props.minDate&&(0,r.startOfDay)(this.props.minDate),A=this.props.maxDate&&(0,r.endOfDay)(this.props.maxDate),P=(0,a.getMonthDisplayRange)(this.props.month,this.props.dateOptions,this.props.fixedHeight);let N=this.props.ranges;if(h==="dateRange"&&E.status){let{startDate:L,endDate:j}=E.range;N=N.map((z,Q)=>Q!==v[0]?z:{...z,startDate:L,endDate:j})}const I=this.props.showPreview&&!E.disablePreview;return e.default.createElement("div",{className:T.month,style:this.props.style},this.props.showMonthName?e.default.createElement("div",{className:T.monthName},(0,r.format)(this.props.month,this.props.monthDisplayFormat,this.props.dateOptions)):null,this.props.showWeekDays&&d(T,this.props.dateOptions,this.props.weekdayDisplayFormat),e.default.createElement("div",{className:T.days,onMouseLeave:this.props.onMouseLeave},(0,r.eachDayOfInterval)({start:P.start,end:P.end}).map((L,j)=>{const z=(0,r.isSameDay)(L,P.startDateOfMonth),Q=(0,r.isSameDay)(L,P.endDateOfMonth),le=_&&(0,r.isBefore)(L,_)||A&&(0,r.isAfter)(L,A),re=C.some(me=>(0,r.isSameDay)(me,L)),ge=k(L);return e.default.createElement(n.default,u({},this.props,{ranges:N,day:L,preview:I?this.props.preview:null,isWeekend:(0,r.isWeekend)(L,this.props.dateOptions),isToday:(0,r.isSameDay)(L,y),isStartOfWeek:(0,r.isSameDay)(L,(0,r.startOfWeek)(L,this.props.dateOptions)),isEndOfWeek:(0,r.isSameDay)(L,(0,r.endOfWeek)(L,this.props.dateOptions)),isStartOfMonth:z,isEndOfMonth:Q,key:j,disabled:le||re||ge,isPassive:!(0,r.isWithinInterval)(L,{start:P.startDateOfMonth,end:P.endDateOfMonth}),styles:T,onMouseDown:this.props.onDragSelectionStart,onMouseUp:this.props.onDragSelectionEnd,onMouseEnter:this.props.onDragSelectionMove,dragRange:E.range,drag:E.status}))})))}};return f.defaultProps={},f.propTypes={style:t.default.object,styles:t.default.object,month:t.default.object,drag:t.default.object,dateOptions:t.default.object,disabledDates:t.default.array,disabledDay:t.default.func,preview:t.default.shape({startDate:t.default.object,endDate:t.default.object}),showPreview:t.default.bool,displayMode:t.default.oneOf(["dateRange","date"]),minDate:t.default.object,maxDate:t.default.object,ranges:t.default.arrayOf(n.rangeShape),focusedRange:t.default.arrayOf(t.default.number),onDragSelectionStart:t.default.func,onDragSelectionEnd:t.default.func,onDragSelectionMove:t.default.func,onMouseLeave:t.default.func,monthDisplayFormat:t.default.string,weekdayDisplayFormat:t.default.string,dayDisplayFormat:t.default.string,showWeekDays:t.default.bool,showMonthName:t.default.bool,fixedHeight:t.default.bool},M1.default=f,M1}var I1={},cG;function e9e(){if(cG)return I1;cG=1,Object.defineProperty(I1,"__esModule",{value:!0}),I1.default=void 0;var e=o(Fs()),t=a(Nc()),n=a(ph()),r=Hv;function a(g){return g&&g.__esModule?g:{default:g}}function i(g){if(typeof WeakMap!="function")return null;var y=new WeakMap,h=new WeakMap;return(i=function(v){return v?h:y})(g)}function o(g,y){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var h=i(y);if(h&&h.has(g))return h.get(g);var v={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in g)if(T!=="default"&&Object.prototype.hasOwnProperty.call(g,T)){var C=E?Object.getOwnPropertyDescriptor(g,T):null;C&&(C.get||C.set)?Object.defineProperty(v,T,C):v[T]=g[T]}return v.default=g,h&&h.set(g,v),v}function l(g,y,h){return y=u(y),y in g?Object.defineProperty(g,y,{value:h,enumerable:!0,configurable:!0,writable:!0}):g[y]=h,g}function u(g){var y=d(g,"string");return typeof y=="symbol"?y:String(y)}function d(g,y){if(typeof g!="object"||!g)return g;var h=g[Symbol.toPrimitive];if(h!==void 0){var v=h.call(g,y);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(g)}let f=class extends e.PureComponent{constructor(y,h){super(y,h),l(this,"onKeyDown",v=>{const{value:E}=this.state;v.key==="Enter"&&this.update(E)}),l(this,"onChange",v=>{this.setState({value:v.target.value,changed:!0,invalid:!1})}),l(this,"onBlur",()=>{const{value:v}=this.state;this.update(v)}),this.state={invalid:!1,changed:!1,value:this.formatDate(y)}}componentDidUpdate(y){const{value:h}=y;(0,r.isEqual)(h,this.props.value)||this.setState({value:this.formatDate(this.props)})}formatDate(y){let{value:h,dateDisplayFormat:v,dateOptions:E}=y;return h&&(0,r.isValid)(h)?(0,r.format)(h,v,E):""}update(y){const{invalid:h,changed:v}=this.state;if(h||!v||!y)return;const{onChange:E,dateDisplayFormat:T,dateOptions:C}=this.props,k=(0,r.parse)(y,T,new Date,C);(0,r.isValid)(k)?this.setState({changed:!1},()=>E(k)):this.setState({invalid:!0})}render(){const{className:y,readOnly:h,placeholder:v,ariaLabel:E,disabled:T,onFocus:C}=this.props,{value:k,invalid:_}=this.state;return e.default.createElement("span",{className:(0,n.default)("rdrDateInput",y)},e.default.createElement("input",{readOnly:h,disabled:T,value:k,placeholder:v,"aria-label":E,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:C}),_&&e.default.createElement("span",{className:"rdrWarning"},"⚠"))}};return f.propTypes={value:t.default.object,placeholder:t.default.string,disabled:t.default.bool,readOnly:t.default.bool,dateOptions:t.default.object,dateDisplayFormat:t.default.string,ariaLabel:t.default.string,className:t.default.string,onFocus:t.default.func.isRequired,onChange:t.default.func.isRequired},f.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"},I1.default=f,I1}var mk={},dG;function t9e(){return dG||(dG=1,(function(e){(function(t,n){n(e,Fs(),hX())})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:mk,function(t,n,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function a(ie){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},a(ie)}function i(ie,J){if(!(ie instanceof J))throw new TypeError("Cannot call a class as a function")}function o(ie,J){for(var ee=0;ee"u")return!1;var ie=!1;try{document.createElement("div").addEventListener("test",re,{get passive(){return ie=!0,!1}})}catch{}return ie})()?{passive:!0}:!1,me="ReactList failed to reach a stable state.",W=40,G=function(J,ee){for(var Z in ee)if(J[Z]!==ee[Z])return!1;return!0},q=function(J){for(var ee=J.props.axis,Z=J.getEl(),ue=j[ee];Z=Z.parentElement;)switch(window.getComputedStyle(Z)[ue]){case"auto":case"scroll":case"overlay":return Z}return window},ce=function(J){var ee=J.props.axis,Z=J.scrollParent;return Z===window?window[N[ee]]:Z[A[ee]]},H=function(J,ee){var Z=J.length,ue=J.minSize,ke=J.type,fe=ee.from,xe=ee.size,Ie=ee.itemsPerRow;xe=Math.max(xe,ue);var qe=xe%Ie;return qe&&(xe+=Ie-qe),xe>Z&&(xe=Z),fe=ke==="simple"||!fe?0:Math.max(Math.min(fe,Z-xe),0),(qe=fe%Ie)&&(fe-=qe,xe+=qe),fe===ee.from&&xe===ee.size?ee:T(T({},ee),{},{from:fe,size:xe})},Y=t.default=(function(ie){function J(ee){var Z;return i(this,J),Z=u(this,J,[ee]),Z.state=H(ee,{itemsPerRow:1,from:ee.initialIndex,size:0}),Z.cache={},Z.cachedScrollPosition=null,Z.prevPrevState={},Z.unstable=!1,Z.updateCounter=0,Z}return h(J,ie),l(J,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(Z){var ue=this;if(this.props.axis!==Z.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>W)return this.unstable=!0,console.error(me);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){ue.updateCounter=0,delete ue.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(Z,ue){if(G(this.state,Z))return ue();this.setState(Z,ue)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,ge),this.scrollParent.removeEventListener("mousewheel",re,ge)}},{key:"getOffset",value:function(Z){var ue=this.props.axis,ke=Z[P[ue]]||0,fe=L[ue];do ke+=Z[fe]||0;while(Z=Z.offsetParent);return ke}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var Z=this.scrollParent,ue=this.props.axis,ke=Q[ue],fe=Z===window?document.body[ke]||document.documentElement[ke]:Z[ke],xe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),Ie=Math.max(0,Math.min(fe,xe)),qe=this.getEl();return this.cachedScrollPosition=this.getOffset(Z)+Ie-this.getOffset(qe),this.cachedScrollPosition}},{key:"setScroll",value:function(Z){var ue=this.scrollParent,ke=this.props.axis;if(Z+=this.getOffset(this.getEl()),ue===window)return window.scrollTo(0,Z);Z-=this.getOffset(this.scrollParent),ue[Q[ke]]=Z}},{key:"getScrollSize",value:function(){var Z=this.scrollParent,ue=document,ke=ue.body,fe=ue.documentElement,xe=z[this.props.axis];return Z===window?Math.max(ke[xe],fe[xe]):Z[xe]}},{key:"hasDeterminateSize",value:function(){var Z=this.props,ue=Z.itemSizeGetter,ke=Z.type;return ke==="uniform"||ue}},{key:"getStartAndEnd",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,ue=this.getScrollPosition(),ke=Math.max(0,ue-Z),fe=ue+this.props.scrollParentViewportSizeGetter(this)+Z;return this.hasDeterminateSize()&&(fe=Math.min(fe,this.getSpaceBefore(this.props.length))),{start:ke,end:fe}}},{key:"getItemSizeAndItemsPerRow",value:function(){var Z=this.props,ue=Z.axis,ke=Z.useStaticSize,fe=this.state,xe=fe.itemSize,Ie=fe.itemsPerRow;if(ke&&xe&&Ie)return{itemSize:xe,itemsPerRow:Ie};var qe=this.items.children;if(!qe.length)return{};var tt=qe[0],Ge=tt[I[ue]],at=Math.abs(Ge-xe);if((isNaN(at)||at>=1)&&(xe=Ge),!xe)return{};var Et=L[ue],kt=tt[Et];Ie=1;for(var xt=qe[Ie];xt&&xt[Et]===kt;xt=qe[Ie])++Ie;return{itemSize:xe,itemsPerRow:Ie}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(Z){return this.clearSizeCache(),this.updateFrame(Z)}},{key:"updateFrame",value:function(Z){switch(this.updateScrollParent(),typeof Z!="function"&&(Z=re),this.props.type){case"simple":return this.updateSimpleFrame(Z);case"variable":return this.updateVariableFrame(Z);case"uniform":return this.updateUniformFrame(Z)}}},{key:"updateScrollParent",value:function(){var Z=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),Z!==this.scrollParent&&(Z&&(Z.removeEventListener("scroll",this.updateFrameAndClearCache),Z.removeEventListener("mousewheel",re)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,ge),this.scrollParent.addEventListener("mousewheel",re,ge))}},{key:"updateSimpleFrame",value:function(Z){var ue=this.getStartAndEnd(),ke=ue.end,fe=this.items.children,xe=0;if(fe.length){var Ie=this.props.axis,qe=fe[0],tt=fe[fe.length-1];xe=this.getOffset(tt)+tt[I[Ie]]-this.getOffset(qe)}if(xe>ke)return Z();var Ge=this.props,at=Ge.pageSize,Et=Ge.length,kt=Math.min(this.state.size+at,Et);this.maybeSetState({size:kt},Z)}},{key:"updateVariableFrame",value:function(Z){this.props.itemSizeGetter||this.cacheSizes();for(var ue=this.getStartAndEnd(),ke=ue.start,fe=ue.end,xe=this.props,Ie=xe.length,qe=xe.pageSize,tt=0,Ge=0,at=0,Et=Ie-1;Geke)break;tt+=kt,++Ge}for(var xt=Ie-Ge;at1&&arguments[1]!==void 0?arguments[1]:{};if(ue[Z]!=null)return ue[Z];var ke=this.state,fe=ke.itemSize,xe=ke.itemsPerRow;if(fe)return ue[Z]=Math.floor(Z/xe)*fe;for(var Ie=Z;Ie>0&&ue[--Ie]==null;);for(var qe=ue[Ie]||0,tt=Ie;tt=at&&ZIe)return this.setScroll(Ie)}},{key:"getVisibleRange",value:function(){for(var Z=this.state,ue=Z.from,ke=Z.size,fe=this.getStartAndEnd(0),xe=fe.start,Ie=fe.end,qe={},tt,Ge,at=ue;atxe&&(tt=at),tt!=null&&Et1&&arguments[1]!==void 0?arguments[1]:L.props,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!z.scroll.enabled){if(Q&&z.preventSnapRefocus){const ge=(0,d.differenceInCalendarMonths)(j,L.state.focusedDate),me=z.calendarFocus==="forwards"&&ge>=0,W=z.calendarFocus==="backwards"&&ge<=0;if((me||W)&&Math.abs(ge)0&&arguments[0]!==void 0?arguments[0]:L.props;const z=j.scroll.enabled?{...j,months:L.list.getVisibleRange().length}:j,Q=(0,i.calcFocusDate)(L.state.focusedDate,z);L.focusToDate(Q,z)}),C(this,"updatePreview",j=>{if(!j){this.setState({preview:null});return}const z={startDate:j,endDate:j,color:this.props.color};this.setState({preview:z})}),C(this,"changeShownDate",function(j){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set";const{focusedDate:Q}=L.state,{onShownDateChange:le,minDate:re,maxDate:ge}=L.props,me={monthOffset:()=>(0,d.addMonths)(Q,j),setMonth:()=>(0,d.setMonth)(Q,j),setYear:()=>(0,d.setYear)(Q,j),set:()=>j},W=(0,d.min)([(0,d.max)([me[z](),re]),ge]);L.focusToDate(W,L.props,!1),le&&le(W)}),C(this,"handleRangeFocusChange",(j,z)=>{this.props.onRangeFocusChange&&this.props.onRangeFocusChange([j,z])}),C(this,"handleScroll",()=>{const{onShownDateChange:j,minDate:z}=this.props,{focusedDate:Q}=this.state,{isFirstRender:le}=this,re=this.list.getVisibleRange();if(re[0]===void 0)return;const ge=(0,d.addMonths)(z,re[0]||0);!(0,d.isSameMonth)(ge,Q)&&!le&&(this.setState({focusedDate:ge}),j&&j(ge)),this.isFirstRender=!1}),C(this,"renderMonthAndYear",(j,z,Q)=>{const{showMonthArrow:le,minDate:re,maxDate:ge,showMonthAndYearPickers:me,ariaLabels:W}=Q,G=(ge||C3.defaultProps.maxDate).getFullYear(),q=(re||C3.defaultProps.minDate).getFullYear(),ce=this.styles;return e.default.createElement("div",{onMouseUp:H=>H.stopPropagation(),className:ce.monthAndYearWrapper},le?e.default.createElement("button",{type:"button",className:(0,o.default)(ce.nextPrevButton,ce.prevButton),onClick:()=>z(-1,"monthOffset"),"aria-label":W.prevButton},e.default.createElement("i",null)):null,me?e.default.createElement("span",{className:ce.monthAndYearPickers},e.default.createElement("span",{className:ce.monthPicker},e.default.createElement("select",{value:j.getMonth(),onChange:H=>z(H.target.value,"setMonth"),"aria-label":W.monthPicker},this.state.monthNames.map((H,Y)=>e.default.createElement("option",{key:Y,value:Y},H)))),e.default.createElement("span",{className:ce.monthAndYearDivider}),e.default.createElement("span",{className:ce.yearPicker},e.default.createElement("select",{value:j.getFullYear(),onChange:H=>z(H.target.value,"setYear"),"aria-label":W.yearPicker},new Array(G-q+1).fill(G).map((H,Y)=>{const ie=H-Y;return e.default.createElement("option",{key:ie,value:ie},ie)})))):e.default.createElement("span",{className:ce.monthAndYearPickers},this.state.monthNames[j.getMonth()]," ",j.getFullYear()),le?e.default.createElement("button",{type:"button",className:(0,o.default)(ce.nextPrevButton,ce.nextButton),onClick:()=>z(1,"monthOffset"),"aria-label":W.nextButton},e.default.createElement("i",null)):null)}),C(this,"renderDateDisplay",()=>{const{focusedRange:j,color:z,ranges:Q,rangeColors:le,dateDisplayFormat:re,editableDateInputs:ge,startDatePlaceholder:me,endDatePlaceholder:W,ariaLabels:G}=this.props,q=le[j[0]]||z,ce=this.styles;return e.default.createElement("div",{className:ce.dateDisplayWrapper},Q.map((H,Y)=>H.showDateDisplay===!1||H.disabled&&!H.showDateDisplay?null:e.default.createElement("div",{className:ce.dateDisplay,key:Y,style:{color:H.color||q}},e.default.createElement(a.default,{className:(0,o.default)(ce.dateDisplayItem,{[ce.dateDisplayItemActive]:j[0]===Y&&j[1]===0}),readOnly:!ge,disabled:H.disabled,value:H.startDate,placeholder:me,dateOptions:this.dateOptions,dateDisplayFormat:re,ariaLabel:G.dateInput&&G.dateInput[H.key]&&G.dateInput[H.key].startDate,onChange:this.onDragSelectionEnd,onFocus:()=>this.handleRangeFocusChange(Y,0)}),e.default.createElement(a.default,{className:(0,o.default)(ce.dateDisplayItem,{[ce.dateDisplayItemActive]:j[0]===Y&&j[1]===1}),readOnly:!ge,disabled:H.disabled,value:H.endDate,placeholder:W,dateOptions:this.dateOptions,dateDisplayFormat:re,ariaLabel:G.dateInput&&G.dateInput[H.key]&&G.dateInput[H.key].endDate,onChange:this.onDragSelectionEnd,onFocus:()=>this.handleRangeFocusChange(Y,1)}))))}),C(this,"onDragSelectionStart",j=>{const{onChange:z,dragSelectionEnabled:Q}=this.props;Q?this.setState({drag:{status:!0,range:{startDate:j,endDate:j},disablePreview:!0}}):z&&z(j)}),C(this,"onDragSelectionEnd",j=>{const{updateRange:z,displayMode:Q,onChange:le,dragSelectionEnabled:re}=this.props;if(!re)return;if(Q==="date"||!this.state.drag.status){le&&le(j);return}const ge={startDate:this.state.drag.range.startDate,endDate:j};Q!=="dateRange"||(0,d.isSameDay)(ge.startDate,j)?this.setState({drag:{status:!1,range:{}}},()=>le&&le(j)):this.setState({drag:{status:!1,range:{}}},()=>{z&&z(ge)})}),C(this,"onDragSelectionMove",j=>{const{drag:z}=this.state;!z.status||!this.props.dragSelectionEnabled||this.setState({drag:{status:z.status,range:{startDate:z.range.startDate,endDate:j},disablePreview:!0}})}),C(this,"estimateMonthSize",(j,z)=>{const{direction:Q,minDate:le}=this.props,{scrollArea:re}=this.state;if(z&&(this.listSizeCache=z,z[j]))return z[j];if(Q==="horizontal")return re.monthWidth;const ge=(0,d.addMonths)(le,j),{start:me,end:W}=(0,i.getMonthDisplayRange)(ge,this.dateOptions);return(0,d.differenceInDays)(W,me,this.dateOptions)+1>35?re.longMonthHeight:re.monthHeight}),this.dateOptions={locale:N.locale},N.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=N.weekStartsOn),this.styles=(0,i.generateStyles)([g.default,N.classNames]),this.listSizeCache={},this.isFirstRender=!0,this.state={monthNames:this.getMonthNames(),focusedDate:(0,i.calcFocusDate)(null,N),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:this.calcScrollArea(N)}}getMonthNames(){return[...Array(12).keys()].map(N=>this.props.locale.localize.month(N))}calcScrollArea(N){const{direction:I,months:L,scroll:j}=N;if(!j.enabled)return{enabled:!1};const z=j.longMonthHeight||j.monthHeight;return I==="vertical"?{enabled:!0,monthHeight:j.monthHeight||220,longMonthHeight:z||260,calendarWidth:"auto",calendarHeight:(j.calendarHeight||z||240)*L}:{enabled:!0,monthWidth:j.monthWidth||332,calendarWidth:(j.calendarWidth||j.monthWidth||332)*L,monthHeight:z||300,calendarHeight:z||300}}componentDidMount(){this.props.scroll.enabled&&setTimeout(()=>this.focusToDate(this.state.focusedDate))}componentDidUpdate(N){const L={dateRange:"ranges",date:"date"}[this.props.displayMode];this.props[L]!==N[L]&&this.updateShownDate(this.props),(N.locale!==this.props.locale||N.weekStartsOn!==this.props.weekStartsOn)&&(this.dateOptions={locale:this.props.locale},this.props.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,u.shallowEqualObjects)(N.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}renderWeekdays(){const N=new Date;return e.default.createElement("div",{className:this.styles.weekDays},(0,d.eachDayOfInterval)({start:(0,d.startOfWeek)(N,this.dateOptions),end:(0,d.endOfWeek)(N,this.dateOptions)}).map((I,L)=>e.default.createElement("span",{className:this.styles.weekDay,key:L},(0,d.format)(I,this.props.weekdayDisplayFormat,this.dateOptions))))}render(){const{showDateDisplay:N,onPreviewChange:I,scroll:L,direction:j,disabledDates:z,disabledDay:Q,maxDate:le,minDate:re,rangeColors:ge,color:me,navigatorRenderer:W,className:G,preview:q}=this.props,{scrollArea:ce,focusedDate:H}=this.state,Y=j==="vertical",ie=W||this.renderMonthAndYear,J=this.props.ranges.map((ee,Z)=>({...ee,color:ee.color||ge[Z]||me}));return e.default.createElement("div",{className:(0,o.default)(this.styles.calendarWrapper,G),onMouseUp:()=>this.setState({drag:{status:!1,range:{}}}),onMouseLeave:()=>{this.setState({drag:{status:!1,range:{}}})}},N&&this.renderDateDisplay(),ie(H,this.changeShownDate,this.props),L.enabled?e.default.createElement("div",null,Y&&this.renderWeekdays(this.dateOptions),e.default.createElement("div",{className:(0,o.default)(this.styles.infiniteMonths,Y?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:()=>I&&I(),style:{width:ce.calendarWidth+11,height:ce.calendarHeight+11},onScroll:this.handleScroll},e.default.createElement(l.default,{length:(0,d.differenceInCalendarMonths)((0,d.endOfMonth)(le),(0,d.addDays)((0,d.startOfMonth)(re),-1),this.dateOptions),treshold:500,type:"variable",ref:ee=>this.list=ee,itemSizeEstimator:this.estimateMonthSize,axis:Y?"y":"x",itemRenderer:(ee,Z)=>{const ue=(0,d.addMonths)(re,ee);return e.default.createElement(r.default,T({},this.props,{onPreviewChange:I||this.updatePreview,preview:q||this.state.preview,ranges:J,key:Z,drag:this.state.drag,dateOptions:this.dateOptions,disabledDates:z,disabledDay:Q,month:ue,onDragSelectionStart:this.onDragSelectionStart,onDragSelectionEnd:this.onDragSelectionEnd,onDragSelectionMove:this.onDragSelectionMove,onMouseLeave:()=>I&&I(),styles:this.styles,style:Y?{height:this.estimateMonthSize(ee)}:{height:ce.monthHeight,width:this.estimateMonthSize(ee)},showMonthName:!0,showWeekDays:!Y}))}}))):e.default.createElement("div",{className:(0,o.default)(this.styles.months,Y?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map((ee,Z)=>{let ue=(0,d.addMonths)(this.state.focusedDate,Z);return this.props.calendarFocus==="backwards"&&(ue=(0,d.subMonths)(this.state.focusedDate,this.props.months-1-Z)),e.default.createElement(r.default,T({},this.props,{onPreviewChange:I||this.updatePreview,preview:q||this.state.preview,ranges:J,key:Z,drag:this.state.drag,dateOptions:this.dateOptions,disabledDates:z,disabledDay:Q,month:ue,onDragSelectionStart:this.onDragSelectionStart,onDragSelectionEnd:this.onDragSelectionEnd,onDragSelectionMove:this.onDragSelectionMove,onMouseLeave:()=>I&&I(),styles:this.styles,showWeekDays:!Y||Z===0,showMonthName:!Y||Z>0}))})))}};return A.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:()=>{},classNames:{},locale:f.enUS,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,d.addYears)(new Date,20),minDate:(0,d.addYears)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}},A.propTypes={showMonthArrow:t.default.bool,showMonthAndYearPickers:t.default.bool,disabledDates:t.default.array,disabledDay:t.default.func,minDate:t.default.object,maxDate:t.default.object,date:t.default.object,onChange:t.default.func,onPreviewChange:t.default.func,onRangeFocusChange:t.default.func,classNames:t.default.object,locale:t.default.object,shownDate:t.default.object,onShownDateChange:t.default.func,ranges:t.default.arrayOf(n.rangeShape),preview:t.default.shape({startDate:t.default.object,endDate:t.default.object,color:t.default.string}),dateDisplayFormat:t.default.string,monthDisplayFormat:t.default.string,weekdayDisplayFormat:t.default.string,weekStartsOn:t.default.number,dayDisplayFormat:t.default.string,focusedRange:t.default.arrayOf(t.default.number),initialFocusedRange:t.default.arrayOf(t.default.number),months:t.default.number,className:t.default.string,showDateDisplay:t.default.bool,showPreview:t.default.bool,displayMode:t.default.oneOf(["dateRange","date"]),color:t.default.string,updateRange:t.default.func,scroll:t.default.shape({enabled:t.default.bool,monthHeight:t.default.number,longMonthHeight:t.default.number,monthWidth:t.default.number,calendarWidth:t.default.number,calendarHeight:t.default.number}),direction:t.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:t.default.string,endDatePlaceholder:t.default.string,navigatorRenderer:t.default.func,rangeColors:t.default.arrayOf(t.default.string),editableDateInputs:t.default.bool,dragSelectionEnabled:t.default.bool,fixedHeight:t.default.bool,calendarFocus:t.default.string,preventSnapRefocus:t.default.bool,ariaLabels:y.ariaLabelsShape},A1.default=A,A1}var mG;function gae(){if(mG)return P1;mG=1,Object.defineProperty(P1,"__esModule",{value:!0}),P1.default=void 0;var e=f(Fs()),t=u(Nc()),n=u(mae()),r=H_(),a=V_(),i=Hv,o=u(ph()),l=u(G_());function u(T){return T&&T.__esModule?T:{default:T}}function d(T){if(typeof WeakMap!="function")return null;var C=new WeakMap,k=new WeakMap;return(d=function(_){return _?k:C})(T)}function f(T,C){if(T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var k=d(C);if(k&&k.has(T))return k.get(T);var _={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in T)if(P!=="default"&&Object.prototype.hasOwnProperty.call(T,P)){var N=A?Object.getOwnPropertyDescriptor(T,P):null;N&&(N.get||N.set)?Object.defineProperty(_,P,N):_[P]=T[P]}return _.default=T,k&&k.set(T,_),_}function g(){return g=Object.assign?Object.assign.bind():function(T){for(var C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const N=_.props.focusedRange||_.state.focusedRange,{ranges:I,onChange:L,maxDate:j,moveRangeOnFirstSelection:z,retainEndDateOnFirstSelection:Q,disabledDates:le}=_.props,re=N[0],ge=I[re];if(!ge||!L)return{};let{startDate:me,endDate:W}=ge;const G=new Date;let q;if(!P)me=A.startDate,W=A.endDate;else if(N[1]===0){const Y=(0,i.differenceInCalendarDays)(W||G,me),ie=()=>z?(0,i.addDays)(A,Y):Q?!W||(0,i.isBefore)(A,W)?W:A:A||G;me=A,W=ie(),j&&(W=(0,i.min)([W,j])),q=[N[0],1]}else W=A;let ce=N[1]===0;(0,i.isBefore)(W,me)&&(ce=!ce,[me,W]=[W,me]);const H=le.filter(Y=>(0,i.isWithinInterval)(Y,{start:me,end:W}));return H.length>0&&(ce?me=(0,i.addDays)((0,i.max)(H),1):W=(0,i.addDays)((0,i.min)(H),-1)),q||(q=[(0,a.findNextRangeIndex)(_.props.ranges,N[0]),0]),{wasValid:!(H.length>0),range:{startDate:me,endDate:W},nextFocusRange:q}}),y(this,"setSelection",(A,P)=>{const{onChange:N,ranges:I,onRangeFocusChange:L}=this.props,z=(this.props.focusedRange||this.state.focusedRange)[0],Q=I[z];if(!Q)return;const le=this.calcNewSelection(A,P);N({[Q.key||`range${z+1}`]:{...Q,...le.range}}),this.setState({focusedRange:le.nextFocusRange,preview:null}),L&&L(le.nextFocusRange)}),y(this,"handleRangeFocusChange",A=>{this.setState({focusedRange:A}),this.props.onRangeFocusChange&&this.props.onRangeFocusChange(A)}),y(this,"updatePreview",A=>{var j;if(!A){this.setState({preview:null});return}const{rangeColors:P,ranges:N}=this.props,I=this.props.focusedRange||this.state.focusedRange,L=((j=N[I[0]])==null?void 0:j.color)||P[I[0]]||L;this.setState({preview:{...A.range,color:L}})}),this.state={focusedRange:C.initialFocusedRange||[(0,a.findNextRangeIndex)(C.ranges),0],preview:null},this.styles=(0,a.generateStyles)([l.default,C.classNames])}render(){return e.default.createElement(n.default,g({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:C=>{this.updatePreview(C?this.calcNewSelection(C):null)}},this.props,{displayMode:"dateRange",className:(0,o.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:C=>this.setSelection(C,!1),ref:C=>{this.calendar=C}}))}};return E.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]},E.propTypes={...n.default.propTypes,onChange:t.default.func,onRangeFocusChange:t.default.func,className:t.default.string,ranges:t.default.arrayOf(r.rangeShape),moveRangeOnFirstSelection:t.default.bool,retainEndDateOnFirstSelection:t.default.bool},P1.default=E,P1}var L1={},F1={},jp={},gG;function vae(){if(gG)return jp;gG=1,Object.defineProperty(jp,"__esModule",{value:!0}),jp.createStaticRanges=r,jp.defaultStaticRanges=jp.defaultInputRanges=void 0;var e=Hv;const t={startOfWeek:(0,e.startOfWeek)(new Date),endOfWeek:(0,e.endOfWeek)(new Date),startOfLastWeek:(0,e.startOfWeek)((0,e.addDays)(new Date,-7)),endOfLastWeek:(0,e.endOfWeek)((0,e.addDays)(new Date,-7)),startOfToday:(0,e.startOfDay)(new Date),endOfToday:(0,e.endOfDay)(new Date),startOfYesterday:(0,e.startOfDay)((0,e.addDays)(new Date,-1)),endOfYesterday:(0,e.endOfDay)((0,e.addDays)(new Date,-1)),startOfMonth:(0,e.startOfMonth)(new Date),endOfMonth:(0,e.endOfMonth)(new Date),startOfLastMonth:(0,e.startOfMonth)((0,e.addMonths)(new Date,-1)),endOfLastMonth:(0,e.endOfMonth)((0,e.addMonths)(new Date,-1))},n={range:{},isSelected(a){const i=this.range();return(0,e.isSameDay)(a.startDate,i.startDate)&&(0,e.isSameDay)(a.endDate,i.endDate)}};function r(a){return a.map(i=>({...n,...i}))}return jp.defaultStaticRanges=r([{label:"Today",range:()=>({startDate:t.startOfToday,endDate:t.endOfToday})},{label:"Yesterday",range:()=>({startDate:t.startOfYesterday,endDate:t.endOfYesterday})},{label:"This Week",range:()=>({startDate:t.startOfWeek,endDate:t.endOfWeek})},{label:"Last Week",range:()=>({startDate:t.startOfLastWeek,endDate:t.endOfLastWeek})},{label:"This Month",range:()=>({startDate:t.startOfMonth,endDate:t.endOfMonth})},{label:"Last Month",range:()=>({startDate:t.startOfLastMonth,endDate:t.endOfLastMonth})}]),jp.defaultInputRanges=[{label:"days up to today",range(a){return{startDate:(0,e.addDays)(t.startOfToday,(Math.max(Number(a),1)-1)*-1),endDate:t.endOfToday}},getCurrentValue(a){return(0,e.isSameDay)(a.endDate,t.endOfToday)?a.startDate?(0,e.differenceInCalendarDays)(t.endOfToday,a.startDate)+1:"∞":"-"}},{label:"days starting today",range(a){const i=new Date;return{startDate:i,endDate:(0,e.addDays)(i,Math.max(Number(a),1)-1)}},getCurrentValue(a){return(0,e.isSameDay)(a.startDate,t.startOfToday)?a.endDate?(0,e.differenceInCalendarDays)(a.endDate,t.startOfToday)+1:"∞":"-"}}],jp}var j1={},vG;function s9e(){if(vG)return j1;vG=1,Object.defineProperty(j1,"__esModule",{value:!0}),j1.default=void 0;var e=a(Fs()),t=n(Nc());function n(g){return g&&g.__esModule?g:{default:g}}function r(g){if(typeof WeakMap!="function")return null;var y=new WeakMap,h=new WeakMap;return(r=function(v){return v?h:y})(g)}function a(g,y){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var h=r(y);if(h&&h.has(g))return h.get(g);var v={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in g)if(T!=="default"&&Object.prototype.hasOwnProperty.call(g,T)){var C=E?Object.getOwnPropertyDescriptor(g,T):null;C&&(C.get||C.set)?Object.defineProperty(v,T,C):v[T]=g[T]}return v.default=g,h&&h.set(g,v),v}function i(g,y,h){return y=o(y),y in g?Object.defineProperty(g,y,{value:h,enumerable:!0,configurable:!0,writable:!0}):g[y]=h,g}function o(g){var y=l(g,"string");return typeof y=="symbol"?y:String(y)}function l(g,y){if(typeof g!="object"||!g)return g;var h=g[Symbol.toPrimitive];if(h!==void 0){var v=h.call(g,y);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(g)}const u=0,d=99999;let f=class extends e.Component{constructor(y,h){super(y,h),i(this,"onChange",v=>{const{onChange:E}=this.props;let T=parseInt(v.target.value,10);T=isNaN(T)?0:Math.max(Math.min(d,T),u),E(T)})}shouldComponentUpdate(y){const{value:h,label:v,placeholder:E}=this.props;return h!==y.value||v!==y.label||E!==y.placeholder}render(){const{label:y,placeholder:h,value:v,styles:E,onBlur:T,onFocus:C}=this.props;return e.default.createElement("div",{className:E.inputRange},e.default.createElement("input",{className:E.inputRangeInput,placeholder:h,value:v,min:u,max:d,onChange:this.onChange,onFocus:C,onBlur:T}),e.default.createElement("span",{className:E.inputRangeLabel},y))}};return f.propTypes={value:t.default.oneOfType([t.default.string,t.default.number]),label:t.default.oneOfType([t.default.element,t.default.node]).isRequired,placeholder:t.default.string,styles:t.default.shape({inputRange:t.default.string,inputRangeInput:t.default.string,inputRangeLabel:t.default.string}).isRequired,onBlur:t.default.func.isRequired,onFocus:t.default.func.isRequired,onChange:t.default.func.isRequired},f.defaultProps={value:"",placeholder:"-"},j1.default=f,j1}var yG;function yae(){if(yG)return F1;yG=1,Object.defineProperty(F1,"__esModule",{value:!0}),F1.default=void 0;var e=d(Fs()),t=l(Nc()),n=l(G_()),r=vae(),a=H_(),i=l(s9e()),o=l(ph());function l(v){return v&&v.__esModule?v:{default:v}}function u(v){if(typeof WeakMap!="function")return null;var E=new WeakMap,T=new WeakMap;return(u=function(C){return C?T:E})(v)}function d(v,E){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var T=u(E);if(T&&T.has(v))return T.get(v);var C={__proto__:null},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in v)if(_!=="default"&&Object.prototype.hasOwnProperty.call(v,_)){var A=k?Object.getOwnPropertyDescriptor(v,_):null;A&&(A.get||A.set)?Object.defineProperty(C,_,A):C[_]=v[_]}return C.default=v,T&&T.set(v,C),C}function f(v,E,T){return E=g(E),E in v?Object.defineProperty(v,E,{value:T,enumerable:!0,configurable:!0,writable:!0}):v[E]=T,v}function g(v){var E=y(v,"string");return typeof E=="symbol"?E:String(E)}function y(v,E){if(typeof v!="object"||!v)return v;var T=v[Symbol.toPrimitive];if(T!==void 0){var C=T.call(v,E);if(typeof C!="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(v)}let h=class extends e.Component{constructor(E){super(E),f(this,"handleRangeChange",T=>{const{onChange:C,ranges:k,focusedRange:_}=this.props,A=k[_[0]];!C||!A||C({[A.key||`range${_[0]+1}`]:{...A,...T}})}),this.state={rangeOffset:0,focusedInput:-1}}getRangeOptionValue(E){const{ranges:T=[],focusedRange:C=[]}=this.props;if(typeof E.getCurrentValue!="function")return"";const k=T[C[0]]||{};return E.getCurrentValue(k)||""}getSelectedRange(E,T){const C=E.findIndex(_=>!_.startDate||!_.endDate||_.disabled?!1:T.isSelected(_));return{selectedRange:E[C],focusedRangeIndex:C}}render(){const{headerContent:E,footerContent:T,onPreviewChange:C,inputRanges:k,staticRanges:_,ranges:A,renderStaticRangeLabel:P,rangeColors:N,className:I}=this.props;return e.default.createElement("div",{className:(0,o.default)(n.default.definedRangesWrapper,I)},E,e.default.createElement("div",{className:n.default.staticRanges},_.map((L,j)=>{const{selectedRange:z,focusedRangeIndex:Q}=this.getSelectedRange(A,L);let le;return L.hasCustomRendering?le=P(L):le=L.label,e.default.createElement("button",{type:"button",className:(0,o.default)(n.default.staticRange,{[n.default.staticRangeSelected]:!!z}),style:{color:z?z.color||N[Q]:null},key:j,onClick:()=>this.handleRangeChange(L.range(this.props)),onFocus:()=>C&&C(L.range(this.props)),onMouseOver:()=>C&&C(L.range(this.props)),onMouseLeave:()=>{C&&C()}},e.default.createElement("span",{tabIndex:-1,className:n.default.staticRangeLabel},le))})),e.default.createElement("div",{className:n.default.inputRanges},k.map((L,j)=>e.default.createElement(i.default,{key:j,styles:n.default,label:L.label,onFocus:()=>this.setState({focusedInput:j,rangeOffset:0}),onBlur:()=>this.setState({rangeOffset:0}),onChange:z=>this.handleRangeChange(L.range(z,this.props)),value:this.getRangeOptionValue(L)}))),T)}};return h.propTypes={inputRanges:t.default.array,staticRanges:t.default.array,ranges:t.default.arrayOf(a.rangeShape),focusedRange:t.default.arrayOf(t.default.number),onPreviewChange:t.default.func,onChange:t.default.func,footerContent:t.default.any,headerContent:t.default.any,rangeColors:t.default.arrayOf(t.default.string),className:t.default.string,renderStaticRangeLabel:t.default.func},h.defaultProps={inputRanges:r.defaultInputRanges,staticRanges:r.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]},F1.default=h,F1}var bG;function l9e(){if(bG)return L1;bG=1,Object.defineProperty(L1,"__esModule",{value:!0}),L1.default=void 0;var e=d(Fs()),t=l(Nc()),n=l(gae()),r=l(yae()),a=V_(),i=l(ph()),o=l(G_());function l(y){return y&&y.__esModule?y:{default:y}}function u(y){if(typeof WeakMap!="function")return null;var h=new WeakMap,v=new WeakMap;return(u=function(E){return E?v:h})(y)}function d(y,h){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var v=u(h);if(v&&v.has(y))return v.get(y);var E={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in y)if(C!=="default"&&Object.prototype.hasOwnProperty.call(y,C)){var k=T?Object.getOwnPropertyDescriptor(y,C):null;k&&(k.get||k.set)?Object.defineProperty(E,C,k):E[C]=y[C]}return E.default=y,v&&v.set(y,E),E}function f(){return f=Object.assign?Object.assign.bind():function(y){for(var h=1;hthis.dateRange.updatePreview(v?this.dateRange.calcNewSelection(v,typeof v=="string"):null)},this.props,{range:this.props.ranges[h[0]],className:void 0})),e.default.createElement(n.default,f({onRangeFocusChange:v=>this.setState({focusedRange:v}),focusedRange:h},this.props,{ref:v=>this.dateRange=v,className:void 0})))}};return g.defaultProps={},g.propTypes={...n.default.propTypes,...r.default.propTypes,className:t.default.string},L1.default=g,L1}var wG;function u9e(){return wG||(wG=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"DateRange",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"DateRangePicker",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DefinedRange",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStaticRanges",{enumerable:!0,get:function(){return i.createStaticRanges}}),Object.defineProperty(e,"defaultInputRanges",{enumerable:!0,get:function(){return i.defaultInputRanges}}),Object.defineProperty(e,"defaultStaticRanges",{enumerable:!0,get:function(){return i.defaultStaticRanges}});var t=o(gae()),n=o(mae()),r=o(l9e()),a=o(yae()),i=vae();function o(l){return l&&l.__esModule?l:{default:l}}})(g$)),g$}var c9e=u9e(),b$={},d9e={lessThanXSeconds:{one:"minder as 'n sekonde",other:"minder as {{count}} sekondes"},xSeconds:{one:"1 sekonde",other:"{{count}} sekondes"},halfAMinute:"'n halwe minuut",lessThanXMinutes:{one:"minder as 'n minuut",other:"minder as {{count}} minute"},xMinutes:{one:"'n minuut",other:"{{count}} minute"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} ure"},xHours:{one:"1 uur",other:"{{count}} ure"},xDays:{one:"1 dag",other:"{{count}} dae"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weke"},xWeeks:{one:"1 week",other:"{{count}} weke"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maande"},xMonths:{one:"1 maand",other:"{{count}} maande"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer as 1 jaar",other:"meer as {{count}} jaar"},almostXYears:{one:"byna 1 jaar",other:"byna {{count}} jaar"}},f9e=function(t,n,r){var a,i=d9e[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"oor "+a:a+" gelede":a},p9e={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},h9e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},m9e={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g9e={date:Ne({formats:p9e,defaultWidth:"full"}),time:Ne({formats:h9e,defaultWidth:"full"}),dateTime:Ne({formats:m9e,defaultWidth:"full"})},v9e={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"},y9e=function(t,n,r,a){return v9e[t]},b9e={narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},w9e={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},S9e={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","Des"],wide:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},E9e={narrow:["S","M","D","W","D","V","S"],short:["So","Ma","Di","Wo","Do","Vr","Sa"],abbreviated:["Son","Maa","Din","Woe","Don","Vry","Sat"],wide:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},T9e={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"}},C9e={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"}},k9e=function(t){var n=Number(t),r=n%100;if(r<20)switch(r){case 1:case 8:return n+"ste";default:return n+"de"}return n+"ste"},x9e={ordinalNumber:k9e,era:oe({values:b9e,defaultWidth:"wide"}),quarter:oe({values:w9e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:S9e,defaultWidth:"wide"}),day:oe({values:E9e,defaultWidth:"wide"}),dayPeriod:oe({values:T9e,defaultWidth:"wide",formattingValues:C9e,defaultFormattingWidth:"wide"})},_9e=/^(\d+)(ste|de)?/i,O9e=/\d+/i,R9e={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},P9e={any:[/^v/,/^n/]},A9e={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},N9e={any:[/1/i,/2/i,/3/i,/4/i]},M9e={narrow:/^[jfmasond]/i,abbreviated:/^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i,wide:/^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i},I9e={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,/^Mrt/i,/^Apr/i,/^Mei/i,/^Jun/i,/^Jul/i,/^Aug/i,/^Sep/i,/^Okt/i,/^Nov/i,/^Dec/i]},D9e={narrow:/^[smdwv]/i,short:/^(So|Ma|Di|Wo|Do|Vr|Sa)/i,abbreviated:/^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,wide:/^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i},$9e={narrow:[/^S/i,/^M/i,/^D/i,/^W/i,/^D/i,/^V/i,/^S/i],any:[/^So/i,/^Ma/i,/^Di/i,/^Wo/i,/^Do/i,/^Vr/i,/^Sa/i]},L9e={any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},F9e={any:{am:/^vm/i,pm:/^nm/i,midnight:/^middernag/i,noon:/^middaguur/i,morning:/oggend/i,afternoon:/middag/i,evening:/laat middag/i,night:/aand/i}},j9e={ordinalNumber:Xt({matchPattern:_9e,parsePattern:O9e,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:R9e,defaultMatchWidth:"wide",parsePatterns:P9e,defaultParseWidth:"any"}),quarter:se({matchPatterns:A9e,defaultMatchWidth:"wide",parsePatterns:N9e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:M9e,defaultMatchWidth:"wide",parsePatterns:I9e,defaultParseWidth:"any"}),day:se({matchPatterns:D9e,defaultMatchWidth:"wide",parsePatterns:$9e,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:L9e,defaultMatchWidth:"any",parsePatterns:F9e,defaultParseWidth:"any"})},U9e={code:"af",formatDistance:f9e,formatLong:g9e,formatRelative:y9e,localize:x9e,match:j9e,options:{weekStartsOn:0,firstWeekContainsDate:1}};const B9e=Object.freeze(Object.defineProperty({__proto__:null,default:U9e},Symbol.toStringTag,{value:"Module"})),W9e=jt(B9e);var z9e={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},q9e=function(t,n,r){r=r||{};var a=z9e[t],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)),r.addSuffix?r.comparison&&r.comparison>0?"في خلال "+i:"منذ "+i:i},H9e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},V9e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G9e={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Y9e={date:Ne({formats:H9e,defaultWidth:"full"}),time:Ne({formats:V9e,defaultWidth:"full"}),dateTime:Ne({formats:G9e,defaultWidth:"full"})},K9e={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},X9e=function(t,n,r,a){return K9e[t]},Q9e={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},J9e={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Z9e={narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},eHe={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},tHe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},nHe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},rHe=function(t){return String(t)},aHe={ordinalNumber:rHe,era:oe({values:Q9e,defaultWidth:"wide"}),quarter:oe({values:J9e,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:Z9e,defaultWidth:"wide"}),day:oe({values:eHe,defaultWidth:"wide"}),dayPeriod:oe({values:tHe,defaultWidth:"wide",formattingValues:nHe,defaultFormattingWidth:"wide"})},iHe=/^(\d+)(th|st|nd|rd)?/i,oHe=/\d+/i,sHe={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},lHe={any:[/^قبل/i,/^بعد/i]},uHe={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},cHe={any:[/1/i,/2/i,/3/i,/4/i]},dHe={narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},fHe={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]},pHe={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},hHe={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},mHe={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},gHe={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}},vHe={ordinalNumber:Xt({matchPattern:iHe,parsePattern:oHe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:sHe,defaultMatchWidth:"wide",parsePatterns:lHe,defaultParseWidth:"any"}),quarter:se({matchPatterns:uHe,defaultMatchWidth:"wide",parsePatterns:cHe,defaultParseWidth:"any",valueCallback:function(t){return Number(t)+1}}),month:se({matchPatterns:dHe,defaultMatchWidth:"wide",parsePatterns:fHe,defaultParseWidth:"any"}),day:se({matchPatterns:pHe,defaultMatchWidth:"wide",parsePatterns:hHe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:mHe,defaultMatchWidth:"any",parsePatterns:gHe,defaultParseWidth:"any"})},yHe={code:"ar-DZ",formatDistance:q9e,formatLong:Y9e,formatRelative:X9e,localize:aHe,match:vHe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const bHe=Object.freeze(Object.defineProperty({__proto__:null,default:yHe},Symbol.toStringTag,{value:"Module"})),wHe=jt(bHe);var SHe={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},EHe=function(t,n,r){var a,i=SHe[t];return typeof i=="string"?a=i:n===1?a=i.one:n===2?a=i.two:n<=10?a=i.threeToTen.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"في خلال "+a:"منذ "+a:a},THe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},CHe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},kHe={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xHe={date:Ne({formats:THe,defaultWidth:"full"}),time:Ne({formats:CHe,defaultWidth:"full"}),dateTime:Ne({formats:kHe,defaultWidth:"full"})},_He={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},OHe=function(t,n,r,a){return _He[t]},RHe={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},PHe={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},AHe={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},NHe={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},MHe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},IHe={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},DHe=function(t){return String(t)},$He={ordinalNumber:DHe,era:oe({values:RHe,defaultWidth:"wide"}),quarter:oe({values:PHe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:AHe,defaultWidth:"wide"}),day:oe({values:NHe,defaultWidth:"wide"}),dayPeriod:oe({values:MHe,defaultWidth:"wide",formattingValues:IHe,defaultFormattingWidth:"wide"})},LHe=/^(\d+)(th|st|nd|rd)?/i,FHe=/\d+/i,jHe={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},UHe={any:[/^قبل/i,/^بعد/i]},BHe={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},WHe={any:[/1/i,/2/i,/3/i,/4/i]},zHe={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},qHe={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]},HHe={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},VHe={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},GHe={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},YHe={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}},KHe={ordinalNumber:Xt({matchPattern:LHe,parsePattern:FHe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:jHe,defaultMatchWidth:"wide",parsePatterns:UHe,defaultParseWidth:"any"}),quarter:se({matchPatterns:BHe,defaultMatchWidth:"wide",parsePatterns:WHe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:zHe,defaultMatchWidth:"wide",parsePatterns:qHe,defaultParseWidth:"any"}),day:se({matchPatterns:HHe,defaultMatchWidth:"wide",parsePatterns:VHe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:GHe,defaultMatchWidth:"any",parsePatterns:YHe,defaultParseWidth:"any"})},XHe={code:"ar-SA",formatDistance:EHe,formatLong:xHe,formatRelative:OHe,localize:$He,match:KHe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const QHe=Object.freeze(Object.defineProperty({__proto__:null,default:XHe},Symbol.toStringTag,{value:"Module"})),JHe=jt(QHe);function U1(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function Oo(e){return function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?U1(e.future,t):"праз "+U1(e.regular,t):e.past?U1(e.past,t):U1(e.regular,t)+" таму":U1(e.regular,t)}}var ZHe=function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны"},e7e={lessThanXSeconds:Oo({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:Oo({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:ZHe,lessThanXMinutes:Oo({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:Oo({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:Oo({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:Oo({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:Oo({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:Oo({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xWeeks:Oo({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXMonths:Oo({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:Oo({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:Oo({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:Oo({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:Oo({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:Oo({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},t7e=function(t,n,r){return r=r||{},e7e[t](n,r)},n7e={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},r7e={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},a7e={any:"{{date}}, {{time}}"},i7e={date:Ne({formats:n7e,defaultWidth:"full"}),time:Ne({formats:r7e,defaultWidth:"full"}),dateTime:Ne({formats:a7e,defaultWidth:"any"})};function wi(e,t,n){he(2,arguments);var r=Yd(e,n),a=Yd(t,n);return r.getTime()===a.getTime()}var c4=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function o7e(e){var t=c4[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+t+" а' p";case 1:case 2:case 4:return"'у мінулы "+t+" а' p"}}function bae(e){var t=c4[e];return"'у "+t+" а' p"}function s7e(e){var t=c4[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+t+" а' p";case 1:case 2:case 4:return"'у наступны "+t+" а' p"}}var l7e=function(t,n,r){var a=Re(t),i=a.getUTCDay();return wi(a,n,r)?bae(i):o7e(i)},u7e=function(t,n,r){var a=Re(t),i=a.getUTCDay();return wi(a,n,r)?bae(i):s7e(i)},c7e={lastWeek:l7e,yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:u7e,other:"P"},d7e=function(t,n,r,a){var i=c7e[t];return typeof i=="function"?i(n,r,a):i},f7e={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},p7e={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},h7e={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},m7e={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},g7e={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},v7e={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},y7e={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},b7e=function(t,n){var r=String(n==null?void 0:n.unit),a=Number(t),i;return r==="date"?i="-га":r==="hour"||r==="minute"||r==="second"?i="-я":i=(a%10===2||a%10===3)&&a%100!==12&&a%100!==13?"-і":"-ы",a+i},w7e={ordinalNumber:b7e,era:oe({values:f7e,defaultWidth:"wide"}),quarter:oe({values:p7e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:h7e,defaultWidth:"wide",formattingValues:m7e,defaultFormattingWidth:"wide"}),day:oe({values:g7e,defaultWidth:"wide"}),dayPeriod:oe({values:v7e,defaultWidth:"any",formattingValues:y7e,defaultFormattingWidth:"wide"})},S7e=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,E7e=/\d+/i,T7e={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},C7e={any:[/^д/i,/^н/i]},k7e={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},x7e={any:[/1/i,/2/i,/3/i,/4/i]},_7e={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},O7e={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]},R7e={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},P7e={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},A7e={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},N7e={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},M7e={ordinalNumber:Xt({matchPattern:S7e,parsePattern:E7e,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:T7e,defaultMatchWidth:"wide",parsePatterns:C7e,defaultParseWidth:"any"}),quarter:se({matchPatterns:k7e,defaultMatchWidth:"wide",parsePatterns:x7e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:_7e,defaultMatchWidth:"wide",parsePatterns:O7e,defaultParseWidth:"any"}),day:se({matchPatterns:R7e,defaultMatchWidth:"wide",parsePatterns:P7e,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:A7e,defaultMatchWidth:"wide",parsePatterns:N7e,defaultParseWidth:"any"})},I7e={code:"be",formatDistance:t7e,formatLong:i7e,formatRelative:d7e,localize:w7e,match:M7e,options:{weekStartsOn:1,firstWeekContainsDate:1}};const D7e=Object.freeze(Object.defineProperty({__proto__:null,default:I7e},Symbol.toStringTag,{value:"Module"})),$7e=jt(D7e);var L7e={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXWeeks:{one:"около седмица",other:"около {{count}} седмици"},xWeeks:{one:"1 седмица",other:"{{count}} седмици"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}},F7e=function(t,n,r){var a,i=L7e[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"след "+a:"преди "+a:a},j7e={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},U7e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},B7e={any:"{{date}} {{time}}"},W7e={date:Ne({formats:j7e,defaultWidth:"full"}),time:Ne({formats:U7e,defaultWidth:"full"}),dateTime:Ne({formats:B7e,defaultWidth:"any"})},d4=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function z7e(e){var t=d4[e];switch(e){case 0:case 3:case 6:return"'миналата "+t+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+t+" в' p"}}function wae(e){var t=d4[e];return e===2?"'във "+t+" в' p":"'в "+t+" в' p"}function q7e(e){var t=d4[e];switch(e){case 0:case 3:case 6:return"'следващата "+t+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+t+" в' p"}}var H7e=function(t,n,r){var a=Re(t),i=a.getUTCDay();return wi(a,n,r)?wae(i):z7e(i)},V7e=function(t,n,r){var a=Re(t),i=a.getUTCDay();return wi(a,n,r)?wae(i):q7e(i)},G7e={lastWeek:H7e,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:V7e,other:"P"},Y7e=function(t,n,r,a){var i=G7e[t];return typeof i=="function"?i(n,r,a):i},K7e={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},X7e={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},Q7e={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},J7e={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},Z7e={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function eVe(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function tVe(e){return e==="quarter"}function Yg(e,t,n,r,a){var i=tVe(t)?a:eVe(t)?r:n;return e+"-"+i}var nVe=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(r===0)return Yg(0,a,"ев","ева","ево");if(r%1e3===0)return Yg(r,a,"ен","на","но");if(r%100===0)return Yg(r,a,"тен","тна","тно");var i=r%100;if(i>20||i<10)switch(i%10){case 1:return Yg(r,a,"ви","ва","во");case 2:return Yg(r,a,"ри","ра","ро");case 7:case 8:return Yg(r,a,"ми","ма","мо")}return Yg(r,a,"ти","та","то")},rVe={ordinalNumber:nVe,era:oe({values:K7e,defaultWidth:"wide"}),quarter:oe({values:X7e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Q7e,defaultWidth:"wide"}),day:oe({values:J7e,defaultWidth:"wide"}),dayPeriod:oe({values:Z7e,defaultWidth:"wide"})},aVe=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,iVe=/\d+/i,oVe={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},sVe={any:[/^п/i,/^н/i]},lVe={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},uVe={any:[/1/i,/2/i,/3/i,/4/i]},cVe={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},dVe={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},fVe={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},pVe={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},hVe={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},mVe={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},gVe={ordinalNumber:Xt({matchPattern:aVe,parsePattern:iVe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:oVe,defaultMatchWidth:"wide",parsePatterns:sVe,defaultParseWidth:"any"}),quarter:se({matchPatterns:lVe,defaultMatchWidth:"wide",parsePatterns:uVe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:fVe,defaultMatchWidth:"wide",parsePatterns:pVe,defaultParseWidth:"any"}),day:se({matchPatterns:cVe,defaultMatchWidth:"wide",parsePatterns:dVe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:hVe,defaultMatchWidth:"any",parsePatterns:mVe,defaultParseWidth:"any"})},vVe={code:"bg",formatDistance:F7e,formatLong:W7e,formatRelative:Y7e,localize:rVe,match:gVe,options:{weekStartsOn:1,firstWeekContainsDate:1}};const yVe=Object.freeze(Object.defineProperty({__proto__:null,default:vVe},Symbol.toStringTag,{value:"Module"})),bVe=jt(yVe);var wVe={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}},SVe={narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},EVe={narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},TVe={narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},CVe={narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},kVe={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},xVe={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}};function _Ve(e,t){if(e>18&&e<=31)return t+"শে";switch(e){case 1:return t+"লা";case 2:case 3:return t+"রা";case 4:return t+"ঠা";default:return t+"ই"}}var OVe=function(t,n){var r=Number(t),a=Sae(r),i=n==null?void 0:n.unit;if(i==="date")return _Ve(r,a);if(r>10||r===0)return a+"তম";var o=r%10;switch(o){case 2:case 3:return a+"য়";case 4:return a+"র্থ";case 6:return a+"ষ্ঠ";default:return a+"ম"}};function Sae(e){return e.toString().replace(/\d/g,function(t){return wVe.locale[t]})}var RVe={ordinalNumber:OVe,era:oe({values:SVe,defaultWidth:"wide"}),quarter:oe({values:EVe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:TVe,defaultWidth:"wide"}),day:oe({values:CVe,defaultWidth:"wide"}),dayPeriod:oe({values:kVe,defaultWidth:"wide",formattingValues:xVe,defaultFormattingWidth:"wide"})},PVe={lessThanXSeconds:{one:"প্রায় ১ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"১ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় ১ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"১ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় ১ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"১ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"১ দিন",other:"{{count}} দিন"},aboutXWeeks:{one:"প্রায় ১ সপ্তাহ",other:"প্রায় {{count}} সপ্তাহ"},xWeeks:{one:"১ সপ্তাহ",other:"{{count}} সপ্তাহ"},aboutXMonths:{one:"প্রায় ১ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"১ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"১ বছর",other:"{{count}} বছর"},overXYears:{one:"১ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"}},AVe=function(t,n,r){var a,i=PVe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",Sae(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" এর মধ্যে":a+" আগে":a},NVe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},MVe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},IVe={full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},DVe={date:Ne({formats:NVe,defaultWidth:"full"}),time:Ne({formats:MVe,defaultWidth:"full"}),dateTime:Ne({formats:IVe,defaultWidth:"full"})},$Ve={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},LVe=function(t,n,r,a){return $Ve[t]},FVe=/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,jVe=/\d+/i,UVe={narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},BVe={narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},WVe={narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},zVe={any:[/১/i,/২/i,/৩/i,/৪/i]},qVe={narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},HVe={any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},VVe={narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},GVe={narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},YVe={narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},KVe={any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},XVe={ordinalNumber:Xt({matchPattern:FVe,parsePattern:jVe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:UVe,defaultMatchWidth:"wide",parsePatterns:BVe,defaultParseWidth:"wide"}),quarter:se({matchPatterns:WVe,defaultMatchWidth:"wide",parsePatterns:zVe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:qVe,defaultMatchWidth:"wide",parsePatterns:HVe,defaultParseWidth:"any"}),day:se({matchPatterns:VVe,defaultMatchWidth:"wide",parsePatterns:GVe,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:YVe,defaultMatchWidth:"wide",parsePatterns:KVe,defaultParseWidth:"any"})},QVe={code:"bn",formatDistance:AVe,formatLong:DVe,formatRelative:LVe,localize:RVe,match:XVe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const JVe=Object.freeze(Object.defineProperty({__proto__:null,default:QVe},Symbol.toStringTag,{value:"Module"})),ZVe=jt(JVe);var eGe={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},tGe=function(t,n,r){var a,i=eGe[t];return typeof i=="string"?a=i:n===1?a=i.one:n===11&&i.eleven?a=i.eleven:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"fa "+a:a},nGe={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},rGe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},aGe={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iGe={date:Ne({formats:nGe,defaultWidth:"full"}),time:Ne({formats:rGe,defaultWidth:"full"}),dateTime:Ne({formats:aGe,defaultWidth:"full"})},oGe={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},sGe={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"},lGe=function(t,n,r,a){return n.getUTCHours()!==1?sGe[t]:oGe[t]},uGe={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},cGe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},dGe={narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},fGe={narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},pGe={narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},hGe={narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},mGe=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"r";case 2:return r+"n";case 3:return r+"r";case 4:return r+"t"}return r+"è"},gGe={ordinalNumber:mGe,era:oe({values:uGe,defaultWidth:"wide"}),quarter:oe({values:cGe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:dGe,defaultWidth:"wide"}),day:oe({values:fGe,defaultWidth:"wide"}),dayPeriod:oe({values:pGe,defaultWidth:"wide",formattingValues:hGe,defaultFormattingWidth:"wide"})},vGe=/^(\d+)(è|r|n|r|t)?/i,yGe=/\d+/i,bGe={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},wGe={narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},SGe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},EGe={any:[/1/i,/2/i,/3/i,/4/i]},TGe={narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},CGe={narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},kGe={narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},xGe={narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},_Ge={narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},OGe={any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},RGe={ordinalNumber:Xt({matchPattern:vGe,parsePattern:yGe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:bGe,defaultMatchWidth:"wide",parsePatterns:wGe,defaultParseWidth:"wide"}),quarter:se({matchPatterns:SGe,defaultMatchWidth:"wide",parsePatterns:EGe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:TGe,defaultMatchWidth:"wide",parsePatterns:CGe,defaultParseWidth:"wide"}),day:se({matchPatterns:kGe,defaultMatchWidth:"wide",parsePatterns:xGe,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:_Ge,defaultMatchWidth:"wide",parsePatterns:OGe,defaultParseWidth:"any"})},PGe={code:"ca",formatDistance:tGe,formatLong:iGe,formatRelative:lGe,localize:gGe,match:RGe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const AGe=Object.freeze(Object.defineProperty({__proto__:null,default:PGe},Symbol.toStringTag,{value:"Module"})),NGe=jt(AGe);var MGe={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},IGe=function(t,n,r){var a,i=MGe[t];i.type==="other"?a=i.other:n===1?a=i.one:n>1&&n<5?a=i.few:a=i.many;var o=(r==null?void 0:r.addSuffix)===!0,l=r==null?void 0:r.comparison,u;return o&&l===-1?u=a.past:o&&l===1?u=a.future:u=a.regular,u.replace("{{count}}",String(n))},DGe={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},$Ge={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},LGe={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},FGe={date:Ne({formats:DGe,defaultWidth:"full"}),time:Ne({formats:$Ge,defaultWidth:"full"}),dateTime:Ne({formats:LGe,defaultWidth:"full"})},jGe=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],UGe={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(t){var n=t.getUTCDay();return"'v "+jGe[n]+" o' p"},other:"P"},BGe=function(t,n){var r=UGe[t];return typeof r=="function"?r(n):r},WGe={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},zGe={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},qGe={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},HGe={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},VGe={narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},GGe={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},YGe={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},KGe=function(t,n){var r=Number(t);return r+"."},XGe={ordinalNumber:KGe,era:oe({values:WGe,defaultWidth:"wide"}),quarter:oe({values:zGe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:qGe,defaultWidth:"wide",formattingValues:HGe,defaultFormattingWidth:"wide"}),day:oe({values:VGe,defaultWidth:"wide"}),dayPeriod:oe({values:GGe,defaultWidth:"wide",formattingValues:YGe,defaultFormattingWidth:"wide"})},QGe=/^(\d+)\.?/i,JGe=/\d+/i,ZGe={narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},eYe={any:[/^p[řr]/i,/^(po|n)/i]},tYe={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},nYe={any:[/1/i,/2/i,/3/i,/4/i]},rYe={narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},aYe={narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},iYe={narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},oYe={narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},sYe={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},lYe={any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},uYe={ordinalNumber:Xt({matchPattern:QGe,parsePattern:JGe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:ZGe,defaultMatchWidth:"wide",parsePatterns:eYe,defaultParseWidth:"any"}),quarter:se({matchPatterns:tYe,defaultMatchWidth:"wide",parsePatterns:nYe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:rYe,defaultMatchWidth:"wide",parsePatterns:aYe,defaultParseWidth:"any"}),day:se({matchPatterns:iYe,defaultMatchWidth:"wide",parsePatterns:oYe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:sYe,defaultMatchWidth:"any",parsePatterns:lYe,defaultParseWidth:"any"})},cYe={code:"cs",formatDistance:IGe,formatLong:FGe,formatRelative:BGe,localize:XGe,match:uYe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const dYe=Object.freeze(Object.defineProperty({__proto__:null,default:cYe},Symbol.toStringTag,{value:"Module"})),fYe=jt(dYe);var pYe={lessThanXSeconds:{one:"llai na eiliad",other:"llai na {{count}} eiliad"},xSeconds:{one:"1 eiliad",other:"{{count}} eiliad"},halfAMinute:"hanner munud",lessThanXMinutes:{one:"llai na munud",two:"llai na 2 funud",other:"llai na {{count}} munud"},xMinutes:{one:"1 munud",two:"2 funud",other:"{{count}} munud"},aboutXHours:{one:"tua 1 awr",other:"tua {{count}} awr"},xHours:{one:"1 awr",other:"{{count}} awr"},xDays:{one:"1 diwrnod",two:"2 ddiwrnod",other:"{{count}} diwrnod"},aboutXWeeks:{one:"tua 1 wythnos",two:"tua pythefnos",other:"tua {{count}} wythnos"},xWeeks:{one:"1 wythnos",two:"pythefnos",other:"{{count}} wythnos"},aboutXMonths:{one:"tua 1 mis",two:"tua 2 fis",other:"tua {{count}} mis"},xMonths:{one:"1 mis",two:"2 fis",other:"{{count}} mis"},aboutXYears:{one:"tua 1 flwyddyn",two:"tua 2 flynedd",other:"tua {{count}} mlynedd"},xYears:{one:"1 flwyddyn",two:"2 flynedd",other:"{{count}} mlynedd"},overXYears:{one:"dros 1 flwyddyn",two:"dros 2 flynedd",other:"dros {{count}} mlynedd"},almostXYears:{one:"bron 1 flwyddyn",two:"bron 2 flynedd",other:"bron {{count}} mlynedd"}},hYe=function(t,n,r){var a,i=pYe[t];return typeof i=="string"?a=i:n===1?a=i.one:n===2&&i.two?a=i.two:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"mewn "+a:a+" yn ôl":a},mYe={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},gYe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vYe={full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yYe={date:Ne({formats:mYe,defaultWidth:"full"}),time:Ne({formats:gYe,defaultWidth:"full"}),dateTime:Ne({formats:vYe,defaultWidth:"full"})},bYe={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"},wYe=function(t,n,r,a){return bYe[t]},SYe={narrow:["C","O"],abbreviated:["CC","OC"],wide:["Cyn Crist","Ar ôl Crist"]},EYe={narrow:["1","2","3","4"],abbreviated:["Ch1","Ch2","Ch3","Ch4"],wide:["Chwarter 1af","2ail chwarter","3ydd chwarter","4ydd chwarter"]},TYe={narrow:["I","Ch","Ma","E","Mi","Me","G","A","Md","H","T","Rh"],abbreviated:["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag"],wide:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"]},CYe={narrow:["S","Ll","M","M","I","G","S"],short:["Su","Ll","Ma","Me","Ia","Gw","Sa"],abbreviated:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],wide:["dydd Sul","dydd Llun","dydd Mawrth","dydd Mercher","dydd Iau","dydd Gwener","dydd Sadwrn"]},kYe={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"}},xYe={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"}},_Ye=function(t,n){var r=Number(t);if(r<20)switch(r){case 0:return r+"fed";case 1:return r+"af";case 2:return r+"ail";case 3:case 4:return r+"ydd";case 5:case 6:return r+"ed";case 7:case 8:case 9:case 10:case 12:case 15:case 18:return r+"fed";case 11:case 13:case 14:case 16:case 17:case 19:return r+"eg"}else if(r>=50&&r<=60||r===80||r>=100)return r+"fed";return r+"ain"},OYe={ordinalNumber:_Ye,era:oe({values:SYe,defaultWidth:"wide"}),quarter:oe({values:EYe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:TYe,defaultWidth:"wide"}),day:oe({values:CYe,defaultWidth:"wide"}),dayPeriod:oe({values:kYe,defaultWidth:"wide",formattingValues:xYe,defaultFormattingWidth:"wide"})},RYe=/^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i,PYe=/\d+/i,AYe={narrow:/^(c|o)/i,abbreviated:/^(c\.?\s?c\.?|o\.?\s?c\.?)/i,wide:/^(cyn christ|ar ôl crist|ar ol crist)/i},NYe={wide:[/^c/i,/^(ar ôl crist|ar ol crist)/i],any:[/^c/i,/^o/i]},MYe={narrow:/^[1234]/i,abbreviated:/^ch[1234]/i,wide:/^(chwarter 1af)|([234](ail|ydd)? chwarter)/i},IYe={any:[/1/i,/2/i,/3/i,/4/i]},DYe={narrow:/^(i|ch|m|e|g|a|h|t|rh)/i,abbreviated:/^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,wide:/^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i},$Ye={narrow:[/^i/i,/^ch/i,/^m/i,/^e/i,/^m/i,/^m/i,/^g/i,/^a/i,/^m/i,/^h/i,/^t/i,/^rh/i],any:[/^io/i,/^ch/i,/^maw/i,/^e/i,/^mai/i,/^meh/i,/^g/i,/^a/i,/^med/i,/^h/i,/^t/i,/^rh/i]},LYe={narrow:/^(s|ll|m|i|g)/i,short:/^(su|ll|ma|me|ia|gw|sa)/i,abbreviated:/^(sul|llun|maw|mer|iau|gwe|sad)/i,wide:/^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i},FYe={narrow:[/^s/i,/^ll/i,/^m/i,/^m/i,/^i/i,/^g/i,/^s/i],wide:[/^dydd su/i,/^dydd ll/i,/^dydd ma/i,/^dydd me/i,/^dydd i/i,/^dydd g/i,/^dydd sa/i],any:[/^su/i,/^ll/i,/^ma/i,/^me/i,/^i/i,/^g/i,/^sa/i]},jYe={narrow:/^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,any:/^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i},UYe={any:{am:/^b|(y\.?\s?b\.?)/i,pm:/^h|(y\.?\s?h\.?)|(yr hwyr)/i,midnight:/^hn|hanner nos/i,noon:/^hd|hanner dydd/i,morning:/bore/i,afternoon:/prynhawn/i,evening:/^gyda'r nos$/i,night:/blah/i}},BYe={ordinalNumber:Xt({matchPattern:RYe,parsePattern:PYe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:AYe,defaultMatchWidth:"wide",parsePatterns:NYe,defaultParseWidth:"any"}),quarter:se({matchPatterns:MYe,defaultMatchWidth:"wide",parsePatterns:IYe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:DYe,defaultMatchWidth:"wide",parsePatterns:$Ye,defaultParseWidth:"any"}),day:se({matchPatterns:LYe,defaultMatchWidth:"wide",parsePatterns:FYe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:jYe,defaultMatchWidth:"any",parsePatterns:UYe,defaultParseWidth:"any"})},WYe={code:"cy",formatDistance:hYe,formatLong:yYe,formatRelative:wYe,localize:OYe,match:BYe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const zYe=Object.freeze(Object.defineProperty({__proto__:null,default:WYe},Symbol.toStringTag,{value:"Module"})),qYe=jt(zYe);var HYe={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},VYe=function(t,n,r){var a,i=HYe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" siden":a},GYe={full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},YYe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},KYe={full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},XYe={date:Ne({formats:GYe,defaultWidth:"full"}),time:Ne({formats:YYe,defaultWidth:"full"}),dateTime:Ne({formats:KYe,defaultWidth:"full"})},QYe={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"},JYe=function(t,n,r,a){return QYe[t]},ZYe={narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},eKe={narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},tKe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},nKe={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},rKe={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},aKe={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},iKe=function(t,n){var r=Number(t);return r+"."},oKe={ordinalNumber:iKe,era:oe({values:ZYe,defaultWidth:"wide"}),quarter:oe({values:eKe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:tKe,defaultWidth:"wide"}),day:oe({values:nKe,defaultWidth:"wide"}),dayPeriod:oe({values:rKe,defaultWidth:"wide",formattingValues:aKe,defaultFormattingWidth:"wide"})},sKe=/^(\d+)(\.)?/i,lKe=/\d+/i,uKe={narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},cKe={any:[/^f/i,/^(v|e)/i]},dKe={narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},fKe={any:[/1/i,/2/i,/3/i,/4/i]},pKe={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},hKe={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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},mKe={narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},gKe={narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},vKe={narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},yKe={any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},bKe={ordinalNumber:Xt({matchPattern:sKe,parsePattern:lKe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:uKe,defaultMatchWidth:"wide",parsePatterns:cKe,defaultParseWidth:"any"}),quarter:se({matchPatterns:dKe,defaultMatchWidth:"wide",parsePatterns:fKe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:pKe,defaultMatchWidth:"wide",parsePatterns:hKe,defaultParseWidth:"any"}),day:se({matchPatterns:mKe,defaultMatchWidth:"wide",parsePatterns:gKe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:vKe,defaultMatchWidth:"any",parsePatterns:yKe,defaultParseWidth:"any"})},wKe={code:"da",formatDistance:VYe,formatLong:XYe,formatRelative:JYe,localize:oKe,match:bKe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const SKe=Object.freeze(Object.defineProperty({__proto__:null,default:wKe},Symbol.toStringTag,{value:"Module"})),EKe=jt(SKe);var SG={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:"halbe Minute",withPreposition:"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"}}},TKe=function(t,n,r){var a,i=r!=null&&r.addSuffix?SG[t].withPreposition:SG[t].standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:"vor "+a:a},CKe={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},kKe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},xKe={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},_Ke={date:Ne({formats:CKe,defaultWidth:"full"}),time:Ne({formats:kKe,defaultWidth:"full"}),dateTime:Ne({formats:xKe,defaultWidth:"full"})},OKe={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},RKe=function(t,n,r,a){return OKe[t]},PKe={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},AKe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},k3={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},NKe={narrow:k3.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:k3.wide},MKe={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"]},IKe={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"}},DKe={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"}},$Ke=function(t){var n=Number(t);return n+"."},LKe={ordinalNumber:$Ke,era:oe({values:PKe,defaultWidth:"wide"}),quarter:oe({values:AKe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:k3,formattingValues:NKe,defaultWidth:"wide"}),day:oe({values:MKe,defaultWidth:"wide"}),dayPeriod:oe({values:IKe,defaultWidth:"wide",formattingValues:DKe,defaultFormattingWidth:"wide"})},FKe=/^(\d+)(\.)?/i,jKe=/\d+/i,UKe={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},BKe={any:[/^v/i,/^n/i]},WKe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},zKe={any:[/1/i,/2/i,/3/i,/4/i]},qKe={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},HKe={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]},VKe={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},GKe={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},YKe={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},KKe={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}},XKe={ordinalNumber:Xt({matchPattern:FKe,parsePattern:jKe,valueCallback:function(t){return parseInt(t)}}),era:se({matchPatterns:UKe,defaultMatchWidth:"wide",parsePatterns:BKe,defaultParseWidth:"any"}),quarter:se({matchPatterns:WKe,defaultMatchWidth:"wide",parsePatterns:zKe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:qKe,defaultMatchWidth:"wide",parsePatterns:HKe,defaultParseWidth:"any"}),day:se({matchPatterns:VKe,defaultMatchWidth:"wide",parsePatterns:GKe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:YKe,defaultMatchWidth:"wide",parsePatterns:KKe,defaultParseWidth:"any"})},QKe={code:"de",formatDistance:TKe,formatLong:_Ke,formatRelative:RKe,localize:LKe,match:XKe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const JKe=Object.freeze(Object.defineProperty({__proto__:null,default:QKe},Symbol.toStringTag,{value:"Module"})),ZKe=jt(JKe);var eXe={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXWeeks:{one:"περίπου 1 εβδομάδα",other:"περίπου {{count}} εβδομάδες"},xWeeks:{one:"1 εβδομάδα",other:"{{count}} εβδομάδες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}},tXe=function(t,n,r){var a,i=eXe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"σε "+a:a+" πριν":a},nXe={full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},rXe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},aXe={full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iXe={date:Ne({formats:nXe,defaultWidth:"full"}),time:Ne({formats:rXe,defaultWidth:"full"}),dateTime:Ne({formats:aXe,defaultWidth:"full"})},oXe={lastWeek:function(t){switch(t.getUTCDay()){case 6:return"'το προηγούμενο' eeee 'στις' p";default:return"'την προηγούμενη' eeee 'στις' p"}},yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},sXe=function(t,n){var r=oXe[t];return typeof r=="function"?r(n):r},lXe={narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},uXe={narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},cXe={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},dXe={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},fXe={narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},pXe={narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},hXe=function(t,n){var r=Number(t),a=n==null?void 0:n.unit,i;return a==="year"||a==="month"?i="ος":a==="week"||a==="dayOfYear"||a==="day"||a==="hour"||a==="date"?i="η":i="ο",r+i},mXe={ordinalNumber:hXe,era:oe({values:lXe,defaultWidth:"wide"}),quarter:oe({values:uXe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:cXe,defaultWidth:"wide",formattingValues:dXe,defaultFormattingWidth:"wide"}),day:oe({values:fXe,defaultWidth:"wide"}),dayPeriod:oe({values:pXe,defaultWidth:"wide"})},gXe=/^(\d+)(ος|η|ο)?/i,vXe=/\d+/i,yXe={narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},bXe={any:[/^π/i,/^(μ|κ)/i]},wXe={narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},SXe={any:[/1/i,/2/i,/3/i,/4/i]},EXe={narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},TXe={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]},CXe={narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},kXe={narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},xXe={narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},_Xe={any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},OXe={ordinalNumber:Xt({matchPattern:gXe,parsePattern:vXe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:yXe,defaultMatchWidth:"wide",parsePatterns:bXe,defaultParseWidth:"any"}),quarter:se({matchPatterns:wXe,defaultMatchWidth:"wide",parsePatterns:SXe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:EXe,defaultMatchWidth:"wide",parsePatterns:TXe,defaultParseWidth:"any"}),day:se({matchPatterns:CXe,defaultMatchWidth:"wide",parsePatterns:kXe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:xXe,defaultMatchWidth:"any",parsePatterns:_Xe,defaultParseWidth:"any"})},RXe={code:"el",formatDistance:tXe,formatLong:iXe,formatRelative:sXe,localize:mXe,match:OXe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const PXe=Object.freeze(Object.defineProperty({__proto__:null,default:RXe},Symbol.toStringTag,{value:"Module"})),AXe=jt(PXe);var NXe={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},MXe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},IXe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},DXe={date:Ne({formats:NXe,defaultWidth:"full"}),time:Ne({formats:MXe,defaultWidth:"full"}),dateTime:Ne({formats:IXe,defaultWidth:"full"})},$Xe={code:"en-AU",formatDistance:i4,formatLong:DXe,formatRelative:U_,localize:B_,match:W_,options:{weekStartsOn:1,firstWeekContainsDate:4}};const LXe=Object.freeze(Object.defineProperty({__proto__:null,default:$Xe},Symbol.toStringTag,{value:"Module"})),FXe=jt(LXe);var jXe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"a second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"a minute",other:"{{count}} minutes"},aboutXHours:{one:"about an hour",other:"about {{count}} hours"},xHours:{one:"an hour",other:"{{count}} hours"},xDays:{one:"a day",other:"{{count}} days"},aboutXWeeks:{one:"about a week",other:"about {{count}} weeks"},xWeeks:{one:"a week",other:"{{count}} weeks"},aboutXMonths:{one:"about a month",other:"about {{count}} months"},xMonths:{one:"a month",other:"{{count}} months"},aboutXYears:{one:"about a year",other:"about {{count}} years"},xYears:{one:"a year",other:"{{count}} years"},overXYears:{one:"over a year",other:"over {{count}} years"},almostXYears:{one:"almost a year",other:"almost {{count}} years"}},UXe=function(t,n,r){var a,i=jXe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a},BXe={full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},WXe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zXe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qXe={date:Ne({formats:BXe,defaultWidth:"full"}),time:Ne({formats:WXe,defaultWidth:"full"}),dateTime:Ne({formats:zXe,defaultWidth:"full"})},HXe={code:"en-CA",formatDistance:UXe,formatLong:qXe,formatRelative:U_,localize:B_,match:W_,options:{weekStartsOn:0,firstWeekContainsDate:1}};const VXe=Object.freeze(Object.defineProperty({__proto__:null,default:HXe},Symbol.toStringTag,{value:"Module"})),GXe=jt(VXe);var YXe={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},KXe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},XXe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QXe={date:Ne({formats:YXe,defaultWidth:"full"}),time:Ne({formats:KXe,defaultWidth:"full"}),dateTime:Ne({formats:XXe,defaultWidth:"full"})},JXe={code:"en-GB",formatDistance:i4,formatLong:QXe,formatRelative:U_,localize:B_,match:W_,options:{weekStartsOn:1,firstWeekContainsDate:4}};const ZXe=Object.freeze(Object.defineProperty({__proto__:null,default:JXe},Symbol.toStringTag,{value:"Module"})),eQe=jt(ZXe);var tQe={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xWeeks:{one:"1 semajno",other:"{{count}} semajnoj"},aboutXWeeks:{one:"proksimume 1 semajno",other:"proksimume {{count}} semajnoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}},nQe=function(t,n,r){var a,i=tQe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r!=null&&r.comparison&&r.comparison>0?"post "+a:"antaŭ "+a:a},rQe={full:"EEEE, do 'de' MMMM y",long:"y-MMMM-dd",medium:"y-MMM-dd",short:"yyyy-MM-dd"},aQe={full:"Ho 'horo kaj' m:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},iQe={any:"{{date}} {{time}}"},oQe={date:Ne({formats:rQe,defaultWidth:"full"}),time:Ne({formats:aQe,defaultWidth:"full"}),dateTime:Ne({formats:iQe,defaultWidth:"any"})},sQe={lastWeek:"'pasinta' eeee 'je' p",yesterday:"'hieraŭ je' p",today:"'hodiaŭ je' p",tomorrow:"'morgaŭ je' p",nextWeek:"eeee 'je' p",other:"P"},lQe=function(t,n,r,a){return sQe[t]},uQe={narrow:["aK","pK"],abbreviated:["a.K.E.","p.K.E."],wide:["antaŭ Komuna Erao","Komuna Erao"]},cQe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1-a kvaronjaro","2-a kvaronjaro","3-a kvaronjaro","4-a kvaronjaro"]},dQe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],wide:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"]},fQe={narrow:["D","L","M","M","Ĵ","V","S"],short:["di","lu","ma","me","ĵa","ve","sa"],abbreviated:["dim","lun","mar","mer","ĵaŭ","ven","sab"],wide:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"]},pQe={narrow:{am:"a",pm:"p",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},abbreviated:{am:"a.t.m.",pm:"p.t.m.",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},wide:{am:"antaŭtagmeze",pm:"posttagmeze",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"}},hQe=function(t){var n=Number(t);return n+"-a"},mQe={ordinalNumber:hQe,era:oe({values:uQe,defaultWidth:"wide"}),quarter:oe({values:cQe,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:dQe,defaultWidth:"wide"}),day:oe({values:fQe,defaultWidth:"wide"}),dayPeriod:oe({values:pQe,defaultWidth:"wide"})},gQe=/^(\d+)(-?a)?/i,vQe=/\d+/i,yQe={narrow:/^([ap]k)/i,abbreviated:/^([ap]\.?\s?k\.?\s?e\.?)/i,wide:/^((antaǔ |post )?komuna erao)/i},bQe={any:[/^a/i,/^[kp]/i]},wQe={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](-?a)? kvaronjaro/i},SQe={any:[/1/i,/2/i,/3/i,/4/i]},EQe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,wide:/^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i},TQe={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,/^maj/i,/^jun/i,/^jul/i,/^a(u|ŭ)/i,/^s/i,/^o/i,/^n/i,/^d/i]},CQe={narrow:/^[dlmĵjvs]/i,short:/^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,wide:/^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i},kQe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^(j|ĵ)/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^(j|ĵ)/i,/^v/i,/^s/i]},xQe={narrow:/^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,abbreviated:/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,wide:/^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i},_Qe={any:{am:/^a/i,pm:/^p/i,midnight:/^noktom/i,noon:/^t/i,morning:/^m/i,afternoon:/^posttagmeze/i,evening:/^v/i,night:/^n/i}},OQe={ordinalNumber:Xt({matchPattern:gQe,parsePattern:vQe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:yQe,defaultMatchWidth:"wide",parsePatterns:bQe,defaultParseWidth:"any"}),quarter:se({matchPatterns:wQe,defaultMatchWidth:"wide",parsePatterns:SQe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:EQe,defaultMatchWidth:"wide",parsePatterns:TQe,defaultParseWidth:"any"}),day:se({matchPatterns:CQe,defaultMatchWidth:"wide",parsePatterns:kQe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:xQe,defaultMatchWidth:"wide",parsePatterns:_Qe,defaultParseWidth:"any"})},RQe={code:"eo",formatDistance:nQe,formatLong:oQe,formatRelative:lQe,localize:mQe,match:OQe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const PQe=Object.freeze(Object.defineProperty({__proto__:null,default:RQe},Symbol.toStringTag,{value:"Module"})),AQe=jt(PQe);var NQe={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ía",other:"{{count}} días"},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ño",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},MQe=function(t,n,r){var a,i=NQe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"hace "+a:a},IQe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},DQe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},$Qe={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},LQe={date:Ne({formats:IQe,defaultWidth:"full"}),time:Ne({formats:DQe,defaultWidth:"full"}),dateTime:Ne({formats:$Qe,defaultWidth:"full"})},FQe={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},jQe={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},UQe=function(t,n,r,a){return n.getUTCHours()!==1?jQe[t]:FQe[t]},BQe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},WQe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},zQe={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"]},qQe={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},HQe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},VQe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",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ñana",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ñana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},GQe=function(t,n){var r=Number(t);return r+"º"},YQe={ordinalNumber:GQe,era:oe({values:BQe,defaultWidth:"wide"}),quarter:oe({values:WQe,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:zQe,defaultWidth:"wide"}),day:oe({values:qQe,defaultWidth:"wide"}),dayPeriod:oe({values:HQe,defaultWidth:"wide",formattingValues:VQe,defaultFormattingWidth:"wide"})},KQe=/^(\d+)(º)?/i,XQe=/\d+/i,QQe={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},JQe={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]},ZQe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},eJe={any:[/1/i,/2/i,/3/i,/4/i]},tJe={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},nJe={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]},rJe={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},aJe={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]},iJe={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},oJe={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}},sJe={ordinalNumber:Xt({matchPattern:KQe,parsePattern:XQe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:QQe,defaultMatchWidth:"wide",parsePatterns:JQe,defaultParseWidth:"any"}),quarter:se({matchPatterns:ZQe,defaultMatchWidth:"wide",parsePatterns:eJe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:tJe,defaultMatchWidth:"wide",parsePatterns:nJe,defaultParseWidth:"any"}),day:se({matchPatterns:rJe,defaultMatchWidth:"wide",parsePatterns:aJe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:iJe,defaultMatchWidth:"any",parsePatterns:oJe,defaultParseWidth:"any"})},lJe={code:"es",formatDistance:MQe,formatLong:LQe,formatRelative:UQe,localize:YQe,match:sJe,options:{weekStartsOn:1,firstWeekContainsDate:1}};const uJe=Object.freeze(Object.defineProperty({__proto__:null,default:lJe},Symbol.toStringTag,{value:"Module"})),cJe=jt(uJe);var EG={lessThanXSeconds:{standalone:{one:"vähem kui üks sekund",other:"vähem kui {{count}} sekundit"},withPreposition:{one:"vähem kui ühe sekundi",other:"vähem kui {{count}} sekundi"}},xSeconds:{standalone:{one:"üks sekund",other:"{{count}} sekundit"},withPreposition:{one:"ühe sekundi",other:"{{count}} sekundi"}},halfAMinute:{standalone:"pool minutit",withPreposition:"poole minuti"},lessThanXMinutes:{standalone:{one:"vähem kui üks minut",other:"vähem kui {{count}} minutit"},withPreposition:{one:"vähem kui ühe minuti",other:"vähem kui {{count}} minuti"}},xMinutes:{standalone:{one:"üks minut",other:"{{count}} minutit"},withPreposition:{one:"ühe minuti",other:"{{count}} minuti"}},aboutXHours:{standalone:{one:"umbes üks tund",other:"umbes {{count}} tundi"},withPreposition:{one:"umbes ühe tunni",other:"umbes {{count}} tunni"}},xHours:{standalone:{one:"üks tund",other:"{{count}} tundi"},withPreposition:{one:"ühe tunni",other:"{{count}} tunni"}},xDays:{standalone:{one:"üks päev",other:"{{count}} päeva"},withPreposition:{one:"ühe päeva",other:"{{count}} päeva"}},aboutXWeeks:{standalone:{one:"umbes üks nädal",other:"umbes {{count}} nädalat"},withPreposition:{one:"umbes ühe nädala",other:"umbes {{count}} nädala"}},xWeeks:{standalone:{one:"üks nädal",other:"{{count}} nädalat"},withPreposition:{one:"ühe nädala",other:"{{count}} nädala"}},aboutXMonths:{standalone:{one:"umbes üks kuu",other:"umbes {{count}} kuud"},withPreposition:{one:"umbes ühe kuu",other:"umbes {{count}} kuu"}},xMonths:{standalone:{one:"üks kuu",other:"{{count}} kuud"},withPreposition:{one:"ühe kuu",other:"{{count}} kuu"}},aboutXYears:{standalone:{one:"umbes üks aasta",other:"umbes {{count}} aastat"},withPreposition:{one:"umbes ühe aasta",other:"umbes {{count}} aasta"}},xYears:{standalone:{one:"üks aasta",other:"{{count}} aastat"},withPreposition:{one:"ühe aasta",other:"{{count}} aasta"}},overXYears:{standalone:{one:"rohkem kui üks aasta",other:"rohkem kui {{count}} aastat"},withPreposition:{one:"rohkem kui ühe aasta",other:"rohkem kui {{count}} aasta"}},almostXYears:{standalone:{one:"peaaegu üks aasta",other:"peaaegu {{count}} aastat"},withPreposition:{one:"peaaegu ühe aasta",other:"peaaegu {{count}} aasta"}}},dJe=function(t,n,r){var a=r!=null&&r.addSuffix?EG[t].withPreposition:EG[t].standalone,i;return typeof a=="string"?i=a:n===1?i=a.one:i=a.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?i+" pärast":i+" eest":i},fJe={full:"EEEE, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},pJe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hJe={full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},mJe={date:Ne({formats:fJe,defaultWidth:"full"}),time:Ne({formats:pJe,defaultWidth:"full"}),dateTime:Ne({formats:hJe,defaultWidth:"full"})},gJe={lastWeek:"'eelmine' eeee 'kell' p",yesterday:"'eile kell' p",today:"'täna kell' p",tomorrow:"'homme kell' p",nextWeek:"'järgmine' eeee 'kell' p",other:"P"},vJe=function(t,n,r,a){return gJe[t]},yJe={narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},bJe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},TG={narrow:["J","V","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],wide:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]},CG={narrow:["P","E","T","K","N","R","L"],short:["P","E","T","K","N","R","L"],abbreviated:["pühap.","esmasp.","teisip.","kolmap.","neljap.","reede.","laup."],wide:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"]},wJe={narrow:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},abbreviated:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},wide:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"}},SJe={narrow:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},abbreviated:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},wide:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"}},EJe=function(t,n){var r=Number(t);return r+"."},TJe={ordinalNumber:EJe,era:oe({values:yJe,defaultWidth:"wide"}),quarter:oe({values:bJe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:TG,defaultWidth:"wide",formattingValues:TG,defaultFormattingWidth:"wide"}),day:oe({values:CG,defaultWidth:"wide",formattingValues:CG,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:wJe,defaultWidth:"wide",formattingValues:SJe,defaultFormattingWidth:"wide"})},CJe=/^\d+\./i,kJe=/\d+/i,xJe={narrow:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,abbreviated:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,wide:/^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i},_Je={any:[/^e/i,/^(m|p)/i]},OJe={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},RJe={any:[/1/i,/2/i,/3/i,/4/i]},PJe={narrow:/^[jvmasond]/i,abbreviated:/^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i,wide:/^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i},AJe={narrow:[/^j/i,/^v/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^v/i,/^mär/i,/^ap/i,/^mai/i,/^juun/i,/^juul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},NJe={narrow:/^[petknrl]/i,short:/^[petknrl]/i,abbreviated:/^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i,wide:/^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i},MJe={any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},IJe={any:/^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i},DJe={any:{am:/^a/i,pm:/^p/i,midnight:/^keskö/i,noon:/^keskp/i,morning:/hommik/i,afternoon:/pärastlõuna/i,evening:/õhtu/i,night:/öö/i}},$Je={ordinalNumber:Xt({matchPattern:CJe,parsePattern:kJe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:xJe,defaultMatchWidth:"wide",parsePatterns:_Je,defaultParseWidth:"any"}),quarter:se({matchPatterns:OJe,defaultMatchWidth:"wide",parsePatterns:RJe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:PJe,defaultMatchWidth:"wide",parsePatterns:AJe,defaultParseWidth:"any"}),day:se({matchPatterns:NJe,defaultMatchWidth:"wide",parsePatterns:MJe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:IJe,defaultMatchWidth:"any",parsePatterns:DJe,defaultParseWidth:"any"})},LJe={code:"et",formatDistance:dJe,formatLong:mJe,formatRelative:vJe,localize:TJe,match:$Je,options:{weekStartsOn:1,firstWeekContainsDate:4}};const FJe=Object.freeze(Object.defineProperty({__proto__:null,default:LJe},Symbol.toStringTag,{value:"Module"})),jJe=jt(FJe);var UJe={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},BJe=function(t,n,r){var a,i=UJe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"در "+a:a+" قبل":a},WJe={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},zJe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qJe={full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},HJe={date:Ne({formats:WJe,defaultWidth:"full"}),time:Ne({formats:zJe,defaultWidth:"full"}),dateTime:Ne({formats:qJe,defaultWidth:"full"})},VJe={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},GJe=function(t,n,r,a){return VJe[t]},YJe={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},KJe={narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},XJe={narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},QJe={narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},JJe={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},ZJe={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},eZe=function(t,n){return String(t)},tZe={ordinalNumber:eZe,era:oe({values:YJe,defaultWidth:"wide"}),quarter:oe({values:KJe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:XJe,defaultWidth:"wide"}),day:oe({values:QJe,defaultWidth:"wide"}),dayPeriod:oe({values:JJe,defaultWidth:"wide",formattingValues:ZJe,defaultFormattingWidth:"wide"})},nZe=/^(\d+)(th|st|nd|rd)?/i,rZe=/\d+/i,aZe={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},iZe={any:[/^قبل/i,/^بعد/i]},oZe={narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},sZe={any:[/1/i,/2/i,/3/i,/4/i]},lZe={narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},uZe={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]},cZe={narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},dZe={narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سه‌شنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},fZe={narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},pZe={any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},hZe={ordinalNumber:Xt({matchPattern:nZe,parsePattern:rZe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:aZe,defaultMatchWidth:"wide",parsePatterns:iZe,defaultParseWidth:"any"}),quarter:se({matchPatterns:oZe,defaultMatchWidth:"wide",parsePatterns:sZe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:lZe,defaultMatchWidth:"wide",parsePatterns:uZe,defaultParseWidth:"any"}),day:se({matchPatterns:cZe,defaultMatchWidth:"wide",parsePatterns:dZe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:fZe,defaultMatchWidth:"wide",parsePatterns:pZe,defaultParseWidth:"any"})},mZe={code:"fa-IR",formatDistance:BJe,formatLong:HJe,formatRelative:GJe,localize:tZe,match:hZe,options:{weekStartsOn:6,firstWeekContainsDate:1}};const gZe=Object.freeze(Object.defineProperty({__proto__:null,default:mZe},Symbol.toStringTag,{value:"Module"})),vZe=jt(gZe);function kG(e){return e.replace(/sekuntia?/,"sekunnin")}function xG(e){return e.replace(/minuuttia?/,"minuutin")}function _G(e){return e.replace(/tuntia?/,"tunnin")}function yZe(e){return e.replace(/päivää?/,"päivän")}function OG(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function RG(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function gk(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}var bZe={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:kG},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:kG},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(t){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:xG},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:xG},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:_G},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:_G},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:yZe},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:OG},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:OG},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:RG},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:RG},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:gk},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:gk},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:gk},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:gk}},wZe=function(t,n,r){var a=bZe[t],i=n===1?a.one:a.other.replace("{{count}}",String(n));return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a.futureTense(i)+" kuluttua":i+" sitten":i},SZe={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},EZe={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},TZe={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},CZe={date:Ne({formats:SZe,defaultWidth:"full"}),time:Ne({formats:EZe,defaultWidth:"full"}),dateTime:Ne({formats:TZe,defaultWidth:"full"})},kZe={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},xZe=function(t,n,r,a){return kZe[t]},_Ze={narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},OZe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},x3={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},RZe={narrow:x3.narrow,abbreviated:x3.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},Bk={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},PZe={narrow:Bk.narrow,short:Bk.short,abbreviated:Bk.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},AZe={narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},NZe=function(t,n){var r=Number(t);return r+"."},MZe={ordinalNumber:NZe,era:oe({values:_Ze,defaultWidth:"wide"}),quarter:oe({values:OZe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:x3,defaultWidth:"wide",formattingValues:RZe,defaultFormattingWidth:"wide"}),day:oe({values:Bk,defaultWidth:"wide",formattingValues:PZe,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:AZe,defaultWidth:"wide"})},IZe=/^(\d+)(\.)/i,DZe=/\d+/i,$Ze={narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},LZe={any:[/^e/i,/^j/i]},FZe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},jZe={any:[/1/i,/2/i,/3/i,/4/i]},UZe={narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},BZe={narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},WZe={narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},zZe={narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},qZe={narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},HZe={any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},VZe={ordinalNumber:Xt({matchPattern:IZe,parsePattern:DZe,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:$Ze,defaultMatchWidth:"wide",parsePatterns:LZe,defaultParseWidth:"any"}),quarter:se({matchPatterns:FZe,defaultMatchWidth:"wide",parsePatterns:jZe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:UZe,defaultMatchWidth:"wide",parsePatterns:BZe,defaultParseWidth:"any"}),day:se({matchPatterns:WZe,defaultMatchWidth:"wide",parsePatterns:zZe,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:qZe,defaultMatchWidth:"any",parsePatterns:HZe,defaultParseWidth:"any"})},GZe={code:"fi",formatDistance:wZe,formatLong:CZe,formatRelative:xZe,localize:MZe,match:VZe,options:{weekStartsOn:1,firstWeekContainsDate:4}};const YZe=Object.freeze(Object.defineProperty({__proto__:null,default:GZe},Symbol.toStringTag,{value:"Module"})),KZe=jt(YZe);var XZe={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une 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’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Eae=function(t,n,r){var a,i=XZe[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dans "+a:"il y a "+a:a},QZe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},JZe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ZZe={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eet={date:Ne({formats:QZe,defaultWidth:"full"}),time:Ne({formats:JZe,defaultWidth:"full"}),dateTime:Ne({formats:ZZe,defaultWidth:"full"})},tet={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Tae=function(t,n,r,a){return tet[t]},net={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},ret={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},aet={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},iet={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"]},oet={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ès-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},set=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(r===0)return"0";var i=["year","week","hour","minute","second"],o;return r===1?o=a&&i.includes(a)?"ère":"er":o="ème",r+o},Cae={ordinalNumber:set,era:oe({values:net,defaultWidth:"wide"}),quarter:oe({values:ret,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:aet,defaultWidth:"wide"}),day:oe({values:iet,defaultWidth:"wide"}),dayPeriod:oe({values:oet,defaultWidth:"wide"})},uet=/^(\d+)(ième|ère|ème|er|e)?/i,cet=/\d+/i,det={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},fet={any:[/^av/i,/^ap/i]},pet={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},het={any:[/1/i,/2/i,/3/i,/4/i]},met={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},get={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]},vet={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},yet={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]},bet={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},wet={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}},kae={ordinalNumber:Xt({matchPattern:uet,parsePattern:cet,valueCallback:function(t){return parseInt(t)}}),era:se({matchPatterns:det,defaultMatchWidth:"wide",parsePatterns:fet,defaultParseWidth:"any"}),quarter:se({matchPatterns:pet,defaultMatchWidth:"wide",parsePatterns:het,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:met,defaultMatchWidth:"wide",parsePatterns:get,defaultParseWidth:"any"}),day:se({matchPatterns:vet,defaultMatchWidth:"wide",parsePatterns:yet,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:bet,defaultMatchWidth:"any",parsePatterns:wet,defaultParseWidth:"any"})},Eet={code:"fr",formatDistance:Eae,formatLong:eet,formatRelative:Tae,localize:Cae,match:kae,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Tet=Object.freeze(Object.defineProperty({__proto__:null,default:Eet},Symbol.toStringTag,{value:"Module"})),Cet=jt(Tet);var ket={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"yy-MM-dd"},xet={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_et={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Oet={date:Ne({formats:ket,defaultWidth:"full"}),time:Ne({formats:xet,defaultWidth:"full"}),dateTime:Ne({formats:_et,defaultWidth:"full"})},Ret={code:"fr-CA",formatDistance:Eae,formatLong:Oet,formatRelative:Tae,localize:Cae,match:kae,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Pet=Object.freeze(Object.defineProperty({__proto__:null,default:Ret},Symbol.toStringTag,{value:"Module"})),Aet=jt(Pet);var Net={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},Met=function(t,n,r){var a,i=Net[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"hai "+a:a},Iet={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},Det={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},$et={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Let={date:Ne({formats:Iet,defaultWidth:"full"}),time:Ne({formats:Det,defaultWidth:"full"}),dateTime:Ne({formats:$et,defaultWidth:"full"})},Fet={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},jet={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},Uet=function(t,n,r,a){return n.getUTCHours()!==1?jet[t]:Fet[t]},Bet={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},Wet={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},zet={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},qet={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},Het={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},Vet={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},Get=function(t,n){var r=Number(t);return r+"º"},Yet={ordinalNumber:Get,era:oe({values:Bet,defaultWidth:"wide"}),quarter:oe({values:Wet,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:zet,defaultWidth:"wide"}),day:oe({values:qet,defaultWidth:"wide"}),dayPeriod:oe({values:Het,defaultWidth:"wide",formattingValues:Vet,defaultFormattingWidth:"wide"})},Ket=/^(\d+)(º)?/i,Xet=/\d+/i,Qet={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 com[uú]n|despois de cristo|era com[uú]n)/i},Jet={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},Zet={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},ett={any:[/1/i,/2/i,/3/i,/4/i]},ttt={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},ntt={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},rtt={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},att={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},itt={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},ott={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},stt={ordinalNumber:Xt({matchPattern:Ket,parsePattern:Xet,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Qet,defaultMatchWidth:"wide",parsePatterns:Jet,defaultParseWidth:"any"}),quarter:se({matchPatterns:Zet,defaultMatchWidth:"wide",parsePatterns:ett,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:ttt,defaultMatchWidth:"wide",parsePatterns:ntt,defaultParseWidth:"any"}),day:se({matchPatterns:rtt,defaultMatchWidth:"wide",parsePatterns:att,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:itt,defaultMatchWidth:"any",parsePatterns:ott,defaultParseWidth:"any"})},ltt={code:"gl",formatDistance:Met,formatLong:Let,formatRelative:Uet,localize:Yet,match:stt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const utt=Object.freeze(Object.defineProperty({__proto__:null,default:ltt},Symbol.toStringTag,{value:"Module"})),ctt=jt(utt);var dtt={lessThanXSeconds:{one:"હમણાં",other:"​આશરે {{count}} સેકંડ"},xSeconds:{one:"1 સેકંડ",other:"{{count}} સેકંડ"},halfAMinute:"અડધી મિનિટ",lessThanXMinutes:{one:"આ મિનિટ",other:"​આશરે {{count}} મિનિટ"},xMinutes:{one:"1 મિનિટ",other:"{{count}} મિનિટ"},aboutXHours:{one:"​આશરે 1 કલાક",other:"​આશરે {{count}} કલાક"},xHours:{one:"1 કલાક",other:"{{count}} કલાક"},xDays:{one:"1 દિવસ",other:"{{count}} દિવસ"},aboutXWeeks:{one:"આશરે 1 અઠવાડિયું",other:"આશરે {{count}} અઠવાડિયા"},xWeeks:{one:"1 અઠવાડિયું",other:"{{count}} અઠવાડિયા"},aboutXMonths:{one:"આશરે 1 મહિનો",other:"આશરે {{count}} મહિના"},xMonths:{one:"1 મહિનો",other:"{{count}} મહિના"},aboutXYears:{one:"આશરે 1 વર્ષ",other:"આશરે {{count}} વર્ષ"},xYears:{one:"1 વર્ષ",other:"{{count}} વર્ષ"},overXYears:{one:"1 વર્ષથી વધુ",other:"{{count}} વર્ષથી વધુ"},almostXYears:{one:"લગભગ 1 વર્ષ",other:"લગભગ {{count}} વર્ષ"}},ftt=function(t,n,r){var a,i=dtt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"માં":a+" પહેલાં":a},ptt={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},htt={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},mtt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},gtt={date:Ne({formats:ptt,defaultWidth:"full"}),time:Ne({formats:htt,defaultWidth:"full"}),dateTime:Ne({formats:mtt,defaultWidth:"full"})},vtt={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"},ytt=function(t,n,r,a){return vtt[t]},btt={narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},wtt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},Stt={narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},Ett={narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},Ttt={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બ.",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},Ctt={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},ktt=function(t,n){return String(t)},xtt={ordinalNumber:ktt,era:oe({values:btt,defaultWidth:"wide"}),quarter:oe({values:wtt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Stt,defaultWidth:"wide"}),day:oe({values:Ett,defaultWidth:"wide"}),dayPeriod:oe({values:Ttt,defaultWidth:"wide",formattingValues:Ctt,defaultFormattingWidth:"wide"})},_tt=/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,Ott=/\d+/i,Rtt={narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},Ptt={any:[/^ઈસપૂ/i,/^ઈસ/i]},Att={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},Ntt={any:[/1/i,/2/i,/3/i,/4/i]},Mtt={narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},Itt={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]},Dtt={narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},$tt={narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},Ltt={narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},Ftt={any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},jtt={ordinalNumber:Xt({matchPattern:_tt,parsePattern:Ott,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Rtt,defaultMatchWidth:"wide",parsePatterns:Ptt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Att,defaultMatchWidth:"wide",parsePatterns:Ntt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Mtt,defaultMatchWidth:"wide",parsePatterns:Itt,defaultParseWidth:"any"}),day:se({matchPatterns:Dtt,defaultMatchWidth:"wide",parsePatterns:$tt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ltt,defaultMatchWidth:"any",parsePatterns:Ftt,defaultParseWidth:"any"})},Utt={code:"gu",formatDistance:ftt,formatLong:gtt,formatRelative:ytt,localize:xtt,match:jtt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Btt=Object.freeze(Object.defineProperty({__proto__:null,default:Utt},Symbol.toStringTag,{value:"Module"})),Wtt=jt(Btt);var ztt={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"כשעה",two:"כשעתיים",other:"כ־{{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXWeeks:{one:"כשבוע",two:"כשבועיים",other:"כ־{{count}} שבועות"},xWeeks:{one:"שבוע",two:"שבועיים",other:"{{count}} שבועות"},aboutXMonths:{one:"כחודש",two:"כחודשיים",other:"כ־{{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"כשנה",two:"כשנתיים",other:"כ־{{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}},qtt=function(t,n,r){if(t==="xDays"&&r!==null&&r!==void 0&&r.addSuffix&&n<=2)return r.comparison&&r.comparison>0?n===1?"מחר":"מחרתיים":n===1?"אתמול":"שלשום";var a,i=ztt[t];return typeof i=="string"?a=i:n===1?a=i.one:n===2?a=i.two:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"בעוד "+a:"לפני "+a:a},Htt={full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},Vtt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Gtt={full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ytt={date:Ne({formats:Htt,defaultWidth:"full"}),time:Ne({formats:Vtt,defaultWidth:"full"}),dateTime:Ne({formats:Gtt,defaultWidth:"full"})},Ktt={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},Xtt=function(t,n,r,a){return Ktt[t]},Qtt={narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},Jtt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},Ztt={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},ent={narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},tnt={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},nnt={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},rnt=function(t,n){var r=Number(t);if(r<=0||r>10)return String(r);var a=String(n==null?void 0:n.unit),i=["year","hour","minute","second"].indexOf(a)>=0,o=["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"],l=["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"],u=r-1;return i?l[u]:o[u]},ant={ordinalNumber:rnt,era:oe({values:Qtt,defaultWidth:"wide"}),quarter:oe({values:Jtt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Ztt,defaultWidth:"wide"}),day:oe({values:ent,defaultWidth:"wide"}),dayPeriod:oe({values:tnt,defaultWidth:"wide",formattingValues:nnt,defaultFormattingWidth:"wide"})},int=/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,ont=/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,snt={narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},lnt={any:[/^לפ/i,/^לס/i]},unt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},cnt={any:[/1/i,/2/i,/3/i,/4/i]},dnt={narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},fnt={narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^נ/i,/^ד/i]},pnt={narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},hnt={abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},mnt={any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},gnt={any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},vnt=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"],ynt={ordinalNumber:Xt({matchPattern:int,parsePattern:ont,valueCallback:function(t){var n=parseInt(t,10);return isNaN(n)?vnt.indexOf(t)+1:n}}),era:se({matchPatterns:snt,defaultMatchWidth:"wide",parsePatterns:lnt,defaultParseWidth:"any"}),quarter:se({matchPatterns:unt,defaultMatchWidth:"wide",parsePatterns:cnt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:dnt,defaultMatchWidth:"wide",parsePatterns:fnt,defaultParseWidth:"any"}),day:se({matchPatterns:pnt,defaultMatchWidth:"wide",parsePatterns:hnt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:mnt,defaultMatchWidth:"any",parsePatterns:gnt,defaultParseWidth:"any"})},bnt={code:"he",formatDistance:qtt,formatLong:Ytt,formatRelative:Xtt,localize:ant,match:ynt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const wnt=Object.freeze(Object.defineProperty({__proto__:null,default:bnt},Symbol.toStringTag,{value:"Module"})),Snt=jt(wnt);var xae={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},Ent={narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},Tnt={narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},Cnt={narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},knt={narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},xnt={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},_nt={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},Ont=function(t,n){var r=Number(t);return _ae(r)};function Rnt(e){var t=e.toString().replace(/[१२३४५६७८९०]/g,function(n){return xae.number[n]});return Number(t)}function _ae(e){return e.toString().replace(/\d/g,function(t){return xae.locale[t]})}var Pnt={ordinalNumber:Ont,era:oe({values:Ent,defaultWidth:"wide"}),quarter:oe({values:Tnt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Cnt,defaultWidth:"wide"}),day:oe({values:knt,defaultWidth:"wide"}),dayPeriod:oe({values:xnt,defaultWidth:"wide",formattingValues:_nt,defaultFormattingWidth:"wide"})},Ant={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}},Nnt=function(t,n,r){var a,i=Ant[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",_ae(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"मे ":a+" पहले":a},Mnt={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},Int={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Dnt={full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$nt={date:Ne({formats:Mnt,defaultWidth:"full"}),time:Ne({formats:Int,defaultWidth:"full"}),dateTime:Ne({formats:Dnt,defaultWidth:"full"})},Lnt={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},Fnt=function(t,n,r,a){return Lnt[t]},jnt=/^[०१२३४५६७८९]+/i,Unt=/^[०१२३४५६७८९]+/i,Bnt={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},Wnt={any:[/^b/i,/^(a|c)/i]},znt={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},qnt={any:[/1/i,/2/i,/3/i,/4/i]},Hnt={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},Vnt={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]},Gnt={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},Ynt={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},Knt={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},Xnt={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},Qnt={ordinalNumber:Xt({matchPattern:jnt,parsePattern:Unt,valueCallback:Rnt}),era:se({matchPatterns:Bnt,defaultMatchWidth:"wide",parsePatterns:Wnt,defaultParseWidth:"any"}),quarter:se({matchPatterns:znt,defaultMatchWidth:"wide",parsePatterns:qnt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Hnt,defaultMatchWidth:"wide",parsePatterns:Vnt,defaultParseWidth:"any"}),day:se({matchPatterns:Gnt,defaultMatchWidth:"wide",parsePatterns:Ynt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Knt,defaultMatchWidth:"any",parsePatterns:Xnt,defaultParseWidth:"any"})},Jnt={code:"hi",formatDistance:Nnt,formatLong:$nt,formatRelative:Fnt,localize:Pnt,match:Qnt,options:{weekStartsOn:0,firstWeekContainsDate:4}};const Znt=Object.freeze(Object.defineProperty({__proto__:null,default:Jnt},Symbol.toStringTag,{value:"Module"})),ert=jt(Znt);var trt={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 tjedan",withPrepositionAgo:"oko 1 tjedan",withPrepositionIn:"oko 1 tjedan"},dual:"oko {{count}} tjedna",other:"oko {{count}} tjedana"},xWeeks:{one:{standalone:"1 tjedan",withPrepositionAgo:"1 tjedan",withPrepositionIn:"1 tjedan"},dual:"{{count}} tjedna",other:"{{count}} tjedana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},nrt=function(t,n,r){var a,i=trt[t];return typeof i=="string"?a=i:n===1?r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a=i.one.withPrepositionIn:a=i.one.withPrepositionAgo:a=i.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=i.dual.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+a:"prije "+a:a},rrt={full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},art={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},irt={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ort={date:Ne({formats:rrt,defaultWidth:"full"}),time:Ne({formats:art,defaultWidth:"full"}),dateTime:Ne({formats:irt,defaultWidth:"full"})},srt={lastWeek:function(t){switch(t.getUTCDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(t){switch(t.getUTCDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"},lrt=function(t,n,r,a){var i=srt[t];return typeof i=="function"?i(n):i},urt={narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},crt={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},drt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},frt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},prt={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},hrt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},mrt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},grt=function(t,n){var r=Number(t);return r+"."},vrt={ordinalNumber:grt,era:oe({values:urt,defaultWidth:"wide"}),quarter:oe({values:crt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:drt,defaultWidth:"wide",formattingValues:frt,defaultFormattingWidth:"wide"}),day:oe({values:prt,defaultWidth:"wide"}),dayPeriod:oe({values:mrt,defaultWidth:"wide",formattingValues:hrt,defaultFormattingWidth:"wide"})},yrt=/^(\d+)\./i,brt=/\d+/i,wrt={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},Srt={any:[/^pr/i,/^(po|nova)/i]},Ert={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},Trt={any:[/1/i,/2/i,/3/i,/4/i]},Crt={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},krt={narrow:[/1/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i,/8/i,/9/i,/10/i,/11/i,/12/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},xrt={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},_rt={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]},Ort={any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},Rrt={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},Prt={ordinalNumber:Xt({matchPattern:yrt,parsePattern:brt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:wrt,defaultMatchWidth:"wide",parsePatterns:Srt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Ert,defaultMatchWidth:"wide",parsePatterns:Trt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Crt,defaultMatchWidth:"wide",parsePatterns:krt,defaultParseWidth:"wide"}),day:se({matchPatterns:xrt,defaultMatchWidth:"wide",parsePatterns:_rt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ort,defaultMatchWidth:"any",parsePatterns:Rrt,defaultParseWidth:"any"})},Art={code:"hr",formatDistance:nrt,formatLong:ort,formatRelative:lrt,localize:vrt,match:Prt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Nrt=Object.freeze(Object.defineProperty({__proto__:null,default:Art},Symbol.toStringTag,{value:"Module"})),Mrt=jt(Nrt);var Irt={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},Drt={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},$rt={xseconds:{"-1":" másodperccel ezelőtt",1:" másodperc múlva",0:" másodperce"},halfaminute:{"-1":"fél perccel ezelőtt",1:"fél perc múlva",0:"fél perce"},xminutes:{"-1":" perccel ezelőtt",1:" perc múlva",0:" perce"},xhours:{"-1":" órával ezelőtt",1:" óra múlva",0:" órája"},xdays:{"-1":" nappal ezelőtt",1:" nap múlva",0:" napja"},xweeks:{"-1":" héttel ezelőtt",1:" hét múlva",0:" hete"},xmonths:{"-1":" hónappal ezelőtt",1:" hónap múlva",0:" hónapja"},xyears:{"-1":" évvel ezelőtt",1:" év múlva",0:" éve"}},Lrt=function(t,n,r){var a=t.match(/about|over|almost|lessthan/i),i=a?t.replace(a[0],""):t,o=(r==null?void 0:r.addSuffix)===!0,l=i.toLowerCase(),u=(r==null?void 0:r.comparison)||0,d=o?$rt[l][u]:Drt[l],f=l==="halfaminute"?d:n+d;if(a){var g=a[0].toLowerCase();f=Irt[g]+" "+f}return f},Frt={full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},jrt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Urt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Brt={date:Ne({formats:Frt,defaultWidth:"full"}),time:Ne({formats:jrt,defaultWidth:"full"}),dateTime:Ne({formats:Urt,defaultWidth:"full"})},Wrt=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function PG(e){return function(t){var n=Wrt[t.getUTCDay()],r=e?"":"'múlt' ";return"".concat(r,"'").concat(n,"' p'-kor'")}}var zrt={lastWeek:PG(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:PG(!0),other:"P"},qrt=function(t,n){var r=zrt[t];return typeof r=="function"?r(n):r},Hrt={narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},Vrt={narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},Grt={narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},Yrt={narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},Krt={narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},Xrt={narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},Qrt=function(t,n){var r=Number(t);return r+"."},Jrt={ordinalNumber:Qrt,era:oe({values:Hrt,defaultWidth:"wide"}),quarter:oe({values:Vrt,defaultWidth:"wide",argumentCallback:function(t){return t-1},formattingValues:Grt,defaultFormattingWidth:"wide"}),month:oe({values:Yrt,defaultWidth:"wide"}),day:oe({values:Krt,defaultWidth:"wide"}),dayPeriod:oe({values:Xrt,defaultWidth:"wide"})},Zrt=/^(\d+)\.?/i,eat=/\d+/i,tat={narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},nat={narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},rat={narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},aat={any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},iat={narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},oat={narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},sat={narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},lat={narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},uat={any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},cat={any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},dat={ordinalNumber:Xt({matchPattern:Zrt,parsePattern:eat,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:tat,defaultMatchWidth:"wide",parsePatterns:nat,defaultParseWidth:"any"}),quarter:se({matchPatterns:rat,defaultMatchWidth:"wide",parsePatterns:aat,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:iat,defaultMatchWidth:"wide",parsePatterns:oat,defaultParseWidth:"any"}),day:se({matchPatterns:sat,defaultMatchWidth:"wide",parsePatterns:lat,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:uat,defaultMatchWidth:"any",parsePatterns:cat,defaultParseWidth:"any"})},fat={code:"hu",formatDistance:Lrt,formatLong:Brt,formatRelative:qrt,localize:Jrt,match:dat,options:{weekStartsOn:1,firstWeekContainsDate:4}};const pat=Object.freeze(Object.defineProperty({__proto__:null,default:fat},Symbol.toStringTag,{value:"Module"})),hat=jt(pat);var mat={lessThanXSeconds:{one:"ավելի քիչ քան 1 վայրկյան",other:"ավելի քիչ քան {{count}} վայրկյան"},xSeconds:{one:"1 վայրկյան",other:"{{count}} վայրկյան"},halfAMinute:"կես րոպե",lessThanXMinutes:{one:"ավելի քիչ քան 1 րոպե",other:"ավելի քիչ քան {{count}} րոպե"},xMinutes:{one:"1 րոպե",other:"{{count}} րոպե"},aboutXHours:{one:"մոտ 1 ժամ",other:"մոտ {{count}} ժամ"},xHours:{one:"1 ժամ",other:"{{count}} ժամ"},xDays:{one:"1 օր",other:"{{count}} օր"},aboutXWeeks:{one:"մոտ 1 շաբաթ",other:"մոտ {{count}} շաբաթ"},xWeeks:{one:"1 շաբաթ",other:"{{count}} շաբաթ"},aboutXMonths:{one:"մոտ 1 ամիս",other:"մոտ {{count}} ամիս"},xMonths:{one:"1 ամիս",other:"{{count}} ամիս"},aboutXYears:{one:"մոտ 1 տարի",other:"մոտ {{count}} տարի"},xYears:{one:"1 տարի",other:"{{count}} տարի"},overXYears:{one:"ավելի քան 1 տարի",other:"ավելի քան {{count}} տարի"},almostXYears:{one:"համարյա 1 տարի",other:"համարյա {{count}} տարի"}},gat=function(t,n,r){var a,i=mat[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" հետո":a+" առաջ":a},vat={full:"d MMMM, y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd.MM.yyyy"},yat={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},bat={full:"{{date}} 'ժ․'{{time}}",long:"{{date}} 'ժ․'{{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wat={date:Ne({formats:vat,defaultWidth:"full"}),time:Ne({formats:yat,defaultWidth:"full"}),dateTime:Ne({formats:bat,defaultWidth:"full"})},Sat={lastWeek:"'նախորդ' eeee p'֊ին'",yesterday:"'երեկ' p'֊ին'",today:"'այսօր' p'֊ին'",tomorrow:"'վաղը' p'֊ին'",nextWeek:"'հաջորդ' eeee p'֊ին'",other:"P"},Eat=function(t,n,r,a){return Sat[t]},Tat={narrow:["Ք","Մ"],abbreviated:["ՔԱ","ՄԹ"],wide:["Քրիստոսից առաջ","Մեր թվարկության"]},Cat={narrow:["1","2","3","4"],abbreviated:["Ք1","Ք2","Ք3","Ք4"],wide:["1֊ին քառորդ","2֊րդ քառորդ","3֊րդ քառորդ","4֊րդ քառորդ"]},kat={narrow:["Հ","Փ","Մ","Ա","Մ","Հ","Հ","Օ","Ս","Հ","Ն","Դ"],abbreviated:["հուն","փետ","մար","ապր","մայ","հուն","հուլ","օգս","սեպ","հոկ","նոյ","դեկ"],wide:["հունվար","փետրվար","մարտ","ապրիլ","մայիս","հունիս","հուլիս","օգոստոս","սեպտեմբեր","հոկտեմբեր","նոյեմբեր","դեկտեմբեր"]},xat={narrow:["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],short:["կր","եր","եք","չք","հգ","ուր","շբ"],abbreviated:["կիր","երկ","երք","չոր","հնգ","ուրբ","շաբ"],wide:["կիրակի","երկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"]},_at={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"}},Oat={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"}},Rat=function(t,n){var r=Number(t),a=r%100;return a<10&&a%10===1?r+"֊ին":r+"֊րդ"},Pat={ordinalNumber:Rat,era:oe({values:Tat,defaultWidth:"wide"}),quarter:oe({values:Cat,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:kat,defaultWidth:"wide"}),day:oe({values:xat,defaultWidth:"wide"}),dayPeriod:oe({values:_at,defaultWidth:"wide",formattingValues:Oat,defaultFormattingWidth:"wide"})},Aat=/^(\d+)((-|֊)?(ին|րդ))?/i,Nat=/\d+/i,Mat={narrow:/^(Ք|Մ)/i,abbreviated:/^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i,wide:/^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i},Iat={any:[/^ք/i,/^մ/i]},Dat={narrow:/^[1234]/i,abbreviated:/^ք[1234]/i,wide:/^[1234]((-|֊)?(ին|րդ)) քառորդ/i},$at={any:[/1/i,/2/i,/3/i,/4/i]},Lat={narrow:/^[հփմաօսնդ]/i,abbreviated:/^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,wide:/^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i},Fat={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]},jat={narrow:/^[եչհոշկ]/i,short:/^(կր|եր|եք|չք|հգ|ուր|շբ)/i,abbreviated:/^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,wide:/^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i},Uat={narrow:[/^կ/i,/^ե/i,/^ե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],short:[/^կ/i,/^եր/i,/^եք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],abbreviated:[/^կ/i,/^երկ/i,/^երք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],wide:[/^կ/i,/^երկ/i,/^երե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i]},Bat={narrow:/^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,any:/^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i},Wat={any:{am:/^a/i,pm:/^p/i,midnight:/կեսգիշեր/i,noon:/կեսօր/i,morning:/առավոտ/i,afternoon:/ցերեկ/i,evening:/երեկո/i,night:/գիշեր/i}},zat={ordinalNumber:Xt({matchPattern:Aat,parsePattern:Nat,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Mat,defaultMatchWidth:"wide",parsePatterns:Iat,defaultParseWidth:"any"}),quarter:se({matchPatterns:Dat,defaultMatchWidth:"wide",parsePatterns:$at,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Lat,defaultMatchWidth:"wide",parsePatterns:Fat,defaultParseWidth:"any"}),day:se({matchPatterns:jat,defaultMatchWidth:"wide",parsePatterns:Uat,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:Bat,defaultMatchWidth:"any",parsePatterns:Wat,defaultParseWidth:"any"})},qat={code:"hy",formatDistance:gat,formatLong:wat,formatRelative:Eat,localize:Pat,match:zat,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Hat=Object.freeze(Object.defineProperty({__proto__:null,default:qat},Symbol.toStringTag,{value:"Module"})),Vat=jt(Hat);var Gat={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},Yat=function(t,n,r){var a,i=Gat[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dalam waktu "+a:a+" yang lalu":a},Kat={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},Xat={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},Qat={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jat={date:Ne({formats:Kat,defaultWidth:"full"}),time:Ne({formats:Xat,defaultWidth:"full"}),dateTime:Ne({formats:Qat,defaultWidth:"full"})},Zat={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},eit=function(t,n,r,a){return Zat[t]},tit={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},nit={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},rit={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},ait={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},iit={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},oit={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},sit=function(t,n){var r=Number(t);return"ke-"+r},lit={ordinalNumber:sit,era:oe({values:tit,defaultWidth:"wide"}),quarter:oe({values:nit,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:rit,defaultWidth:"wide"}),day:oe({values:ait,defaultWidth:"wide"}),dayPeriod:oe({values:iit,defaultWidth:"wide",formattingValues:oit,defaultFormattingWidth:"wide"})},uit=/^ke-(\d+)?/i,cit=/\d+/i,dit={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},fit={any:[/^s/i,/^(m|e)/i]},pit={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},hit={any:[/1/i,/2/i,/3/i,/4/i]},mit={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},git={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,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},vit={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},yit={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},bit={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},wit={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},Sit={ordinalNumber:Xt({matchPattern:uit,parsePattern:cit,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:dit,defaultMatchWidth:"wide",parsePatterns:fit,defaultParseWidth:"any"}),quarter:se({matchPatterns:pit,defaultMatchWidth:"wide",parsePatterns:hit,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:mit,defaultMatchWidth:"wide",parsePatterns:git,defaultParseWidth:"any"}),day:se({matchPatterns:vit,defaultMatchWidth:"wide",parsePatterns:yit,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:bit,defaultMatchWidth:"any",parsePatterns:wit,defaultParseWidth:"any"})},Eit={code:"id",formatDistance:Yat,formatLong:Jat,formatRelative:eit,localize:lit,match:Sit,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Tit=Object.freeze(Object.defineProperty({__proto__:null,default:Eit},Symbol.toStringTag,{value:"Module"})),Cit=jt(Tit);var kit={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXWeeks:{one:"um viku",other:"um {{count}} vikur"},xWeeks:{one:"1 viku",other:"{{count}} vikur"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}},xit=function(t,n,r){var a,i=kit[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"í "+a:a+" síðan":a},_it={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},Oit={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Rit={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Pit={date:Ne({formats:_it,defaultWidth:"full"}),time:Ne({formats:Oit,defaultWidth:"full"}),dateTime:Ne({formats:Rit,defaultWidth:"full"})},Ait={lastWeek:"'síðasta' dddd 'kl.' p",yesterday:"'í gær kl.' p",today:"'í dag kl.' p",tomorrow:"'á morgun kl.' p",nextWeek:"dddd 'kl.' p",other:"P"},Nit=function(t,n,r,a){return Ait[t]},Mit={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},Iit={narrow:["1","2","3","4"],abbreviated:["1F","2F","3F","4F"],wide:["1. fjórðungur","2. fjórðungur","3. fjórðungur","4. fjórðungur"]},Dit={narrow:["J","F","M","A","M","J","J","Á","S","Ó","N","D"],abbreviated:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],wide:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"]},$it={narrow:["S","M","Þ","M","F","F","L"],short:["Su","Má","Þr","Mi","Fi","Fö","La"],abbreviated:["sun.","mán.","þri.","mið.","fim.","fös.","lau."],wide:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"]},Lit={narrow:{am:"f",pm:"e",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"}},Fit={narrow:{am:"f",pm:"e",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"}},jit=function(t,n){var r=Number(t);return r+"."},Uit={ordinalNumber:jit,era:oe({values:Mit,defaultWidth:"wide"}),quarter:oe({values:Iit,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Dit,defaultWidth:"wide"}),day:oe({values:$it,defaultWidth:"wide"}),dayPeriod:oe({values:Lit,defaultWidth:"wide",formattingValues:Fit,defaultFormattingWidth:"wide"})},Bit=/^(\d+)(\.)?/i,Wit=/\d+(\.)?/i,zit={narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},qit={any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},Hit={narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/i},Vit={any:[/1\.?/i,/2\.?/i,/3\.?/i,/4\.?/i]},Git={narrow:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},Yit={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},Kit={narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},Xit={narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},Qit={narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},Jit={any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},Zit={ordinalNumber:Xt({matchPattern:Bit,parsePattern:Wit,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:zit,defaultMatchWidth:"wide",parsePatterns:qit,defaultParseWidth:"any"}),quarter:se({matchPatterns:Hit,defaultMatchWidth:"wide",parsePatterns:Vit,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Git,defaultMatchWidth:"wide",parsePatterns:Yit,defaultParseWidth:"any"}),day:se({matchPatterns:Kit,defaultMatchWidth:"wide",parsePatterns:Xit,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Qit,defaultMatchWidth:"any",parsePatterns:Jit,defaultParseWidth:"any"})},eot={code:"is",formatDistance:xit,formatLong:Pit,formatRelative:Nit,localize:Uit,match:Zit,options:{weekStartsOn:1,firstWeekContainsDate:4}};const tot=Object.freeze(Object.defineProperty({__proto__:null,default:eot},Symbol.toStringTag,{value:"Module"})),not=jt(tot);var rot={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},aot=function(t,n,r){var a,i=rot[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"tra "+a:a+" fa":a},iot={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},oot={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},sot={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},lot={date:Ne({formats:iot,defaultWidth:"full"}),time:Ne({formats:oot,defaultWidth:"full"}),dateTime:Ne({formats:sot,defaultWidth:"full"})},f4=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function uot(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+f4[e]+" scorso alle' p"}}function AG(e){return"'"+f4[e]+" alle' p"}function cot(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+f4[e]+" prossimo alle' p"}}var dot={lastWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?AG(a):uot(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?AG(a):cot(a)},other:"P"},fot=function(t,n,r,a){var i=dot[t];return typeof i=="function"?i(n,r,a):i},pot={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},hot={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},mot={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},got={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},vot={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},yot={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},bot=function(t,n){var r=Number(t);return String(r)},wot={ordinalNumber:bot,era:oe({values:pot,defaultWidth:"wide"}),quarter:oe({values:hot,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:mot,defaultWidth:"wide"}),day:oe({values:got,defaultWidth:"wide"}),dayPeriod:oe({values:vot,defaultWidth:"wide",formattingValues:yot,defaultFormattingWidth:"wide"})},Sot=/^(\d+)(º)?/i,Eot=/\d+/i,Tot={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},Cot={any:[/^a/i,/^(d|e)/i]},kot={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},xot={any:[/1/i,/2/i,/3/i,/4/i]},_ot={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},Oot={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Rot={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},Pot={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},Aot={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},Not={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},Mot={ordinalNumber:Xt({matchPattern:Sot,parsePattern:Eot,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Tot,defaultMatchWidth:"wide",parsePatterns:Cot,defaultParseWidth:"any"}),quarter:se({matchPatterns:kot,defaultMatchWidth:"wide",parsePatterns:xot,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:_ot,defaultMatchWidth:"wide",parsePatterns:Oot,defaultParseWidth:"any"}),day:se({matchPatterns:Rot,defaultMatchWidth:"wide",parsePatterns:Pot,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Aot,defaultMatchWidth:"any",parsePatterns:Not,defaultParseWidth:"any"})},Iot={code:"it",formatDistance:aot,formatLong:lot,formatRelative:fot,localize:wot,match:Mot,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Dot=Object.freeze(Object.defineProperty({__proto__:null,default:Iot},Symbol.toStringTag,{value:"Module"})),$ot=jt(Dot);var Lot={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},Fot=function(t,n,r){r=r||{};var a,i=Lot[t];return typeof i=="string"?a=i:n===1?r.addSuffix&&i.oneWithSuffix?a=i.oneWithSuffix:a=i.one:r.addSuffix&&i.otherWithSuffix?a=i.otherWithSuffix.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r.addSuffix?r.comparison&&r.comparison>0?a+"後":a+"前":a},jot={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},Uot={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Bot={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Wot={date:Ne({formats:jot,defaultWidth:"full"}),time:Ne({formats:Uot,defaultWidth:"full"}),dateTime:Ne({formats:Bot,defaultWidth:"full"})},zot={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},qot=function(t,n,r,a){return zot[t]},Hot={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Vot={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},Got={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},Yot={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},Kot={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},Xot={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},Qot=function(t,n){var r=Number(t),a=String(n==null?void 0:n.unit);switch(a){case"year":return"".concat(r,"年");case"quarter":return"第".concat(r,"四半期");case"month":return"".concat(r,"月");case"week":return"第".concat(r,"週");case"date":return"".concat(r,"日");case"hour":return"".concat(r,"時");case"minute":return"".concat(r,"分");case"second":return"".concat(r,"秒");default:return"".concat(r)}},Jot={ordinalNumber:Qot,era:oe({values:Hot,defaultWidth:"wide"}),quarter:oe({values:Vot,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:Got,defaultWidth:"wide"}),day:oe({values:Yot,defaultWidth:"wide"}),dayPeriod:oe({values:Kot,defaultWidth:"wide",formattingValues:Xot,defaultFormattingWidth:"wide"})},Zot=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,est=/\d+/i,tst={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},nst={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},rst={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},ast={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},ist={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},ost={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},sst={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},lst={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},ust={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},cst={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},dst={ordinalNumber:Xt({matchPattern:Zot,parsePattern:est,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:tst,defaultMatchWidth:"wide",parsePatterns:nst,defaultParseWidth:"any"}),quarter:se({matchPatterns:rst,defaultMatchWidth:"wide",parsePatterns:ast,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:ist,defaultMatchWidth:"wide",parsePatterns:ost,defaultParseWidth:"any"}),day:se({matchPatterns:sst,defaultMatchWidth:"wide",parsePatterns:lst,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:ust,defaultMatchWidth:"any",parsePatterns:cst,defaultParseWidth:"any"})},fst={code:"ja",formatDistance:Fot,formatLong:Wot,formatRelative:qot,localize:Jot,match:dst,options:{weekStartsOn:0,firstWeekContainsDate:1}};const pst=Object.freeze(Object.defineProperty({__proto__:null,default:fst},Symbol.toStringTag,{value:"Module"})),hst=jt(pst);var mst={lessThanXSeconds:{past:"{{count}} წამზე ნაკლები ხნის წინ",present:"{{count}} წამზე ნაკლები",future:"{{count}} წამზე ნაკლებში"},xSeconds:{past:"{{count}} წამის წინ",present:"{{count}} წამი",future:"{{count}} წამში"},halfAMinute:{past:"ნახევარი წუთის წინ",present:"ნახევარი წუთი",future:"ნახევარი წუთში"},lessThanXMinutes:{past:"{{count}} წუთზე ნაკლები ხნის წინ",present:"{{count}} წუთზე ნაკლები",future:"{{count}} წუთზე ნაკლებში"},xMinutes:{past:"{{count}} წუთის წინ",present:"{{count}} წუთი",future:"{{count}} წუთში"},aboutXHours:{past:"დაახლოებით {{count}} საათის წინ",present:"დაახლოებით {{count}} საათი",future:"დაახლოებით {{count}} საათში"},xHours:{past:"{{count}} საათის წინ",present:"{{count}} საათი",future:"{{count}} საათში"},xDays:{past:"{{count}} დღის წინ",present:"{{count}} დღე",future:"{{count}} დღეში"},aboutXWeeks:{past:"დაახლოებით {{count}} კვირას წინ",present:"დაახლოებით {{count}} კვირა",future:"დაახლოებით {{count}} კვირაში"},xWeeks:{past:"{{count}} კვირას კვირა",present:"{{count}} კვირა",future:"{{count}} კვირაში"},aboutXMonths:{past:"დაახლოებით {{count}} თვის წინ",present:"დაახლოებით {{count}} თვე",future:"დაახლოებით {{count}} თვეში"},xMonths:{past:"{{count}} თვის წინ",present:"{{count}} თვე",future:"{{count}} თვეში"},aboutXYears:{past:"დაახლოებით {{count}} წლის წინ",present:"დაახლოებით {{count}} წელი",future:"დაახლოებით {{count}} წელში"},xYears:{past:"{{count}} წლის წინ",present:"{{count}} წელი",future:"{{count}} წელში"},overXYears:{past:"{{count}} წელზე მეტი ხნის წინ",present:"{{count}} წელზე მეტი",future:"{{count}} წელზე მეტი ხნის შემდეგ"},almostXYears:{past:"თითქმის {{count}} წლის წინ",present:"თითქმის {{count}} წელი",future:"თითქმის {{count}} წელში"}},gst=function(t,n,r){var a,i=mst[t];return typeof i=="string"?a=i:r!=null&&r.addSuffix&&r.comparison&&r.comparison>0?a=i.future.replace("{{count}}",String(n)):r!=null&&r.addSuffix?a=i.past.replace("{{count}}",String(n)):a=i.present.replace("{{count}}",String(n)),a},vst={full:"EEEE, do MMMM, y",long:"do, MMMM, y",medium:"d, MMM, y",short:"dd/MM/yyyy"},yst={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bst={full:"{{date}} {{time}}'-ზე'",long:"{{date}} {{time}}'-ზე'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wst={date:Ne({formats:vst,defaultWidth:"full"}),time:Ne({formats:yst,defaultWidth:"full"}),dateTime:Ne({formats:bst,defaultWidth:"full"})},Sst={lastWeek:"'წინა' eeee p'-ზე'",yesterday:"'გუშინ' p'-ზე'",today:"'დღეს' p'-ზე'",tomorrow:"'ხვალ' p'-ზე'",nextWeek:"'შემდეგი' eeee p'-ზე'",other:"P"},Est=function(t,n,r,a){return Sst[t]},Tst={narrow:["ჩ.წ-მდე","ჩ.წ"],abbreviated:["ჩვ.წ-მდე","ჩვ.წ"],wide:["ჩვენს წელთაღრიცხვამდე","ჩვენი წელთაღრიცხვით"]},Cst={narrow:["1","2","3","4"],abbreviated:["1-ლი კვ","2-ე კვ","3-ე კვ","4-ე კვ"],wide:["1-ლი კვარტალი","2-ე კვარტალი","3-ე კვარტალი","4-ე კვარტალი"]},kst={narrow:["ია","თე","მა","აპ","მს","ვნ","ვლ","აგ","სე","ოქ","ნო","დე"],abbreviated:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],wide:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"]},xst={narrow:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],short:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],abbreviated:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],wide:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]},_st={narrow:{am:"a",pm:"p",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"}},Ost={narrow:{am:"a",pm:"p",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"}},Rst=function(t){var n=Number(t);return n===1?n+"-ლი":n+"-ე"},Pst={ordinalNumber:Rst,era:oe({values:Tst,defaultWidth:"wide"}),quarter:oe({values:Cst,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:kst,defaultWidth:"wide"}),day:oe({values:xst,defaultWidth:"wide"}),dayPeriod:oe({values:_st,defaultWidth:"wide",formattingValues:Ost,defaultFormattingWidth:"wide"})},Ast=/^(\d+)(-ლი|-ე)?/i,Nst=/\d+/i,Mst={narrow:/^(ჩვ?\.წ)/i,abbreviated:/^(ჩვ?\.წ)/i,wide:/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i},Ist={any:[/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]},Dst={narrow:/^[1234]/i,abbreviated:/^[1234]-(ლი|ე)? კვ/i,wide:/^[1234]-(ლი|ე)? კვარტალი/i},$st={any:[/1/i,/2/i,/3/i,/4/i]},Lst={any:/^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i},Fst={any:[/^ია/i,/^თ/i,/^მარ/i,/^აპ/i,/^მაი/i,/^ი?ვნ/i,/^ი?ვლ/i,/^აგ/i,/^ს/i,/^ო/i,/^ნ/i,/^დ/i]},jst={narrow:/^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,short:/^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,wide:/^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i},Ust={any:[/^კვ/i,/^ორ/i,/^სა/i,/^ოთ/i,/^ხუ/i,/^პა/i,/^შა/i]},Bst={any:/^([ap]\.?\s?m\.?|შუაღ|დილ)/i},Wst={any:{am:/^a/i,pm:/^p/i,midnight:/^შუაღ/i,noon:/^შუადღ/i,morning:/^დილ/i,afternoon:/ნაშუადღევს/i,evening:/საღამო/i,night:/ღამ/i}},zst={ordinalNumber:Xt({matchPattern:Ast,parsePattern:Nst,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Mst,defaultMatchWidth:"wide",parsePatterns:Ist,defaultParseWidth:"any"}),quarter:se({matchPatterns:Dst,defaultMatchWidth:"wide",parsePatterns:$st,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Lst,defaultMatchWidth:"any",parsePatterns:Fst,defaultParseWidth:"any"}),day:se({matchPatterns:jst,defaultMatchWidth:"wide",parsePatterns:Ust,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Bst,defaultMatchWidth:"any",parsePatterns:Wst,defaultParseWidth:"any"})},qst={code:"ka",formatDistance:gst,formatLong:wst,formatRelative:Est,localize:Pst,match:zst,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Hst=Object.freeze(Object.defineProperty({__proto__:null,default:qst},Symbol.toStringTag,{value:"Module"})),Vst=jt(Hst);var Gst={lessThanXSeconds:{regular:{one:"1 секундтан аз",singularNominative:"{{count}} секундтан аз",singularGenitive:"{{count}} секундтан аз",pluralGenitive:"{{count}} секундтан аз"},future:{one:"бір секундтан кейін",singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},xSeconds:{regular:{singularNominative:"{{count}} секунд",singularGenitive:"{{count}} секунд",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунд бұрын",singularGenitive:"{{count}} секунд бұрын",pluralGenitive:"{{count}} секунд бұрын"},future:{singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},halfAMinute:function(t){return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"жарты минут ішінде":"жарты минут бұрын":"жарты минут"},lessThanXMinutes:{regular:{one:"1 минуттан аз",singularNominative:"{{count}} минуттан аз",singularGenitive:"{{count}} минуттан аз",pluralGenitive:"{{count}} минуттан аз"},future:{one:"минуттан кем ",singularNominative:"{{count}} минуттан кем",singularGenitive:"{{count}} минуттан кем",pluralGenitive:"{{count}} минуттан кем"}},xMinutes:{regular:{singularNominative:"{{count}} минут",singularGenitive:"{{count}} минут",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минут бұрын",singularGenitive:"{{count}} минут бұрын",pluralGenitive:"{{count}} минут бұрын"},future:{singularNominative:"{{count}} минуттан кейін",singularGenitive:"{{count}} минуттан кейін",pluralGenitive:"{{count}} минуттан кейін"}},aboutXHours:{regular:{singularNominative:"шамамен {{count}} сағат",singularGenitive:"шамамен {{count}} сағат",pluralGenitive:"шамамен {{count}} сағат"},future:{singularNominative:"шамамен {{count}} сағаттан кейін",singularGenitive:"шамамен {{count}} сағаттан кейін",pluralGenitive:"шамамен {{count}} сағаттан кейін"}},xHours:{regular:{singularNominative:"{{count}} сағат",singularGenitive:"{{count}} сағат",pluralGenitive:"{{count}} сағат"}},xDays:{regular:{singularNominative:"{{count}} күн",singularGenitive:"{{count}} күн",pluralGenitive:"{{count}} күн"},future:{singularNominative:"{{count}} күннен кейін",singularGenitive:"{{count}} күннен кейін",pluralGenitive:"{{count}} күннен кейін"}},aboutXWeeks:{type:"weeks",one:"шамамен 1 апта",other:"шамамен {{count}} апта"},xWeeks:{type:"weeks",one:"1 апта",other:"{{count}} апта"},aboutXMonths:{regular:{singularNominative:"шамамен {{count}} ай",singularGenitive:"шамамен {{count}} ай",pluralGenitive:"шамамен {{count}} ай"},future:{singularNominative:"шамамен {{count}} айдан кейін",singularGenitive:"шамамен {{count}} айдан кейін",pluralGenitive:"шамамен {{count}} айдан кейін"}},xMonths:{regular:{singularNominative:"{{count}} ай",singularGenitive:"{{count}} ай",pluralGenitive:"{{count}} ай"}},aboutXYears:{regular:{singularNominative:"шамамен {{count}} жыл",singularGenitive:"шамамен {{count}} жыл",pluralGenitive:"шамамен {{count}} жыл"},future:{singularNominative:"шамамен {{count}} жылдан кейін",singularGenitive:"шамамен {{count}} жылдан кейін",pluralGenitive:"шамамен {{count}} жылдан кейін"}},xYears:{regular:{singularNominative:"{{count}} жыл",singularGenitive:"{{count}} жыл",pluralGenitive:"{{count}} жыл"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}},overXYears:{regular:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"},future:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"}},almostXYears:{regular:{singularNominative:"{{count}} жылға жақын",singularGenitive:"{{count}} жылға жақын",pluralGenitive:"{{count}} жылға жақын"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}}};function B1(e,t){if(e.one&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}var Yst=function(t,n,r){var a=Gst[t];return typeof a=="function"?a(r):a.type==="weeks"?n===1?a.one:a.other.replace("{{count}}",String(n)):r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a.future?B1(a.future,n):B1(a.regular,n)+" кейін":a.past?B1(a.past,n):B1(a.regular,n)+" бұрын":B1(a.regular,n)},Kst={full:"EEEE, do MMMM y 'ж.'",long:"do MMMM y 'ж.'",medium:"d MMM y 'ж.'",short:"dd.MM.yyyy"},Xst={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Qst={any:"{{date}}, {{time}}"},Jst={date:Ne({formats:Kst,defaultWidth:"full"}),time:Ne({formats:Xst,defaultWidth:"full"}),dateTime:Ne({formats:Qst,defaultWidth:"any"})},p4=["жексенбіде","дүйсенбіде","сейсенбіде","сәрсенбіде","бейсенбіде","жұмада","сенбіде"];function Zst(e){var t=p4[e];return"'өткен "+t+" сағат' p'-де'"}function NG(e){var t=p4[e];return"'"+t+" сағат' p'-де'"}function elt(e){var t=p4[e];return"'келесі "+t+" сағат' p'-де'"}var tlt={lastWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?NG(a):Zst(a)},yesterday:"'кеше сағат' p'-де'",today:"'бүгін сағат' p'-де'",tomorrow:"'ертең сағат' p'-де'",nextWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?NG(a):elt(a)},other:"P"},nlt=function(t,n,r,a){var i=tlt[t];return typeof i=="function"?i(n,r,a):i},rlt={narrow:["б.з.д.","б.з."],abbreviated:["б.з.д.","б.з."],wide:["біздің заманымызға дейін","біздің заманымыз"]},alt={narrow:["1","2","3","4"],abbreviated:["1-ші тоқ.","2-ші тоқ.","3-ші тоқ.","4-ші тоқ."],wide:["1-ші тоқсан","2-ші тоқсан","3-ші тоқсан","4-ші тоқсан"]},ilt={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},olt={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},slt={narrow:["Ж","Д","С","С","Б","Ж","С"],short:["жс","дс","сс","ср","бс","жм","сб"],abbreviated:["жс","дс","сс","ср","бс","жм","сб"],wide:["жексенбі","дүйсенбі","сейсенбі","сәрсенбі","бейсенбі","жұма","сенбі"]},llt={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"}},ult={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түс",morning:"таң",afternoon:"күн",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түсте",morning:"таңертең",afternoon:"күндіз",evening:"кеште",night:"түнде"}},w$={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},clt=function(t,n){var r=Number(t),a=r%10,i=r>=100?100:null,o=w$[r]||w$[a]||i&&w$[i]||"";return r+o},dlt={ordinalNumber:clt,era:oe({values:rlt,defaultWidth:"wide"}),quarter:oe({values:alt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ilt,defaultWidth:"wide",formattingValues:olt,defaultFormattingWidth:"wide"}),day:oe({values:slt,defaultWidth:"wide"}),dayPeriod:oe({values:llt,defaultWidth:"any",formattingValues:ult,defaultFormattingWidth:"wide"})},flt=/^(\d+)(-?(ші|шы))?/i,plt=/\d+/i,hlt={narrow:/^((б )?з\.?\s?д\.?)/i,abbreviated:/^((б )?з\.?\s?д\.?)/i,wide:/^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i},mlt={any:[/^б/i,/^з/i]},glt={narrow:/^[1234]/i,abbreviated:/^[1234](-?ші)? тоқ.?/i,wide:/^[1234](-?ші)? тоқсан/i},vlt={any:[/1/i,/2/i,/3/i,/4/i]},ylt={narrow:/^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,abbreviated:/^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,wide:/^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i},blt={narrow:[/^қ/i,/^а/i,/^н/i,/^с/i,/^м/i,/^м/i,/^ш/i,/^т/i,/^қ/i,/^қ/i,/^қ/i,/^ж/i],abbreviated:[/^қаң/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]},wlt={narrow:/^(ж|д|с|с|б|ж|с)/i,short:/^(жс|дс|сс|ср|бс|жм|сб)/i,wide:/^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i},Slt={narrow:[/^ж/i,/^д/i,/^с/i,/^с/i,/^б/i,/^ж/i,/^с/i],short:[/^жс/i,/^дс/i,/^сс/i,/^ср/i,/^бс/i,/^жм/i,/^сб/i],any:[/^ж[ек]/i,/^д[үй]/i,/^сe[й]/i,/^сә[р]/i,/^б[ей]/i,/^ж[ұм]/i,/^се[н]/i]},Elt={narrow:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,wide:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,any:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i},Tlt={any:{am:/^ТД/i,pm:/^ТК/i,midnight:/^түн орта/i,noon:/^күндіз/i,morning:/таң/i,afternoon:/түс/i,evening:/кеш/i,night:/түн/i}},Clt={ordinalNumber:Xt({matchPattern:flt,parsePattern:plt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:hlt,defaultMatchWidth:"wide",parsePatterns:mlt,defaultParseWidth:"any"}),quarter:se({matchPatterns:glt,defaultMatchWidth:"wide",parsePatterns:vlt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:ylt,defaultMatchWidth:"wide",parsePatterns:blt,defaultParseWidth:"any"}),day:se({matchPatterns:wlt,defaultMatchWidth:"wide",parsePatterns:Slt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Elt,defaultMatchWidth:"wide",parsePatterns:Tlt,defaultParseWidth:"any"})},klt={code:"kk",formatDistance:Yst,formatLong:Jst,formatRelative:nlt,localize:dlt,match:Clt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const xlt=Object.freeze(Object.defineProperty({__proto__:null,default:klt},Symbol.toStringTag,{value:"Module"})),_lt=jt(xlt);var Olt={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},Rlt=function(t,n,r){var a,i=Olt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" 후":a+" 전":a},Plt={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},Alt={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Nlt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Mlt={date:Ne({formats:Plt,defaultWidth:"full"}),time:Ne({formats:Alt,defaultWidth:"full"}),dateTime:Ne({formats:Nlt,defaultWidth:"full"})},Ilt={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},Dlt=function(t,n,r,a){return Ilt[t]},$lt={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},Llt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},Flt={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},jlt={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},Ult={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},Blt={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},Wlt=function(t,n){var r=Number(t),a=String(n==null?void 0:n.unit);switch(a){case"minute":case"second":return String(r);case"date":return r+"일";default:return r+"번째"}},zlt={ordinalNumber:Wlt,era:oe({values:$lt,defaultWidth:"wide"}),quarter:oe({values:Llt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Flt,defaultWidth:"wide"}),day:oe({values:jlt,defaultWidth:"wide"}),dayPeriod:oe({values:Ult,defaultWidth:"wide",formattingValues:Blt,defaultFormattingWidth:"wide"})},qlt=/^(\d+)(일|번째)?/i,Hlt=/\d+/i,Vlt={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},Glt={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},Ylt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},Klt={any:[/1/i,/2/i,/3/i,/4/i]},Xlt={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},Qlt={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Jlt={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},Zlt={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},eut={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},tut={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},nut={ordinalNumber:Xt({matchPattern:qlt,parsePattern:Hlt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Vlt,defaultMatchWidth:"wide",parsePatterns:Glt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Ylt,defaultMatchWidth:"wide",parsePatterns:Klt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Xlt,defaultMatchWidth:"wide",parsePatterns:Qlt,defaultParseWidth:"any"}),day:se({matchPatterns:Jlt,defaultMatchWidth:"wide",parsePatterns:Zlt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:eut,defaultMatchWidth:"any",parsePatterns:tut,defaultParseWidth:"any"})},rut={code:"ko",formatDistance:Rlt,formatLong:Mlt,formatRelative:Dlt,localize:zlt,match:nut,options:{weekStartsOn:0,firstWeekContainsDate:1}};const aut=Object.freeze(Object.defineProperty({__proto__:null,default:rut},Symbol.toStringTag,{value:"Module"})),iut=jt(aut);var Oae={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xweeks_one:"savaitė_savaitės_savaitę",xweeks_other:"savaitės_savaičių_savaites",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"},MG=function(t,n,r,a){return n?a?"kelių sekundžių":"kelias sekundes":"kelios sekundės"},ts=function(t,n,r,a){return n?a?qp(r)[1]:qp(r)[2]:qp(r)[0]},Ro=function(t,n,r,a){var i=t+" ";return t===1?i+ts(t,n,r,a):n?a?i+qp(r)[1]:i+(IG(t)?qp(r)[1]:qp(r)[2]):i+(IG(t)?qp(r)[1]:qp(r)[0])};function IG(e){return e%10===0||e>10&&e<20}function qp(e){return Oae[e].split("_")}var out={lessThanXSeconds:{one:MG,other:Ro},xSeconds:{one:MG,other:Ro},halfAMinute:"pusė minutės",lessThanXMinutes:{one:ts,other:Ro},xMinutes:{one:ts,other:Ro},aboutXHours:{one:ts,other:Ro},xHours:{one:ts,other:Ro},xDays:{one:ts,other:Ro},aboutXWeeks:{one:ts,other:Ro},xWeeks:{one:ts,other:Ro},aboutXMonths:{one:ts,other:Ro},xMonths:{one:ts,other:Ro},aboutXYears:{one:ts,other:Ro},xYears:{one:ts,other:Ro},overXYears:{one:ts,other:Ro},almostXYears:{one:ts,other:Ro}},sut=function(t,n,r){var a=t.match(/about|over|almost|lessthan/i),i=a?t.replace(a[0],""):t,o=(r==null?void 0:r.comparison)!==void 0&&r.comparison>0,l,u=out[t];if(typeof u=="string"?l=u:n===1?l=u.one(n,(r==null?void 0:r.addSuffix)===!0,i.toLowerCase()+"_one",o):l=u.other(n,(r==null?void 0:r.addSuffix)===!0,i.toLowerCase()+"_other",o),a){var d=a[0].toLowerCase();l=Oae[d]+" "+l}return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"po "+l:"prieš "+l:l},lut={full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},uut={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},cut={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},dut={date:Ne({formats:lut,defaultWidth:"full"}),time:Ne({formats:uut,defaultWidth:"full"}),dateTime:Ne({formats:cut,defaultWidth:"full"})},fut={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"},put=function(t,n,r,a){return fut[t]},hut={narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},mut={narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},gut={narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},vut={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},yut={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},but={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},wut={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},Sut={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},Eut={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},Tut=function(t,n){var r=Number(t);return r+"-oji"},Cut={ordinalNumber:Tut,era:oe({values:hut,defaultWidth:"wide"}),quarter:oe({values:mut,defaultWidth:"wide",formattingValues:gut,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:vut,defaultWidth:"wide",formattingValues:yut,defaultFormattingWidth:"wide"}),day:oe({values:but,defaultWidth:"wide",formattingValues:wut,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:Sut,defaultWidth:"wide",formattingValues:Eut,defaultFormattingWidth:"wide"})},kut=/^(\d+)(-oji)?/i,xut=/\d+/i,_ut={narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},Out={wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},Rut={narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},Put={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},Aut={narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},Nut={narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},Mut={narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i},Iut={narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},Dut={narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},$ut={narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},Lut={ordinalNumber:Xt({matchPattern:kut,parsePattern:xut,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:_ut,defaultMatchWidth:"wide",parsePatterns:Out,defaultParseWidth:"any"}),quarter:se({matchPatterns:Rut,defaultMatchWidth:"wide",parsePatterns:Put,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Aut,defaultMatchWidth:"wide",parsePatterns:Nut,defaultParseWidth:"any"}),day:se({matchPatterns:Mut,defaultMatchWidth:"wide",parsePatterns:Iut,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Dut,defaultMatchWidth:"any",parsePatterns:$ut,defaultParseWidth:"any"})},Fut={code:"lt",formatDistance:sut,formatLong:dut,formatRelative:put,localize:Cut,match:Lut,options:{weekStartsOn:1,firstWeekContainsDate:4}};const jut=Object.freeze(Object.defineProperty({__proto__:null,default:Fut},Symbol.toStringTag,{value:"Module"})),Uut=jt(jut);function Po(e){return function(t,n){if(t===1)return n!=null&&n.addSuffix?e.one[0].replace("{{time}}",e.one[2]):e.one[0].replace("{{time}}",e.one[1]);var r=t%10===1&&t%100!==11;return n!=null&&n.addSuffix?e.other[0].replace("{{time}}",r?e.other[3]:e.other[4]).replace("{{count}}",String(t)):e.other[0].replace("{{time}}",r?e.other[1]:e.other[2]).replace("{{count}}",String(t))}}var But={lessThanXSeconds:Po({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:Po({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?"pusminūtes":"pusminūte"},lessThanXMinutes:Po({one:["mazāk par {{time}}","minūti","minūti"],other:["mazāk nekā {{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),xMinutes:Po({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:Po({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:Po({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:Po({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXWeeks:Po({one:["apmēram 1 {{time}}","nedēļa","nedēļas"],other:["apmēram {{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),xWeeks:Po({one:["1 {{time}}","nedēļa","nedēļas"],other:["{{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),aboutXMonths:Po({one:["apmēram 1 {{time}}","mēnesis","mēneša"],other:["apmēram {{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),xMonths:Po({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:Po({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:Po({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:Po({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:Po({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})},Wut=function(t,n,r){var a=But[t](n,r);return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"pēc "+a:"pirms "+a:a},zut={full:"EEEE, y. 'gada' d. MMMM",long:"y. 'gada' d. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},qut={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Hut={full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vut={date:Ne({formats:zut,defaultWidth:"full"}),time:Ne({formats:qut,defaultWidth:"full"}),dateTime:Ne({formats:Hut,defaultWidth:"full"})},DG=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],Gut={lastWeek:function(t,n,r){if(wi(t,n,r))return"eeee 'plkst.' p";var a=DG[t.getUTCDay()];return"'Pagājušā "+a+" plkst.' p"},yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:function(t,n,r){if(wi(t,n,r))return"eeee 'plkst.' p";var a=DG[t.getUTCDay()];return"'Nākamajā "+a+" plkst.' p"},other:"P"},Yut=function(t,n,r,a){var i=Gut[t];return typeof i=="function"?i(n,r,a):i},Kut={narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},Xut={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},Qut={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},Jut={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"]},Zut={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","martā","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī"]},ect={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"]},tct={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"]},nct={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"diena",evening:"vakars",night:"nakts"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"pēcpusd.",evening:"vakars",night:"nakts"},wide:{am:"am",pm:"pm",midnight:"pusnakts",noon:"pusdienlaiks",morning:"rīts",afternoon:"pēcpusdiena",evening:"vakars",night:"nakts"}},rct={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"dienā",evening:"vakarā",night:"naktī"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"pēcpusd.",evening:"vakarā",night:"naktī"},wide:{am:"am",pm:"pm",midnight:"pusnaktī",noon:"pusdienlaikā",morning:"rītā",afternoon:"pēcpusdienā",evening:"vakarā",night:"naktī"}},act=function(t,n){var r=Number(t);return r+"."},ict={ordinalNumber:act,era:oe({values:Kut,defaultWidth:"wide"}),quarter:oe({values:Xut,defaultWidth:"wide",formattingValues:Qut,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Jut,defaultWidth:"wide",formattingValues:Zut,defaultFormattingWidth:"wide"}),day:oe({values:ect,defaultWidth:"wide",formattingValues:tct,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:nct,defaultWidth:"wide",formattingValues:rct,defaultFormattingWidth:"wide"})},oct=/^(\d+)\./i,sct=/\d+/i,lct={narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},uct={any:[/^p/i,/^m/i]},cct={narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},dct={narrow:[/^1/i,/^2/i,/^3/i,/^4/i],abbreviated:[/^1/i,/^2/i,/^3/i,/^4/i],wide:[/^p/i,/^o/i,/^t/i,/^c/i]},fct={narrow:/^[jfmasond]/i,abbreviated:/^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,wide:/^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i},pct={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,/^mai/i,/^jūn/i,/^jūl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hct={narrow:/^[spotc]/i,short:/^(sv|pi|o|t|c|pk|s)/i,abbreviated:/^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,wide:/^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i},mct={narrow:[/^s/i,/^p/i,/^o/i,/^t/i,/^c/i,/^p/i,/^s/i],any:[/^sv/i,/^pi/i,/^o/i,/^t/i,/^c/i,/^p/i,/^se/i]},gct={narrow:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,abbreviated:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,wide:/^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i},vct={any:{am:/^am/i,pm:/^pm/i,midnight:/^pusn/i,noon:/^pusd/i,morning:/^r/i,afternoon:/^(d|pēc)/i,evening:/^v/i,night:/^n/i}},yct={ordinalNumber:Xt({matchPattern:oct,parsePattern:sct,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:lct,defaultMatchWidth:"wide",parsePatterns:uct,defaultParseWidth:"any"}),quarter:se({matchPatterns:cct,defaultMatchWidth:"wide",parsePatterns:dct,defaultParseWidth:"wide",valueCallback:function(t){return t+1}}),month:se({matchPatterns:fct,defaultMatchWidth:"wide",parsePatterns:pct,defaultParseWidth:"any"}),day:se({matchPatterns:hct,defaultMatchWidth:"wide",parsePatterns:mct,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:gct,defaultMatchWidth:"wide",parsePatterns:vct,defaultParseWidth:"any"})},bct={code:"lv",formatDistance:Wut,formatLong:Vut,formatRelative:Yut,localize:ict,match:yct,options:{weekStartsOn:1,firstWeekContainsDate:4}};const wct=Object.freeze(Object.defineProperty({__proto__:null,default:bct},Symbol.toStringTag,{value:"Module"})),Sct=jt(wct);var Ect={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},Tct=function(t,n,r){var a,i=Ect[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dalam masa "+a:a+" yang lalu":a},Cct={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},kct={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},xct={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_ct={date:Ne({formats:Cct,defaultWidth:"full"}),time:Ne({formats:kct,defaultWidth:"full"}),dateTime:Ne({formats:xct,defaultWidth:"full"})},Oct={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"},Rct=function(t,n,r,a){return Oct[t]},Pct={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},Act={narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},Nct={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},Mct={narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},Ict={narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},Dct={narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},$ct=function(t,n){return"ke-"+Number(t)},Lct={ordinalNumber:$ct,era:oe({values:Pct,defaultWidth:"wide"}),quarter:oe({values:Act,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Nct,defaultWidth:"wide"}),day:oe({values:Mct,defaultWidth:"wide"}),dayPeriod:oe({values:Ict,defaultWidth:"wide",formattingValues:Dct,defaultFormattingWidth:"wide"})},Fct=/^ke-(\d+)?/i,jct=/petama|\d+/i,Uct={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},Bct={any:[/^s/i,/^(m)/i]},Wct={narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},zct={any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},qct={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},Hct={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]},Vct={narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},Gct={narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa/i]},Yct={narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},Kct={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},Xct={ordinalNumber:Xt({matchPattern:Fct,parsePattern:jct,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Uct,defaultMatchWidth:"wide",parsePatterns:Bct,defaultParseWidth:"any"}),quarter:se({matchPatterns:Wct,defaultMatchWidth:"wide",parsePatterns:zct,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:qct,defaultMatchWidth:"wide",parsePatterns:Hct,defaultParseWidth:"any"}),day:se({matchPatterns:Vct,defaultMatchWidth:"wide",parsePatterns:Gct,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Yct,defaultMatchWidth:"any",parsePatterns:Kct,defaultParseWidth:"any"})},Qct={code:"ms",formatDistance:Tct,formatLong:_ct,formatRelative:Rct,localize:Lct,match:Xct,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Jct=Object.freeze(Object.defineProperty({__proto__:null,default:Qct},Symbol.toStringTag,{value:"Module"})),Zct=jt(Jct);var edt={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},tdt=function(t,n,r){var a,i=edt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" siden":a},ndt={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},rdt={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},adt={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},idt={date:Ne({formats:ndt,defaultWidth:"full"}),time:Ne({formats:rdt,defaultWidth:"full"}),dateTime:Ne({formats:adt,defaultWidth:"full"})},odt={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},sdt=function(t,n,r,a){return odt[t]},ldt={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},udt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},cdt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},ddt={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},fdt={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},pdt=function(t,n){var r=Number(t);return r+"."},hdt={ordinalNumber:pdt,era:oe({values:ldt,defaultWidth:"wide"}),quarter:oe({values:udt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:cdt,defaultWidth:"wide"}),day:oe({values:ddt,defaultWidth:"wide"}),dayPeriod:oe({values:fdt,defaultWidth:"wide"})},mdt=/^(\d+)\.?/i,gdt=/\d+/i,vdt={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},ydt={any:[/^f/i,/^e/i]},bdt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},wdt={any:[/1/i,/2/i,/3/i,/4/i]},Sdt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},Edt={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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},Tdt={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},Cdt={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},kdt={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},xdt={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},_dt={ordinalNumber:Xt({matchPattern:mdt,parsePattern:gdt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:vdt,defaultMatchWidth:"wide",parsePatterns:ydt,defaultParseWidth:"any"}),quarter:se({matchPatterns:bdt,defaultMatchWidth:"wide",parsePatterns:wdt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Sdt,defaultMatchWidth:"wide",parsePatterns:Edt,defaultParseWidth:"any"}),day:se({matchPatterns:Tdt,defaultMatchWidth:"wide",parsePatterns:Cdt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:kdt,defaultMatchWidth:"any",parsePatterns:xdt,defaultParseWidth:"any"})},Odt={code:"nb",formatDistance:tdt,formatLong:idt,formatRelative:sdt,localize:hdt,match:_dt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Rdt=Object.freeze(Object.defineProperty({__proto__:null,default:Odt},Symbol.toStringTag,{value:"Module"})),Pdt=jt(Rdt);var Adt={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"}},Ndt=function(t,n,r){var a,i=Adt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"over "+a:a+" geleden":a},Mdt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Idt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Ddt={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$dt={date:Ne({formats:Mdt,defaultWidth:"full"}),time:Ne({formats:Idt,defaultWidth:"full"}),dateTime:Ne({formats:Ddt,defaultWidth:"full"})},Ldt={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Fdt=function(t,n,r,a){return Ldt[t]},jdt={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Udt={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Bdt={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"]},Wdt={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"]},zdt={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"}},qdt=function(t,n){var r=Number(t);return r+"e"},Hdt={ordinalNumber:qdt,era:oe({values:jdt,defaultWidth:"wide"}),quarter:oe({values:Udt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Bdt,defaultWidth:"wide"}),day:oe({values:Wdt,defaultWidth:"wide"}),dayPeriod:oe({values:zdt,defaultWidth:"wide"})},Vdt=/^(\d+)e?/i,Gdt=/\d+/i,Ydt={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Kdt={any:[/^v/,/^n/]},Xdt={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Qdt={any:[/1/i,/2/i,/3/i,/4/i]},Jdt={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},Zdt={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]},eft={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},tft={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]},nft={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},rft={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}},aft={ordinalNumber:Xt({matchPattern:Vdt,parsePattern:Gdt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Ydt,defaultMatchWidth:"wide",parsePatterns:Kdt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Xdt,defaultMatchWidth:"wide",parsePatterns:Qdt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Jdt,defaultMatchWidth:"wide",parsePatterns:Zdt,defaultParseWidth:"any"}),day:se({matchPatterns:eft,defaultMatchWidth:"wide",parsePatterns:tft,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:nft,defaultMatchWidth:"any",parsePatterns:rft,defaultParseWidth:"any"})},ift={code:"nl",formatDistance:Ndt,formatLong:$dt,formatRelative:Fdt,localize:Hdt,match:aft,options:{weekStartsOn:1,firstWeekContainsDate:4}};const oft=Object.freeze(Object.defineProperty({__proto__:null,default:ift},Symbol.toStringTag,{value:"Module"})),sft=jt(oft);var lft={lessThanXSeconds:{one:"mindre enn eitt sekund",other:"mindre enn {{count}} sekund"},xSeconds:{one:"eitt sekund",other:"{{count}} sekund"},halfAMinute:"eit halvt minutt",lessThanXMinutes:{one:"mindre enn eitt minutt",other:"mindre enn {{count}} minutt"},xMinutes:{one:"eitt minutt",other:"{{count}} minutt"},aboutXHours:{one:"omtrent ein time",other:"omtrent {{count}} timar"},xHours:{one:"ein time",other:"{{count}} timar"},xDays:{one:"ein dag",other:"{{count}} dagar"},aboutXWeeks:{one:"omtrent ei veke",other:"omtrent {{count}} veker"},xWeeks:{one:"ei veke",other:"{{count}} veker"},aboutXMonths:{one:"omtrent ein månad",other:"omtrent {{count}} månader"},xMonths:{one:"ein månad",other:"{{count}} månader"},aboutXYears:{one:"omtrent eitt år",other:"omtrent {{count}} år"},xYears:{one:"eitt år",other:"{{count}} år"},overXYears:{one:"over eitt år",other:"over {{count}} år"},almostXYears:{one:"nesten eitt år",other:"nesten {{count}} år"}},uft=["null","ein","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],cft=function(t,n,r){var a,i=lft[t];return typeof i=="string"?a=i:n===1?a=i.one:r&&r.onlyNumeric?a=i.other.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",n<13?uft[n]:String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" sidan":a},dft={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},fft={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pft={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},hft={date:Ne({formats:dft,defaultWidth:"full"}),time:Ne({formats:fft,defaultWidth:"full"}),dateTime:Ne({formats:pft,defaultWidth:"full"})},mft={lastWeek:"'førre' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},gft=function(t,n,r,a){return mft[t]},vft={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},yft={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},bft={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},wft={narrow:["S","M","T","O","T","F","L"],short:["su","må","ty","on","to","fr","lau"],abbreviated:["sun","mån","tys","ons","tor","fre","laur"],wide:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"]},Sft={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natta"}},Eft=function(t,n){var r=Number(t);return r+"."},Tft={ordinalNumber:Eft,era:oe({values:vft,defaultWidth:"wide"}),quarter:oe({values:yft,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:bft,defaultWidth:"wide"}),day:oe({values:wft,defaultWidth:"wide"}),dayPeriod:oe({values:Sft,defaultWidth:"wide"})},Cft=/^(\d+)\.?/i,kft=/\d+/i,xft={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},_ft={any:[/^f/i,/^e/i]},Oft={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},Rft={any:[/1/i,/2/i,/3/i,/4/i]},Pft={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},Aft={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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},Nft={narrow:/^[smtofl]/i,short:/^(su|må|ty|on|to|fr|la)/i,abbreviated:/^(sun|mån|tys|ons|tor|fre|laur)/i,wide:/^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i},Mft={any:[/^s/i,/^m/i,/^ty/i,/^o/i,/^to/i,/^f/i,/^l/i]},Ift={narrow:/^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i},Dft={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},$ft={ordinalNumber:Xt({matchPattern:Cft,parsePattern:kft,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:xft,defaultMatchWidth:"wide",parsePatterns:_ft,defaultParseWidth:"any"}),quarter:se({matchPatterns:Oft,defaultMatchWidth:"wide",parsePatterns:Rft,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Pft,defaultMatchWidth:"wide",parsePatterns:Aft,defaultParseWidth:"any"}),day:se({matchPatterns:Nft,defaultMatchWidth:"wide",parsePatterns:Mft,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Ift,defaultMatchWidth:"any",parsePatterns:Dft,defaultParseWidth:"any"})},Lft={code:"nn",formatDistance:cft,formatLong:hft,formatRelative:gft,localize:Tft,match:$ft,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Fft=Object.freeze(Object.defineProperty({__proto__:null,default:Lft},Symbol.toStringTag,{value:"Module"})),jft=jt(Fft);var Uft={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function Bft(e,t){if(t===1)return e.one;var n=t%100;if(n<=20&&n>10)return e.other;var r=n%10;return r>=2&&r<=4?e.twoFour:e.other}function S$(e,t,n){var r=Bft(e,t),a=typeof r=="string"?r:r[n];return a.replace("{{count}}",String(t))}var Wft=function(t,n,r){var a=Uft[t];return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+S$(a,n,"future"):S$(a,n,"past")+" temu":S$(a,n,"regular")},zft={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},qft={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Hft={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vft={date:Ne({formats:zft,defaultWidth:"full"}),time:Ne({formats:qft,defaultWidth:"full"}),dateTime:Ne({formats:Hft,defaultWidth:"full"})},Gft={masculine:"ostatni",feminine:"ostatnia"},Yft={masculine:"ten",feminine:"ta"},Kft={masculine:"następny",feminine:"następna"},Xft={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function $G(e,t,n,r){var a;if(wi(t,n,r))a=Yft;else if(e==="lastWeek")a=Gft;else if(e==="nextWeek")a=Kft;else throw new Error("Cannot determine adjectives for token ".concat(e));var i=t.getUTCDay(),o=Xft[i],l=a[o];return"'".concat(l,"' eeee 'o' p")}var Qft={lastWeek:$G,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:$G,other:"P"},Jft=function(t,n,r,a){var i=Qft[t];return typeof i=="function"?i(t,n,r,a):i},Zft={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},ept={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},tpt={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},npt={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},rpt={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},apt={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},ipt={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},opt={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},spt=function(t,n){return String(t)},lpt={ordinalNumber:spt,era:oe({values:Zft,defaultWidth:"wide"}),quarter:oe({values:ept,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:tpt,defaultWidth:"wide",formattingValues:npt,defaultFormattingWidth:"wide"}),day:oe({values:rpt,defaultWidth:"wide",formattingValues:apt,defaultFormattingWidth:"wide"}),dayPeriod:oe({values:ipt,defaultWidth:"wide",formattingValues:opt,defaultFormattingWidth:"wide"})},upt=/^(\d+)?/i,cpt=/\d+/i,dpt={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},fpt={any:[/^p/i,/^n/i]},ppt={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},hpt={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},mpt={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},gpt={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},vpt={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},ypt={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},bpt={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},wpt={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},Spt={ordinalNumber:Xt({matchPattern:upt,parsePattern:cpt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:dpt,defaultMatchWidth:"wide",parsePatterns:fpt,defaultParseWidth:"any"}),quarter:se({matchPatterns:ppt,defaultMatchWidth:"wide",parsePatterns:hpt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:mpt,defaultMatchWidth:"wide",parsePatterns:gpt,defaultParseWidth:"any"}),day:se({matchPatterns:vpt,defaultMatchWidth:"wide",parsePatterns:ypt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:bpt,defaultMatchWidth:"any",parsePatterns:wpt,defaultParseWidth:"any"})},Ept={code:"pl",formatDistance:Wft,formatLong:Vft,formatRelative:Jft,localize:lpt,match:Spt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Tpt=Object.freeze(Object.defineProperty({__proto__:null,default:Ept},Symbol.toStringTag,{value:"Module"})),Cpt=jt(Tpt);var kpt={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ês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",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"}},xpt=function(t,n,r){var a,i=kpt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"daqui a "+a:"há "+a:a},_pt={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},Opt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Rpt={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ppt={date:Ne({formats:_pt,defaultWidth:"full"}),time:Ne({formats:Opt,defaultWidth:"full"}),dateTime:Ne({formats:Rpt,defaultWidth:"full"})},Apt={lastWeek:function(t){var n=t.getUTCDay(),r=n===0||n===6?"último":"última";return"'"+r+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Npt=function(t,n,r,a){var i=Apt[t];return typeof i=="function"?i(n):i},Mpt={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},Ipt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Dpt={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ço","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},$pt={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},Lpt={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},Fpt={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},jpt=function(t,n){var r=Number(t);return r+"º"},Upt={ordinalNumber:jpt,era:oe({values:Mpt,defaultWidth:"wide"}),quarter:oe({values:Ipt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Dpt,defaultWidth:"wide"}),day:oe({values:$pt,defaultWidth:"wide"}),dayPeriod:oe({values:Lpt,defaultWidth:"wide",formattingValues:Fpt,defaultFormattingWidth:"wide"})},Bpt=/^(\d+)(º|ª)?/i,Wpt=/\d+/i,zpt={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},qpt={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},Hpt={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},Vpt={any:[/1/i,/2/i,/3/i,/4/i]},Gpt={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},Ypt={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]},Kpt={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},Xpt={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]},Qpt={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},Jpt={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}},Zpt={ordinalNumber:Xt({matchPattern:Bpt,parsePattern:Wpt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:zpt,defaultMatchWidth:"wide",parsePatterns:qpt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Hpt,defaultMatchWidth:"wide",parsePatterns:Vpt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Gpt,defaultMatchWidth:"wide",parsePatterns:Ypt,defaultParseWidth:"any"}),day:se({matchPatterns:Kpt,defaultMatchWidth:"wide",parsePatterns:Xpt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Qpt,defaultMatchWidth:"any",parsePatterns:Jpt,defaultParseWidth:"any"})},eht={code:"pt",formatDistance:xpt,formatLong:Ppt,formatRelative:Npt,localize:Upt,match:Zpt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const tht=Object.freeze(Object.defineProperty({__proto__:null,default:eht},Symbol.toStringTag,{value:"Module"})),nht=jt(tht);var rht={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:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{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"}},aht=function(t,n,r){var a,i=rht[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"em "+a:"há "+a:a},iht={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},oht={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},sht={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},lht={date:Ne({formats:iht,defaultWidth:"full"}),time:Ne({formats:oht,defaultWidth:"full"}),dateTime:Ne({formats:sht,defaultWidth:"full"})},uht={lastWeek:function(t){var n=t.getUTCDay(),r=n===0||n===6?"último":"última";return"'"+r+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},cht=function(t,n,r,a){var i=uht[t];return typeof i=="function"?i(n):i},dht={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},fht={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},pht={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ço","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},hht={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},mht={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},ght={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},vht=function(t,n){var r=Number(t);return(n==null?void 0:n.unit)==="week"?r+"ª":r+"º"},yht={ordinalNumber:vht,era:oe({values:dht,defaultWidth:"wide"}),quarter:oe({values:fht,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:pht,defaultWidth:"wide"}),day:oe({values:hht,defaultWidth:"wide"}),dayPeriod:oe({values:mht,defaultWidth:"wide",formattingValues:ght,defaultFormattingWidth:"wide"})},bht=/^(\d+)[ºªo]?/i,wht=/\d+/i,Sht={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},Eht={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Tht={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Cht={any:[/1/i,/2/i,/3/i,/4/i]},kht={narrow:/^[jfmajsond]/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},xht={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,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},_ht={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},Oht={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},Rht={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},Pht={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},Aht={ordinalNumber:Xt({matchPattern:bht,parsePattern:wht,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Sht,defaultMatchWidth:"wide",parsePatterns:Eht,defaultParseWidth:"any"}),quarter:se({matchPatterns:Tht,defaultMatchWidth:"wide",parsePatterns:Cht,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:kht,defaultMatchWidth:"wide",parsePatterns:xht,defaultParseWidth:"any"}),day:se({matchPatterns:_ht,defaultMatchWidth:"wide",parsePatterns:Oht,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Rht,defaultMatchWidth:"any",parsePatterns:Pht,defaultParseWidth:"any"})},Nht={code:"pt-BR",formatDistance:aht,formatLong:lht,formatRelative:cht,localize:yht,match:Aht,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Mht=Object.freeze(Object.defineProperty({__proto__:null,default:Nht},Symbol.toStringTag,{value:"Module"})),Iht=jt(Mht);var Dht={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXWeeks:{one:"circa o săptămână",other:"circa {{count}} săptămâni"},xWeeks:{one:"1 săptămână",other:"{{count}} săptămâni"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}},$ht=function(t,n,r){var a,i=Dht[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"în "+a:a+" în urmă":a},Lht={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},Fht={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},jht={full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Uht={date:Ne({formats:Lht,defaultWidth:"full"}),time:Ne({formats:Fht,defaultWidth:"full"}),dateTime:Ne({formats:jht,defaultWidth:"full"})},Bht={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"},Wht=function(t,n,r,a){return Bht[t]},zht={narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},qht={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},Hht={narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},Vht={narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},Ght={narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},Yht={narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},Kht=function(t,n){return String(t)},Xht={ordinalNumber:Kht,era:oe({values:zht,defaultWidth:"wide"}),quarter:oe({values:qht,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Hht,defaultWidth:"wide"}),day:oe({values:Vht,defaultWidth:"wide"}),dayPeriod:oe({values:Ght,defaultWidth:"wide",formattingValues:Yht,defaultFormattingWidth:"wide"})},Qht=/^(\d+)?/i,Jht=/\d+/i,Zht={narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},emt={any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},tmt={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},nmt={any:[/1/i,/2/i,/3/i,/4/i]},rmt={narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},amt={narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},imt={narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},omt={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},smt={narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},lmt={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},umt={ordinalNumber:Xt({matchPattern:Qht,parsePattern:Jht,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Zht,defaultMatchWidth:"wide",parsePatterns:emt,defaultParseWidth:"any"}),quarter:se({matchPatterns:tmt,defaultMatchWidth:"wide",parsePatterns:nmt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:rmt,defaultMatchWidth:"wide",parsePatterns:amt,defaultParseWidth:"any"}),day:se({matchPatterns:imt,defaultMatchWidth:"wide",parsePatterns:omt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:smt,defaultMatchWidth:"any",parsePatterns:lmt,defaultParseWidth:"any"})},cmt={code:"ro",formatDistance:$ht,formatLong:Uht,formatRelative:Wht,localize:Xht,match:umt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const dmt=Object.freeze(Object.defineProperty({__proto__:null,default:cmt},Symbol.toStringTag,{value:"Module"})),fmt=jt(dmt);function W1(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function Ao(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?W1(e.future,t):"через "+W1(e.regular,t):e.past?W1(e.past,t):W1(e.regular,t)+" назад":W1(e.regular,t)}}var pmt={lessThanXSeconds:Ao({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:Ao({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:Ao({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:Ao({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:Ao({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:Ao({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:Ao({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:Ao({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:Ao({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:Ao({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:Ao({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:Ao({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:Ao({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:Ao({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:Ao({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},hmt=function(t,n,r){return pmt[t](n,r)},mmt={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},gmt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},vmt={any:"{{date}}, {{time}}"},ymt={date:Ne({formats:mmt,defaultWidth:"full"}),time:Ne({formats:gmt,defaultWidth:"full"}),dateTime:Ne({formats:vmt,defaultWidth:"any"})},h4=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function bmt(e){var t=h4[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function LG(e){var t=h4[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function wmt(e){var t=h4[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var Smt={lastWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?LG(a):bmt(a)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?LG(a):wmt(a)},other:"P"},Emt=function(t,n,r,a){var i=Smt[t];return typeof i=="function"?i(n,r,a):i},Tmt={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},Cmt={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},kmt={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},xmt={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},_mt={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},Omt={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},Rmt={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},Pmt=function(t,n){var r=Number(t),a=n==null?void 0:n.unit,i;return a==="date"?i="-е":a==="week"||a==="minute"||a==="second"?i="-я":i="-й",r+i},Amt={ordinalNumber:Pmt,era:oe({values:Tmt,defaultWidth:"wide"}),quarter:oe({values:Cmt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:kmt,defaultWidth:"wide",formattingValues:xmt,defaultFormattingWidth:"wide"}),day:oe({values:_mt,defaultWidth:"wide"}),dayPeriod:oe({values:Omt,defaultWidth:"any",formattingValues:Rmt,defaultFormattingWidth:"wide"})},Nmt=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,Mmt=/\d+/i,Imt={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Dmt={any:[/^д/i,/^н/i]},$mt={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Lmt={any:[/1/i,/2/i,/3/i,/4/i]},Fmt={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},jmt={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]},Umt={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},Bmt={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},Wmt={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},zmt={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},qmt={ordinalNumber:Xt({matchPattern:Nmt,parsePattern:Mmt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Imt,defaultMatchWidth:"wide",parsePatterns:Dmt,defaultParseWidth:"any"}),quarter:se({matchPatterns:$mt,defaultMatchWidth:"wide",parsePatterns:Lmt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Fmt,defaultMatchWidth:"wide",parsePatterns:jmt,defaultParseWidth:"any"}),day:se({matchPatterns:Umt,defaultMatchWidth:"wide",parsePatterns:Bmt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Wmt,defaultMatchWidth:"wide",parsePatterns:zmt,defaultParseWidth:"any"})},Hmt={code:"ru",formatDistance:hmt,formatLong:ymt,formatRelative:Emt,localize:Amt,match:qmt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Vmt=Object.freeze(Object.defineProperty({__proto__:null,default:Hmt},Symbol.toStringTag,{value:"Module"})),Gmt=jt(Vmt);function Ymt(e,t){return t===1&&e.one?e.one:t>=2&&t<=4&&e.twoFour?e.twoFour:e.other}function E$(e,t,n){var r=Ymt(e,t),a=r[n];return a.replace("{{count}}",String(t))}function Kmt(e){var t=["lessThan","about","over","almost"].filter(function(n){return!!e.match(new RegExp("^"+n))});return t[0]}function T$(e){var t="";return e==="almost"&&(t="takmer"),e==="about"&&(t="približne"),t.length>0?t+" ":""}function C$(e){var t="";return e==="lessThan"&&(t="menej než"),e==="over"&&(t="viac než"),t.length>0?t+" ":""}function Xmt(e){return e.charAt(0).toLowerCase()+e.slice(1)}var Qmt={xSeconds:{one:{present:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{present:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{present:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{present:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{present:"minúta",past:"minútou",future:"minútu"},twoFour:{present:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{present:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{present:"hodina",past:"hodinou",future:"hodinu"},twoFour:{present:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{present:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{present:"deň",past:"dňom",future:"deň"},twoFour:{present:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{present:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{present:"týždeň",past:"týždňom",future:"týždeň"},twoFour:{present:"{{count}} týždne",past:"{{count}} týždňami",future:"{{count}} týždne"},other:{present:"{{count}} týždňov",past:"{{count}} týždňami",future:"{{count}} týždňov"}},xMonths:{one:{present:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{present:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{present:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{present:"rok",past:"rokom",future:"rok"},twoFour:{present:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{present:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}},Jmt=function(t,n,r){var a=Kmt(t)||"",i=Xmt(t.substring(a.length)),o=Qmt[i];return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?T$(a)+"o "+C$(a)+E$(o,n,"future"):T$(a)+"pred "+C$(a)+E$(o,n,"past"):T$(a)+C$(a)+E$(o,n,"present")},Zmt={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},egt={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},tgt={full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},ngt={date:Ne({formats:Zmt,defaultWidth:"full"}),time:Ne({formats:egt,defaultWidth:"full"}),dateTime:Ne({formats:tgt,defaultWidth:"full"})},m4=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function rgt(e){var t=m4[e];switch(e){case 0:case 3:case 6:return"'minulú "+t+" o' p";default:return"'minulý' eeee 'o' p"}}function FG(e){var t=m4[e];return e===4?"'vo' eeee 'o' p":"'v "+t+" o' p"}function agt(e){var t=m4[e];switch(e){case 0:case 4:case 6:return"'budúcu "+t+" o' p";default:return"'budúci' eeee 'o' p"}}var igt={lastWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?FG(a):rgt(a)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return wi(t,n,r)?FG(a):agt(a)},other:"P"},ogt=function(t,n,r,a){var i=igt[t];return typeof i=="function"?i(n,r,a):i},sgt={narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]},lgt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},ugt={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},cgt={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},dgt={narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},fgt={narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},pgt={narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},hgt=function(t,n){var r=Number(t);return r+"."},mgt={ordinalNumber:hgt,era:oe({values:sgt,defaultWidth:"wide"}),quarter:oe({values:lgt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:ugt,defaultWidth:"wide",formattingValues:cgt,defaultFormattingWidth:"wide"}),day:oe({values:dgt,defaultWidth:"wide"}),dayPeriod:oe({values:fgt,defaultWidth:"wide",formattingValues:pgt,defaultFormattingWidth:"wide"})},ggt=/^(\d+)\.?/i,vgt=/\d+/i,ygt={narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},bgt={any:[/^pr/i,/^(po|n)/i]},wgt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},Sgt={any:[/1/i,/2/i,/3/i,/4/i]},Egt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i},Tgt={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,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Cgt={narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},kgt={narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},xgt={narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},_gt={any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},Ogt={ordinalNumber:Xt({matchPattern:ggt,parsePattern:vgt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:ygt,defaultMatchWidth:"wide",parsePatterns:bgt,defaultParseWidth:"any"}),quarter:se({matchPatterns:wgt,defaultMatchWidth:"wide",parsePatterns:Sgt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Egt,defaultMatchWidth:"wide",parsePatterns:Tgt,defaultParseWidth:"any"}),day:se({matchPatterns:Cgt,defaultMatchWidth:"wide",parsePatterns:kgt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:xgt,defaultMatchWidth:"any",parsePatterns:_gt,defaultParseWidth:"any"})},Rgt={code:"sk",formatDistance:Jmt,formatLong:ngt,formatRelative:ogt,localize:mgt,match:Ogt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Pgt=Object.freeze(Object.defineProperty({__proto__:null,default:Rgt},Symbol.toStringTag,{value:"Module"})),Agt=jt(Pgt);function Ngt(e){return e.one!==void 0}var Mgt={lessThanXSeconds:{present:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},past:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},future:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"}},xSeconds:{present:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},past:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},future:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"}},halfAMinute:"pol minute",lessThanXMinutes:{present:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},past:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},future:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"}},xMinutes:{present:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},past:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},future:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"}},aboutXHours:{present:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},past:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},future:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"}},xHours:{present:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},past:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},future:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"}},xDays:{present:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},past:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},future:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},xWeeks:{one:"{{count}} teden",two:"{{count}} tedna",few:"{{count}} tedne",other:"{{count}} tednov"},aboutXMonths:{present:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},past:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},future:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"}},xMonths:{present:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},past:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},future:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} mesece",other:"{{count}} mesecev"}},aboutXYears:{present:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},past:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},future:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"}},xYears:{present:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},past:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},future:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"}},overXYears:{present:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},past:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},future:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"}},almostXYears:{present:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"},past:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"},future:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}}};function Igt(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}var Dgt=function(t,n,r){var a="",i="present";r!=null&&r.addSuffix&&(r.comparison&&r.comparison>0?(i="future",a="čez "):(i="past",a="pred "));var o=Mgt[t];if(typeof o=="string")a+=o;else{var l=Igt(n);Ngt(o)?a+=o[l].replace("{{count}}",String(n)):a+=o[i][l].replace("{{count}}",String(n))}return a},$gt={full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},Lgt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Fgt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},jgt={date:Ne({formats:$gt,defaultWidth:"full"}),time:Ne({formats:Lgt,defaultWidth:"full"}),dateTime:Ne({formats:Fgt,defaultWidth:"full"})},Ugt={lastWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"},Bgt=function(t,n,r,a){var i=Ugt[t];return typeof i=="function"?i(n):i},Wgt={narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},zgt={narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},qgt={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},Hgt={narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},Vgt={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},Ggt={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},Ygt=function(t,n){var r=Number(t);return r+"."},Kgt={ordinalNumber:Ygt,era:oe({values:Wgt,defaultWidth:"wide"}),quarter:oe({values:zgt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:qgt,defaultWidth:"wide"}),day:oe({values:Hgt,defaultWidth:"wide"}),dayPeriod:oe({values:Vgt,defaultWidth:"wide",formattingValues:Ggt,defaultFormattingWidth:"wide"})},Xgt=/^(\d+)\./i,Qgt=/\d+/i,Jgt={abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},Zgt={any:[/^pr/i,/^(po|na[sš]em)/i]},evt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},tvt={any:[/1/i,/2/i,/3/i,/4/i]},nvt={narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i},rvt={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],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},avt={narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i},ivt={narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},ovt={narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},svt={narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},lvt={ordinalNumber:Xt({matchPattern:Xgt,parsePattern:Qgt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Jgt,defaultMatchWidth:"wide",parsePatterns:Zgt,defaultParseWidth:"any"}),quarter:se({matchPatterns:evt,defaultMatchWidth:"wide",parsePatterns:tvt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:nvt,defaultMatchWidth:"wide",parsePatterns:rvt,defaultParseWidth:"wide"}),day:se({matchPatterns:avt,defaultMatchWidth:"wide",parsePatterns:ivt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:ovt,defaultMatchWidth:"any",parsePatterns:svt,defaultParseWidth:"any"})},uvt={code:"sl",formatDistance:Dgt,formatLong:jgt,formatRelative:Bgt,localize:Kgt,match:lvt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const cvt=Object.freeze(Object.defineProperty({__proto__:null,default:uvt},Symbol.toStringTag,{value:"Module"})),dvt=jt(cvt);var fvt={lessThanXSeconds:{one:{standalone:"мање од 1 секунде",withPrepositionAgo:"мање од 1 секунде",withPrepositionIn:"мање од 1 секунду"},dual:"мање од {{count}} секунде",other:"мање од {{count}} секунди"},xSeconds:{one:{standalone:"1 секунда",withPrepositionAgo:"1 секунде",withPrepositionIn:"1 секунду"},dual:"{{count}} секунде",other:"{{count}} секунди"},halfAMinute:"пола минуте",lessThanXMinutes:{one:{standalone:"мање од 1 минуте",withPrepositionAgo:"мање од 1 минуте",withPrepositionIn:"мање од 1 минуту"},dual:"мање од {{count}} минуте",other:"мање од {{count}} минута"},xMinutes:{one:{standalone:"1 минута",withPrepositionAgo:"1 минуте",withPrepositionIn:"1 минуту"},dual:"{{count}} минуте",other:"{{count}} минута"},aboutXHours:{one:{standalone:"око 1 сат",withPrepositionAgo:"око 1 сат",withPrepositionIn:"око 1 сат"},dual:"око {{count}} сата",other:"око {{count}} сати"},xHours:{one:{standalone:"1 сат",withPrepositionAgo:"1 сат",withPrepositionIn:"1 сат"},dual:"{{count}} сата",other:"{{count}} сати"},xDays:{one:{standalone:"1 дан",withPrepositionAgo:"1 дан",withPrepositionIn:"1 дан"},dual:"{{count}} дана",other:"{{count}} дана"},aboutXWeeks:{one:{standalone:"око 1 недељу",withPrepositionAgo:"око 1 недељу",withPrepositionIn:"око 1 недељу"},dual:"око {{count}} недеље",other:"око {{count}} недеље"},xWeeks:{one:{standalone:"1 недељу",withPrepositionAgo:"1 недељу",withPrepositionIn:"1 недељу"},dual:"{{count}} недеље",other:"{{count}} недеље"},aboutXMonths:{one:{standalone:"око 1 месец",withPrepositionAgo:"око 1 месец",withPrepositionIn:"око 1 месец"},dual:"око {{count}} месеца",other:"око {{count}} месеци"},xMonths:{one:{standalone:"1 месец",withPrepositionAgo:"1 месец",withPrepositionIn:"1 месец"},dual:"{{count}} месеца",other:"{{count}} месеци"},aboutXYears:{one:{standalone:"око 1 годину",withPrepositionAgo:"око 1 годину",withPrepositionIn:"око 1 годину"},dual:"око {{count}} године",other:"око {{count}} година"},xYears:{one:{standalone:"1 година",withPrepositionAgo:"1 године",withPrepositionIn:"1 годину"},dual:"{{count}} године",other:"{{count}} година"},overXYears:{one:{standalone:"преко 1 годину",withPrepositionAgo:"преко 1 годину",withPrepositionIn:"преко 1 годину"},dual:"преко {{count}} године",other:"преко {{count}} година"},almostXYears:{one:{standalone:"готово 1 годину",withPrepositionAgo:"готово 1 годину",withPrepositionIn:"готово 1 годину"},dual:"готово {{count}} године",other:"готово {{count}} година"}},pvt=function(t,n,r){var a,i=fvt[t];return typeof i=="string"?a=i:n===1?r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a=i.one.withPrepositionIn:a=i.one.withPrepositionAgo:a=i.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=i.dual.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"за "+a:"пре "+a:a},hvt={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},mvt={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},gvt={full:"{{date}} 'у' {{time}}",long:"{{date}} 'у' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},vvt={date:Ne({formats:hvt,defaultWidth:"full"}),time:Ne({formats:mvt,defaultWidth:"full"}),dateTime:Ne({formats:gvt,defaultWidth:"full"})},yvt={lastWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'прошле недеље у' p";case 3:return"'прошле среде у' p";case 6:return"'прошле суботе у' p";default:return"'прошли' EEEE 'у' p"}},yesterday:"'јуче у' p",today:"'данас у' p",tomorrow:"'сутра у' p",nextWeek:function(t){var n=t.getUTCDay();switch(n){case 0:return"'следеће недеље у' p";case 3:return"'следећу среду у' p";case 6:return"'следећу суботу у' p";default:return"'следећи' EEEE 'у' p"}},other:"P"},bvt=function(t,n,r,a){var i=yvt[t];return typeof i=="function"?i(n):i},wvt={narrow:["пр.н.е.","АД"],abbreviated:["пр. Хр.","по. Хр."],wide:["Пре Христа","После Христа"]},Svt={narrow:["1.","2.","3.","4."],abbreviated:["1. кв.","2. кв.","3. кв.","4. кв."],wide:["1. квартал","2. квартал","3. квартал","4. квартал"]},Evt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},Tvt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},Cvt={narrow:["Н","П","У","С","Ч","П","С"],short:["нед","пон","уто","сре","чет","пет","суб"],abbreviated:["нед","пон","уто","сре","чет","пет","суб"],wide:["недеља","понедељак","уторак","среда","четвртак","петак","субота"]},kvt={narrow:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},xvt={narrow:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},_vt=function(t,n){var r=Number(t);return r+"."},Ovt={ordinalNumber:_vt,era:oe({values:wvt,defaultWidth:"wide"}),quarter:oe({values:Svt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Evt,defaultWidth:"wide",formattingValues:Tvt,defaultFormattingWidth:"wide"}),day:oe({values:Cvt,defaultWidth:"wide"}),dayPeriod:oe({values:xvt,defaultWidth:"wide",formattingValues:kvt,defaultFormattingWidth:"wide"})},Rvt=/^(\d+)\./i,Pvt=/\d+/i,Avt={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},Nvt={any:[/^пр/i,/^(по|нова)/i]},Mvt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},Ivt={any:[/1/i,/2/i,/3/i,/4/i]},Dvt={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},$vt={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},Lvt={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},Fvt={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^п/i,/^с/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},jvt={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},Uvt={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},Bvt={ordinalNumber:Xt({matchPattern:Rvt,parsePattern:Pvt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Avt,defaultMatchWidth:"wide",parsePatterns:Nvt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Mvt,defaultMatchWidth:"wide",parsePatterns:Ivt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Dvt,defaultMatchWidth:"wide",parsePatterns:$vt,defaultParseWidth:"any"}),day:se({matchPatterns:Lvt,defaultMatchWidth:"wide",parsePatterns:Fvt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:jvt,defaultMatchWidth:"any",parsePatterns:Uvt,defaultParseWidth:"any"})},Wvt={code:"sr",formatDistance:pvt,formatLong:vvt,formatRelative:bvt,localize:Ovt,match:Bvt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const zvt=Object.freeze(Object.defineProperty({__proto__:null,default:Wvt},Symbol.toStringTag,{value:"Module"})),qvt=jt(zvt);var Hvt={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 nedelju",withPrepositionAgo:"oko 1 nedelju",withPrepositionIn:"oko 1 nedelju"},dual:"oko {{count}} nedelje",other:"oko {{count}} nedelje"},xWeeks:{one:{standalone:"1 nedelju",withPrepositionAgo:"1 nedelju",withPrepositionIn:"1 nedelju"},dual:"{{count}} nedelje",other:"{{count}} nedelje"},aboutXMonths:{one:{standalone:"oko 1 mesec",withPrepositionAgo:"oko 1 mesec",withPrepositionIn:"oko 1 mesec"},dual:"oko {{count}} meseca",other:"oko {{count}} meseci"},xMonths:{one:{standalone:"1 mesec",withPrepositionAgo:"1 mesec",withPrepositionIn:"1 mesec"},dual:"{{count}} meseca",other:"{{count}} meseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},Vvt=function(t,n,r){var a,i=Hvt[t];return typeof i=="string"?a=i:n===1?r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a=i.one.withPrepositionIn:a=i.one.withPrepositionAgo:a=i.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=i.dual.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+a:"pre "+a:a},Gvt={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},Yvt={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Kvt={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Xvt={date:Ne({formats:Gvt,defaultWidth:"full"}),time:Ne({formats:Yvt,defaultWidth:"full"}),dateTime:Ne({formats:Kvt,defaultWidth:"full"})},Qvt={lastWeek:function(t){switch(t.getUTCDay()){case 0:return"'prošle nedelje u' p";case 3:return"'prošle srede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(t){switch(t.getUTCDay()){case 0:return"'sledeće nedelje u' p";case 3:return"'sledeću sredu u' p";case 6:return"'sledeću subotu u' p";default:return"'sledeći' EEEE 'u' p"}},other:"P"},Jvt=function(t,n,r,a){var i=Qvt[t];return typeof i=="function"?i(n):i},Zvt={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Pre Hrista","Posle Hrista"]},eyt={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},tyt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},nyt={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},ryt={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"]},ayt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},iyt={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},oyt=function(t,n){var r=Number(t);return r+"."},syt={ordinalNumber:oyt,era:oe({values:Zvt,defaultWidth:"wide"}),quarter:oe({values:eyt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:tyt,defaultWidth:"wide",formattingValues:nyt,defaultFormattingWidth:"wide"}),day:oe({values:ryt,defaultWidth:"wide"}),dayPeriod:oe({values:iyt,defaultWidth:"wide",formattingValues:ayt,defaultFormattingWidth:"wide"})},lyt=/^(\d+)\./i,uyt=/\d+/i,cyt={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i},dyt={any:[/^pr/i,/^(po|nova)/i]},fyt={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},pyt={any:[/1/i,/2/i,/3/i,/4/i]},hyt={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},myt={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},gyt={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i},vyt={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]},yyt={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i},byt={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(posle\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},wyt={ordinalNumber:Xt({matchPattern:lyt,parsePattern:uyt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:cyt,defaultMatchWidth:"wide",parsePatterns:dyt,defaultParseWidth:"any"}),quarter:se({matchPatterns:fyt,defaultMatchWidth:"wide",parsePatterns:pyt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:hyt,defaultMatchWidth:"wide",parsePatterns:myt,defaultParseWidth:"any"}),day:se({matchPatterns:gyt,defaultMatchWidth:"wide",parsePatterns:vyt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:yyt,defaultMatchWidth:"any",parsePatterns:byt,defaultParseWidth:"any"})},Syt={code:"sr-Latn",formatDistance:Vvt,formatLong:Xvt,formatRelative:Jvt,localize:syt,match:wyt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Eyt=Object.freeze(Object.defineProperty({__proto__:null,default:Syt},Symbol.toStringTag,{value:"Module"})),Tyt=jt(Eyt);var Cyt={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},kyt=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],xyt=function(t,n,r){var a,i=Cyt[t];return typeof i=="string"?a=i:n===1?a=i.one:r&&r.onlyNumeric?a=i.other.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",n<13?kyt[n]:String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" sedan":a},_yt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},Oyt={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Ryt={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Pyt={date:Ne({formats:_yt,defaultWidth:"full"}),time:Ne({formats:Oyt,defaultWidth:"full"}),dateTime:Ne({formats:Ryt,defaultWidth:"full"})},Ayt={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},Nyt=function(t,n,r,a){return Ayt[t]},Myt={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},Iyt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},Dyt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},$yt={narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},Lyt={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},Fyt={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},jyt=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:case 2:return r+":a"}return r+":e"},Uyt={ordinalNumber:jyt,era:oe({values:Myt,defaultWidth:"wide"}),quarter:oe({values:Iyt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Dyt,defaultWidth:"wide"}),day:oe({values:$yt,defaultWidth:"wide"}),dayPeriod:oe({values:Lyt,defaultWidth:"wide",formattingValues:Fyt,defaultFormattingWidth:"wide"})},Byt=/^(\d+)(:a|:e)?/i,Wyt=/\d+/i,zyt={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},qyt={any:[/^f/i,/^[ev]/i]},Hyt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},Vyt={any:[/1/i,/2/i,/3/i,/4/i]},Gyt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},Yyt={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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kyt={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},Xyt={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},Qyt={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},Jyt={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},Zyt={ordinalNumber:Xt({matchPattern:Byt,parsePattern:Wyt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:zyt,defaultMatchWidth:"wide",parsePatterns:qyt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Hyt,defaultMatchWidth:"wide",parsePatterns:Vyt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Gyt,defaultMatchWidth:"wide",parsePatterns:Yyt,defaultParseWidth:"any"}),day:se({matchPatterns:Kyt,defaultMatchWidth:"wide",parsePatterns:Xyt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Qyt,defaultMatchWidth:"any",parsePatterns:Jyt,defaultParseWidth:"any"})},ebt={code:"sv",formatDistance:xyt,formatLong:Pyt,formatRelative:Nyt,localize:Uyt,match:Zyt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const tbt=Object.freeze(Object.defineProperty({__proto__:null,default:ebt},Symbol.toStringTag,{value:"Module"})),nbt=jt(tbt);function rbt(e){return e.one!==void 0}var abt={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் குறைவாக",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXWeeks:{one:{default:"சுமார் 1 வாரம்",in:"சுமார் 1 வாரத்தில்",ago:"சுமார் 1 வாரம் முன்பு"},other:{default:"சுமார் {{count}} வாரங்கள்",in:"சுமார் {{count}} வாரங்களில்",ago:"சுமார் {{count}} வாரங்களுக்கு முன்பு"}},xWeeks:{one:{default:"1 வாரம்",in:"1 வாரத்தில்",ago:"1 வாரம் முன்பு"},other:{default:"{{count}} வாரங்கள்",in:"{{count}} வாரங்களில்",ago:"{{count}} வாரங்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}},ibt=function(t,n,r){var a=r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in":"ago":"default",i=abt[t];return rbt(i)?n===1?i.one[a]:i.other[a].replace("{{count}}",String(n)):i[a]},obt={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},sbt={full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},lbt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ubt={date:Ne({formats:obt,defaultWidth:"full"}),time:Ne({formats:sbt,defaultWidth:"full"}),dateTime:Ne({formats:lbt,defaultWidth:"full"})},cbt={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"},dbt=function(t,n,r,a){return cbt[t]},fbt={narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},pbt={narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},hbt={narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},mbt={narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},gbt={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},vbt={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},ybt=function(t,n){return String(t)},bbt={ordinalNumber:ybt,era:oe({values:fbt,defaultWidth:"wide"}),quarter:oe({values:pbt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:hbt,defaultWidth:"wide"}),day:oe({values:mbt,defaultWidth:"wide"}),dayPeriod:oe({values:gbt,defaultWidth:"wide",formattingValues:vbt,defaultFormattingWidth:"wide"})},wbt=/^(\d+)(வது)?/i,Sbt=/\d+/i,Ebt={narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},Tbt={any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},Cbt={narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},kbt={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},xbt={narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},_bt={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]},Obt={narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},Rbt={narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},Pbt={narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},Abt={any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},Nbt={ordinalNumber:Xt({matchPattern:wbt,parsePattern:Sbt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Ebt,defaultMatchWidth:"wide",parsePatterns:Tbt,defaultParseWidth:"any"}),quarter:se({matchPatterns:Cbt,defaultMatchWidth:"wide",parsePatterns:kbt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:xbt,defaultMatchWidth:"wide",parsePatterns:_bt,defaultParseWidth:"any"}),day:se({matchPatterns:Obt,defaultMatchWidth:"wide",parsePatterns:Rbt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Pbt,defaultMatchWidth:"any",parsePatterns:Abt,defaultParseWidth:"any"})},Mbt={code:"ta",formatDistance:ibt,formatLong:ubt,formatRelative:dbt,localize:bbt,match:Nbt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Ibt=Object.freeze(Object.defineProperty({__proto__:null,default:Mbt},Symbol.toStringTag,{value:"Module"})),Dbt=jt(Ibt);var jG={lessThanXSeconds:{standalone:{one:"సెకను కన్నా తక్కువ",other:"{{count}} సెకన్ల కన్నా తక్కువ"},withPreposition:{one:"సెకను",other:"{{count}} సెకన్ల"}},xSeconds:{standalone:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"},withPreposition:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"}},halfAMinute:{standalone:"అర నిమిషం",withPreposition:"అర నిమిషం"},lessThanXMinutes:{standalone:{one:"ఒక నిమిషం కన్నా తక్కువ",other:"{{count}} నిమిషాల కన్నా తక్కువ"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},xMinutes:{standalone:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాలు"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},aboutXHours:{standalone:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటలు"},withPreposition:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటల"}},xHours:{standalone:{one:"ఒక గంట",other:"{{count}} గంటలు"},withPreposition:{one:"ఒక గంట",other:"{{count}} గంటల"}},xDays:{standalone:{one:"ఒక రోజు",other:"{{count}} రోజులు"},withPreposition:{one:"ఒక రోజు",other:"{{count}} రోజుల"}},aboutXWeeks:{standalone:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలు"},withPreposition:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలల"}},xWeeks:{standalone:{one:"ఒక వారం",other:"{{count}} వారాలు"},withPreposition:{one:"ఒక వారం",other:"{{count}} వారాలల"}},aboutXMonths:{standalone:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలలు"},withPreposition:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలల"}},xMonths:{standalone:{one:"ఒక నెల",other:"{{count}} నెలలు"},withPreposition:{one:"ఒక నెల",other:"{{count}} నెలల"}},aboutXYears:{standalone:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాలు"},withPreposition:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాల"}},xYears:{standalone:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాలు"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},overXYears:{standalone:{one:"ఒక సంవత్సరం పైగా",other:"{{count}} సంవత్సరాలకు పైగా"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},almostXYears:{standalone:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాలు"},withPreposition:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాల"}}},$bt=function(t,n,r){var a,i=r!=null&&r.addSuffix?jG[t].withPreposition:jG[t].standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"లో":a+" క్రితం":a},Lbt={full:"d, MMMM y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd-MM-yy"},Fbt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},jbt={full:"{{date}} {{time}}'కి'",long:"{{date}} {{time}}'కి'",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Ubt={date:Ne({formats:Lbt,defaultWidth:"full"}),time:Ne({formats:Fbt,defaultWidth:"full"}),dateTime:Ne({formats:jbt,defaultWidth:"full"})},Bbt={lastWeek:"'గత' eeee p",yesterday:"'నిన్న' p",today:"'ఈ రోజు' p",tomorrow:"'రేపు' p",nextWeek:"'తదుపరి' eeee p",other:"P"},Wbt=function(t,n,r,a){return Bbt[t]},zbt={narrow:["క్రీ.పూ.","క్రీ.శ."],abbreviated:["క్రీ.పూ.","క్రీ.శ."],wide:["క్రీస్తు పూర్వం","క్రీస్తుశకం"]},qbt={narrow:["1","2","3","4"],abbreviated:["త్రై1","త్రై2","త్రై3","త్రై4"],wide:["1వ త్రైమాసికం","2వ త్రైమాసికం","3వ త్రైమాసికం","4వ త్రైమాసికం"]},Hbt={narrow:["జ","ఫి","మా","ఏ","మే","జూ","జు","ఆ","సె","అ","న","డి"],abbreviated:["జన","ఫిబ్ర","మార్చి","ఏప్రి","మే","జూన్","జులై","ఆగ","సెప్టెం","అక్టో","నవం","డిసెం"],wide:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జులై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"]},Vbt={narrow:["ఆ","సో","మ","బు","గు","శు","శ"],short:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],abbreviated:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],wide:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"]},Gbt={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},Ybt={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},Kbt=function(t,n){var r=Number(t);return r+"వ"},Xbt={ordinalNumber:Kbt,era:oe({values:zbt,defaultWidth:"wide"}),quarter:oe({values:qbt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Hbt,defaultWidth:"wide"}),day:oe({values:Vbt,defaultWidth:"wide"}),dayPeriod:oe({values:Gbt,defaultWidth:"wide",formattingValues:Ybt,defaultFormattingWidth:"wide"})},Qbt=/^(\d+)(వ)?/i,Jbt=/\d+/i,Zbt={narrow:/^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,abbreviated:/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,wide:/^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i},e0t={any:[/^(పూ|శ)/i,/^సా/i]},t0t={narrow:/^[1234]/i,abbreviated:/^త్రై[1234]/i,wide:/^[1234](వ)? త్రైమాసికం/i},n0t={any:[/1/i,/2/i,/3/i,/4/i]},r0t={narrow:/^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,abbreviated:/^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,wide:/^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i},a0t={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]},i0t={narrow:/^(ఆ|సో|మ|బు|గు|శు|శ)/i,short:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,abbreviated:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,wide:/^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i},o0t={narrow:[/^ఆ/i,/^సో/i,/^మ/i,/^బు/i,/^గు/i,/^శు/i,/^శ/i],any:[/^ఆది/i,/^సోమ/i,/^మం/i,/^బుధ/i,/^గురు/i,/^శుక్ర/i,/^శని/i]},s0t={narrow:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,any:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i},l0t={any:{am:/^పూర్వాహ్నం/i,pm:/^అపరాహ్నం/i,midnight:/^అర్ధ/i,noon:/^మిట్ట/i,morning:/ఉదయం/i,afternoon:/మధ్యాహ్నం/i,evening:/సాయంత్రం/i,night:/రాత్రి/i}},u0t={ordinalNumber:Xt({matchPattern:Qbt,parsePattern:Jbt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Zbt,defaultMatchWidth:"wide",parsePatterns:e0t,defaultParseWidth:"any"}),quarter:se({matchPatterns:t0t,defaultMatchWidth:"wide",parsePatterns:n0t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:r0t,defaultMatchWidth:"wide",parsePatterns:a0t,defaultParseWidth:"any"}),day:se({matchPatterns:i0t,defaultMatchWidth:"wide",parsePatterns:o0t,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:s0t,defaultMatchWidth:"any",parsePatterns:l0t,defaultParseWidth:"any"})},c0t={code:"te",formatDistance:$bt,formatLong:Ubt,formatRelative:Wbt,localize:Xbt,match:u0t,options:{weekStartsOn:0,firstWeekContainsDate:1}};const d0t=Object.freeze(Object.defineProperty({__proto__:null,default:c0t},Symbol.toStringTag,{value:"Module"})),f0t=jt(d0t);var p0t={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},h0t=function(t,n,r){var a,i=p0t[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?t==="halfAMinute"?"ใน"+a:"ใน "+a:a+"ที่ผ่านมา":a},m0t={full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},g0t={full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},v0t={full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y0t={date:Ne({formats:m0t,defaultWidth:"full"}),time:Ne({formats:g0t,defaultWidth:"medium"}),dateTime:Ne({formats:v0t,defaultWidth:"full"})},b0t={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},w0t=function(t,n,r,a){return b0t[t]},S0t={narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},E0t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},T0t={narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},C0t={narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},k0t={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},x0t={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},_0t=function(t,n){return String(t)},O0t={ordinalNumber:_0t,era:oe({values:S0t,defaultWidth:"wide"}),quarter:oe({values:E0t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:C0t,defaultWidth:"wide"}),day:oe({values:T0t,defaultWidth:"wide"}),dayPeriod:oe({values:k0t,defaultWidth:"wide",formattingValues:x0t,defaultFormattingWidth:"wide"})},R0t=/^\d+/i,P0t=/\d+/i,A0t={narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},N0t={any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},M0t={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},I0t={any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},D0t={narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},$0t={wide:[/^มก/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]},L0t={narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},F0t={wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},j0t={any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},U0t={any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},B0t={ordinalNumber:Xt({matchPattern:R0t,parsePattern:P0t,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:A0t,defaultMatchWidth:"wide",parsePatterns:N0t,defaultParseWidth:"any"}),quarter:se({matchPatterns:M0t,defaultMatchWidth:"wide",parsePatterns:I0t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:D0t,defaultMatchWidth:"wide",parsePatterns:$0t,defaultParseWidth:"any"}),day:se({matchPatterns:L0t,defaultMatchWidth:"wide",parsePatterns:F0t,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:j0t,defaultMatchWidth:"any",parsePatterns:U0t,defaultParseWidth:"any"})},W0t={code:"th",formatDistance:h0t,formatLong:y0t,formatRelative:w0t,localize:O0t,match:B0t,options:{weekStartsOn:0,firstWeekContainsDate:1}};const z0t=Object.freeze(Object.defineProperty({__proto__:null,default:W0t},Symbol.toStringTag,{value:"Module"})),q0t=jt(z0t);var H0t={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},V0t=function(t,n,r){var a,i=H0t[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" sonra":a+" önce":a},G0t={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},Y0t={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},K0t={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},X0t={date:Ne({formats:G0t,defaultWidth:"full"}),time:Ne({formats:Y0t,defaultWidth:"full"}),dateTime:Ne({formats:K0t,defaultWidth:"full"})},Q0t={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},J0t=function(t,n,r,a){return Q0t[t]},Z0t={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},ewt={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},twt={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},nwt={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},rwt={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},awt={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},iwt=function(t,n){var r=Number(t);return r+"."},owt={ordinalNumber:iwt,era:oe({values:Z0t,defaultWidth:"wide"}),quarter:oe({values:ewt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:oe({values:twt,defaultWidth:"wide"}),day:oe({values:nwt,defaultWidth:"wide"}),dayPeriod:oe({values:rwt,defaultWidth:"wide",formattingValues:awt,defaultFormattingWidth:"wide"})},swt=/^(\d+)(\.)?/i,lwt=/\d+/i,uwt={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},cwt={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},dwt={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},fwt={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]},pwt={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},hwt={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]},mwt={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},gwt={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]},vwt={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},ywt={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}},bwt={ordinalNumber:Xt({matchPattern:swt,parsePattern:lwt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:uwt,defaultMatchWidth:"wide",parsePatterns:cwt,defaultParseWidth:"any"}),quarter:se({matchPatterns:dwt,defaultMatchWidth:"wide",parsePatterns:fwt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:pwt,defaultMatchWidth:"wide",parsePatterns:hwt,defaultParseWidth:"any"}),day:se({matchPatterns:mwt,defaultMatchWidth:"wide",parsePatterns:gwt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:vwt,defaultMatchWidth:"any",parsePatterns:ywt,defaultParseWidth:"any"})},wwt={code:"tr",formatDistance:V0t,formatLong:X0t,formatRelative:J0t,localize:owt,match:bwt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const Swt=Object.freeze(Object.defineProperty({__proto__:null,default:wwt},Symbol.toStringTag,{value:"Module"})),Ewt=jt(Swt);var Twt={lessThanXSeconds:{one:"بىر سىكۇنت ئىچىدە",other:"سىكۇنت ئىچىدە {{count}}"},xSeconds:{one:"بىر سىكۇنت",other:"سىكۇنت {{count}}"},halfAMinute:"يىرىم مىنۇت",lessThanXMinutes:{one:"بىر مىنۇت ئىچىدە",other:"مىنۇت ئىچىدە {{count}}"},xMinutes:{one:"بىر مىنۇت",other:"مىنۇت {{count}}"},aboutXHours:{one:"تەخمىنەن بىر سائەت",other:"سائەت {{count}} تەخمىنەن"},xHours:{one:"بىر سائەت",other:"سائەت {{count}}"},xDays:{one:"بىر كۈن",other:"كۈن {{count}}"},aboutXWeeks:{one:"تەخمىنەن بىرھەپتە",other:"ھەپتە {{count}} تەخمىنەن"},xWeeks:{one:"بىرھەپتە",other:"ھەپتە {{count}}"},aboutXMonths:{one:"تەخمىنەن بىر ئاي",other:"ئاي {{count}} تەخمىنەن"},xMonths:{one:"بىر ئاي",other:"ئاي {{count}}"},aboutXYears:{one:"تەخمىنەن بىر يىل",other:"يىل {{count}} تەخمىنەن"},xYears:{one:"بىر يىل",other:"يىل {{count}}"},overXYears:{one:"بىر يىلدىن ئارتۇق",other:"يىلدىن ئارتۇق {{count}}"},almostXYears:{one:"ئاساسەن بىر يىل",other:"يىل {{count}} ئاساسەن"}},Cwt=function(t,n,r){var a,i=Twt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a:a+" بولدى":a},kwt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xwt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_wt={full:"{{date}} 'دە' {{time}}",long:"{{date}} 'دە' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Owt={date:Ne({formats:kwt,defaultWidth:"full"}),time:Ne({formats:xwt,defaultWidth:"full"}),dateTime:Ne({formats:_wt,defaultWidth:"full"})},Rwt={lastWeek:"'ئ‍ۆتكەن' eeee 'دە' p",yesterday:"'تۈنۈگۈن دە' p",today:"'بۈگۈن دە' p",tomorrow:"'ئەتە دە' p",nextWeek:"eeee 'دە' p",other:"P"},Pwt=function(t,n,r,a){return Rwt[t]},Awt={narrow:["ب","ك"],abbreviated:["ب","ك"],wide:["مىيلادىدىن بۇرۇن","مىيلادىدىن كىيىن"]},Nwt={narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["بىرىنجى چارەك","ئىككىنجى چارەك","ئۈچىنجى چارەك","تۆتىنجى چارەك"]},Mwt={narrow:["ي","ف","م","ا","م","ى","ى","ا","س","ۆ","ن","د"],abbreviated:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"],wide:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"]},Iwt={narrow:["ي","د","س","چ","پ","ج","ش"],short:["ي","د","س","چ","پ","ج","ش"],abbreviated:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],wide:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},Dwt={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"}},$wt={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"}},Lwt=function(t,n){return String(t)},Fwt={ordinalNumber:Lwt,era:oe({values:Awt,defaultWidth:"wide"}),quarter:oe({values:Nwt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:Mwt,defaultWidth:"wide"}),day:oe({values:Iwt,defaultWidth:"wide"}),dayPeriod:oe({values:Dwt,defaultWidth:"wide",formattingValues:$wt,defaultFormattingWidth:"wide"})},jwt=/^(\d+)(th|st|nd|rd)?/i,Uwt=/\d+/i,Bwt={narrow:/^(ب|ك)/i,wide:/^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i},Wwt={any:[/^بۇرۇن/i,/^كىيىن/i]},zwt={narrow:/^[1234]/i,abbreviated:/^چ[1234]/i,wide:/^چارەك [1234]/i},qwt={any:[/1/i,/2/i,/3/i,/4/i]},Hwt={narrow:/^[يفمئامئ‍ئاسۆند]/i,abbreviated:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,wide:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i},Vwt={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]},Gwt={narrow:/^[دسچپجشي]/i,short:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},Ywt={narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},Kwt={narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},Xwt={any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},Qwt={ordinalNumber:Xt({matchPattern:jwt,parsePattern:Uwt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:Bwt,defaultMatchWidth:"wide",parsePatterns:Wwt,defaultParseWidth:"any"}),quarter:se({matchPatterns:zwt,defaultMatchWidth:"wide",parsePatterns:qwt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:Hwt,defaultMatchWidth:"wide",parsePatterns:Vwt,defaultParseWidth:"any"}),day:se({matchPatterns:Gwt,defaultMatchWidth:"wide",parsePatterns:Ywt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Kwt,defaultMatchWidth:"any",parsePatterns:Xwt,defaultParseWidth:"any"})},Jwt={code:"ug",formatDistance:Cwt,formatLong:Owt,formatRelative:Pwt,localize:Fwt,match:Qwt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Zwt=Object.freeze(Object.defineProperty({__proto__:null,default:Jwt},Symbol.toStringTag,{value:"Module"})),e1t=jt(Zwt);function z1(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function No(e){return function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?z1(e.future,t):"за "+z1(e.regular,t):e.past?z1(e.past,t):z1(e.regular,t)+" тому":z1(e.regular,t)}}var t1t=function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини"},n1t={lessThanXSeconds:No({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:No({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:t1t,lessThanXMinutes:No({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:No({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:No({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:No({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:No({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:No({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:No({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:No({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:No({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:No({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:No({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:No({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:No({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},r1t=function(t,n,r){return r=r||{},n1t[t](n,r)},a1t={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},i1t={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},o1t={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s1t={date:Ne({formats:a1t,defaultWidth:"full"}),time:Ne({formats:i1t,defaultWidth:"full"}),dateTime:Ne({formats:o1t,defaultWidth:"full"})},g4=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function l1t(e){var t=g4[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+t+" о' p";case 1:case 2:case 4:return"'у минулий "+t+" о' p"}}function Rae(e){var t=g4[e];return"'у "+t+" о' p"}function u1t(e){var t=g4[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+t+" о' p";case 1:case 2:case 4:return"'у наступний "+t+" о' p"}}var c1t=function(t,n,r){var a=Re(t),i=a.getUTCDay();return wi(a,n,r)?Rae(i):l1t(i)},d1t=function(t,n,r){var a=Re(t),i=a.getUTCDay();return wi(a,n,r)?Rae(i):u1t(i)},f1t={lastWeek:c1t,yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:d1t,other:"P"},p1t=function(t,n,r,a){var i=f1t[t];return typeof i=="function"?i(n,r,a):i},h1t={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},m1t={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},g1t={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},v1t={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},y1t={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},b1t={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},w1t={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},S1t=function(t,n){var r=String(n==null?void 0:n.unit),a=Number(t),i;return r==="date"?a===3||a===23?i="-є":i="-е":r==="minute"||r==="second"||r==="hour"?i="-а":i="-й",a+i},E1t={ordinalNumber:S1t,era:oe({values:h1t,defaultWidth:"wide"}),quarter:oe({values:m1t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:g1t,defaultWidth:"wide",formattingValues:v1t,defaultFormattingWidth:"wide"}),day:oe({values:y1t,defaultWidth:"wide"}),dayPeriod:oe({values:b1t,defaultWidth:"any",formattingValues:w1t,defaultFormattingWidth:"wide"})},T1t=/^(\d+)(-?(е|й|є|а|я))?/i,C1t=/\d+/i,k1t={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},x1t={any:[/^д/i,/^н/i]},_1t={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},O1t={any:[/1/i,/2/i,/3/i,/4/i]},R1t={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},P1t={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]},A1t={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},N1t={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},M1t={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},I1t={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},D1t={ordinalNumber:Xt({matchPattern:T1t,parsePattern:C1t,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:k1t,defaultMatchWidth:"wide",parsePatterns:x1t,defaultParseWidth:"any"}),quarter:se({matchPatterns:_1t,defaultMatchWidth:"wide",parsePatterns:O1t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:R1t,defaultMatchWidth:"wide",parsePatterns:P1t,defaultParseWidth:"any"}),day:se({matchPatterns:A1t,defaultMatchWidth:"wide",parsePatterns:N1t,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:M1t,defaultMatchWidth:"wide",parsePatterns:I1t,defaultParseWidth:"any"})},$1t={code:"uk",formatDistance:r1t,formatLong:s1t,formatRelative:p1t,localize:E1t,match:D1t,options:{weekStartsOn:1,firstWeekContainsDate:1}};const L1t=Object.freeze(Object.defineProperty({__proto__:null,default:$1t},Symbol.toStringTag,{value:"Module"})),F1t=jt(L1t);var j1t={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},U1t=function(t,n,r){var a,i=j1t[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+" nữa":a+" trước":a},B1t={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},W1t={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},z1t={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},q1t={date:Ne({formats:B1t,defaultWidth:"full"}),time:Ne({formats:W1t,defaultWidth:"full"}),dateTime:Ne({formats:z1t,defaultWidth:"full"})},H1t={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},V1t=function(t,n,r,a){return H1t[t]},G1t={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},Y1t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},K1t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},X1t={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},Q1t={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},J1t={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},Z1t={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},eSt={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},tSt=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(a==="quarter")switch(r){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(a==="day")switch(r){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(a==="week")return r===1?"thứ nhất":"thứ "+r;if(a==="dayOfYear")return r===1?"đầu tiên":"thứ "+r}return String(r)},nSt={ordinalNumber:tSt,era:oe({values:G1t,defaultWidth:"wide"}),quarter:oe({values:Y1t,defaultWidth:"wide",formattingValues:K1t,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:X1t,defaultWidth:"wide",formattingValues:Q1t,defaultFormattingWidth:"wide"}),day:oe({values:J1t,defaultWidth:"wide"}),dayPeriod:oe({values:Z1t,defaultWidth:"wide",formattingValues:eSt,defaultFormattingWidth:"wide"})},rSt=/^(\d+)/i,aSt=/\d+/i,iSt={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},oSt={any:[/^t/i,/^s/i]},sSt={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},lSt={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},uSt={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},cSt={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},dSt={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},fSt={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},pSt={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},hSt={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},mSt={ordinalNumber:Xt({matchPattern:rSt,parsePattern:aSt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:iSt,defaultMatchWidth:"wide",parsePatterns:oSt,defaultParseWidth:"any"}),quarter:se({matchPatterns:sSt,defaultMatchWidth:"wide",parsePatterns:lSt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:uSt,defaultMatchWidth:"wide",parsePatterns:cSt,defaultParseWidth:"wide"}),day:se({matchPatterns:dSt,defaultMatchWidth:"wide",parsePatterns:fSt,defaultParseWidth:"wide"}),dayPeriod:se({matchPatterns:pSt,defaultMatchWidth:"wide",parsePatterns:hSt,defaultParseWidth:"any"})},gSt={code:"vi",formatDistance:U1t,formatLong:q1t,formatRelative:V1t,localize:nSt,match:mSt,options:{weekStartsOn:1,firstWeekContainsDate:1}};const vSt=Object.freeze(Object.defineProperty({__proto__:null,default:gSt},Symbol.toStringTag,{value:"Module"})),ySt=jt(vSt);var bSt={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},wSt=function(t,n,r){var a,i=bSt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"内":a+"前":a},SSt={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},ESt={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},TSt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},CSt={date:Ne({formats:SSt,defaultWidth:"full"}),time:Ne({formats:ESt,defaultWidth:"full"}),dateTime:Ne({formats:TSt,defaultWidth:"full"})};function UG(e,t,n){var r="eeee p";return wi(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}var kSt={lastWeek:UG,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:UG,other:"PP p"},xSt=function(t,n,r,a){var i=kSt[t];return typeof i=="function"?i(n,r,a):i},_St={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},OSt={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},RSt={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},PSt={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},ASt={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},NSt={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},MSt=function(t,n){var r=Number(t);switch(n==null?void 0:n.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},ISt={ordinalNumber:MSt,era:oe({values:_St,defaultWidth:"wide"}),quarter:oe({values:OSt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:RSt,defaultWidth:"wide"}),day:oe({values:PSt,defaultWidth:"wide"}),dayPeriod:oe({values:ASt,defaultWidth:"wide",formattingValues:NSt,defaultFormattingWidth:"wide"})},DSt=/^(第\s*)?\d+(日|时|分|秒)?/i,$St=/\d+/i,LSt={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},FSt={any:[/^(前)/i,/^(公元)/i]},jSt={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},USt={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},BSt={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},WSt={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]},zSt={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},qSt={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},HSt={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},VSt={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},GSt={ordinalNumber:Xt({matchPattern:DSt,parsePattern:$St,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:LSt,defaultMatchWidth:"wide",parsePatterns:FSt,defaultParseWidth:"any"}),quarter:se({matchPatterns:jSt,defaultMatchWidth:"wide",parsePatterns:USt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:BSt,defaultMatchWidth:"wide",parsePatterns:WSt,defaultParseWidth:"any"}),day:se({matchPatterns:zSt,defaultMatchWidth:"wide",parsePatterns:qSt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:HSt,defaultMatchWidth:"any",parsePatterns:VSt,defaultParseWidth:"any"})},YSt={code:"zh-CN",formatDistance:wSt,formatLong:CSt,formatRelative:xSt,localize:ISt,match:GSt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const KSt=Object.freeze(Object.defineProperty({__proto__:null,default:YSt},Symbol.toStringTag,{value:"Module"})),XSt=jt(KSt);var QSt={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},JSt=function(t,n,r){var a,i=QSt[t];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?a+"內":a+"前":a},ZSt={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},eEt={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},tEt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},nEt={date:Ne({formats:ZSt,defaultWidth:"full"}),time:Ne({formats:eEt,defaultWidth:"full"}),dateTime:Ne({formats:tEt,defaultWidth:"full"})},rEt={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},aEt=function(t,n,r,a){return rEt[t]},iEt={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},oEt={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},sEt={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},lEt={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},uEt={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},cEt={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},dEt=function(t,n){var r=Number(t);switch(n==null?void 0:n.unit){case"date":return r+"日";case"hour":return r+"時";case"minute":return r+"分";case"second":return r+"秒";default:return"第 "+r}},fEt={ordinalNumber:dEt,era:oe({values:iEt,defaultWidth:"wide"}),quarter:oe({values:oEt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:oe({values:sEt,defaultWidth:"wide"}),day:oe({values:lEt,defaultWidth:"wide"}),dayPeriod:oe({values:uEt,defaultWidth:"wide",formattingValues:cEt,defaultFormattingWidth:"wide"})},pEt=/^(第\s*)?\d+(日|時|分|秒)?/i,hEt=/\d+/i,mEt={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},gEt={any:[/^(前)/i,/^(公元)/i]},vEt={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},yEt={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},bEt={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},wEt={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]},SEt={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},EEt={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},TEt={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},CEt={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},kEt={ordinalNumber:Xt({matchPattern:pEt,parsePattern:hEt,valueCallback:function(t){return parseInt(t,10)}}),era:se({matchPatterns:mEt,defaultMatchWidth:"wide",parsePatterns:gEt,defaultParseWidth:"any"}),quarter:se({matchPatterns:vEt,defaultMatchWidth:"wide",parsePatterns:yEt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:se({matchPatterns:bEt,defaultMatchWidth:"wide",parsePatterns:wEt,defaultParseWidth:"any"}),day:se({matchPatterns:SEt,defaultMatchWidth:"wide",parsePatterns:EEt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:TEt,defaultMatchWidth:"any",parsePatterns:CEt,defaultParseWidth:"any"})},xEt={code:"zh-TW",formatDistance:JSt,formatLong:nEt,formatRelative:aEt,localize:fEt,match:kEt,options:{weekStartsOn:1,firstWeekContainsDate:4}};const _Et=Object.freeze(Object.defineProperty({__proto__:null,default:xEt},Symbol.toStringTag,{value:"Module"})),OEt=jt(_Et);var BG;function REt(){return BG||(BG=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"af",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"arDZ",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"arSA",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"be",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"bg",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"bn",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ca",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"cs",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"cy",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"da",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"de",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"el",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"enAU",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"enCA",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"enGB",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"enUS",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"eo",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"es",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"et",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"faIR",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"fi",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"fr",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"frCA",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"gl",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"gu",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"he",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"hi",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hr",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"hu",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"hy",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"it",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"ja",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"ka",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"kk",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"ko",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"lt",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"lv",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"ms",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"nb",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"nl",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"nn",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"pl",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"pt",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(e,"ptBR",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(e,"ro",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(e,"ru",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"sk",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(e,"sl",{enumerable:!0,get:function(){return at.default}}),Object.defineProperty(e,"sr",{enumerable:!0,get:function(){return Et.default}}),Object.defineProperty(e,"srLatn",{enumerable:!0,get:function(){return kt.default}}),Object.defineProperty(e,"sv",{enumerable:!0,get:function(){return xt.default}}),Object.defineProperty(e,"ta",{enumerable:!0,get:function(){return Rt.default}}),Object.defineProperty(e,"te",{enumerable:!0,get:function(){return cn.default}}),Object.defineProperty(e,"th",{enumerable:!0,get:function(){return qt.default}}),Object.defineProperty(e,"tr",{enumerable:!0,get:function(){return Wt.default}}),Object.defineProperty(e,"ug",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"uk",{enumerable:!0,get:function(){return dt.default}}),Object.defineProperty(e,"vi",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(e,"zhCN",{enumerable:!0,get:function(){return ut.default}}),Object.defineProperty(e,"zhTW",{enumerable:!0,get:function(){return Nt.default}});var t=U(W9e),n=U(wHe),r=U(JHe),a=U($7e),i=U(bVe),o=U(ZVe),l=U(NGe),u=U(fYe),d=U(qYe),f=U(EKe),g=U(ZKe),y=U(AXe),h=U(FXe),v=U(GXe),E=U(eQe),T=U(hae),C=U(AQe),k=U(cJe),_=U(jJe),A=U(vZe),P=U(KZe),N=U(Cet),I=U(Aet),L=U(ctt),j=U(Wtt),z=U(Snt),Q=U(ert),le=U(Mrt),re=U(hat),ge=U(Vat),me=U(Cit),W=U(not),G=U($ot),q=U(hst),ce=U(Vst),H=U(_lt),Y=U(iut),ie=U(Uut),J=U(Sct),ee=U(Zct),Z=U(Pdt),ue=U(sft),ke=U(jft),fe=U(Cpt),xe=U(nht),Ie=U(Iht),qe=U(fmt),tt=U(Gmt),Ge=U(Agt),at=U(dvt),Et=U(qvt),kt=U(Tyt),xt=U(nbt),Rt=U(Dbt),cn=U(f0t),qt=U(q0t),Wt=U(Ewt),Oe=U(e1t),dt=U(F1t),ft=U(ySt),ut=U(XSt),Nt=U(OEt);function U(D){return D&&D.__esModule?D:{default:D}}})(b$)),b$}var PEt=REt();const Pae=e=>{const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,errorMessage:l,type:u,focused:d=!1,autoFocus:f,...g}=e,[y,h]=R.useState(!1),v=R.useRef(),E=R.useCallback(()=>{var T;(T=v.current)==null||T.focus()},[v.current]);return w.jsx(ef,{focused:y,onClick:E,...e,children:w.jsx("div",{children:w.jsx(c9e.DateRangePicker,{locale:PEt.enUS,date:e.value,months:2,showSelectionPreview:!0,direction:"horizontal",moveRangeOnFirstSelection:!1,ranges:[{...e.value||{},key:"selection"}],onChange:T=>{var C;(C=e.onChange)==null||C.call(e,T.selection)}})})})},AEt=e=>{var a,i;const t=o=>o?new Date(o.getFullYear(),o.getMonth(),o.getDate()):void 0,n={startDate:t(new Date((a=e.value)==null?void 0:a.startDate)),endDate:t(new Date((i=e.value)==null?void 0:i.endDate))},r=o=>{e.onChange({startDate:t(o.startDate),endDate:t(o.endDate)})};return w.jsx(Pae,{...e,value:n,onChange:r})};//! moment.js //! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -var Vre;function Ot(){return Vre.apply(null,arguments)}function MSt(e){Vre=e}function yu(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Kg(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function gr(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Pj(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(gr(e,t))return!1;return!0}function ts(e){return e===void 0}function Ud(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function pE(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Gre(e,t){var n=[],r,a=e.length;for(r=0;r>>0,r;for(r=0;r0)for(n=0;n>>0,r;for(r=0;r0)for(n=0;n=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var Ij=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,DC=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,LD={},yb={};function nn(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(yb[e]=a),t&&(yb[t[0]]=function(){return wc(a.apply(this,arguments),t[1],t[2])}),n&&(yb[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function FSt(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function jSt(e){var t=e.match(Ij),n,r;for(n=0,r=t.length;n=0&&DC.test(e);)e=e.replace(DC,r),DC.lastIndex=0,n-=1;return e}var USt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function BSt(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Ij).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var WSt="Invalid date";function zSt(){return this._invalidDate}var qSt="%d",HSt=/\d{1,2}/;function VSt(e){return this._ordinal.replace("%d",e)}var GSt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function YSt(e,t,n,r){var a=this._relativeTime[n];return _c(a)?a(e,t,n,r):a.replace(/%d/i,e)}function KSt(e,t){var n=this._relativeTime[e>0?"future":"past"];return _c(n)?n(t):n.replace(/%s/i,t)}var rG={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ol(e){return typeof e=="string"?rG[e]||rG[e.toLowerCase()]:void 0}function Dj(e){var t={},n,r;for(r in e)gr(e,r)&&(n=Ol(r),n&&(t[n]=e[r]));return t}var XSt={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function QSt(e){var t=[],n;for(n in e)gr(e,n)&&t.push({unit:n,priority:XSt[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}var Qre=/\d/,Us=/\d\d/,Zre=/\d{3}/,$j=/\d{4}/,p_=/[+-]?\d{6}/,Kr=/\d\d?/,Jre=/\d\d\d\d?/,eae=/\d\d\d\d\d\d?/,m_=/\d{1,3}/,Lj=/\d{1,4}/,h_=/[+-]?\d{1,6}/,Yb=/\d+/,g_=/[+-]?\d+/,ZSt=/Z|[+-]\d\d:?\d\d/gi,v_=/Z|[+-]\d\d(?::?\d\d)?/gi,JSt=/[+-]?\d+(\.\d{1,3})?/,hE=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Kb=/^[1-9]\d?/,Fj=/^([1-9]\d|\d)/,ix;ix={};function Ft(e,t,n){ix[e]=_c(t)?t:function(r,a){return r&&n?n:t}}function eEt(e,t){return gr(ix,e)?ix[e](t._strict,t._locale):new RegExp(tEt(e))}function tEt(e){return xd(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,i){return n||r||a||i}))}function xd(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function vl(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Kn(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=vl(t)),n}var WL={};function Mr(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),Ud(t)&&(r=function(i,o){o[t]=Kn(i)}),a=e.length,n=0;n68?1900:2e3)};var tae=Xb("FullYear",!0);function iEt(){return y_(this.year())}function Xb(e,t){return function(n){return n!=null?(nae(this,e,n),Ot.updateOffset(this,t),this):IS(this,e)}}function IS(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function nae(e,t,n){var r,a,i,o,l;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,o=e.month(),l=e.date(),l=l===29&&o===1&&!y_(i)?28:l,a?r.setUTCFullYear(i,o,l):r.setFullYear(i,o,l)}}function oEt(e){return e=Ol(e),_c(this[e])?this[e]():this}function sEt(e,t){if(typeof e=="object"){e=Dj(e);var n=QSt(e),r,a=n.length;for(r=0;r=0?(l=new Date(e+400,t,n,r,a,i,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,a,i,o),l}function DS(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ox(e,t,n){var r=7+t-n,a=(7+DS(e,0,r).getUTCDay()-t)%7;return-a+r-1}function lae(e,t,n,r,a){var i=(7+n-r)%7,o=ox(e,r,a),l=1+7*(t-1)+i+o,u,d;return l<=0?(u=e-1,d=Y1(u)+l):l>Y1(e)?(u=e+1,d=l-Y1(e)):(u=e,d=l),{year:u,dayOfYear:d}}function $S(e,t,n){var r=ox(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,i,o;return a<1?(o=e.year()-1,i=a+_d(o,t,n)):a>_d(e.year(),t,n)?(i=a-_d(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function _d(e,t,n){var r=ox(e,t,n),a=ox(e+1,t,n);return(Y1(e)-r+a)/7}nn("w",["ww",2],"wo","week");nn("W",["WW",2],"Wo","isoWeek");Ft("w",Kr,Kb);Ft("ww",Kr,Us);Ft("W",Kr,Kb);Ft("WW",Kr,Us);gE(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Kn(e)});function wEt(e){return $S(e,this._week.dow,this._week.doy).week}var SEt={dow:0,doy:6};function EEt(){return this._week.dow}function TEt(){return this._week.doy}function CEt(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function kEt(e){var t=$S(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}nn("d",0,"do","day");nn("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});nn("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});nn("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});nn("e",0,0,"weekday");nn("E",0,0,"isoWeekday");Ft("d",Kr);Ft("e",Kr);Ft("E",Kr);Ft("dd",function(e,t){return t.weekdaysMinRegex(e)});Ft("ddd",function(e,t){return t.weekdaysShortRegex(e)});Ft("dddd",function(e,t){return t.weekdaysRegex(e)});gE(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:Mn(n).invalidWeekday=e});gE(["d","e","E"],function(e,t,n,r){t[r]=Kn(e)});function xEt(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function _Et(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Uj(e,t){return e.slice(t,7).concat(e.slice(0,t))}var OEt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),uae="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),REt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),PEt=hE,AEt=hE,NEt=hE;function MEt(e,t){var n=yu(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Uj(n,this._week.dow):e?n[e.day()]:n}function IEt(e){return e===!0?Uj(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function DEt(e){return e===!0?Uj(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $Et(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=xc([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(a=ja.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=ja.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=ja.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=ja.call(this._weekdaysParse,o),a!==-1||(a=ja.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=ja.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=ja.call(this._shortWeekdaysParse,o),a!==-1||(a=ja.call(this._weekdaysParse,o),a!==-1)?a:(a=ja.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=ja.call(this._minWeekdaysParse,o),a!==-1||(a=ja.call(this._weekdaysParse,o),a!==-1)?a:(a=ja.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function LEt(e,t,n){var r,a,i;if(this._weekdaysParseExact)return $Et.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=xc([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function FEt(e){if(!this.isValid())return e!=null?this:NaN;var t=IS(this,"Day");return e!=null?(e=xEt(e,this.localeData()),this.add(e-t,"d")):t}function jEt(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function UEt(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=_Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function BEt(e){return this._weekdaysParseExact?(gr(this,"_weekdaysRegex")||Bj.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(gr(this,"_weekdaysRegex")||(this._weekdaysRegex=PEt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function WEt(e){return this._weekdaysParseExact?(gr(this,"_weekdaysRegex")||Bj.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(gr(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=AEt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function zEt(e){return this._weekdaysParseExact?(gr(this,"_weekdaysRegex")||Bj.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(gr(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=NEt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bj(){function e(f,g){return g.length-f.length}var t=[],n=[],r=[],a=[],i,o,l,u,d;for(i=0;i<7;i++)o=xc([2e3,1]).day(i),l=xd(this.weekdaysMin(o,"")),u=xd(this.weekdaysShort(o,"")),d=xd(this.weekdays(o,"")),t.push(l),n.push(u),r.push(d),a.push(l),a.push(u),a.push(d);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Wj(){return this.hours()%12||12}function qEt(){return this.hours()||24}nn("H",["HH",2],0,"hour");nn("h",["hh",2],0,Wj);nn("k",["kk",2],0,qEt);nn("hmm",0,0,function(){return""+Wj.apply(this)+wc(this.minutes(),2)});nn("hmmss",0,0,function(){return""+Wj.apply(this)+wc(this.minutes(),2)+wc(this.seconds(),2)});nn("Hmm",0,0,function(){return""+this.hours()+wc(this.minutes(),2)});nn("Hmmss",0,0,function(){return""+this.hours()+wc(this.minutes(),2)+wc(this.seconds(),2)});function cae(e,t){nn(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}cae("a",!0);cae("A",!1);function dae(e,t){return t._meridiemParse}Ft("a",dae);Ft("A",dae);Ft("H",Kr,Fj);Ft("h",Kr,Kb);Ft("k",Kr,Kb);Ft("HH",Kr,Us);Ft("hh",Kr,Us);Ft("kk",Kr,Us);Ft("hmm",Jre);Ft("hmmss",eae);Ft("Hmm",Jre);Ft("Hmmss",eae);Mr(["H","HH"],ri);Mr(["k","kk"],function(e,t,n){var r=Kn(e);t[ri]=r===24?0:r});Mr(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Mr(["h","hh"],function(e,t,n){t[ri]=Kn(e),Mn(n).bigHour=!0});Mr("hmm",function(e,t,n){var r=e.length-2;t[ri]=Kn(e.substr(0,r)),t[pu]=Kn(e.substr(r)),Mn(n).bigHour=!0});Mr("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ri]=Kn(e.substr(0,r)),t[pu]=Kn(e.substr(r,2)),t[Cd]=Kn(e.substr(a)),Mn(n).bigHour=!0});Mr("Hmm",function(e,t,n){var r=e.length-2;t[ri]=Kn(e.substr(0,r)),t[pu]=Kn(e.substr(r))});Mr("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ri]=Kn(e.substr(0,r)),t[pu]=Kn(e.substr(r,2)),t[Cd]=Kn(e.substr(a))});function HEt(e){return(e+"").toLowerCase().charAt(0)==="p"}var VEt=/[ap]\.?m?\.?/i,GEt=Xb("Hours",!0);function YEt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var fae={calendar:$St,longDateFormat:USt,invalidDate:WSt,ordinal:qSt,dayOfMonthOrdinalParse:HSt,relativeTime:GSt,months:uEt,monthsShort:rae,week:SEt,weekdays:OEt,weekdaysMin:REt,weekdaysShort:uae,meridiemParse:VEt},ta={},m1={},LS;function KEt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(a=b_(i.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&KEt(i,r)>=n-1)break;n--}t++}return LS}function QEt(e){return!!(e&&e.match("^[^/\\\\]*$"))}function b_(e){var t=null,n;if(ta[e]===void 0&&typeof eo<"u"&&eo&&eo.exports&&QEt(e))try{t=LS._abbr,n=require,n("./locale/"+e),Hp(t)}catch{ta[e]=null}return ta[e]}function Hp(e,t){var n;return e&&(ts(t)?n=Yd(e):n=zj(e,t),n?LS=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),LS._abbr}function zj(e,t){if(t!==null){var n,r=fae;if(t.abbr=e,ta[e]!=null)Kre("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ta[e]._config;else if(t.parentLocale!=null)if(ta[t.parentLocale]!=null)r=ta[t.parentLocale]._config;else if(n=b_(t.parentLocale),n!=null)r=n._config;else return m1[t.parentLocale]||(m1[t.parentLocale]=[]),m1[t.parentLocale].push({name:e,config:t}),null;return ta[e]=new Mj(UL(r,t)),m1[e]&&m1[e].forEach(function(a){zj(a.name,a.config)}),Hp(e),ta[e]}else return delete ta[e],null}function ZEt(e,t){if(t!=null){var n,r,a=fae;ta[e]!=null&&ta[e].parentLocale!=null?ta[e].set(UL(ta[e]._config,t)):(r=b_(e),r!=null&&(a=r._config),t=UL(a,t),r==null&&(t.abbr=e),n=new Mj(t),n.parentLocale=ta[e],ta[e]=n),Hp(e)}else ta[e]!=null&&(ta[e].parentLocale!=null?(ta[e]=ta[e].parentLocale,e===Hp()&&Hp(e)):ta[e]!=null&&delete ta[e]);return ta[e]}function Yd(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return LS;if(!yu(e)){if(t=b_(e),t)return t;e=[e]}return XEt(e)}function JEt(){return BL(ta)}function qj(e){var t,n=e._a;return n&&Mn(e).overflow===-2&&(t=n[Td]<0||n[Td]>11?Td:n[uc]<1||n[uc]>jj(n[to],n[Td])?uc:n[ri]<0||n[ri]>24||n[ri]===24&&(n[pu]!==0||n[Cd]!==0||n[qg]!==0)?ri:n[pu]<0||n[pu]>59?pu:n[Cd]<0||n[Cd]>59?Cd:n[qg]<0||n[qg]>999?qg:-1,Mn(e)._overflowDayOfYear&&(tuc)&&(t=uc),Mn(e)._overflowWeeks&&t===-1&&(t=rEt),Mn(e)._overflowWeekday&&t===-1&&(t=aEt),Mn(e).overflow=t),e}var eTt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tTt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,nTt=/Z|[+-]\d\d(?::?\d\d)?/,$C=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],FD=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],rTt=/^\/?Date\((-?\d+)/i,aTt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,iTt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pae(e){var t,n,r=e._i,a=eTt.exec(r)||tTt.exec(r),i,o,l,u,d=$C.length,f=FD.length;if(a){for(Mn(e).iso=!0,t=0,n=d;tY1(o)||e._dayOfYear===0)&&(Mn(e)._overflowDayOfYear=!0),n=DS(o,0,e._dayOfYear),e._a[Td]=n.getUTCMonth(),e._a[uc]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ri]===24&&e._a[pu]===0&&e._a[Cd]===0&&e._a[qg]===0&&(e._nextDay=!0,e._a[ri]=0),e._d=(e._useUTC?DS:bEt).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ri]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Mn(e).weekdayMismatch=!0)}}function pTt(e){var t,n,r,a,i,o,l,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,n=Ky(t.GG,e._a[to],$S(Yr(),1,4).year),r=Ky(t.W,1),a=Ky(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,d=$S(Yr(),i,o),n=Ky(t.gg,e._a[to],d.year),r=Ky(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),r<1||r>_d(n,i,o)?Mn(e)._overflowWeeks=!0:u!=null?Mn(e)._overflowWeekday=!0:(l=lae(n,r,a,i,o),e._a[to]=l.year,e._dayOfYear=l.dayOfYear)}Ot.ISO_8601=function(){};Ot.RFC_2822=function(){};function Vj(e){if(e._f===Ot.ISO_8601){pae(e);return}if(e._f===Ot.RFC_2822){mae(e);return}e._a=[],Mn(e).empty=!0;var t=""+e._i,n,r,a,i,o,l=t.length,u=0,d,f;for(a=Xre(e._f,e._locale).match(Ij)||[],f=a.length,n=0;n0&&Mn(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),u+=r.length),yb[i]?(r?Mn(e).empty=!1:Mn(e).unusedTokens.push(i),nEt(i,r,e)):e._strict&&!r&&Mn(e).unusedTokens.push(i);Mn(e).charsLeftOver=l-u,t.length>0&&Mn(e).unusedInput.push(t),e._a[ri]<=12&&Mn(e).bigHour===!0&&e._a[ri]>0&&(Mn(e).bigHour=void 0),Mn(e).parsedDateParts=e._a.slice(0),Mn(e).meridiem=e._meridiem,e._a[ri]=mTt(e._locale,e._a[ri],e._meridiem),d=Mn(e).era,d!==null&&(e._a[to]=e._locale.erasConvertYear(d,e._a[to])),Hj(e),qj(e)}function mTt(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function hTt(e){var t,n,r,a,i,o,l=!1,u=e._f.length;if(u===0){Mn(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;athis?this:e:f_()});function vae(e,t){var n,r;if(t.length===1&&yu(t[0])&&(t=t[0]),!t.length)return Yr();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $Tt(){if(!ts(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Nj(e,this),e=hae(e),e._a?(t=e._isUTC?xc(e._a):Yr(e._a),this._isDSTShifted=this.isValid()&&_Tt(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function LTt(){return this.isValid()?!this._isUTC:!1}function FTt(){return this.isValid()?this._isUTC:!1}function bae(){return this.isValid()?this._isUTC&&this._offset===0:!1}var jTt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,UTt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Eu(e,t){var n=e,r=null,a,i,o;return sk(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Ud(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=jTt.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:Kn(r[uc])*a,h:Kn(r[ri])*a,m:Kn(r[pu])*a,s:Kn(r[Cd])*a,ms:Kn(zL(r[qg]*1e3))*a}):(r=UTt.exec(e))?(a=r[1]==="-"?-1:1,n={y:xg(r[2],a),M:xg(r[3],a),w:xg(r[4],a),d:xg(r[5],a),h:xg(r[6],a),m:xg(r[7],a),s:xg(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=BTt(Yr(n.from),Yr(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),i=new w_(n),sk(e)&&gr(e,"_locale")&&(i._locale=e._locale),sk(e)&&gr(e,"_isValid")&&(i._isValid=e._isValid),i}Eu.fn=w_.prototype;Eu.invalid=xTt;function xg(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function iG(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function BTt(e,t){var n;return e.isValid()&&t.isValid()?(t=Yj(t,e),e.isBefore(t)?n=iG(e,t):(n=iG(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function wae(e,t){return function(n,r){var a,i;return r!==null&&!isNaN(+r)&&(Kre(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),a=Eu(n,r),Sae(this,a,e),this}}function Sae(e,t,n,r){var a=t._milliseconds,i=zL(t._days),o=zL(t._months);e.isValid()&&(r=r??!0,o&&iae(e,IS(e,"Month")+o*n),i&&nae(e,"Date",IS(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&Ot.updateOffset(e,i||o))}var WTt=wae(1,"add"),zTt=wae(-1,"subtract");function Eae(e){return typeof e=="string"||e instanceof String}function qTt(e){return bu(e)||pE(e)||Eae(e)||Ud(e)||VTt(e)||HTt(e)||e===null||e===void 0}function HTt(e){var t=Kg(e)&&!Pj(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=r.length;for(a=0;an.valueOf():n.valueOf()9999?ok(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_c(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ok(n,"Z")):ok(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function oCt(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+a+i)}function sCt(e){e||(e=this.isUtc()?Ot.defaultFormatUtc:Ot.defaultFormat);var t=ok(this,e);return this.localeData().postformat(t)}function lCt(e,t){return this.isValid()&&(bu(e)&&e.isValid()||Yr(e).isValid())?Eu({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function uCt(e){return this.from(Yr(),e)}function cCt(e,t){return this.isValid()&&(bu(e)&&e.isValid()||Yr(e).isValid())?Eu({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dCt(e){return this.to(Yr(),e)}function Tae(e){var t;return e===void 0?this._locale._abbr:(t=Yd(e),t!=null&&(this._locale=t),this)}var Cae=_l("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function kae(){return this._locale}var sx=1e3,bb=60*sx,lx=60*bb,xae=(365*400+97)*24*lx;function wb(e,t){return(e%t+t)%t}function _ae(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-xae:new Date(e,t,n).valueOf()}function Oae(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-xae:Date.UTC(e,t,n)}function fCt(e){var t,n;if(e=Ol(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Oae:_ae,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=wb(t+(this._isUTC?0:this.utcOffset()*bb),lx);break;case"minute":t=this._d.valueOf(),t-=wb(t,bb);break;case"second":t=this._d.valueOf(),t-=wb(t,sx);break}return this._d.setTime(t),Ot.updateOffset(this,!0),this}function pCt(e){var t,n;if(e=Ol(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Oae:_ae,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=lx-wb(t+(this._isUTC?0:this.utcOffset()*bb),lx)-1;break;case"minute":t=this._d.valueOf(),t+=bb-wb(t,bb)-1;break;case"second":t=this._d.valueOf(),t+=sx-wb(t,sx)-1;break}return this._d.setTime(t),Ot.updateOffset(this,!0),this}function mCt(){return this._d.valueOf()-(this._offset||0)*6e4}function hCt(){return Math.floor(this.valueOf()/1e3)}function gCt(){return new Date(this.valueOf())}function vCt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function yCt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function bCt(){return this.isValid()?this.toISOString():null}function wCt(){return Aj(this)}function SCt(){return Bp({},Mn(this))}function ECt(){return Mn(this).overflow}function TCt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}nn("N",0,0,"eraAbbr");nn("NN",0,0,"eraAbbr");nn("NNN",0,0,"eraAbbr");nn("NNNN",0,0,"eraName");nn("NNNNN",0,0,"eraNarrow");nn("y",["y",1],"yo","eraYear");nn("y",["yy",2],0,"eraYear");nn("y",["yyy",3],0,"eraYear");nn("y",["yyyy",4],0,"eraYear");Ft("N",Kj);Ft("NN",Kj);Ft("NNN",Kj);Ft("NNNN",ICt);Ft("NNNNN",DCt);Mr(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?Mn(n).era=a:Mn(n).invalidEra=e});Ft("y",Yb);Ft("yy",Yb);Ft("yyy",Yb);Ft("yyyy",Yb);Ft("yo",$Ct);Mr(["y","yy","yyy","yyyy"],to);Mr(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[to]=n._locale.eraYearOrdinalParse(e,a):t[to]=parseInt(e,10)});function CCt(e,t){var n,r,a,i=this._eras||Yd("en")._eras;for(n=0,r=i.length;n=0)return i[r]}function xCt(e,t){var n=e.since<=e.until?1:-1;return t===void 0?Ot(e.since).year():Ot(e.since).year()+(t-e.offset)*n}function _Ct(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),zCt.call(this,e,t,n,r,a))}function zCt(e,t,n,r,a){var i=lae(e,t,n,r,a),o=DS(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}nn("Q",0,"Qo","quarter");Ft("Q",Qre);Mr("Q",function(e,t){t[Td]=(Kn(e)-1)*3});function qCt(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}nn("D",["DD",2],"Do","date");Ft("D",Kr,Kb);Ft("DD",Kr,Us);Ft("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Mr(["D","DD"],uc);Mr("Do",function(e,t){t[uc]=Kn(e.match(Kr)[0])});var Pae=Xb("Date",!0);nn("DDD",["DDDD",3],"DDDo","dayOfYear");Ft("DDD",m_);Ft("DDDD",Zre);Mr(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Kn(e)});function HCt(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}nn("m",["mm",2],0,"minute");Ft("m",Kr,Fj);Ft("mm",Kr,Us);Mr(["m","mm"],pu);var VCt=Xb("Minutes",!1);nn("s",["ss",2],0,"second");Ft("s",Kr,Fj);Ft("ss",Kr,Us);Mr(["s","ss"],Cd);var GCt=Xb("Seconds",!1);nn("S",0,0,function(){return~~(this.millisecond()/100)});nn(0,["SS",2],0,function(){return~~(this.millisecond()/10)});nn(0,["SSS",3],0,"millisecond");nn(0,["SSSS",4],0,function(){return this.millisecond()*10});nn(0,["SSSSS",5],0,function(){return this.millisecond()*100});nn(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});nn(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});nn(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});nn(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Ft("S",m_,Qre);Ft("SS",m_,Us);Ft("SSS",m_,Zre);var Wp,Aae;for(Wp="SSSS";Wp.length<=9;Wp+="S")Ft(Wp,Yb);function YCt(e,t){t[qg]=Kn(("0."+e)*1e3)}for(Wp="S";Wp.length<=9;Wp+="S")Mr(Wp,YCt);Aae=Xb("Milliseconds",!1);nn("z",0,0,"zoneAbbr");nn("zz",0,0,"zoneName");function KCt(){return this._isUTC?"UTC":""}function XCt(){return this._isUTC?"Coordinated Universal Time":""}var mt=mE.prototype;mt.add=WTt;mt.calendar=KTt;mt.clone=XTt;mt.diff=rCt;mt.endOf=pCt;mt.format=sCt;mt.from=lCt;mt.fromNow=uCt;mt.to=cCt;mt.toNow=dCt;mt.get=oEt;mt.invalidAt=ECt;mt.isAfter=QTt;mt.isBefore=ZTt;mt.isBetween=JTt;mt.isSame=eCt;mt.isSameOrAfter=tCt;mt.isSameOrBefore=nCt;mt.isValid=wCt;mt.lang=Cae;mt.locale=Tae;mt.localeData=kae;mt.max=wTt;mt.min=bTt;mt.parsingFlags=SCt;mt.set=sEt;mt.startOf=fCt;mt.subtract=zTt;mt.toArray=vCt;mt.toObject=yCt;mt.toDate=gCt;mt.toISOString=iCt;mt.inspect=oCt;typeof Symbol<"u"&&Symbol.for!=null&&(mt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});mt.toJSON=bCt;mt.toString=aCt;mt.unix=hCt;mt.valueOf=mCt;mt.creationData=TCt;mt.eraName=_Ct;mt.eraNarrow=OCt;mt.eraAbbr=RCt;mt.eraYear=PCt;mt.year=tae;mt.isLeapYear=iEt;mt.weekYear=LCt;mt.isoWeekYear=FCt;mt.quarter=mt.quarters=qCt;mt.month=oae;mt.daysInMonth=gEt;mt.week=mt.weeks=CEt;mt.isoWeek=mt.isoWeeks=kEt;mt.weeksInYear=BCt;mt.weeksInWeekYear=WCt;mt.isoWeeksInYear=jCt;mt.isoWeeksInISOWeekYear=UCt;mt.date=Pae;mt.day=mt.days=FEt;mt.weekday=jEt;mt.isoWeekday=UEt;mt.dayOfYear=HCt;mt.hour=mt.hours=GEt;mt.minute=mt.minutes=VCt;mt.second=mt.seconds=GCt;mt.millisecond=mt.milliseconds=Aae;mt.utcOffset=RTt;mt.utc=ATt;mt.local=NTt;mt.parseZone=MTt;mt.hasAlignedHourOffset=ITt;mt.isDST=DTt;mt.isLocal=LTt;mt.isUtcOffset=FTt;mt.isUtc=bae;mt.isUTC=bae;mt.zoneAbbr=KCt;mt.zoneName=XCt;mt.dates=_l("dates accessor is deprecated. Use date instead.",Pae);mt.months=_l("months accessor is deprecated. Use month instead",oae);mt.years=_l("years accessor is deprecated. Use year instead",tae);mt.zone=_l("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",PTt);mt.isDSTShifted=_l("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$Tt);function QCt(e){return Yr(e*1e3)}function ZCt(){return Yr.apply(null,arguments).parseZone()}function Nae(e){return e}var vr=Mj.prototype;vr.calendar=LSt;vr.longDateFormat=BSt;vr.invalidDate=zSt;vr.ordinal=VSt;vr.preparse=Nae;vr.postformat=Nae;vr.relativeTime=YSt;vr.pastFuture=KSt;vr.set=DSt;vr.eras=CCt;vr.erasParse=kCt;vr.erasConvertYear=xCt;vr.erasAbbrRegex=NCt;vr.erasNameRegex=ACt;vr.erasNarrowRegex=MCt;vr.months=fEt;vr.monthsShort=pEt;vr.monthsParse=hEt;vr.monthsRegex=yEt;vr.monthsShortRegex=vEt;vr.week=wEt;vr.firstDayOfYear=TEt;vr.firstDayOfWeek=EEt;vr.weekdays=MEt;vr.weekdaysMin=DEt;vr.weekdaysShort=IEt;vr.weekdaysParse=LEt;vr.weekdaysRegex=BEt;vr.weekdaysShortRegex=WEt;vr.weekdaysMinRegex=zEt;vr.isPM=HEt;vr.meridiem=YEt;function ux(e,t,n,r){var a=Yd(),i=xc().set(r,t);return a[n](i,e)}function Mae(e,t,n){if(Ud(e)&&(t=e,e=void 0),e=e||"",t!=null)return ux(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=ux(e,r,n,"month");return a}function Qj(e,t,n,r){typeof e=="boolean"?(Ud(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Ud(t)&&(n=t,t=void 0),t=t||"");var a=Yd(),i=e?a._week.dow:0,o,l=[];if(n!=null)return ux(t,(n+i)%7,r,"day");for(o=0;o<7;o++)l[o]=ux(t,(o+i)%7,r,"day");return l}function JCt(e,t){return Mae(e,t,"months")}function ekt(e,t){return Mae(e,t,"monthsShort")}function tkt(e,t,n){return Qj(e,t,n,"weekdays")}function nkt(e,t,n){return Qj(e,t,n,"weekdaysShort")}function rkt(e,t,n){return Qj(e,t,n,"weekdaysMin")}Hp("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Kn(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});Ot.lang=_l("moment.lang is deprecated. Use moment.locale instead.",Hp);Ot.langData=_l("moment.langData is deprecated. Use moment.localeData instead.",Yd);var hd=Math.abs;function akt(){var e=this._data;return this._milliseconds=hd(this._milliseconds),this._days=hd(this._days),this._months=hd(this._months),e.milliseconds=hd(e.milliseconds),e.seconds=hd(e.seconds),e.minutes=hd(e.minutes),e.hours=hd(e.hours),e.months=hd(e.months),e.years=hd(e.years),this}function Iae(e,t,n,r){var a=Eu(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function ikt(e,t){return Iae(this,e,t,1)}function okt(e,t){return Iae(this,e,t,-1)}function oG(e){return e<0?Math.floor(e):Math.ceil(e)}function skt(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,i,o,l,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=oG(HL(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=vl(e/1e3),r.seconds=a%60,i=vl(a/60),r.minutes=i%60,o=vl(i/60),r.hours=o%24,t+=vl(o/24),u=vl(Dae(t)),n+=u,t-=oG(HL(u)),l=vl(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function Dae(e){return e*4800/146097}function HL(e){return e*146097/4800}function lkt(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Ol(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+Dae(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(HL(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Kd(e){return function(){return this.as(e)}}var $ae=Kd("ms"),ukt=Kd("s"),ckt=Kd("m"),dkt=Kd("h"),fkt=Kd("d"),pkt=Kd("w"),mkt=Kd("M"),hkt=Kd("Q"),gkt=Kd("y"),vkt=$ae;function ykt(){return Eu(this)}function bkt(e){return e=Ol(e),this.isValid()?this[e+"s"]():NaN}function yv(e){return function(){return this.isValid()?this._data[e]:NaN}}var wkt=yv("milliseconds"),Skt=yv("seconds"),Ekt=yv("minutes"),Tkt=yv("hours"),Ckt=yv("days"),kkt=yv("months"),xkt=yv("years");function _kt(){return vl(this.days()/7)}var vd=Math.round,sb={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Okt(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function Rkt(e,t,n,r){var a=Eu(e).abs(),i=vd(a.as("s")),o=vd(a.as("m")),l=vd(a.as("h")),u=vd(a.as("d")),d=vd(a.as("M")),f=vd(a.as("w")),g=vd(a.as("y")),y=i<=n.ss&&["s",i]||i0,y[4]=r,Okt.apply(null,y)}function Pkt(e){return e===void 0?vd:typeof e=="function"?(vd=e,!0):!1}function Akt(e,t){return sb[e]===void 0?!1:t===void 0?sb[e]:(sb[e]=t,e==="s"&&(sb.ss=t-1),!0)}function Nkt(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=sb,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},sb,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),i=Rkt(this,!n,r,a),n&&(i=a.pastFuture(+this,i)),a.postformat(i)}var jD=Math.abs;function Uy(e){return(e>0)-(e<0)||+e}function E_(){if(!this.isValid())return this.localeData().invalidDate();var e=jD(this._milliseconds)/1e3,t=jD(this._days),n=jD(this._months),r,a,i,o,l=this.asSeconds(),u,d,f,g;return l?(r=vl(e/60),a=vl(r/60),e%=60,r%=60,i=vl(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",d=Uy(this._months)!==Uy(l)?"-":"",f=Uy(this._days)!==Uy(l)?"-":"",g=Uy(this._milliseconds)!==Uy(l)?"-":"",u+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(t?f+t+"D":"")+(a||r||e?"T":"")+(a?g+a+"H":"")+(r?g+r+"M":"")+(e?g+o+"S":"")):"P0D"}var rr=w_.prototype;rr.isValid=kTt;rr.abs=akt;rr.add=ikt;rr.subtract=okt;rr.as=lkt;rr.asMilliseconds=$ae;rr.asSeconds=ukt;rr.asMinutes=ckt;rr.asHours=dkt;rr.asDays=fkt;rr.asWeeks=pkt;rr.asMonths=mkt;rr.asQuarters=hkt;rr.asYears=gkt;rr.valueOf=vkt;rr._bubble=skt;rr.clone=ykt;rr.get=bkt;rr.milliseconds=wkt;rr.seconds=Skt;rr.minutes=Ekt;rr.hours=Tkt;rr.days=Ckt;rr.weeks=_kt;rr.months=kkt;rr.years=xkt;rr.humanize=Nkt;rr.toISOString=E_;rr.toString=E_;rr.toJSON=E_;rr.locale=Tae;rr.localeData=kae;rr.toIsoString=_l("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",E_);rr.lang=Cae;nn("X",0,0,"unix");nn("x",0,0,"valueOf");Ft("x",g_);Ft("X",JSt);Mr("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Mr("x",function(e,t,n){n._d=new Date(Kn(e))});//! moment.js -Ot.version="2.30.1";MSt(Yr);Ot.fn=mt;Ot.min=STt;Ot.max=ETt;Ot.now=TTt;Ot.utc=xc;Ot.unix=QCt;Ot.months=JCt;Ot.isDate=pE;Ot.locale=Hp;Ot.invalid=f_;Ot.duration=Eu;Ot.isMoment=bu;Ot.weekdays=tkt;Ot.parseZone=ZCt;Ot.localeData=Yd;Ot.isDuration=sk;Ot.monthsShort=ekt;Ot.weekdaysMin=rkt;Ot.defineLocale=zj;Ot.updateLocale=ZEt;Ot.locales=JEt;Ot.weekdaysShort=nkt;Ot.normalizeUnits=Ol;Ot.relativeTimeRounding=Pkt;Ot.relativeTimeThreshold=Akt;Ot.calendarFormat=YTt;Ot.prototype=mt;Ot.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Mkt=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),Ikt=jt(Mkt);var UD,sG;function Dkt(){return sG||(sG=1,UD=(function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(r,a,i){n.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,a){if(1&a&&(r=n(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var o in r)n.d(i,o,(function(l){return r[l]}).bind(null,o));return i},n.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(a,"a",a),a},n.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},n.p="",n(n.s=4)})([function(e,t){e.exports=$s()},function(e,t){e.exports=Ikt},function(e,t){e.exports=GL()},function(e,t,n){e.exports=n(5)()},function(e,t,n){e.exports=n(7)},function(e,t,n){var r=n(6);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function o(d,f,g,y,p,v){if(v!==r){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}}function l(){return o}o.isRequired=o;var u={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:a};return u.PropTypes=u,u}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){n.r(t);var r=n(3),a=n.n(r),i=n(1),o=n.n(i),l=n(0),u=n.n(l);function d(){return(d=Object.assign?Object.assign.bind():function(we){for(var ve=1;ve"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=k(we);if(ve){var Se=k(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return T(this,$e)}}function T(we,ve){if(ve&&(g(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return C(we)}function C(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function k(we){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function _(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}var A=(function(we){(function(ne,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(Me&&Me.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),Object.defineProperty(ne,"prototype",{writable:!1}),Me&&v(ne,Me)})(Se,we);var ve,$e,ye=E(Se);function Se(){var ne;y(this,Se);for(var Me=arguments.length,Qe=new Array(Me),ot=0;ot"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=re(we);if(ve){var Se=re(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return Q(this,$e)}}function Q(we,ve){if(ve&&(N(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return le(we)}function le(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function re(we){return(re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function ge(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}_(A,"defaultProps",{isValidDate:function(){return!0},renderDay:function(we,ve){return u.a.createElement("td",we,ve.date())}});var he=(function(we){(function(ne,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(Me&&Me.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),Object.defineProperty(ne,"prototype",{writable:!1}),Me&&j(ne,Me)})(Se,we);var ve,$e,ye=z(Se);function Se(){var ne;I(this,Se);for(var Me=arguments.length,Qe=new Array(Me),ot=0;ot1;)if(Me(Qe.date(ot)))return!1;return!0}},{key:"getMonthText",value:function(ne){var Me,Qe=this.props.viewDate,ot=Qe.localeData().monthsShort(Qe.month(ne));return(Me=ot.substring(0,3)).charAt(0).toUpperCase()+Me.slice(1)}}])&&L(ve.prototype,$e),Object.defineProperty(ve,"prototype",{writable:!1}),Se})(u.a.Component);function W(we,ve){return ve<4?we[0]:ve<8?we[1]:we[2]}function G(we){return(G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}function q(we,ve){if(!(we instanceof ve))throw new TypeError("Cannot call a class as a function")}function ce(we,ve){for(var $e=0;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=ee(we);if(ve){var Se=ee(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return ie(this,$e)}}function ie(we,ve){if(ve&&(G(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(we)}function Z(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function ee(we){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function J(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}var ue=(function(we){(function(ne,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(Me&&Me.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),Object.defineProperty(ne,"prototype",{writable:!1}),Me&&H(ne,Me)})(Se,we);var ve,$e,ye=Y(Se);function Se(){var ne;q(this,Se);for(var Me=arguments.length,Qe=new Array(Me),ot=0;ot1;)if(Qe(ot.dayOfYear(Bt)))return Me[ne]=!1,!1;return Me[ne]=!0,!0}}])&&ce(ve.prototype,$e),Object.defineProperty(ve,"prototype",{writable:!1}),Se})(u.a.Component);function ke(we,ve){return ve<3?we[0]:ve<7?we[1]:we[2]}function fe(we){return(fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}function xe(we,ve){for(var $e=0;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=Ge(we);if(ve){var Se=Ge(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return nt(this,$e)}}function nt(we,ve){if(ve&&(fe(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function($e){if($e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $e})(we)}function Ge(we){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function at(we,ve){var $e=Object.keys(we);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(we);ve&&(ye=ye.filter((function(Se){return Object.getOwnPropertyDescriptor(we,Se).enumerable}))),$e.push.apply($e,ye)}return $e}function Et(we){for(var ve=1;ve=12?ne-=12:ne+=12,this.props.setTime("hours",ne)}},{key:"increase",value:function(ne){var Me=this.constraints[ne],Qe=parseInt(this.state[ne],10)+Me.step;return Qe>Me.max&&(Qe=Me.min+(Qe-(Me.max+1))),cn(ne,Qe)}},{key:"decrease",value:function(ne){var Me=this.constraints[ne],Qe=parseInt(this.state[ne],10)-Me.step;return Qe=0||(lr[Rr]=Dn[Rr]);return lr})(yn,["excludeScrollbar"]);return we.prototype&&we.prototype.isReactComponent?an.ref=this.getRef:an.wrappedRef=this.getRef,an.disableOnClickOutside=this.disableOnClickOutside,an.enableOnClickOutside=this.enableOnClickOutside,Object(l.createElement)(we,an)},ot})(l.Component),$e.displayName="OnClickOutside("+Se+")",$e.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:!1,outsideClickIgnoreClass:"ignore-react-onclickoutside",preventDefault:!1,stopPropagation:!1},$e.getClass=function(){return we.getClass?we.getClass():we},ye};function Fe(we){return(Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}function We(we,ve){var $e=Object.keys(we);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(we);ve&&(ye=ye.filter((function(Se){return Object.getOwnPropertyDescriptor(we,Se).enumerable}))),$e.push.apply($e,ye)}return $e}function Tt(we){for(var ve=1;ve"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=gn(we);if(ve){var Se=gn(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return Ut(this,$e)}}function Ut(we,ve){if(ve&&(Fe(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return On(we)}function On(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function gn(we){return(gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function ln(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}n.d(t,"default",(function(){return Oa}));var Bn="years",oa="months",Xa="days",ma="time",vn=a.a,_a=function(){},Uo=vn.oneOfType([vn.instanceOf(o.a),vn.instanceOf(Date),vn.string]),Oa=(function(we){gt($e,we);var ve=_t($e);function $e(ye){var Se;return Mt(this,$e),ln(On(Se=ve.call(this,ye)),"_renderCalendar",(function(){var ne=Se.props,Me=Se.state,Qe={viewDate:Me.viewDate.clone(),selectedDate:Se.getSelectedDate(),isValidDate:ne.isValidDate,updateDate:Se._updateDate,navigate:Se._viewNavigate,moment:o.a,showView:Se._showView};switch(Me.currentView){case Bn:return Qe.renderYear=ne.renderYear,u.a.createElement(ue,Qe);case oa:return Qe.renderMonth=ne.renderMonth,u.a.createElement(he,Qe);case Xa:return Qe.renderDay=ne.renderDay,Qe.timeFormat=Se.getFormat("time"),u.a.createElement(A,Qe);default:return Qe.dateFormat=Se.getFormat("date"),Qe.timeFormat=Se.getFormat("time"),Qe.timeConstraints=ne.timeConstraints,Qe.setTime=Se._setTime,u.a.createElement(Rt,Qe)}})),ln(On(Se),"_showView",(function(ne,Me){var Qe=(Me||Se.state.viewDate).clone(),ot=Se.props.onBeforeNavigate(ne,Se.state.currentView,Qe);ot&&Se.state.currentView!==ot&&(Se.props.onNavigate(ot),Se.setState({currentView:ot}))})),ln(On(Se),"viewToMethod",{days:"date",months:"month",years:"year"}),ln(On(Se),"nextView",{days:"time",months:"days",years:"months"}),ln(On(Se),"_updateDate",(function(ne){var Me=Se.state.currentView,Qe=Se.getUpdateOn(Se.getFormat("date")),ot=Se.state.viewDate.clone();ot[Se.viewToMethod[Me]](parseInt(ne.target.getAttribute("data-value"),10)),Me==="days"&&(ot.month(parseInt(ne.target.getAttribute("data-month"),10)),ot.year(parseInt(ne.target.getAttribute("data-year"),10)));var Bt={viewDate:ot};Me===Qe?(Bt.selectedDate=ot.clone(),Bt.inputValue=ot.format(Se.getFormat("datetime")),Se.props.open===void 0&&Se.props.input&&Se.props.closeOnSelect&&Se._closeCalendar(),Se.props.onChange(ot.clone())):Se._showView(Se.nextView[Me],ot),Se.setState(Bt)})),ln(On(Se),"_viewNavigate",(function(ne,Me){var Qe=Se.state.viewDate.clone();Qe.add(ne,Me),ne>0?Se.props.onNavigateForward(ne,Me):Se.props.onNavigateBack(-ne,Me),Se.setState({viewDate:Qe})})),ln(On(Se),"_setTime",(function(ne,Me){var Qe=(Se.getSelectedDate()||Se.state.viewDate).clone();Qe[ne](Me),Se.props.value||Se.setState({selectedDate:Qe,viewDate:Qe.clone(),inputValue:Qe.format(Se.getFormat("datetime"))}),Se.props.onChange(Qe)})),ln(On(Se),"_openCalendar",(function(){Se.isOpen()||Se.setState({open:!0},Se.props.onOpen)})),ln(On(Se),"_closeCalendar",(function(){Se.isOpen()&&Se.setState({open:!1},(function(){Se.props.onClose(Se.state.selectedDate||Se.state.inputValue)}))})),ln(On(Se),"_handleClickOutside",(function(){var ne=Se.props;ne.input&&Se.state.open&&ne.open===void 0&&ne.closeOnClickOutside&&Se._closeCalendar()})),ln(On(Se),"_onInputFocus",(function(ne){Se.callHandler(Se.props.inputProps.onFocus,ne)&&Se._openCalendar()})),ln(On(Se),"_onInputChange",(function(ne){if(Se.callHandler(Se.props.inputProps.onChange,ne)){var Me=ne.target?ne.target.value:ne,Qe=Se.localMoment(Me,Se.getFormat("datetime")),ot={inputValue:Me};Qe.isValid()?(ot.selectedDate=Qe,ot.viewDate=Qe.clone().startOf("month")):ot.selectedDate=null,Se.setState(ot,(function(){Se.props.onChange(Qe.isValid()?Qe:Se.state.inputValue)}))}})),ln(On(Se),"_onInputKeyDown",(function(ne){Se.callHandler(Se.props.inputProps.onKeyDown,ne)&&ne.which===9&&Se.props.closeOnTab&&Se._closeCalendar()})),ln(On(Se),"_onInputClick",(function(ne){Se.callHandler(Se.props.inputProps.onClick,ne)&&Se._openCalendar()})),Se.state=Se.getInitialState(),Se}return Ee($e,[{key:"render",value:function(){return u.a.createElement(Bo,{className:this.getClassName(),onClickOut:this._handleClickOutside},this.renderInput(),u.a.createElement("div",{className:"rdtPicker"},this.renderView()))}},{key:"renderInput",value:function(){if(this.props.input){var ye=Tt(Tt({type:"text",className:"form-control",value:this.getInputValue()},this.props.inputProps),{},{onFocus:this._onInputFocus,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onClick:this._onInputClick});return this.props.renderInput?u.a.createElement("div",null,this.props.renderInput(ye,this._openCalendar,this._closeCalendar)):u.a.createElement("input",ye)}}},{key:"renderView",value:function(){return this.props.renderView(this.state.currentView,this._renderCalendar)}},{key:"getInitialState",value:function(){var ye=this.props,Se=this.getFormat("datetime"),ne=this.parseDate(ye.value||ye.initialValue,Se);return this.checkTZ(),{open:!ye.input,currentView:ye.initialViewMode||this.getInitialView(),viewDate:this.getInitialViewDate(ne),selectedDate:ne&&ne.isValid()?ne:void 0,inputValue:this.getInitialInputValue(ne)}}},{key:"getInitialViewDate",value:function(ye){var Se,ne=this.props.initialViewDate;if(ne){if((Se=this.parseDate(ne,this.getFormat("datetime")))&&Se.isValid())return Se;Ra('The initialViewDated given "'+ne+'" is not valid. Using current date instead.')}else if(ye&&ye.isValid())return ye.clone();return this.getInitialDate()}},{key:"getInitialDate",value:function(){var ye=this.localMoment();return ye.hour(0).minute(0).second(0).millisecond(0),ye}},{key:"getInitialView",value:function(){var ye=this.getFormat("date");return ye?this.getUpdateOn(ye):ma}},{key:"parseDate",value:function(ye,Se){var ne;return ye&&typeof ye=="string"?ne=this.localMoment(ye,Se):ye&&(ne=this.localMoment(ye)),ne&&!ne.isValid()&&(ne=null),ne}},{key:"getClassName",value:function(){var ye="rdt",Se=this.props,ne=Se.className;return Array.isArray(ne)?ye+=" "+ne.join(" "):ne&&(ye+=" "+ne),Se.input||(ye+=" rdtStatic"),this.isOpen()&&(ye+=" rdtOpen"),ye}},{key:"isOpen",value:function(){return!this.props.input||(this.props.open===void 0?this.state.open:this.props.open)}},{key:"getUpdateOn",value:function(ye){return this.props.updateOnView?this.props.updateOnView:ye.match(/[lLD]/)?Xa:ye.indexOf("M")!==-1?oa:ye.indexOf("Y")!==-1?Bn:Xa}},{key:"getLocaleData",value:function(){var ye=this.props;return this.localMoment(ye.value||ye.defaultValue||new Date).localeData()}},{key:"getDateFormat",value:function(){var ye=this.getLocaleData(),Se=this.props.dateFormat;return Se===!0?ye.longDateFormat("L"):Se||""}},{key:"getTimeFormat",value:function(){var ye=this.getLocaleData(),Se=this.props.timeFormat;return Se===!0?ye.longDateFormat("LT"):Se||""}},{key:"getFormat",value:function(ye){if(ye==="date")return this.getDateFormat();if(ye==="time")return this.getTimeFormat();var Se=this.getDateFormat(),ne=this.getTimeFormat();return Se&&ne?Se+" "+ne:Se||ne}},{key:"updateTime",value:function(ye,Se,ne,Me){var Qe={},ot=Me?"selectedDate":"viewDate";Qe[ot]=this.state[ot].clone()[ye](Se,ne),this.setState(Qe)}},{key:"localMoment",value:function(ye,Se,ne){var Me=null;return Me=(ne=ne||this.props).utc?o.a.utc(ye,Se,ne.strictParsing):ne.displayTimeZone?o.a.tz(ye,Se,ne.displayTimeZone):o()(ye,Se,ne.strictParsing),ne.locale&&Me.locale(ne.locale),Me}},{key:"checkTZ",value:function(){var ye=this.props.displayTimeZone;!ye||this.tzWarning||o.a.tz||(this.tzWarning=!0,Ra('displayTimeZone prop with value "'+ye+'" is used but moment.js timezone is not loaded.',"error"))}},{key:"componentDidUpdate",value:function(ye){if(ye!==this.props){var Se=!1,ne=this.props;["locale","utc","displayZone","dateFormat","timeFormat"].forEach((function(Me){ye[Me]!==ne[Me]&&(Se=!0)})),Se&&this.regenerateDates(),ne.value&&ne.value!==ye.value&&this.setViewDate(ne.value),this.checkTZ()}}},{key:"regenerateDates",value:function(){var ye=this.props,Se=this.state.viewDate.clone(),ne=this.state.selectedDate&&this.state.selectedDate.clone();ye.locale&&(Se.locale(ye.locale),ne&&ne.locale(ye.locale)),ye.utc?(Se.utc(),ne&&ne.utc()):ye.displayTimeZone?(Se.tz(ye.displayTimeZone),ne&&ne.tz(ye.displayTimeZone)):(Se.locale(),ne&&ne.locale());var Me={viewDate:Se,selectedDate:ne};ne&&ne.isValid()&&(Me.inputValue=ne.format(this.getFormat("datetime"))),this.setState(Me)}},{key:"getSelectedDate",value:function(){if(this.props.value===void 0)return this.state.selectedDate;var ye=this.parseDate(this.props.value,this.getFormat("datetime"));return!(!ye||!ye.isValid())&&ye}},{key:"getInitialInputValue",value:function(ye){var Se=this.props;return Se.inputProps.value?Se.inputProps.value:ye&&ye.isValid()?ye.format(this.getFormat("datetime")):Se.value&&typeof Se.value=="string"?Se.value:Se.initialValue&&typeof Se.initialValue=="string"?Se.initialValue:""}},{key:"getInputValue",value:function(){var ye=this.getSelectedDate();return ye?ye.format(this.getFormat("datetime")):this.state.inputValue}},{key:"setViewDate",value:function(ye){var Se,ne=function(){return Ra("Invalid date passed to the `setViewDate` method: "+ye)};return ye&&(Se=typeof ye=="string"?this.localMoment(ye,this.getFormat("datetime")):this.localMoment(ye))&&Se.isValid()?void this.setState({viewDate:Se}):ne()}},{key:"navigate",value:function(ye){this._showView(ye)}},{key:"callHandler",value:function(ye,Se){return!ye||ye(Se)!==!1}}]),$e})(u.a.Component);function Ra(we,ve){var $e=typeof window<"u"&&window.console;$e&&(ve||(ve="warn"),$e[ve]("***react-datetime:"+we))}ln(Oa,"propTypes",{value:Uo,initialValue:Uo,initialViewDate:Uo,initialViewMode:vn.oneOf([Bn,oa,Xa,ma]),onOpen:vn.func,onClose:vn.func,onChange:vn.func,onNavigate:vn.func,onBeforeNavigate:vn.func,onNavigateBack:vn.func,onNavigateForward:vn.func,updateOnView:vn.string,locale:vn.string,utc:vn.bool,displayTimeZone:vn.string,input:vn.bool,dateFormat:vn.oneOfType([vn.string,vn.bool]),timeFormat:vn.oneOfType([vn.string,vn.bool]),inputProps:vn.object,timeConstraints:vn.object,isValidDate:vn.func,open:vn.bool,strictParsing:vn.bool,closeOnSelect:vn.bool,closeOnTab:vn.bool,renderView:vn.func,renderInput:vn.func,renderDay:vn.func,renderMonth:vn.func,renderYear:vn.func}),ln(Oa,"defaultProps",{onOpen:_a,onClose:_a,onCalendarOpen:_a,onCalendarClose:_a,onChange:_a,onNavigate:_a,onBeforeNavigate:function(we){return we},onNavigateBack:_a,onNavigateForward:_a,dateFormat:!0,timeFormat:!0,utc:!1,className:"",input:!0,inputProps:{},timeConstraints:{},isValidDate:function(){return!0},strictParsing:!0,closeOnSelect:!1,closeOnTab:!0,closeOnClickOutside:!0,renderView:function(we,ve){return ve()}}),ln(Oa,"moment",o.a);var Bo=Te((function(we){gt($e,we);var ve=_t($e);function $e(){var ye;Mt(this,$e);for(var Se=arguments.length,ne=new Array(Se),Me=0;Me{sr();const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,errorMessage:u,type:d,focused:f=!1,autoFocus:g,...y}=e,[p,v]=R.useState(!1),E=R.useRef(),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(qd,{focused:p,onClick:T,...e,children:w.jsx(Lkt,{value:Ot(e.value),onChange:C=>e.onChange&&e.onChange(C),...e.inputProps})})},jkt=e=>{sr();const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,errorMessage:u,type:d,focused:f=!1,autoFocus:g,...y}=e,[p,v]=R.useState(!1),E=R.useRef(),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(qd,{focused:p,onClick:T,...e,children:w.jsx("input",{type:"time",className:"form-control",value:e.value,onChange:C=>e.onChange&&e.onChange(C.target.value),...e.inputProps})})},g1={Example1:`const Example1 = () => { +`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var zG={};function Iae(e,t){Ot.deprecationHandler!=null&&Ot.deprecationHandler(e,t),zG[e]||(Mae(t),zG[e]=!0)}Ot.suppressDeprecationWarnings=!1;Ot.deprecationHandler=null;function Ic(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function IEt(e){var t,n;for(n in e)gr(e,n)&&(t=e[n],Ic(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function O3(e,t){var n=Jp({},e),r;for(r in t)gr(t,r)&&(Tv(e[r])&&Tv(t[r])?(n[r]={},Jp(n[r],e[r]),Jp(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)gr(e,r)&&!gr(t,r)&&Tv(e[r])&&(n[r]=Jp({},n[r]));return n}function w4(e){e!=null&&this.set(e)}var R3;Object.keys?R3=Object.keys:R3=function(e){var t,n=[];for(t in e)gr(e,t)&&n.push(t);return n};var DEt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $Et(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Ic(r)?r.call(t,n):r}function Oc(e,t,n){var r=""+Math.abs(e),a=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var S4=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,vk=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,x$={},Gb={};function nn(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(Gb[e]=a),t&&(Gb[t[0]]=function(){return Oc(a.apply(this,arguments),t[1],t[2])}),n&&(Gb[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function LEt(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function FEt(e){var t=e.match(S4),n,r;for(n=0,r=t.length;n=0&&vk.test(e);)e=e.replace(vk,r),vk.lastIndex=0,n-=1;return e}var jEt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function UEt(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(S4).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var BEt="Invalid date";function WEt(){return this._invalidDate}var zEt="%d",qEt=/\d{1,2}/;function HEt(e){return this._ordinal.replace("%d",e)}var VEt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function GEt(e,t,n,r){var a=this._relativeTime[n];return Ic(a)?a(e,t,n,r):a.replace(/%d/i,e)}function YEt(e,t){var n=this._relativeTime[e>0?"future":"past"];return Ic(n)?n(t):n.replace(/%s/i,t)}var qG={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Dl(e){return typeof e=="string"?qG[e]||qG[e.toLowerCase()]:void 0}function E4(e){var t={},n,r;for(r in e)gr(e,r)&&(n=Dl(r),n&&(t[n]=e[r]));return t}var KEt={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function XEt(e){var t=[],n;for(n in e)gr(e,n)&&t.push({unit:n,priority:KEt[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}var $ae=/\d/,zs=/\d\d/,Lae=/\d{3}/,T4=/\d{4}/,K_=/[+-]?\d{6}/,Kr=/\d\d?/,Fae=/\d\d\d\d?/,jae=/\d\d\d\d\d\d?/,X_=/\d{1,3}/,C4=/\d{1,4}/,Q_=/[+-]?\d{1,6}/,T0=/\d+/,J_=/[+-]?\d+/,QEt=/Z|[+-]\d\d:?\d\d/gi,Z_=/Z|[+-]\d\d(?::?\d\d)?/gi,JEt=/[+-]?\d+(\.\d{1,3})?/,QE=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,C0=/^[1-9]\d?/,k4=/^([1-9]\d|\d)/,Bx;Bx={};function Ft(e,t,n){Bx[e]=Ic(t)?t:function(r,a){return r&&n?n:t}}function ZEt(e,t){return gr(Bx,e)?Bx[e](t._strict,t._locale):new RegExp(eTt(e))}function eTt(e){return Id(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,i){return n||r||a||i}))}function Id(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function wl(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Kn(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=wl(t)),n}var P3={};function Mr(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),Kd(t)&&(r=function(i,o){o[t]=Kn(i)}),a=e.length,n=0;n68?1900:2e3)};var Uae=k0("FullYear",!0);function aTt(){return eO(this.year())}function k0(e,t){return function(n){return n!=null?(Bae(this,e,n),Ot.updateOffset(this,t),this):hE(this,e)}}function hE(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Bae(e,t,n){var r,a,i,o,l;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,o=e.month(),l=e.date(),l=l===29&&o===1&&!eO(i)?28:l,a?r.setUTCFullYear(i,o,l):r.setFullYear(i,o,l)}}function iTt(e){return e=Dl(e),Ic(this[e])?this[e]():this}function oTt(e,t){if(typeof e=="object"){e=E4(e);var n=XEt(e),r,a=n.length;for(r=0;r=0?(l=new Date(e+400,t,n,r,a,i,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,a,i,o),l}function mE(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Wx(e,t,n){var r=7+t-n,a=(7+mE(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Gae(e,t,n,r,a){var i=(7+n-r)%7,o=Wx(e,r,a),l=1+7*(t-1)+i+o,u,d;return l<=0?(u=e-1,d=CS(u)+l):l>CS(e)?(u=e+1,d=l-CS(e)):(u=e,d=l),{year:u,dayOfYear:d}}function gE(e,t,n){var r=Wx(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,i,o;return a<1?(o=e.year()-1,i=a+Dd(o,t,n)):a>Dd(e.year(),t,n)?(i=a-Dd(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function Dd(e,t,n){var r=Wx(e,t,n),a=Wx(e+1,t,n);return(CS(e)-r+a)/7}nn("w",["ww",2],"wo","week");nn("W",["WW",2],"Wo","isoWeek");Ft("w",Kr,C0);Ft("ww",Kr,zs);Ft("W",Kr,C0);Ft("WW",Kr,zs);JE(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Kn(e)});function bTt(e){return gE(e,this._week.dow,this._week.doy).week}var wTt={dow:0,doy:6};function STt(){return this._week.dow}function ETt(){return this._week.doy}function TTt(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function CTt(e){var t=gE(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}nn("d",0,"do","day");nn("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});nn("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});nn("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});nn("e",0,0,"weekday");nn("E",0,0,"isoWeekday");Ft("d",Kr);Ft("e",Kr);Ft("E",Kr);Ft("dd",function(e,t){return t.weekdaysMinRegex(e)});Ft("ddd",function(e,t){return t.weekdaysShortRegex(e)});Ft("dddd",function(e,t){return t.weekdaysRegex(e)});JE(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:Mn(n).invalidWeekday=e});JE(["d","e","E"],function(e,t,n,r){t[r]=Kn(e)});function kTt(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function xTt(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function _4(e,t){return e.slice(t,7).concat(e.slice(0,t))}var _Tt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Yae="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),OTt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),RTt=QE,PTt=QE,ATt=QE;function NTt(e,t){var n=xu(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?_4(n,this._week.dow):e?n[e.day()]:n}function MTt(e){return e===!0?_4(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ITt(e){return e===!0?_4(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function DTt(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Mc([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(a=ja.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=ja.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=ja.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=ja.call(this._weekdaysParse,o),a!==-1||(a=ja.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=ja.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=ja.call(this._shortWeekdaysParse,o),a!==-1||(a=ja.call(this._weekdaysParse,o),a!==-1)?a:(a=ja.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=ja.call(this._minWeekdaysParse,o),a!==-1||(a=ja.call(this._weekdaysParse,o),a!==-1)?a:(a=ja.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function $Tt(e,t,n){var r,a,i;if(this._weekdaysParseExact)return DTt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=Mc([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function LTt(e){if(!this.isValid())return e!=null?this:NaN;var t=hE(this,"Day");return e!=null?(e=kTt(e,this.localeData()),this.add(e-t,"d")):t}function FTt(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function jTt(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=xTt(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function UTt(e){return this._weekdaysParseExact?(gr(this,"_weekdaysRegex")||O4.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(gr(this,"_weekdaysRegex")||(this._weekdaysRegex=RTt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function BTt(e){return this._weekdaysParseExact?(gr(this,"_weekdaysRegex")||O4.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(gr(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=PTt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function WTt(e){return this._weekdaysParseExact?(gr(this,"_weekdaysRegex")||O4.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(gr(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ATt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function O4(){function e(f,g){return g.length-f.length}var t=[],n=[],r=[],a=[],i,o,l,u,d;for(i=0;i<7;i++)o=Mc([2e3,1]).day(i),l=Id(this.weekdaysMin(o,"")),u=Id(this.weekdaysShort(o,"")),d=Id(this.weekdays(o,"")),t.push(l),n.push(u),r.push(d),a.push(l),a.push(u),a.push(d);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function R4(){return this.hours()%12||12}function zTt(){return this.hours()||24}nn("H",["HH",2],0,"hour");nn("h",["hh",2],0,R4);nn("k",["kk",2],0,zTt);nn("hmm",0,0,function(){return""+R4.apply(this)+Oc(this.minutes(),2)});nn("hmmss",0,0,function(){return""+R4.apply(this)+Oc(this.minutes(),2)+Oc(this.seconds(),2)});nn("Hmm",0,0,function(){return""+this.hours()+Oc(this.minutes(),2)});nn("Hmmss",0,0,function(){return""+this.hours()+Oc(this.minutes(),2)+Oc(this.seconds(),2)});function Kae(e,t){nn(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kae("a",!0);Kae("A",!1);function Xae(e,t){return t._meridiemParse}Ft("a",Xae);Ft("A",Xae);Ft("H",Kr,k4);Ft("h",Kr,C0);Ft("k",Kr,C0);Ft("HH",Kr,zs);Ft("hh",Kr,zs);Ft("kk",Kr,zs);Ft("hmm",Fae);Ft("hmmss",jae);Ft("Hmm",Fae);Ft("Hmmss",jae);Mr(["H","HH"],ai);Mr(["k","kk"],function(e,t,n){var r=Kn(e);t[ai]=r===24?0:r});Mr(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Mr(["h","hh"],function(e,t,n){t[ai]=Kn(e),Mn(n).bigHour=!0});Mr("hmm",function(e,t,n){var r=e.length-2;t[ai]=Kn(e.substr(0,r)),t[Su]=Kn(e.substr(r)),Mn(n).bigHour=!0});Mr("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ai]=Kn(e.substr(0,r)),t[Su]=Kn(e.substr(r,2)),t[Nd]=Kn(e.substr(a)),Mn(n).bigHour=!0});Mr("Hmm",function(e,t,n){var r=e.length-2;t[ai]=Kn(e.substr(0,r)),t[Su]=Kn(e.substr(r))});Mr("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ai]=Kn(e.substr(0,r)),t[Su]=Kn(e.substr(r,2)),t[Nd]=Kn(e.substr(a))});function qTt(e){return(e+"").toLowerCase().charAt(0)==="p"}var HTt=/[ap]\.?m?\.?/i,VTt=k0("Hours",!0);function GTt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Qae={calendar:DEt,longDateFormat:jEt,invalidDate:BEt,ordinal:zEt,dayOfMonthOrdinalParse:qEt,relativeTime:VEt,months:lTt,monthsShort:Wae,week:wTt,weekdays:_Tt,weekdaysMin:OTt,weekdaysShort:Yae,meridiemParse:HTt},ta={},q1={},vE;function YTt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(a=tO(i.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&YTt(i,r)>=n-1)break;n--}t++}return vE}function XTt(e){return!!(e&&e.match("^[^/\\\\]*$"))}function tO(e){var t=null,n;if(ta[e]===void 0&&typeof to<"u"&&to&&to.exports&&XTt(e))try{t=vE._abbr,n=require,n("./locale/"+e),nh(t)}catch{ta[e]=null}return ta[e]}function nh(e,t){var n;return e&&(ns(t)?n=rf(e):n=P4(e,t),n?vE=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),vE._abbr}function P4(e,t){if(t!==null){var n,r=Qae;if(t.abbr=e,ta[e]!=null)Iae("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ta[e]._config;else if(t.parentLocale!=null)if(ta[t.parentLocale]!=null)r=ta[t.parentLocale]._config;else if(n=tO(t.parentLocale),n!=null)r=n._config;else return q1[t.parentLocale]||(q1[t.parentLocale]=[]),q1[t.parentLocale].push({name:e,config:t}),null;return ta[e]=new w4(O3(r,t)),q1[e]&&q1[e].forEach(function(a){P4(a.name,a.config)}),nh(e),ta[e]}else return delete ta[e],null}function QTt(e,t){if(t!=null){var n,r,a=Qae;ta[e]!=null&&ta[e].parentLocale!=null?ta[e].set(O3(ta[e]._config,t)):(r=tO(e),r!=null&&(a=r._config),t=O3(a,t),r==null&&(t.abbr=e),n=new w4(t),n.parentLocale=ta[e],ta[e]=n),nh(e)}else ta[e]!=null&&(ta[e].parentLocale!=null?(ta[e]=ta[e].parentLocale,e===nh()&&nh(e)):ta[e]!=null&&delete ta[e]);return ta[e]}function rf(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return vE;if(!xu(e)){if(t=tO(e),t)return t;e=[e]}return KTt(e)}function JTt(){return R3(ta)}function A4(e){var t,n=e._a;return n&&Mn(e).overflow===-2&&(t=n[Ad]<0||n[Ad]>11?Ad:n[vc]<1||n[vc]>x4(n[no],n[Ad])?vc:n[ai]<0||n[ai]>24||n[ai]===24&&(n[Su]!==0||n[Nd]!==0||n[yv]!==0)?ai:n[Su]<0||n[Su]>59?Su:n[Nd]<0||n[Nd]>59?Nd:n[yv]<0||n[yv]>999?yv:-1,Mn(e)._overflowDayOfYear&&(tvc)&&(t=vc),Mn(e)._overflowWeeks&&t===-1&&(t=nTt),Mn(e)._overflowWeekday&&t===-1&&(t=rTt),Mn(e).overflow=t),e}var ZTt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,eCt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tCt=/Z|[+-]\d\d(?::?\d\d)?/,yk=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_$=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],nCt=/^\/?Date\((-?\d+)/i,rCt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,aCt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Jae(e){var t,n,r=e._i,a=ZTt.exec(r)||eCt.exec(r),i,o,l,u,d=yk.length,f=_$.length;if(a){for(Mn(e).iso=!0,t=0,n=d;tCS(o)||e._dayOfYear===0)&&(Mn(e)._overflowDayOfYear=!0),n=mE(o,0,e._dayOfYear),e._a[Ad]=n.getUTCMonth(),e._a[vc]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ai]===24&&e._a[Su]===0&&e._a[Nd]===0&&e._a[yv]===0&&(e._nextDay=!0,e._a[ai]=0),e._d=(e._useUTC?mE:yTt).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ai]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Mn(e).weekdayMismatch=!0)}}function fCt(e){var t,n,r,a,i,o,l,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,n=Tb(t.GG,e._a[no],gE(Yr(),1,4).year),r=Tb(t.W,1),a=Tb(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,d=gE(Yr(),i,o),n=Tb(t.gg,e._a[no],d.year),r=Tb(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),r<1||r>Dd(n,i,o)?Mn(e)._overflowWeeks=!0:u!=null?Mn(e)._overflowWeekday=!0:(l=Gae(n,r,a,i,o),e._a[no]=l.year,e._dayOfYear=l.dayOfYear)}Ot.ISO_8601=function(){};Ot.RFC_2822=function(){};function M4(e){if(e._f===Ot.ISO_8601){Jae(e);return}if(e._f===Ot.RFC_2822){Zae(e);return}e._a=[],Mn(e).empty=!0;var t=""+e._i,n,r,a,i,o,l=t.length,u=0,d,f;for(a=Dae(e._f,e._locale).match(S4)||[],f=a.length,n=0;n0&&Mn(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),u+=r.length),Gb[i]?(r?Mn(e).empty=!1:Mn(e).unusedTokens.push(i),tTt(i,r,e)):e._strict&&!r&&Mn(e).unusedTokens.push(i);Mn(e).charsLeftOver=l-u,t.length>0&&Mn(e).unusedInput.push(t),e._a[ai]<=12&&Mn(e).bigHour===!0&&e._a[ai]>0&&(Mn(e).bigHour=void 0),Mn(e).parsedDateParts=e._a.slice(0),Mn(e).meridiem=e._meridiem,e._a[ai]=pCt(e._locale,e._a[ai],e._meridiem),d=Mn(e).era,d!==null&&(e._a[no]=e._locale.erasConvertYear(d,e._a[no])),N4(e),A4(e)}function pCt(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function hCt(e){var t,n,r,a,i,o,l=!1,u=e._f.length;if(u===0){Mn(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;athis?this:e:Y_()});function nie(e,t){var n,r;if(t.length===1&&xu(t[0])&&(t=t[0]),!t.length)return Yr();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function DCt(){if(!ns(this._isDSTShifted))return this._isDSTShifted;var e={},t;return b4(e,this),e=eie(e),e._a?(t=e._isUTC?Mc(e._a):Yr(e._a),this._isDSTShifted=this.isValid()&&xCt(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function $Ct(){return this.isValid()?!this._isUTC:!1}function LCt(){return this.isValid()?this._isUTC:!1}function aie(){return this.isValid()?this._isUTC&&this._offset===0:!1}var FCt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jCt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pu(e,t){var n=e,r=null,a,i,o;return zk(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Kd(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=FCt.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:Kn(r[vc])*a,h:Kn(r[ai])*a,m:Kn(r[Su])*a,s:Kn(r[Nd])*a,ms:Kn(A3(r[yv]*1e3))*a}):(r=jCt.exec(e))?(a=r[1]==="-"?-1:1,n={y:Kg(r[2],a),M:Kg(r[3],a),w:Kg(r[4],a),d:Kg(r[5],a),h:Kg(r[6],a),m:Kg(r[7],a),s:Kg(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=UCt(Yr(n.from),Yr(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),i=new nO(n),zk(e)&&gr(e,"_locale")&&(i._locale=e._locale),zk(e)&&gr(e,"_isValid")&&(i._isValid=e._isValid),i}Pu.fn=nO.prototype;Pu.invalid=kCt;function Kg(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function VG(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function UCt(e,t){var n;return e.isValid()&&t.isValid()?(t=D4(t,e),e.isBefore(t)?n=VG(e,t):(n=VG(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function iie(e,t){return function(n,r){var a,i;return r!==null&&!isNaN(+r)&&(Iae(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),a=Pu(n,r),oie(this,a,e),this}}function oie(e,t,n,r){var a=t._milliseconds,i=A3(t._days),o=A3(t._months);e.isValid()&&(r=r??!0,o&&qae(e,hE(e,"Month")+o*n),i&&Bae(e,"Date",hE(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&Ot.updateOffset(e,i||o))}var BCt=iie(1,"add"),WCt=iie(-1,"subtract");function sie(e){return typeof e=="string"||e instanceof String}function zCt(e){return _u(e)||KE(e)||sie(e)||Kd(e)||HCt(e)||qCt(e)||e===null||e===void 0}function qCt(e){var t=Tv(e)&&!v4(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=r.length;for(a=0;an.valueOf():n.valueOf()9999?Wk(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ic(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Wk(n,"Z")):Wk(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ikt(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+a+i)}function okt(e){e||(e=this.isUtc()?Ot.defaultFormatUtc:Ot.defaultFormat);var t=Wk(this,e);return this.localeData().postformat(t)}function skt(e,t){return this.isValid()&&(_u(e)&&e.isValid()||Yr(e).isValid())?Pu({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function lkt(e){return this.from(Yr(),e)}function ukt(e,t){return this.isValid()&&(_u(e)&&e.isValid()||Yr(e).isValid())?Pu({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ckt(e){return this.to(Yr(),e)}function lie(e){var t;return e===void 0?this._locale._abbr:(t=rf(e),t!=null&&(this._locale=t),this)}var uie=Il("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function cie(){return this._locale}var zx=1e3,Yb=60*zx,qx=60*Yb,die=(365*400+97)*24*qx;function Kb(e,t){return(e%t+t)%t}function fie(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-die:new Date(e,t,n).valueOf()}function pie(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-die:Date.UTC(e,t,n)}function dkt(e){var t,n;if(e=Dl(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?pie:fie,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Kb(t+(this._isUTC?0:this.utcOffset()*Yb),qx);break;case"minute":t=this._d.valueOf(),t-=Kb(t,Yb);break;case"second":t=this._d.valueOf(),t-=Kb(t,zx);break}return this._d.setTime(t),Ot.updateOffset(this,!0),this}function fkt(e){var t,n;if(e=Dl(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?pie:fie,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=qx-Kb(t+(this._isUTC?0:this.utcOffset()*Yb),qx)-1;break;case"minute":t=this._d.valueOf(),t+=Yb-Kb(t,Yb)-1;break;case"second":t=this._d.valueOf(),t+=zx-Kb(t,zx)-1;break}return this._d.setTime(t),Ot.updateOffset(this,!0),this}function pkt(){return this._d.valueOf()-(this._offset||0)*6e4}function hkt(){return Math.floor(this.valueOf()/1e3)}function mkt(){return new Date(this.valueOf())}function gkt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function vkt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ykt(){return this.isValid()?this.toISOString():null}function bkt(){return y4(this)}function wkt(){return Jp({},Mn(this))}function Skt(){return Mn(this).overflow}function Ekt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}nn("N",0,0,"eraAbbr");nn("NN",0,0,"eraAbbr");nn("NNN",0,0,"eraAbbr");nn("NNNN",0,0,"eraName");nn("NNNNN",0,0,"eraNarrow");nn("y",["y",1],"yo","eraYear");nn("y",["yy",2],0,"eraYear");nn("y",["yyy",3],0,"eraYear");nn("y",["yyyy",4],0,"eraYear");Ft("N",$4);Ft("NN",$4);Ft("NNN",$4);Ft("NNNN",Mkt);Ft("NNNNN",Ikt);Mr(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?Mn(n).era=a:Mn(n).invalidEra=e});Ft("y",T0);Ft("yy",T0);Ft("yyy",T0);Ft("yyyy",T0);Ft("yo",Dkt);Mr(["y","yy","yyy","yyyy"],no);Mr(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[no]=n._locale.eraYearOrdinalParse(e,a):t[no]=parseInt(e,10)});function Tkt(e,t){var n,r,a,i=this._eras||rf("en")._eras;for(n=0,r=i.length;n=0)return i[r]}function kkt(e,t){var n=e.since<=e.until?1:-1;return t===void 0?Ot(e.since).year():Ot(e.since).year()+(t-e.offset)*n}function xkt(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),Wkt.call(this,e,t,n,r,a))}function Wkt(e,t,n,r,a){var i=Gae(e,t,n,r,a),o=mE(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}nn("Q",0,"Qo","quarter");Ft("Q",$ae);Mr("Q",function(e,t){t[Ad]=(Kn(e)-1)*3});function zkt(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}nn("D",["DD",2],"Do","date");Ft("D",Kr,C0);Ft("DD",Kr,zs);Ft("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Mr(["D","DD"],vc);Mr("Do",function(e,t){t[vc]=Kn(e.match(Kr)[0])});var mie=k0("Date",!0);nn("DDD",["DDDD",3],"DDDo","dayOfYear");Ft("DDD",X_);Ft("DDDD",Lae);Mr(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Kn(e)});function qkt(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}nn("m",["mm",2],0,"minute");Ft("m",Kr,k4);Ft("mm",Kr,zs);Mr(["m","mm"],Su);var Hkt=k0("Minutes",!1);nn("s",["ss",2],0,"second");Ft("s",Kr,k4);Ft("ss",Kr,zs);Mr(["s","ss"],Nd);var Vkt=k0("Seconds",!1);nn("S",0,0,function(){return~~(this.millisecond()/100)});nn(0,["SS",2],0,function(){return~~(this.millisecond()/10)});nn(0,["SSS",3],0,"millisecond");nn(0,["SSSS",4],0,function(){return this.millisecond()*10});nn(0,["SSSSS",5],0,function(){return this.millisecond()*100});nn(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});nn(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});nn(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});nn(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Ft("S",X_,$ae);Ft("SS",X_,zs);Ft("SSS",X_,Lae);var Zp,gie;for(Zp="SSSS";Zp.length<=9;Zp+="S")Ft(Zp,T0);function Gkt(e,t){t[yv]=Kn(("0."+e)*1e3)}for(Zp="S";Zp.length<=9;Zp+="S")Mr(Zp,Gkt);gie=k0("Milliseconds",!1);nn("z",0,0,"zoneAbbr");nn("zz",0,0,"zoneName");function Ykt(){return this._isUTC?"UTC":""}function Kkt(){return this._isUTC?"Coordinated Universal Time":""}var ht=XE.prototype;ht.add=BCt;ht.calendar=YCt;ht.clone=KCt;ht.diff=nkt;ht.endOf=fkt;ht.format=okt;ht.from=skt;ht.fromNow=lkt;ht.to=ukt;ht.toNow=ckt;ht.get=iTt;ht.invalidAt=Skt;ht.isAfter=XCt;ht.isBefore=QCt;ht.isBetween=JCt;ht.isSame=ZCt;ht.isSameOrAfter=ekt;ht.isSameOrBefore=tkt;ht.isValid=bkt;ht.lang=uie;ht.locale=lie;ht.localeData=cie;ht.max=bCt;ht.min=yCt;ht.parsingFlags=wkt;ht.set=oTt;ht.startOf=dkt;ht.subtract=WCt;ht.toArray=gkt;ht.toObject=vkt;ht.toDate=mkt;ht.toISOString=akt;ht.inspect=ikt;typeof Symbol<"u"&&Symbol.for!=null&&(ht[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});ht.toJSON=ykt;ht.toString=rkt;ht.unix=hkt;ht.valueOf=pkt;ht.creationData=Ekt;ht.eraName=xkt;ht.eraNarrow=_kt;ht.eraAbbr=Okt;ht.eraYear=Rkt;ht.year=Uae;ht.isLeapYear=aTt;ht.weekYear=$kt;ht.isoWeekYear=Lkt;ht.quarter=ht.quarters=zkt;ht.month=Hae;ht.daysInMonth=mTt;ht.week=ht.weeks=TTt;ht.isoWeek=ht.isoWeeks=CTt;ht.weeksInYear=Ukt;ht.weeksInWeekYear=Bkt;ht.isoWeeksInYear=Fkt;ht.isoWeeksInISOWeekYear=jkt;ht.date=mie;ht.day=ht.days=LTt;ht.weekday=FTt;ht.isoWeekday=jTt;ht.dayOfYear=qkt;ht.hour=ht.hours=VTt;ht.minute=ht.minutes=Hkt;ht.second=ht.seconds=Vkt;ht.millisecond=ht.milliseconds=gie;ht.utcOffset=OCt;ht.utc=PCt;ht.local=ACt;ht.parseZone=NCt;ht.hasAlignedHourOffset=MCt;ht.isDST=ICt;ht.isLocal=$Ct;ht.isUtcOffset=LCt;ht.isUtc=aie;ht.isUTC=aie;ht.zoneAbbr=Ykt;ht.zoneName=Kkt;ht.dates=Il("dates accessor is deprecated. Use date instead.",mie);ht.months=Il("months accessor is deprecated. Use month instead",Hae);ht.years=Il("years accessor is deprecated. Use year instead",Uae);ht.zone=Il("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",RCt);ht.isDSTShifted=Il("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",DCt);function Xkt(e){return Yr(e*1e3)}function Qkt(){return Yr.apply(null,arguments).parseZone()}function vie(e){return e}var vr=w4.prototype;vr.calendar=$Et;vr.longDateFormat=UEt;vr.invalidDate=WEt;vr.ordinal=HEt;vr.preparse=vie;vr.postformat=vie;vr.relativeTime=GEt;vr.pastFuture=YEt;vr.set=IEt;vr.eras=Tkt;vr.erasParse=Ckt;vr.erasConvertYear=kkt;vr.erasAbbrRegex=Akt;vr.erasNameRegex=Pkt;vr.erasNarrowRegex=Nkt;vr.months=dTt;vr.monthsShort=fTt;vr.monthsParse=hTt;vr.monthsRegex=vTt;vr.monthsShortRegex=gTt;vr.week=bTt;vr.firstDayOfYear=ETt;vr.firstDayOfWeek=STt;vr.weekdays=NTt;vr.weekdaysMin=ITt;vr.weekdaysShort=MTt;vr.weekdaysParse=$Tt;vr.weekdaysRegex=UTt;vr.weekdaysShortRegex=BTt;vr.weekdaysMinRegex=WTt;vr.isPM=qTt;vr.meridiem=GTt;function Hx(e,t,n,r){var a=rf(),i=Mc().set(r,t);return a[n](i,e)}function yie(e,t,n){if(Kd(e)&&(t=e,e=void 0),e=e||"",t!=null)return Hx(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Hx(e,r,n,"month");return a}function F4(e,t,n,r){typeof e=="boolean"?(Kd(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Kd(t)&&(n=t,t=void 0),t=t||"");var a=rf(),i=e?a._week.dow:0,o,l=[];if(n!=null)return Hx(t,(n+i)%7,r,"day");for(o=0;o<7;o++)l[o]=Hx(t,(o+i)%7,r,"day");return l}function Jkt(e,t){return yie(e,t,"months")}function Zkt(e,t){return yie(e,t,"monthsShort")}function ext(e,t,n){return F4(e,t,n,"weekdays")}function txt(e,t,n){return F4(e,t,n,"weekdaysShort")}function nxt(e,t,n){return F4(e,t,n,"weekdaysMin")}nh("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Kn(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});Ot.lang=Il("moment.lang is deprecated. Use moment.locale instead.",nh);Ot.langData=Il("moment.langData is deprecated. Use moment.localeData instead.",rf);var Td=Math.abs;function rxt(){var e=this._data;return this._milliseconds=Td(this._milliseconds),this._days=Td(this._days),this._months=Td(this._months),e.milliseconds=Td(e.milliseconds),e.seconds=Td(e.seconds),e.minutes=Td(e.minutes),e.hours=Td(e.hours),e.months=Td(e.months),e.years=Td(e.years),this}function bie(e,t,n,r){var a=Pu(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function axt(e,t){return bie(this,e,t,1)}function ixt(e,t){return bie(this,e,t,-1)}function GG(e){return e<0?Math.floor(e):Math.ceil(e)}function oxt(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,i,o,l,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=GG(M3(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=wl(e/1e3),r.seconds=a%60,i=wl(a/60),r.minutes=i%60,o=wl(i/60),r.hours=o%24,t+=wl(o/24),u=wl(wie(t)),n+=u,t-=GG(M3(u)),l=wl(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function wie(e){return e*4800/146097}function M3(e){return e*146097/4800}function sxt(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Dl(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+wie(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(M3(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function af(e){return function(){return this.as(e)}}var Sie=af("ms"),lxt=af("s"),uxt=af("m"),cxt=af("h"),dxt=af("d"),fxt=af("w"),pxt=af("M"),hxt=af("Q"),mxt=af("y"),gxt=Sie;function vxt(){return Pu(this)}function yxt(e){return e=Dl(e),this.isValid()?this[e+"s"]():NaN}function Vv(e){return function(){return this.isValid()?this._data[e]:NaN}}var bxt=Vv("milliseconds"),wxt=Vv("seconds"),Sxt=Vv("minutes"),Ext=Vv("hours"),Txt=Vv("days"),Cxt=Vv("months"),kxt=Vv("years");function xxt(){return wl(this.days()/7)}var kd=Math.round,$b={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _xt(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function Oxt(e,t,n,r){var a=Pu(e).abs(),i=kd(a.as("s")),o=kd(a.as("m")),l=kd(a.as("h")),u=kd(a.as("d")),d=kd(a.as("M")),f=kd(a.as("w")),g=kd(a.as("y")),y=i<=n.ss&&["s",i]||i0,y[4]=r,_xt.apply(null,y)}function Rxt(e){return e===void 0?kd:typeof e=="function"?(kd=e,!0):!1}function Pxt(e,t){return $b[e]===void 0?!1:t===void 0?$b[e]:($b[e]=t,e==="s"&&($b.ss=t-1),!0)}function Axt(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=$b,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},$b,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),i=Oxt(this,!n,r,a),n&&(i=a.pastFuture(+this,i)),a.postformat(i)}var O$=Math.abs;function hb(e){return(e>0)-(e<0)||+e}function aO(){if(!this.isValid())return this.localeData().invalidDate();var e=O$(this._milliseconds)/1e3,t=O$(this._days),n=O$(this._months),r,a,i,o,l=this.asSeconds(),u,d,f,g;return l?(r=wl(e/60),a=wl(r/60),e%=60,r%=60,i=wl(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",d=hb(this._months)!==hb(l)?"-":"",f=hb(this._days)!==hb(l)?"-":"",g=hb(this._milliseconds)!==hb(l)?"-":"",u+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(t?f+t+"D":"")+(a||r||e?"T":"")+(a?g+a+"H":"")+(r?g+r+"M":"")+(e?g+o+"S":"")):"P0D"}var rr=nO.prototype;rr.isValid=CCt;rr.abs=rxt;rr.add=axt;rr.subtract=ixt;rr.as=sxt;rr.asMilliseconds=Sie;rr.asSeconds=lxt;rr.asMinutes=uxt;rr.asHours=cxt;rr.asDays=dxt;rr.asWeeks=fxt;rr.asMonths=pxt;rr.asQuarters=hxt;rr.asYears=mxt;rr.valueOf=gxt;rr._bubble=oxt;rr.clone=vxt;rr.get=yxt;rr.milliseconds=bxt;rr.seconds=wxt;rr.minutes=Sxt;rr.hours=Ext;rr.days=Txt;rr.weeks=xxt;rr.months=Cxt;rr.years=kxt;rr.humanize=Axt;rr.toISOString=aO;rr.toString=aO;rr.toJSON=aO;rr.locale=lie;rr.localeData=cie;rr.toIsoString=Il("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",aO);rr.lang=uie;nn("X",0,0,"unix");nn("x",0,0,"valueOf");Ft("x",J_);Ft("X",JEt);Mr("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Mr("x",function(e,t,n){n._d=new Date(Kn(e))});//! moment.js +Ot.version="2.30.1";NEt(Yr);Ot.fn=ht;Ot.min=wCt;Ot.max=SCt;Ot.now=ECt;Ot.utc=Mc;Ot.unix=Xkt;Ot.months=Jkt;Ot.isDate=KE;Ot.locale=nh;Ot.invalid=Y_;Ot.duration=Pu;Ot.isMoment=_u;Ot.weekdays=ext;Ot.parseZone=Qkt;Ot.localeData=rf;Ot.isDuration=zk;Ot.monthsShort=Zkt;Ot.weekdaysMin=nxt;Ot.defineLocale=P4;Ot.updateLocale=QTt;Ot.locales=JTt;Ot.weekdaysShort=txt;Ot.normalizeUnits=Dl;Ot.relativeTimeRounding=Rxt;Ot.relativeTimeThreshold=Pxt;Ot.calendarFormat=GCt;Ot.prototype=ht;Ot.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Nxt=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),Mxt=jt(Nxt);var R$,YG;function Ixt(){return YG||(YG=1,R$=(function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(r,a,i){n.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,a){if(1&a&&(r=n(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var o in r)n.d(i,o,(function(l){return r[l]}).bind(null,o));return i},n.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(a,"a",a),a},n.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},n.p="",n(n.s=4)})([function(e,t){e.exports=Fs()},function(e,t){e.exports=Mxt},function(e,t){e.exports=D3()},function(e,t,n){e.exports=n(5)()},function(e,t,n){e.exports=n(7)},function(e,t,n){var r=n(6);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function o(d,f,g,y,h,v){if(v!==r){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}}function l(){return o}o.isRequired=o;var u={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:a};return u.PropTypes=u,u}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){n.r(t);var r=n(3),a=n.n(r),i=n(1),o=n.n(i),l=n(0),u=n.n(l);function d(){return(d=Object.assign?Object.assign.bind():function(we){for(var ve=1;ve"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=k(we);if(ve){var Se=k(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return T(this,$e)}}function T(we,ve){if(ve&&(g(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return C(we)}function C(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function k(we){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function _(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}var A=(function(we){(function(ne,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(Me&&Me.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),Object.defineProperty(ne,"prototype",{writable:!1}),Me&&v(ne,Me)})(Se,we);var ve,$e,ye=E(Se);function Se(){var ne;y(this,Se);for(var Me=arguments.length,Qe=new Array(Me),ot=0;ot"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=re(we);if(ve){var Se=re(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return Q(this,$e)}}function Q(we,ve){if(ve&&(N(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return le(we)}function le(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function re(we){return(re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function ge(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}_(A,"defaultProps",{isValidDate:function(){return!0},renderDay:function(we,ve){return u.a.createElement("td",we,ve.date())}});var me=(function(we){(function(ne,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(Me&&Me.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),Object.defineProperty(ne,"prototype",{writable:!1}),Me&&j(ne,Me)})(Se,we);var ve,$e,ye=z(Se);function Se(){var ne;I(this,Se);for(var Me=arguments.length,Qe=new Array(Me),ot=0;ot1;)if(Me(Qe.date(ot)))return!1;return!0}},{key:"getMonthText",value:function(ne){var Me,Qe=this.props.viewDate,ot=Qe.localeData().monthsShort(Qe.month(ne));return(Me=ot.substring(0,3)).charAt(0).toUpperCase()+Me.slice(1)}}])&&L(ve.prototype,$e),Object.defineProperty(ve,"prototype",{writable:!1}),Se})(u.a.Component);function W(we,ve){return ve<4?we[0]:ve<8?we[1]:we[2]}function G(we){return(G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}function q(we,ve){if(!(we instanceof ve))throw new TypeError("Cannot call a class as a function")}function ce(we,ve){for(var $e=0;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=ee(we);if(ve){var Se=ee(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return ie(this,$e)}}function ie(we,ve){if(ve&&(G(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J(we)}function J(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function ee(we){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function Z(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}var ue=(function(we){(function(ne,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(Me&&Me.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),Object.defineProperty(ne,"prototype",{writable:!1}),Me&&H(ne,Me)})(Se,we);var ve,$e,ye=Y(Se);function Se(){var ne;q(this,Se);for(var Me=arguments.length,Qe=new Array(Me),ot=0;ot1;)if(Qe(ot.dayOfYear(Bt)))return Me[ne]=!1,!1;return Me[ne]=!0,!0}}])&&ce(ve.prototype,$e),Object.defineProperty(ve,"prototype",{writable:!1}),Se})(u.a.Component);function ke(we,ve){return ve<3?we[0]:ve<7?we[1]:we[2]}function fe(we){return(fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}function xe(we,ve){for(var $e=0;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=Ge(we);if(ve){var Se=Ge(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return tt(this,$e)}}function tt(we,ve){if(ve&&(fe(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function($e){if($e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $e})(we)}function Ge(we){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function at(we,ve){var $e=Object.keys(we);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(we);ve&&(ye=ye.filter((function(Se){return Object.getOwnPropertyDescriptor(we,Se).enumerable}))),$e.push.apply($e,ye)}return $e}function Et(we){for(var ve=1;ve=12?ne-=12:ne+=12,this.props.setTime("hours",ne)}},{key:"increase",value:function(ne){var Me=this.constraints[ne],Qe=parseInt(this.state[ne],10)+Me.step;return Qe>Me.max&&(Qe=Me.min+(Qe-(Me.max+1))),cn(ne,Qe)}},{key:"decrease",value:function(ne){var Me=this.constraints[ne],Qe=parseInt(this.state[ne],10)-Me.step;return Qe=0||(lr[Rr]=Dn[Rr]);return lr})(yn,["excludeScrollbar"]);return we.prototype&&we.prototype.isReactComponent?an.ref=this.getRef:an.wrappedRef=this.getRef,an.disableOnClickOutside=this.disableOnClickOutside,an.enableOnClickOutside=this.enableOnClickOutside,Object(l.createElement)(we,an)},ot})(l.Component),$e.displayName="OnClickOutside("+Se+")",$e.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:!1,outsideClickIgnoreClass:"ignore-react-onclickoutside",preventDefault:!1,stopPropagation:!1},$e.getClass=function(){return we.getClass?we.getClass():we},ye};function Fe(we){return(Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}function We(we,ve){var $e=Object.keys(we);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(we);ve&&(ye=ye.filter((function(Se){return Object.getOwnPropertyDescriptor(we,Se).enumerable}))),$e.push.apply($e,ye)}return $e}function Tt(we){for(var ve=1;ve"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var $e,ye=gn(we);if(ve){var Se=gn(this).constructor;$e=Reflect.construct(ye,arguments,Se)}else $e=ye.apply(this,arguments);return Ut(this,$e)}}function Ut(we,ve){if(ve&&(Fe(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return On(we)}function On(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function gn(we){return(gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)})(we)}function ln(we,ve,$e){return ve in we?Object.defineProperty(we,ve,{value:$e,enumerable:!0,configurable:!0,writable:!0}):we[ve]=$e,we}n.d(t,"default",(function(){return Oa}));var Bn="years",oa="months",Qa="days",ha="time",vn=a.a,_a=function(){},Bo=vn.oneOfType([vn.instanceOf(o.a),vn.instanceOf(Date),vn.string]),Oa=(function(we){gt($e,we);var ve=_t($e);function $e(ye){var Se;return Mt(this,$e),ln(On(Se=ve.call(this,ye)),"_renderCalendar",(function(){var ne=Se.props,Me=Se.state,Qe={viewDate:Me.viewDate.clone(),selectedDate:Se.getSelectedDate(),isValidDate:ne.isValidDate,updateDate:Se._updateDate,navigate:Se._viewNavigate,moment:o.a,showView:Se._showView};switch(Me.currentView){case Bn:return Qe.renderYear=ne.renderYear,u.a.createElement(ue,Qe);case oa:return Qe.renderMonth=ne.renderMonth,u.a.createElement(me,Qe);case Qa:return Qe.renderDay=ne.renderDay,Qe.timeFormat=Se.getFormat("time"),u.a.createElement(A,Qe);default:return Qe.dateFormat=Se.getFormat("date"),Qe.timeFormat=Se.getFormat("time"),Qe.timeConstraints=ne.timeConstraints,Qe.setTime=Se._setTime,u.a.createElement(Rt,Qe)}})),ln(On(Se),"_showView",(function(ne,Me){var Qe=(Me||Se.state.viewDate).clone(),ot=Se.props.onBeforeNavigate(ne,Se.state.currentView,Qe);ot&&Se.state.currentView!==ot&&(Se.props.onNavigate(ot),Se.setState({currentView:ot}))})),ln(On(Se),"viewToMethod",{days:"date",months:"month",years:"year"}),ln(On(Se),"nextView",{days:"time",months:"days",years:"months"}),ln(On(Se),"_updateDate",(function(ne){var Me=Se.state.currentView,Qe=Se.getUpdateOn(Se.getFormat("date")),ot=Se.state.viewDate.clone();ot[Se.viewToMethod[Me]](parseInt(ne.target.getAttribute("data-value"),10)),Me==="days"&&(ot.month(parseInt(ne.target.getAttribute("data-month"),10)),ot.year(parseInt(ne.target.getAttribute("data-year"),10)));var Bt={viewDate:ot};Me===Qe?(Bt.selectedDate=ot.clone(),Bt.inputValue=ot.format(Se.getFormat("datetime")),Se.props.open===void 0&&Se.props.input&&Se.props.closeOnSelect&&Se._closeCalendar(),Se.props.onChange(ot.clone())):Se._showView(Se.nextView[Me],ot),Se.setState(Bt)})),ln(On(Se),"_viewNavigate",(function(ne,Me){var Qe=Se.state.viewDate.clone();Qe.add(ne,Me),ne>0?Se.props.onNavigateForward(ne,Me):Se.props.onNavigateBack(-ne,Me),Se.setState({viewDate:Qe})})),ln(On(Se),"_setTime",(function(ne,Me){var Qe=(Se.getSelectedDate()||Se.state.viewDate).clone();Qe[ne](Me),Se.props.value||Se.setState({selectedDate:Qe,viewDate:Qe.clone(),inputValue:Qe.format(Se.getFormat("datetime"))}),Se.props.onChange(Qe)})),ln(On(Se),"_openCalendar",(function(){Se.isOpen()||Se.setState({open:!0},Se.props.onOpen)})),ln(On(Se),"_closeCalendar",(function(){Se.isOpen()&&Se.setState({open:!1},(function(){Se.props.onClose(Se.state.selectedDate||Se.state.inputValue)}))})),ln(On(Se),"_handleClickOutside",(function(){var ne=Se.props;ne.input&&Se.state.open&&ne.open===void 0&&ne.closeOnClickOutside&&Se._closeCalendar()})),ln(On(Se),"_onInputFocus",(function(ne){Se.callHandler(Se.props.inputProps.onFocus,ne)&&Se._openCalendar()})),ln(On(Se),"_onInputChange",(function(ne){if(Se.callHandler(Se.props.inputProps.onChange,ne)){var Me=ne.target?ne.target.value:ne,Qe=Se.localMoment(Me,Se.getFormat("datetime")),ot={inputValue:Me};Qe.isValid()?(ot.selectedDate=Qe,ot.viewDate=Qe.clone().startOf("month")):ot.selectedDate=null,Se.setState(ot,(function(){Se.props.onChange(Qe.isValid()?Qe:Se.state.inputValue)}))}})),ln(On(Se),"_onInputKeyDown",(function(ne){Se.callHandler(Se.props.inputProps.onKeyDown,ne)&&ne.which===9&&Se.props.closeOnTab&&Se._closeCalendar()})),ln(On(Se),"_onInputClick",(function(ne){Se.callHandler(Se.props.inputProps.onClick,ne)&&Se._openCalendar()})),Se.state=Se.getInitialState(),Se}return Ee($e,[{key:"render",value:function(){return u.a.createElement(Wo,{className:this.getClassName(),onClickOut:this._handleClickOutside},this.renderInput(),u.a.createElement("div",{className:"rdtPicker"},this.renderView()))}},{key:"renderInput",value:function(){if(this.props.input){var ye=Tt(Tt({type:"text",className:"form-control",value:this.getInputValue()},this.props.inputProps),{},{onFocus:this._onInputFocus,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onClick:this._onInputClick});return this.props.renderInput?u.a.createElement("div",null,this.props.renderInput(ye,this._openCalendar,this._closeCalendar)):u.a.createElement("input",ye)}}},{key:"renderView",value:function(){return this.props.renderView(this.state.currentView,this._renderCalendar)}},{key:"getInitialState",value:function(){var ye=this.props,Se=this.getFormat("datetime"),ne=this.parseDate(ye.value||ye.initialValue,Se);return this.checkTZ(),{open:!ye.input,currentView:ye.initialViewMode||this.getInitialView(),viewDate:this.getInitialViewDate(ne),selectedDate:ne&&ne.isValid()?ne:void 0,inputValue:this.getInitialInputValue(ne)}}},{key:"getInitialViewDate",value:function(ye){var Se,ne=this.props.initialViewDate;if(ne){if((Se=this.parseDate(ne,this.getFormat("datetime")))&&Se.isValid())return Se;Ra('The initialViewDated given "'+ne+'" is not valid. Using current date instead.')}else if(ye&&ye.isValid())return ye.clone();return this.getInitialDate()}},{key:"getInitialDate",value:function(){var ye=this.localMoment();return ye.hour(0).minute(0).second(0).millisecond(0),ye}},{key:"getInitialView",value:function(){var ye=this.getFormat("date");return ye?this.getUpdateOn(ye):ha}},{key:"parseDate",value:function(ye,Se){var ne;return ye&&typeof ye=="string"?ne=this.localMoment(ye,Se):ye&&(ne=this.localMoment(ye)),ne&&!ne.isValid()&&(ne=null),ne}},{key:"getClassName",value:function(){var ye="rdt",Se=this.props,ne=Se.className;return Array.isArray(ne)?ye+=" "+ne.join(" "):ne&&(ye+=" "+ne),Se.input||(ye+=" rdtStatic"),this.isOpen()&&(ye+=" rdtOpen"),ye}},{key:"isOpen",value:function(){return!this.props.input||(this.props.open===void 0?this.state.open:this.props.open)}},{key:"getUpdateOn",value:function(ye){return this.props.updateOnView?this.props.updateOnView:ye.match(/[lLD]/)?Qa:ye.indexOf("M")!==-1?oa:ye.indexOf("Y")!==-1?Bn:Qa}},{key:"getLocaleData",value:function(){var ye=this.props;return this.localMoment(ye.value||ye.defaultValue||new Date).localeData()}},{key:"getDateFormat",value:function(){var ye=this.getLocaleData(),Se=this.props.dateFormat;return Se===!0?ye.longDateFormat("L"):Se||""}},{key:"getTimeFormat",value:function(){var ye=this.getLocaleData(),Se=this.props.timeFormat;return Se===!0?ye.longDateFormat("LT"):Se||""}},{key:"getFormat",value:function(ye){if(ye==="date")return this.getDateFormat();if(ye==="time")return this.getTimeFormat();var Se=this.getDateFormat(),ne=this.getTimeFormat();return Se&&ne?Se+" "+ne:Se||ne}},{key:"updateTime",value:function(ye,Se,ne,Me){var Qe={},ot=Me?"selectedDate":"viewDate";Qe[ot]=this.state[ot].clone()[ye](Se,ne),this.setState(Qe)}},{key:"localMoment",value:function(ye,Se,ne){var Me=null;return Me=(ne=ne||this.props).utc?o.a.utc(ye,Se,ne.strictParsing):ne.displayTimeZone?o.a.tz(ye,Se,ne.displayTimeZone):o()(ye,Se,ne.strictParsing),ne.locale&&Me.locale(ne.locale),Me}},{key:"checkTZ",value:function(){var ye=this.props.displayTimeZone;!ye||this.tzWarning||o.a.tz||(this.tzWarning=!0,Ra('displayTimeZone prop with value "'+ye+'" is used but moment.js timezone is not loaded.',"error"))}},{key:"componentDidUpdate",value:function(ye){if(ye!==this.props){var Se=!1,ne=this.props;["locale","utc","displayZone","dateFormat","timeFormat"].forEach((function(Me){ye[Me]!==ne[Me]&&(Se=!0)})),Se&&this.regenerateDates(),ne.value&&ne.value!==ye.value&&this.setViewDate(ne.value),this.checkTZ()}}},{key:"regenerateDates",value:function(){var ye=this.props,Se=this.state.viewDate.clone(),ne=this.state.selectedDate&&this.state.selectedDate.clone();ye.locale&&(Se.locale(ye.locale),ne&&ne.locale(ye.locale)),ye.utc?(Se.utc(),ne&&ne.utc()):ye.displayTimeZone?(Se.tz(ye.displayTimeZone),ne&&ne.tz(ye.displayTimeZone)):(Se.locale(),ne&&ne.locale());var Me={viewDate:Se,selectedDate:ne};ne&&ne.isValid()&&(Me.inputValue=ne.format(this.getFormat("datetime"))),this.setState(Me)}},{key:"getSelectedDate",value:function(){if(this.props.value===void 0)return this.state.selectedDate;var ye=this.parseDate(this.props.value,this.getFormat("datetime"));return!(!ye||!ye.isValid())&&ye}},{key:"getInitialInputValue",value:function(ye){var Se=this.props;return Se.inputProps.value?Se.inputProps.value:ye&&ye.isValid()?ye.format(this.getFormat("datetime")):Se.value&&typeof Se.value=="string"?Se.value:Se.initialValue&&typeof Se.initialValue=="string"?Se.initialValue:""}},{key:"getInputValue",value:function(){var ye=this.getSelectedDate();return ye?ye.format(this.getFormat("datetime")):this.state.inputValue}},{key:"setViewDate",value:function(ye){var Se,ne=function(){return Ra("Invalid date passed to the `setViewDate` method: "+ye)};return ye&&(Se=typeof ye=="string"?this.localMoment(ye,this.getFormat("datetime")):this.localMoment(ye))&&Se.isValid()?void this.setState({viewDate:Se}):ne()}},{key:"navigate",value:function(ye){this._showView(ye)}},{key:"callHandler",value:function(ye,Se){return!ye||ye(Se)!==!1}}]),$e})(u.a.Component);function Ra(we,ve){var $e=typeof window<"u"&&window.console;$e&&(ve||(ve="warn"),$e[ve]("***react-datetime:"+we))}ln(Oa,"propTypes",{value:Bo,initialValue:Bo,initialViewDate:Bo,initialViewMode:vn.oneOf([Bn,oa,Qa,ha]),onOpen:vn.func,onClose:vn.func,onChange:vn.func,onNavigate:vn.func,onBeforeNavigate:vn.func,onNavigateBack:vn.func,onNavigateForward:vn.func,updateOnView:vn.string,locale:vn.string,utc:vn.bool,displayTimeZone:vn.string,input:vn.bool,dateFormat:vn.oneOfType([vn.string,vn.bool]),timeFormat:vn.oneOfType([vn.string,vn.bool]),inputProps:vn.object,timeConstraints:vn.object,isValidDate:vn.func,open:vn.bool,strictParsing:vn.bool,closeOnSelect:vn.bool,closeOnTab:vn.bool,renderView:vn.func,renderInput:vn.func,renderDay:vn.func,renderMonth:vn.func,renderYear:vn.func}),ln(Oa,"defaultProps",{onOpen:_a,onClose:_a,onCalendarOpen:_a,onCalendarClose:_a,onChange:_a,onNavigate:_a,onBeforeNavigate:function(we){return we},onNavigateBack:_a,onNavigateForward:_a,dateFormat:!0,timeFormat:!0,utc:!1,className:"",input:!0,inputProps:{},timeConstraints:{},isValidDate:function(){return!0},strictParsing:!0,closeOnSelect:!1,closeOnTab:!0,closeOnClickOutside:!0,renderView:function(we,ve){return ve()}}),ln(Oa,"moment",o.a);var Wo=Te((function(we){gt($e,we);var ve=_t($e);function $e(){var ye;Mt(this,$e);for(var Se=arguments.length,ne=new Array(Se),Me=0;Me{sr();const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,errorMessage:u,type:d,focused:f=!1,autoFocus:g,...y}=e,[h,v]=R.useState(!1),E=R.useRef(),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(ef,{focused:h,onClick:T,...e,children:w.jsx($xt,{value:Ot(e.value),onChange:C=>e.onChange&&e.onChange(C),...e.inputProps})})},Fxt=e=>{sr();const{placeholder:t,label:n,getInputRef:r,secureTextEntry:a,Icon:i,onChange:o,value:l,errorMessage:u,type:d,focused:f=!1,autoFocus:g,...y}=e,[h,v]=R.useState(!1),E=R.useRef(),T=R.useCallback(()=>{var C;(C=E.current)==null||C.focus()},[E.current]);return w.jsx(ef,{focused:h,onClick:T,...e,children:w.jsx("input",{type:"time",className:"form-control",value:e.value,onChange:C=>e.onChange&&e.onChange(C.target.value),...e.inputProps})})},V1={Example1:`const Example1 = () => { class FormDataSample { date: string; @@ -1143,4 +1143,4 @@ Ot.version="2.30.1";MSt(Yr);Ot.fn=mt;Ot.min=STt;Ot.max=ETt;Ot.now=TTt;Ot.utc=xc; ); -}`},Ukt=()=>w.jsxs("div",{children:[w.jsx("h2",{children:"FormDate* component"}),w.jsx("p",{children:"Selecting date, time, datetime, daterange is an important aspect of many different apps and softwares. Fireback react comes with a different set of such components."}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(Bkt,{}),w.jsx(na,{codeString:g1.Example1})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(Wkt,{}),w.jsx(na,{codeString:g1.Example2})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(zkt,{}),w.jsx(na,{codeString:g1.Example3})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(Hkt,{}),w.jsx(na,{codeString:g1.Example4})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(qkt,{}),w.jsx(na,{codeString:g1.Example5})]})]}),Bkt=()=>{class e{constructor(){this.date=void 0}}return e.Fields={date:"date"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form Date demo"}),w.jsx("p",{children:"In many examples you want to select only a date string, nothing more. This input does that clearly."}),w.jsx(os,{initialValues:{date:"2020-10-10"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(lne,{value:t.values.date,label:"When did you born?",onChange:n=>t.setFieldValue(e.Fields.date,n)})]})})]})},Wkt=()=>{class e{constructor(){this.time=void 0}}return e.Fields={time:"time"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form Date demo"}),w.jsx("p",{children:"Sometimes we just need to store a time, without anything else. 5 characters 00:00"}),w.jsx(os,{initialValues:{time:"22:10"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(jkt,{value:t.values.time,label:"At which hour did you born?",onChange:n=>t.setFieldValue(e.Fields.time,n)})]})})]})},zkt=()=>{class e{constructor(){this.datetime=void 0}}return e.Fields={datetime:"datetime"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form DateTime demo"}),w.jsx("p",{children:"In some cases, you want to store the datetime values with timezone in the database. this the component to use."}),w.jsx(os,{initialValues:{datetime:"2025-05-02T10:06:00.000Z"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Fkt,{value:t.values.datetime,label:"When did you born?",onChange:n=>t.setFieldValue(e.Fields.datetime,n)})]})})]})},qkt=()=>{class e{constructor(){this.daterange=void 0}}return e.Fields={daterange$:"daterange",daterange:{startDate:"startDate",endDate:"endDate"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Form DateRange demo"}),w.jsx("p",{children:"Choosing a date range also is an important thing in many applications, without timestamp."}),w.jsx(os,{initialValues:{daterange:{endDate:new Date,startDate:new Date}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(NSt,{value:t.values.daterange,label:"How many days take to eggs become chicken?",onChange:n=>t.setFieldValue(e.Fields.daterange$,n)})]})})]})},Hkt=()=>{class e{constructor(){this.daterange=void 0}}return e.Fields={daterange$:"daterange",daterange:{startDate:"startDate",endDate:"endDate"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Form DateTimeRange demo"}),w.jsx("p",{children:"Choosing a date range also is an important thing in many applications, a localised timezone."}),w.jsx(os,{initialValues:{daterange:{endDate:new Date,startDate:new Date}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Hre,{value:t.values.daterange,label:"Exactly what time egg came and gone??",onChange:n=>t.setFieldValue(e.Fields.daterange$,n)})]})})]})};function Vkt({routerId:e}){return w.jsxs(QDe,{routerId:e,children:[w.jsx(ht,{path:"demo/form-select",element:w.jsx(R6e,{})}),w.jsx(ht,{path:"demo/modals",element:w.jsx(U6e,{})}),w.jsx(ht,{path:"demo/form-date",element:w.jsx(Ukt,{})}),w.jsx(ht,{path:"demo",element:w.jsx(j6e,{})})]})}function Gkt({children:e,queryClient:t,mockServer:n,config:r}){return e}var _g={},Ap={},By={},lG;function Ykt(){if(lG)return By;lG=1,By.__esModule=!0,By.getAllMatches=e,By.escapeRegExp=t,By.escapeSource=n;function e(r,a){for(var i=void 0,o=[];i=r.exec(a);)o.push(i);return o}function t(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function n(r){return t(r).replace(/\/+/g,"/+")}return By}var rc={},uG;function Kkt(){if(uG)return rc;uG=1,rc.__esModule=!0,rc.string=e,rc.greedySplat=t,rc.splat=n,rc.any=r,rc.int=a,rc.uuid=i,rc.createRule=o;function e(){var l=arguments.length<=0||arguments[0]===void 0?{}:arguments[0],u=l.maxLength,d=l.minLength,f=l.length;return o({validate:function(y){return!(u&&y.length>u||d&&y.lengthu||d&&p=L.length)break;j=L[I++]}else{if(I=L.next(),I.done)break;j=I.value}var z=j[0],Q=j[1],le=void 0;Q?le=T[Q]||n.string():z=="**"?(le=n.greedySplat(),Q="splat"):z=="*"?(le=n.splat(),Q="splat"):z==="("?A+="(?:":z===")"?A+=")?":A+=t.escapeSource(z),Q&&(A+=le.regex,_.push({paramName:Q,rule:le})),k.push(z)}var re=k[k.length-1]!=="*",ge=re?"":"$";return A=new RegExp("^"+A+"/*"+ge,"i"),{tokens:k,regexpSource:A,params:_,paramNames:_.map(function(he){return he.paramName})}}function u(v,E){return v.every(function(T,C){return E[C].rule.validate(T)})}function d(v){return typeof v=="string"&&(v={pattern:v,rules:{}}),a.default(v.pattern,"you cannot use an empty route pattern"),v.rules=v.rules||{},v}function f(v){return v=d(v),i[v.pattern]||(i[v.pattern]=l(v)),i[v.pattern]}function g(v,E){E.charAt(0)!=="/"&&(E="/"+E);var T=f(v),C=T.regexpSource,k=T.params,_=T.paramNames,A=E.match(C);if(A!=null){var P=E.slice(A[0].length);if(!(P[0]=="/"||A[0][A[0].length])){var N=A.slice(1).map(function(I){return I!=null?decodeURIComponent(I):I});if(u(N,k))return N=N.map(function(I,L){return k[L].rule.convert(I)}),{remainingPathname:P,paramValues:N,paramNames:_}}}}function y(v,E){E=E||{};for(var T=f(v),C=T.tokens,k=0,_="",A=0,P=void 0,N=void 0,I=void 0,L=0,j=C.length;L0,'Missing splat #%s for path "%s"',A,v.pattern),I!=null&&(_+=encodeURI(I))):P==="("?k+=1:P===")"?k-=1:P.charAt(0)===":"?(N=P.substring(1),I=E[N],a.default(I!=null||k>0,'Missing "%s" parameter for path "%s"',N,v.pattern),I!=null&&(_+=encodeURIComponent(I))):_+=P;return _.replace(/\/+/g,"/")}function p(v,E){var T=g(v,E)||{},C=T.paramNames,k=T.paramValues,_=[];if(!C)return null;for(var A=0;At[n]||n).toLowerCase()}function txt(e,t){const n=Lae(t);return e.filter(r=>Object.keys(n).every(a=>{let{operation:i,value:o}=n[a];o=MG(o||"");const l=MG(Ea.get(r,a)||"");if(!l)return!1;switch(i){case"contains":return l.includes(o);case"equals":return l===o;case"startsWith":return l.startsWith(o);case"endsWith":return l.endsWith(o);default:return!1}}))}class Sd{constructor(t){this.content=t}items(t){let n={};try{n=JSON.parse(t.jsonQuery)}catch{}return txt(this.content,n).filter((a,i)=>!(it.startIndex+t.itemsPerPage-1))}total(){return this.content.length}create(t){const n={...t,uniqueId:qX().substr(0,12)};return this.content.push(n),n}getOne(t){return this.content.find(n=>n.uniqueId===t)}deletes(t){return this.content=this.content.filter(n=>!t.includes(n.uniqueId)),!0}patchOne(t){return this.content=this.content.map(n=>n.uniqueId===t.uniqueId?{...n,...t}:n),t}}const ym=e=>e.split(" or ").map(t=>t.split(" = ")[1].trim()),IG=new Sd([]);var DG,$G,y1;function nxt(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let rxt=(DG=en("files"),$G=tn("get"),y1=class{async getFiles(t){return{data:{items:IG.items(t),itemsPerPage:t.itemsPerPage,totalItems:IG.total()}}}},nxt(y1.prototype,"getFiles",[DG,$G],Object.getOwnPropertyDescriptor(y1.prototype,"getFiles"),y1.prototype),y1);const hr={emailProvider:new Sd([]),emailSender:new Sd([]),workspaceInvite:new Sd([]),publicJoinKey:new Sd([]),workspaces:new Sd([])};var LG,FG,jG,UG,BG,WG,zG,qG,HG,VG,Ri;function b1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let axt=(LG=en("email-providers"),FG=tn("get"),jG=en("email-provider/:uniqueId"),UG=tn("get"),BG=en("email-provider"),WG=tn("patch"),zG=en("email-provider"),qG=tn("post"),HG=en("email-provider"),VG=tn("delete"),Ri=class{async getEmailProviders(t){return{data:{items:hr.emailProvider.items(t),itemsPerPage:t.itemsPerPage,totalItems:hr.emailProvider.total()}}}async getEmailProviderByUniqueId(t){return{data:hr.emailProvider.getOne(t.paramValues[0])}}async patchEmailProviderByUniqueId(t){return{data:hr.emailProvider.patchOne(t.body)}}async postRole(t){return{data:hr.emailProvider.create(t.body)}}async deleteRole(t){return hr.emailProvider.deletes(ym(t.body.query)),{data:{}}}},b1(Ri.prototype,"getEmailProviders",[LG,FG],Object.getOwnPropertyDescriptor(Ri.prototype,"getEmailProviders"),Ri.prototype),b1(Ri.prototype,"getEmailProviderByUniqueId",[jG,UG],Object.getOwnPropertyDescriptor(Ri.prototype,"getEmailProviderByUniqueId"),Ri.prototype),b1(Ri.prototype,"patchEmailProviderByUniqueId",[BG,WG],Object.getOwnPropertyDescriptor(Ri.prototype,"patchEmailProviderByUniqueId"),Ri.prototype),b1(Ri.prototype,"postRole",[zG,qG],Object.getOwnPropertyDescriptor(Ri.prototype,"postRole"),Ri.prototype),b1(Ri.prototype,"deleteRole",[HG,VG],Object.getOwnPropertyDescriptor(Ri.prototype,"deleteRole"),Ri.prototype),Ri);var GG,YG,KG,XG,QG,ZG,JG,eY,tY,nY,Pi;function w1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let ixt=(GG=en("email-senders"),YG=tn("get"),KG=en("email-sender/:uniqueId"),XG=tn("get"),QG=en("email-sender"),ZG=tn("patch"),JG=en("email-sender"),eY=tn("post"),tY=en("email-sender"),nY=tn("delete"),Pi=class{async getEmailSenders(t){return{data:{items:hr.emailSender.items(t),itemsPerPage:t.itemsPerPage,totalItems:hr.emailSender.total()}}}async getEmailSenderByUniqueId(t){return{data:hr.emailSender.getOne(t.paramValues[0])}}async patchEmailSenderByUniqueId(t){return{data:hr.emailSender.patchOne(t.body)}}async postRole(t){return{data:hr.emailSender.create(t.body)}}async deleteRole(t){return hr.emailSender.deletes(ym(t.body.query)),{data:{}}}},w1(Pi.prototype,"getEmailSenders",[GG,YG],Object.getOwnPropertyDescriptor(Pi.prototype,"getEmailSenders"),Pi.prototype),w1(Pi.prototype,"getEmailSenderByUniqueId",[KG,XG],Object.getOwnPropertyDescriptor(Pi.prototype,"getEmailSenderByUniqueId"),Pi.prototype),w1(Pi.prototype,"patchEmailSenderByUniqueId",[QG,ZG],Object.getOwnPropertyDescriptor(Pi.prototype,"patchEmailSenderByUniqueId"),Pi.prototype),w1(Pi.prototype,"postRole",[JG,eY],Object.getOwnPropertyDescriptor(Pi.prototype,"postRole"),Pi.prototype),w1(Pi.prototype,"deleteRole",[tY,nY],Object.getOwnPropertyDescriptor(Pi.prototype,"deleteRole"),Pi.prototype),Pi);var rY,aY,iY,oY,sY,lY,uY,cY,dY,fY,Ai;function S1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let oxt=(rY=en("public-join-keys"),aY=tn("get"),iY=en("public-join-key/:uniqueId"),oY=tn("get"),sY=en("public-join-key"),lY=tn("patch"),uY=en("public-join-key"),cY=tn("post"),dY=en("public-join-key"),fY=tn("delete"),Ai=class{async getPublicJoinKeys(t){return{data:{items:hr.publicJoinKey.items(t),itemsPerPage:t.itemsPerPage,totalItems:hr.publicJoinKey.total()}}}async getPublicJoinKeyByUniqueId(t){return{data:hr.publicJoinKey.getOne(t.paramValues[0])}}async patchPublicJoinKeyByUniqueId(t){return{data:hr.publicJoinKey.patchOne(t.body)}}async postPublicJoinKey(t){return{data:hr.publicJoinKey.create(t.body)}}async deletePublicJoinKey(t){return hr.publicJoinKey.deletes(ym(t.body.query)),{data:{}}}},S1(Ai.prototype,"getPublicJoinKeys",[rY,aY],Object.getOwnPropertyDescriptor(Ai.prototype,"getPublicJoinKeys"),Ai.prototype),S1(Ai.prototype,"getPublicJoinKeyByUniqueId",[iY,oY],Object.getOwnPropertyDescriptor(Ai.prototype,"getPublicJoinKeyByUniqueId"),Ai.prototype),S1(Ai.prototype,"patchPublicJoinKeyByUniqueId",[sY,lY],Object.getOwnPropertyDescriptor(Ai.prototype,"patchPublicJoinKeyByUniqueId"),Ai.prototype),S1(Ai.prototype,"postPublicJoinKey",[uY,cY],Object.getOwnPropertyDescriptor(Ai.prototype,"postPublicJoinKey"),Ai.prototype),S1(Ai.prototype,"deletePublicJoinKey",[dY,fY],Object.getOwnPropertyDescriptor(Ai.prototype,"deletePublicJoinKey"),Ai.prototype),Ai);const Wy=new Sd([{name:"Administrator",uniqueId:"administrator"}]);var pY,mY,hY,gY,vY,yY,bY,wY,SY,EY,Ni;function E1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let sxt=(pY=en("roles"),mY=tn("get"),hY=en("role/:uniqueId"),gY=tn("get"),vY=en("role"),yY=tn("patch"),bY=en("role"),wY=tn("delete"),SY=en("role"),EY=tn("post"),Ni=class{async getRoles(t){return{data:{items:Wy.items(t),itemsPerPage:t.itemsPerPage,totalItems:Wy.total()}}}async getRoleByUniqueId(t){return{data:Wy.getOne(t.paramValues[0])}}async patchRoleByUniqueId(t){return{data:Wy.patchOne(t.body)}}async deleteRole(t){return Wy.deletes(ym(t.body.query)),{data:{}}}async postRole(t){return{data:Wy.create(t.body)}}},E1(Ni.prototype,"getRoles",[pY,mY],Object.getOwnPropertyDescriptor(Ni.prototype,"getRoles"),Ni.prototype),E1(Ni.prototype,"getRoleByUniqueId",[hY,gY],Object.getOwnPropertyDescriptor(Ni.prototype,"getRoleByUniqueId"),Ni.prototype),E1(Ni.prototype,"patchRoleByUniqueId",[vY,yY],Object.getOwnPropertyDescriptor(Ni.prototype,"patchRoleByUniqueId"),Ni.prototype),E1(Ni.prototype,"deleteRole",[bY,wY],Object.getOwnPropertyDescriptor(Ni.prototype,"deleteRole"),Ni.prototype),E1(Ni.prototype,"postRole",[SY,EY],Object.getOwnPropertyDescriptor(Ni.prototype,"postRole"),Ni.prototype),Ni);const lxt=[{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/workspace/invite(s)?",capability:null,capabilityId:null,created:1711043161316914e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/workspace-invites",icon:"common/workspaceinvite.svg",label:"Invites",parentId:"fireback",uniqueId:"invites",updated:1711043161316914e3,visibility:"A"},{activeMatcher:"publicjoinkey",capability:null,capabilityId:null,created:171104316131093e4,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/public-join-keys",icon:"common/joinkey.svg",label:"Public join keys",parentId:"fireback",uniqueId:"publicjoinkey",updated:171104316131093e4,visibility:"A"},{activeMatcher:"/role/",capability:null,capabilityId:null,created:1711043161314546e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/roles",icon:"common/role.svg",label:"Roles",parentId:"fireback",uniqueId:"roles",updated:1711043161314546e3,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Workspace",uniqueId:"fireback",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"drives",capability:null,capabilityId:null,created:1711043161320805e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/drives",icon:"common/drive.svg",label:"Drive & Files",parentId:"root",uniqueId:"drive_files",updated:1711043161320805e3,visibility:"A"},{activeMatcher:"email-provider",capability:null,capabilityId:null,created:1711043161309663e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-providers",icon:"common/emailprovider.svg",label:"Email Provider",parentId:"root",uniqueId:"email_provider",updated:1711043161309663e3,visibility:"A"},{activeMatcher:"email-sender",capability:null,capabilityId:null,created:171104316131211e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-senders",icon:"common/mail.svg",label:"Email Sender",parentId:"root",uniqueId:"email_sender",updated:171104316131211e4,visibility:"A"},{activeMatcher:"/user/",capability:null,capabilityId:null,created:1711043161318088e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/users",icon:"common/user.svg",label:"Users",parentId:"root",uniqueId:"users",updated:1711043161318088e3,visibility:"A"},{activeMatcher:"/workspace/config",capability:null,capabilityId:null,created:17110431613157e5,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-config",icon:"ios-theme/icons/settings.svg",label:"Workspace Config",parentId:"root",uniqueId:"workspace_config",updated:17110431613157e5,visibility:"A"},{activeMatcher:"workspace-type",capability:null,capabilityId:null,created:1711043161313308e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-types",icon:"ios-theme/icons/settings.svg",label:"Workspace Types",parentId:"root",uniqueId:"workspace_types",updated:1711043161313308e3,visibility:"A"},{activeMatcher:"/workspaces/|workspace/new",capability:null,capabilityId:null,created:171104316132216e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspaces",icon:"common/workspace.svg",label:"Workspaces",parentId:"root",uniqueId:"workspaces",updated:171104316132216e4,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Root",uniqueId:"root",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/invites/",capability:null,capabilityId:null,created:1711043161328479e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/user-invitations",icon:"common/workspaceinvite.svg",label:"My Invitations",parentId:"personal",uniqueId:"my_invitation",updated:1711043161328479e3,visibility:"A"},{activeMatcher:"/settings",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/settings",icon:"ios-theme/icons/settings.svg",label:"Settings",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"},{activeMatcher:"/selfservice",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice",icon:"ios-theme/icons/settings.svg",label:"Account & Profile",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"}],created:1711043161323813e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Personal",uniqueId:"personal",updated:1711043161323813e3,visibility:"A"}];var TY,CY,T1;function uxt(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let cxt=(TY=en("cte-app-menus"),CY=tn("get"),T1=class{async getAppMenu(t){return{data:{items:lxt}}}},uxt(T1.prototype,"getAppMenu",[TY,CY],Object.getOwnPropertyDescriptor(T1.prototype,"getAppMenu"),T1.prototype),T1);const dxt=()=>{if(Math.random()>.5)switch(Math.floor(Math.random()*3)){case 0:return`10.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 1:return`172.${Math.floor(16+Math.random()*16)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 2:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;default:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`}else return`${Math.floor(Math.random()*223)+1}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`},fxt=["Ali","Behnaz","Carlos","Daniela","Ethan","Fatima","Gustavo","Helena","Isla","Javad","Kamila","Leila","Mateo","Nasim","Omid","Parisa","Rania","Saeed","Tomas","Ursula","Vali","Wojtek","Zara","Alice","Bob","Charlie","Diana","George","Mohammed","Julia","Khalid","Lena","Mohammad","Nina","Oscar","Quentin","Rosa","Sam","Tina","Umar","Vera","Waleed","Xenia","Yara","Ziad","Maxim","Johann","Krzysztof","Baris","Mehmet"],pxt=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson","Thomas","Taylor","Moore","Jackson","Martin","Lee","Perez","Thompson","White","Harris","Sanchez","Clark","Ramirez","Lewis","Robinson","Walker","Young","Allen","King","Wright","Scott","Torres","Nguyen","Hill","Flores","Green","Adams","Nelson","Baker","Hall","Rivera","Campbell","Mitchell","Carter","Roberts","Kowalski","Nowak","Jankowski","Zieliński","Wiśniewski","Lewandowski","Kaczmarek","Bąk","Pereira","Altıntaş"],mxt=[{addressLine1:"123 Main St",addressLine2:"Apt 4",city:"Berlin",stateOrProvince:"Berlin",postalCode:"10115",countryCode:"DE"},{addressLine1:"456 Elm St",addressLine2:"Apt 23",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75001",countryCode:"FR"},{addressLine1:"789 Oak Dr",addressLine2:"Apt 9",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"01010",countryCode:"PL"},{addressLine1:"101 Maple Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"11365",countryCode:"IR"},{addressLine1:"202 Pine St",addressLine2:"Apt 7",city:"Madrid",stateOrProvince:"Community of Madrid",postalCode:"28001",countryCode:"ES"},{addressLine1:"456 Park Ave",addressLine2:"Suite 5",city:"New York",stateOrProvince:"NY",postalCode:"10001",countryCode:"US"},{addressLine1:"789 Sunset Blvd",addressLine2:"Unit 32",city:"Los Angeles",stateOrProvince:"CA",postalCode:"90001",countryCode:"US"},{addressLine1:"12 Hauptstrasse",addressLine2:"Apt 2",city:"Munich",stateOrProvince:"Bavaria",postalCode:"80331",countryCode:"DE"},{addressLine1:"75 Taksim Square",addressLine2:"Apt 12",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"321 Wierzbowa",addressLine2:"",city:"Kraków",stateOrProvince:"Małopolskie",postalCode:"31000",countryCode:"PL"},{addressLine1:"55 Rue de Rivoli",addressLine2:"Apt 10",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75004",countryCode:"FR"},{addressLine1:"1001 Tehran Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"14155",countryCode:"IR"},{addressLine1:"9 Calle de Alcalá",addressLine2:"Apt 6",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28009",countryCode:"ES"},{addressLine1:"222 King St",addressLine2:"Suite 1B",city:"London",stateOrProvince:"London",postalCode:"E1 6AN",countryCode:"GB"},{addressLine1:"15 St. Peters Rd",addressLine2:"",city:"Toronto",stateOrProvince:"Ontario",postalCode:"M5A 1A2",countryCode:"CA"},{addressLine1:"1340 Via Roma",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00100",countryCode:"IT"},{addressLine1:"42 Nevsky Prospekt",addressLine2:"Apt 1",city:"Saint Petersburg",stateOrProvince:"Leningradskaya",postalCode:"190000",countryCode:"RU"},{addressLine1:"3 Rüdesheimer Str.",addressLine2:"Apt 9",city:"Frankfurt",stateOrProvince:"Hessen",postalCode:"60326",countryCode:"DE"},{addressLine1:"271 Süleyman Demirel Bulvarı",addressLine2:"Apt 45",city:"Ankara",stateOrProvince:"Ankara",postalCode:"06100",countryCode:"TR"},{addressLine1:"7 Avenues des Champs-Élysées",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75008",countryCode:"FR"},{addressLine1:"125 E. 9th St.",addressLine2:"Apt 12",city:"Chicago",stateOrProvince:"IL",postalCode:"60606",countryCode:"US"},{addressLine1:"30 Rue de la Paix",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75002",countryCode:"FR"},{addressLine1:"16 Zlote Tarasy",addressLine2:"Apt 18",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-510",countryCode:"PL"},{addressLine1:"120 Váci utca",addressLine2:"",city:"Budapest",stateOrProvince:"Budapest",postalCode:"1056",countryCode:"HU"},{addressLine1:"22 Sukhbaatar Sq.",addressLine2:"",city:"Ulaanbaatar",stateOrProvince:"Central",postalCode:"14190",countryCode:"MN"},{addressLine1:"34 Princes Street",addressLine2:"Flat 1",city:"Edinburgh",stateOrProvince:"Scotland",postalCode:"EH2 4AY",countryCode:"GB"},{addressLine1:"310 Alzaibiyah",addressLine2:"",city:"Amman",stateOrProvince:"Amman",postalCode:"11183",countryCode:"JO"},{addressLine1:"401 Taksim Caddesi",addressLine2:"Apt 25",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"203 High Street",addressLine2:"Unit 3",city:"London",stateOrProvince:"London",postalCode:"W1T 2LQ",countryCode:"GB"},{addressLine1:"58 Via Nazionale",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00184",countryCode:"IT"},{addressLine1:"47 Gloucester Road",addressLine2:"",city:"London",stateOrProvince:"London",postalCode:"SW7 4QA",countryCode:"GB"},{addressLine1:"98 Calle de Bravo Murillo",addressLine2:"",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28039",countryCode:"ES"},{addressLine1:"57 Mirza Ghalib Street",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"15996",countryCode:"IR"},{addressLine1:"35 Królewska St",addressLine2:"",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-065",countryCode:"PL"},{addressLine1:"12 5th Ave",addressLine2:"",city:"New York",stateOrProvince:"NY",postalCode:"10128",countryCode:"US"}],hxt=()=>{const e=new Uint8Array(18);window.crypto.getRandomValues(e);const t=Array.from(e).map(r=>r.toString(36).padStart(2,"0")).join(""),n=Date.now().toString(36);return n+t.slice(0,30-n.length)},gxt=()=>({uniqueId:hxt(),firstName:Ea.sample(fxt),lastName:Ea.sample(pxt),photo:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,birthDate:new Date().getDate()+"/"+new Date().getMonth()+"/"+new Date().getFullYear(),gender:Math.random()>.5?1:0,title:Math.random()>.5?"Mr.":"Ms.",avatar:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,lastIpAddress:dxt(),primaryAddress:Ea.sample(mxt)}),zy=new Sd(Ea.times(1e4,()=>gxt()));var kY,xY,_Y,OY,RY,PY,AY,NY,MY,IY,Mi;function C1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let vxt=(kY=en("users"),xY=tn("get"),_Y=en("user"),OY=tn("delete"),RY=en("user/:uniqueId"),PY=tn("get"),AY=en("user"),NY=tn("patch"),MY=en("user"),IY=tn("post"),Mi=class{async getUsers(t){return{data:{items:zy.items(t),itemsPerPage:t.itemsPerPage,totalItems:zy.total()}}}async deleteUser(t){return zy.deletes(ym(t.body.query)),{data:{}}}async getUserByUniqueId(t){return{data:zy.getOne(t.paramValues[0])}}async patchUserByUniqueId(t){return{data:zy.patchOne(t.body)}}async postUser(t){return{data:zy.create(t.body)}}},C1(Mi.prototype,"getUsers",[kY,xY],Object.getOwnPropertyDescriptor(Mi.prototype,"getUsers"),Mi.prototype),C1(Mi.prototype,"deleteUser",[_Y,OY],Object.getOwnPropertyDescriptor(Mi.prototype,"deleteUser"),Mi.prototype),C1(Mi.prototype,"getUserByUniqueId",[RY,PY],Object.getOwnPropertyDescriptor(Mi.prototype,"getUserByUniqueId"),Mi.prototype),C1(Mi.prototype,"patchUserByUniqueId",[AY,NY],Object.getOwnPropertyDescriptor(Mi.prototype,"patchUserByUniqueId"),Mi.prototype),C1(Mi.prototype,"postUser",[MY,IY],Object.getOwnPropertyDescriptor(Mi.prototype,"postUser"),Mi.prototype),Mi);class yxt{}var DY,$Y,LY,FY,jY,UY,BY,WY,zY,qY,Ii;function k1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let bxt=(DY=en("workspace-invites"),$Y=tn("get"),LY=en("workspace-invite/:uniqueId"),FY=tn("get"),jY=en("workspace-invite"),UY=tn("patch"),BY=en("workspace/invite"),WY=tn("post"),zY=en("workspace-invite"),qY=tn("delete"),Ii=class{async getWorkspaceInvites(t){return{data:{items:hr.workspaceInvite.items(t),itemsPerPage:t.itemsPerPage,totalItems:hr.workspaceInvite.total()}}}async getWorkspaceInviteByUniqueId(t){return{data:hr.workspaceInvite.getOne(t.paramValues[0])}}async patchWorkspaceInviteByUniqueId(t){return{data:hr.workspaceInvite.patchOne(t.body)}}async postWorkspaceInvite(t){return{data:hr.workspaceInvite.create(t.body)}}async deleteWorkspaceInvite(t){return hr.workspaceInvite.deletes(ym(t.body.query)),{data:{}}}},k1(Ii.prototype,"getWorkspaceInvites",[DY,$Y],Object.getOwnPropertyDescriptor(Ii.prototype,"getWorkspaceInvites"),Ii.prototype),k1(Ii.prototype,"getWorkspaceInviteByUniqueId",[LY,FY],Object.getOwnPropertyDescriptor(Ii.prototype,"getWorkspaceInviteByUniqueId"),Ii.prototype),k1(Ii.prototype,"patchWorkspaceInviteByUniqueId",[jY,UY],Object.getOwnPropertyDescriptor(Ii.prototype,"patchWorkspaceInviteByUniqueId"),Ii.prototype),k1(Ii.prototype,"postWorkspaceInvite",[BY,WY],Object.getOwnPropertyDescriptor(Ii.prototype,"postWorkspaceInvite"),Ii.prototype),k1(Ii.prototype,"deleteWorkspaceInvite",[zY,qY],Object.getOwnPropertyDescriptor(Ii.prototype,"deleteWorkspaceInvite"),Ii.prototype),Ii);const qy=new Sd([{title:"Student workspace type",uniqueId:"1",slug:"/student"}]);var HY,VY,GY,YY,KY,XY,QY,ZY,JY,eK,Di;function x1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let wxt=(HY=en("workspace-types"),VY=tn("get"),GY=en("workspace-type/:uniqueId"),YY=tn("get"),KY=en("workspace-type"),XY=tn("patch"),QY=en("workspace-type"),ZY=tn("delete"),JY=en("workspace-type"),eK=tn("post"),Di=class{async getWorkspaceTypes(t){return{data:{items:qy.items(t),itemsPerPage:t.itemsPerPage,totalItems:qy.total()}}}async getWorkspaceTypeByUniqueId(t){return{data:qy.getOne(t.paramValues[0])}}async patchWorkspaceTypeByUniqueId(t){return{data:qy.patchOne(t.body)}}async deleteWorkspaceType(t){return qy.deletes(ym(t.body.query)),{data:{}}}async postWorkspaceType(t){return{data:qy.create(t.body)}}},x1(Di.prototype,"getWorkspaceTypes",[HY,VY],Object.getOwnPropertyDescriptor(Di.prototype,"getWorkspaceTypes"),Di.prototype),x1(Di.prototype,"getWorkspaceTypeByUniqueId",[GY,YY],Object.getOwnPropertyDescriptor(Di.prototype,"getWorkspaceTypeByUniqueId"),Di.prototype),x1(Di.prototype,"patchWorkspaceTypeByUniqueId",[KY,XY],Object.getOwnPropertyDescriptor(Di.prototype,"patchWorkspaceTypeByUniqueId"),Di.prototype),x1(Di.prototype,"deleteWorkspaceType",[QY,ZY],Object.getOwnPropertyDescriptor(Di.prototype,"deleteWorkspaceType"),Di.prototype),x1(Di.prototype,"postWorkspaceType",[JY,eK],Object.getOwnPropertyDescriptor(Di.prototype,"postWorkspaceType"),Di.prototype),Di);var tK,nK,rK,aK,iK,oK,sK,lK,uK,cK,dK,fK,qa;function Hy(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let Sxt=(tK=en("workspaces"),nK=tn("get"),rK=en("cte-workspaces"),aK=tn("get"),iK=en("workspace/:uniqueId"),oK=tn("get"),sK=en("workspace"),lK=tn("patch"),uK=en("workspace"),cK=tn("delete"),dK=en("workspace"),fK=tn("post"),qa=class{async getWorkspaces(t){return{data:{items:hr.workspaces.items(t),itemsPerPage:t.itemsPerPage,totalItems:hr.workspaces.total()}}}async getWorkspacesCte(t){return{data:{items:hr.workspaces.items(t),itemsPerPage:t.itemsPerPage,totalItems:hr.workspaces.total()}}}async getWorkspaceByUniqueId(t){return{data:hr.workspaces.getOne(t.paramValues[0])}}async patchWorkspaceByUniqueId(t){return{data:hr.workspaces.patchOne(t.body)}}async deleteWorkspace(t){return hr.workspaces.deletes(ym(t.body.query)),{data:{}}}async postWorkspace(t){return{data:hr.workspaces.create(t.body)}}},Hy(qa.prototype,"getWorkspaces",[tK,nK],Object.getOwnPropertyDescriptor(qa.prototype,"getWorkspaces"),qa.prototype),Hy(qa.prototype,"getWorkspacesCte",[rK,aK],Object.getOwnPropertyDescriptor(qa.prototype,"getWorkspacesCte"),qa.prototype),Hy(qa.prototype,"getWorkspaceByUniqueId",[iK,oK],Object.getOwnPropertyDescriptor(qa.prototype,"getWorkspaceByUniqueId"),qa.prototype),Hy(qa.prototype,"patchWorkspaceByUniqueId",[sK,lK],Object.getOwnPropertyDescriptor(qa.prototype,"patchWorkspaceByUniqueId"),qa.prototype),Hy(qa.prototype,"deleteWorkspace",[uK,cK],Object.getOwnPropertyDescriptor(qa.prototype,"deleteWorkspace"),qa.prototype),Hy(qa.prototype,"postWorkspace",[dK,fK],Object.getOwnPropertyDescriptor(qa.prototype,"postWorkspace"),qa.prototype),qa);var pK,mK,hK,gK,Np;function vK(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let Ext=(pK=en("workspace-config"),mK=tn("get"),hK=en("workspace-wconfig/distiwnct"),gK=tn("patch"),Np=class{async getWorkspaceConfig(t){return{data:{enableOtp:!0,forcePasswordOnPhone:!0}}}async setWorkspaceConfig(t){return{data:t.body}}},vK(Np.prototype,"getWorkspaceConfig",[pK,mK],Object.getOwnPropertyDescriptor(Np.prototype,"getWorkspaceConfig"),Np.prototype),vK(Np.prototype,"setWorkspaceConfig",[hK,gK],Object.getOwnPropertyDescriptor(Np.prototype,"setWorkspaceConfig"),Np.prototype),Np);const Txt=[new ext,new sxt,new cxt,new vxt,new wxt,new rxt,new axt,new ixt,new bxt,new oxt,new yxt,new Sxt,new Ext],Cxt=R.createContext(null),WD={didCatch:!1,error:null};class kxt extends R.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=WD}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,a=arguments.length,i=new Array(a),o=0;o0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}function _xt({error:e,resetErrorBoundary:t}){return w.jsxs("div",{role:"alert",children:[w.jsx("p",{children:"Something went wrong:"}),w.jsx("div",{style:{color:"red",padding:"30px"},children:e.message})]})}function Oxt(e){let t="en";const n=e.match(/\/(fa|en|ar|pl|de)\//);return n&&n[1]&&(t=n[1]),t}function Rxt(){const[e,t]=R.useState(window.location.toString());return R.useEffect(()=>{const n=()=>{t(window.location.hash)};return window.addEventListener("popstate",n),window.addEventListener("pushState",n),window.addEventListener("replaceState",n),()=>{window.removeEventListener("popstate",n),window.removeEventListener("pushState",n),window.removeEventListener("replaceState",n)}},[]),{hash:e}}function Pxt(){const{hash:e}=Rxt();let t="en",n="us",r="ltr";return kr.FORCED_LOCALE?t=kr.FORCED_LOCALE:t=Oxt(e),t==="fa"&&(n="ir",r="rtl"),{locale:t,region:n,dir:r}}const T_=R.createContext(null);T_.displayName="PanelGroupContext";const Sa={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},Zj=10,Xg=R.useLayoutEffect,yK=K1.useId,Axt=typeof yK=="function"?yK:()=>null;let Nxt=0;function Jj(e=null){const t=Axt(),n=R.useRef(e||t||null);return n.current===null&&(n.current=""+Nxt++),e??n.current}function Fae({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:a,forwardedRef:i,id:o,maxSize:l,minSize:u,onCollapse:d,onExpand:f,onResize:g,order:y,style:p,tagName:v="div",...E}){const T=R.useContext(T_);if(T===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:C,expandPanel:k,getPanelSize:_,getPanelStyle:A,groupId:P,isPanelCollapsed:N,reevaluatePanelConstraints:I,registerPanel:L,resizePanel:j,unregisterPanel:z}=T,Q=Jj(o),le=R.useRef({callbacks:{onCollapse:d,onExpand:f,onResize:g},constraints:{collapsedSize:n,collapsible:r,defaultSize:a,maxSize:l,minSize:u},id:Q,idIsFromProps:o!==void 0,order:y});R.useRef({didLogMissingDefaultSizeWarning:!1}),Xg(()=>{const{callbacks:ge,constraints:he}=le.current,W={...he};le.current.id=Q,le.current.idIsFromProps=o!==void 0,le.current.order=y,ge.onCollapse=d,ge.onExpand=f,ge.onResize=g,he.collapsedSize=n,he.collapsible=r,he.defaultSize=a,he.maxSize=l,he.minSize=u,(W.collapsedSize!==he.collapsedSize||W.collapsible!==he.collapsible||W.maxSize!==he.maxSize||W.minSize!==he.minSize)&&I(le.current,W)}),Xg(()=>{const ge=le.current;return L(ge),()=>{z(ge)}},[y,Q,L,z]),R.useImperativeHandle(i,()=>({collapse:()=>{C(le.current)},expand:ge=>{k(le.current,ge)},getId(){return Q},getSize(){return _(le.current)},isCollapsed(){return N(le.current)},isExpanded(){return!N(le.current)},resize:ge=>{j(le.current,ge)}}),[C,k,_,N,Q,j]);const re=A(le.current,a);return R.createElement(v,{...E,children:e,className:t,id:Q,style:{...re,...p},[Sa.groupId]:P,[Sa.panel]:"",[Sa.panelCollapsible]:r||void 0,[Sa.panelId]:Q,[Sa.panelSize]:parseFloat(""+re.flexGrow).toFixed(1)})}const e4=R.forwardRef((e,t)=>R.createElement(Fae,{...e,forwardedRef:t}));Fae.displayName="Panel";e4.displayName="forwardRef(Panel)";let VL=null,uk=-1,$p=null;function Mxt(e,t){if(t){const n=(t&zae)!==0,r=(t&qae)!==0,a=(t&Hae)!==0,i=(t&Vae)!==0;if(n)return a?"se-resize":i?"ne-resize":"e-resize";if(r)return a?"sw-resize":i?"nw-resize":"w-resize";if(a)return"s-resize";if(i)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function Ixt(){$p!==null&&(document.head.removeChild($p),VL=null,$p=null,uk=-1)}function zD(e,t){var n,r;const a=Mxt(e,t);if(VL!==a){if(VL=a,$p===null&&($p=document.createElement("style"),document.head.appendChild($p)),uk>=0){var i;(i=$p.sheet)===null||i===void 0||i.removeRule(uk)}uk=(n=(r=$p.sheet)===null||r===void 0?void 0:r.insertRule(`*{cursor: ${a} !important;}`))!==null&&n!==void 0?n:-1}}function jae(e){return e.type==="keydown"}function Uae(e){return e.type.startsWith("pointer")}function Bae(e){return e.type.startsWith("mouse")}function C_(e){if(Uae(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(Bae(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}function Dxt(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function $xt(e,t,n){return e.xt.x&&e.yt.y}function Lxt(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:SK(e),b:SK(t)};let r;for(;n.a.at(-1)===n.b.at(-1);)e=n.a.pop(),t=n.b.pop(),r=e;Fn(r,"Stacking order can only be calculated for elements with a common ancestor");const a={a:wK(bK(n.a)),b:wK(bK(n.b))};if(a.a===a.b){const i=r.childNodes,o={a:n.a.at(-1),b:n.b.at(-1)};let l=i.length;for(;l--;){const u=i[l];if(u===o.a)return 1;if(u===o.b)return-1}}return Math.sign(a.a-a.b)}const Fxt=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function jxt(e){var t;const n=getComputedStyle((t=Wae(e))!==null&&t!==void 0?t:e).display;return n==="flex"||n==="inline-flex"}function Uxt(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||jxt(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||Fxt.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function bK(e){let t=e.length;for(;t--;){const n=e[t];if(Fn(n,"Missing node"),Uxt(n))return n}return null}function wK(e){return e&&Number(getComputedStyle(e).zIndex)||0}function SK(e){const t=[];for(;e;)t.push(e),e=Wae(e);return t}function Wae(e){const{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}const zae=1,qae=2,Hae=4,Vae=8,Bxt=Dxt()==="coarse";let gu=[],Sb=!1,Lp=new Map,k_=new Map;const FS=new Set;function Wxt(e,t,n,r,a){var i;const{ownerDocument:o}=t,l={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:a},u=(i=Lp.get(o))!==null&&i!==void 0?i:0;return Lp.set(o,u+1),FS.add(l),cx(),function(){var f;k_.delete(e),FS.delete(l);const g=(f=Lp.get(o))!==null&&f!==void 0?f:1;if(Lp.set(o,g-1),cx(),g===1&&Lp.delete(o),gu.includes(l)){const y=gu.indexOf(l);y>=0&&gu.splice(y,1),n4(),a("up",!0,null)}}}function zxt(e){const{target:t}=e,{x:n,y:r}=C_(e);Sb=!0,t4({target:t,x:n,y:r}),cx(),gu.length>0&&(dx("down",e),e.preventDefault(),Gae(t)||e.stopImmediatePropagation())}function qD(e){const{x:t,y:n}=C_(e);if(Sb&&e.buttons===0&&(Sb=!1,dx("up",e)),!Sb){const{target:r}=e;t4({target:r,x:t,y:n})}dx("move",e),n4(),gu.length>0&&e.preventDefault()}function HD(e){const{target:t}=e,{x:n,y:r}=C_(e);k_.clear(),Sb=!1,gu.length>0&&(e.preventDefault(),Gae(t)||e.stopImmediatePropagation()),dx("up",e),t4({target:t,x:n,y:r}),n4(),cx()}function Gae(e){let t=e;for(;t;){if(t.hasAttribute(Sa.resizeHandle))return!0;t=t.parentElement}return!1}function t4({target:e,x:t,y:n}){gu.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),FS.forEach(a=>{const{element:i,hitAreaMargins:o}=a,l=i.getBoundingClientRect(),{bottom:u,left:d,right:f,top:g}=l,y=Bxt?o.coarse:o.fine;if(t>=d-y&&t<=f+y&&n>=g-y&&n<=u+y){if(r!==null&&document.contains(r)&&i!==r&&!i.contains(r)&&!r.contains(i)&&Lxt(r,i)>0){let v=r,E=!1;for(;v&&!v.contains(i);){if($xt(v.getBoundingClientRect(),l)){E=!0;break}v=v.parentElement}if(E)return}gu.push(a)}})}function VD(e,t){k_.set(e,t)}function n4(){let e=!1,t=!1;gu.forEach(r=>{const{direction:a}=r;a==="horizontal"?e=!0:t=!0});let n=0;k_.forEach(r=>{n|=r}),e&&t?zD("intersection",n):e?zD("horizontal",n):t?zD("vertical",n):Ixt()}let GD;function cx(){var e;(e=GD)===null||e===void 0||e.abort(),GD=new AbortController;const t={capture:!0,signal:GD.signal};FS.size&&(Sb?(gu.length>0&&Lp.forEach((n,r)=>{const{body:a}=r;n>0&&(a.addEventListener("contextmenu",HD,t),a.addEventListener("pointerleave",qD,t),a.addEventListener("pointermove",qD,t))}),Lp.forEach((n,r)=>{const{body:a}=r;a.addEventListener("pointerup",HD,t),a.addEventListener("pointercancel",HD,t)})):Lp.forEach((n,r)=>{const{body:a}=r;n>0&&(a.addEventListener("pointerdown",zxt,t),a.addEventListener("pointermove",qD,t))}))}function dx(e,t){FS.forEach(n=>{const{setResizeHandlerState:r}=n,a=gu.includes(n);r(e,a,t)})}function qxt(){const[e,t]=R.useState(0);return R.useCallback(()=>t(n=>n+1),[])}function Fn(e,t){if(!e)throw console.error(t),Error(t)}function av(e,t,n=Zj){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function Ed(e,t,n=Zj){return av(e,t,n)===0}function Ps(e,t,n){return av(e,t,n)===0}function Hxt(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(e=e<0?0-C:C)}}}{const g=e<0?l:u,y=n[g];Fn(y,`No panel constraints found for index ${g}`);const{collapsedSize:p=0,collapsible:v,minSize:E=0}=y;if(v){const T=t[g];if(Fn(T!=null,`Previous layout not found for panel index ${g}`),Ps(T,E)){const C=T-p;av(C,Math.abs(e))>0&&(e=e<0?0-C:C)}}}}{const g=e<0?1:-1;let y=e<0?u:l,p=0;for(;;){const E=t[y];Fn(E!=null,`Previous layout not found for panel index ${y}`);const C=lb({panelConstraints:n,panelIndex:y,size:100})-E;if(p+=C,y+=g,y<0||y>=n.length)break}const v=Math.min(Math.abs(e),Math.abs(p));e=e<0?0-v:v}{let y=e<0?l:u;for(;y>=0&&y=0))break;e<0?y--:y++}}if(Hxt(a,o))return a;{const g=e<0?u:l,y=t[g];Fn(y!=null,`Previous layout not found for panel index ${g}`);const p=y+d,v=lb({panelConstraints:n,panelIndex:g,size:p});if(o[g]=v,!Ps(v,p)){let E=p-v,C=e<0?u:l;for(;C>=0&&C0?C--:C++}}}const f=o.reduce((g,y)=>y+g,0);return Ps(f,100)?o:a}function Vxt({layout:e,panelsArray:t,pivotIndices:n}){let r=0,a=100,i=0,o=0;const l=n[0];Fn(l!=null,"No pivot index found"),t.forEach((g,y)=>{const{constraints:p}=g,{maxSize:v=100,minSize:E=0}=p;y===l?(r=E,a=v):(i+=E,o+=v)});const u=Math.min(a,100-i),d=Math.max(r,100-o),f=e[l];return{valueMax:u,valueMin:d,valueNow:f}}function jS(e,t=document){return Array.from(t.querySelectorAll(`[${Sa.resizeHandleId}][data-panel-group-id="${e}"]`))}function Yae(e,t,n=document){const a=jS(e,n).findIndex(i=>i.getAttribute(Sa.resizeHandleId)===t);return a??null}function Kae(e,t,n){const r=Yae(e,t,n);return r!=null?[r,r+1]:[-1,-1]}function Gxt(e){return e instanceof HTMLElement?!0:typeof e=="object"&&e!==null&&"tagName"in e&&"getAttribute"in e}function Xae(e,t=document){if(Gxt(t)&&t.dataset.panelGroupId==e)return t;const n=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return n||null}function x_(e,t=document){const n=t.querySelector(`[${Sa.resizeHandleId}="${e}"]`);return n||null}function Yxt(e,t,n,r=document){var a,i,o,l;const u=x_(t,r),d=jS(e,r),f=u?d.indexOf(u):-1,g=(a=(i=n[f])===null||i===void 0?void 0:i.id)!==null&&a!==void 0?a:null,y=(o=(l=n[f+1])===null||l===void 0?void 0:l.id)!==null&&o!==void 0?o:null;return[g,y]}function Kxt({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:a,panelGroupElement:i,setLayout:o}){R.useRef({didWarnAboutMissingResizeHandle:!1}),Xg(()=>{if(!i)return;const l=jS(n,i);for(let u=0;u{l.forEach((u,d)=>{u.removeAttribute("aria-controls"),u.removeAttribute("aria-valuemax"),u.removeAttribute("aria-valuemin"),u.removeAttribute("aria-valuenow")})}},[n,r,a,i]),R.useEffect(()=>{if(!i)return;const l=t.current;Fn(l,"Eager values not found");const{panelDataArray:u}=l,d=Xae(n,i);Fn(d!=null,`No group found for id "${n}"`);const f=jS(n,i);Fn(f,`No resize handles found for group id "${n}"`);const g=f.map(y=>{const p=y.getAttribute(Sa.resizeHandleId);Fn(p,"Resize handle element has no handle id attribute");const[v,E]=Yxt(n,p,u,i);if(v==null||E==null)return()=>{};const T=C=>{if(!C.defaultPrevented)switch(C.key){case"Enter":{C.preventDefault();const k=u.findIndex(_=>_.id===v);if(k>=0){const _=u[k];Fn(_,`No panel data found for index ${k}`);const A=r[k],{collapsedSize:P=0,collapsible:N,minSize:I=0}=_.constraints;if(A!=null&&N){const L=M1({delta:Ps(A,P)?I-P:P-A,initialLayout:r,panelConstraints:u.map(j=>j.constraints),pivotIndices:Kae(n,p,i),prevLayout:r,trigger:"keyboard"});r!==L&&o(L)}}break}}};return y.addEventListener("keydown",T),()=>{y.removeEventListener("keydown",T)}});return()=>{g.forEach(y=>y())}},[i,e,t,n,r,a,o])}function EK(e,t){if(e.length!==t.length)return!1;for(let n=0;ni.constraints);let r=0,a=100;for(let i=0;i{const i=e[a];Fn(i,`Panel data not found for index ${a}`);const{callbacks:o,constraints:l,id:u}=i,{collapsedSize:d=0,collapsible:f}=l,g=n[u];if(g==null||r!==g){n[u]=r;const{onCollapse:y,onExpand:p,onResize:v}=o;v&&v(r,g),f&&(y||p)&&(p&&(g==null||Ed(g,d))&&!Ed(r,d)&&p(),y&&(g==null||!Ed(g,d))&&Ed(r,d)&&y())}})}function LC(e,t){if(e.length!==t.length)return!1;for(let n=0;n{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...a)},t)}}function TK(e){try{if(typeof localStorage<"u")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,n)=>{localStorage.setItem(t,n)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function Zae(e){return`react-resizable-panels:${e}`}function Jae(e){return e.map(t=>{const{constraints:n,id:r,idIsFromProps:a,order:i}=t;return a?r:i?`${i}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((t,n)=>t.localeCompare(n)).join(",")}function eie(e,t){try{const n=Zae(e),r=t.getItem(n);if(r){const a=JSON.parse(r);if(typeof a=="object"&&a!=null)return a}}catch{}return null}function t_t(e,t,n){var r,a;const i=(r=eie(e,n))!==null&&r!==void 0?r:{},o=Jae(t);return(a=i[o])!==null&&a!==void 0?a:null}function n_t(e,t,n,r,a){var i;const o=Zae(e),l=Jae(t),u=(i=eie(e,a))!==null&&i!==void 0?i:{};u[l]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{a.setItem(o,JSON.stringify(u))}catch(d){console.error(d)}}function CK({layout:e,panelConstraints:t}){const n=[...e],r=n.reduce((i,o)=>i+o,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(i=>`${i}%`).join(", ")}`);if(!Ps(r,100)&&n.length>0)for(let i=0;i(TK(I1),I1.getItem(e)),setItem:(e,t)=>{TK(I1),I1.setItem(e,t)}},kK={};function tie({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:a,id:i=null,onLayout:o=null,keyboardResizeBy:l=null,storage:u=I1,style:d,tagName:f="div",...g}){const y=Jj(i),p=R.useRef(null),[v,E]=R.useState(null),[T,C]=R.useState([]),k=qxt(),_=R.useRef({}),A=R.useRef(new Map),P=R.useRef(0),N=R.useRef({autoSaveId:e,direction:r,dragState:v,id:y,keyboardResizeBy:l,onLayout:o,storage:u}),I=R.useRef({layout:T,panelDataArray:[],panelDataArrayChanged:!1});R.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),R.useImperativeHandle(a,()=>({getId:()=>N.current.id,getLayout:()=>{const{layout:Z}=I.current;return Z},setLayout:Z=>{const{onLayout:ee}=N.current,{layout:J,panelDataArray:ue}=I.current,ke=CK({layout:Z,panelConstraints:ue.map(fe=>fe.constraints)});EK(J,ke)||(C(ke),I.current.layout=ke,ee&&ee(ke),Vy(ue,ke,_.current))}}),[]),Xg(()=>{N.current.autoSaveId=e,N.current.direction=r,N.current.dragState=v,N.current.id=y,N.current.onLayout=o,N.current.storage=u}),Kxt({committedValuesRef:N,eagerValuesRef:I,groupId:y,layout:T,panelDataArray:I.current.panelDataArray,setLayout:C,panelGroupElement:p.current}),R.useEffect(()=>{const{panelDataArray:Z}=I.current;if(e){if(T.length===0||T.length!==Z.length)return;let ee=kK[e];ee==null&&(ee=e_t(n_t,r_t),kK[e]=ee);const J=[...Z],ue=new Map(A.current);ee(e,J,ue,T,u)}},[e,T,u]),R.useEffect(()=>{});const L=R.useCallback(Z=>{const{onLayout:ee}=N.current,{layout:J,panelDataArray:ue}=I.current;if(Z.constraints.collapsible){const ke=ue.map(qe=>qe.constraints),{collapsedSize:fe=0,panelSize:xe,pivotIndices:Ie}=Og(ue,Z,J);if(Fn(xe!=null,`Panel size not found for panel "${Z.id}"`),!Ed(xe,fe)){A.current.set(Z.id,xe);const nt=Xy(ue,Z)===ue.length-1?xe-fe:fe-xe,Ge=M1({delta:nt,initialLayout:J,panelConstraints:ke,pivotIndices:Ie,prevLayout:J,trigger:"imperative-api"});LC(J,Ge)||(C(Ge),I.current.layout=Ge,ee&&ee(Ge),Vy(ue,Ge,_.current))}}},[]),j=R.useCallback((Z,ee)=>{const{onLayout:J}=N.current,{layout:ue,panelDataArray:ke}=I.current;if(Z.constraints.collapsible){const fe=ke.map(at=>at.constraints),{collapsedSize:xe=0,panelSize:Ie=0,minSize:qe=0,pivotIndices:nt}=Og(ke,Z,ue),Ge=ee??qe;if(Ed(Ie,xe)){const at=A.current.get(Z.id),Et=at!=null&&at>=Ge?at:Ge,xt=Xy(ke,Z)===ke.length-1?Ie-Et:Et-Ie,Rt=M1({delta:xt,initialLayout:ue,panelConstraints:fe,pivotIndices:nt,prevLayout:ue,trigger:"imperative-api"});LC(ue,Rt)||(C(Rt),I.current.layout=Rt,J&&J(Rt),Vy(ke,Rt,_.current))}}},[]),z=R.useCallback(Z=>{const{layout:ee,panelDataArray:J}=I.current,{panelSize:ue}=Og(J,Z,ee);return Fn(ue!=null,`Panel size not found for panel "${Z.id}"`),ue},[]),Q=R.useCallback((Z,ee)=>{const{panelDataArray:J}=I.current,ue=Xy(J,Z);return Jxt({defaultSize:ee,dragState:v,layout:T,panelData:J,panelIndex:ue})},[v,T]),le=R.useCallback(Z=>{const{layout:ee,panelDataArray:J}=I.current,{collapsedSize:ue=0,collapsible:ke,panelSize:fe}=Og(J,Z,ee);return Fn(fe!=null,`Panel size not found for panel "${Z.id}"`),ke===!0&&Ed(fe,ue)},[]),re=R.useCallback(Z=>{const{layout:ee,panelDataArray:J}=I.current,{collapsedSize:ue=0,collapsible:ke,panelSize:fe}=Og(J,Z,ee);return Fn(fe!=null,`Panel size not found for panel "${Z.id}"`),!ke||av(fe,ue)>0},[]),ge=R.useCallback(Z=>{const{panelDataArray:ee}=I.current;ee.push(Z),ee.sort((J,ue)=>{const ke=J.order,fe=ue.order;return ke==null&&fe==null?0:ke==null?-1:fe==null?1:ke-fe}),I.current.panelDataArrayChanged=!0,k()},[k]);Xg(()=>{if(I.current.panelDataArrayChanged){I.current.panelDataArrayChanged=!1;const{autoSaveId:Z,onLayout:ee,storage:J}=N.current,{layout:ue,panelDataArray:ke}=I.current;let fe=null;if(Z){const Ie=t_t(Z,ke,J);Ie&&(A.current=new Map(Object.entries(Ie.expandToSizes)),fe=Ie.layout)}fe==null&&(fe=Zxt({panelDataArray:ke}));const xe=CK({layout:fe,panelConstraints:ke.map(Ie=>Ie.constraints)});EK(ue,xe)||(C(xe),I.current.layout=xe,ee&&ee(xe),Vy(ke,xe,_.current))}}),Xg(()=>{const Z=I.current;return()=>{Z.layout=[]}},[]);const he=R.useCallback(Z=>{let ee=!1;const J=p.current;return J&&window.getComputedStyle(J,null).getPropertyValue("direction")==="rtl"&&(ee=!0),function(ke){ke.preventDefault();const fe=p.current;if(!fe)return()=>null;const{direction:xe,dragState:Ie,id:qe,keyboardResizeBy:nt,onLayout:Ge}=N.current,{layout:at,panelDataArray:Et}=I.current,{initialLayout:kt}=Ie??{},xt=Kae(qe,Z,fe);let Rt=Qxt(ke,Z,xe,Ie,nt,fe);const cn=xe==="horizontal";cn&&ee&&(Rt=-Rt);const Ht=Et.map(dt=>dt.constraints),Wt=M1({delta:Rt,initialLayout:kt??at,panelConstraints:Ht,pivotIndices:xt,prevLayout:at,trigger:jae(ke)?"keyboard":"mouse-or-touch"}),Oe=!LC(at,Wt);(Uae(ke)||Bae(ke))&&P.current!=Rt&&(P.current=Rt,!Oe&&Rt!==0?cn?VD(Z,Rt<0?zae:qae):VD(Z,Rt<0?Hae:Vae):VD(Z,0)),Oe&&(C(Wt),I.current.layout=Wt,Ge&&Ge(Wt),Vy(Et,Wt,_.current))}},[]),W=R.useCallback((Z,ee)=>{const{onLayout:J}=N.current,{layout:ue,panelDataArray:ke}=I.current,fe=ke.map(at=>at.constraints),{panelSize:xe,pivotIndices:Ie}=Og(ke,Z,ue);Fn(xe!=null,`Panel size not found for panel "${Z.id}"`);const nt=Xy(ke,Z)===ke.length-1?xe-ee:ee-xe,Ge=M1({delta:nt,initialLayout:ue,panelConstraints:fe,pivotIndices:Ie,prevLayout:ue,trigger:"imperative-api"});LC(ue,Ge)||(C(Ge),I.current.layout=Ge,J&&J(Ge),Vy(ke,Ge,_.current))},[]),G=R.useCallback((Z,ee)=>{const{layout:J,panelDataArray:ue}=I.current,{collapsedSize:ke=0,collapsible:fe}=ee,{collapsedSize:xe=0,collapsible:Ie,maxSize:qe=100,minSize:nt=0}=Z.constraints,{panelSize:Ge}=Og(ue,Z,J);Ge!=null&&(fe&&Ie&&Ed(Ge,ke)?Ed(ke,xe)||W(Z,xe):Geqe&&W(Z,qe))},[W]),q=R.useCallback((Z,ee)=>{const{direction:J}=N.current,{layout:ue}=I.current;if(!p.current)return;const ke=x_(Z,p.current);Fn(ke,`Drag handle element not found for id "${Z}"`);const fe=Qae(J,ee);E({dragHandleId:Z,dragHandleRect:ke.getBoundingClientRect(),initialCursorPosition:fe,initialLayout:ue})},[]),ce=R.useCallback(()=>{E(null)},[]),H=R.useCallback(Z=>{const{panelDataArray:ee}=I.current,J=Xy(ee,Z);J>=0&&(ee.splice(J,1),delete _.current[Z.id],I.current.panelDataArrayChanged=!0,k())},[k]),Y=R.useMemo(()=>({collapsePanel:L,direction:r,dragState:v,expandPanel:j,getPanelSize:z,getPanelStyle:Q,groupId:y,isPanelCollapsed:le,isPanelExpanded:re,reevaluatePanelConstraints:G,registerPanel:ge,registerResizeHandle:he,resizePanel:W,startDragging:q,stopDragging:ce,unregisterPanel:H,panelGroupElement:p.current}),[L,v,r,j,z,Q,y,le,re,G,ge,he,W,q,ce,H]),ie={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return R.createElement(T_.Provider,{value:Y},R.createElement(f,{...g,children:t,className:n,id:i,ref:p,style:{...ie,...d},[Sa.group]:"",[Sa.groupDirection]:r,[Sa.groupId]:y}))}const nie=R.forwardRef((e,t)=>R.createElement(tie,{...e,forwardedRef:t}));tie.displayName="PanelGroup";nie.displayName="forwardRef(PanelGroup)";function Xy(e,t){return e.findIndex(n=>n===t||n.id===t.id)}function Og(e,t,n){const r=Xy(e,t),i=r===e.length-1?[r-1,r]:[r,r+1],o=n[r];return{...t.constraints,panelSize:o,pivotIndices:i}}function a_t({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){R.useEffect(()=>{if(e||n==null||r==null)return;const a=x_(t,r);if(a==null)return;const i=o=>{if(!o.defaultPrevented)switch(o.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{o.preventDefault(),n(o);break}case"F6":{o.preventDefault();const l=a.getAttribute(Sa.groupId);Fn(l,`No group element found for id "${l}"`);const u=jS(l,r),d=Yae(l,t,r);Fn(d!==null,`No resize element found for id "${t}"`);const f=o.shiftKey?d>0?d-1:u.length-1:d+1{a.removeEventListener("keydown",i)}},[r,e,t,n])}function rie({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:a,onBlur:i,onClick:o,onDragging:l,onFocus:u,onPointerDown:d,onPointerUp:f,style:g={},tabIndex:y=0,tagName:p="div",...v}){var E,T;const C=R.useRef(null),k=R.useRef({onClick:o,onDragging:l,onPointerDown:d,onPointerUp:f});R.useEffect(()=>{k.current.onClick=o,k.current.onDragging=l,k.current.onPointerDown=d,k.current.onPointerUp=f});const _=R.useContext(T_);if(_===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:A,groupId:P,registerResizeHandle:N,startDragging:I,stopDragging:L,panelGroupElement:j}=_,z=Jj(a),[Q,le]=R.useState("inactive"),[re,ge]=R.useState(!1),[he,W]=R.useState(null),G=R.useRef({state:Q});Xg(()=>{G.current.state=Q}),R.useEffect(()=>{if(n)W(null);else{const Y=N(z);W(()=>Y)}},[n,z,N]);const q=(E=r==null?void 0:r.coarse)!==null&&E!==void 0?E:15,ce=(T=r==null?void 0:r.fine)!==null&&T!==void 0?T:5;R.useEffect(()=>{if(n||he==null)return;const Y=C.current;Fn(Y,"Element ref not attached");let ie=!1;return Wxt(z,Y,A,{coarse:q,fine:ce},(ee,J,ue)=>{if(!J){le("inactive");return}switch(ee){case"down":{le("drag"),ie=!1,Fn(ue,'Expected event to be defined for "down" action'),I(z,ue);const{onDragging:ke,onPointerDown:fe}=k.current;ke==null||ke(!0),fe==null||fe();break}case"move":{const{state:ke}=G.current;ie=!0,ke!=="drag"&&le("hover"),Fn(ue,'Expected event to be defined for "move" action'),he(ue);break}case"up":{le("hover"),L();const{onClick:ke,onDragging:fe,onPointerUp:xe}=k.current;fe==null||fe(!1),xe==null||xe(),ie||ke==null||ke();break}}})},[q,A,n,ce,N,z,he,I,L]),a_t({disabled:n,handleId:z,resizeHandler:he,panelGroupElement:j});const H={touchAction:"none",userSelect:"none"};return R.createElement(p,{...v,children:e,className:t,id:a,onBlur:()=>{ge(!1),i==null||i()},onFocus:()=>{ge(!0),u==null||u()},ref:C,role:"separator",style:{...H,...g},tabIndex:y,[Sa.groupDirection]:A,[Sa.groupId]:P,[Sa.resizeHandle]:"",[Sa.resizeHandleActive]:Q==="drag"?"pointer":re?"keyboard":void 0,[Sa.resizeHandleEnabled]:!n,[Sa.resizeHandleId]:z,[Sa.resizeHandleState]:Q})}rie.displayName="PanelResizeHandle";const i_t=[{to:"/dashboard",label:"Home",icon:Is("/common/home.svg")},{to:"/selfservice",label:"Profile",icon:Is("/common/user.svg")},{to:"/settings",label:"Settings",icon:Is(vu.settings)}],o_t=()=>w.jsx("nav",{className:"bottom-nav-tabbar",children:i_t.map(e=>w.jsx(db,{state:{animated:!0},href:e.to,className:({isActive:t})=>t?"nav-link active":"nav-link",children:w.jsxs("span",{className:"nav-link",children:[w.jsx("img",{className:"nav-img",src:e.icon}),e.label]})},e.to))}),s_t=({routerId:e,ApplicationRoutes:t,queryClient:n})=>w.jsx(BK,{initialConfig:{remote:kr.REMOTE_SERVICE},children:w.jsx(kme,{children:w.jsxs(Rpe,{children:[w.jsx(Hge,{children:w.jsxs(Nme,{children:[w.jsx(t,{routerId:e}),w.jsx(qge,{})]})}),w.jsx(h$,{})]})})});function aie({className:e="",id:t,onDragComplete:n,minimal:r}){return w.jsx(rie,{id:t,onDragging:a=>{a===!1&&(n==null||n())},className:ia("panel-resize-handle",r?"minimal":"")})}const l_t=()=>{if(Gp().isMobileView)return 0;const e=localStorage.getItem("sidebarState"),t=e!==null?parseFloat(e):null;return t<=0?0:t*1.3},u_t=()=>{const{setSidebarRef:e,persistSidebarSize:t}=cv(),n=R.useRef(null),r=a=>{n.current=a,e(n.current)};return w.jsxs(e4,{style:{position:"relative",overflowY:"hidden",height:"100vh"},minSize:0,defaultSize:l_t(),ref:r,children:[w.jsx(BK,{initialConfig:{remote:kr.REMOTE_SERVICE},children:w.jsx(bQ,{miniSize:!1})}),!Gp().isMobileView&&w.jsx(aie,{onDragComplete:()=>{var a;t((a=n.current)==null?void 0:a.getSize())}})]})},c_t=({routerId:e,children:t,showHandle:n})=>w.jsxs(w.Fragment,{children:[w.jsx(u_t,{}),w.jsx(iie,{showHandle:n,routerId:e,children:t})]}),iie=({showHandle:e,routerId:t,children:n})=>{var o;const{routers:r,setFocusedRouter:a}=cv(),{session:i}=R.useContext(Je);return w.jsxs(e4,{order:2,defaultSize:i?80/r.length:100,minSize:10,onClick:()=>{a(t)},style:{position:"relative",display:"flex",width:"100%"},children:[(o=r.find(l=>l.id===t))!=null&&o.focused&&r.length?w.jsx("div",{className:"focus-indicator"}):null,n,e?w.jsx(aie,{minimal:!0}):null]})},d_t=UK;function f_t({ApplicationRoutes:e,queryClient:t}){const{routers:n}=cv(),r=n.map(a=>({...a,initialEntries:a!=null&&a.href?[{pathname:a==null?void 0:a.href}]:void 0,Wrapper:a.id==="url-router"?c_t:iie,Router:a.id==="url-router"?d_t:Woe,showHandle:n.filter(i=>i.id!=="url-router").length>0}));return w.jsx(nie,{direction:"horizontal",className:ia("application-panels",Gp().isMobileView?"has-bottom-tab":void 0),children:r.map((a,i)=>w.jsxs(a.Router,{future:{v7_startTransition:!0},basename:void 0,initialEntries:a.initialEntries,children:[w.jsx(a.Wrapper,{showHandle:a.showHandle,routerId:a.id,children:w.jsx(s_t,{routerId:a.id,ApplicationRoutes:e,queryClient:t})}),Gp().isMobileView?w.jsx(o_t,{}):void 0]},a.id))})}function p_t({children:e,queryClient:t,prefix:n,mockServer:r,config:a,locale:i}){return w.jsx(mpe,{socket:!0,preferredAcceptLanguage:i||a.interfaceLanguage,identifier:"fireback",prefix:n,queryClient:t,remote:kr.REMOTE_SERVICE,defaultExecFn:void 0,children:w.jsx(m_t,{children:e,mockServer:r})})}const m_t=({children:e,mockServer:t})=>{var i;const{options:n,session:r}=R.useContext(Je),a=R.useRef(new m3((i=kr.REMOTE_SERVICE)==null?void 0:i.replace(/\/$/,"")));return a.current.defaultHeaders={authorization:r==null?void 0:r.token,"workspace-id":n==null?void 0:n.headers["workspace-id"]},w.jsx($Me,{value:a.current,children:e})};function h_t(){const{session:e,checked:t}=R.useContext(Je),[n,r]=R.useState(!1),a=t&&!e,[i,o]=R.useState(!1);return R.useEffect(()=>{t&&e&&(o(!0),setTimeout(()=>{r(!0)},500))},[t,e]),{session:e,checked:t,needsAuthentication:a,loadComplete:n,setLoadComplete:r,isFading:i}}const xK=UK,g_t=({children:e})=>{var l;const{session:t,checked:n}=h_t(),r=KDe(),{selectedUrw:a,selectUrw:i}=R.useContext(Je),{query:o}=qS({queryOptions:{cacheTime:50,enabled:!1},query:{}});return R.useEffect(()=>{var u;((u=t==null?void 0:t.userWorkspaces)==null?void 0:u.length)===1&&!a&&o.refetch().then(d=>{var g,y,p,v;const f=((y=(g=d==null?void 0:d.data)==null?void 0:g.data)==null?void 0:y.items)||[];f.length===1&&i({roleId:(v=(p=f[0].roles)==null?void 0:p[0])==null?void 0:v.uniqueId,workspaceId:f[0].uniqueId})})},[a,t]),!t&&n?w.jsx(xK,{future:{v7_startTransition:!0},children:w.jsxs(jK,{children:[w.jsx(ht,{path:":locale",children:r}),w.jsx(ht,{path:"*",element:w.jsx(JL,{to:"/en/selfservice/welcome",replace:!0})})]})}):!a&&((l=t==null?void 0:t.userWorkspaces)==null?void 0:l.length)>1?w.jsx(xK,{future:{v7_startTransition:!0},children:w.jsx(YDe,{})}):w.jsx(w.Fragment,{children:e})};function v_t({ApplicationRoutes:e,WithSdk:t,mockServer:n,apiPrefix:r}){const[a]=ze.useState(()=>new pme),{config:i}=R.useContext(Jp);R.useEffect(()=>{"serviceWorker"in navigator&&"PushManager"in window&&navigator.serviceWorker.register("sw.js").then(l=>{})},[]);const{locale:o}=Pxt();return w.jsx(bme,{client:a,children:w.jsx(Hpe,{children:w.jsx(Dxe,{children:w.jsx(kxt,{FallbackComponent:_xt,onReset:l=>{},children:w.jsx(p_t,{mockServer:n,config:i,prefix:r,queryClient:a,locale:o,children:w.jsx(t,{mockServer:n,prefix:r,config:i,queryClient:a,children:w.jsx(g_t,{children:w.jsx(f_t,{queryClient:a,ApplicationRoutes:e})})})})})})})})}function y_t(){const e=R.useRef(Txt);return w.jsx(v_t,{ApplicationRoutes:Vkt,mockServer:e,WithSdk:Gkt})}const b_t=Gie.createRoot(document.getElementById("root"));b_t.render(w.jsx(ze.StrictMode,{children:w.jsx(y_t,{})}))});export default w_t(); +}`},jxt=()=>w.jsxs("div",{children:[w.jsx("h2",{children:"FormDate* component"}),w.jsx("p",{children:"Selecting date, time, datetime, daterange is an important aspect of many different apps and softwares. Fireback react comes with a different set of such components."}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(Uxt,{}),w.jsx(na,{codeString:V1.Example1})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(Bxt,{}),w.jsx(na,{codeString:V1.Example2})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(Wxt,{}),w.jsx(na,{codeString:V1.Example3})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(qxt,{}),w.jsx(na,{codeString:V1.Example4})]}),w.jsxs("div",{className:"mt-5 mb-5",children:[w.jsx(zxt,{}),w.jsx(na,{codeString:V1.Example5})]})]}),Uxt=()=>{class e{constructor(){this.date=void 0}}return e.Fields={date:"date"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form Date demo"}),w.jsx("p",{children:"In many examples you want to select only a date string, nothing more. This input does that clearly."}),w.jsx(ss,{initialValues:{date:"2020-10-10"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Gne,{value:t.values.date,label:"When did you born?",onChange:n=>t.setFieldValue(e.Fields.date,n)})]})})]})},Bxt=()=>{class e{constructor(){this.time=void 0}}return e.Fields={time:"time"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form Date demo"}),w.jsx("p",{children:"Sometimes we just need to store a time, without anything else. 5 characters 00:00"}),w.jsx(ss,{initialValues:{time:"22:10"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Fxt,{value:t.values.time,label:"At which hour did you born?",onChange:n=>t.setFieldValue(e.Fields.time,n)})]})})]})},Wxt=()=>{class e{constructor(){this.datetime=void 0}}return e.Fields={datetime:"datetime"},w.jsxs("div",{children:[w.jsx("h2",{children:"Form DateTime demo"}),w.jsx("p",{children:"In some cases, you want to store the datetime values with timezone in the database. this the component to use."}),w.jsx(ss,{initialValues:{datetime:"2025-05-02T10:06:00.000Z"},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Lxt,{value:t.values.datetime,label:"When did you born?",onChange:n=>t.setFieldValue(e.Fields.datetime,n)})]})})]})},zxt=()=>{class e{constructor(){this.daterange=void 0}}return e.Fields={daterange$:"daterange",daterange:{startDate:"startDate",endDate:"endDate"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Form DateRange demo"}),w.jsx("p",{children:"Choosing a date range also is an important thing in many applications, without timestamp."}),w.jsx(ss,{initialValues:{daterange:{endDate:new Date,startDate:new Date}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(AEt,{value:t.values.daterange,label:"How many days take to eggs become chicken?",onChange:n=>t.setFieldValue(e.Fields.daterange$,n)})]})})]})},qxt=()=>{class e{constructor(){this.daterange=void 0}}return e.Fields={daterange$:"daterange",daterange:{startDate:"startDate",endDate:"endDate"}},w.jsxs("div",{children:[w.jsx("h2",{children:"Form DateTimeRange demo"}),w.jsx("p",{children:"Choosing a date range also is an important thing in many applications, a localised timezone."}),w.jsx(ss,{initialValues:{daterange:{endDate:new Date,startDate:new Date}},onSubmit:t=>{alert(JSON.stringify(t,null,2))},children:t=>w.jsxs("div",{children:[w.jsxs("pre",{children:["Form: ",JSON.stringify(t.values,null,2)]}),w.jsx(Pae,{value:t.values.daterange,label:"Exactly what time egg came and gone??",onChange:n=>t.setFieldValue(e.Fields.daterange$,n)})]})})]})};function Hxt({routerId:e}){return w.jsxs(X$e,{routerId:e,children:[w.jsx(mt,{path:"demo/form-select",element:w.jsx(OBe,{})}),w.jsx(mt,{path:"demo/modals",element:w.jsx(jBe,{})}),w.jsx(mt,{path:"demo/form-date",element:w.jsx(jxt,{})}),w.jsx(mt,{path:"demo",element:w.jsx(FBe,{})})]})}function Vxt({children:e,queryClient:t,mockServer:n,config:r}){return e}var Xg={},Up={},mb={},KG;function Gxt(){if(KG)return mb;KG=1,mb.__esModule=!0,mb.getAllMatches=e,mb.escapeRegExp=t,mb.escapeSource=n;function e(r,a){for(var i=void 0,o=[];i=r.exec(a);)o.push(i);return o}function t(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function n(r){return t(r).replace(/\/+/g,"/+")}return mb}var dc={},XG;function Yxt(){if(XG)return dc;XG=1,dc.__esModule=!0,dc.string=e,dc.greedySplat=t,dc.splat=n,dc.any=r,dc.int=a,dc.uuid=i,dc.createRule=o;function e(){var l=arguments.length<=0||arguments[0]===void 0?{}:arguments[0],u=l.maxLength,d=l.minLength,f=l.length;return o({validate:function(y){return!(u&&y.length>u||d&&y.lengthu||d&&h=L.length)break;j=L[I++]}else{if(I=L.next(),I.done)break;j=I.value}var z=j[0],Q=j[1],le=void 0;Q?le=T[Q]||n.string():z=="**"?(le=n.greedySplat(),Q="splat"):z=="*"?(le=n.splat(),Q="splat"):z==="("?A+="(?:":z===")"?A+=")?":A+=t.escapeSource(z),Q&&(A+=le.regex,_.push({paramName:Q,rule:le})),k.push(z)}var re=k[k.length-1]!=="*",ge=re?"":"$";return A=new RegExp("^"+A+"/*"+ge,"i"),{tokens:k,regexpSource:A,params:_,paramNames:_.map(function(me){return me.paramName})}}function u(v,E){return v.every(function(T,C){return E[C].rule.validate(T)})}function d(v){return typeof v=="string"&&(v={pattern:v,rules:{}}),a.default(v.pattern,"you cannot use an empty route pattern"),v.rules=v.rules||{},v}function f(v){return v=d(v),i[v.pattern]||(i[v.pattern]=l(v)),i[v.pattern]}function g(v,E){E.charAt(0)!=="/"&&(E="/"+E);var T=f(v),C=T.regexpSource,k=T.params,_=T.paramNames,A=E.match(C);if(A!=null){var P=E.slice(A[0].length);if(!(P[0]=="/"||A[0][A[0].length])){var N=A.slice(1).map(function(I){return I!=null?decodeURIComponent(I):I});if(u(N,k))return N=N.map(function(I,L){return k[L].rule.convert(I)}),{remainingPathname:P,paramValues:N,paramNames:_}}}}function y(v,E){E=E||{};for(var T=f(v),C=T.tokens,k=0,_="",A=0,P=void 0,N=void 0,I=void 0,L=0,j=C.length;L0,'Missing splat #%s for path "%s"',A,v.pattern),I!=null&&(_+=encodeURI(I))):P==="("?k+=1:P===")"?k-=1:P.charAt(0)===":"?(N=P.substring(1),I=E[N],a.default(I!=null||k>0,'Missing "%s" parameter for path "%s"',N,v.pattern),I!=null&&(_+=encodeURIComponent(I))):_+=P;return _.replace(/\/+/g,"/")}function h(v,E){var T=g(v,E)||{},C=T.paramNames,k=T.paramValues,_=[];if(!C)return null;for(var A=0;At[n]||n).toLowerCase()}function e_t(e,t){const n=Eie(t);return e.filter(r=>Object.keys(n).every(a=>{let{operation:i,value:o}=n[a];o=wY(o||"");const l=wY(Ea.get(r,a)||"");if(!l)return!1;switch(i){case"contains":return l.includes(o);case"equals":return l===o;case"startsWith":return l.startsWith(o);case"endsWith":return l.endsWith(o);default:return!1}}))}class Rd{constructor(t){this.content=t}items(t){let n={};try{n=JSON.parse(t.jsonQuery)}catch{}return e_t(this.content,n).filter((a,i)=>!(it.startIndex+t.itemsPerPage-1))}total(){return this.content.length}create(t){const n={...t,uniqueId:AQ().substr(0,12)};return this.content.push(n),n}getOne(t){return this.content.find(n=>n.uniqueId===t)}deletes(t){return this.content=this.content.filter(n=>!t.includes(n.uniqueId)),!0}patchOne(t){return this.content=this.content.map(n=>n.uniqueId===t.uniqueId?{...n,...t}:n),t}}const Rh=e=>e.split(" or ").map(t=>t.split(" = ")[1].trim()),SY=new Rd([]);var EY,TY,Y1;function t_t(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let n_t=(EY=en("files"),TY=tn("get"),Y1=class{async getFiles(t){return{data:{items:SY.items(t),itemsPerPage:t.itemsPerPage,totalItems:SY.total()}}}},t_t(Y1.prototype,"getFiles",[EY,TY],Object.getOwnPropertyDescriptor(Y1.prototype,"getFiles"),Y1.prototype),Y1);const mr={emailProvider:new Rd([]),emailSender:new Rd([]),workspaceInvite:new Rd([]),publicJoinKey:new Rd([]),workspaces:new Rd([])};var CY,kY,xY,_Y,OY,RY,PY,AY,NY,MY,Pi;function K1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let r_t=(CY=en("email-providers"),kY=tn("get"),xY=en("email-provider/:uniqueId"),_Y=tn("get"),OY=en("email-provider"),RY=tn("patch"),PY=en("email-provider"),AY=tn("post"),NY=en("email-provider"),MY=tn("delete"),Pi=class{async getEmailProviders(t){return{data:{items:mr.emailProvider.items(t),itemsPerPage:t.itemsPerPage,totalItems:mr.emailProvider.total()}}}async getEmailProviderByUniqueId(t){return{data:mr.emailProvider.getOne(t.paramValues[0])}}async patchEmailProviderByUniqueId(t){return{data:mr.emailProvider.patchOne(t.body)}}async postRole(t){return{data:mr.emailProvider.create(t.body)}}async deleteRole(t){return mr.emailProvider.deletes(Rh(t.body.query)),{data:{}}}},K1(Pi.prototype,"getEmailProviders",[CY,kY],Object.getOwnPropertyDescriptor(Pi.prototype,"getEmailProviders"),Pi.prototype),K1(Pi.prototype,"getEmailProviderByUniqueId",[xY,_Y],Object.getOwnPropertyDescriptor(Pi.prototype,"getEmailProviderByUniqueId"),Pi.prototype),K1(Pi.prototype,"patchEmailProviderByUniqueId",[OY,RY],Object.getOwnPropertyDescriptor(Pi.prototype,"patchEmailProviderByUniqueId"),Pi.prototype),K1(Pi.prototype,"postRole",[PY,AY],Object.getOwnPropertyDescriptor(Pi.prototype,"postRole"),Pi.prototype),K1(Pi.prototype,"deleteRole",[NY,MY],Object.getOwnPropertyDescriptor(Pi.prototype,"deleteRole"),Pi.prototype),Pi);var IY,DY,$Y,LY,FY,jY,UY,BY,WY,zY,Ai;function X1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let a_t=(IY=en("email-senders"),DY=tn("get"),$Y=en("email-sender/:uniqueId"),LY=tn("get"),FY=en("email-sender"),jY=tn("patch"),UY=en("email-sender"),BY=tn("post"),WY=en("email-sender"),zY=tn("delete"),Ai=class{async getEmailSenders(t){return{data:{items:mr.emailSender.items(t),itemsPerPage:t.itemsPerPage,totalItems:mr.emailSender.total()}}}async getEmailSenderByUniqueId(t){return{data:mr.emailSender.getOne(t.paramValues[0])}}async patchEmailSenderByUniqueId(t){return{data:mr.emailSender.patchOne(t.body)}}async postRole(t){return{data:mr.emailSender.create(t.body)}}async deleteRole(t){return mr.emailSender.deletes(Rh(t.body.query)),{data:{}}}},X1(Ai.prototype,"getEmailSenders",[IY,DY],Object.getOwnPropertyDescriptor(Ai.prototype,"getEmailSenders"),Ai.prototype),X1(Ai.prototype,"getEmailSenderByUniqueId",[$Y,LY],Object.getOwnPropertyDescriptor(Ai.prototype,"getEmailSenderByUniqueId"),Ai.prototype),X1(Ai.prototype,"patchEmailSenderByUniqueId",[FY,jY],Object.getOwnPropertyDescriptor(Ai.prototype,"patchEmailSenderByUniqueId"),Ai.prototype),X1(Ai.prototype,"postRole",[UY,BY],Object.getOwnPropertyDescriptor(Ai.prototype,"postRole"),Ai.prototype),X1(Ai.prototype,"deleteRole",[WY,zY],Object.getOwnPropertyDescriptor(Ai.prototype,"deleteRole"),Ai.prototype),Ai);var qY,HY,VY,GY,YY,KY,XY,QY,JY,ZY,Ni;function Q1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let i_t=(qY=en("public-join-keys"),HY=tn("get"),VY=en("public-join-key/:uniqueId"),GY=tn("get"),YY=en("public-join-key"),KY=tn("patch"),XY=en("public-join-key"),QY=tn("post"),JY=en("public-join-key"),ZY=tn("delete"),Ni=class{async getPublicJoinKeys(t){return{data:{items:mr.publicJoinKey.items(t),itemsPerPage:t.itemsPerPage,totalItems:mr.publicJoinKey.total()}}}async getPublicJoinKeyByUniqueId(t){return{data:mr.publicJoinKey.getOne(t.paramValues[0])}}async patchPublicJoinKeyByUniqueId(t){return{data:mr.publicJoinKey.patchOne(t.body)}}async postPublicJoinKey(t){return{data:mr.publicJoinKey.create(t.body)}}async deletePublicJoinKey(t){return mr.publicJoinKey.deletes(Rh(t.body.query)),{data:{}}}},Q1(Ni.prototype,"getPublicJoinKeys",[qY,HY],Object.getOwnPropertyDescriptor(Ni.prototype,"getPublicJoinKeys"),Ni.prototype),Q1(Ni.prototype,"getPublicJoinKeyByUniqueId",[VY,GY],Object.getOwnPropertyDescriptor(Ni.prototype,"getPublicJoinKeyByUniqueId"),Ni.prototype),Q1(Ni.prototype,"patchPublicJoinKeyByUniqueId",[YY,KY],Object.getOwnPropertyDescriptor(Ni.prototype,"patchPublicJoinKeyByUniqueId"),Ni.prototype),Q1(Ni.prototype,"postPublicJoinKey",[XY,QY],Object.getOwnPropertyDescriptor(Ni.prototype,"postPublicJoinKey"),Ni.prototype),Q1(Ni.prototype,"deletePublicJoinKey",[JY,ZY],Object.getOwnPropertyDescriptor(Ni.prototype,"deletePublicJoinKey"),Ni.prototype),Ni);const gb=new Rd([{name:"Administrator",uniqueId:"administrator"}]);var eK,tK,nK,rK,aK,iK,oK,sK,lK,uK,Mi;function J1(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let o_t=(eK=en("roles"),tK=tn("get"),nK=en("role/:uniqueId"),rK=tn("get"),aK=en("role"),iK=tn("patch"),oK=en("role"),sK=tn("delete"),lK=en("role"),uK=tn("post"),Mi=class{async getRoles(t){return{data:{items:gb.items(t),itemsPerPage:t.itemsPerPage,totalItems:gb.total()}}}async getRoleByUniqueId(t){return{data:gb.getOne(t.paramValues[0])}}async patchRoleByUniqueId(t){return{data:gb.patchOne(t.body)}}async deleteRole(t){return gb.deletes(Rh(t.body.query)),{data:{}}}async postRole(t){return{data:gb.create(t.body)}}},J1(Mi.prototype,"getRoles",[eK,tK],Object.getOwnPropertyDescriptor(Mi.prototype,"getRoles"),Mi.prototype),J1(Mi.prototype,"getRoleByUniqueId",[nK,rK],Object.getOwnPropertyDescriptor(Mi.prototype,"getRoleByUniqueId"),Mi.prototype),J1(Mi.prototype,"patchRoleByUniqueId",[aK,iK],Object.getOwnPropertyDescriptor(Mi.prototype,"patchRoleByUniqueId"),Mi.prototype),J1(Mi.prototype,"deleteRole",[oK,sK],Object.getOwnPropertyDescriptor(Mi.prototype,"deleteRole"),Mi.prototype),J1(Mi.prototype,"postRole",[lK,uK],Object.getOwnPropertyDescriptor(Mi.prototype,"postRole"),Mi.prototype),Mi);const s_t=[{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/workspace/invite(s)?",capability:null,capabilityId:null,created:1711043161316914e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/workspace-invites",icon:"common/workspaceinvite.svg",label:"Invites",parentId:"fireback",uniqueId:"invites",updated:1711043161316914e3,visibility:"A"},{activeMatcher:"publicjoinkey",capability:null,capabilityId:null,created:171104316131093e4,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/public-join-keys",icon:"common/joinkey.svg",label:"Public join keys",parentId:"fireback",uniqueId:"publicjoinkey",updated:171104316131093e4,visibility:"A"},{activeMatcher:"/role/",capability:null,capabilityId:null,created:1711043161314546e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/roles",icon:"common/role.svg",label:"Roles",parentId:"fireback",uniqueId:"roles",updated:1711043161314546e3,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Workspace",uniqueId:"fireback",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"drives",capability:null,capabilityId:null,created:1711043161320805e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/drives",icon:"common/drive.svg",label:"Drive & Files",parentId:"root",uniqueId:"drive_files",updated:1711043161320805e3,visibility:"A"},{activeMatcher:"email-provider",capability:null,capabilityId:null,created:1711043161309663e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-providers",icon:"common/emailprovider.svg",label:"Email Provider",parentId:"root",uniqueId:"email_provider",updated:1711043161309663e3,visibility:"A"},{activeMatcher:"email-sender",capability:null,capabilityId:null,created:171104316131211e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-senders",icon:"common/mail.svg",label:"Email Sender",parentId:"root",uniqueId:"email_sender",updated:171104316131211e4,visibility:"A"},{activeMatcher:"/user/",capability:null,capabilityId:null,created:1711043161318088e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/users",icon:"common/user.svg",label:"Users",parentId:"root",uniqueId:"users",updated:1711043161318088e3,visibility:"A"},{activeMatcher:"/workspace/config",capability:null,capabilityId:null,created:17110431613157e5,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-config",icon:"ios-theme/icons/settings.svg",label:"Workspace Config",parentId:"root",uniqueId:"workspace_config",updated:17110431613157e5,visibility:"A"},{activeMatcher:"workspace-type",capability:null,capabilityId:null,created:1711043161313308e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-types",icon:"ios-theme/icons/settings.svg",label:"Workspace Types",parentId:"root",uniqueId:"workspace_types",updated:1711043161313308e3,visibility:"A"},{activeMatcher:"/workspaces/|workspace/new",capability:null,capabilityId:null,created:171104316132216e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspaces",icon:"common/workspace.svg",label:"Workspaces",parentId:"root",uniqueId:"workspaces",updated:171104316132216e4,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Root",uniqueId:"root",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/invites/",capability:null,capabilityId:null,created:1711043161328479e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/user-invitations",icon:"common/workspaceinvite.svg",label:"My Invitations",parentId:"personal",uniqueId:"my_invitation",updated:1711043161328479e3,visibility:"A"},{activeMatcher:"/settings",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/settings",icon:"ios-theme/icons/settings.svg",label:"Settings",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"},{activeMatcher:"/selfservice",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice",icon:"ios-theme/icons/settings.svg",label:"Account & Profile",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"}],created:1711043161323813e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Personal",uniqueId:"personal",updated:1711043161323813e3,visibility:"A"}];var cK,dK,Z1;function l_t(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let u_t=(cK=en("cte-app-menus"),dK=tn("get"),Z1=class{async getAppMenu(t){return{data:{items:s_t}}}},l_t(Z1.prototype,"getAppMenu",[cK,dK],Object.getOwnPropertyDescriptor(Z1.prototype,"getAppMenu"),Z1.prototype),Z1);const c_t=()=>{if(Math.random()>.5)switch(Math.floor(Math.random()*3)){case 0:return`10.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 1:return`172.${Math.floor(16+Math.random()*16)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 2:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;default:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`}else return`${Math.floor(Math.random()*223)+1}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`},d_t=["Ali","Behnaz","Carlos","Daniela","Ethan","Fatima","Gustavo","Helena","Isla","Javad","Kamila","Leila","Mateo","Nasim","Omid","Parisa","Rania","Saeed","Tomas","Ursula","Vali","Wojtek","Zara","Alice","Bob","Charlie","Diana","George","Mohammed","Julia","Khalid","Lena","Mohammad","Nina","Oscar","Quentin","Rosa","Sam","Tina","Umar","Vera","Waleed","Xenia","Yara","Ziad","Maxim","Johann","Krzysztof","Baris","Mehmet"],f_t=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson","Thomas","Taylor","Moore","Jackson","Martin","Lee","Perez","Thompson","White","Harris","Sanchez","Clark","Ramirez","Lewis","Robinson","Walker","Young","Allen","King","Wright","Scott","Torres","Nguyen","Hill","Flores","Green","Adams","Nelson","Baker","Hall","Rivera","Campbell","Mitchell","Carter","Roberts","Kowalski","Nowak","Jankowski","Zieliński","Wiśniewski","Lewandowski","Kaczmarek","Bąk","Pereira","Altıntaş"],p_t=[{addressLine1:"123 Main St",addressLine2:"Apt 4",city:"Berlin",stateOrProvince:"Berlin",postalCode:"10115",countryCode:"DE"},{addressLine1:"456 Elm St",addressLine2:"Apt 23",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75001",countryCode:"FR"},{addressLine1:"789 Oak Dr",addressLine2:"Apt 9",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"01010",countryCode:"PL"},{addressLine1:"101 Maple Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"11365",countryCode:"IR"},{addressLine1:"202 Pine St",addressLine2:"Apt 7",city:"Madrid",stateOrProvince:"Community of Madrid",postalCode:"28001",countryCode:"ES"},{addressLine1:"456 Park Ave",addressLine2:"Suite 5",city:"New York",stateOrProvince:"NY",postalCode:"10001",countryCode:"US"},{addressLine1:"789 Sunset Blvd",addressLine2:"Unit 32",city:"Los Angeles",stateOrProvince:"CA",postalCode:"90001",countryCode:"US"},{addressLine1:"12 Hauptstrasse",addressLine2:"Apt 2",city:"Munich",stateOrProvince:"Bavaria",postalCode:"80331",countryCode:"DE"},{addressLine1:"75 Taksim Square",addressLine2:"Apt 12",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"321 Wierzbowa",addressLine2:"",city:"Kraków",stateOrProvince:"Małopolskie",postalCode:"31000",countryCode:"PL"},{addressLine1:"55 Rue de Rivoli",addressLine2:"Apt 10",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75004",countryCode:"FR"},{addressLine1:"1001 Tehran Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"14155",countryCode:"IR"},{addressLine1:"9 Calle de Alcalá",addressLine2:"Apt 6",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28009",countryCode:"ES"},{addressLine1:"222 King St",addressLine2:"Suite 1B",city:"London",stateOrProvince:"London",postalCode:"E1 6AN",countryCode:"GB"},{addressLine1:"15 St. Peters Rd",addressLine2:"",city:"Toronto",stateOrProvince:"Ontario",postalCode:"M5A 1A2",countryCode:"CA"},{addressLine1:"1340 Via Roma",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00100",countryCode:"IT"},{addressLine1:"42 Nevsky Prospekt",addressLine2:"Apt 1",city:"Saint Petersburg",stateOrProvince:"Leningradskaya",postalCode:"190000",countryCode:"RU"},{addressLine1:"3 Rüdesheimer Str.",addressLine2:"Apt 9",city:"Frankfurt",stateOrProvince:"Hessen",postalCode:"60326",countryCode:"DE"},{addressLine1:"271 Süleyman Demirel Bulvarı",addressLine2:"Apt 45",city:"Ankara",stateOrProvince:"Ankara",postalCode:"06100",countryCode:"TR"},{addressLine1:"7 Avenues des Champs-Élysées",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75008",countryCode:"FR"},{addressLine1:"125 E. 9th St.",addressLine2:"Apt 12",city:"Chicago",stateOrProvince:"IL",postalCode:"60606",countryCode:"US"},{addressLine1:"30 Rue de la Paix",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75002",countryCode:"FR"},{addressLine1:"16 Zlote Tarasy",addressLine2:"Apt 18",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-510",countryCode:"PL"},{addressLine1:"120 Váci utca",addressLine2:"",city:"Budapest",stateOrProvince:"Budapest",postalCode:"1056",countryCode:"HU"},{addressLine1:"22 Sukhbaatar Sq.",addressLine2:"",city:"Ulaanbaatar",stateOrProvince:"Central",postalCode:"14190",countryCode:"MN"},{addressLine1:"34 Princes Street",addressLine2:"Flat 1",city:"Edinburgh",stateOrProvince:"Scotland",postalCode:"EH2 4AY",countryCode:"GB"},{addressLine1:"310 Alzaibiyah",addressLine2:"",city:"Amman",stateOrProvince:"Amman",postalCode:"11183",countryCode:"JO"},{addressLine1:"401 Taksim Caddesi",addressLine2:"Apt 25",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"203 High Street",addressLine2:"Unit 3",city:"London",stateOrProvince:"London",postalCode:"W1T 2LQ",countryCode:"GB"},{addressLine1:"58 Via Nazionale",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00184",countryCode:"IT"},{addressLine1:"47 Gloucester Road",addressLine2:"",city:"London",stateOrProvince:"London",postalCode:"SW7 4QA",countryCode:"GB"},{addressLine1:"98 Calle de Bravo Murillo",addressLine2:"",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28039",countryCode:"ES"},{addressLine1:"57 Mirza Ghalib Street",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"15996",countryCode:"IR"},{addressLine1:"35 Królewska St",addressLine2:"",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-065",countryCode:"PL"},{addressLine1:"12 5th Ave",addressLine2:"",city:"New York",stateOrProvince:"NY",postalCode:"10128",countryCode:"US"}],h_t=()=>{const e=new Uint8Array(18);window.crypto.getRandomValues(e);const t=Array.from(e).map(r=>r.toString(36).padStart(2,"0")).join(""),n=Date.now().toString(36);return n+t.slice(0,30-n.length)},m_t=()=>({uniqueId:h_t(),firstName:Ea.sample(d_t),lastName:Ea.sample(f_t),photo:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,birthDate:new Date().getDate()+"/"+new Date().getMonth()+"/"+new Date().getFullYear(),gender:Math.random()>.5?1:0,title:Math.random()>.5?"Mr.":"Ms.",avatar:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,lastIpAddress:c_t(),primaryAddress:Ea.sample(p_t)}),vb=new Rd(Ea.times(1e4,()=>m_t()));var fK,pK,hK,mK,gK,vK,yK,bK,wK,SK,Ii;function eS(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let g_t=(fK=en("users"),pK=tn("get"),hK=en("user"),mK=tn("delete"),gK=en("user/:uniqueId"),vK=tn("get"),yK=en("user"),bK=tn("patch"),wK=en("user"),SK=tn("post"),Ii=class{async getUsers(t){return{data:{items:vb.items(t),itemsPerPage:t.itemsPerPage,totalItems:vb.total()}}}async deleteUser(t){return vb.deletes(Rh(t.body.query)),{data:{}}}async getUserByUniqueId(t){return{data:vb.getOne(t.paramValues[0])}}async patchUserByUniqueId(t){return{data:vb.patchOne(t.body)}}async postUser(t){return{data:vb.create(t.body)}}},eS(Ii.prototype,"getUsers",[fK,pK],Object.getOwnPropertyDescriptor(Ii.prototype,"getUsers"),Ii.prototype),eS(Ii.prototype,"deleteUser",[hK,mK],Object.getOwnPropertyDescriptor(Ii.prototype,"deleteUser"),Ii.prototype),eS(Ii.prototype,"getUserByUniqueId",[gK,vK],Object.getOwnPropertyDescriptor(Ii.prototype,"getUserByUniqueId"),Ii.prototype),eS(Ii.prototype,"patchUserByUniqueId",[yK,bK],Object.getOwnPropertyDescriptor(Ii.prototype,"patchUserByUniqueId"),Ii.prototype),eS(Ii.prototype,"postUser",[wK,SK],Object.getOwnPropertyDescriptor(Ii.prototype,"postUser"),Ii.prototype),Ii);class v_t{}var EK,TK,CK,kK,xK,_K,OK,RK,PK,AK,Di;function tS(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let y_t=(EK=en("workspace-invites"),TK=tn("get"),CK=en("workspace-invite/:uniqueId"),kK=tn("get"),xK=en("workspace-invite"),_K=tn("patch"),OK=en("workspace/invite"),RK=tn("post"),PK=en("workspace-invite"),AK=tn("delete"),Di=class{async getWorkspaceInvites(t){return{data:{items:mr.workspaceInvite.items(t),itemsPerPage:t.itemsPerPage,totalItems:mr.workspaceInvite.total()}}}async getWorkspaceInviteByUniqueId(t){return{data:mr.workspaceInvite.getOne(t.paramValues[0])}}async patchWorkspaceInviteByUniqueId(t){return{data:mr.workspaceInvite.patchOne(t.body)}}async postWorkspaceInvite(t){return{data:mr.workspaceInvite.create(t.body)}}async deleteWorkspaceInvite(t){return mr.workspaceInvite.deletes(Rh(t.body.query)),{data:{}}}},tS(Di.prototype,"getWorkspaceInvites",[EK,TK],Object.getOwnPropertyDescriptor(Di.prototype,"getWorkspaceInvites"),Di.prototype),tS(Di.prototype,"getWorkspaceInviteByUniqueId",[CK,kK],Object.getOwnPropertyDescriptor(Di.prototype,"getWorkspaceInviteByUniqueId"),Di.prototype),tS(Di.prototype,"patchWorkspaceInviteByUniqueId",[xK,_K],Object.getOwnPropertyDescriptor(Di.prototype,"patchWorkspaceInviteByUniqueId"),Di.prototype),tS(Di.prototype,"postWorkspaceInvite",[OK,RK],Object.getOwnPropertyDescriptor(Di.prototype,"postWorkspaceInvite"),Di.prototype),tS(Di.prototype,"deleteWorkspaceInvite",[PK,AK],Object.getOwnPropertyDescriptor(Di.prototype,"deleteWorkspaceInvite"),Di.prototype),Di);const yb=new Rd([{title:"Student workspace type",uniqueId:"1",slug:"/student"}]);var NK,MK,IK,DK,$K,LK,FK,jK,UK,BK,$i;function nS(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let b_t=(NK=en("workspace-types"),MK=tn("get"),IK=en("workspace-type/:uniqueId"),DK=tn("get"),$K=en("workspace-type"),LK=tn("patch"),FK=en("workspace-type"),jK=tn("delete"),UK=en("workspace-type"),BK=tn("post"),$i=class{async getWorkspaceTypes(t){return{data:{items:yb.items(t),itemsPerPage:t.itemsPerPage,totalItems:yb.total()}}}async getWorkspaceTypeByUniqueId(t){return{data:yb.getOne(t.paramValues[0])}}async patchWorkspaceTypeByUniqueId(t){return{data:yb.patchOne(t.body)}}async deleteWorkspaceType(t){return yb.deletes(Rh(t.body.query)),{data:{}}}async postWorkspaceType(t){return{data:yb.create(t.body)}}},nS($i.prototype,"getWorkspaceTypes",[NK,MK],Object.getOwnPropertyDescriptor($i.prototype,"getWorkspaceTypes"),$i.prototype),nS($i.prototype,"getWorkspaceTypeByUniqueId",[IK,DK],Object.getOwnPropertyDescriptor($i.prototype,"getWorkspaceTypeByUniqueId"),$i.prototype),nS($i.prototype,"patchWorkspaceTypeByUniqueId",[$K,LK],Object.getOwnPropertyDescriptor($i.prototype,"patchWorkspaceTypeByUniqueId"),$i.prototype),nS($i.prototype,"deleteWorkspaceType",[FK,jK],Object.getOwnPropertyDescriptor($i.prototype,"deleteWorkspaceType"),$i.prototype),nS($i.prototype,"postWorkspaceType",[UK,BK],Object.getOwnPropertyDescriptor($i.prototype,"postWorkspaceType"),$i.prototype),$i);var WK,zK,qK,HK,VK,GK,YK,KK,XK,QK,JK,ZK,Ha;function bb(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let w_t=(WK=en("workspaces"),zK=tn("get"),qK=en("cte-workspaces"),HK=tn("get"),VK=en("workspace/:uniqueId"),GK=tn("get"),YK=en("workspace"),KK=tn("patch"),XK=en("workspace"),QK=tn("delete"),JK=en("workspace"),ZK=tn("post"),Ha=class{async getWorkspaces(t){return{data:{items:mr.workspaces.items(t),itemsPerPage:t.itemsPerPage,totalItems:mr.workspaces.total()}}}async getWorkspacesCte(t){return{data:{items:mr.workspaces.items(t),itemsPerPage:t.itemsPerPage,totalItems:mr.workspaces.total()}}}async getWorkspaceByUniqueId(t){return{data:mr.workspaces.getOne(t.paramValues[0])}}async patchWorkspaceByUniqueId(t){return{data:mr.workspaces.patchOne(t.body)}}async deleteWorkspace(t){return mr.workspaces.deletes(Rh(t.body.query)),{data:{}}}async postWorkspace(t){return{data:mr.workspaces.create(t.body)}}},bb(Ha.prototype,"getWorkspaces",[WK,zK],Object.getOwnPropertyDescriptor(Ha.prototype,"getWorkspaces"),Ha.prototype),bb(Ha.prototype,"getWorkspacesCte",[qK,HK],Object.getOwnPropertyDescriptor(Ha.prototype,"getWorkspacesCte"),Ha.prototype),bb(Ha.prototype,"getWorkspaceByUniqueId",[VK,GK],Object.getOwnPropertyDescriptor(Ha.prototype,"getWorkspaceByUniqueId"),Ha.prototype),bb(Ha.prototype,"patchWorkspaceByUniqueId",[YK,KK],Object.getOwnPropertyDescriptor(Ha.prototype,"patchWorkspaceByUniqueId"),Ha.prototype),bb(Ha.prototype,"deleteWorkspace",[XK,QK],Object.getOwnPropertyDescriptor(Ha.prototype,"deleteWorkspace"),Ha.prototype),bb(Ha.prototype,"postWorkspace",[JK,ZK],Object.getOwnPropertyDescriptor(Ha.prototype,"postWorkspace"),Ha.prototype),Ha);var eX,tX,nX,rX,Bp;function aX(e,t,n,r,a){var i={};return Object.keys(r).forEach(function(o){i[o]=r[o]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(o,l){return l(e,t,o)||o},i),a&&i.initializer!==void 0&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),i.initializer===void 0?(Object.defineProperty(e,t,i),null):i}let S_t=(eX=en("workspace-config"),tX=tn("get"),nX=en("workspace-wconfig/distiwnct"),rX=tn("patch"),Bp=class{async getWorkspaceConfig(t){return{data:{enableOtp:!0,forcePasswordOnPhone:!0}}}async setWorkspaceConfig(t){return{data:t.body}}},aX(Bp.prototype,"getWorkspaceConfig",[eX,tX],Object.getOwnPropertyDescriptor(Bp.prototype,"getWorkspaceConfig"),Bp.prototype),aX(Bp.prototype,"setWorkspaceConfig",[nX,rX],Object.getOwnPropertyDescriptor(Bp.prototype,"setWorkspaceConfig"),Bp.prototype),Bp);const E_t=[new Zxt,new o_t,new u_t,new g_t,new b_t,new n_t,new r_t,new a_t,new y_t,new i_t,new v_t,new w_t,new S_t],T_t=R.createContext(null),A$={didCatch:!1,error:null};class C_t extends R.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=A$}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,a=arguments.length,i=new Array(a),o=0;o0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}function x_t({error:e,resetErrorBoundary:t}){return w.jsxs("div",{role:"alert",children:[w.jsx("p",{children:"Something went wrong:"}),w.jsx("div",{style:{color:"red",padding:"30px"},children:e.message})]})}function __t(e){let t="en";const n=e.match(/\/(fa|en|ar|pl|de)\//);return n&&n[1]&&(t=n[1]),t}function O_t(){const[e,t]=R.useState(window.location.toString());return R.useEffect(()=>{const n=()=>{t(window.location.hash)};return window.addEventListener("popstate",n),window.addEventListener("pushState",n),window.addEventListener("replaceState",n),()=>{window.removeEventListener("popstate",n),window.removeEventListener("pushState",n),window.removeEventListener("replaceState",n)}},[]),{hash:e}}function R_t(){const{hash:e}=O_t();let t="en",n="us",r="ltr";return kr.FORCED_LOCALE?t=kr.FORCED_LOCALE:t=__t(e),t==="fa"&&(n="ir",r="rtl"),{locale:t,region:n,dir:r}}const iO=R.createContext(null);iO.displayName="PanelGroupContext";const Sa={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},j4=10,Cv=R.useLayoutEffect,iX=kS.useId,P_t=typeof iX=="function"?iX:()=>null;let A_t=0;function U4(e=null){const t=P_t(),n=R.useRef(e||t||null);return n.current===null&&(n.current=""+A_t++),e??n.current}function Tie({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:a,forwardedRef:i,id:o,maxSize:l,minSize:u,onCollapse:d,onExpand:f,onResize:g,order:y,style:h,tagName:v="div",...E}){const T=R.useContext(iO);if(T===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:C,expandPanel:k,getPanelSize:_,getPanelStyle:A,groupId:P,isPanelCollapsed:N,reevaluatePanelConstraints:I,registerPanel:L,resizePanel:j,unregisterPanel:z}=T,Q=U4(o),le=R.useRef({callbacks:{onCollapse:d,onExpand:f,onResize:g},constraints:{collapsedSize:n,collapsible:r,defaultSize:a,maxSize:l,minSize:u},id:Q,idIsFromProps:o!==void 0,order:y});R.useRef({didLogMissingDefaultSizeWarning:!1}),Cv(()=>{const{callbacks:ge,constraints:me}=le.current,W={...me};le.current.id=Q,le.current.idIsFromProps=o!==void 0,le.current.order=y,ge.onCollapse=d,ge.onExpand=f,ge.onResize=g,me.collapsedSize=n,me.collapsible=r,me.defaultSize=a,me.maxSize=l,me.minSize=u,(W.collapsedSize!==me.collapsedSize||W.collapsible!==me.collapsible||W.maxSize!==me.maxSize||W.minSize!==me.minSize)&&I(le.current,W)}),Cv(()=>{const ge=le.current;return L(ge),()=>{z(ge)}},[y,Q,L,z]),R.useImperativeHandle(i,()=>({collapse:()=>{C(le.current)},expand:ge=>{k(le.current,ge)},getId(){return Q},getSize(){return _(le.current)},isCollapsed(){return N(le.current)},isExpanded(){return!N(le.current)},resize:ge=>{j(le.current,ge)}}),[C,k,_,N,Q,j]);const re=A(le.current,a);return R.createElement(v,{...E,children:e,className:t,id:Q,style:{...re,...h},[Sa.groupId]:P,[Sa.panel]:"",[Sa.panelCollapsible]:r||void 0,[Sa.panelId]:Q,[Sa.panelSize]:parseFloat(""+re.flexGrow).toFixed(1)})}const B4=R.forwardRef((e,t)=>R.createElement(Tie,{...e,forwardedRef:t}));Tie.displayName="Panel";B4.displayName="forwardRef(Panel)";let I3=null,Hk=-1,Hp=null;function N_t(e,t){if(t){const n=(t&Oie)!==0,r=(t&Rie)!==0,a=(t&Pie)!==0,i=(t&Aie)!==0;if(n)return a?"se-resize":i?"ne-resize":"e-resize";if(r)return a?"sw-resize":i?"nw-resize":"w-resize";if(a)return"s-resize";if(i)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function M_t(){Hp!==null&&(document.head.removeChild(Hp),I3=null,Hp=null,Hk=-1)}function N$(e,t){var n,r;const a=N_t(e,t);if(I3!==a){if(I3=a,Hp===null&&(Hp=document.createElement("style"),document.head.appendChild(Hp)),Hk>=0){var i;(i=Hp.sheet)===null||i===void 0||i.removeRule(Hk)}Hk=(n=(r=Hp.sheet)===null||r===void 0?void 0:r.insertRule(`*{cursor: ${a} !important;}`))!==null&&n!==void 0?n:-1}}function Cie(e){return e.type==="keydown"}function kie(e){return e.type.startsWith("pointer")}function xie(e){return e.type.startsWith("mouse")}function oO(e){if(kie(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(xie(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}function I_t(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function D_t(e,t,n){return e.xt.x&&e.yt.y}function $_t(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:lX(e),b:lX(t)};let r;for(;n.a.at(-1)===n.b.at(-1);)e=n.a.pop(),t=n.b.pop(),r=e;Fn(r,"Stacking order can only be calculated for elements with a common ancestor");const a={a:sX(oX(n.a)),b:sX(oX(n.b))};if(a.a===a.b){const i=r.childNodes,o={a:n.a.at(-1),b:n.b.at(-1)};let l=i.length;for(;l--;){const u=i[l];if(u===o.a)return 1;if(u===o.b)return-1}}return Math.sign(a.a-a.b)}const L_t=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function F_t(e){var t;const n=getComputedStyle((t=_ie(e))!==null&&t!==void 0?t:e).display;return n==="flex"||n==="inline-flex"}function j_t(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||F_t(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||L_t.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function oX(e){let t=e.length;for(;t--;){const n=e[t];if(Fn(n,"Missing node"),j_t(n))return n}return null}function sX(e){return e&&Number(getComputedStyle(e).zIndex)||0}function lX(e){const t=[];for(;e;)t.push(e),e=_ie(e);return t}function _ie(e){const{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}const Oie=1,Rie=2,Pie=4,Aie=8,U_t=I_t()==="coarse";let Cu=[],Xb=!1,Vp=new Map,sO=new Map;const yE=new Set;function B_t(e,t,n,r,a){var i;const{ownerDocument:o}=t,l={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:a},u=(i=Vp.get(o))!==null&&i!==void 0?i:0;return Vp.set(o,u+1),yE.add(l),Vx(),function(){var f;sO.delete(e),yE.delete(l);const g=(f=Vp.get(o))!==null&&f!==void 0?f:1;if(Vp.set(o,g-1),Vx(),g===1&&Vp.delete(o),Cu.includes(l)){const y=Cu.indexOf(l);y>=0&&Cu.splice(y,1),z4(),a("up",!0,null)}}}function W_t(e){const{target:t}=e,{x:n,y:r}=oO(e);Xb=!0,W4({target:t,x:n,y:r}),Vx(),Cu.length>0&&(Gx("down",e),e.preventDefault(),Nie(t)||e.stopImmediatePropagation())}function M$(e){const{x:t,y:n}=oO(e);if(Xb&&e.buttons===0&&(Xb=!1,Gx("up",e)),!Xb){const{target:r}=e;W4({target:r,x:t,y:n})}Gx("move",e),z4(),Cu.length>0&&e.preventDefault()}function I$(e){const{target:t}=e,{x:n,y:r}=oO(e);sO.clear(),Xb=!1,Cu.length>0&&(e.preventDefault(),Nie(t)||e.stopImmediatePropagation()),Gx("up",e),W4({target:t,x:n,y:r}),z4(),Vx()}function Nie(e){let t=e;for(;t;){if(t.hasAttribute(Sa.resizeHandle))return!0;t=t.parentElement}return!1}function W4({target:e,x:t,y:n}){Cu.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),yE.forEach(a=>{const{element:i,hitAreaMargins:o}=a,l=i.getBoundingClientRect(),{bottom:u,left:d,right:f,top:g}=l,y=U_t?o.coarse:o.fine;if(t>=d-y&&t<=f+y&&n>=g-y&&n<=u+y){if(r!==null&&document.contains(r)&&i!==r&&!i.contains(r)&&!r.contains(i)&&$_t(r,i)>0){let v=r,E=!1;for(;v&&!v.contains(i);){if(D_t(v.getBoundingClientRect(),l)){E=!0;break}v=v.parentElement}if(E)return}Cu.push(a)}})}function D$(e,t){sO.set(e,t)}function z4(){let e=!1,t=!1;Cu.forEach(r=>{const{direction:a}=r;a==="horizontal"?e=!0:t=!0});let n=0;sO.forEach(r=>{n|=r}),e&&t?N$("intersection",n):e?N$("horizontal",n):t?N$("vertical",n):M_t()}let $$;function Vx(){var e;(e=$$)===null||e===void 0||e.abort(),$$=new AbortController;const t={capture:!0,signal:$$.signal};yE.size&&(Xb?(Cu.length>0&&Vp.forEach((n,r)=>{const{body:a}=r;n>0&&(a.addEventListener("contextmenu",I$,t),a.addEventListener("pointerleave",M$,t),a.addEventListener("pointermove",M$,t))}),Vp.forEach((n,r)=>{const{body:a}=r;a.addEventListener("pointerup",I$,t),a.addEventListener("pointercancel",I$,t)})):Vp.forEach((n,r)=>{const{body:a}=r;n>0&&(a.addEventListener("pointerdown",W_t,t),a.addEventListener("pointermove",M$,t))}))}function Gx(e,t){yE.forEach(n=>{const{setResizeHandlerState:r}=n,a=Cu.includes(n);r(e,a,t)})}function z_t(){const[e,t]=R.useState(0);return R.useCallback(()=>t(n=>n+1),[])}function Fn(e,t){if(!e)throw console.error(t),Error(t)}function Av(e,t,n=j4){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function Pd(e,t,n=j4){return Av(e,t,n)===0}function Ns(e,t,n){return Av(e,t,n)===0}function q_t(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(e=e<0?0-C:C)}}}{const g=e<0?l:u,y=n[g];Fn(y,`No panel constraints found for index ${g}`);const{collapsedSize:h=0,collapsible:v,minSize:E=0}=y;if(v){const T=t[g];if(Fn(T!=null,`Previous layout not found for panel index ${g}`),Ns(T,E)){const C=T-h;Av(C,Math.abs(e))>0&&(e=e<0?0-C:C)}}}}{const g=e<0?1:-1;let y=e<0?u:l,h=0;for(;;){const E=t[y];Fn(E!=null,`Previous layout not found for panel index ${y}`);const C=Lb({panelConstraints:n,panelIndex:y,size:100})-E;if(h+=C,y+=g,y<0||y>=n.length)break}const v=Math.min(Math.abs(e),Math.abs(h));e=e<0?0-v:v}{let y=e<0?l:u;for(;y>=0&&y=0))break;e<0?y--:y++}}if(q_t(a,o))return a;{const g=e<0?u:l,y=t[g];Fn(y!=null,`Previous layout not found for panel index ${g}`);const h=y+d,v=Lb({panelConstraints:n,panelIndex:g,size:h});if(o[g]=v,!Ns(v,h)){let E=h-v,C=e<0?u:l;for(;C>=0&&C0?C--:C++}}}const f=o.reduce((g,y)=>y+g,0);return Ns(f,100)?o:a}function H_t({layout:e,panelsArray:t,pivotIndices:n}){let r=0,a=100,i=0,o=0;const l=n[0];Fn(l!=null,"No pivot index found"),t.forEach((g,y)=>{const{constraints:h}=g,{maxSize:v=100,minSize:E=0}=h;y===l?(r=E,a=v):(i+=E,o+=v)});const u=Math.min(a,100-i),d=Math.max(r,100-o),f=e[l];return{valueMax:u,valueMin:d,valueNow:f}}function bE(e,t=document){return Array.from(t.querySelectorAll(`[${Sa.resizeHandleId}][data-panel-group-id="${e}"]`))}function Mie(e,t,n=document){const a=bE(e,n).findIndex(i=>i.getAttribute(Sa.resizeHandleId)===t);return a??null}function Iie(e,t,n){const r=Mie(e,t,n);return r!=null?[r,r+1]:[-1,-1]}function V_t(e){return e instanceof HTMLElement?!0:typeof e=="object"&&e!==null&&"tagName"in e&&"getAttribute"in e}function Die(e,t=document){if(V_t(t)&&t.dataset.panelGroupId==e)return t;const n=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return n||null}function lO(e,t=document){const n=t.querySelector(`[${Sa.resizeHandleId}="${e}"]`);return n||null}function G_t(e,t,n,r=document){var a,i,o,l;const u=lO(t,r),d=bE(e,r),f=u?d.indexOf(u):-1,g=(a=(i=n[f])===null||i===void 0?void 0:i.id)!==null&&a!==void 0?a:null,y=(o=(l=n[f+1])===null||l===void 0?void 0:l.id)!==null&&o!==void 0?o:null;return[g,y]}function Y_t({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:a,panelGroupElement:i,setLayout:o}){R.useRef({didWarnAboutMissingResizeHandle:!1}),Cv(()=>{if(!i)return;const l=bE(n,i);for(let u=0;u{l.forEach((u,d)=>{u.removeAttribute("aria-controls"),u.removeAttribute("aria-valuemax"),u.removeAttribute("aria-valuemin"),u.removeAttribute("aria-valuenow")})}},[n,r,a,i]),R.useEffect(()=>{if(!i)return;const l=t.current;Fn(l,"Eager values not found");const{panelDataArray:u}=l,d=Die(n,i);Fn(d!=null,`No group found for id "${n}"`);const f=bE(n,i);Fn(f,`No resize handles found for group id "${n}"`);const g=f.map(y=>{const h=y.getAttribute(Sa.resizeHandleId);Fn(h,"Resize handle element has no handle id attribute");const[v,E]=G_t(n,h,u,i);if(v==null||E==null)return()=>{};const T=C=>{if(!C.defaultPrevented)switch(C.key){case"Enter":{C.preventDefault();const k=u.findIndex(_=>_.id===v);if(k>=0){const _=u[k];Fn(_,`No panel data found for index ${k}`);const A=r[k],{collapsedSize:P=0,collapsible:N,minSize:I=0}=_.constraints;if(A!=null&&N){const L=uS({delta:Ns(A,P)?I-P:P-A,initialLayout:r,panelConstraints:u.map(j=>j.constraints),pivotIndices:Iie(n,h,i),prevLayout:r,trigger:"keyboard"});r!==L&&o(L)}}break}}};return y.addEventListener("keydown",T),()=>{y.removeEventListener("keydown",T)}});return()=>{g.forEach(y=>y())}},[i,e,t,n,r,a,o])}function uX(e,t){if(e.length!==t.length)return!1;for(let n=0;ni.constraints);let r=0,a=100;for(let i=0;i{const i=e[a];Fn(i,`Panel data not found for index ${a}`);const{callbacks:o,constraints:l,id:u}=i,{collapsedSize:d=0,collapsible:f}=l,g=n[u];if(g==null||r!==g){n[u]=r;const{onCollapse:y,onExpand:h,onResize:v}=o;v&&v(r,g),f&&(y||h)&&(h&&(g==null||Pd(g,d))&&!Pd(r,d)&&h(),y&&(g==null||!Pd(g,d))&&Pd(r,d)&&y())}})}function bk(e,t){if(e.length!==t.length)return!1;for(let n=0;n{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...a)},t)}}function cX(e){try{if(typeof localStorage<"u")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,n)=>{localStorage.setItem(t,n)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function Lie(e){return`react-resizable-panels:${e}`}function Fie(e){return e.map(t=>{const{constraints:n,id:r,idIsFromProps:a,order:i}=t;return a?r:i?`${i}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((t,n)=>t.localeCompare(n)).join(",")}function jie(e,t){try{const n=Lie(e),r=t.getItem(n);if(r){const a=JSON.parse(r);if(typeof a=="object"&&a!=null)return a}}catch{}return null}function eOt(e,t,n){var r,a;const i=(r=jie(e,n))!==null&&r!==void 0?r:{},o=Fie(t);return(a=i[o])!==null&&a!==void 0?a:null}function tOt(e,t,n,r,a){var i;const o=Lie(e),l=Fie(t),u=(i=jie(e,a))!==null&&i!==void 0?i:{};u[l]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{a.setItem(o,JSON.stringify(u))}catch(d){console.error(d)}}function dX({layout:e,panelConstraints:t}){const n=[...e],r=n.reduce((i,o)=>i+o,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(i=>`${i}%`).join(", ")}`);if(!Ns(r,100)&&n.length>0)for(let i=0;i(cX(cS),cS.getItem(e)),setItem:(e,t)=>{cX(cS),cS.setItem(e,t)}},fX={};function Uie({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:a,id:i=null,onLayout:o=null,keyboardResizeBy:l=null,storage:u=cS,style:d,tagName:f="div",...g}){const y=U4(i),h=R.useRef(null),[v,E]=R.useState(null),[T,C]=R.useState([]),k=z_t(),_=R.useRef({}),A=R.useRef(new Map),P=R.useRef(0),N=R.useRef({autoSaveId:e,direction:r,dragState:v,id:y,keyboardResizeBy:l,onLayout:o,storage:u}),I=R.useRef({layout:T,panelDataArray:[],panelDataArrayChanged:!1});R.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),R.useImperativeHandle(a,()=>({getId:()=>N.current.id,getLayout:()=>{const{layout:J}=I.current;return J},setLayout:J=>{const{onLayout:ee}=N.current,{layout:Z,panelDataArray:ue}=I.current,ke=dX({layout:J,panelConstraints:ue.map(fe=>fe.constraints)});uX(Z,ke)||(C(ke),I.current.layout=ke,ee&&ee(ke),wb(ue,ke,_.current))}}),[]),Cv(()=>{N.current.autoSaveId=e,N.current.direction=r,N.current.dragState=v,N.current.id=y,N.current.onLayout=o,N.current.storage=u}),Y_t({committedValuesRef:N,eagerValuesRef:I,groupId:y,layout:T,panelDataArray:I.current.panelDataArray,setLayout:C,panelGroupElement:h.current}),R.useEffect(()=>{const{panelDataArray:J}=I.current;if(e){if(T.length===0||T.length!==J.length)return;let ee=fX[e];ee==null&&(ee=Z_t(tOt,nOt),fX[e]=ee);const Z=[...J],ue=new Map(A.current);ee(e,Z,ue,T,u)}},[e,T,u]),R.useEffect(()=>{});const L=R.useCallback(J=>{const{onLayout:ee}=N.current,{layout:Z,panelDataArray:ue}=I.current;if(J.constraints.collapsible){const ke=ue.map(qe=>qe.constraints),{collapsedSize:fe=0,panelSize:xe,pivotIndices:Ie}=Qg(ue,J,Z);if(Fn(xe!=null,`Panel size not found for panel "${J.id}"`),!Pd(xe,fe)){A.current.set(J.id,xe);const tt=Cb(ue,J)===ue.length-1?xe-fe:fe-xe,Ge=uS({delta:tt,initialLayout:Z,panelConstraints:ke,pivotIndices:Ie,prevLayout:Z,trigger:"imperative-api"});bk(Z,Ge)||(C(Ge),I.current.layout=Ge,ee&&ee(Ge),wb(ue,Ge,_.current))}}},[]),j=R.useCallback((J,ee)=>{const{onLayout:Z}=N.current,{layout:ue,panelDataArray:ke}=I.current;if(J.constraints.collapsible){const fe=ke.map(at=>at.constraints),{collapsedSize:xe=0,panelSize:Ie=0,minSize:qe=0,pivotIndices:tt}=Qg(ke,J,ue),Ge=ee??qe;if(Pd(Ie,xe)){const at=A.current.get(J.id),Et=at!=null&&at>=Ge?at:Ge,xt=Cb(ke,J)===ke.length-1?Ie-Et:Et-Ie,Rt=uS({delta:xt,initialLayout:ue,panelConstraints:fe,pivotIndices:tt,prevLayout:ue,trigger:"imperative-api"});bk(ue,Rt)||(C(Rt),I.current.layout=Rt,Z&&Z(Rt),wb(ke,Rt,_.current))}}},[]),z=R.useCallback(J=>{const{layout:ee,panelDataArray:Z}=I.current,{panelSize:ue}=Qg(Z,J,ee);return Fn(ue!=null,`Panel size not found for panel "${J.id}"`),ue},[]),Q=R.useCallback((J,ee)=>{const{panelDataArray:Z}=I.current,ue=Cb(Z,J);return J_t({defaultSize:ee,dragState:v,layout:T,panelData:Z,panelIndex:ue})},[v,T]),le=R.useCallback(J=>{const{layout:ee,panelDataArray:Z}=I.current,{collapsedSize:ue=0,collapsible:ke,panelSize:fe}=Qg(Z,J,ee);return Fn(fe!=null,`Panel size not found for panel "${J.id}"`),ke===!0&&Pd(fe,ue)},[]),re=R.useCallback(J=>{const{layout:ee,panelDataArray:Z}=I.current,{collapsedSize:ue=0,collapsible:ke,panelSize:fe}=Qg(Z,J,ee);return Fn(fe!=null,`Panel size not found for panel "${J.id}"`),!ke||Av(fe,ue)>0},[]),ge=R.useCallback(J=>{const{panelDataArray:ee}=I.current;ee.push(J),ee.sort((Z,ue)=>{const ke=Z.order,fe=ue.order;return ke==null&&fe==null?0:ke==null?-1:fe==null?1:ke-fe}),I.current.panelDataArrayChanged=!0,k()},[k]);Cv(()=>{if(I.current.panelDataArrayChanged){I.current.panelDataArrayChanged=!1;const{autoSaveId:J,onLayout:ee,storage:Z}=N.current,{layout:ue,panelDataArray:ke}=I.current;let fe=null;if(J){const Ie=eOt(J,ke,Z);Ie&&(A.current=new Map(Object.entries(Ie.expandToSizes)),fe=Ie.layout)}fe==null&&(fe=Q_t({panelDataArray:ke}));const xe=dX({layout:fe,panelConstraints:ke.map(Ie=>Ie.constraints)});uX(ue,xe)||(C(xe),I.current.layout=xe,ee&&ee(xe),wb(ke,xe,_.current))}}),Cv(()=>{const J=I.current;return()=>{J.layout=[]}},[]);const me=R.useCallback(J=>{let ee=!1;const Z=h.current;return Z&&window.getComputedStyle(Z,null).getPropertyValue("direction")==="rtl"&&(ee=!0),function(ke){ke.preventDefault();const fe=h.current;if(!fe)return()=>null;const{direction:xe,dragState:Ie,id:qe,keyboardResizeBy:tt,onLayout:Ge}=N.current,{layout:at,panelDataArray:Et}=I.current,{initialLayout:kt}=Ie??{},xt=Iie(qe,J,fe);let Rt=X_t(ke,J,xe,Ie,tt,fe);const cn=xe==="horizontal";cn&&ee&&(Rt=-Rt);const qt=Et.map(dt=>dt.constraints),Wt=uS({delta:Rt,initialLayout:kt??at,panelConstraints:qt,pivotIndices:xt,prevLayout:at,trigger:Cie(ke)?"keyboard":"mouse-or-touch"}),Oe=!bk(at,Wt);(kie(ke)||xie(ke))&&P.current!=Rt&&(P.current=Rt,!Oe&&Rt!==0?cn?D$(J,Rt<0?Oie:Rie):D$(J,Rt<0?Pie:Aie):D$(J,0)),Oe&&(C(Wt),I.current.layout=Wt,Ge&&Ge(Wt),wb(Et,Wt,_.current))}},[]),W=R.useCallback((J,ee)=>{const{onLayout:Z}=N.current,{layout:ue,panelDataArray:ke}=I.current,fe=ke.map(at=>at.constraints),{panelSize:xe,pivotIndices:Ie}=Qg(ke,J,ue);Fn(xe!=null,`Panel size not found for panel "${J.id}"`);const tt=Cb(ke,J)===ke.length-1?xe-ee:ee-xe,Ge=uS({delta:tt,initialLayout:ue,panelConstraints:fe,pivotIndices:Ie,prevLayout:ue,trigger:"imperative-api"});bk(ue,Ge)||(C(Ge),I.current.layout=Ge,Z&&Z(Ge),wb(ke,Ge,_.current))},[]),G=R.useCallback((J,ee)=>{const{layout:Z,panelDataArray:ue}=I.current,{collapsedSize:ke=0,collapsible:fe}=ee,{collapsedSize:xe=0,collapsible:Ie,maxSize:qe=100,minSize:tt=0}=J.constraints,{panelSize:Ge}=Qg(ue,J,Z);Ge!=null&&(fe&&Ie&&Pd(Ge,ke)?Pd(ke,xe)||W(J,xe):Geqe&&W(J,qe))},[W]),q=R.useCallback((J,ee)=>{const{direction:Z}=N.current,{layout:ue}=I.current;if(!h.current)return;const ke=lO(J,h.current);Fn(ke,`Drag handle element not found for id "${J}"`);const fe=$ie(Z,ee);E({dragHandleId:J,dragHandleRect:ke.getBoundingClientRect(),initialCursorPosition:fe,initialLayout:ue})},[]),ce=R.useCallback(()=>{E(null)},[]),H=R.useCallback(J=>{const{panelDataArray:ee}=I.current,Z=Cb(ee,J);Z>=0&&(ee.splice(Z,1),delete _.current[J.id],I.current.panelDataArrayChanged=!0,k())},[k]),Y=R.useMemo(()=>({collapsePanel:L,direction:r,dragState:v,expandPanel:j,getPanelSize:z,getPanelStyle:Q,groupId:y,isPanelCollapsed:le,isPanelExpanded:re,reevaluatePanelConstraints:G,registerPanel:ge,registerResizeHandle:me,resizePanel:W,startDragging:q,stopDragging:ce,unregisterPanel:H,panelGroupElement:h.current}),[L,v,r,j,z,Q,y,le,re,G,ge,me,W,q,ce,H]),ie={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return R.createElement(iO.Provider,{value:Y},R.createElement(f,{...g,children:t,className:n,id:i,ref:h,style:{...ie,...d},[Sa.group]:"",[Sa.groupDirection]:r,[Sa.groupId]:y}))}const Bie=R.forwardRef((e,t)=>R.createElement(Uie,{...e,forwardedRef:t}));Uie.displayName="PanelGroup";Bie.displayName="forwardRef(PanelGroup)";function Cb(e,t){return e.findIndex(n=>n===t||n.id===t.id)}function Qg(e,t,n){const r=Cb(e,t),i=r===e.length-1?[r-1,r]:[r,r+1],o=n[r];return{...t.constraints,panelSize:o,pivotIndices:i}}function rOt({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){R.useEffect(()=>{if(e||n==null||r==null)return;const a=lO(t,r);if(a==null)return;const i=o=>{if(!o.defaultPrevented)switch(o.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{o.preventDefault(),n(o);break}case"F6":{o.preventDefault();const l=a.getAttribute(Sa.groupId);Fn(l,`No group element found for id "${l}"`);const u=bE(l,r),d=Mie(l,t,r);Fn(d!==null,`No resize element found for id "${t}"`);const f=o.shiftKey?d>0?d-1:u.length-1:d+1{a.removeEventListener("keydown",i)}},[r,e,t,n])}function Wie({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:a,onBlur:i,onClick:o,onDragging:l,onFocus:u,onPointerDown:d,onPointerUp:f,style:g={},tabIndex:y=0,tagName:h="div",...v}){var E,T;const C=R.useRef(null),k=R.useRef({onClick:o,onDragging:l,onPointerDown:d,onPointerUp:f});R.useEffect(()=>{k.current.onClick=o,k.current.onDragging=l,k.current.onPointerDown=d,k.current.onPointerUp=f});const _=R.useContext(iO);if(_===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:A,groupId:P,registerResizeHandle:N,startDragging:I,stopDragging:L,panelGroupElement:j}=_,z=U4(a),[Q,le]=R.useState("inactive"),[re,ge]=R.useState(!1),[me,W]=R.useState(null),G=R.useRef({state:Q});Cv(()=>{G.current.state=Q}),R.useEffect(()=>{if(n)W(null);else{const Y=N(z);W(()=>Y)}},[n,z,N]);const q=(E=r==null?void 0:r.coarse)!==null&&E!==void 0?E:15,ce=(T=r==null?void 0:r.fine)!==null&&T!==void 0?T:5;R.useEffect(()=>{if(n||me==null)return;const Y=C.current;Fn(Y,"Element ref not attached");let ie=!1;return B_t(z,Y,A,{coarse:q,fine:ce},(ee,Z,ue)=>{if(!Z){le("inactive");return}switch(ee){case"down":{le("drag"),ie=!1,Fn(ue,'Expected event to be defined for "down" action'),I(z,ue);const{onDragging:ke,onPointerDown:fe}=k.current;ke==null||ke(!0),fe==null||fe();break}case"move":{const{state:ke}=G.current;ie=!0,ke!=="drag"&&le("hover"),Fn(ue,'Expected event to be defined for "move" action'),me(ue);break}case"up":{le("hover"),L();const{onClick:ke,onDragging:fe,onPointerUp:xe}=k.current;fe==null||fe(!1),xe==null||xe(),ie||ke==null||ke();break}}})},[q,A,n,ce,N,z,me,I,L]),rOt({disabled:n,handleId:z,resizeHandler:me,panelGroupElement:j});const H={touchAction:"none",userSelect:"none"};return R.createElement(h,{...v,children:e,className:t,id:a,onBlur:()=>{ge(!1),i==null||i()},onFocus:()=>{ge(!0),u==null||u()},ref:C,role:"separator",style:{...H,...g},tabIndex:y,[Sa.groupDirection]:A,[Sa.groupId]:P,[Sa.resizeHandle]:"",[Sa.resizeHandleActive]:Q==="drag"?"pointer":re?"keyboard":void 0,[Sa.resizeHandleEnabled]:!n,[Sa.resizeHandleId]:z,[Sa.resizeHandleState]:Q})}Wie.displayName="PanelResizeHandle";const aOt=[{to:"/dashboard",label:"Home",icon:$s("/common/home.svg")},{to:"/selfservice",label:"Profile",icon:$s("/common/user.svg")},{to:"/settings",label:"Settings",icon:$s(ku.settings)}],iOt=()=>w.jsx("nav",{className:"bottom-nav-tabbar",children:aOt.map(e=>w.jsx(Ub,{state:{animated:!0},href:e.to,className:({isActive:t})=>t?"nav-link active":"nav-link",children:w.jsxs("span",{className:"nav-link",children:[w.jsx("img",{className:"nav-img",src:e.icon}),e.label]})},e.to))}),oOt=({routerId:e,ApplicationRoutes:t,queryClient:n})=>w.jsx(OX,{initialConfig:{remote:kr.REMOTE_SERVICE},children:w.jsx(Ihe,{children:w.jsxs(hhe,{children:[w.jsx(Pve,{children:w.jsxs(vme,{children:[w.jsx(t,{routerId:e}),w.jsx(Rve,{})]})}),w.jsx(aL,{})]})})});function zie({className:e="",id:t,onDragComplete:n,minimal:r}){return w.jsx(Wie,{id:t,onDragging:a=>{a===!1&&(n==null||n())},className:ia("panel-resize-handle",r?"minimal":"")})}const sOt=()=>{if(ih().isMobileView)return 0;const e=localStorage.getItem("sidebarState"),t=e!==null?parseFloat(e):null;return t<=0?0:t*1.3},lOt=()=>{const{setSidebarRef:e,persistSidebarSize:t}=Lv(),n=R.useRef(null),r=a=>{n.current=a,e(n.current)};return w.jsxs(B4,{style:{position:"relative",overflowY:"hidden",height:"100vh"},minSize:0,defaultSize:sOt(),ref:r,children:[w.jsx(OX,{initialConfig:{remote:kr.REMOTE_SERVICE},children:w.jsx(oJ,{miniSize:!1})}),!ih().isMobileView&&w.jsx(zie,{onDragComplete:()=>{var a;t((a=n.current)==null?void 0:a.getSize())}})]})},uOt=({routerId:e,children:t,showHandle:n})=>w.jsxs(w.Fragment,{children:[w.jsx(lOt,{}),w.jsx(qie,{showHandle:n,routerId:e,children:t})]}),qie=({showHandle:e,routerId:t,children:n})=>{var o;const{routers:r,setFocusedRouter:a}=Lv(),{session:i}=R.useContext(nt);return w.jsxs(B4,{order:2,defaultSize:i?80/r.length:100,minSize:10,onClick:()=>{a(t)},style:{position:"relative",display:"flex",width:"100%"},children:[(o=r.find(l=>l.id===t))!=null&&o.focused&&r.length?w.jsx("div",{className:"focus-indicator"}):null,n,e?w.jsx(zie,{minimal:!0}):null]})},cOt=_X;function dOt({ApplicationRoutes:e,queryClient:t}){const{routers:n}=Lv(),r=n.map(a=>({...a,initialEntries:a!=null&&a.href?[{pathname:a==null?void 0:a.href}]:void 0,Wrapper:a.id==="url-router"?uOt:qie,Router:a.id==="url-router"?cOt:_se,showHandle:n.filter(i=>i.id!=="url-router").length>0}));return w.jsx(Bie,{direction:"horizontal",className:ia("application-panels",ih().isMobileView?"has-bottom-tab":void 0),children:r.map((a,i)=>w.jsxs(a.Router,{future:{v7_startTransition:!0},basename:void 0,initialEntries:a.initialEntries,children:[w.jsx(a.Wrapper,{showHandle:a.showHandle,routerId:a.id,children:w.jsx(oOt,{routerId:a.id,ApplicationRoutes:e,queryClient:t})}),ih().isMobileView?w.jsx(iOt,{}):void 0]},a.id))})}function fOt({children:e,queryClient:t,prefix:n,mockServer:r,config:a,locale:i}){return w.jsx(Zpe,{socket:!0,preferredAcceptLanguage:i||a.interfaceLanguage,identifier:"fireback",prefix:n,queryClient:t,remote:kr.REMOTE_SERVICE,defaultExecFn:void 0,children:w.jsx(pOt,{children:e,mockServer:r})})}const pOt=({children:e,mockServer:t})=>{var i;const{options:n,session:r}=R.useContext(nt),a=R.useRef(new nF((i=kr.REMOTE_SERVICE)==null?void 0:i.replace(/\/$/,"")));return a.current.defaultHeaders={authorization:r==null?void 0:r.token,"workspace-id":n==null?void 0:n.headers["workspace-id"]},w.jsx(lIe,{value:a.current,children:e})};function hOt(){const{session:e,checked:t}=R.useContext(nt),[n,r]=R.useState(!1),a=t&&!e,[i,o]=R.useState(!1);return R.useEffect(()=>{t&&e&&(o(!0),setTimeout(()=>{r(!0)},500))},[t,e]),{session:e,checked:t,needsAuthentication:a,loadComplete:n,setLoadComplete:r,isFading:i}}const pX=_X,mOt=({children:e})=>{var l;const{session:t,checked:n}=hOt(),r=Y$e(),{selectedUrw:a,selectUrw:i}=R.useContext(nt),{query:o}=CE({queryOptions:{cacheTime:50,enabled:!1},query:{}});return R.useEffect(()=>{var u;((u=t==null?void 0:t.userWorkspaces)==null?void 0:u.length)===1&&!a&&o.refetch().then(d=>{var g,y,h,v;const f=((y=(g=d==null?void 0:d.data)==null?void 0:g.data)==null?void 0:y.items)||[];f.length===1&&i({roleId:(v=(h=f[0].roles)==null?void 0:h[0])==null?void 0:v.uniqueId,workspaceId:f[0].uniqueId})})},[a,t]),!t&&n?w.jsx(pX,{future:{v7_startTransition:!0},children:w.jsxs(xX,{children:[w.jsx(mt,{path:":locale",children:r}),w.jsx(mt,{path:"*",element:w.jsx(B3,{to:"/en/selfservice/welcome",replace:!0})})]})}):!a&&((l=t==null?void 0:t.userWorkspaces)==null?void 0:l.length)>1?w.jsx(pX,{future:{v7_startTransition:!0},children:w.jsx(G$e,{})}):w.jsx(w.Fragment,{children:e})};function gOt({ApplicationRoutes:e,WithSdk:t,mockServer:n,apiPrefix:r}){const[a]=ze.useState(()=>new Zhe),{config:i}=R.useContext(dh);R.useEffect(()=>{"serviceWorker"in navigator&&"PushManager"in window&&navigator.serviceWorker.register("sw.js").then(l=>{})},[]);const{locale:o}=R_t();return w.jsx(ime,{client:a,children:w.jsx(Phe,{children:w.jsx(w_e,{children:w.jsx(C_t,{FallbackComponent:x_t,onReset:l=>{},children:w.jsx(fOt,{mockServer:n,config:i,prefix:r,queryClient:a,locale:o,children:w.jsx(t,{mockServer:n,prefix:r,config:i,queryClient:a,children:w.jsx(mOt,{children:w.jsx(dOt,{queryClient:a,ApplicationRoutes:e})})})})})})})})}function vOt(){const e=R.useRef(E_t);return w.jsx(gOt,{ApplicationRoutes:Hxt,mockServer:e,WithSdk:Vxt})}const yOt=Noe.createRoot(document.getElementById("root"));yOt.render(w.jsx(ze.StrictMode,{children:w.jsx(vOt,{})}))});export default bOt(); diff --git a/modules/fireback/codegen/fireback-manage/assets/index-CjN2LFXZ.css b/modules/fireback/codegen/fireback-manage/assets/index-mOPJlpTq.css similarity index 99% rename from modules/fireback/codegen/fireback-manage/assets/index-CjN2LFXZ.css rename to modules/fireback/codegen/fireback-manage/assets/index-mOPJlpTq.css index 047e826e1..04f945e17 100644 --- a/modules/fireback/codegen/fireback-manage/assets/index-CjN2LFXZ.css +++ b/modules/fireback/codegen/fireback-manage/assets/index-mOPJlpTq.css @@ -4,4 +4,4 @@ * Bootstrap v5.3.3 (https://getbootstrap.com/) * Copyright 2011-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width:1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media(min-width:1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media(min-width:1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media(min-width:1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media(min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media(min-width:576px){.container-sm,.container{max-width:540px}}@media(min-width:768px){.container-md,.container-sm,.container{max-width:720px}}@media(min-width:992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media(min-width:1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media(min-width:1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media(min-width:576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media(min-width:768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media(min-width:992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media(prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media(min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media(prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media(prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media(prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media(min-width:576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media(min-width:992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media(min-width:1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media(max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion:reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:575.98px)and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media(max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media(min-width:576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:767.98px)and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media(max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media(min-width:768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:991.98px)and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media(max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media(min-width:992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1199.98px)and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media(max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media(min-width:1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1399.98px)and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media(max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media(min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media(prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media(min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media(min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media(min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media(min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.react-tel-input{font-family:Roboto,sans-serif;font-size:15px;position:relative;width:100%}.react-tel-input :disabled{cursor:not-allowed}.react-tel-input .flag{width:16px;height:11px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACmCAMAAAACnqETAAADAFBMVEUAAAD30gQCKn0GJJ4MP4kMlD43WGf9/f329vcBAQHhAADx8vHvAwL8AQL7UlL4RUUzqDP2MjLp6un2Jyj0Ghn2PTr9fHvi5OJYuln7Xl75+UPpNzXUAQH29jH6cXC+AAIAJwBNtE/23Ff5aGdDr0TJAQHsZV3qR0IAOQB3x3fdRD/Z2NvuWFLkcG7fVlH4kI4AAlXO0M8BATsdS6MCagIBfQEASgPoKSc4VKL442q4xeQAigD46eetAABYd9jvf3nZMiwAAoD30zz55X5ng9tPbKZnwGXz8x77+lY7OTjzzikABGsenh72pKNPldEAWgHgGBgAACH88/Gqt95JR0OWAwP3uLd/qdr53kMBBJJ3d3XMPTpWer8NnAwABKPH1O1VVFIuLSz13NtZnlf2kEh9keLn7vfZ4vNkZGHzvwJIXZRfZLuDwfv4y8tvk79LlUblzsxorGcCBusFKuYCCcdmfq5jqvlxt/tzktEABLb8/HL2tlTAw8SLlMFpj/ZlpNhBZ81BYbQcGxuToN9SYdjXY2Lz7lD0dCQ6S9Dm0EUCYPdDlvWWvd2AnviXqc11eMZTqPc3cPMCRev16ZrRUE0Hf/tNT7HIJyTptDVTffSsTkvhtgQ0T4jigoFUx/g+hsX9/QUHzQY1dbJ7sHV02Pduvd0leiK1XmaTrfpCQPgELrrdsrY1NamgyPrh03iPxosvX92ysbCgoZzk5kP1YD7t6AILnu+45LykNS40qvXDdHnR6tBennz6u3TSxU1Or9Swz6wqzCsPZKzglJbIqEY8hDhyAgFzbJxuOC+Li4d9sJLFsnhwbvH2d1A3kzAqPZQITsN76nq2dzaZdKJf4F6RJkb078YFiM+tnWZGh2F+dDibykYoMcsnekdI1UhCAwWb25qVkEq43km9yBrclQMGwfyZ3/zZ2QK9gJxsJWCBUk32QwqOSYKRxh6Xdm3B4oMW22EPZzawnR72kgZltCqPxrdH1dkBkqDdWwwMwMO9O2sqKXHvipPGJkzlRVLhJjVIs9KrAAAAB3RSTlMA/v3+/Pn9Fk05qAAAUU9JREFUeNp0nAlYVNcVxzHazoroGBkXhAgCCjMsroDoKIgKdFABBwQUnSAoCqLRFBfcCBIM4kbqShO1hlSrCJqQQmNssVFqjBarsdjFJWlMTOLXJDZt8/X7+j/n3pk3vNq/bb8+3nbP79137/+dd954qTVt8uTJL73OMhqNer03ady4cWOhWbNmjV+0FfKGjMb36Y9/1fXUst9cb2y8/lpb797z5k2dOjXVD9Ljn59fcHBwQEDAgGch3l9on6feeeedn0r9kvT222+/sErRgvcDArwV8f5tN/rcvPnMZ22pqVFRSVGjR38k9Rsp9fLql/MXLj20VGjt2rVeak2Og/auI/kHBQ3We/tCo0ZNhwYNGj58/NaWlpbOyMhIX1//2/jTrICvckhXruQsWbJw4cL3tzhPORynSk5lZWVtglL9IkmdDQ05NqvVGhLwbKSUL+Tvb9yH/2sj+eN0IZZ3fvq3Hnp71ZtCOyofdnTYSzq9xX7UtsF9+/Y1FpeZT54sc2aUlq6Jy89YM/qj2oZaoeOkMR8dV/Tee++NWb04rrA5MRYKDAyc/NKCpwDIyKhE9LEzZ/r4DLQAAE6EyEeM6AcNH7m1pTMnB+fHX7tG9Bs0Xt+GwM/frqm5tz950aKDk6rsiA0xbUrbRAii/BDeV9bGhQsPRlyOCAuZ9GykZwT++n2RHPnVYQU+oaFDPQD8jEQAPiDdaLPaHGVXbn/O7YHQuIH9B/gYgzts1iqrtSopKWlNRkzS6I8arFaOFvTfew8AfiYil/rN6sWTKwtbArOzExISUl7+vwCuQNt8Bg71AQCcTwNpWeFbW3IIQEmJr08XgIzX2xDcvZrs7Jru5EWXwwKSwh2RkQ77w7Q0bXp6YRoDaKO+kZl8MCwsYpJ3pEf8liAAoPhDhqUMQ/wAkF+oqKiosJYA7HxotdnTtVe6Pr/S0h+AI90QffU3T9obGuwdD5PqkmJiMtbM+ajWI/60TX0COhoarAAE1dfXV80FgMmLi1oSKP7/B6ASAGyBV4YM7D/Bx8/bF7g5fgmgEwCCSiJtJQRgxEi9zZqVdYUu9pW0tLCIgOvxdR0dpxx5aWl7EzV7CYDV+tXnCzMzkzMvE4AFlTuhZaSf/OQny1L32RC+JcHikzJ06NAJoe+YNKRbsbG3xPlWZTxssNmdOP/J27ffudLJ60V7DAaT1lxRVvfwYe3Jlrq4uJiKjAwAcIWP+BkAhV/i7HA0uAG8BAIUf8qfzvwvgJcQf+XMK4GWi8OGTpgQ6uftzwC0LIM2WgcASwaXOBwlA7v6/YgAhFRt2pRGeu0/UyImbal77eHDo2kVAJAeKwE0fl6P63/5nSlTAKBCiR8AovbZEL9lf8I5AMD5booAE7OzY8X5fhGJi0/nTzTcMh+80iIBaF0APqvIu3EjqfRGcV3S4aSKYk8AaW4ADU4gOFlfn8sAXnoJBDpTCMDL87zU2kwATl+x1Nw+P2HChKHBBMDHFT8DwGjX11FSYu/f/aMf9XtOjwAacf2hmxRg7ywXDrr30kb7NVhDquo/z0y+nJs7ZUoYA5DxM4BFmcnJyV93PzjbvQhK3urqAYF7xflWVT5ssDaU4Ox7T9+6Ei4BaN0AUkvXJEExMTGHD9cdFgA2yfgZQAP1f0dJw0lrfS4BmIb4z5yZBgL/H8DibbehGROenQ0AQRhvZPwQAGDQ8wlqsFkmdP9ofr/n/OgK2ml1xxQECAAy/tdee++91wCA1mfWJy/KXUTr536T+O67764X2r9//T+3JkPdDx50f7qItDXfff+zeAxY1lYV0VCmPV1Ts5fGAGUYDbHpo0qT6vKTignAtWvXiuf0StwGZZPQybMPAYC8/xF/bj0AUPwvvzytKCdl6dMAvJxRuXjxkCHnL86YMXs2A8B4m4yWQTrdIp0uByMajcATJrwzXwCIiIjAFSrbJwGI+FlH00YH8/rQy5enQPsYgBK/BLCI1c0Afonhn/XjH8MNLP9o1Y4Pfg795N9hYQ23bt1q4fb07z+A/ITR2J8AFJnqOP7iuj7Fc35TK+9/bkPaM+NGiSnsB6wRIwGA4n/5T5Pzc5aeeAqAP1VCM4niWRqVgr1p1sEYlskNJQC4BQZbLJi0MAgCgBUKqYo3VEVEhIWFTZqXtYmVxiIAtB4QeDUAvMuSFBgAJCkwAKHlLAKw4wMIFG5URVgdLdwedEq6BuCgj1qzpi4uiVScYa6I0fWKJQVC2aRDY0eNWrlyECwMMIDDc2vZ6UF0F7z8tB5w4kTvtZ+ygklGkk4lvZ6sne45SDg8aJIQ2z+4Mmg0qcfauXPnfvPNN9XV/1S0VSWyf1Ls4FZ5aIHu/blGKb2UOM0ckq4PmsZ2b8yYMb2l4FbhX8ePHwmhuSPXkhaQ5q0tXzBvntdUUq9eSyFu9njXxpA74Leg198yktRWVI4OkAkymw2Q3WO90+nnN3u2H0QkHI6JpHHj2GvTYdsupd68GfVZ4yTJqJeUaNKhQ+rzCUvOMXEr//4vD3333XdLe+rRJx4iqumDnT2O5zW1HII1hPLy8pJGjz9GWgk9D61Al4fWkWay9VRbUa1GEVCYDRoonu0dr++n0ZQ0dMCNdDRYHVrtuImjWHQ80lvfl4WfhJetw1CFm6h+rkazd28iJHvyIe/IHt7ZOBY7o4GPH4smPqf7nRwz/sH6bmmi2HtvYiBUYPxEcZakt701PdsPAIhb3DBbYmIIAOK+F9HXJ6z7t799AwDI48+cOQRi66m2ogoAYVwIQEkQb8DrJza1azRWq9NpjUjXtg+aNXHU9EEQHW/YsGFD3toHMFZbgzUsDNPkPgAgpScG1vA4TgB8PZATAAoc6IasWPHhhwCQkyNCdwMIJCVqDabA8+cAAJFLYVD92dvpjvQe7ZcA7p0/350dEzNmy+iRAHBPrO9+AwB41Of4h2HoFdZYhsfL7ej7QmbSBdED/GkDXv+ju9Pv4i9mM+g09Rs1duKoQSQR/4whb7msbFhufHy8M2xup6AZ3sHzWOChaveIWQCtn00A7s/84MDuD4bd+fBDcYEukrVna5fwMQPAsqnQZOqqLtBzezysvHd6z/YLANndUELMGAmgXqzPfeON3+IE8PHbuL2YegYCAO+/fz/io2VMM+5HpR/BGXIPGCzix3oAaBo13aApK9Mahg8fNAo9ANsPGi7iB4BLZRUPH9advJGb6zx+3Jk7FwFtCNekNzQUabW3cAv0Ek9uUA0U+PGsY4NmzrxQVBS3e82wGQDA7bvI8SsAsgNP7y26HV4GALyeJzGaY5J18fZ4GT+3DwBK8/K2ZF/s7v46ZYwEsMJHrJ/gApBJ8QPAs9gh2BYBnT077OwUnvcBwB0/nCEAQPFBdADefv5dPEu3p2u18e39Bg2aPou2h9wNmP3wi7bGL9qsuVOcizoBgM/X0BBtamggK2wGABn+WSLw8awm9P4Du3ecys+aMWPGt6J9medF/EsBIBbxJxSFm4vM5moJAOGL+AHAO90jfglgy5bshO7uFAIQM2fkyhUr6sX6fW+MJQDYX1wvWI/+uOIc79mziJec4ESxDPGy6AF9RfzYHgBw02s7yswNhf1GDJ8+lvcfPgKrxfoAa0S9uP9HTV95LHdur8TzuF7W5OSqDdEGAFiaiIjk9U8hAMdw+1Ts3r37VPOMGR/K9l3k+CUA9P9b4c6y8LKC6upqAiDj3wpxD1Dix/m9Uku3KAD6xMx5DgC6xfrLYwnAEuw/jOJnAMHjpnvECwA8aK5YseK3EA2aogf0pQNIAIOaXI8S0/sBAPaHaLUEIOJHPmjUsWACACN7/qLVmoz2Zjabv3x8X+oBdP/DWeih94d9sHv3BzO+fOOND6l9C93xL00BgOy97dHo/ZHm6EcAwM8OHlZ+YLpFtF9eQAGA9+81pg8DQCzdU3D9Ef/YN3AC8OP4Z5D1DBg7XYmfAKitqYl7AA8AvDxxVLtGW1VVVhYRZjC0jhg/Tuzv3j6gCuEjfghGYd/cXrFk5BNqai4K633k938h/Zp15C8Tx68E7X7Dtm2b8QZEAH743j8gYQQwC8TGlp08Z7ZWC+k/4eFf6pc//Sje3+TZ/pFeqXkQ7hoIhhoAnve8ogRgCQZBMQsgTgBgXykpAoDKmpoIuJP/wMvzwaOKHkisVfUnDYZZ2J/k3n4ST/94UiHt2/d+Lx7yttFAXnP+60W6+X9ggQFzGDdeOJT791fQNAgAv/qHFFMAAJou7AWQBCAkKXzknW71bD96APnWQ4c+hthRsv1Ty2WNA4InwYYpzhJSW1MT+lmkxx9awyfNhQVmvf9+c9M4kVt1by8tsmuLub3I/in6er7URGkh1SZ1znfk/xR9o2oP7F8Pax1vbO8RgJcwhYp8BvpMcD1t+0GffPJ7xUo+CA54Yc+DPXv2vGA0vkBavfqIW+xeH3kr8iJ9QxJegQNpu/TMzZupnzXOkQ7+OkumeCCOU+Si2Sr7kR6RkQZ/iA0y62PWVKlUiLy8fsz1MSd6s+YhLz1vu0t7ILS4T1Rqn2cU9fF6YQdpMZIAG6dNmzZ5bX+7PZKGsXi0CM9xwZ+0DmuVnejxsHMDJu3Zu24vkrT+QTtYq4/8nvWHPzyeCa2HUySRbzMKAO9CGhZ15Pku67uGlaS7frzoeFat26uY2CpzijiIrbKfLdH2buy7eKLkR8oAaXWhQNLH8+qEKirKy0tLS6O8bXVZQpvg8dPmbV/O+jH0IvRClLY06hkPAcBGqLa19ckBzC0HVg+0R9rQFpqFtWER1oBPhr3+eutPocevPzIaBwTseTORAu/rQ7sd2AgA4g69T1PlfmGVsX9fn8ESALk4ER5Gsb/Mny2tbzGkPQwASH1s2iTDBwC2yhYeVdgq+yXODAwpCCzAozT7Dml12fqR8VGcOMtk9A0pkUvsI7YvR+DQrl2vQLtWpdbFPAVAq8lgMrcygKEEoKQsJKTMYQgLDQn4ZN3r60T43ngSrH5g1rBcWaINAoCMX1plXq8GoBUAXNYX4RcfPqzVXa8tqk3bpATAVtnCVpytsp8tsCBifcJVil8BoFhfu7OE5RCyGn0HWxweQLYvf/HF2tp1T568IgD0Gf2MJilKBSCrPf5Cc3h76e4zuwmAv8ZqQ5cLMwwNA4DWn+IfwoeqX3/8kQvAQC2rGQCU+NkqywuiAqAVACa6rO/hYsR/uBi3wKZd7wGA1gPAcEvfhAQAmEEA4DwLEgo4/tmzwyYdYqurWF+9zWKxhCKlTjnV2WEBxkhHX5/G8jSZEZoKALWJWbuyYgWBVRgA6vqk9hgDNh54YtI2t2jbn5wBgAl2m1XTYAmxhFoNU5DG/uRnHuG/d/yjEa0X7kID+99tgu6OxTytxK8A0KoAaCGexz+rWHPpUtKaG4e1hwnAhhNZlLtMhwyG+HhDGVvl0PXZ2fv7w3oMe8vPijuf4of2AQCyutDmzWdI1zcv0Psr8SOFF2As0Th8Qr84CiEzcjSKni09b4l5C+al4r9uAcCBA1nthuYKc3spA4i0hWgNdFazgbK8n3iEjzct380S1rd/f+mkAECJH87O21/2v76eALQM4MiRX0+MKqXsFXSYAei8/d3WXLHaoQNTUga4AYSGiesPTSEASvwEwCrin4D4GYAv4m9MS5M5yalGX1uixccntCDwKqf5n5FSboGNBw4caG03m1tbz5zZs3v1bAAAKvtJDAuzAeD1c0r4DEBY4f4DKH4C8AclfgYQxFl0etRWAAj+RwjA6DUyfuoC3xt02F6JnwDQ8UNpeQAB+DTY6op/HxJLU+au3jj5JYRPwvR5ZoFN3v12oVxjkE+oXbG+4o71WH5dJa9VALD7wBPMArvP7AEAfaTVgm3NZkzcszHoBCvhM4BvhTcfMOCB8OZH/sDxp0hrCwA8PvKjNqkaAPaL80sAyvU3fF+sU1tptspDaRkA3gKAEIoforwaAPhZ3f2de4RWeUvAARqDKH65ZDKE7/nxriexm17ZtO0JxvhXX1n1Q5UAYCMQTCsvn7ybEuYL9JE2q9jfZJoSBgADEP5xt757MJM0xMcHUUOfzr9Pywlua+vtThhJAOvdPYDc/LjRayC+CxiDTm2l2SpbeJmPHywzyhLDXH1ICI96wEAcAlIr4ABKSThuXt4c75ByyJ2Zj9qDWbD2SSJmAdaqBSp5CdPoB5frx9LDdEVDG6C5cKnB/xz1kdB3rAcP2Bb7+X0q9GtOXirWU7HGEgBSwI/CoehosrIT2f7pFKmtNFvlYF4W/jvAI6kMoX2y1kBIZKBHu1PDwfNI7A1ZbP+UIgPMAn08hFnAIOROal3P6pnlzSQlK8pHf4F2s+AwjSRNvDsCadl76bQif9tbqDBdNvzPfxcy8+nCw1OULDDrOukEi7PXnngo+IDLY8UZZMmGOmsMn09yPTI8VwjhWEUkXIY4mYVu2/7qq9tJXuqsLoxJj+XMZqEWUmdnskabf8olWOI9Rl9Ik07vqeh1id/EpqZRUGKOhksqxveuZGm0Idx3g//+BPrd734n793wXnuFEoUOXc+ClJcrC4wiI8rv0On4GNUbbh8TBRtwDOPVWerxv2P9SuiPukKcBwd0xRPusuLSH+/xUmd1r9dm5XsuZzZ35kBLxCt+ANBoihA5CY6YAODEmnS8KRpIr7cBgJp2uyDkahcmi+EAUE7SpvPQFRrw9yfcvk5nPHUyApDokQWPBQCOXN7DafPo+ABH1RN8fL0t6OrVq1X3eC7C8dVZ6vHu2P/4xz//WQDAQ44rnmhXFlrYYxeAW+mJ6bcSEyUAEFCyqJdPfkX6HLp8+fJXBEBTyAR2uAD0tWjSfbh9BGAUxX/1zi8HVXcpAHZq03m9BNBptXY4ET8DUOKXANJk/AxAFETYbO/ayJ3aACAwcH3gep/Qru4PUZ8w/nW8X9gWOMSdZR7bRG81jkOU1XjeDUArFOey4i++WFW1vr4NAMTLaFjLvekuAJvylYKIXIcvFcQItzLB9o5G44CzylcA+Pe1+GjS+fojwGDO4hbcOfuXX35bnZ0deIgB7Nyp1QqrygB+1Wb9lbOBAUQTAOV1XuwhdRZXI7Q3UVplfSKS45aEc0MH9p/yTveKkQCw7WrIXneWmYDMrD3++Mnx47x8Iqt8GiTs4+bJ8y6V3Xj4sOLkjV27qjA9AYCBvGJsQkLgXraKBAAEOsCdZPfLdbjjRwQAUOJvxy7t/BK+NKuPhqVYTX6PEHJ101+qq8MWLcrUqdf/ne5Pa+OvMLPRPB3dBw+ychaDSkers7gaFiAliv31sSHr14euv0o8n322XoeAHXhwOyuydsMYwJDax0+ePD5OywCA8NM4fAIwdWfdtIqKvKyMXbuKDPWFRS8wAG3r3lvtF0RBAveANuqv7K2Dc+3K9Z/g7gGtlKRja9sjPjSQF6/eqc7+9ttztKz3Z6uarl22BcqL+jvdo1URvyqzGbSUpOTX6XlkW0mvpaqzuBLA6dOxOD4DKMA7koRzaMyUf3+xczUCvlVgic+m+CWAIUNqjz95vEkBwJdfAniVhj6+/xuRjGyTAO42XRjVxJMfACjxE4CuveRlC2SO7d13NJD59yJFSQD0QRj+tPHu7flhpqv6y+pv/9lF7wn0QexZ4g1bBIBZBCAnIsJaEm+QAJT4f/Naqrmndd2wCFMPhuHTp3OWQDk6vS1hfcL+6v6I/iU8vgPAkAs1+5vPIn62zt6+56AsdNChjx49OqcvwsEQPx2OjwcAIv5d+YW5hfkSgNZ814wNGADHP0HEo58Q8PXe2Fjx/JkCxd7T8uXn+CUA3P4AILcPFu8NuqrDziF+lND4hfCjigAQsywKozQN0Esc8eJ89LTHLk8+7ZmV+LnBnJX2KNAA8KvVQ//9xWTYkDNnJq9VW2m5XF8vl2lSx/X3AMDhU35kee7yXS94mfh8St78RNZDOetAEwBAmaRjoS6t4a7M0TKFcWxNtfE+cvvgsWKCjs3U8jwFAGxd0w150DIAkHO0QSjaSPM3Pa6BI+RnVtojAPAErBRo6AeHtN1YDP8uRra1aiutXgYALTZ1H287pn+SxAAA0pFB0aQT7wuzKbOQwV93kfC/Qt13j/TI0k5kg2Yqox1YY0VBwlKdWXgx6VvLzKlRrPEjRU53Q7QQdpenE/bW7G7JBpZOpUmfLVi9arXQWkhtpdXLZP8WzFsQFx3Hh2vm/CjrBZaX9UbvmzenotZWWmpZ3AOJUgvCtkq/2u2Vy0lmbiOfZhxLqSWuyC/FpS5qbCyiW/6LUm/om2rv6mrvR9VGyCRkNErs6uOprS2bcpaZ91Bbd0CTmsTiPd/i8gtuzxGVPpoIebTY61qJ+aT9pJOytEnQ6NfiSBlxcbWsMTRG7LBtdFvJ8nxI9FAyKEhgkJRa4jqHpigjQxMZqamry/fV1Hk3eWRx198zmjTpmEZovSbe7tRGq4+ntraGnlY9nJfT47Wu5YAGVIKSZIEF7y8KOrg9R5C++r2iI6/W9myvF2p3/YNwyqQYcl/Fc14TkcNAk+r60AkPhBzg0wkA4GNi2fyDCMAg5VURKkfz4uwOzWJN0GBNuR0Qrnk3jTrrqlh68O1wvDlyNCBp6R+k0Tqq7ACgOp7K2koA6b7xSgFGeuTgvkElWBYAEDgidxVY8P5c0DGMrbLTgx908tVTPdo73uumw+4baW94WByTlp+fFuMCkJGhBqD1ACCeFP2pTg/WVzkgTpiXUV6GtCCeD4Li82N29vYGoDs1/Lrvy379ngcADaWtg0JwMAe8ufp46gIM+brdYnEKL4/lSF5fItqjFE6ms6/g/UVBB18Qb1xgeno4x7qqf/XUKdr81i2ZIfJaU1LR0YEsbUxMWmnFUQEgP5/sYFxceXlWn1XIGR6w0JzDWosGZ2SIBgeFwJvDeBBvtxWVz5Ior2Xle486i4KIO1fP3aEXkiv0QQ47pa9CQoTTnP304227d08ejwMsszRaylwAZIGDvwCw/RQ8ObRRaBUXcIiCDpwPAN6NvQoN5vgHngOA5XT7NDVJa+31WUXSjRsxa27EXEuLawGAo3HU/+OysnBjlpdmPeNnExkYV16+HO3NEKMQJjgrGizjl1a0MTLI4xL2vek9KrBg+IiuhBRUFhMAfrojiae74Kcf715m8j0+ngDgj/vBR9QOAyArUmj2njc5cJmkOLCKa5u5PTO4YMM7cR0REPELAMtxxA0bpDX3SsXYFwNdu5bWmZN0bc7RjNraOMSPHpBRCgCrKWcYKq//njNrp4kGmyCQCQlGg5X40WDZA3z6u3vAnUEjRtw5d+5LAJi/Qm9xcOstFht9JxHp9/TjDeteKJyd7AFhuVPKhFX39vcXXd4hssjbuQO4IGxkAD6iPZy1Rg9Yj/g5/IGPAGD58kJ42Q0bwnE8AUDG39mZl5eToyMAiL62Fok2AkD34O7QM26jlIcG14oui6sYEjymrpxeyuUJlaZuqViWnz5Y0x8AQpt7J6V6Hxs+4k4N2chD386f/6EeRseB9lso89oBY6I+3lhVAQYDSHfud5qEkUEWGftj574ii2xWUqJyPTqfKOjg/WlQ5P7v4wJwSguhoJEV7hW1huOHKO1xDQD45aJWWyoAUAPOhBEAgwtAbZ2YhC2haDA/bbkfNvKmxmRobJF5mgEDNL/Q2EPKU72nD7rPPhq5rwf9CIDdageAUK2hod4GAKrj/U8BRiQ/ju8/R/7UJ4Ssbl9HutbpL63uUws2RH/k5bKe1vrKq8td1nsflDsXAES5OXQY9da639SS6uQswAC0ByyTlR6QAQkbEgIBQNbicggY8qCpdRpb3M6dNAguS4rTWC4ZjwVCXIABCitgdZ2RGNBDMAs4bSUAoDre/xRgsCFYvx5hkbkVVjfIv6/L6j61YIMLOs7ysuvttdSRV+vcnqEecycAiFpbFtUbiEpbzpiy6NKsDlhL/pS1ZQuq6TZwkjCYJOtuSVNJpZ8nIQeaf/NmPlKyz9R+b4T++cj46JF+9iM9JK2un5+0uurjkX2T5Qsso5Df/7O6smCj5/a93oI+5eUjKu0JVpLMJK/r18PDZRaWq4i3k0ykcHbLKmcqaoVlCvcQtGjEjyZ6emF1Fre3CpDa6vKZhbHn8wdLueytnqU8n7CTFSllugeMik0WaJd6CrUZDTfmwep/cY3S5M/hmqjP73V9Mj0uKjnA7ZQtFebiRWiVt8x/yrHW6GE1SYf8Hraa2psUa2m0QWRlQ0QWd8FiUrkrL5XK+ytm13iiUog3mzZtQbANsrpL7CfpySCz+G8BXEChYRVAxj1vSsmCDVUBxTfFTq3zpDO+Li5/Q9OFlrg6tdX2MovZCn6MtXM7PS8LAPQ+HQA48IcPeardqFesJtf6HvL2bby97tat9unCCQIAz/ORkWKeBwB3PgafKWxOFVYXCYvjwuqe4NAlnpcIgIhcFkQAAAfOfwwNIwAALR4IkKEpMJp6ZrWj1QUUgx2Yde32G/hIB+VVx6LUVlsCcF2Dyt4MQBzvFQgAKP62pvA2CUBaTZmF/RjLEV+dn7nuVvuo4fQRFQBYoHRH31DKAgdX5EMSb0ZGXIy0uiU+JcLqEoBprvgZgBK/BKDEHxYBAIMEAG16NQDoJYAdO7QCQAKnL043N5+mbpB4qNEZ77CXlFRk5FMJfFOd/OyOxJ/deZ1A99+8Weue5gjALphFLL+yezcB2AhZmy5Y2Wnh9feSCGE1ET8DAM2D3WeHDKFuMGi80R/hl+CjqvgSBsBlc5V0vMpCqigRF4viN7AVXV252B3+S8jaKtdTZoH5q7IIaUUjJnEBhYHWxysA3ty4482Nb2r5+KyMuvw64fQqnBknT2aU7aQe0PX8MqoXaKUsaCvivWvQmiQA7qHQ5t7bkSt5RctWYzcD2MEAwsNDJICvFi7sewf6knRnIltPn8vdxGNYvGkcAPj42OPt9hJfTqpyAws1GRnaImRBXQAQf4mBG7i2snwnaxlp51R1FjnEYRfqgBo69nHO0YD1ngAKNxbiP7S9BFAXV1EhnN7D8KLw5riiirq4lXUHK47VIf6mC63tTU3trU3T78IJilJSpQcAwK5XeLlQAXCg6oMbVYife8DCep8RSqkpACD+e0hL70UPGD5S70/pLXQ6pyhY4BzfYi20uNDgBoD4Bxi4gQyQZnVZPK3OMquXOecIdgQA0vMGuPwbD+yg9RIA4o8T20+tAFvxlV59Te6y0Vh5wWQytLYaTOgBAFCp3KNiEPzxrldUADD8VV06/wUWfw4AZDUVqzoSy2GXHwyZiTGgHwGhLHGoj7Mk0jmUAVS4D54BxcVcr90E5fUfkJTGb36ox4gSDwg9hkthP4RQCDtu3Ic6dYEDF1CYPAHweowBwgqPbVoJyXJXfFCxrCgjDv8Jr4urO51bk1GBLDOUQ+IssxesKKlSqveeH7+iBnAAqo/YTTogsq49rOfB7m23brUOp2UGQNH4DJ1gEVnledP47pKvfLdEqd/9occo8TMAJX4CoFXilwBg+lQA5HoFAIcvviiZWsHXH4q5nVDzk9HqLLNXUaFLJlORqahuz4uQOCDPAkblUYvkx1bTw3oGt3Xi4ivLsoDBnVWeygNc3mYSsoQA4PnyFwDIMCglD8EjXc3/kAQAPbPE4Wx9PW6BF6RDkW1ci2+K+JsngQE9AB2QOwEudGNdRoU6y+zl/ohMmjWyf6uiyfduWEVSnJ0wZLw4UvkMTaebCCuqLOtVFQxKGasQdwSYZdcZPWweSykFFuKwlZxoOBdQXIiGmvUkVxJ5g5TaSivnHs3SqeQ1UZUl7Q1p9Bp3kQWvFicXNvvQfGX7cR8fmqs6oPozOp1KAqgClSyw1AKSnqVA/PbTXj3E7RWnn/81jrcb4loHme7+n/Pz5krWuu3GM5+hVnmOfAICAFVWtzdVE9g05VApHvNTPawnW8fLiYmPeXvofmCNztv2lRxRuG/p1AUXOl6rrDd6WFGyyqsXQ4oXnKe3sRIT2f5YAsY2PV4nNJPUS2nv/a9wQJ3yewPiW2OcP3wDN8LQvIHP3zO+7/kXJ8IvrYGuJBUDgEhqyruaAJSXa0I0eaSjRwGA1otw2DrqOs8HBt6hzb+tSbi4RAdn17jE/UI7UwJw+Po6xLOFjmsroj//fEMmr+eCCovl6lUfeqHu47d2scsG0WA5eSqMj1AovM/QiAB8JXZnnRvBul6u9k4/v9Ccmbzwn8ZIgROwwDPET6sxdeaEa5xOTfiSnHA+//OeWetce0cDVAzl5BwGgNb29lb570L73fZ+AFCqsWg4fgCIYuspLidbVxzwNgggzZOQ0o2AyNpG2JWHKQZgJ6sdycvR3CGdDbYyE6kFABD/+uyEgoFcUBHQEAHVV1XxZyNhcwUAy/r1FP+UiIBZo0zmY+2etcQc//3uzE5T54P1evSokvj4SB/w7I/jAUB4Z3N6ZF8f3/TmJRsYwMILraQLUOvwz8ocHR2ODlSo5V65sg8ANKx0B7IsJGGtLaraXXF+Nir0/r77fPb58wkXM1HAAACUpbZjvQJAfJY00EnLRt8gdPXPIyIuiwoRLqi4mlBQkFI9gQFQUWpDhNNZbwWAXADg+AMD9w8dOmVKaMAsg2FQ+3BYFs/2TL+/EIN4Z8qjgXqjf4kdpoP7kwCgMWkdMGNDI03hOD+11+xhrWWt8uHiwyfbGk+6AdjtjkhhPV3Fx2F0/tnyszixP9cCy8/UshP2y8/Q7Brg9sHeImvLX42JlLADy+E4HrxxZlhY8gSuEGGrjOrnagAg4wMA9RH4lCu+w5lLADpQ+mlxxm8LvFUytKTEcnCWofV5fOVzzAmVlDk7yAneP4/4M79GcSoBcJb4l8SHIH4+Hj8oNoeGLtv8kNojASjWGlnwS5eK16BMM6eidMlhFwBtpK/Bw3qGqqyn2J+SkASAPtM6fz7l62QG4O8RvwQQL95qOGnZDeCyLGaGVeYesL8ayxKANl6Lt125+/DV2CVTZZGzcrHZPDmvbPLm8O/RA4a39+uux+WQF2T6/ZZMxJ/yDbcHPcBGPYDjFwBM2lPL8jafyTCF4/zUXrOHlY7iStXDEDlUAPCNdzgdeHqz8z9Hwzx8SQoAR4/S6/yYo1FsPbUKADipewnZeMvxZcrS7q2LuNY3TMYPAQAUSfHbeDma/1xmtdIYYMYYQE5yYEFKyjdoLwMIC4sHAPzHSQAqKovi8L5w2uT8yrz8uPLiWStN7Su60COnkADg8fkWU2dmZkr/ZwWAoCCMAUEU/7M4np9BE57TrM3avLm8sHnhBkM0ffbX4S4mdoSNXiPiv3b7ypIlt2/rvNjaYnwXFQb99QRAO5QB4Fvio6PZeor4OAury7mYXfMtWeFvD/X6OpNqfbtkXpYLIkTBhX1w30gDA6D9Mfp2d/cTn6kZg7gQoLpaFlQsKH/J9Sj6p1/8Yktq76LFIDAtP39yXn5dXv4zs5DFqFB06Us8jYZn7v/GVRCBW4qrC4aKMQA9wJyzJFqbn2+IXrgkmgHkDqRV8nwE4DDU53DO7dt0C6gLCqZi+tdatHlyGhjN1lPL4vVbAwPvu2aVOyn7dd4h92ReVhREqAsuxk6XqyFplT0LMILXyklQUpiaVJlfWRkXt7g8P6M8I2Na1KyVpTt2vPjiRgjO/MAq3RKopsDd3lNFbuVDWTj/hmYTj3ctzQYCEIFRVzkfirUheRdcAwB1lpXsnyHAFOVyj2w9hdPk9UsPjVM+Oxv/9cdzx49VliF1wcVY1S84eBg9JavMLlyqeOrhw6mpl4qjooqfiSruM+sErLmHYP7++sijvduVYgfa7gX1+XV6Y48TzoF6WOFPDilfxZHUWWB1VlY+Fe12qTe0wCOIQKkE+SaAQcp6E1JvlZRSYaH+AyCPn1sTnxMqmq2SOsurXl5L6vUWnYFb4KXWJ3v39viFBXXWVFpT/EFY0wOiSjg//03Wmd5ZdRcSL9SJdyN4MRK4cuX69bHvtjWyLn4claHNqFCssfN/ACSSlF+MGKC8+fSFjHPbWOJ4Bw/+1VsldXvVy2sXQ+ug2Fgy108DwIHXPr4gfmHhs4fQDegL0g2dPhI20/2ISwA4B52fv5EeQncAwGk0/HReHj/u5qUGrny+oCBWNPhg48GuKK3GcMkKcR2DddI8IfQYIffvA8hfjEDBBklG4A8AHDj0DnTwr656mAApdZZXvcxWe+bM27e3bQujn/J6CoDH/FFkQs1dBnCiklL4izERbebSUmEMTE3HzOIzOQaw42+dnX/bCBGAFjS/heNXADQ27u+6eLHrIABkGOouKVmdsgyhiooMoU/58/ga1vnzNV/j9beUqB94v02JnwDopFxPzOqCCvUyAZi8rQa/d5f9fwAkcg/APXteApgGFWq0hZM9ANx9fkWTJ4CizOQiAWDBYnR8cf1BYHNq4PMAEAgACfsPgkBXVMWlS+gBso6lapJGqKVFI6T+BQpTz6ywuSzeKVVG6tCxtrZsdQPgeLu65C9W8LLyCxEAgFlm2+2IiHsAMOWpAKgHXKAe8AQE3j5BxMrp/NO4tJQBtFOKpp2sJAPYsTwuOTnuRQbwfcWNG5eEMLdc0kkABxMu7t+f0nWzK75nlrdMxpe8SAGgxA8fYVJlhf+nFpkVvUSn6RQAOCtd39WVi3gJQKS4f0R9bxAATAaAewUFADDlqQD+W9y1hkVRRmGyy+6ygrYleMVCM4sQoRvQKiFSBlG56CZiYYigEIgFlcJWhIJ0YUuUCLMbT1mhS4ClaRJPEQRElhbhpRD1qSyhInvq6f6e832zMzta/arebm4zOzvnnW9n3j3fOe9H8f/gev6HH57vpPZyMAbK0pESpAfz/YKA5YuWvb9skdnMBGCq6PO2lpbMz6l19pWhUZdg8h1ljvLHSOCiZUxASxyw/eM9F7Cbn1LHNGWugYHyv3pJgIcDhSRAla5B/zQCZNvdnj2y7U73/lAiYFVJ3/33980jJXkqAsDA84e+aaorq5MEYCaLlBjiVwgw73z//eadZgAEIAV3O6YB9qN4CASQ1t/KMkP82BEE4Mu/5+ieoyDA6pnVzd3G6Ni3r0P8aVqwNA94nJDcetfnWyRuB7Z80rqDvv8MPA+36y1M9W13escIEACVNW9eX9+8vyIghr0Fnq/r/IEdFnq/xP1fwbHjprFqZyYCvHDaYzRXGBkHJAoCArby5qtJa4KAGctAwIzqTR9/vP3j7Xu20whQ69gwAs7UgbPIfGyRRUYxs1LMCzy6tnWTGj8R8CkDnUfyDyc5WOiyxCtmQmTOGxcXd20cm7mdTIALI4DwvHBYGOopjceO9czaggDcA0TBA+4BIGCSsp1mr8YIAgKrqqs/BrbvOWr1lMa5egJ0WWQQAIhqXgAEqE9BQu+3OuilvL7W+FZKOAmHvYuBkwl4rV81WCB4CmNtgncag+XfKyr0bWyiq7kK2MDQdb2dPALUtzPWywznWolWoFcD/fv1Ul6pE1DKjVmkiloGPgMvPTh/qpGOWjsGoPeZUlF9+ypv//pVTspyLe5S3n/paR5YynvfweDt+qzzEAn5CWhkdySGR2NKMD4+1oH/c5WAsv9lO9qSqJZ5k5LbNgukKuerrxUmKrSXzyTQ2moSuJEgiiouIKBfAPBTpWO0IzJS9rAsWNAWPLR0ZQw9VyIisH1UQcnXnJVdSYjg/U/Twcdvl5/fewzejv0ZSlZ2SDmhsLs7t5w+I2yIozwjwwGxjFcZkflh+iz1L7VBtW+jzc3pzM8CwoyGUM7hBcjz5YIKqTSBaWrWWbTxcVZ6IHhgYNMAZ6Vv7ADEk4J9jgUBE1TpiConQzls5WJji2IHStN+8vErCEzzpSqlEVtnVG0dylnZEioQmMf7y7jnzXMTEDjBF/aHAG/n/YHD54us8xDE7WjurLVXuPDDlAjIiUzPyTcY8ImRKSBAZH0PHJAFF4+/jfDwd2wl5c5jw8xB9cSAzVeeL0tleZ8gpYik6yRlQp0KMSkrXb3uq2EXvpv8LmWluWNFEIAqBDcBqnSMTiQCEH7R/D2lu1ItkJZdBWm+aWkj0qq2YjtnZbkKawbvf4TQ39/d3d/Pf/TZFVjg+xID22l/jv6aiyYOP4DECBNQX9HgKMx3VRAB0Q5k9nNiiYCUICaA4p84ejTCp/25zQ21zCCgvHxmJUZAoYEJkOcLLzQMDE5fsRcaLDQ+BA5to8IwImCA4qcn7cePX6cSAG8zI0nj8WJ6fJQqHeMdiZH5dPk3IXyjOf/rkC5fhF9QUFp69jkoNOSsLBdIzOD9ScGcf+gio/GiQ+dfjxcYMV2SAN6O/YGJzcaJQuoSARXfFDkiwztiYjPzw8opNZcSaTBGRpYnwhwT+59/WEijfux/heI4URk+8+aamZWzzTKNPUyebxKZwRURwskLbSqatCj+nTsPCQJ8/Dyn35kAY27nV7VaAiZdDAjT03gUfdLl79rVbcxw5M+mvjykMEePSyutikPpKkvXEtkxzwQA2wzANv6jT0RBYJcggLfT/ofroKK2NSOi4ZOHOEBAaE650VEUkwkC+LGNf5SkJRFwzWiaGm08QbW+xxxZe/dWOvdmhs901EzP1BAgpO9UR74U4sBZbSYm4KNtOz8iIAlLSlGVSgoB/vUDQWb+bSAIGMnnTlL0ivgcXP62Tbu6zZE54bDW+toPI6CrNC6utPQcGgEsXRE/CGDlxe1Tt8Ay8NAtz9KffWBmtpXCv/NO1RFip9G80+hfh+MTAfmFFbGO0AUdMZnhsbPLUzLSMQjQ05kY5J8YGUv7L2scfaB/XOMLtH+8MysWU9tAT0tfX7gkwGgdIaWvvlZZEPAhj4DPQIDOoYIJ2GdsQFkiDDLcBJyvFjzE5+Dmtys7qDwW1ZIgAFJza0HaCIRf+v3XisMD1+IKAoRIsaRmp2/nP/pEzPAkgM3TcAecOFwc35Gf73C5CuubY9rDQQCMkVPgCms04kVkfvhs3v/9/nHj+hE/E1CE+LmYt69vtyQAOWSY1UkCZPyybQ7KkupCP9yG+ImAG2vUyXYyiLyCCfBvaPDXEGA8Xy14iM9v67Tj4u++dPduJiCgYF7p2WdXVZ177tenfT9CODzw58Wx9OQMlq/9ppvsvufSn/EVmAECKEGnOkIMP7TN/9A1fHwiIL+jor4+ph7FuUxAeUo+EwBvcBDA+7//Pp8PEyDiZ4AAPl8iQErfE4cPc8GSBNr4hDK/Wrb9ieOp8YGAffvEF078NmDpeI1a4DC1vjYxJ5YQDuArMCuwC4MItjaY7Kq6lmtz5VOApScr2DE3QcvjP4APPZ9fYpyyljdetMkWFnJ2lghIsVgc+UYjnoL+QeGz9ftP5cd/bCxYIJhk1tn6F7XC+qzzeP32K94ABAEXAyCApOONkwGRtT1rSLxaPQzAP4qwdKk34wvOEn/xKnDUmzBGB9477w4gj7frfX01hg8MvMbfYRZLmHAX4/35DfyOydjbo5pZJn1zvSXUUmEBVb4L6D+f/yMKQKYRvPKSBgeTUKp7gdT0c3XSNSlaZqzjo4upse0DAVFcDHytgmt3rwDqLNQXbekwAaLAwky1x3w8ofRVua/P4iImwwcGNQ198OBBLy2mMlQSnQGLF/vOnD5scyCjTPEpVnZhFjRtdkrbHX8U4JVUUVFfUeF4z2wjWHN9NtZ5SNFop8PBZXzF6dmjID0/ePjh4vLyYsXn4davd0mI/uKh8CWm2Wwz5uN2ki8xS1tRsMDHQy2ytnfzTn3tMLLQhocNAcETpOPEwaHeBz0IQLM5Q5ixzX4iIzVjZUZ2yr0ls8gQvEw6RNCdZm8+vmLjbXZjsGfbnTGdunBEgYa31/6KehdKS9dMkVlfH79JfdousCSnK7ANPviRlgBIz4TmDx7+xlUyq6T+vpkzUeM0EwSkKSil2l2y2AQBNTWoxiSLTZa2ggA+HipRAf65DxABOBN3HpMImGS42cClc+w4sXmoNfVlDwI4cDm7Ezt7UmpMQkRIRMLqEkYZHCJYOmeGH99xfDcISDWkTvHwPU7npplhskADBDhcaE5fY7EycimrmqvxCU5yBoIAZ0YqbEKH5W678VgFcsz7R4/u3MsIy7ZZFaQCtZMFAYsWGY3bXmACRgoCjGaWtg8h06Ma3N3+4Dlau/xRAd6CAJmCIQJsqanW0zUE5GjihxvdsOyYkEC/iLensB98SZl0iNiLG+bx3cczZ4832g1TZPxyBKRsYTM04XiBr0CM0+VyrrmYSwKmjB+6o2CS77qFC5WSl2hnW1tloiUE99yQoIuoDW3WrP19eAYMGwY16uuN2IDsXbtkSQwREGrYtuydDiLgHZNa22tmKawYQsRUiIIFs2cWOMgA3Ky+tuy2W63eY4d4jgCKX5qxPZFhD5oVaX9xeiPiBwGKQ0T4pszdxzcdnz0+WG2rpPoD5fMofiYgz4HLDygjYKhrfqDvsGTFwQEEVGbh8o84e5h950RuQ5vVtx8MjEP8RIA4YEJX6S7hQEG+xKGGmnfeWW5sJgLU2l4LZX0VApo3SkcIszZ+aeCw+D5gJq8Qcesv3t6bdyN9oBCwocKloKmpyTW4KmHx4mGLnVOyED9QdmxvZlvbk20gYNPu3cfDmQAZPxOwfosYfTTbRZ4kXhdQ/z6AEUfCYLz3QGDwsGS+/A8IAootCfh2+gUdIqlMI2B0H+KfQfFTZ6c6AjgLS77Eoc3L33lnUUcz+RKrtb0Wer86AmKE9jfrsrj06j5NQcMvYzdu5OsvQStKuGd3z8g0Bc7CzY/RyASobYAQckPCTdK3mJukqP6A70G4Aymf52W1EZRvsTWXtHM20hUSndEZVrQt4vKPFFJ58jdNfXPm9I07wZnJfaZt8maxU6D5PCKgbhkufkcz+RKTtJUE8PvlPeD55/kxcPfa0++RM/EA2d9ByRnuY8cV4RU2NSo1dcpULQHlhoxYEf4ZggAZ/jyE31g1NV+N/9iQ3aZp5Fs8nCDOn9sBRDl0SBSyxl5jgy/RZnWnQfunwdWcgPRG3NEgKviZkNs8XErJyW8coJo4jh+pWZNH29pVw88jX2I00eBGENRMvsQsRQUB/H4qxmasB2BuFp0jg+dmrefCxk4iAjhLTO5x08JgTD9pWpibAHiRWSIRvyDgSRDA8SN8ip8IcMdfXX0MBJBvscZHGN5iiJ8IyL5wTDYISLUB6n28FtpftrkxC0d98JCy+9e5peR57FEk8SkI0ElN8iVGaVxNjdFcCF9isV0QwNvXqklvgAjIkUOAAQImGW82KlVaIOACOKmOBwMqATnKUwA8yBEgKWACshQdn3kcbYDsW6w5v7UYeQSaqU6lEUBunLUCbxOGfr90A5qtjiqAYuqsu0yVkqjj9YBeatLmGmRlC4NCF7m3hwbR/zmPtq8FtPZm0bpaXsg/88sWNcuJ/81QGFCW01DA8k+iCsD+HrtwOhonqIh9pZgCYpghfIXF1RcNegLu1rVeb0+p2pDkmTcmWenO4QI2BXJIXRYVdUWS5h1508aqWXZAX2sszNDUz1uvgvXzKZf40MwX6R0puCXvVeC009T0uSZGL5aimlrgsbq2NdPARqFSAgp4++juYqdmsawwesRrpbPNs1Y4NcpiycbuLqcLv7OzKqfe8d6XG0UWF4Djg77WGFIaULPU6kQJpm0efXTtqZf4GFD8vkx6RwquRdYsEeI9aRSyppw2JYwHATiQphZ4rK5tDVnV6kt8gbQZcVuxHQEmInBgMyAIuIZqd6Ujg00bPhPgb8/KaiqrbGrLbNkNApAvp/dI5OprjSGllx9oKiiQWV8QgMB/+OabH14ngIBTLfGB0IXXGQjQOVLk0WSvcJTg/b1HjRmT3NWVfDWDCcDxNLXAcqkrV0y3UGKUVv4KS06k4a5IvsFGg82W4pTxny4IQPzI+E1sngil5yZABvhCtr2msrKsrL2sJbNpSWwYCHjpvQx1u77WGAQ0lXVtLaiSWV8i4BCmYcYJBtby8ckugn1ozf5iBHD8TIDekSKPJns1S4SMRU3pxStXagkAnZpaYNGuHjElLcIqCVhY2DCnetjWrajuRUbI2L1ypc3s3Mzxn75ZElDnP3L4yJ3NUHoKAcoVDsKZVFa2tcMvP65lScvUOx5JwdpRe1ezozwmS30CRslaY5WArtTcLrmEBxMw7hmgkVYgen2tCDg1JCRVU5w9wPEzAXpHCnah1SwRMgQP3ITkZDseusBz8V6cNVVrgQUBFYGrdwRWSHO0woVz6ue8m3z2OaVLUZxs6541q9uwsuH4McJxk5l+506sI9P+kcNJKofILyjPWI7CXB0IaI/tmUEE7G8JuyPSkIFs0XEpTVuJAG2tsSAgI7iKs54gAN/9ZwjjBAHpQnnWObOF9BZKEvFLAvSOFAoBSOLheIIAFDFnX6olQK4mp86vm8v37i2HYwET0DBnznx8P7efc24ptmMEVNhsIe4sKxFw/sSLzIdkgYM+CxtKBLS0NM3vw11uMBNfgUhaNkuugLYaI0CNX0rpAy1dUWVx4v0g4NFHrxUj4DUQcKcgIDUqCgSYFQIGZPyt75r0jhRUIHF/ibpECBEA45mNl3KPPAgQq8npCDBmwARItKlRre2cBvpl0Ps4B2zrtmVPkPFJApBTbTbX1TWPBAH6goWhWI+wMhMFUC0tRwaXbAYBuP4Z6nS5rtaYf0scaKqqKsX7FQLoHnBtx2uCAGVPbvNKZwKMRhl+77smvSPFipmo9OD4BQFGIDk7N5mPgQssaoU1tcB6H18QUN9O8QNzh3LACcPUggQmgB4AdTv9rxl+1clLbnh3pq3bvHl+S8sgsGTzbBCwyuJu6zHX6muNJ9MSH+/jAPx+IgC3vh8OH0b8TADf1QFaLg1marcyAQNMQG8rCNA7UqygUieO/1U+Ht+YduzINQv4i1phtRYYBEzx8PFFbW77EqXN7N2rva/tDtEvqWH+uyU3QMDqrErG5vDNRMBe7ZoarfpaY7HEh/r+9fT4B15nEAGA6LYGmACcungMAia9IwXXInMWex4fz6wWTwgChhJyGd6EC7QqDTB5ojVNV5BAVN+od3AANJP0c8NUeTo7r3U8jqsuqaGrNZZaW33/ep37WR5B02amb03TO1LQXis2cIGEPF8mxw0vo4TSO6lRngycm8f6c3mL895Tz2D7IGRuUvQR8i6Tvr46qXoGgAINLomYCgz19qw/GeMMv2l8uPNxxQhZ3/ZmtCkwQ1pbLM+6cQvDKODuHLuccBrjlFL6KkDbR6f3Fc5YzwVaAi7X3WshTRmyE9NUbFxsSHwPwJewweXaHw2dW78SSBPS9Ko6T6l6BrLHqATOEXg6zDvbZseyvAEy6zu2MiElISTFnuh0kt1g1lSeKFXPx6Jvw4MpitYW5Rb9+bO5GytfIX3VeISPsFqwIXyJ9b7C/kgZKVnrzrIyFwhwNyPj7rTMlFecQrGvATrLmpYhY5SV5YLUTGNpSgURNVqpCgJycvCDTVr0gQCbPcAOF6ULpZMUChsnTAAdYoa/CATgt4Z6PhabgWtm+bUgQLPuDlas0J0/CEBgmtXx1HiEj7BnBsq80+slt0cwrW35yB14g7L/fU1N5SBgUd225prmZvzT8QIIWJyBq4/w9zaVHXiBCWgX8Z+tFEQs12QYckHADcgv5CN+SUDqJVi2WcQPAi5IwHjxi9pRVNQCFE2FoUIGtxKuIkxPeiUxalSq36jixYziFZ9tOwQoo+DDZyUBLpdRIQAXViN9RTx3bdnyKKUh7lrrE8J1pAUFUqh54bHEEBO6L92xXsaP3ekNdxIBzc11zXUdy5mANcZVxmJx+V9A3osIcLnjv8SeS1ng5WrbSOhS/ZIYdlsCHtDSIv/C8UUJiVEbEzc6isKZgLAVM+1m+xrCQWBNdN4jAci8+zqJEJTu3qp+PTRSuK4C+dHl/BoE0Fp2Bw4I6QsCEM2WlIwMUPDoQyCACyZm4IRYamsJoCzFS3dgvh1QZpxLvkCWt3lnc0dH3aLlNcsQcF7kquJVuPxNB16QBLTL+M+eYIew4CzwIqVSDwREqPETAUNxBTTl9xfMjSzescNZviM8fMCR4ggHAZhtUOJ/GQQsDh6VGuI7cxURsMZNgHL8IL5gD3f+8ENPA7JMd93Jnz8aNSaHxep44oLiB3IK4gcBomAibdy4UsSvJ+AOEKAvOJisLqbGAa/A+HfSt5/iv4wIcHH8IwKy3W12y/3l+TEBFL+6GpzNMwucixHEX38QMLBsERGAG4wHAaHOmc7a6Rw/E6B9vyRgeWddTc+yh4gAWcDR3y+lr/ARvj09/faHeLuQ3jNQyS1Xm5u28WfCbwI/t+oLDkiaNjMKmwUBaxo6cfk5fiKggeIfRj/OcEtpvhxZ4EWaR23hkJynn0b80qP0uTAmQOMHEO1E/JVU4VS0bFlReNjcL38W+Jjwc+/4jW/nTg/FuuF8fuvmHpSOQwC7zrBP8H03d7bcdwNPtbEZm0b6Ch9h3Ai2KFNxbqXGaX0vvXRFAB7L0REBYt21ukV0xfPqcfkXyfiR9Y12pQ3zTbCiBubQRcOx/+XXLJqjdWgAAc/h+iN+JmC2TY2fgBGgVHjtxlK54WGn8AkOsEepr1es4tEB5AEHo0Wef0ts7O0iQM5Sq6vjgQB1KpK2mw3ysy2M0JPa5k7K8roNKd4hmOZ0lnVqV6ML2+Vn99/ZXDdyotj/suWeDg1UEIG7AB4CjNlmXe1wvJPL3ABRkPFPPsG3riIo3xEQIGcZRZhEgPoUoP312y93t/HJ1eZOMifTFRwAJi2ODr7g8frdd9+/6jLs7y5AMHmC5B+yzO4SB5Jz0gwil0ACkHPCEv/kE6zvslOFsgCXVyAHitU5dFJabscO2iy211kmT4zXFUioApyxoiF4UrCKKVfrs7TwRvFwJt7Rdvqxj4cc26Skvrm0gl0hNrAWlu+9SpGm+uONB7T11nkEFvj4B2jV7T958uPT5k4+7zvluumPZxZQzdSefEVncRHlKRXvhLXMI8WPKHeeFfWpU66+2I2bxuuztDeopjkPA2+dIWt9xSIwsWFsniYW1SA5PFYWSLg/T18wofcN5l+D5JPlqidtkGTq3OXx+ZM7MLkB++7QDp7BMZ3sU5zqB6td5TUIeH29RyelT9QkjfEuCPDw+gIBWEYZi2lLPL5dn6X9vkK7uvqun0St78bg2KL89vZYIgB5e9EoCCFABCRkB4waFSgelWVy9ThVCut9gykfkJ7TiQVPmnqK1tyfZJrfE9ilfj4I2LFxdce+jn3+b/ASG3x+2Zj/svtJn+JRtByesj8IwK+kyFSLgoU+fl1pJcDoRrqTNvanpKutuUBxvXVXdwgYUAjQL2xMxcvrqhcutNqruc3tmFzSIraoKbCqpWg2ETBTNEqyEPLB9Ugd5et2f6tkSyMH4AQc0eK5H1NREWHj43OOL316J9DUfpAIWNJXUqDWOk/uwFjZV7gv1PLGp5IAX7vdzzfAHjJB+BRnj4Kxsbrw8hkPbXvo0ewQBe9CKnaljR5dMoj4B68dfcTgqbUt9fVL2g3Z5yhfKzYsMDaT+dghiyQgrQWPgVBrbkvuu9W9+bLWt6ioottNADu9BUIOEwF2q93X94QEapI4feLOOhs5/u6KCmuMQkBDw/T0+9e0d7b3HLw/2tQQtHB/ybw0WTsMAlZvWr3vDf+gjn1MAElfu1+C1c8vdQJtlxdMXXj5jIefKXxw/c8+Er1QSl1bYex73eC4/bcNjpMEpNTUpIiChvr65x21BssxBXRArK6N+M+/iKRv647OzoUNDXMKl7TX7tmDEeBYwKvLhYe3NLWAAG7MdHG36BgmIISywr7utrloJ8evpt0pfuSpkaN2kfSFUnQ1dC5Ys6aop70FvxVMFqyEg4qVNFkLfB4TsG/fGxQ/pu9J+dl9rX7D7NZRtF1XOwwCHq149MEv8UoABPAIaBwcd+2rg9cyAXyNm2XBQkPnlztiUqBZBIbwCGCLjzp/MxPgKK+GCij0r9/elrO9N56qLlnptBw4MBg+m5e8cFH8IECt5j7BGH7iininev1PT9osa4PxiypGSGsQ0NlQ1g4CsEY6pDKPgMZ5aUoW+rw3Vg+sw7y1nL4XBASEWBP8Un1puz5r7XXWaw8+mNJtVbDQZ8LWNEUJv/pqY3+k+v0X94DumApHtLpiob5NjdvcPr7utsJaavOSBIQTAZktLWeFzz6dZmpcFH8ZF0EtjaCeYVmQgIWTk4o1M4+VWVPNuuODgPbOpibcAfct20cEzJ+zv0TMoigEVK/m+CUByDonJEwYAWfJS2i7LmsNAh5c/60GV/gEY4EkjVsc33SgvbDEHdTXqlvxFFgQPUSF3pzse9z+GVWEgp9AgIj/0ieBcNPp90xfsMDF/cJXEgEbIsoA8l0mxA3qzdN4Ieh3VOmNLG9WT1N7T0/PvmUvEwFL+maUqtIZBLy9eqMIXxKAeO2pVmvCKN6ul9pev6z/9lktAd471BwtcF6e6vIEHkBAyu54TfzxenMyOFMzygWGTOXHP0HU+t56j3ITdF0IoJbX8/N88MiWE0sEb/1C0LfiPJwNrsCypvY3yHHC1FMwSiOVQQAeg7J8AzD9g7TGCPiOcYWCabqCB9XxVqAt3mPR1l9MOkD+aZ2Jz9CW+tL205OAQV43mBPQemmql776haClFI6Pjxbo1e1vMs31qDn4J2ntpZeKVgzkB6y+7tetEr2M7b0vM2B6JrerWdbLTxzBB+qzynqCshT4BfAMvX7JjPjElKypUxMdiZI3xV3CIrPEdDlOkyDmXj1yhMsfFOxou/XYx0mQ3sBUQH98fbxeeql4jq1h/vwGm1153bpDwaZO16ae3pdp4QG4aSvb3W1uFzWW9KHAAQUNgFrQYFINHAmmLMMW+sv4ovimN5htFVjj62HCzcDp8UYkiOm2K+6Cs3k1OpRVKlnhvPe43oHTvlSQ8X7UykPyNWFpkpDexe4CjgqrrbvCUIG/u7u7K1z6eEWBREKC6sBgt7UvXDjfliBf66XpyzcXw4UX5dlyu2JudrgR1lq37R+k6WwOXRY0cIpN9SF+NWuLdCDBrDD8xqZYUHpbwfe8dEJkfEa6IyMyIzIofDM1SIAAIRttstY3773pq5TjkTna+4unf6M5/lLZZrfaXcBRERGD6CNKbLaIwLLGTindu7oUKcxS0Wq1qw4MCWBgznxriHgNy1as2vQmgMLNuI4hgoDp0y9Us8Bk7tXYuB/3wMHGfhCgncpae5pYKFlK3XlHs7YYHzM+Zn5sPY3LWeZCEFCyEi1jW7bwyh5vtX6ptAF+DFSblMXYbObuzs5uKwhYtQrF2qNJqpOP8WlEsOpzvEFI7417Kzcvwn0QBEBDlJQsdux9zzXuSFl3EMULFMxQpDCEiJ/Nb1jACOswxYEhwTZ/DjHAr/F+Q4qM/+mON0EA1ieFR+aFQkoyAbj8TXPQlHek8dAHTMBTMn5MZgqhk91gtIv9s7Y8Rlj/li8oP8dvndkaE2M1SpdReIzqsr6FICCCYMzo6Ww6UiEIOHzg8OETh6+l2uM8nqVIxwDiLHJSFknv4tq9mzfvq2letjnMaQx1BZY4sVNZo6sisZDPZ96M0aPj4s5mKQxlZLdhPCOppUhFMICCgCXWEHptaG7GIBDxPx3XEX36zewRugBnL9vi6PL34RnY19j45utrP3n4ecKbEpdCGAHGhiVGaoDfjnsALr/lQf8P+L6UXm+hiSCcvkShrna4cKkwWcFPIXNPj9koCDgwsbFxeP+1JJ3xGvEXrzlYnIEs2ZqkY85KVHdnEQF1ze+AgIxIgyHCFpy7uqy5OAMEsI0vjZcROH8mAPEGQCj5ZZ/rlooh1iW33bbEGoXXMRUx3Rkcf08cLWV98kLJB+jyX4fLX0fT16d5ZpVp/UASxsaL68XqcTwCHnzrg5eZQb/qG1J4+Ct4K10bv4YAY4WrtrY+NHSFGAEnTvQfuZZylnjN8R8EA5QjjHZL6X3LQMDs4sgUw7JAIqAx0uEPAvj8S5EWl1KYpKEd9Xw0Ia9KRTDwwAMLU6PO9jZ0d3P4lOmJewME6KTkVa6SPmigvsbDb74mCFDjJwIGXU3AEQX70Umi+qQGpba/fLNqsksE97KUdsO0IUa47GCuqbbWbAmlgFHwcWI4jk6lt71uvwdRshOfpfyU6Ozra9rMXWaNByqaWppccUGQ0uL8x20dgaSxJIDiDaH4tVIxxLrwgQfmpIZ466WpXkp+4VooLj8qWCQBavyvjtvwjOfrL/yy/ahVW3yDfAKqM/j+z4Crr6VQ5yvMBAQCZloMGgFQVrgEXYX9OBoRoD8fECB/SvUAggBzs6UszlVcaGYCeK0KavbD/kzAqaUixsB1ty1J9e5Vbsp7qvYgw3GStCQp3NdY8vzrDBCgPvUIG3y6BLYKeAepbFrS/f27XlZshm9gRF/h6SsMAuRTgN7DBOArII7feKqCjHihH+QwYAL487qRpmMC9FL4r6Virgmo7WVAYP7Ue0ppif+1/4sTH7izrm5jsA0C+v2nELhEpJrhr1teTilEUCCOcvRortxpxYqkJOXopyrI0LflWdxrTwicJIUf2GCaq5WGSTC4nzZtndvyIgzgo2G7B2SNw1VXjQw9R/N+/epzQZM1OWZgnhszGJfq8MckTbGtbdIfXv82TD0xAzs00jDJiaxncIIsY1s3Nyy/PMgRCTsouR0ODVF+qpPt2P66ukOWBPX9l9cp6CkoaEk7z2io+YaADlfCVaNHqEBKqErGHa4QkD3l92xeZZWqAX+fku31b8M0vy8QpbCKFGYCVq97e906tvYhAiLb2spRmy+2gwBEfoni4njJ2MGYi5ZftDNhgnw/CLhIunuPXJ6WVjMZN9FOrRSeN8LdIgkwAUVFOQtynAvuKSrCC4Ph1z9+tRm6ugw2/MFg8Pq3QVnVsq+q3VlSImAdCEhel2tMTU5uRYNCZnkbehPk9pBsuwLy6LzQ1BlxzfKROy3yfweDAMR/jSwrWT7ZuDLBMCBvgj/9tHU8CKDoq6q8CRczAU6MAAyBBQvwgi/879lRUfRvw39BgCuwqa9MWeh4jkkSkJycm1yLv0BAZmI59WZI6asvUKC8PFWLi6zGyCtAgDR3H3PObQ+keUfFzAqJql5XnZzMbnCt80Yg/LRzq6puSsPEEAgQGOjJFH8wEH4dExx8MS7/f0JA55KyOftlv8WGsj3JYi2L5GRj7eNvm0FAW2Ybxf+LlL46qUq+vX2B15xPFilw9Zl43uV1irm9IMAeMmuW3Sj5hRIUBFS99VZV2lg3AZkopJQMSJ/jm25KMPxHBPS0NO0vk+eHE5wWLK29UpPffhwjQC999W1uuIeU1cD1REwlnT8ZBMjhf+W5D4AAc8isAnM1H5L79ogA79KqHxdV/aQSgPjBQLgkgG8D+Ps/ImAJrv+c990LKU9bLU82udZci2puvfRtL9Sux19/namzERUFO/3FdGBklljiYqRKAHyWv8Is4k8//cQNGCDAG6iqajmGphVJQHgPCBhQRkAqf/v/s3vAEjV+QQDHT0DG7vFWvdTEkFduGDxiBiOoXWLxGqVgQV3i4qZzHzCVggBzzziNFJ43huMvrfqpCk07IICR2TMwHwNAfQoA/9VToM+15HzNQspz8fgHkiUNraeQvu48MGDqp6fgYnfFQrS6xMWFY667rdTbaK45wBBGF5fNGKN1uU0GAYz5bh1wCS484T/TAUdNk7ULKSuFvK0SJ0lfHS677MzyFZrV1NQlLi6Aj9dYb3+T55IXM9CxogAcV/3vSvC/Bj1utPD6n/EnnaQbrf6BCX0AAAAASUVORK5CYII=)}.react-tel-input .ad{background-position:-16px 0}.react-tel-input .ae{background-position:-32px 0}.react-tel-input .af{background-position:-48px 0}.react-tel-input .ag{background-position:-64px 0}.react-tel-input .ai{background-position:-80px 0}.react-tel-input .al{background-position:-96px 0}.react-tel-input .am{background-position:-112px 0}.react-tel-input .ao{background-position:-128px 0}.react-tel-input .ar{background-position:-144px 0}.react-tel-input .as{background-position:-160px 0}.react-tel-input .at{background-position:-176px 0}.react-tel-input .au{background-position:-192px 0}.react-tel-input .aw{background-position:-208px 0}.react-tel-input .az{background-position:-224px 0}.react-tel-input .ba{background-position:-240px 0}.react-tel-input .bb{background-position:0 -11px}.react-tel-input .bd{background-position:-16px -11px}.react-tel-input .be{background-position:-32px -11px}.react-tel-input .bf{background-position:-48px -11px}.react-tel-input .bg{background-position:-64px -11px}.react-tel-input .bh{background-position:-80px -11px}.react-tel-input .bi{background-position:-96px -11px}.react-tel-input .bj{background-position:-112px -11px}.react-tel-input .bm{background-position:-128px -11px}.react-tel-input .bn{background-position:-144px -11px}.react-tel-input .bo{background-position:-160px -11px}.react-tel-input .br{background-position:-176px -11px}.react-tel-input .bs{background-position:-192px -11px}.react-tel-input .bt{background-position:-208px -11px}.react-tel-input .bw{background-position:-224px -11px}.react-tel-input .by{background-position:-240px -11px}.react-tel-input .bz{background-position:0 -22px}.react-tel-input .ca{background-position:-16px -22px}.react-tel-input .cd{background-position:-32px -22px}.react-tel-input .cf{background-position:-48px -22px}.react-tel-input .cg{background-position:-64px -22px}.react-tel-input .ch{background-position:-80px -22px}.react-tel-input .ci{background-position:-96px -22px}.react-tel-input .ck{background-position:-112px -22px}.react-tel-input .cl{background-position:-128px -22px}.react-tel-input .cm{background-position:-144px -22px}.react-tel-input .cn{background-position:-160px -22px}.react-tel-input .co{background-position:-176px -22px}.react-tel-input .cr{background-position:-192px -22px}.react-tel-input .cu{background-position:-208px -22px}.react-tel-input .cv{background-position:-224px -22px}.react-tel-input .cw{background-position:-240px -22px}.react-tel-input .cy{background-position:0 -33px}.react-tel-input .cz{background-position:-16px -33px}.react-tel-input .de{background-position:-32px -33px}.react-tel-input .dj{background-position:-48px -33px}.react-tel-input .dk{background-position:-64px -33px}.react-tel-input .dm{background-position:-80px -33px}.react-tel-input .do{background-position:-96px -33px}.react-tel-input .dz{background-position:-112px -33px}.react-tel-input .ec{background-position:-128px -33px}.react-tel-input .ee{background-position:-144px -33px}.react-tel-input .eg{background-position:-160px -33px}.react-tel-input .er{background-position:-176px -33px}.react-tel-input .es{background-position:-192px -33px}.react-tel-input .et{background-position:-208px -33px}.react-tel-input .fi{background-position:-224px -33px}.react-tel-input .fj{background-position:-240px -33px}.react-tel-input .fk{background-position:0 -44px}.react-tel-input .fm{background-position:-16px -44px}.react-tel-input .fo{background-position:-32px -44px}.react-tel-input .fr,.react-tel-input .bl,.react-tel-input .mf{background-position:-48px -44px}.react-tel-input .ga{background-position:-64px -44px}.react-tel-input .gb{background-position:-80px -44px}.react-tel-input .gd{background-position:-96px -44px}.react-tel-input .ge{background-position:-112px -44px}.react-tel-input .gf{background-position:-128px -44px}.react-tel-input .gh{background-position:-144px -44px}.react-tel-input .gi{background-position:-160px -44px}.react-tel-input .gl{background-position:-176px -44px}.react-tel-input .gm{background-position:-192px -44px}.react-tel-input .gn{background-position:-208px -44px}.react-tel-input .gp{background-position:-224px -44px}.react-tel-input .gq{background-position:-240px -44px}.react-tel-input .gr{background-position:0 -55px}.react-tel-input .gt{background-position:-16px -55px}.react-tel-input .gu{background-position:-32px -55px}.react-tel-input .gw{background-position:-48px -55px}.react-tel-input .gy{background-position:-64px -55px}.react-tel-input .hk{background-position:-80px -55px}.react-tel-input .hn{background-position:-96px -55px}.react-tel-input .hr{background-position:-112px -55px}.react-tel-input .ht{background-position:-128px -55px}.react-tel-input .hu{background-position:-144px -55px}.react-tel-input .id{background-position:-160px -55px}.react-tel-input .ie{background-position:-176px -55px}.react-tel-input .il{background-position:-192px -55px}.react-tel-input .in{background-position:-208px -55px}.react-tel-input .io{background-position:-224px -55px}.react-tel-input .iq{background-position:-240px -55px}.react-tel-input .ir{background-position:0 -66px}.react-tel-input .is{background-position:-16px -66px}.react-tel-input .it{background-position:-32px -66px}.react-tel-input .je{background-position:-144px -154px}.react-tel-input .jm{background-position:-48px -66px}.react-tel-input .jo{background-position:-64px -66px}.react-tel-input .jp{background-position:-80px -66px}.react-tel-input .ke{background-position:-96px -66px}.react-tel-input .kg{background-position:-112px -66px}.react-tel-input .kh{background-position:-128px -66px}.react-tel-input .ki{background-position:-144px -66px}.react-tel-input .xk{background-position:-128px -154px}.react-tel-input .km{background-position:-160px -66px}.react-tel-input .kn{background-position:-176px -66px}.react-tel-input .kp{background-position:-192px -66px}.react-tel-input .kr{background-position:-208px -66px}.react-tel-input .kw{background-position:-224px -66px}.react-tel-input .ky{background-position:-240px -66px}.react-tel-input .kz{background-position:0 -77px}.react-tel-input .la{background-position:-16px -77px}.react-tel-input .lb{background-position:-32px -77px}.react-tel-input .lc{background-position:-48px -77px}.react-tel-input .li{background-position:-64px -77px}.react-tel-input .lk{background-position:-80px -77px}.react-tel-input .lr{background-position:-96px -77px}.react-tel-input .ls{background-position:-112px -77px}.react-tel-input .lt{background-position:-128px -77px}.react-tel-input .lu{background-position:-144px -77px}.react-tel-input .lv{background-position:-160px -77px}.react-tel-input .ly{background-position:-176px -77px}.react-tel-input .ma{background-position:-192px -77px}.react-tel-input .mc{background-position:-208px -77px}.react-tel-input .md{background-position:-224px -77px}.react-tel-input .me{background-position:-112px -154px;height:12px}.react-tel-input .mg{background-position:0 -88px}.react-tel-input .mh{background-position:-16px -88px}.react-tel-input .mk{background-position:-32px -88px}.react-tel-input .ml{background-position:-48px -88px}.react-tel-input .mm{background-position:-64px -88px}.react-tel-input .mn{background-position:-80px -88px}.react-tel-input .mo{background-position:-96px -88px}.react-tel-input .mp{background-position:-112px -88px}.react-tel-input .mq{background-position:-128px -88px}.react-tel-input .mr{background-position:-144px -88px}.react-tel-input .ms{background-position:-160px -88px}.react-tel-input .mt{background-position:-176px -88px}.react-tel-input .mu{background-position:-192px -88px}.react-tel-input .mv{background-position:-208px -88px}.react-tel-input .mw{background-position:-224px -88px}.react-tel-input .mx{background-position:-240px -88px}.react-tel-input .my{background-position:0 -99px}.react-tel-input .mz{background-position:-16px -99px}.react-tel-input .na{background-position:-32px -99px}.react-tel-input .nc{background-position:-48px -99px}.react-tel-input .ne{background-position:-64px -99px}.react-tel-input .nf{background-position:-80px -99px}.react-tel-input .ng{background-position:-96px -99px}.react-tel-input .ni{background-position:-112px -99px}.react-tel-input .nl,.react-tel-input .bq{background-position:-128px -99px}.react-tel-input .no{background-position:-144px -99px}.react-tel-input .np{background-position:-160px -99px}.react-tel-input .nr{background-position:-176px -99px}.react-tel-input .nu{background-position:-192px -99px}.react-tel-input .nz{background-position:-208px -99px}.react-tel-input .om{background-position:-224px -99px}.react-tel-input .pa{background-position:-240px -99px}.react-tel-input .pe{background-position:0 -110px}.react-tel-input .pf{background-position:-16px -110px}.react-tel-input .pg{background-position:-32px -110px}.react-tel-input .ph{background-position:-48px -110px}.react-tel-input .pk{background-position:-64px -110px}.react-tel-input .pl{background-position:-80px -110px}.react-tel-input .pm{background-position:-96px -110px}.react-tel-input .pr{background-position:-112px -110px}.react-tel-input .ps{background-position:-128px -110px}.react-tel-input .pt{background-position:-144px -110px}.react-tel-input .pw{background-position:-160px -110px}.react-tel-input .py{background-position:-176px -110px}.react-tel-input .qa{background-position:-192px -110px}.react-tel-input .re{background-position:-208px -110px}.react-tel-input .ro{background-position:-224px -110px}.react-tel-input .rs{background-position:-240px -110px}.react-tel-input .ru{background-position:0 -121px}.react-tel-input .rw{background-position:-16px -121px}.react-tel-input .sa{background-position:-32px -121px}.react-tel-input .sb{background-position:-48px -121px}.react-tel-input .sc{background-position:-64px -121px}.react-tel-input .sd{background-position:-80px -121px}.react-tel-input .se{background-position:-96px -121px}.react-tel-input .sg{background-position:-112px -121px}.react-tel-input .sh{background-position:-128px -121px}.react-tel-input .si{background-position:-144px -121px}.react-tel-input .sk{background-position:-160px -121px}.react-tel-input .sl{background-position:-176px -121px}.react-tel-input .sm{background-position:-192px -121px}.react-tel-input .sn{background-position:-208px -121px}.react-tel-input .so{background-position:-224px -121px}.react-tel-input .sr{background-position:-240px -121px}.react-tel-input .ss{background-position:0 -132px}.react-tel-input .st{background-position:-16px -132px}.react-tel-input .sv{background-position:-32px -132px}.react-tel-input .sx{background-position:-48px -132px}.react-tel-input .sy{background-position:-64px -132px}.react-tel-input .sz{background-position:-80px -132px}.react-tel-input .tc{background-position:-96px -132px}.react-tel-input .td{background-position:-112px -132px}.react-tel-input .tg{background-position:-128px -132px}.react-tel-input .th{background-position:-144px -132px}.react-tel-input .tj{background-position:-160px -132px}.react-tel-input .tk{background-position:-176px -132px}.react-tel-input .tl{background-position:-192px -132px}.react-tel-input .tm{background-position:-208px -132px}.react-tel-input .tn{background-position:-224px -132px}.react-tel-input .to{background-position:-240px -132px}.react-tel-input .tr{background-position:0 -143px}.react-tel-input .tt{background-position:-16px -143px}.react-tel-input .tv{background-position:-32px -143px}.react-tel-input .tw{background-position:-48px -143px}.react-tel-input .tz{background-position:-64px -143px}.react-tel-input .ua{background-position:-80px -143px}.react-tel-input .ug{background-position:-96px -143px}.react-tel-input .us{background-position:-112px -143px}.react-tel-input .uy{background-position:-128px -143px}.react-tel-input .uz{background-position:-144px -143px}.react-tel-input .va{background-position:-160px -143px}.react-tel-input .vc{background-position:-176px -143px}.react-tel-input .ve{background-position:-192px -143px}.react-tel-input .vg{background-position:-208px -143px}.react-tel-input .vi{background-position:-224px -143px}.react-tel-input .vn{background-position:-240px -143px}.react-tel-input .vu{background-position:0 -154px}.react-tel-input .wf{background-position:-16px -154px}.react-tel-input .ws{background-position:-32px -154px}.react-tel-input .ye{background-position:-48px -154px}.react-tel-input .za{background-position:-64px -154px}.react-tel-input .zm{background-position:-80px -154px}.react-tel-input .zw{background-position:-96px -154px}.react-tel-input *{box-sizing:border-box;-moz-box-sizing:border-box}.react-tel-input .hide{display:none}.react-tel-input .v-hide{visibility:hidden}.react-tel-input .form-control{position:relative;font-size:14px;letter-spacing:.01rem;margin-top:0!important;margin-bottom:0!important;padding-left:48px;margin-left:0;background:#fff;border:1px solid #CACACA;border-radius:5px;line-height:25px;height:35px;width:300px;outline:none}.react-tel-input .form-control.invalid-number{border:1px solid #d79f9f;background-color:#faf0f0;border-left-color:#cacaca}.react-tel-input .form-control.invalid-number:focus{border:1px solid #d79f9f;border-left-color:#cacaca;background-color:#faf0f0}.react-tel-input .flag-dropdown{position:absolute;top:0;bottom:0;padding:0;background-color:#f5f5f5;border:1px solid #cacaca;border-radius:3px 0 0 3px}.react-tel-input .flag-dropdown:hover,.react-tel-input .flag-dropdown:focus{cursor:pointer}.react-tel-input .flag-dropdown.invalid-number{border-color:#d79f9f}.react-tel-input .flag-dropdown.open{z-index:2;background:#fff;border-radius:3px 0 0}.react-tel-input .flag-dropdown.open .selected-flag{background:#fff;border-radius:3px 0 0}.react-tel-input input[disabled]+.flag-dropdown:hover{cursor:default}.react-tel-input input[disabled]+.flag-dropdown:hover .selected-flag{background-color:transparent}.react-tel-input .selected-flag{outline:none;position:relative;width:38px;height:100%;padding:0 0 0 8px;border-radius:3px 0 0 3px}.react-tel-input .selected-flag:hover,.react-tel-input .selected-flag:focus{background-color:#fff}.react-tel-input .selected-flag .flag{position:absolute;top:50%;margin-top:-5px}.react-tel-input .selected-flag .arrow{position:relative;top:50%;margin-top:-2px;left:20px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555}.react-tel-input .selected-flag .arrow.up{border-top:none;border-bottom:4px solid #555}.react-tel-input .country-list{outline:none;z-index:1;list-style:none;position:absolute;padding:0;margin:10px 0 10px -1px;box-shadow:1px 2px 10px #00000059;background-color:#fff;width:300px;max-height:200px;overflow-y:scroll;border-radius:0 0 3px 3px}.react-tel-input .country-list .flag{display:inline-block}.react-tel-input .country-list .divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #ccc}.react-tel-input .country-list .country{padding:7px 9px}.react-tel-input .country-list .country .dial-code{color:#6b6b6b}.react-tel-input .country-list .country:hover,.react-tel-input .country-list .country.highlight{background-color:#f1f1f1}.react-tel-input .country-list .flag{margin-right:7px;margin-top:2px}.react-tel-input .country-list .country-name{margin-right:6px}.react-tel-input .country-list .search{position:sticky;top:0;background-color:#fff;padding:10px 0 6px 10px}.react-tel-input .country-list .search-emoji{font-size:15px}.react-tel-input .country-list .search-box{border:1px solid #cacaca;border-radius:3px;font-size:15px;line-height:15px;margin-left:6px;padding:3px 8px 5px;outline:none}.react-tel-input .country-list .no-entries-message{padding:7px 10px 11px;opacity:.7}.react-tel-input .invalid-number-message{position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;color:#de0000}.react-tel-input .special-label{display:none;position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;white-space:nowrap}.form-login-ui{animation:fadein .15s;display:flex;flex-direction:row;margin:auto}@media only screen and (max-width:600px){.form-login-ui{flex-direction:column}}.signup-form .page-section{background-color:transparent!important}.login-form-section{max-width:500px;display:flex;flex-direction:column;margin:10px auto;border:1px solid #e9ecff;border-radius:4px;padding:30px}@media only screen and (max-width:600px){.login-form-section{padding:15px;margin:15px 0;border-radius:5px}}.auth-wrapper{margin:50px auto 0;max-width:320px}.signup-workspace-type{margin:15px 0;padding:30px;border:1px solid white}.signup-wrapper{margin:0;display:flex;overflow-y:auto;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.signup-wrapper h1{margin-top:30px}.signup-wrapper .page-section{overflow-y:auto;min-height:100vh;background:transparent;display:flex;align-items:center;justify-content:center;margin:auto}.signup-wrapper.wrapper-center-content .page-section{display:flex;justify-content:center;align-items:center}.signup-wrapper.wrapper-center-content fieldset{justify-content:center;display:flex}@media only screen and (max-width:500px){.signup-wrapper{margin:0;max-width:100%}}.go-to-the-app{font-size:20px;text-decoration:none}.signup-form{height:100vh;overflow-y:auto}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .page-section{background-color:#46414f}}.mac-theme.dark-theme .page-section{background-color:#46414f}.step-header{text-align:center;font-size:24px}.step-header span{width:40px;height:40px;font-size:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:100%;border:1px solid white;margin:5px}.otp-methods{list-style:none;padding:0}.otp-methods .otp-method{margin:5px auto;background:#fff;border-radius:5px;padding:3px 10px;cursor:pointer}.otp-methods .otp-method:hover{background-color:silver}.otp-methods img{width:30px;height:30px;margin:5px 15px}html,body{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.signin-form-container{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:20px;max-width:400px;margin:2rem auto}.signin-form-container .button-icon{width:16px;margin:0 3px}.signin-form-container .login-option-buttons button{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid silver;border-radius:10px;background-color:transparent;margin:10px 0;padding:10px}.signin-form-container .login-option-buttons button:disabled img{opacity:.3}.ptr-element{position:absolute;top:0;left:0;width:100%;color:#aaa;z-index:10;text-align:center;height:50px;transition:all}.ptr-element .genericon{opacity:.6;font-size:34px;width:auto;height:auto;transition:all .25s ease;transform:rotate(90deg);margin-top:5px}.ptr-refresh .ptr-element .genericon{transform:rotate(270deg)}.ptr-loading .ptr-element .genericon,.ptr-reset .ptr-element .genericon{display:none}.loading{display:inline-block;text-align:center;opacity:.4;margin:12px 0 0 5px;display:none}.ptr-loading .loading{display:block}.loading span{display:inline-block;vertical-align:middle;width:10px;height:10px;margin-right:3px;transform:scale(.3);border-radius:50%;animation:ptr-loading .4s infinite alternate}.loading-ptr-1{animation-delay:0!important}.loading-ptr-2{animation-delay:.2s!important}.loading-ptr-3{animation-delay:.4s!important}@keyframes ptr-loading{0%{transform:translateY(0) scale(.3);opacity:0}to{transform:scale(1);background-color:#333;opacity:1}}.ptr-loading .refresh-view,.ptr-reset .refresh-view,.ptr-loading .ptr-element,.ptr-reset .ptr-element{transition:all .25s ease}.ptr-reset .refresh-view{transform:translateZ(0)}.ptr-loading .refresh-view{transform:translate3d(0,30px,0)}body:not(.ptr-loading) .ptr-element{transform:translate3d(0,-50px,0)}.file-dropping-indicator{transition:backdrop-filter .2s;-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1);position:fixed;top:0;display:flex;align-items:center;justify-content:center;justify-items:center;left:0;right:0;bottom:0;font-size:30px;z-index:999}.file-dropping-indicator.show{-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1)}.dropin-files-hint{font-size:15px;color:orange;margin-bottom:30px}.tree-nav{margin:20px auto;left:60px;min-height:auto}.tree-nav li span label{display:flex}.tree-nav li span label input[type=checkbox]{margin:3px}.tree-nav ul.list,.tree-nav ul.list ul{margin:0;padding:0;list-style-type:none}.tree-nav ul.list ul{position:relative;margin-left:10px}.tree-nav ul.list ul:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;width:0;border-left:1px solid #ccc}.tree-nav ul.list li{position:relative;margin:0;padding:3px 12px;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:400;line-height:20px}.tree-nav ul.list li a{position:relative;text-decoration:none;text-transform:uppercase;font-size:14px;font-weight:700;line-height:20px}.tree-nav ul.list li a:hover,.tree-nav ul.list li a:hover+ul li a{color:#d5ebe3}.tree-nav ul.list ul li:before{content:"";display:block;position:absolute;top:10px;left:0;width:8px;height:0;border-top:1px solid #ccc}.tree-nav ul.list ul li:last-child:before{top:10px;bottom:0;height:1px;background:#003a61}html[dir=rtl] .tree-nav{left:auto;right:60px}html[dir=rtl] ul.list ul{margin-left:auto;margin-right:10px}html[dir=rtl] ul.list ul li:before{left:auto;right:0}html[dir=rtl] ul.list ul:before{left:auto;right:0}:root{--main-color: #111;--loader-color: blue;--back-color: lightblue;--time: 3s;--size: 2px}.loader__element{height:var(--size);width:100%;background:var(--back-color)}.loader__element:before{content:"";display:block;background-color:var(--loader-color);height:var(--size);width:0;animation:getWidth var(--time) ease-in infinite}@keyframes getWidth{to{width:100%}}@keyframes fadeOutOpacity{0%{opacity:1}to{opacity:0}}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}nav.navbar{background-color:#f1f5f9;height:55px;position:fixed;right:0;left:185px;z-index:9}@supports (-webkit-touch-callout: none){nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){nav.navbar{left:0}}html[dir=rtl] nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] nav.navbar{right:0}}.page-navigator button{border:none;background:transparent;max-width:40px}.page-navigator img{width:30px;height:30px}html[dir=rtl] .navigator-back-button img{transform:rotate(180deg)}.general-action-menu{display:flex}.general-action-menu .action-menu-item button{background:transparent;border:0}.general-action-menu.mobile-view{position:fixed;bottom:65px;right:10px;z-index:9999;padding:10px;align-items:flex-end}.general-action-menu.mobile-view .action-menu-item{background-color:#fff;width:40px;font-size:14px;height:40px;align-items:center;justify-content:center;justify-items:center;box-shadow:0 2px 6px 3px #c0c0c071;border-radius:100%;margin-left:15px}.general-action-menu.mobile-view .action-menu-item img{height:25px;width:25px}.general-action-menu.mobile-view .navbar-nav{justify-content:flex-end;flex-direction:row-reverse}@media only screen and (min-width:500px){.general-action-menu.mobile-view{display:none}}@media only screen and (max-width:499px){.general-action-menu.desktop-view{display:none}}html[dir=rtl] .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.left-handed .general-action-menu.mobile-view{right:initial;left:5px}.left-handed .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.sidebar-overlay{position:absolute;transition:.1s all cubic-bezier(.075,.82,.165,1);top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:99999}@media only screen and (min-width:501px){.sidebar-overlay{background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}}.sidebar-overlay:not(.open){background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.application-panels{height:100vh}.application-panels.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar{z-index:999;height:100vh;padding:10px;flex-direction:column;text-transform:capitalize;overflow-y:auto;transition:.1s all cubic-bezier(.075,.82,.165,1);display:flex}.sidebar span{color:#8a8fa4}.sidebar.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar .category{color:#000;margin-top:20px}.sidebar li .nav-link{padding:0}.sidebar li .nav-link:hover{background-color:#cce9ff}.sidebar li .nav-link.active span{color:#fff}.sidebar li .nav-link span{font-size:14px}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background-color:transparent}.sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.sidebar .category{font-size:12px}.sidebar .text-white,.sidebar .active{padding:8px 10px}.sidebar li{list-style-type:none;white-space:nowrap}.sidebar li img{width:20px;height:20px;margin:5px}.sidebar .sidebar-close{display:none;position:fixed;border:0;right:10px;background:transparent}.sidebar .sidebar-close img{width:20px;height:20px}@media only screen and (max-width:500px){.sidebar .sidebar-close{display:inline-block}}.sidebar .tag-circle{width:9px;height:9px;border-radius:100%;margin:3px 6px;display:inline-block}.sidebar ul ul{margin-top:5px;margin-left:8px}.sidebar ul ul li .nav-link{min-height:24px!important}.sidebar ul ul li .nav-link span{font-size:12px}html[dir=rtl] .sidebar{right:0;left:initial}@media only screen and (max-width:500px){html[dir=rtl] .sidebar{transform:translate(185px)}}html[dir=rtl] .sidebar.open{transform:translate(0)}html[dir=rtl] .sidebar ul ul{margin-right:8px;margin-left:0}html[dir=rtl] .sidebar ul ul li .nav-link span{padding-right:5px;font-size:12px}html[dir=rtl] .sidebar-overlay{left:0;right:185px}.content-area-loader{position:fixed;z-index:9999;top:55px;left:0;right:185px;bottom:0;background-color:#fff}.content-area-loader.fadeout{animation:fadeOutOpacity .5s ease-in-out;animation-fill-mode:forwards}@media only screen and (max-width:500px){.content-area-loader{right:0}}h2{font-size:19px}.page-section,.table-container{background:#fff;box-shadow:-1px 1px 15px #93d7ff24;margin-bottom:50px;padding:30px}.table-container{padding:15px}.content-section{margin-top:30px;flex:1}.content-section .content-container{padding:20px 25px;position:relative;max-width:calc(100vw - 155px);margin-top:55px;margin-top:calc(55px + constant(safe-area-inset-top));margin-top:calc(55px + env(safe-area-inset-top));max-width:calc(100vw - 245px)}.content-section .content-container .rdg-cell{width:100%}@media only screen and (max-width:500px){.content-section .content-container{padding:0 10px 60px}}html[dir=rtl] .content-section{margin-left:0}.page-title{margin:-20px -20px 20px;padding:40px 5px 20px 30px;background-color:#2b2b2b;border-left:2px solid orange;color:#fff}.page-title h1{opacity:1;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:.2s;height:50px}.unauthorized-forced-area{opacity:1;transition:opacity .5s ease-in-out;flex-direction:column;text-align:center;margin:auto;height:100vh;padding:60px 0;display:flex;justify-content:center;align-items:center;font-size:20px}.unauthorized-forced-area .btn{margin-top:30px}.unauthorized-forced-area.fade-out{opacity:0;pointer-events:none;animation:fadeOut .5s ease-out}@keyframes fadeOut{0%{transform:translateY(0)}to{transform:translateY(-20px)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}div[data-panel]{animation:fadeIn .5s ease-out}.anim-loader{width:64px;height:64px;display:inline-block;position:relative;color:#2b2b2b}.anim-loader:after,.anim-loader:before{content:"";box-sizing:border-box;width:64px;height:64px;border-radius:50%;border:2px solid #4099ff;position:absolute;left:0;top:0;animation:animloader 2s linear infinite}.anim-loader:after{animation-delay:1s}@keyframes animloader{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}.active-upload-box{position:fixed;bottom:0;right:30px;width:370px;height:180px;background-color:#fff;z-index:99999;display:flex;border:1px solid #4c90fe;flex-direction:column;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.active-upload-box .upload-header{padding:10px;background-color:#f7f9fc;display:flex;justify-content:space-between}.active-upload-box .upload-header .action-section button{display:inline;background:transparent;border:0}.active-upload-box .upload-header .action-section img{width:25px;height:25px}.active-upload-box .upload-file-item{word-break:break-all;padding:10px 15px;justify-content:space-between;display:flex;flex-direction:row}.active-upload-box .upload-file-item:hover{background-color:#ededed}.keybinding-combination{cursor:pointer}.keybinding-combination>span{text-transform:uppercase;font-size:14px;background-color:#fff;font-weight:700;padding:5px;border-radius:5px;margin:0 3px}.keybinding-combination:hover span{background-color:#161616;color:#fff}.table-activity-indicator{position:absolute;top:1px;opacity:0;animation:fadein .1s 1s;animation-fill-mode:forwards;right:0;left:0}.bottom-nav-tabbar{position:fixed;bottom:0;left:0;right:0;height:60px;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #ccc;background:#fff;z-index:1000}.bottom-nav-tabbar .nav-link{text-decoration:none;color:#777;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.bottom-nav-tabbar .nav-img{width:20px}.bottom-nav-tabbar .nav-link.active{color:#000;font-weight:700}.app-mock-version-notice{position:fixed;bottom:0;right:0;left:0;height:16px;background-color:#c25123a1;color:#fff;z-index:99999;font-size:10px;pointer-events:none}.headless-form-entity-manager{max-width:500px}body{background-color:#f1f5f9}.auto-card-list-item{text-decoration:none}.auto-card-list-item .col-7{color:#000}.auto-card-list-item .col-5{color:gray}@media only screen and (max-width:500px){.auto-card-list-item{font-size:13px;border-radius:0}}html[dir=rtl] .auto-card-list-item{direction:rtl;text-align:right}.form-phone-input{direction:ltr}.Toastify__toast-container--top-right{top:5em}.form-control-no-padding{padding:0!important}.pagination{margin:0}.pagination .page-item .page-link{font-size:14px;padding:0 8px}.navbar-brand{flex:1;align-items:center;display:flex;pointer-events:none;overflow:hidden}.navbar-brand span{font-size:16px}.navbar-nav{display:flex;flex-direction:row}.action-menu-item{align-items:center;display:flex}.action-menu-item img{width:30px;height:30px}.table-footer-actions{display:flex;margin-right:20px;margin-left:20px;margin-top:10px;overflow-x:auto}@media only screen and (max-width:500px){.table-footer-actions{flex-direction:column;align-items:center;justify-content:stretch;align-content:stretch}}.nestable-item-name{background-color:#e6dfe6;padding:5px 10px;border-radius:5px;max-width:400px;font-size:13px}.nestable{width:600px}.user-signin-section{text-decoration:none;color:#000;font-size:13px;display:flex;align-items:center}.user-signin-section img{width:30px}.auto-checked{color:#00b400;font-style:italic}@keyframes showerroranim{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}.date-picker-inline select{margin:5px 10px;min-width:60px}.basic-error-box{margin-top:15px;padding:10px 20px;border-radius:10px;background-color:#ffe5f8;animation:showerroranim .3s forwards}.auth-profile-card{margin:auto;text-align:center}.auth-profile-card h2{font-size:30px}.auth-profile-card .disclaimer{margin:30px auto}.auth-profile-card img{width:140px}html[dir=rtl] .otp-react-code-input *{border-radius:0}html[dir=rtl] .form-phone-input input{padding-left:65px}html[dir=rtl] .form-phone-input .selected-flag{margin-right:10px}html[dir=rtl] .modal-header .btn-close{margin:0}html[dir=rtl] .dropdown-menu{direction:rtl;text-align:revert}.remote-service-form{max-width:500px}.category{font-size:15px;color:#fff;margin-left:5px;margin-bottom:8px}#map-view{width:100%;height:400px}.react-tel-input{display:flex}.react-tel-input .form-control{width:auto!important;flex:1}html[dir=rtl] *{font-family:iransans}html[dir=rtl] ul{padding-right:0}html[dir=rtl] ul.pagination .page-item:first-child .page-link{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}html[dir=rtl] ul.pagination .page-item:last-child .page-link{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-top-right-radius:0;border-bottom-right-radius:0}.with-fade-in{animation:fadeInOpacity .15s}.modal-overlay{background-color:#0000006f}.modal-overlay.invisible{animation:fadeOutOpacity .4s}.in-capture-state{color:red}.action-menu li{padding:0 10px;cursor:pointer}.form-select-verbos{display:flex;flex-direction:column}.form-select-verbos>label{padding:5px 0}.form-select-verbos>label input{margin:0 5px}.form-checkbox{margin:5px}.app-onboarding{margin:60px}.product-logo{width:100px;margin:30px auto}.file-viewer-files{display:flex;flex-wrap:wrap;flex:1}.file-viewer-files .file-viewer-file{margin:3px;flex-direction:column;flex:1;text-align:center;display:flex;padding:5px;word-wrap:break-word;width:240px;height:200px;border:1px solid blue}.file-viewer-files .file-viewer-name{font-size:12px}.map-osm-container{position:relative}.map-osm-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container{position:relative}.form-map-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container .map-view-toolbar{z-index:999;position:absolute;right:60px;top:10px}.general-entity-view tbody tr>th{width:200px}.general-entity-view .entity-view-row{display:flex}.general-entity-view .entity-view-row .field-info,.general-entity-view .entity-view-row .field-value{position:relative;padding:10px}.general-entity-view .entity-view-row .field-info .table-btn,.general-entity-view .entity-view-row .field-value .table-btn{right:10px}.general-entity-view .entity-view-row .field-info:hover .table-btn,.general-entity-view .entity-view-row .field-value:hover .table-btn{opacity:1}.general-entity-view .entity-view-row .field-info{width:260px}.general-entity-view .entity-view-row .field-value{flex:1}.general-entity-view .entity-view-row.entity-view-body .field-value{background-color:#dee2e6}.general-entity-view pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.general-entity-view pre{white-space:break-spaces;word-break:break-word}@media only screen and (max-width:700px){.general-entity-view .entity-view-row{flex-direction:column;margin-bottom:20px}.general-entity-view .entity-view-head{display:none}}.simple-widget-wrapper{display:flex;place-content:center;flex:1;align-self:center;height:100%;justify-content:center;align-items:center;justify-items:center}pre{direction:ltr}.repeater-item{display:flex;flex-direction:row-reverse;border-bottom:1px solid silver;margin:15px 0}.repeater-item .repeater-element{flex:1}.repeater-actions{align-items:flex-start;justify-content:center;display:flex;margin:30px -10px 14px 10px}.repeater-actions .delete-btn{display:flex;align-items:center;justify-content:center;border:none;text-align:center;width:30px;margin:5px auto;height:30px;border-radius:50%}.repeater-actions .delete-btn img{margin:auto;width:20px;height:20px}.repeater-end-actions{text-align:center;margin:30px 0}html[dir=rtl] .repeater-actions{margin-right:10px;margin-left:-10px}.table-btn{font-size:9px;display:inline;position:absolute;cursor:pointer;opacity:1;transition:.3s opacity ease-in-out}.table-copy-btn{right:0}.cell-actions{position:absolute;display:none;right:-8px;top:-6px;align-items:center;justify-content:center;background-color:#fffffff2;height:33px;width:36px}.rdg-cell:hover .cell-actions{display:flex}.table-open-in-new-router{right:15px}.dx-g-bs4-table tbody tr:hover .table-btn{opacity:1}.focused-router{border:1px solid red}.focus-indicator{width:5px;height:5px;position:absolute;left:5px;top:5px;background:#0c68ef;z-index:9999;border-radius:100%;opacity:.5}.confirm-drawer-container{display:flex;justify-content:space-between;align-content:space-between;height:100%;justify-items:flex-start;flex-direction:column}@keyframes jumpFloat{0%{transform:translateY(0)}10%{transform:translateY(-8px)}to{transform:translateY(0)}}.empty-list-indicator,.not-found-pagex{text-align:center;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.empty-list-indicator img,.not-found-pagex img{width:80px;margin-bottom:20px;animation:jumpFloat 2.5s ease-out infinite}.code-viewer-container{position:relative}.copy-button{position:absolute;top:8px;right:8px;padding:4px 8px;font-size:12px;background-color:#e0e0e0;border:none;border-radius:4px;cursor:pointer}body.dark-theme .copy-button{background-color:#333;color:#fff}.swipe-enter{transform:translate(100%);opacity:0}.swipe-enter-active{transform:translate(0);opacity:1;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-exit{transform:translate(0);opacity:1}.swipe-exit-active{transform:translate(100%);opacity:0;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-wrapper{position:absolute;width:100%}.not-found-page{width:100%;height:100vh;background-color:#222;display:flex;justify-content:center;align-items:center}.not-found-page .content{width:460px;line-height:1.4;text-align:center}.not-found-page .content .font-404{height:158px;line-height:153px}.not-found-page .content .font-404 h1{font-family:Josefin Sans,sans-serif;color:#222;font-size:220px;letter-spacing:10px;margin:0;font-weight:700;text-shadow:2px 2px 0px #c9c9c9,-2px -2px 0px #c9c9c9}.not-found-page .content .font-404 h1>span{text-shadow:2px 2px 0px #0957ff,-2px -2px 0px #0957ff,0px 0px 8px #1150d6}.not-found-page .content p{font-family:Josefin Sans,sans-serif;color:#c9c9c9;font-size:16px;font-weight:400;margin-top:0;margin-bottom:15px}.not-found-page .content a{font-family:Josefin Sans,sans-serif;font-size:14px;text-decoration:none;text-transform:uppercase;background:transparent;color:#fff;border:2px solid #0957ff;border-radius:8px;display:inline-block;padding:10px 25px;font-weight:700;-webkit-transition:.2s all;transition:.3s all ease-in;background-color:#0957ff}.not-found-page .content a:hover{color:#fff;background-color:transparent}@media only screen and (max-width:480px){.not-found-page .content{padding:0 30px}.not-found-page .content .font-404{height:122px;line-height:122px}.not-found-page .content .font-404 h1{font-size:122px}}.data-table-filter-input{position:absolute;border-radius:0;margin:0;top:0;left:0;right:0;bottom:0;border:0;padding-left:8px;padding-right:8px}.data-table-sort-actions{position:absolute;top:0;z-index:9;right:0;bottom:0;display:flex;justify-content:center;align-items:center;margin-right:5px}.data-table-sort-actions button{border:0;background-color:transparent}.data-table-sort-actions .sort-icon{width:20px}@font-face{src:url(/manage/assets/SFNSDisplay-Semibold-XCkF6r2i.otf);font-family:mac-custom}@font-face{src:url(/manage/assets/SFNSDisplay-Medium-Cw8HtTFw.otf);font-family:mac-sidebar}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes closemenu{0%{opacity:1;max-height:300px}to{opacity:0;max-height:0}}@keyframes opensubmenu{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}.mac-theme,.ios-theme{background-color:#ffffffb3}.mac-theme .panel-resize-handle,.ios-theme .panel-resize-handle{width:8px;align-self:flex-end;height:100%;position:absolute;right:0;top:0;background:linear-gradient(90deg,#e0dee3,#cfcfce)}.mac-theme .panel-resize-handle.minimal,.ios-theme .panel-resize-handle.minimal{width:2px}.mac-theme .navbar-search-box,.ios-theme .navbar-search-box{display:flex;margin:0 0 0 15px!important}.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:220px}@media only screen and (max-width:500px){.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:100%}}.mac-theme .reactive-search-result ul,.ios-theme .reactive-search-result ul{list-style:none;padding:30px 0}.mac-theme .reactive-search-result a,.ios-theme .reactive-search-result a{text-decoration:none;display:block}.mac-theme .reactive-search-result .result-group-name,.ios-theme .reactive-search-result .result-group-name{text-transform:uppercase;font-weight:700}.mac-theme .reactive-search-result .result-icon,.ios-theme .reactive-search-result .result-icon{width:25px;height:25px;margin:10px}.mac-theme .data-node-values-list .table-responsive,.ios-theme .data-node-values-list .table-responsive{height:800px}.mac-theme .table-container,.ios-theme .table-container{background-color:none;box-shadow:none;margin-bottom:0;padding:0}.mac-theme .table-container .card-footer,.ios-theme .table-container .card-footer{margin-left:15px}.mac-theme .table.dto-view-table th:first-child,.ios-theme .table.dto-view-table th:first-child{width:300px}.mac-theme .table.dto-view-table .table-active,.ios-theme .table.dto-view-table .table-active{transition:.3s all ease-in-out}.mac-theme .user-signin-section,.ios-theme .user-signin-section{color:#3e3c3c}.mac-theme h1,.ios-theme h1{font-size:24px;margin-bottom:30px}.mac-theme .dropdown-menu,.ios-theme .dropdown-menu{position:fixed!important;left:10px!important;background-color:#ececed!important}.mac-theme .dropdown-menu *,.ios-theme .dropdown-menu *{color:#232323;font-size:15px}.mac-theme .dropdown-menu a,.ios-theme .dropdown-menu a{text-decoration:none;cursor:default}.mac-theme .dropdown-menu .dropdown-item:hover,.ios-theme .dropdown-menu .dropdown-item:hover{color:#000;background:#5ba1ff}.mac-theme p,.ios-theme p{font-weight:100}.mac-theme #navbarSupportedContent,.ios-theme #navbarSupportedContent{display:flex;align-items:center}.mac-theme .content-section,.ios-theme .content-section{margin-top:0;background-color:#fff}@media only screen and (max-width:500px){.mac-theme .content-section,.ios-theme .content-section{margin-left:0}}.mac-theme .table-container,.ios-theme .table-container{background:transparent;font-size:14px;margin:0 -14px}.mac-theme .table-container td,.mac-theme .table-container th,.ios-theme .table-container td,.ios-theme .table-container th{padding:3px}.mac-theme .table-container td,.ios-theme .table-container td{border:none}.mac-theme .table-container tbody tr:nth-child(2n),.ios-theme .table-container tbody tr:nth-child(2n){background:#f4f5f5}.mac-theme .table-container tbody tr,.ios-theme .table-container tbody tr{margin:10px}.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 100px)!important}@media only screen and (max-width:500px){.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 180px)!important}}.mac-theme .table-container .datatable-no-data,.ios-theme .table-container .datatable-no-data{padding:30px}.mac-theme nav.navbar,.ios-theme nav.navbar{background-color:#faf5f9!important;border-bottom:1px solid #dddddd;min-height:55px;height:auto;-webkit-user-select:none;user-select:none;position:initial;z-index:9}@supports (-webkit-touch-callout: none){.mac-theme nav.navbar,.ios-theme nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){.mac-theme nav.navbar,.ios-theme nav.navbar{left:0}}.mac-theme .page-section,.ios-theme .page-section{background-color:#f2f2f2;box-shadow:none;padding:20px;margin:15px 0}.mac-theme h2,.ios-theme h2{font-size:19px}.mac-theme .content-container,.ios-theme .content-container{background-color:transparent;box-shadow:none;height:calc(100vh - 55px + constant(safe-area-inset-top));height:calc(100vh - 55px + env(safe-area-inset-top));overflow:auto;margin-top:0;min-height:calc(100vh - 55px - constant(safe-area-inset-top));min-height:calc(100vh - 55px - env(safe-area-inset-top));overflow-y:auto;max-width:calc(100vw - 185px);max-width:100%;padding:0 15px 60px}@media only screen and (max-width:500px){.mac-theme .content-container,.ios-theme .content-container{max-width:100vw}}.mac-theme .sidebar,.ios-theme .sidebar{overflow-x:hidden!important}.mac-theme .sidebar,.ios-theme .sidebar{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:10px!important;background-color:#e0dee3;overflow:auto}.mac-theme .sidebar .current-user>a,.ios-theme .sidebar .current-user>a{padding:0 5px}.mac-theme .sidebar *,.ios-theme .sidebar *{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mac-theme .sidebar .sidebar-menu-particle.hide,.mac-theme .sidebar .nav-item.hide,.ios-theme .sidebar .sidebar-menu-particle.hide,.ios-theme .sidebar .nav-item.hide{max-height:0;animation:closemenu .3s forwards;overflow:hidden}.mac-theme .sidebar .nav-item,.ios-theme .sidebar .nav-item{animation:opensubmenu .3s forwards}.mac-theme .sidebar .category,.ios-theme .sidebar .category{font-size:12px;color:#a29e9e;margin:15px 0 0}.mac-theme .sidebar hr,.ios-theme .sidebar hr{display:none}.mac-theme .sidebar li .nav-link,.ios-theme .sidebar li .nav-link{padding:0;min-height:30px;display:flex;flex-direction:column;justify-content:center;cursor:default;color:#3e3c3c!important}.mac-theme .sidebar li .nav-link:hover,.ios-theme .sidebar li .nav-link:hover{background-color:initial}.mac-theme .sidebar li .nav-link.active:hover,.ios-theme .sidebar li .nav-link.active:hover{background-color:#cccacf}.mac-theme .sidebar li .nav-link span,.ios-theme .sidebar li .nav-link span{padding-left:5px;font-size:14px;color:#3e3c3c;align-items:center;display:flex}.mac-theme .sidebar li .nav-link .nav-link-text,.ios-theme .sidebar li .nav-link .nav-link-text{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:0;margin-left:0}.mac-theme .sidebar li .active,.ios-theme .sidebar li .active{background-color:#cccacf;color:#3e3c3c}.mac-theme .sidebar li img,.ios-theme .sidebar li img{width:20px;height:20px;margin-right:5px;margin-top:5px}.mac-theme .sidebar::-webkit-scrollbar,.ios-theme .sidebar::-webkit-scrollbar{width:8px}.mac-theme .sidebar::-webkit-scrollbar-track,.ios-theme .sidebar::-webkit-scrollbar-track{background-color:transparent}.mac-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme .sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.mac-theme .sidebar-extra-small .sidebar .nav-link-text,.ios-theme .sidebar-extra-small .sidebar .nav-link-text{display:none!important}.mac-theme .sidebar-extra-small,.ios-theme .sidebar-extra-small{justify-content:center;align-items:center}.mac-theme .content-container::-webkit-scrollbar,.mac-theme .table-responsive::-webkit-scrollbar,.mac-theme .scrollable-element::-webkit-scrollbar,.ios-theme .content-container::-webkit-scrollbar,.ios-theme .table-responsive::-webkit-scrollbar,.ios-theme .scrollable-element::-webkit-scrollbar{width:8px;height:8px}.mac-theme .content-container::-webkit-scrollbar-track,.mac-theme .table-responsive::-webkit-scrollbar-track,.mac-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme .content-container::-webkit-scrollbar-track,.ios-theme .table-responsive::-webkit-scrollbar-track,.ios-theme .scrollable-element::-webkit-scrollbar-track{background:#fafafa;border-left:1px solid #e8e8e8}.mac-theme .content-container::-webkit-scrollbar-thumb,.mac-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme .content-container::-webkit-scrollbar-thumb,.ios-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme .scrollable-element::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px}.mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,.ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{width:5px;border-right:1px solid silver;opacity:.8;cursor:ew-resize;height:20px;position:absolute;right:5px;top:4px}.mac-theme .dx-g-bs4-table .table-row-action,.ios-theme .dx-g-bs4-table .table-row-action{margin:0 5px;text-transform:uppercase;font-size:10px;font-weight:700;cursor:pointer;border:0;border-radius:5px}.mac-theme .dx-g-bs4-table .table-row-action:hover,.ios-theme .dx-g-bs4-table .table-row-action:hover{background-color:#b9ffb9}.mac-theme .dx-g-bs4-table thead .input-group input,.ios-theme .dx-g-bs4-table thead .input-group input{font-size:13px;padding:0;border:0}.mac-theme .dx-g-bs4-table tbody .form-control,.ios-theme .dx-g-bs4-table tbody .form-control{font-size:14px;padding:0 5px;border:0;background-color:#e9e9e9}.mac-theme .dx-g-bs4-table tbody .form-control.is-invalid,.ios-theme .dx-g-bs4-table tbody .form-control.is-invalid{border:1px solid #dc3545}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .bottom-nav-tabbar,.ios-theme:not(.light-theme) .bottom-nav-tabbar{background:#46414f}.mac-theme:not(.light-theme) .panel-resize-handle,.ios-theme:not(.light-theme) .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme:not(.light-theme) .Toastify__toast-theme--light,.ios-theme:not(.light-theme) .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme:not(.light-theme) .login-form-section,.ios-theme:not(.light-theme) .login-form-section{background-color:#46414f}.mac-theme:not(.light-theme),.ios-theme:not(.light-theme){background-color:#0a0a0ab3}.mac-theme:not(.light-theme) nav.navbar,.ios-theme:not(.light-theme) nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme:not(.light-theme) nav.navbar .navbar-brand,.ios-theme:not(.light-theme) nav.navbar .navbar-brand{color:#dad6d8}.mac-theme:not(.light-theme) select,.ios-theme:not(.light-theme) select{background-color:#4c454e}.mac-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item,.ios-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme:not(.light-theme) .sidebar,.ios-theme:not(.light-theme) .sidebar{background-color:#5a565e}.mac-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text,.ios-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme:not(.light-theme) .sidebar li .active,.ios-theme:not(.light-theme) .sidebar li .active{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar li .nav-link.active:hover,.ios-theme:not(.light-theme) .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar .current-user a strong,.mac-theme:not(.light-theme) .sidebar .current-user a:after,.ios-theme:not(.light-theme) .sidebar .current-user a strong,.ios-theme:not(.light-theme) .sidebar .current-user a:after{color:#dad6d8}.mac-theme:not(.light-theme) select.form-select,.mac-theme:not(.light-theme) textarea,.ios-theme:not(.light-theme) select.form-select,.ios-theme:not(.light-theme) textarea{background-color:#615956}.mac-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option,.ios-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme:not(.light-theme) .css-b62m3t-container .form-control,.mac-theme:not(.light-theme) .react-select-menu-area,.mac-theme:not(.light-theme) ul.dropdown-menu,.ios-theme:not(.light-theme) .css-b62m3t-container .form-control,.ios-theme:not(.light-theme) .react-select-menu-area,.ios-theme:not(.light-theme) ul.dropdown-menu{background-color:#615956!important}.mac-theme:not(.light-theme) .css-1p3m7a8-multiValue,.ios-theme:not(.light-theme) .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme:not(.light-theme) .react-select-menu-area>div>div:hover,.ios-theme:not(.light-theme) .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme:not(.light-theme) .menu-icon,.mac-theme:not(.light-theme) .action-menu-item img,.mac-theme:not(.light-theme) .page-navigator img,.ios-theme:not(.light-theme) .menu-icon,.ios-theme:not(.light-theme) .action-menu-item img,.ios-theme:not(.light-theme) .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme:not(.light-theme) .pagination a,.mac-theme:not(.light-theme) .modal-content,.ios-theme:not(.light-theme) .pagination a,.ios-theme:not(.light-theme) .modal-content{background-color:#625765}.mac-theme:not(.light-theme) .pagination .active button.page-link,.ios-theme:not(.light-theme) .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme:not(.light-theme) .keybinding-combination>span,.ios-theme:not(.light-theme) .keybinding-combination>span{background-color:#625765}.mac-theme:not(.light-theme) .keybinding-combination:hover span,.ios-theme:not(.light-theme) .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme:not(.light-theme) .form-control,.ios-theme:not(.light-theme) .form-control{background-color:#6c6c6c}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme:not(.light-theme) .content-container,.ios-theme:not(.light-theme) .content-container{background-color:#2e2836}.mac-theme:not(.light-theme) .pagination,.ios-theme:not(.light-theme) .pagination{margin:0}.mac-theme:not(.light-theme) .pagination .page-item .page-link,.ios-theme:not(.light-theme) .pagination .page-item .page-link{background-color:#2e2836}.mac-theme:not(.light-theme) .table-container tbody tr:nth-child(2n),.ios-theme:not(.light-theme) .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table td,.mac-theme:not(.light-theme) .dx-g-bs4-table th,.ios-theme:not(.light-theme) .dx-g-bs4-table td,.ios-theme:not(.light-theme) .dx-g-bs4-table th{background-color:transparent}.mac-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme:not(.light-theme) .card,.mac-theme:not(.light-theme) .section-title,.ios-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme:not(.light-theme) .card,.ios-theme:not(.light-theme) .section-title{background-color:#5a565e}.mac-theme:not(.light-theme) .basic-error-box,.ios-theme:not(.light-theme) .basic-error-box{background-color:#760002}.mac-theme:not(.light-theme) .page-section,.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) .page-section,.ios-theme:not(.light-theme) input{background-color:#5a565e}.mac-theme:not(.light-theme) *:not(.invalid-feedback),.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) *:not(.invalid-feedback),.ios-theme:not(.light-theme) input{color:#dad6d8;border-color:#46414f}.mac-theme:not(.light-theme) .styles_react-code-input__CRulA input,.ios-theme:not(.light-theme) .styles_react-code-input__CRulA input{color:#fff}.mac-theme:not(.light-theme) .content-area-loader,.ios-theme:not(.light-theme) .content-area-loader{background-color:#46414f}.mac-theme:not(.light-theme) .diagram-fxfx .area-box,.ios-theme:not(.light-theme) .diagram-fxfx .area-box{background:#1e3249}.mac-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.mac-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle,.ios-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme:not(.light-theme) .react-flow__node.selected .area-box,.ios-theme:not(.light-theme) .react-flow__node.selected .area-box{background-color:#373737}.mac-theme:not(.light-theme) .upload-header,.ios-theme:not(.light-theme) .upload-header{background-color:#152231}.mac-theme:not(.light-theme) .active-upload-box,.ios-theme:not(.light-theme) .active-upload-box{background-color:#333}.mac-theme:not(.light-theme) .upload-file-item:hover,.ios-theme:not(.light-theme) .upload-file-item:hover{background-color:#1e3249}}.mac-theme.dark-theme .bottom-nav-tabbar,.ios-theme.dark-theme .bottom-nav-tabbar{background:#46414f}.mac-theme.dark-theme .panel-resize-handle,.ios-theme.dark-theme .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme.dark-theme .Toastify__toast-theme--light,.ios-theme.dark-theme .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme.dark-theme .login-form-section,.ios-theme.dark-theme .login-form-section{background-color:#46414f}.mac-theme.dark-theme,.ios-theme.dark-theme{background-color:#0a0a0ab3}.mac-theme.dark-theme nav.navbar,.ios-theme.dark-theme nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme.dark-theme nav.navbar .navbar-brand,.ios-theme.dark-theme nav.navbar .navbar-brand{color:#dad6d8}.mac-theme.dark-theme select,.ios-theme.dark-theme select{background-color:#4c454e}.mac-theme.dark-theme .general-action-menu.mobile-view .action-menu-item,.ios-theme.dark-theme .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme.dark-theme .sidebar,.ios-theme.dark-theme .sidebar{background-color:#5a565e}.mac-theme.dark-theme .sidebar li .nav-link .nav-link-text,.ios-theme.dark-theme .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme.dark-theme .sidebar li .active,.ios-theme.dark-theme .sidebar li .active,.mac-theme.dark-theme .sidebar li .nav-link.active:hover,.ios-theme.dark-theme .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme.dark-theme .sidebar .current-user a strong,.mac-theme.dark-theme .sidebar .current-user a:after,.ios-theme.dark-theme .sidebar .current-user a strong,.ios-theme.dark-theme .sidebar .current-user a:after{color:#dad6d8}.mac-theme.dark-theme select.form-select,.mac-theme.dark-theme textarea,.ios-theme.dark-theme select.form-select,.ios-theme.dark-theme textarea{background-color:#615956}.mac-theme.dark-theme .react-select-menu-area .css-d7l1ni-option,.ios-theme.dark-theme .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme.dark-theme .css-b62m3t-container .form-control,.mac-theme.dark-theme .react-select-menu-area,.mac-theme.dark-theme ul.dropdown-menu,.ios-theme.dark-theme .css-b62m3t-container .form-control,.ios-theme.dark-theme .react-select-menu-area,.ios-theme.dark-theme ul.dropdown-menu{background-color:#615956!important}.mac-theme.dark-theme .css-1p3m7a8-multiValue,.ios-theme.dark-theme .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme.dark-theme .react-select-menu-area>div>div:hover,.ios-theme.dark-theme .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme.dark-theme .menu-icon,.mac-theme.dark-theme .action-menu-item img,.mac-theme.dark-theme .page-navigator img,.ios-theme.dark-theme .menu-icon,.ios-theme.dark-theme .action-menu-item img,.ios-theme.dark-theme .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme.dark-theme .pagination a,.mac-theme.dark-theme .modal-content,.ios-theme.dark-theme .pagination a,.ios-theme.dark-theme .modal-content{background-color:#625765}.mac-theme.dark-theme .pagination .active button.page-link,.ios-theme.dark-theme .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme.dark-theme .keybinding-combination>span,.ios-theme.dark-theme .keybinding-combination>span{background-color:#625765}.mac-theme.dark-theme .keybinding-combination:hover span,.ios-theme.dark-theme .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme.dark-theme .form-control,.ios-theme.dark-theme .form-control{background-color:#6c6c6c}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-track,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.mac-theme.dark-theme .content-container::-webkit-scrollbar-track,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-track,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.ios-theme.dark-theme .content-container::-webkit-scrollbar-track,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme.dark-theme .content-container,.ios-theme.dark-theme .content-container{background-color:#2e2836}.mac-theme.dark-theme .pagination,.ios-theme.dark-theme .pagination{margin:0}.mac-theme.dark-theme .pagination .page-item .page-link,.ios-theme.dark-theme .pagination .page-item .page-link{background-color:#2e2836}.mac-theme.dark-theme .table-container tbody tr:nth-child(2n),.ios-theme.dark-theme .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme.dark-theme .dx-g-bs4-table td,.mac-theme.dark-theme .dx-g-bs4-table th,.ios-theme.dark-theme .dx-g-bs4-table td,.ios-theme.dark-theme .dx-g-bs4-table th{background-color:transparent}.mac-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme.dark-theme .card,.mac-theme.dark-theme .section-title,.ios-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme.dark-theme .card,.ios-theme.dark-theme .section-title{background-color:#5a565e}.mac-theme.dark-theme .basic-error-box,.ios-theme.dark-theme .basic-error-box{background-color:#760002}.mac-theme.dark-theme .page-section,.mac-theme.dark-theme input,.ios-theme.dark-theme .page-section,.ios-theme.dark-theme input{background-color:#5a565e}.mac-theme.dark-theme *:not(.invalid-feedback),.mac-theme.dark-theme input,.ios-theme.dark-theme *:not(.invalid-feedback),.ios-theme.dark-theme input{color:#dad6d8;border-color:#46414f}.mac-theme.dark-theme .styles_react-code-input__CRulA input,.ios-theme.dark-theme .styles_react-code-input__CRulA input{color:#fff}.mac-theme.dark-theme .content-area-loader,.ios-theme.dark-theme .content-area-loader{background-color:#46414f}.mac-theme.dark-theme .diagram-fxfx .area-box,.ios-theme.dark-theme .diagram-fxfx .area-box{background:#1e3249}.mac-theme.dark-theme .diagram-fxfx .area-box input.form-control,.mac-theme.dark-theme .diagram-fxfx .area-box textarea.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box input.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle,.ios-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme.dark-theme .react-flow__node.selected .area-box,.ios-theme.dark-theme .react-flow__node.selected .area-box{background-color:#373737}.mac-theme.dark-theme .upload-header,.ios-theme.dark-theme .upload-header{background-color:#152231}.mac-theme.dark-theme .active-upload-box,.ios-theme.dark-theme .active-upload-box{background-color:#333}.mac-theme.dark-theme .upload-file-item:hover,.ios-theme.dark-theme .upload-file-item:hover{background-color:#1e3249}html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-left:0;margin-right:185px}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-right:0}}html[dir=rtl] .mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,html[dir=rtl] .ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{right:initial;left:5px}html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:0}}a{text-decoration:none} + */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width:1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media(min-width:1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media(min-width:1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media(min-width:1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media(min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media(min-width:576px){.container-sm,.container{max-width:540px}}@media(min-width:768px){.container-md,.container-sm,.container{max-width:720px}}@media(min-width:992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media(min-width:1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media(min-width:1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media(min-width:576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media(min-width:768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media(min-width:992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media(prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media(min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media(prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media(prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media(prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media(min-width:576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media(min-width:992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media(min-width:1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media(max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion:reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:575.98px)and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media(max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media(min-width:576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:767.98px)and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media(max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media(min-width:768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:991.98px)and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media(max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media(min-width:992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1199.98px)and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media(max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media(min-width:1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1399.98px)and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media(max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media(min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media(prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media(min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media(min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media(min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media(min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.react-tel-input{font-family:Roboto,sans-serif;font-size:15px;position:relative;width:100%}.react-tel-input :disabled{cursor:not-allowed}.react-tel-input .flag{width:16px;height:11px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACmCAMAAAACnqETAAADAFBMVEUAAAD30gQCKn0GJJ4MP4kMlD43WGf9/f329vcBAQHhAADx8vHvAwL8AQL7UlL4RUUzqDP2MjLp6un2Jyj0Ghn2PTr9fHvi5OJYuln7Xl75+UPpNzXUAQH29jH6cXC+AAIAJwBNtE/23Ff5aGdDr0TJAQHsZV3qR0IAOQB3x3fdRD/Z2NvuWFLkcG7fVlH4kI4AAlXO0M8BATsdS6MCagIBfQEASgPoKSc4VKL442q4xeQAigD46eetAABYd9jvf3nZMiwAAoD30zz55X5ng9tPbKZnwGXz8x77+lY7OTjzzikABGsenh72pKNPldEAWgHgGBgAACH88/Gqt95JR0OWAwP3uLd/qdr53kMBBJJ3d3XMPTpWer8NnAwABKPH1O1VVFIuLSz13NtZnlf2kEh9keLn7vfZ4vNkZGHzvwJIXZRfZLuDwfv4y8tvk79LlUblzsxorGcCBusFKuYCCcdmfq5jqvlxt/tzktEABLb8/HL2tlTAw8SLlMFpj/ZlpNhBZ81BYbQcGxuToN9SYdjXY2Lz7lD0dCQ6S9Dm0EUCYPdDlvWWvd2AnviXqc11eMZTqPc3cPMCRev16ZrRUE0Hf/tNT7HIJyTptDVTffSsTkvhtgQ0T4jigoFUx/g+hsX9/QUHzQY1dbJ7sHV02Pduvd0leiK1XmaTrfpCQPgELrrdsrY1NamgyPrh03iPxosvX92ysbCgoZzk5kP1YD7t6AILnu+45LykNS40qvXDdHnR6tBennz6u3TSxU1Or9Swz6wqzCsPZKzglJbIqEY8hDhyAgFzbJxuOC+Li4d9sJLFsnhwbvH2d1A3kzAqPZQITsN76nq2dzaZdKJf4F6RJkb078YFiM+tnWZGh2F+dDibykYoMcsnekdI1UhCAwWb25qVkEq43km9yBrclQMGwfyZ3/zZ2QK9gJxsJWCBUk32QwqOSYKRxh6Xdm3B4oMW22EPZzawnR72kgZltCqPxrdH1dkBkqDdWwwMwMO9O2sqKXHvipPGJkzlRVLhJjVIs9KrAAAAB3RSTlMA/v3+/Pn9Fk05qAAAUU9JREFUeNp0nAlYVNcVxzHazoroGBkXhAgCCjMsroDoKIgKdFABBwQUnSAoCqLRFBfcCBIM4kbqShO1hlSrCJqQQmNssVFqjBarsdjFJWlMTOLXJDZt8/X7+j/n3pk3vNq/bb8+3nbP79137/+dd954qTVt8uTJL73OMhqNer03ady4cWOhWbNmjV+0FfKGjMb36Y9/1fXUst9cb2y8/lpb797z5k2dOjXVD9Ljn59fcHBwQEDAgGch3l9on6feeeedn0r9kvT222+/sErRgvcDArwV8f5tN/rcvPnMZ22pqVFRSVGjR38k9Rsp9fLql/MXLj20VGjt2rVeak2Og/auI/kHBQ3We/tCo0ZNhwYNGj58/NaWlpbOyMhIX1//2/jTrICvckhXruQsWbJw4cL3tzhPORynSk5lZWVtglL9IkmdDQ05NqvVGhLwbKSUL+Tvb9yH/2sj+eN0IZZ3fvq3Hnp71ZtCOyofdnTYSzq9xX7UtsF9+/Y1FpeZT54sc2aUlq6Jy89YM/qj2oZaoeOkMR8dV/Tee++NWb04rrA5MRYKDAyc/NKCpwDIyKhE9LEzZ/r4DLQAAE6EyEeM6AcNH7m1pTMnB+fHX7tG9Bs0Xt+GwM/frqm5tz950aKDk6rsiA0xbUrbRAii/BDeV9bGhQsPRlyOCAuZ9GykZwT++n2RHPnVYQU+oaFDPQD8jEQAPiDdaLPaHGVXbn/O7YHQuIH9B/gYgzts1iqrtSopKWlNRkzS6I8arFaOFvTfew8AfiYil/rN6sWTKwtbArOzExISUl7+vwCuQNt8Bg71AQCcTwNpWeFbW3IIQEmJr08XgIzX2xDcvZrs7Jru5EWXwwKSwh2RkQ77w7Q0bXp6YRoDaKO+kZl8MCwsYpJ3pEf8liAAoPhDhqUMQ/wAkF+oqKiosJYA7HxotdnTtVe6Pr/S0h+AI90QffU3T9obGuwdD5PqkmJiMtbM+ajWI/60TX0COhoarAAE1dfXV80FgMmLi1oSKP7/B6ASAGyBV4YM7D/Bx8/bF7g5fgmgEwCCSiJtJQRgxEi9zZqVdYUu9pW0tLCIgOvxdR0dpxx5aWl7EzV7CYDV+tXnCzMzkzMvE4AFlTuhZaSf/OQny1L32RC+JcHikzJ06NAJoe+YNKRbsbG3xPlWZTxssNmdOP/J27ffudLJ60V7DAaT1lxRVvfwYe3Jlrq4uJiKjAwAcIWP+BkAhV/i7HA0uAG8BAIUf8qfzvwvgJcQf+XMK4GWi8OGTpgQ6uftzwC0LIM2WgcASwaXOBwlA7v6/YgAhFRt2pRGeu0/UyImbal77eHDo2kVAJAeKwE0fl6P63/5nSlTAKBCiR8AovbZEL9lf8I5AMD5booAE7OzY8X5fhGJi0/nTzTcMh+80iIBaF0APqvIu3EjqfRGcV3S4aSKYk8AaW4ADU4gOFlfn8sAXnoJBDpTCMDL87zU2kwATl+x1Nw+P2HChKHBBMDHFT8DwGjX11FSYu/f/aMf9XtOjwAacf2hmxRg7ywXDrr30kb7NVhDquo/z0y+nJs7ZUoYA5DxM4BFmcnJyV93PzjbvQhK3urqAYF7xflWVT5ssDaU4Ox7T9+6Ei4BaN0AUkvXJEExMTGHD9cdFgA2yfgZQAP1f0dJw0lrfS4BmIb4z5yZBgL/H8DibbehGROenQ0AQRhvZPwQAGDQ8wlqsFkmdP9ofr/n/OgK2ml1xxQECAAy/tdee++91wCA1mfWJy/KXUTr536T+O67764X2r9//T+3JkPdDx50f7qItDXfff+zeAxY1lYV0VCmPV1Ts5fGAGUYDbHpo0qT6vKTignAtWvXiuf0StwGZZPQybMPAYC8/xF/bj0AUPwvvzytKCdl6dMAvJxRuXjxkCHnL86YMXs2A8B4m4yWQTrdIp0uByMajcATJrwzXwCIiIjAFSrbJwGI+FlH00YH8/rQy5enQPsYgBK/BLCI1c0Afonhn/XjH8MNLP9o1Y4Pfg795N9hYQ23bt1q4fb07z+A/ITR2J8AFJnqOP7iuj7Fc35TK+9/bkPaM+NGiSnsB6wRIwGA4n/5T5Pzc5aeeAqAP1VCM4niWRqVgr1p1sEYlskNJQC4BQZbLJi0MAgCgBUKqYo3VEVEhIWFTZqXtYmVxiIAtB4QeDUAvMuSFBgAJCkwAKHlLAKw4wMIFG5URVgdLdwedEq6BuCgj1qzpi4uiVScYa6I0fWKJQVC2aRDY0eNWrlyECwMMIDDc2vZ6UF0F7z8tB5w4kTvtZ+ygklGkk4lvZ6sne45SDg8aJIQ2z+4Mmg0qcfauXPnfvPNN9XV/1S0VSWyf1Ls4FZ5aIHu/blGKb2UOM0ckq4PmsZ2b8yYMb2l4FbhX8ePHwmhuSPXkhaQ5q0tXzBvntdUUq9eSyFu9njXxpA74Leg198yktRWVI4OkAkymw2Q3WO90+nnN3u2H0QkHI6JpHHj2GvTYdsupd68GfVZ4yTJqJeUaNKhQ+rzCUvOMXEr//4vD3333XdLe+rRJx4iqumDnT2O5zW1HII1hPLy8pJGjz9GWgk9D61Al4fWkWay9VRbUa1GEVCYDRoonu0dr++n0ZQ0dMCNdDRYHVrtuImjWHQ80lvfl4WfhJetw1CFm6h+rkazd28iJHvyIe/IHt7ZOBY7o4GPH4smPqf7nRwz/sH6bmmi2HtvYiBUYPxEcZakt701PdsPAIhb3DBbYmIIAOK+F9HXJ6z7t799AwDI48+cOQRi66m2ogoAYVwIQEkQb8DrJza1azRWq9NpjUjXtg+aNXHU9EEQHW/YsGFD3toHMFZbgzUsDNPkPgAgpScG1vA4TgB8PZATAAoc6IasWPHhhwCQkyNCdwMIJCVqDabA8+cAAJFLYVD92dvpjvQe7ZcA7p0/350dEzNmy+iRAHBPrO9+AwB41Of4h2HoFdZYhsfL7ej7QmbSBdED/GkDXv+ju9Pv4i9mM+g09Rs1duKoQSQR/4whb7msbFhufHy8M2xup6AZ3sHzWOChaveIWQCtn00A7s/84MDuD4bd+fBDcYEukrVna5fwMQPAsqnQZOqqLtBzezysvHd6z/YLANndUELMGAmgXqzPfeON3+IE8PHbuL2YegYCAO+/fz/io2VMM+5HpR/BGXIPGCzix3oAaBo13aApK9Mahg8fNAo9ANsPGi7iB4BLZRUPH9advJGb6zx+3Jk7FwFtCNekNzQUabW3cAv0Ek9uUA0U+PGsY4NmzrxQVBS3e82wGQDA7bvI8SsAsgNP7y26HV4GALyeJzGaY5J18fZ4GT+3DwBK8/K2ZF/s7v46ZYwEsMJHrJ/gApBJ8QPAs9gh2BYBnT077OwUnvcBwB0/nCEAQPFBdADefv5dPEu3p2u18e39Bg2aPou2h9wNmP3wi7bGL9qsuVOcizoBgM/X0BBtamggK2wGABn+WSLw8awm9P4Du3ecys+aMWPGt6J9medF/EsBIBbxJxSFm4vM5moJAOGL+AHAO90jfglgy5bshO7uFAIQM2fkyhUr6sX6fW+MJQDYX1wvWI/+uOIc79mziJec4ESxDPGy6AF9RfzYHgBw02s7yswNhf1GDJ8+lvcfPgKrxfoAa0S9uP9HTV95LHdur8TzuF7W5OSqDdEGAFiaiIjk9U8hAMdw+1Ts3r37VPOMGR/K9l3k+CUA9P9b4c6y8LKC6upqAiDj3wpxD1Dix/m9Uku3KAD6xMx5DgC6xfrLYwnAEuw/jOJnAMHjpnvECwA8aK5YseK3EA2aogf0pQNIAIOaXI8S0/sBAPaHaLUEIOJHPmjUsWACACN7/qLVmoz2Zjabv3x8X+oBdP/DWeih94d9sHv3BzO+fOOND6l9C93xL00BgOy97dHo/ZHm6EcAwM8OHlZ+YLpFtF9eQAGA9+81pg8DQCzdU3D9Ef/YN3AC8OP4Z5D1DBg7XYmfAKitqYl7AA8AvDxxVLtGW1VVVhYRZjC0jhg/Tuzv3j6gCuEjfghGYd/cXrFk5BNqai4K633k938h/Zp15C8Tx68E7X7Dtm2b8QZEAH743j8gYQQwC8TGlp08Z7ZWC+k/4eFf6pc//Sje3+TZ/pFeqXkQ7hoIhhoAnve8ogRgCQZBMQsgTgBgXykpAoDKmpoIuJP/wMvzwaOKHkisVfUnDYZZ2J/k3n4ST/94UiHt2/d+Lx7yttFAXnP+60W6+X9ggQFzGDdeOJT791fQNAgAv/qHFFMAAJou7AWQBCAkKXzknW71bD96APnWQ4c+hthRsv1Ty2WNA4InwYYpzhJSW1MT+lmkxx9awyfNhQVmvf9+c9M4kVt1by8tsmuLub3I/in6er7URGkh1SZ1znfk/xR9o2oP7F8Pax1vbO8RgJcwhYp8BvpMcD1t+0GffPJ7xUo+CA54Yc+DPXv2vGA0vkBavfqIW+xeH3kr8iJ9QxJegQNpu/TMzZupnzXOkQ7+OkumeCCOU+Si2Sr7kR6RkQZ/iA0y62PWVKlUiLy8fsz1MSd6s+YhLz1vu0t7ILS4T1Rqn2cU9fF6YQdpMZIAG6dNmzZ5bX+7PZKGsXi0CM9xwZ+0DmuVnejxsHMDJu3Zu24vkrT+QTtYq4/8nvWHPzyeCa2HUySRbzMKAO9CGhZ15Pku67uGlaS7frzoeFat26uY2CpzijiIrbKfLdH2buy7eKLkR8oAaXWhQNLH8+qEKirKy0tLS6O8bXVZQpvg8dPmbV/O+jH0IvRClLY06hkPAcBGqLa19ckBzC0HVg+0R9rQFpqFtWER1oBPhr3+eutPocevPzIaBwTseTORAu/rQ7sd2AgA4g69T1PlfmGVsX9fn8ESALk4ER5Gsb/Mny2tbzGkPQwASH1s2iTDBwC2yhYeVdgq+yXODAwpCCzAozT7Dml12fqR8VGcOMtk9A0pkUvsI7YvR+DQrl2vQLtWpdbFPAVAq8lgMrcygKEEoKQsJKTMYQgLDQn4ZN3r60T43ngSrH5g1rBcWaINAoCMX1plXq8GoBUAXNYX4RcfPqzVXa8tqk3bpATAVtnCVpytsp8tsCBifcJVil8BoFhfu7OE5RCyGn0HWxweQLYvf/HF2tp1T568IgD0Gf2MJilKBSCrPf5Cc3h76e4zuwmAv8ZqQ5cLMwwNA4DWn+IfwoeqX3/8kQvAQC2rGQCU+NkqywuiAqAVACa6rO/hYsR/uBi3wKZd7wGA1gPAcEvfhAQAmEEA4DwLEgo4/tmzwyYdYqurWF+9zWKxhCKlTjnV2WEBxkhHX5/G8jSZEZoKALWJWbuyYgWBVRgA6vqk9hgDNh54YtI2t2jbn5wBgAl2m1XTYAmxhFoNU5DG/uRnHuG/d/yjEa0X7kID+99tgu6OxTytxK8A0KoAaCGexz+rWHPpUtKaG4e1hwnAhhNZlLtMhwyG+HhDGVvl0PXZ2fv7w3oMe8vPijuf4of2AQCyutDmzWdI1zcv0Psr8SOFF2As0Th8Qr84CiEzcjSKni09b4l5C+al4r9uAcCBA1nthuYKc3spA4i0hWgNdFazgbK8n3iEjzct380S1rd/f+mkAECJH87O21/2v76eALQM4MiRX0+MKqXsFXSYAei8/d3WXLHaoQNTUga4AYSGiesPTSEASvwEwCrin4D4GYAv4m9MS5M5yalGX1uixccntCDwKqf5n5FSboGNBw4caG03m1tbz5zZs3v1bAAAKvtJDAuzAeD1c0r4DEBY4f4DKH4C8AclfgYQxFl0etRWAAj+RwjA6DUyfuoC3xt02F6JnwDQ8UNpeQAB+DTY6op/HxJLU+au3jj5JYRPwvR5ZoFN3v12oVxjkE+oXbG+4o71WH5dJa9VALD7wBPMArvP7AEAfaTVgm3NZkzcszHoBCvhM4BvhTcfMOCB8OZH/sDxp0hrCwA8PvKjNqkaAPaL80sAyvU3fF+sU1tptspDaRkA3gKAEIoforwaAPhZ3f2de4RWeUvAARqDKH65ZDKE7/nxriexm17ZtO0JxvhXX1n1Q5UAYCMQTCsvn7ybEuYL9JE2q9jfZJoSBgADEP5xt757MJM0xMcHUUOfzr9Pywlua+vtThhJAOvdPYDc/LjRayC+CxiDTm2l2SpbeJmPHywzyhLDXH1ICI96wEAcAlIr4ABKSThuXt4c75ByyJ2Zj9qDWbD2SSJmAdaqBSp5CdPoB5frx9LDdEVDG6C5cKnB/xz1kdB3rAcP2Bb7+X0q9GtOXirWU7HGEgBSwI/CoehosrIT2f7pFKmtNFvlYF4W/jvAI6kMoX2y1kBIZKBHu1PDwfNI7A1ZbP+UIgPMAn08hFnAIOROal3P6pnlzSQlK8pHf4F2s+AwjSRNvDsCadl76bQif9tbqDBdNvzPfxcy8+nCw1OULDDrOukEi7PXnngo+IDLY8UZZMmGOmsMn09yPTI8VwjhWEUkXIY4mYVu2/7qq9tJXuqsLoxJj+XMZqEWUmdnskabf8olWOI9Rl9Ik07vqeh1id/EpqZRUGKOhksqxveuZGm0Idx3g//+BPrd734n793wXnuFEoUOXc+ClJcrC4wiI8rv0On4GNUbbh8TBRtwDOPVWerxv2P9SuiPukKcBwd0xRPusuLSH+/xUmd1r9dm5XsuZzZ35kBLxCt+ANBoihA5CY6YAODEmnS8KRpIr7cBgJp2uyDkahcmi+EAUE7SpvPQFRrw9yfcvk5nPHUyApDokQWPBQCOXN7DafPo+ABH1RN8fL0t6OrVq1X3eC7C8dVZ6vHu2P/4xz//WQDAQ44rnmhXFlrYYxeAW+mJ6bcSEyUAEFCyqJdPfkX6HLp8+fJXBEBTyAR2uAD0tWjSfbh9BGAUxX/1zi8HVXcpAHZq03m9BNBptXY4ET8DUOKXANJk/AxAFETYbO/ayJ3aACAwcH3gep/Qru4PUZ8w/nW8X9gWOMSdZR7bRG81jkOU1XjeDUArFOey4i++WFW1vr4NAMTLaFjLvekuAJvylYKIXIcvFcQItzLB9o5G44CzylcA+Pe1+GjS+fojwGDO4hbcOfuXX35bnZ0deIgB7Nyp1QqrygB+1Wb9lbOBAUQTAOV1XuwhdRZXI7Q3UVplfSKS45aEc0MH9p/yTveKkQCw7WrIXneWmYDMrD3++Mnx47x8Iqt8GiTs4+bJ8y6V3Xj4sOLkjV27qjA9AYCBvGJsQkLgXraKBAAEOsCdZPfLdbjjRwQAUOJvxy7t/BK+NKuPhqVYTX6PEHJ101+qq8MWLcrUqdf/ne5Pa+OvMLPRPB3dBw+ychaDSkers7gaFiAliv31sSHr14euv0o8n322XoeAHXhwOyuydsMYwJDax0+ePD5OywCA8NM4fAIwdWfdtIqKvKyMXbuKDPWFRS8wAG3r3lvtF0RBAveANuqv7K2Dc+3K9Z/g7gGtlKRja9sjPjSQF6/eqc7+9ttztKz3Z6uarl22BcqL+jvdo1URvyqzGbSUpOTX6XlkW0mvpaqzuBLA6dOxOD4DKMA7koRzaMyUf3+xczUCvlVgic+m+CWAIUNqjz95vEkBwJdfAniVhj6+/xuRjGyTAO42XRjVxJMfACjxE4CuveRlC2SO7d13NJD59yJFSQD0QRj+tPHu7flhpqv6y+pv/9lF7wn0QexZ4g1bBIBZBCAnIsJaEm+QAJT4f/Naqrmndd2wCFMPhuHTp3OWQDk6vS1hfcL+6v6I/iU8vgPAkAs1+5vPIn62zt6+56AsdNChjx49OqcvwsEQPx2OjwcAIv5d+YW5hfkSgNZ814wNGADHP0HEo58Q8PXe2Fjx/JkCxd7T8uXn+CUA3P4AILcPFu8NuqrDziF+lND4hfCjigAQsywKozQN0Esc8eJ89LTHLk8+7ZmV+LnBnJX2KNAA8KvVQ//9xWTYkDNnJq9VW2m5XF8vl2lSx/X3AMDhU35kee7yXS94mfh8St78RNZDOetAEwBAmaRjoS6t4a7M0TKFcWxNtfE+cvvgsWKCjs3U8jwFAGxd0w150DIAkHO0QSjaSPM3Pa6BI+RnVtojAPAErBRo6AeHtN1YDP8uRra1aiutXgYALTZ1H287pn+SxAAA0pFB0aQT7wuzKbOQwV93kfC/Qt13j/TI0k5kg2Yqox1YY0VBwlKdWXgx6VvLzKlRrPEjRU53Q7QQdpenE/bW7G7JBpZOpUmfLVi9arXQWkhtpdXLZP8WzFsQFx3Hh2vm/CjrBZaX9UbvmzenotZWWmpZ3AOJUgvCtkq/2u2Vy0lmbiOfZhxLqSWuyC/FpS5qbCyiW/6LUm/om2rv6mrvR9VGyCRkNErs6uOprS2bcpaZ91Bbd0CTmsTiPd/i8gtuzxGVPpoIebTY61qJ+aT9pJOytEnQ6NfiSBlxcbWsMTRG7LBtdFvJ8nxI9FAyKEhgkJRa4jqHpigjQxMZqamry/fV1Hk3eWRx198zmjTpmEZovSbe7tRGq4+ntraGnlY9nJfT47Wu5YAGVIKSZIEF7y8KOrg9R5C++r2iI6/W9myvF2p3/YNwyqQYcl/Fc14TkcNAk+r60AkPhBzg0wkA4GNi2fyDCMAg5VURKkfz4uwOzWJN0GBNuR0Qrnk3jTrrqlh68O1wvDlyNCBp6R+k0Tqq7ACgOp7K2koA6b7xSgFGeuTgvkElWBYAEDgidxVY8P5c0DGMrbLTgx908tVTPdo73uumw+4baW94WByTlp+fFuMCkJGhBqD1ACCeFP2pTg/WVzkgTpiXUV6GtCCeD4Li82N29vYGoDs1/Lrvy379ngcADaWtg0JwMAe8ufp46gIM+brdYnEKL4/lSF5fItqjFE6ms6/g/UVBB18Qb1xgeno4x7qqf/XUKdr81i2ZIfJaU1LR0YEsbUxMWmnFUQEgP5/sYFxceXlWn1XIGR6w0JzDWosGZ2SIBgeFwJvDeBBvtxWVz5Ior2Xle486i4KIO1fP3aEXkiv0QQ47pa9CQoTTnP304227d08ejwMsszRaylwAZIGDvwCw/RQ8ObRRaBUXcIiCDpwPAN6NvQoN5vgHngOA5XT7NDVJa+31WUXSjRsxa27EXEuLawGAo3HU/+OysnBjlpdmPeNnExkYV16+HO3NEKMQJjgrGizjl1a0MTLI4xL2vek9KrBg+IiuhBRUFhMAfrojiae74Kcf715m8j0+ngDgj/vBR9QOAyArUmj2njc5cJmkOLCKa5u5PTO4YMM7cR0REPELAMtxxA0bpDX3SsXYFwNdu5bWmZN0bc7RjNraOMSPHpBRCgCrKWcYKq//njNrp4kGmyCQCQlGg5X40WDZA3z6u3vAnUEjRtw5d+5LAJi/Qm9xcOstFht9JxHp9/TjDeteKJyd7AFhuVPKhFX39vcXXd4hssjbuQO4IGxkAD6iPZy1Rg9Yj/g5/IGPAGD58kJ42Q0bwnE8AUDG39mZl5eToyMAiL62Fok2AkD34O7QM26jlIcG14oui6sYEjymrpxeyuUJlaZuqViWnz5Y0x8AQpt7J6V6Hxs+4k4N2chD386f/6EeRseB9lso89oBY6I+3lhVAQYDSHfud5qEkUEWGftj574ii2xWUqJyPTqfKOjg/WlQ5P7v4wJwSguhoJEV7hW1huOHKO1xDQD45aJWWyoAUAPOhBEAgwtAbZ2YhC2haDA/bbkfNvKmxmRobJF5mgEDNL/Q2EPKU72nD7rPPhq5rwf9CIDdageAUK2hod4GAKrj/U8BRiQ/ju8/R/7UJ4Ssbl9HutbpL63uUws2RH/k5bKe1vrKq8td1nsflDsXAES5OXQY9da639SS6uQswAC0ByyTlR6QAQkbEgIBQNbicggY8qCpdRpb3M6dNAguS4rTWC4ZjwVCXIABCitgdZ2RGNBDMAs4bSUAoDre/xRgsCFYvx5hkbkVVjfIv6/L6j61YIMLOs7ysuvttdSRV+vcnqEecycAiFpbFtUbiEpbzpiy6NKsDlhL/pS1ZQuq6TZwkjCYJOtuSVNJpZ8nIQeaf/NmPlKyz9R+b4T++cj46JF+9iM9JK2un5+0uurjkX2T5Qsso5Df/7O6smCj5/a93oI+5eUjKu0JVpLMJK/r18PDZRaWq4i3k0ykcHbLKmcqaoVlCvcQtGjEjyZ6emF1Fre3CpDa6vKZhbHn8wdLueytnqU8n7CTFSllugeMik0WaJd6CrUZDTfmwep/cY3S5M/hmqjP73V9Mj0uKjnA7ZQtFebiRWiVt8x/yrHW6GE1SYf8Hraa2psUa2m0QWRlQ0QWd8FiUrkrL5XK+ytm13iiUog3mzZtQbANsrpL7CfpySCz+G8BXEChYRVAxj1vSsmCDVUBxTfFTq3zpDO+Li5/Q9OFlrg6tdX2MovZCn6MtXM7PS8LAPQ+HQA48IcPeardqFesJtf6HvL2bby97tat9unCCQIAz/ORkWKeBwB3PgafKWxOFVYXCYvjwuqe4NAlnpcIgIhcFkQAAAfOfwwNIwAALR4IkKEpMJp6ZrWj1QUUgx2Yde32G/hIB+VVx6LUVlsCcF2Dyt4MQBzvFQgAKP62pvA2CUBaTZmF/RjLEV+dn7nuVvuo4fQRFQBYoHRH31DKAgdX5EMSb0ZGXIy0uiU+JcLqEoBprvgZgBK/BKDEHxYBAIMEAG16NQDoJYAdO7QCQAKnL043N5+mbpB4qNEZ77CXlFRk5FMJfFOd/OyOxJ/deZ1A99+8Weue5gjALphFLL+yezcB2AhZmy5Y2Wnh9feSCGE1ET8DAM2D3WeHDKFuMGi80R/hl+CjqvgSBsBlc5V0vMpCqigRF4viN7AVXV252B3+S8jaKtdTZoH5q7IIaUUjJnEBhYHWxysA3ty4482Nb2r5+KyMuvw64fQqnBknT2aU7aQe0PX8MqoXaKUsaCvivWvQmiQA7qHQ5t7bkSt5RctWYzcD2MEAwsNDJICvFi7sewf6knRnIltPn8vdxGNYvGkcAPj42OPt9hJfTqpyAws1GRnaImRBXQAQf4mBG7i2snwnaxlp51R1FjnEYRfqgBo69nHO0YD1ngAKNxbiP7S9BFAXV1EhnN7D8KLw5riiirq4lXUHK47VIf6mC63tTU3trU3T78IJilJSpQcAwK5XeLlQAXCg6oMbVYife8DCep8RSqkpACD+e0hL70UPGD5S70/pLXQ6pyhY4BzfYi20uNDgBoD4Bxi4gQyQZnVZPK3OMquXOecIdgQA0vMGuPwbD+yg9RIA4o8T20+tAFvxlV59Te6y0Vh5wWQytLYaTOgBAFCp3KNiEPzxrldUADD8VV06/wUWfw4AZDUVqzoSy2GXHwyZiTGgHwGhLHGoj7Mk0jmUAVS4D54BxcVcr90E5fUfkJTGb36ox4gSDwg9hkthP4RQCDtu3Ic6dYEDF1CYPAHweowBwgqPbVoJyXJXfFCxrCgjDv8Jr4urO51bk1GBLDOUQ+IssxesKKlSqveeH7+iBnAAqo/YTTogsq49rOfB7m23brUOp2UGQNH4DJ1gEVnledP47pKvfLdEqd/9occo8TMAJX4CoFXilwBg+lQA5HoFAIcvviiZWsHXH4q5nVDzk9HqLLNXUaFLJlORqahuz4uQOCDPAkblUYvkx1bTw3oGt3Xi4ivLsoDBnVWeygNc3mYSsoQA4PnyFwDIMCglD8EjXc3/kAQAPbPE4Wx9PW6BF6RDkW1ci2+K+JsngQE9AB2QOwEudGNdRoU6y+zl/ohMmjWyf6uiyfduWEVSnJ0wZLw4UvkMTaebCCuqLOtVFQxKGasQdwSYZdcZPWweSykFFuKwlZxoOBdQXIiGmvUkVxJ5g5TaSivnHs3SqeQ1UZUl7Q1p9Bp3kQWvFicXNvvQfGX7cR8fmqs6oPozOp1KAqgClSyw1AKSnqVA/PbTXj3E7RWnn/81jrcb4loHme7+n/Pz5krWuu3GM5+hVnmOfAICAFVWtzdVE9g05VApHvNTPawnW8fLiYmPeXvofmCNztv2lRxRuG/p1AUXOl6rrDd6WFGyyqsXQ4oXnKe3sRIT2f5YAsY2PV4nNJPUS2nv/a9wQJ3yewPiW2OcP3wDN8LQvIHP3zO+7/kXJ8IvrYGuJBUDgEhqyruaAJSXa0I0eaSjRwGA1otw2DrqOs8HBt6hzb+tSbi4RAdn17jE/UI7UwJw+Po6xLOFjmsroj//fEMmr+eCCovl6lUfeqHu47d2scsG0WA5eSqMj1AovM/QiAB8JXZnnRvBul6u9k4/v9Ccmbzwn8ZIgROwwDPET6sxdeaEa5xOTfiSnHA+//OeWetce0cDVAzl5BwGgNb29lb570L73fZ+AFCqsWg4fgCIYuspLidbVxzwNgggzZOQ0o2AyNpG2JWHKQZgJ6sdycvR3CGdDbYyE6kFABD/+uyEgoFcUBHQEAHVV1XxZyNhcwUAy/r1FP+UiIBZo0zmY+2etcQc//3uzE5T54P1evSokvj4SB/w7I/jAUB4Z3N6ZF8f3/TmJRsYwMILraQLUOvwz8ocHR2ODlSo5V65sg8ANKx0B7IsJGGtLaraXXF+Nir0/r77fPb58wkXM1HAAACUpbZjvQJAfJY00EnLRt8gdPXPIyIuiwoRLqi4mlBQkFI9gQFQUWpDhNNZbwWAXADg+AMD9w8dOmVKaMAsg2FQ+3BYFs/2TL+/EIN4Z8qjgXqjf4kdpoP7kwCgMWkdMGNDI03hOD+11+xhrWWt8uHiwyfbGk+6AdjtjkhhPV3Fx2F0/tnyszixP9cCy8/UshP2y8/Q7Brg9sHeImvLX42JlLADy+E4HrxxZlhY8gSuEGGrjOrnagAg4wMA9RH4lCu+w5lLADpQ+mlxxm8LvFUytKTEcnCWofV5fOVzzAmVlDk7yAneP4/4M79GcSoBcJb4l8SHIH4+Hj8oNoeGLtv8kNojASjWGlnwS5eK16BMM6eidMlhFwBtpK/Bw3qGqqyn2J+SkASAPtM6fz7l62QG4O8RvwQQL95qOGnZDeCyLGaGVeYesL8ayxKANl6Lt125+/DV2CVTZZGzcrHZPDmvbPLm8O/RA4a39+uux+WQF2T6/ZZMxJ/yDbcHPcBGPYDjFwBM2lPL8jafyTCF4/zUXrOHlY7iStXDEDlUAPCNdzgdeHqz8z9Hwzx8SQoAR4/S6/yYo1FsPbUKADipewnZeMvxZcrS7q2LuNY3TMYPAQAUSfHbeDma/1xmtdIYYMYYQE5yYEFKyjdoLwMIC4sHAPzHSQAqKovi8L5w2uT8yrz8uPLiWStN7Su60COnkADg8fkWU2dmZkr/ZwWAoCCMAUEU/7M4np9BE57TrM3avLm8sHnhBkM0ffbX4S4mdoSNXiPiv3b7ypIlt2/rvNjaYnwXFQb99QRAO5QB4Fvio6PZeor4OAury7mYXfMtWeFvD/X6OpNqfbtkXpYLIkTBhX1w30gDA6D9Mfp2d/cTn6kZg7gQoLpaFlQsKH/J9Sj6p1/8Yktq76LFIDAtP39yXn5dXv4zs5DFqFB06Us8jYZn7v/GVRCBW4qrC4aKMQA9wJyzJFqbn2+IXrgkmgHkDqRV8nwE4DDU53DO7dt0C6gLCqZi+tdatHlyGhjN1lPL4vVbAwPvu2aVOyn7dd4h92ReVhREqAsuxk6XqyFplT0LMILXyklQUpiaVJlfWRkXt7g8P6M8I2Na1KyVpTt2vPjiRgjO/MAq3RKopsDd3lNFbuVDWTj/hmYTj3ctzQYCEIFRVzkfirUheRdcAwB1lpXsnyHAFOVyj2w9hdPk9UsPjVM+Oxv/9cdzx49VliF1wcVY1S84eBg9JavMLlyqeOrhw6mpl4qjooqfiSruM+sErLmHYP7++sijvduVYgfa7gX1+XV6Y48TzoF6WOFPDilfxZHUWWB1VlY+Fe12qTe0wCOIQKkE+SaAQcp6E1JvlZRSYaH+AyCPn1sTnxMqmq2SOsurXl5L6vUWnYFb4KXWJ3v39viFBXXWVFpT/EFY0wOiSjg//03Wmd5ZdRcSL9SJdyN4MRK4cuX69bHvtjWyLn4claHNqFCssfN/ACSSlF+MGKC8+fSFjHPbWOJ4Bw/+1VsldXvVy2sXQ+ug2Fgy108DwIHXPr4gfmHhs4fQDegL0g2dPhI20/2ISwA4B52fv5EeQncAwGk0/HReHj/u5qUGrny+oCBWNPhg48GuKK3GcMkKcR2DddI8IfQYIffvA8hfjEDBBklG4A8AHDj0DnTwr656mAApdZZXvcxWe+bM27e3bQujn/J6CoDH/FFkQs1dBnCiklL4izERbebSUmEMTE3HzOIzOQaw42+dnX/bCBGAFjS/heNXADQ27u+6eLHrIABkGOouKVmdsgyhiooMoU/58/ga1vnzNV/j9beUqB94v02JnwDopFxPzOqCCvUyAZi8rQa/d5f9fwAkcg/APXteApgGFWq0hZM9ANx9fkWTJ4CizOQiAWDBYnR8cf1BYHNq4PMAEAgACfsPgkBXVMWlS+gBso6lapJGqKVFI6T+BQpTz6ywuSzeKVVG6tCxtrZsdQPgeLu65C9W8LLyCxEAgFlm2+2IiHsAMOWpAKgHXKAe8AQE3j5BxMrp/NO4tJQBtFOKpp2sJAPYsTwuOTnuRQbwfcWNG5eEMLdc0kkABxMu7t+f0nWzK75nlrdMxpe8SAGgxA8fYVJlhf+nFpkVvUSn6RQAOCtd39WVi3gJQKS4f0R9bxAATAaAewUFADDlqQD+W9y1hkVRRmGyy+6ygrYleMVCM4sQoRvQKiFSBlG56CZiYYigEIgFlcJWhIJ0YUuUCLMbT1mhS4ClaRJPEQRElhbhpRD1qSyhInvq6f6e832zMzta/arebm4zOzvnnW9n3j3fOe9H8f/gev6HH57vpPZyMAbK0pESpAfz/YKA5YuWvb9skdnMBGCq6PO2lpbMz6l19pWhUZdg8h1ljvLHSOCiZUxASxyw/eM9F7Cbn1LHNGWugYHyv3pJgIcDhSRAla5B/zQCZNvdnj2y7U73/lAiYFVJ3/33980jJXkqAsDA84e+aaorq5MEYCaLlBjiVwgw73z//eadZgAEIAV3O6YB9qN4CASQ1t/KMkP82BEE4Mu/5+ieoyDA6pnVzd3G6Ni3r0P8aVqwNA94nJDcetfnWyRuB7Z80rqDvv8MPA+36y1M9W13escIEACVNW9eX9+8vyIghr0Fnq/r/IEdFnq/xP1fwbHjprFqZyYCvHDaYzRXGBkHJAoCArby5qtJa4KAGctAwIzqTR9/vP3j7Xu20whQ69gwAs7UgbPIfGyRRUYxs1LMCzy6tnWTGj8R8CkDnUfyDyc5WOiyxCtmQmTOGxcXd20cm7mdTIALI4DwvHBYGOopjceO9czaggDcA0TBA+4BIGCSsp1mr8YIAgKrqqs/BrbvOWr1lMa5egJ0WWQQAIhqXgAEqE9BQu+3OuilvL7W+FZKOAmHvYuBkwl4rV81WCB4CmNtgncag+XfKyr0bWyiq7kK2MDQdb2dPALUtzPWywznWolWoFcD/fv1Ul6pE1DKjVmkiloGPgMvPTh/qpGOWjsGoPeZUlF9+ypv//pVTspyLe5S3n/paR5YynvfweDt+qzzEAn5CWhkdySGR2NKMD4+1oH/c5WAsv9lO9qSqJZ5k5LbNgukKuerrxUmKrSXzyTQ2moSuJEgiiouIKBfAPBTpWO0IzJS9rAsWNAWPLR0ZQw9VyIisH1UQcnXnJVdSYjg/U/Twcdvl5/fewzejv0ZSlZ2SDmhsLs7t5w+I2yIozwjwwGxjFcZkflh+iz1L7VBtW+jzc3pzM8CwoyGUM7hBcjz5YIKqTSBaWrWWbTxcVZ6IHhgYNMAZ6Vv7ADEk4J9jgUBE1TpiConQzls5WJji2IHStN+8vErCEzzpSqlEVtnVG0dylnZEioQmMf7y7jnzXMTEDjBF/aHAG/n/YHD54us8xDE7WjurLVXuPDDlAjIiUzPyTcY8ImRKSBAZH0PHJAFF4+/jfDwd2wl5c5jw8xB9cSAzVeeL0tleZ8gpYik6yRlQp0KMSkrXb3uq2EXvpv8LmWluWNFEIAqBDcBqnSMTiQCEH7R/D2lu1ItkJZdBWm+aWkj0qq2YjtnZbkKawbvf4TQ39/d3d/Pf/TZFVjg+xID22l/jv6aiyYOP4DECBNQX9HgKMx3VRAB0Q5k9nNiiYCUICaA4p84ejTCp/25zQ21zCCgvHxmJUZAoYEJkOcLLzQMDE5fsRcaLDQ+BA5to8IwImCA4qcn7cePX6cSAG8zI0nj8WJ6fJQqHeMdiZH5dPk3IXyjOf/rkC5fhF9QUFp69jkoNOSsLBdIzOD9ScGcf+gio/GiQ+dfjxcYMV2SAN6O/YGJzcaJQuoSARXfFDkiwztiYjPzw8opNZcSaTBGRpYnwhwT+59/WEijfux/heI4URk+8+aamZWzzTKNPUyebxKZwRURwskLbSqatCj+nTsPCQJ8/Dyn35kAY27nV7VaAiZdDAjT03gUfdLl79rVbcxw5M+mvjykMEePSyutikPpKkvXEtkxzwQA2wzANv6jT0RBYJcggLfT/ofroKK2NSOi4ZOHOEBAaE650VEUkwkC+LGNf5SkJRFwzWiaGm08QbW+xxxZe/dWOvdmhs901EzP1BAgpO9UR74U4sBZbSYm4KNtOz8iIAlLSlGVSgoB/vUDQWb+bSAIGMnnTlL0ivgcXP62Tbu6zZE54bDW+toPI6CrNC6utPQcGgEsXRE/CGDlxe1Tt8Ay8NAtz9KffWBmtpXCv/NO1RFip9G80+hfh+MTAfmFFbGO0AUdMZnhsbPLUzLSMQjQ05kY5J8YGUv7L2scfaB/XOMLtH+8MysWU9tAT0tfX7gkwGgdIaWvvlZZEPAhj4DPQIDOoYIJ2GdsQFkiDDLcBJyvFjzE5+Dmtys7qDwW1ZIgAFJza0HaCIRf+v3XisMD1+IKAoRIsaRmp2/nP/pEzPAkgM3TcAecOFwc35Gf73C5CuubY9rDQQCMkVPgCms04kVkfvhs3v/9/nHj+hE/E1CE+LmYt69vtyQAOWSY1UkCZPyybQ7KkupCP9yG+ImAG2vUyXYyiLyCCfBvaPDXEGA8Xy14iM9v67Tj4u++dPduJiCgYF7p2WdXVZ177tenfT9CODzw58Wx9OQMlq/9ppvsvufSn/EVmAECKEGnOkIMP7TN/9A1fHwiIL+jor4+ph7FuUxAeUo+EwBvcBDA+7//Pp8PEyDiZ4AAPl8iQErfE4cPc8GSBNr4hDK/Wrb9ieOp8YGAffvEF078NmDpeI1a4DC1vjYxJ5YQDuArMCuwC4MItjaY7Kq6lmtz5VOApScr2DE3QcvjP4APPZ9fYpyyljdetMkWFnJ2lghIsVgc+UYjnoL+QeGz9ftP5cd/bCxYIJhk1tn6F7XC+qzzeP32K94ABAEXAyCApOONkwGRtT1rSLxaPQzAP4qwdKk34wvOEn/xKnDUmzBGB9477w4gj7frfX01hg8MvMbfYRZLmHAX4/35DfyOydjbo5pZJn1zvSXUUmEBVb4L6D+f/yMKQKYRvPKSBgeTUKp7gdT0c3XSNSlaZqzjo4upse0DAVFcDHytgmt3rwDqLNQXbekwAaLAwky1x3w8ofRVua/P4iImwwcGNQ198OBBLy2mMlQSnQGLF/vOnD5scyCjTPEpVnZhFjRtdkrbHX8U4JVUUVFfUeF4z2wjWHN9NtZ5SNFop8PBZXzF6dmjID0/ePjh4vLyYsXn4davd0mI/uKh8CWm2Wwz5uN2ki8xS1tRsMDHQy2ytnfzTn3tMLLQhocNAcETpOPEwaHeBz0IQLM5Q5ixzX4iIzVjZUZ2yr0ls8gQvEw6RNCdZm8+vmLjbXZjsGfbnTGdunBEgYa31/6KehdKS9dMkVlfH79JfdousCSnK7ANPviRlgBIz4TmDx7+xlUyq6T+vpkzUeM0EwSkKSil2l2y2AQBNTWoxiSLTZa2ggA+HipRAf65DxABOBN3HpMImGS42cClc+w4sXmoNfVlDwI4cDm7Ezt7UmpMQkRIRMLqEkYZHCJYOmeGH99xfDcISDWkTvHwPU7npplhskADBDhcaE5fY7EycimrmqvxCU5yBoIAZ0YqbEKH5W678VgFcsz7R4/u3MsIy7ZZFaQCtZMFAYsWGY3bXmACRgoCjGaWtg8h06Ma3N3+4Dlau/xRAd6CAJmCIQJsqanW0zUE5GjihxvdsOyYkEC/iLensB98SZl0iNiLG+bx3cczZ4832g1TZPxyBKRsYTM04XiBr0CM0+VyrrmYSwKmjB+6o2CS77qFC5WSl2hnW1tloiUE99yQoIuoDW3WrP19eAYMGwY16uuN2IDsXbtkSQwREGrYtuydDiLgHZNa22tmKawYQsRUiIIFs2cWOMgA3Ky+tuy2W63eY4d4jgCKX5qxPZFhD5oVaX9xeiPiBwGKQ0T4pszdxzcdnz0+WG2rpPoD5fMofiYgz4HLDygjYKhrfqDvsGTFwQEEVGbh8o84e5h950RuQ5vVtx8MjEP8RIA4YEJX6S7hQEG+xKGGmnfeWW5sJgLU2l4LZX0VApo3SkcIszZ+aeCw+D5gJq8Qcesv3t6bdyN9oBCwocKloKmpyTW4KmHx4mGLnVOyED9QdmxvZlvbk20gYNPu3cfDmQAZPxOwfosYfTTbRZ4kXhdQ/z6AEUfCYLz3QGDwsGS+/A8IAootCfh2+gUdIqlMI2B0H+KfQfFTZ6c6AjgLS77Eoc3L33lnUUcz+RKrtb0Wer86AmKE9jfrsrj06j5NQcMvYzdu5OsvQStKuGd3z8g0Bc7CzY/RyASobYAQckPCTdK3mJukqP6A70G4Aymf52W1EZRvsTWXtHM20hUSndEZVrQt4vKPFFJ58jdNfXPm9I07wZnJfaZt8maxU6D5PCKgbhkufkcz+RKTtJUE8PvlPeD55/kxcPfa0++RM/EA2d9ByRnuY8cV4RU2NSo1dcpULQHlhoxYEf4ZggAZ/jyE31g1NV+N/9iQ3aZp5Fs8nCDOn9sBRDl0SBSyxl5jgy/RZnWnQfunwdWcgPRG3NEgKviZkNs8XErJyW8coJo4jh+pWZNH29pVw88jX2I00eBGENRMvsQsRQUB/H4qxmasB2BuFp0jg+dmrefCxk4iAjhLTO5x08JgTD9pWpibAHiRWSIRvyDgSRDA8SN8ip8IcMdfXX0MBJBvscZHGN5iiJ8IyL5wTDYISLUB6n28FtpftrkxC0d98JCy+9e5peR57FEk8SkI0ElN8iVGaVxNjdFcCF9isV0QwNvXqklvgAjIkUOAAQImGW82KlVaIOACOKmOBwMqATnKUwA8yBEgKWACshQdn3kcbYDsW6w5v7UYeQSaqU6lEUBunLUCbxOGfr90A5qtjiqAYuqsu0yVkqjj9YBeatLmGmRlC4NCF7m3hwbR/zmPtq8FtPZm0bpaXsg/88sWNcuJ/81QGFCW01DA8k+iCsD+HrtwOhonqIh9pZgCYpghfIXF1RcNegLu1rVeb0+p2pDkmTcmWenO4QI2BXJIXRYVdUWS5h1508aqWXZAX2sszNDUz1uvgvXzKZf40MwX6R0puCXvVeC009T0uSZGL5aimlrgsbq2NdPARqFSAgp4++juYqdmsawwesRrpbPNs1Y4NcpiycbuLqcLv7OzKqfe8d6XG0UWF4Djg77WGFIaULPU6kQJpm0efXTtqZf4GFD8vkx6RwquRdYsEeI9aRSyppw2JYwHATiQphZ4rK5tDVnV6kt8gbQZcVuxHQEmInBgMyAIuIZqd6Ujg00bPhPgb8/KaiqrbGrLbNkNApAvp/dI5OprjSGllx9oKiiQWV8QgMB/+OabH14ngIBTLfGB0IXXGQjQOVLk0WSvcJTg/b1HjRmT3NWVfDWDCcDxNLXAcqkrV0y3UGKUVv4KS06k4a5IvsFGg82W4pTxny4IQPzI+E1sngil5yZABvhCtr2msrKsrL2sJbNpSWwYCHjpvQx1u77WGAQ0lXVtLaiSWV8i4BCmYcYJBtby8ckugn1ozf5iBHD8TIDekSKPJns1S4SMRU3pxStXagkAnZpaYNGuHjElLcIqCVhY2DCnetjWrajuRUbI2L1ypc3s3Mzxn75ZElDnP3L4yJ3NUHoKAcoVDsKZVFa2tcMvP65lScvUOx5JwdpRe1ezozwmS30CRslaY5WArtTcLrmEBxMw7hmgkVYgen2tCDg1JCRVU5w9wPEzAXpHCnah1SwRMgQP3ITkZDseusBz8V6cNVVrgQUBFYGrdwRWSHO0woVz6ue8m3z2OaVLUZxs6541q9uwsuH4McJxk5l+506sI9P+kcNJKofILyjPWI7CXB0IaI/tmUEE7G8JuyPSkIFs0XEpTVuJAG2tsSAgI7iKs54gAN/9ZwjjBAHpQnnWObOF9BZKEvFLAvSOFAoBSOLheIIAFDFnX6olQK4mp86vm8v37i2HYwET0DBnznx8P7efc24ptmMEVNhsIe4sKxFw/sSLzIdkgYM+CxtKBLS0NM3vw11uMBNfgUhaNkuugLYaI0CNX0rpAy1dUWVx4v0g4NFHrxUj4DUQcKcgIDUqCgSYFQIGZPyt75r0jhRUIHF/ibpECBEA45mNl3KPPAgQq8npCDBmwARItKlRre2cBvpl0Ps4B2zrtmVPkPFJApBTbTbX1TWPBAH6goWhWI+wMhMFUC0tRwaXbAYBuP4Z6nS5rtaYf0scaKqqKsX7FQLoHnBtx2uCAGVPbvNKZwKMRhl+77smvSPFipmo9OD4BQFGIDk7N5mPgQssaoU1tcB6H18QUN9O8QNzh3LACcPUggQmgB4AdTv9rxl+1clLbnh3pq3bvHl+S8sgsGTzbBCwyuJu6zHX6muNJ9MSH+/jAPx+IgC3vh8OH0b8TADf1QFaLg1marcyAQNMQG8rCNA7UqygUieO/1U+Ht+YduzINQv4i1phtRYYBEzx8PFFbW77EqXN7N2rva/tDtEvqWH+uyU3QMDqrErG5vDNRMBe7ZoarfpaY7HEh/r+9fT4B15nEAGA6LYGmACcungMAia9IwXXInMWex4fz6wWTwgChhJyGd6EC7QqDTB5ojVNV5BAVN+od3AANJP0c8NUeTo7r3U8jqsuqaGrNZZaW33/ep37WR5B02amb03TO1LQXis2cIGEPF8mxw0vo4TSO6lRngycm8f6c3mL895Tz2D7IGRuUvQR8i6Tvr46qXoGgAINLomYCgz19qw/GeMMv2l8uPNxxQhZ3/ZmtCkwQ1pbLM+6cQvDKODuHLuccBrjlFL6KkDbR6f3Fc5YzwVaAi7X3WshTRmyE9NUbFxsSHwPwJewweXaHw2dW78SSBPS9Ko6T6l6BrLHqATOEXg6zDvbZseyvAEy6zu2MiElISTFnuh0kt1g1lSeKFXPx6Jvw4MpitYW5Rb9+bO5GytfIX3VeISPsFqwIXyJ9b7C/kgZKVnrzrIyFwhwNyPj7rTMlFecQrGvATrLmpYhY5SV5YLUTGNpSgURNVqpCgJycvCDTVr0gQCbPcAOF6ULpZMUChsnTAAdYoa/CATgt4Z6PhabgWtm+bUgQLPuDlas0J0/CEBgmtXx1HiEj7BnBsq80+slt0cwrW35yB14g7L/fU1N5SBgUd225prmZvzT8QIIWJyBq4/w9zaVHXiBCWgX8Z+tFEQs12QYckHADcgv5CN+SUDqJVi2WcQPAi5IwHjxi9pRVNQCFE2FoUIGtxKuIkxPeiUxalSq36jixYziFZ9tOwQoo+DDZyUBLpdRIQAXViN9RTx3bdnyKKUh7lrrE8J1pAUFUqh54bHEEBO6L92xXsaP3ekNdxIBzc11zXUdy5mANcZVxmJx+V9A3osIcLnjv8SeS1ng5WrbSOhS/ZIYdlsCHtDSIv/C8UUJiVEbEzc6isKZgLAVM+1m+xrCQWBNdN4jAci8+zqJEJTu3qp+PTRSuK4C+dHl/BoE0Fp2Bw4I6QsCEM2WlIwMUPDoQyCACyZm4IRYamsJoCzFS3dgvh1QZpxLvkCWt3lnc0dH3aLlNcsQcF7kquJVuPxNB16QBLTL+M+eYIew4CzwIqVSDwREqPETAUNxBTTl9xfMjSzescNZviM8fMCR4ggHAZhtUOJ/GQQsDh6VGuI7cxURsMZNgHL8IL5gD3f+8ENPA7JMd93Jnz8aNSaHxep44oLiB3IK4gcBomAibdy4UsSvJ+AOEKAvOJisLqbGAa/A+HfSt5/iv4wIcHH8IwKy3W12y/3l+TEBFL+6GpzNMwucixHEX38QMLBsERGAG4wHAaHOmc7a6Rw/E6B9vyRgeWddTc+yh4gAWcDR3y+lr/ARvj09/faHeLuQ3jNQyS1Xm5u28WfCbwI/t+oLDkiaNjMKmwUBaxo6cfk5fiKggeIfRj/OcEtpvhxZ4EWaR23hkJynn0b80qP0uTAmQOMHEO1E/JVU4VS0bFlReNjcL38W+Jjwc+/4jW/nTg/FuuF8fuvmHpSOQwC7zrBP8H03d7bcdwNPtbEZm0b6Ch9h3Ai2KFNxbqXGaX0vvXRFAB7L0REBYt21ukV0xfPqcfkXyfiR9Y12pQ3zTbCiBubQRcOx/+XXLJqjdWgAAc/h+iN+JmC2TY2fgBGgVHjtxlK54WGn8AkOsEepr1es4tEB5AEHo0Wef0ts7O0iQM5Sq6vjgQB1KpK2mw3ysy2M0JPa5k7K8roNKd4hmOZ0lnVqV6ML2+Vn99/ZXDdyotj/suWeDg1UEIG7AB4CjNlmXe1wvJPL3ABRkPFPPsG3riIo3xEQIGcZRZhEgPoUoP312y93t/HJ1eZOMifTFRwAJi2ODr7g8frdd9+/6jLs7y5AMHmC5B+yzO4SB5Jz0gwil0ACkHPCEv/kE6zvslOFsgCXVyAHitU5dFJabscO2iy211kmT4zXFUioApyxoiF4UrCKKVfrs7TwRvFwJt7Rdvqxj4cc26Skvrm0gl0hNrAWlu+9SpGm+uONB7T11nkEFvj4B2jV7T958uPT5k4+7zvluumPZxZQzdSefEVncRHlKRXvhLXMI8WPKHeeFfWpU66+2I2bxuuztDeopjkPA2+dIWt9xSIwsWFsniYW1SA5PFYWSLg/T18wofcN5l+D5JPlqidtkGTq3OXx+ZM7MLkB++7QDp7BMZ3sU5zqB6td5TUIeH29RyelT9QkjfEuCPDw+gIBWEYZi2lLPL5dn6X9vkK7uvqun0St78bg2KL89vZYIgB5e9EoCCFABCRkB4waFSgelWVy9ThVCut9gykfkJ7TiQVPmnqK1tyfZJrfE9ilfj4I2LFxdce+jn3+b/ASG3x+2Zj/svtJn+JRtByesj8IwK+kyFSLgoU+fl1pJcDoRrqTNvanpKutuUBxvXVXdwgYUAjQL2xMxcvrqhcutNqruc3tmFzSIraoKbCqpWg2ETBTNEqyEPLB9Ugd5et2f6tkSyMH4AQc0eK5H1NREWHj43OOL316J9DUfpAIWNJXUqDWOk/uwFjZV7gv1PLGp5IAX7vdzzfAHjJB+BRnj4Kxsbrw8hkPbXvo0ewQBe9CKnaljR5dMoj4B68dfcTgqbUt9fVL2g3Z5yhfKzYsMDaT+dghiyQgrQWPgVBrbkvuu9W9+bLWt6ioottNADu9BUIOEwF2q93X94QEapI4feLOOhs5/u6KCmuMQkBDw/T0+9e0d7b3HLw/2tQQtHB/ybw0WTsMAlZvWr3vDf+gjn1MAElfu1+C1c8vdQJtlxdMXXj5jIefKXxw/c8+Er1QSl1bYex73eC4/bcNjpMEpNTUpIiChvr65x21BssxBXRArK6N+M+/iKRv647OzoUNDXMKl7TX7tmDEeBYwKvLhYe3NLWAAG7MdHG36BgmIISywr7utrloJ8evpt0pfuSpkaN2kfSFUnQ1dC5Ys6aop70FvxVMFqyEg4qVNFkLfB4TsG/fGxQ/pu9J+dl9rX7D7NZRtF1XOwwCHq149MEv8UoABPAIaBwcd+2rg9cyAXyNm2XBQkPnlztiUqBZBIbwCGCLjzp/MxPgKK+GCij0r9/elrO9N56qLlnptBw4MBg+m5e8cFH8IECt5j7BGH7iininev1PT9osa4PxiypGSGsQ0NlQ1g4CsEY6pDKPgMZ5aUoW+rw3Vg+sw7y1nL4XBASEWBP8Un1puz5r7XXWaw8+mNJtVbDQZ8LWNEUJv/pqY3+k+v0X94DumApHtLpiob5NjdvcPr7utsJaavOSBIQTAZktLWeFzz6dZmpcFH8ZF0EtjaCeYVmQgIWTk4o1M4+VWVPNuuODgPbOpibcAfct20cEzJ+zv0TMoigEVK/m+CUByDonJEwYAWfJS2i7LmsNAh5c/60GV/gEY4EkjVsc33SgvbDEHdTXqlvxFFgQPUSF3pzse9z+GVWEgp9AgIj/0ieBcNPp90xfsMDF/cJXEgEbIsoA8l0mxA3qzdN4Ieh3VOmNLG9WT1N7T0/PvmUvEwFL+maUqtIZBLy9eqMIXxKAeO2pVmvCKN6ul9pev6z/9lktAd471BwtcF6e6vIEHkBAyu54TfzxenMyOFMzygWGTOXHP0HU+t56j3ITdF0IoJbX8/N88MiWE0sEb/1C0LfiPJwNrsCypvY3yHHC1FMwSiOVQQAeg7J8AzD9g7TGCPiOcYWCabqCB9XxVqAt3mPR1l9MOkD+aZ2Jz9CW+tL205OAQV43mBPQemmql776haClFI6Pjxbo1e1vMs31qDn4J2ntpZeKVgzkB6y+7tetEr2M7b0vM2B6JrerWdbLTxzBB+qzynqCshT4BfAMvX7JjPjElKypUxMdiZI3xV3CIrPEdDlOkyDmXj1yhMsfFOxou/XYx0mQ3sBUQH98fbxeeql4jq1h/vwGm1153bpDwaZO16ae3pdp4QG4aSvb3W1uFzWW9KHAAQUNgFrQYFINHAmmLMMW+sv4ovimN5htFVjj62HCzcDp8UYkiOm2K+6Cs3k1OpRVKlnhvPe43oHTvlSQ8X7UykPyNWFpkpDexe4CjgqrrbvCUIG/u7u7K1z6eEWBREKC6sBgt7UvXDjfliBf66XpyzcXw4UX5dlyu2JudrgR1lq37R+k6WwOXRY0cIpN9SF+NWuLdCDBrDD8xqZYUHpbwfe8dEJkfEa6IyMyIzIofDM1SIAAIRttstY3773pq5TjkTna+4unf6M5/lLZZrfaXcBRERGD6CNKbLaIwLLGTindu7oUKcxS0Wq1qw4MCWBgznxriHgNy1as2vQmgMLNuI4hgoDp0y9Us8Bk7tXYuB/3wMHGfhCgncpae5pYKFlK3XlHs7YYHzM+Zn5sPY3LWeZCEFCyEi1jW7bwyh5vtX6ptAF+DFSblMXYbObuzs5uKwhYtQrF2qNJqpOP8WlEsOpzvEFI7417Kzcvwn0QBEBDlJQsdux9zzXuSFl3EMULFMxQpDCEiJ/Nb1jACOswxYEhwTZ/DjHAr/F+Q4qM/+mON0EA1ieFR+aFQkoyAbj8TXPQlHek8dAHTMBTMn5MZgqhk91gtIv9s7Y8Rlj/li8oP8dvndkaE2M1SpdReIzqsr6FICCCYMzo6Ww6UiEIOHzg8OETh6+l2uM8nqVIxwDiLHJSFknv4tq9mzfvq2letjnMaQx1BZY4sVNZo6sisZDPZ96M0aPj4s5mKQxlZLdhPCOppUhFMICCgCXWEHptaG7GIBDxPx3XEX36zewRugBnL9vi6PL34RnY19j45utrP3n4ecKbEpdCGAHGhiVGaoDfjnsALr/lQf8P+L6UXm+hiSCcvkShrna4cKkwWcFPIXNPj9koCDgwsbFxeP+1JJ3xGvEXrzlYnIEs2ZqkY85KVHdnEQF1ze+AgIxIgyHCFpy7uqy5OAMEsI0vjZcROH8mAPEGQCj5ZZ/rlooh1iW33bbEGoXXMRUx3Rkcf08cLWV98kLJB+jyX4fLX0fT16d5ZpVp/UASxsaL68XqcTwCHnzrg5eZQb/qG1J4+Ct4K10bv4YAY4WrtrY+NHSFGAEnTvQfuZZylnjN8R8EA5QjjHZL6X3LQMDs4sgUw7JAIqAx0uEPAvj8S5EWl1KYpKEd9Xw0Ia9KRTDwwAMLU6PO9jZ0d3P4lOmJewME6KTkVa6SPmigvsbDb74mCFDjJwIGXU3AEQX70Umi+qQGpba/fLNqsksE97KUdsO0IUa47GCuqbbWbAmlgFHwcWI4jk6lt71uvwdRshOfpfyU6Ozra9rMXWaNByqaWppccUGQ0uL8x20dgaSxJIDiDaH4tVIxxLrwgQfmpIZ466WpXkp+4VooLj8qWCQBavyvjtvwjOfrL/yy/ahVW3yDfAKqM/j+z4Crr6VQ5yvMBAQCZloMGgFQVrgEXYX9OBoRoD8fECB/SvUAggBzs6UszlVcaGYCeK0KavbD/kzAqaUixsB1ty1J9e5Vbsp7qvYgw3GStCQp3NdY8vzrDBCgPvUIG3y6BLYKeAepbFrS/f27XlZshm9gRF/h6SsMAuRTgN7DBOArII7feKqCjHihH+QwYAL487qRpmMC9FL4r6Virgmo7WVAYP7Ue0ppif+1/4sTH7izrm5jsA0C+v2nELhEpJrhr1teTilEUCCOcvRortxpxYqkJOXopyrI0LflWdxrTwicJIUf2GCaq5WGSTC4nzZtndvyIgzgo2G7B2SNw1VXjQw9R/N+/epzQZM1OWZgnhszGJfq8MckTbGtbdIfXv82TD0xAzs00jDJiaxncIIsY1s3Nyy/PMgRCTsouR0ODVF+qpPt2P66ukOWBPX9l9cp6CkoaEk7z2io+YaADlfCVaNHqEBKqErGHa4QkD3l92xeZZWqAX+fku31b8M0vy8QpbCKFGYCVq97e906tvYhAiLb2spRmy+2gwBEfoni4njJ2MGYi5ZftDNhgnw/CLhIunuPXJ6WVjMZN9FOrRSeN8LdIgkwAUVFOQtynAvuKSrCC4Ph1z9+tRm6ugw2/MFg8Pq3QVnVsq+q3VlSImAdCEhel2tMTU5uRYNCZnkbehPk9pBsuwLy6LzQ1BlxzfKROy3yfweDAMR/jSwrWT7ZuDLBMCBvgj/9tHU8CKDoq6q8CRczAU6MAAyBBQvwgi/879lRUfRvw39BgCuwqa9MWeh4jkkSkJycm1yLv0BAZmI59WZI6asvUKC8PFWLi6zGyCtAgDR3H3PObQ+keUfFzAqJql5XnZzMbnCt80Yg/LRzq6puSsPEEAgQGOjJFH8wEH4dExx8MS7/f0JA55KyOftlv8WGsj3JYi2L5GRj7eNvm0FAW2Ybxf+LlL46qUq+vX2B15xPFilw9Zl43uV1irm9IMAeMmuW3Sj5hRIUBFS99VZV2lg3AZkopJQMSJ/jm25KMPxHBPS0NO0vk+eHE5wWLK29UpPffhwjQC999W1uuIeU1cD1REwlnT8ZBMjhf+W5D4AAc8isAnM1H5L79ogA79KqHxdV/aQSgPjBQLgkgG8D+Ps/ImAJrv+c990LKU9bLU82udZci2puvfRtL9Sux19/namzERUFO/3FdGBklljiYqRKAHyWv8Is4k8//cQNGCDAG6iqajmGphVJQHgPCBhQRkAqf/v/s3vAEjV+QQDHT0DG7vFWvdTEkFduGDxiBiOoXWLxGqVgQV3i4qZzHzCVggBzzziNFJ43huMvrfqpCk07IICR2TMwHwNAfQoA/9VToM+15HzNQspz8fgHkiUNraeQvu48MGDqp6fgYnfFQrS6xMWFY667rdTbaK45wBBGF5fNGKN1uU0GAYz5bh1wCS484T/TAUdNk7ULKSuFvK0SJ0lfHS677MzyFZrV1NQlLi6Aj9dYb3+T55IXM9CxogAcV/3vSvC/Bj1utPD6n/EnnaQbrf6BCX0AAAAASUVORK5CYII=)}.react-tel-input .ad{background-position:-16px 0}.react-tel-input .ae{background-position:-32px 0}.react-tel-input .af{background-position:-48px 0}.react-tel-input .ag{background-position:-64px 0}.react-tel-input .ai{background-position:-80px 0}.react-tel-input .al{background-position:-96px 0}.react-tel-input .am{background-position:-112px 0}.react-tel-input .ao{background-position:-128px 0}.react-tel-input .ar{background-position:-144px 0}.react-tel-input .as{background-position:-160px 0}.react-tel-input .at{background-position:-176px 0}.react-tel-input .au{background-position:-192px 0}.react-tel-input .aw{background-position:-208px 0}.react-tel-input .az{background-position:-224px 0}.react-tel-input .ba{background-position:-240px 0}.react-tel-input .bb{background-position:0 -11px}.react-tel-input .bd{background-position:-16px -11px}.react-tel-input .be{background-position:-32px -11px}.react-tel-input .bf{background-position:-48px -11px}.react-tel-input .bg{background-position:-64px -11px}.react-tel-input .bh{background-position:-80px -11px}.react-tel-input .bi{background-position:-96px -11px}.react-tel-input .bj{background-position:-112px -11px}.react-tel-input .bm{background-position:-128px -11px}.react-tel-input .bn{background-position:-144px -11px}.react-tel-input .bo{background-position:-160px -11px}.react-tel-input .br{background-position:-176px -11px}.react-tel-input .bs{background-position:-192px -11px}.react-tel-input .bt{background-position:-208px -11px}.react-tel-input .bw{background-position:-224px -11px}.react-tel-input .by{background-position:-240px -11px}.react-tel-input .bz{background-position:0 -22px}.react-tel-input .ca{background-position:-16px -22px}.react-tel-input .cd{background-position:-32px -22px}.react-tel-input .cf{background-position:-48px -22px}.react-tel-input .cg{background-position:-64px -22px}.react-tel-input .ch{background-position:-80px -22px}.react-tel-input .ci{background-position:-96px -22px}.react-tel-input .ck{background-position:-112px -22px}.react-tel-input .cl{background-position:-128px -22px}.react-tel-input .cm{background-position:-144px -22px}.react-tel-input .cn{background-position:-160px -22px}.react-tel-input .co{background-position:-176px -22px}.react-tel-input .cr{background-position:-192px -22px}.react-tel-input .cu{background-position:-208px -22px}.react-tel-input .cv{background-position:-224px -22px}.react-tel-input .cw{background-position:-240px -22px}.react-tel-input .cy{background-position:0 -33px}.react-tel-input .cz{background-position:-16px -33px}.react-tel-input .de{background-position:-32px -33px}.react-tel-input .dj{background-position:-48px -33px}.react-tel-input .dk{background-position:-64px -33px}.react-tel-input .dm{background-position:-80px -33px}.react-tel-input .do{background-position:-96px -33px}.react-tel-input .dz{background-position:-112px -33px}.react-tel-input .ec{background-position:-128px -33px}.react-tel-input .ee{background-position:-144px -33px}.react-tel-input .eg{background-position:-160px -33px}.react-tel-input .er{background-position:-176px -33px}.react-tel-input .es{background-position:-192px -33px}.react-tel-input .et{background-position:-208px -33px}.react-tel-input .fi{background-position:-224px -33px}.react-tel-input .fj{background-position:-240px -33px}.react-tel-input .fk{background-position:0 -44px}.react-tel-input .fm{background-position:-16px -44px}.react-tel-input .fo{background-position:-32px -44px}.react-tel-input .fr,.react-tel-input .bl,.react-tel-input .mf{background-position:-48px -44px}.react-tel-input .ga{background-position:-64px -44px}.react-tel-input .gb{background-position:-80px -44px}.react-tel-input .gd{background-position:-96px -44px}.react-tel-input .ge{background-position:-112px -44px}.react-tel-input .gf{background-position:-128px -44px}.react-tel-input .gh{background-position:-144px -44px}.react-tel-input .gi{background-position:-160px -44px}.react-tel-input .gl{background-position:-176px -44px}.react-tel-input .gm{background-position:-192px -44px}.react-tel-input .gn{background-position:-208px -44px}.react-tel-input .gp{background-position:-224px -44px}.react-tel-input .gq{background-position:-240px -44px}.react-tel-input .gr{background-position:0 -55px}.react-tel-input .gt{background-position:-16px -55px}.react-tel-input .gu{background-position:-32px -55px}.react-tel-input .gw{background-position:-48px -55px}.react-tel-input .gy{background-position:-64px -55px}.react-tel-input .hk{background-position:-80px -55px}.react-tel-input .hn{background-position:-96px -55px}.react-tel-input .hr{background-position:-112px -55px}.react-tel-input .ht{background-position:-128px -55px}.react-tel-input .hu{background-position:-144px -55px}.react-tel-input .id{background-position:-160px -55px}.react-tel-input .ie{background-position:-176px -55px}.react-tel-input .il{background-position:-192px -55px}.react-tel-input .in{background-position:-208px -55px}.react-tel-input .io{background-position:-224px -55px}.react-tel-input .iq{background-position:-240px -55px}.react-tel-input .ir{background-position:0 -66px}.react-tel-input .is{background-position:-16px -66px}.react-tel-input .it{background-position:-32px -66px}.react-tel-input .je{background-position:-144px -154px}.react-tel-input .jm{background-position:-48px -66px}.react-tel-input .jo{background-position:-64px -66px}.react-tel-input .jp{background-position:-80px -66px}.react-tel-input .ke{background-position:-96px -66px}.react-tel-input .kg{background-position:-112px -66px}.react-tel-input .kh{background-position:-128px -66px}.react-tel-input .ki{background-position:-144px -66px}.react-tel-input .xk{background-position:-128px -154px}.react-tel-input .km{background-position:-160px -66px}.react-tel-input .kn{background-position:-176px -66px}.react-tel-input .kp{background-position:-192px -66px}.react-tel-input .kr{background-position:-208px -66px}.react-tel-input .kw{background-position:-224px -66px}.react-tel-input .ky{background-position:-240px -66px}.react-tel-input .kz{background-position:0 -77px}.react-tel-input .la{background-position:-16px -77px}.react-tel-input .lb{background-position:-32px -77px}.react-tel-input .lc{background-position:-48px -77px}.react-tel-input .li{background-position:-64px -77px}.react-tel-input .lk{background-position:-80px -77px}.react-tel-input .lr{background-position:-96px -77px}.react-tel-input .ls{background-position:-112px -77px}.react-tel-input .lt{background-position:-128px -77px}.react-tel-input .lu{background-position:-144px -77px}.react-tel-input .lv{background-position:-160px -77px}.react-tel-input .ly{background-position:-176px -77px}.react-tel-input .ma{background-position:-192px -77px}.react-tel-input .mc{background-position:-208px -77px}.react-tel-input .md{background-position:-224px -77px}.react-tel-input .me{background-position:-112px -154px;height:12px}.react-tel-input .mg{background-position:0 -88px}.react-tel-input .mh{background-position:-16px -88px}.react-tel-input .mk{background-position:-32px -88px}.react-tel-input .ml{background-position:-48px -88px}.react-tel-input .mm{background-position:-64px -88px}.react-tel-input .mn{background-position:-80px -88px}.react-tel-input .mo{background-position:-96px -88px}.react-tel-input .mp{background-position:-112px -88px}.react-tel-input .mq{background-position:-128px -88px}.react-tel-input .mr{background-position:-144px -88px}.react-tel-input .ms{background-position:-160px -88px}.react-tel-input .mt{background-position:-176px -88px}.react-tel-input .mu{background-position:-192px -88px}.react-tel-input .mv{background-position:-208px -88px}.react-tel-input .mw{background-position:-224px -88px}.react-tel-input .mx{background-position:-240px -88px}.react-tel-input .my{background-position:0 -99px}.react-tel-input .mz{background-position:-16px -99px}.react-tel-input .na{background-position:-32px -99px}.react-tel-input .nc{background-position:-48px -99px}.react-tel-input .ne{background-position:-64px -99px}.react-tel-input .nf{background-position:-80px -99px}.react-tel-input .ng{background-position:-96px -99px}.react-tel-input .ni{background-position:-112px -99px}.react-tel-input .nl,.react-tel-input .bq{background-position:-128px -99px}.react-tel-input .no{background-position:-144px -99px}.react-tel-input .np{background-position:-160px -99px}.react-tel-input .nr{background-position:-176px -99px}.react-tel-input .nu{background-position:-192px -99px}.react-tel-input .nz{background-position:-208px -99px}.react-tel-input .om{background-position:-224px -99px}.react-tel-input .pa{background-position:-240px -99px}.react-tel-input .pe{background-position:0 -110px}.react-tel-input .pf{background-position:-16px -110px}.react-tel-input .pg{background-position:-32px -110px}.react-tel-input .ph{background-position:-48px -110px}.react-tel-input .pk{background-position:-64px -110px}.react-tel-input .pl{background-position:-80px -110px}.react-tel-input .pm{background-position:-96px -110px}.react-tel-input .pr{background-position:-112px -110px}.react-tel-input .ps{background-position:-128px -110px}.react-tel-input .pt{background-position:-144px -110px}.react-tel-input .pw{background-position:-160px -110px}.react-tel-input .py{background-position:-176px -110px}.react-tel-input .qa{background-position:-192px -110px}.react-tel-input .re{background-position:-208px -110px}.react-tel-input .ro{background-position:-224px -110px}.react-tel-input .rs{background-position:-240px -110px}.react-tel-input .ru{background-position:0 -121px}.react-tel-input .rw{background-position:-16px -121px}.react-tel-input .sa{background-position:-32px -121px}.react-tel-input .sb{background-position:-48px -121px}.react-tel-input .sc{background-position:-64px -121px}.react-tel-input .sd{background-position:-80px -121px}.react-tel-input .se{background-position:-96px -121px}.react-tel-input .sg{background-position:-112px -121px}.react-tel-input .sh{background-position:-128px -121px}.react-tel-input .si{background-position:-144px -121px}.react-tel-input .sk{background-position:-160px -121px}.react-tel-input .sl{background-position:-176px -121px}.react-tel-input .sm{background-position:-192px -121px}.react-tel-input .sn{background-position:-208px -121px}.react-tel-input .so{background-position:-224px -121px}.react-tel-input .sr{background-position:-240px -121px}.react-tel-input .ss{background-position:0 -132px}.react-tel-input .st{background-position:-16px -132px}.react-tel-input .sv{background-position:-32px -132px}.react-tel-input .sx{background-position:-48px -132px}.react-tel-input .sy{background-position:-64px -132px}.react-tel-input .sz{background-position:-80px -132px}.react-tel-input .tc{background-position:-96px -132px}.react-tel-input .td{background-position:-112px -132px}.react-tel-input .tg{background-position:-128px -132px}.react-tel-input .th{background-position:-144px -132px}.react-tel-input .tj{background-position:-160px -132px}.react-tel-input .tk{background-position:-176px -132px}.react-tel-input .tl{background-position:-192px -132px}.react-tel-input .tm{background-position:-208px -132px}.react-tel-input .tn{background-position:-224px -132px}.react-tel-input .to{background-position:-240px -132px}.react-tel-input .tr{background-position:0 -143px}.react-tel-input .tt{background-position:-16px -143px}.react-tel-input .tv{background-position:-32px -143px}.react-tel-input .tw{background-position:-48px -143px}.react-tel-input .tz{background-position:-64px -143px}.react-tel-input .ua{background-position:-80px -143px}.react-tel-input .ug{background-position:-96px -143px}.react-tel-input .us{background-position:-112px -143px}.react-tel-input .uy{background-position:-128px -143px}.react-tel-input .uz{background-position:-144px -143px}.react-tel-input .va{background-position:-160px -143px}.react-tel-input .vc{background-position:-176px -143px}.react-tel-input .ve{background-position:-192px -143px}.react-tel-input .vg{background-position:-208px -143px}.react-tel-input .vi{background-position:-224px -143px}.react-tel-input .vn{background-position:-240px -143px}.react-tel-input .vu{background-position:0 -154px}.react-tel-input .wf{background-position:-16px -154px}.react-tel-input .ws{background-position:-32px -154px}.react-tel-input .ye{background-position:-48px -154px}.react-tel-input .za{background-position:-64px -154px}.react-tel-input .zm{background-position:-80px -154px}.react-tel-input .zw{background-position:-96px -154px}.react-tel-input *{box-sizing:border-box;-moz-box-sizing:border-box}.react-tel-input .hide{display:none}.react-tel-input .v-hide{visibility:hidden}.react-tel-input .form-control{position:relative;font-size:14px;letter-spacing:.01rem;margin-top:0!important;margin-bottom:0!important;padding-left:48px;margin-left:0;background:#fff;border:1px solid #CACACA;border-radius:5px;line-height:25px;height:35px;width:300px;outline:none}.react-tel-input .form-control.invalid-number{border:1px solid #d79f9f;background-color:#faf0f0;border-left-color:#cacaca}.react-tel-input .form-control.invalid-number:focus{border:1px solid #d79f9f;border-left-color:#cacaca;background-color:#faf0f0}.react-tel-input .flag-dropdown{position:absolute;top:0;bottom:0;padding:0;background-color:#f5f5f5;border:1px solid #cacaca;border-radius:3px 0 0 3px}.react-tel-input .flag-dropdown:hover,.react-tel-input .flag-dropdown:focus{cursor:pointer}.react-tel-input .flag-dropdown.invalid-number{border-color:#d79f9f}.react-tel-input .flag-dropdown.open{z-index:2;background:#fff;border-radius:3px 0 0}.react-tel-input .flag-dropdown.open .selected-flag{background:#fff;border-radius:3px 0 0}.react-tel-input input[disabled]+.flag-dropdown:hover{cursor:default}.react-tel-input input[disabled]+.flag-dropdown:hover .selected-flag{background-color:transparent}.react-tel-input .selected-flag{outline:none;position:relative;width:38px;height:100%;padding:0 0 0 8px;border-radius:3px 0 0 3px}.react-tel-input .selected-flag:hover,.react-tel-input .selected-flag:focus{background-color:#fff}.react-tel-input .selected-flag .flag{position:absolute;top:50%;margin-top:-5px}.react-tel-input .selected-flag .arrow{position:relative;top:50%;margin-top:-2px;left:20px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555}.react-tel-input .selected-flag .arrow.up{border-top:none;border-bottom:4px solid #555}.react-tel-input .country-list{outline:none;z-index:1;list-style:none;position:absolute;padding:0;margin:10px 0 10px -1px;box-shadow:1px 2px 10px #00000059;background-color:#fff;width:300px;max-height:200px;overflow-y:scroll;border-radius:0 0 3px 3px}.react-tel-input .country-list .flag{display:inline-block}.react-tel-input .country-list .divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #ccc}.react-tel-input .country-list .country{padding:7px 9px}.react-tel-input .country-list .country .dial-code{color:#6b6b6b}.react-tel-input .country-list .country:hover,.react-tel-input .country-list .country.highlight{background-color:#f1f1f1}.react-tel-input .country-list .flag{margin-right:7px;margin-top:2px}.react-tel-input .country-list .country-name{margin-right:6px}.react-tel-input .country-list .search{position:sticky;top:0;background-color:#fff;padding:10px 0 6px 10px}.react-tel-input .country-list .search-emoji{font-size:15px}.react-tel-input .country-list .search-box{border:1px solid #cacaca;border-radius:3px;font-size:15px;line-height:15px;margin-left:6px;padding:3px 8px 5px;outline:none}.react-tel-input .country-list .no-entries-message{padding:7px 10px 11px;opacity:.7}.react-tel-input .invalid-number-message{position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;color:#de0000}.react-tel-input .special-label{display:none;position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;white-space:nowrap}.form-login-ui{animation:fadein .15s;display:flex;flex-direction:row;margin:auto}@media only screen and (max-width:600px){.form-login-ui{flex-direction:column}}.signup-form .page-section{background-color:transparent!important}.login-form-section{max-width:500px;display:flex;flex-direction:column;margin:10px auto;border:1px solid #e9ecff;border-radius:4px;padding:30px}@media only screen and (max-width:600px){.login-form-section{padding:15px;margin:15px 0;border-radius:5px}}.auth-wrapper{margin:50px auto 0;max-width:320px}.signup-workspace-type{margin:15px 0;padding:30px;border:1px solid white}.signup-wrapper{margin:0;display:flex;overflow-y:auto;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.signup-wrapper h1{margin-top:30px}.signup-wrapper .page-section{overflow-y:auto;min-height:100vh;background:transparent;display:flex;align-items:center;justify-content:center;margin:auto}.signup-wrapper.wrapper-center-content .page-section{display:flex;justify-content:center;align-items:center}.signup-wrapper.wrapper-center-content fieldset{justify-content:center;display:flex}@media only screen and (max-width:500px){.signup-wrapper{margin:0;max-width:100%}}.go-to-the-app{font-size:20px;text-decoration:none}.signup-form{height:100vh;overflow-y:auto}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .page-section{background-color:#46414f}}.mac-theme.dark-theme .page-section{background-color:#46414f}.step-header{text-align:center;font-size:24px}.step-header span{width:40px;height:40px;font-size:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:100%;border:1px solid white;margin:5px}.otp-methods{list-style:none;padding:0}.otp-methods .otp-method{margin:5px auto;background:#fff;border-radius:5px;padding:3px 10px;cursor:pointer}.otp-methods .otp-method:hover{background-color:silver}.otp-methods img{width:30px;height:30px;margin:5px 15px}html,body{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.signin-form-container{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:20px;max-width:400px;margin:2rem auto}.signin-form-container .button-icon{width:16px;margin:0 3px}.signin-form-container .login-option-buttons button{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid silver;border-radius:10px;background-color:transparent;margin:10px 0;padding:10px}.signin-form-container .login-option-buttons button:disabled img{opacity:.3}.ptr-element{position:absolute;top:0;left:0;width:100%;color:#aaa;z-index:10;text-align:center;height:50px;transition:all}.ptr-element .genericon{opacity:.6;font-size:34px;width:auto;height:auto;transition:all .25s ease;transform:rotate(90deg);margin-top:5px}.ptr-refresh .ptr-element .genericon{transform:rotate(270deg)}.ptr-loading .ptr-element .genericon,.ptr-reset .ptr-element .genericon{display:none}.loading{display:inline-block;text-align:center;opacity:.4;margin:12px 0 0 5px;display:none}.ptr-loading .loading{display:block}.loading span{display:inline-block;vertical-align:middle;width:10px;height:10px;margin-right:3px;transform:scale(.3);border-radius:50%;animation:ptr-loading .4s infinite alternate}.loading-ptr-1{animation-delay:0!important}.loading-ptr-2{animation-delay:.2s!important}.loading-ptr-3{animation-delay:.4s!important}@keyframes ptr-loading{0%{transform:translateY(0) scale(.3);opacity:0}to{transform:scale(1);background-color:#333;opacity:1}}.ptr-loading .refresh-view,.ptr-reset .refresh-view,.ptr-loading .ptr-element,.ptr-reset .ptr-element{transition:all .25s ease}.ptr-reset .refresh-view{transform:translateZ(0)}.ptr-loading .refresh-view{transform:translate3d(0,30px,0)}body:not(.ptr-loading) .ptr-element{transform:translate3d(0,-50px,0)}.file-dropping-indicator{transition:backdrop-filter .2s;-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1);position:fixed;top:0;display:flex;align-items:center;justify-content:center;justify-items:center;left:0;right:0;bottom:0;font-size:30px;z-index:999}.file-dropping-indicator.show{-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1)}.dropin-files-hint{font-size:15px;color:orange;margin-bottom:30px}.tree-nav{margin:20px auto;left:60px;min-height:auto}.tree-nav li span label{display:flex}.tree-nav li span label input[type=checkbox]{margin:3px}.tree-nav ul.list,.tree-nav ul.list ul{margin:0;padding:0;list-style-type:none}.tree-nav ul.list ul{position:relative;margin-left:10px}.tree-nav ul.list ul:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;width:0;border-left:1px solid #ccc}.tree-nav ul.list li{position:relative;margin:0;padding:3px 12px;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:400;line-height:20px}.tree-nav ul.list li a{position:relative;text-decoration:none;text-transform:uppercase;font-size:14px;font-weight:700;line-height:20px}.tree-nav ul.list li a:hover,.tree-nav ul.list li a:hover+ul li a{color:#d5ebe3}.tree-nav ul.list ul li:before{content:"";display:block;position:absolute;top:10px;left:0;width:8px;height:0;border-top:1px solid #ccc}.tree-nav ul.list ul li:last-child:before{top:10px;bottom:0;height:1px;background:#003a61}html[dir=rtl] .tree-nav{left:auto;right:60px}html[dir=rtl] ul.list ul{margin-left:auto;margin-right:10px}html[dir=rtl] ul.list ul li:before{left:auto;right:0}html[dir=rtl] ul.list ul:before{left:auto;right:0}:root{--main-color: #111;--loader-color: blue;--back-color: lightblue;--time: 3s;--size: 2px}.loader__element{height:var(--size);width:100%;background:var(--back-color)}.loader__element:before{content:"";display:block;background-color:var(--loader-color);height:var(--size);width:0;animation:getWidth var(--time) ease-in infinite}@keyframes getWidth{to{width:100%}}@keyframes fadeOutOpacity{0%{opacity:1}to{opacity:0}}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}nav.navbar{background-color:#f1f5f9;height:55px;position:fixed;right:0;left:185px;z-index:9}@supports (-webkit-touch-callout: none){nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){nav.navbar{left:0}}html[dir=rtl] nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] nav.navbar{right:0}}.page-navigator button{border:none;background:transparent;max-width:40px}.page-navigator img{width:30px;height:30px}html[dir=rtl] .navigator-back-button img{transform:rotate(180deg)}.general-action-menu{display:flex}.general-action-menu .action-menu-item button{background:transparent;border:0}.general-action-menu.mobile-view{position:fixed;bottom:65px;right:10px;z-index:9999;padding:10px;align-items:flex-end}.general-action-menu.mobile-view .action-menu-item{background-color:#fff;width:40px;font-size:14px;height:40px;align-items:center;justify-content:center;justify-items:center;box-shadow:0 2px 6px 3px #c0c0c071;border-radius:100%;margin-left:15px}.general-action-menu.mobile-view .action-menu-item img{height:25px;width:25px}.general-action-menu.mobile-view .navbar-nav{justify-content:flex-end;flex-direction:row-reverse}@media only screen and (min-width:500px){.general-action-menu.mobile-view{display:none}}@media only screen and (max-width:499px){.general-action-menu.desktop-view{display:none}}html[dir=rtl] .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.left-handed .general-action-menu.mobile-view{right:initial;left:5px}.left-handed .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.sidebar-overlay{position:absolute;transition:.1s all cubic-bezier(.075,.82,.165,1);top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:99999}@media only screen and (min-width:501px){.sidebar-overlay{background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}}.sidebar-overlay:not(.open){background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.application-panels{height:100vh}.application-panels.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar{z-index:999;height:100vh;padding:10px;flex-direction:column;text-transform:capitalize;overflow-y:auto;transition:.1s all cubic-bezier(.075,.82,.165,1);display:flex}.sidebar span{color:#8a8fa4}.sidebar.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar .category{color:#000;margin-top:20px}.sidebar li .nav-link{padding:0}.sidebar li .nav-link:hover{background-color:#cce9ff}.sidebar li .nav-link.active span{color:#fff}.sidebar li .nav-link span{font-size:14px}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background-color:transparent}.sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.sidebar .category{font-size:12px}.sidebar .text-white,.sidebar .active{padding:8px 10px}.sidebar li{list-style-type:none;white-space:nowrap}.sidebar li img{width:20px;height:20px;margin:5px}.sidebar .sidebar-close{display:none;position:fixed;border:0;right:10px;background:transparent}.sidebar .sidebar-close img{width:20px;height:20px}@media only screen and (max-width:500px){.sidebar .sidebar-close{display:inline-block}}.sidebar .tag-circle{width:9px;height:9px;border-radius:100%;margin:3px 6px;display:inline-block}.sidebar ul ul{margin-top:5px;margin-left:8px}.sidebar ul ul li .nav-link{min-height:24px!important}.sidebar ul ul li .nav-link span{font-size:12px}html[dir=rtl] .sidebar{right:0;left:initial}@media only screen and (max-width:500px){html[dir=rtl] .sidebar{transform:translate(185px)}}html[dir=rtl] .sidebar.open{transform:translate(0)}html[dir=rtl] .sidebar ul ul{margin-right:8px;margin-left:0}html[dir=rtl] .sidebar ul ul li .nav-link span{padding-right:5px;font-size:12px}html[dir=rtl] .sidebar-overlay{left:0;right:185px}.content-area-loader{position:fixed;z-index:9999;top:55px;left:0;right:185px;bottom:0;background-color:#fff}.content-area-loader.fadeout{animation:fadeOutOpacity .5s ease-in-out;animation-fill-mode:forwards}@media only screen and (max-width:500px){.content-area-loader{right:0}}h2{font-size:19px}.page-section,.table-container{background:#fff;box-shadow:-1px 1px 15px #93d7ff24;margin-bottom:50px;padding:30px}.table-container{padding:15px}.content-section{margin-top:30px;flex:1}.content-section .content-container{padding:20px 25px;position:relative;max-width:calc(100vw - 155px);margin-top:55px;margin-top:calc(55px + constant(safe-area-inset-top));margin-top:calc(55px + env(safe-area-inset-top));max-width:calc(100vw - 245px)}.content-section .content-container .rdg-cell{width:100%}@media only screen and (max-width:500px){.content-section .content-container{padding:0 10px 60px}}html[dir=rtl] .content-section{margin-left:0}.page-title{margin:-20px -20px 20px;padding:40px 5px 20px 30px;background-color:#2b2b2b;border-left:2px solid orange;color:#fff}.page-title h1{opacity:1;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:.2s;height:50px}.unauthorized-forced-area{opacity:1;transition:opacity .5s ease-in-out;flex-direction:column;text-align:center;margin:auto;height:100vh;padding:60px 0;display:flex;justify-content:center;align-items:center;font-size:20px}.unauthorized-forced-area .btn{margin-top:30px}.unauthorized-forced-area.fade-out{opacity:0;pointer-events:none;animation:fadeOut .5s ease-out}@keyframes fadeOut{0%{transform:translateY(0)}to{transform:translateY(-20px)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}div[data-panel]{animation:fadeIn .5s ease-out}.anim-loader{width:64px;height:64px;display:inline-block;position:relative;color:#2b2b2b}.anim-loader:after,.anim-loader:before{content:"";box-sizing:border-box;width:64px;height:64px;border-radius:50%;border:2px solid #4099ff;position:absolute;left:0;top:0;animation:animloader 2s linear infinite}.anim-loader:after{animation-delay:1s}@keyframes animloader{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}.active-upload-box{position:fixed;bottom:0;right:30px;width:370px;height:180px;background-color:#fff;z-index:99999;display:flex;border:1px solid #4c90fe;flex-direction:column;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.active-upload-box .upload-header{padding:10px;background-color:#f7f9fc;display:flex;justify-content:space-between}.active-upload-box .upload-header .action-section button{display:inline;background:transparent;border:0}.active-upload-box .upload-header .action-section img{width:25px;height:25px}.active-upload-box .upload-file-item{word-break:break-all;padding:10px 15px;justify-content:space-between;display:flex;flex-direction:row}.active-upload-box .upload-file-item:hover{background-color:#ededed}.keybinding-combination{cursor:pointer}.keybinding-combination>span{text-transform:uppercase;font-size:14px;background-color:#fff;font-weight:700;padding:5px;border-radius:5px;margin:0 3px}.keybinding-combination:hover span{background-color:#161616;color:#fff}.table-activity-indicator{position:absolute;top:1px;opacity:0;animation:fadein .1s 1s;animation-fill-mode:forwards;right:0;left:0}.bottom-nav-tabbar{position:fixed;bottom:0;left:0;right:0;height:60px;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #ccc;background:#fff;z-index:1000}.bottom-nav-tabbar .nav-link{text-decoration:none;color:#777;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.bottom-nav-tabbar .nav-img{width:20px}.bottom-nav-tabbar .nav-link.active{color:#000;font-weight:700}.app-mock-version-notice{position:fixed;bottom:0;right:0;left:0;height:16px;background-color:#c25123a1;color:#fff;z-index:99999;font-size:10px;pointer-events:none}.headless-form-entity-manager{max-width:500px}body{background-color:#f1f5f9}.auto-card-list-item{text-decoration:none}.auto-card-list-item .col-7{color:#000}.auto-card-list-item .col-5{color:gray}@media only screen and (max-width:500px){.auto-card-list-item{font-size:13px;border-radius:0}}html[dir=rtl] .auto-card-list-item{direction:rtl;text-align:right}.form-phone-input{direction:ltr}.Toastify__toast-container--top-right{top:5em}.form-control-no-padding{padding:0!important}.pagination{margin:0}.pagination .page-item .page-link{font-size:14px;padding:0 8px}.navbar-brand{flex:1;align-items:center;display:flex;pointer-events:none;overflow:hidden}.navbar-brand span{font-size:16px}.navbar-nav{display:flex;flex-direction:row}.action-menu-item{align-items:center;display:flex}.action-menu-item img{width:30px;height:30px}.table-footer-actions{display:flex;margin-right:20px;margin-left:20px;margin-top:10px;overflow-x:auto}@media only screen and (max-width:500px){.table-footer-actions{flex-direction:column;align-items:center;justify-content:stretch;align-content:stretch}}.nestable-item-name{background-color:#e6dfe6;padding:5px 10px;border-radius:5px;max-width:400px;font-size:13px}.nestable{width:600px}.user-signin-section{text-decoration:none;color:#000;font-size:13px;display:flex;align-items:center}.user-signin-section img{width:30px}.auto-checked{color:#00b400;font-style:italic}@keyframes showerroranim{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}.date-picker-inline select{margin:5px 10px;min-width:60px}.basic-error-box{margin-top:15px;padding:10px 20px;border-radius:10px;background-color:#ffe5f8;animation:showerroranim .3s forwards}.auth-profile-card{margin:auto;text-align:center}.auth-profile-card h2{font-size:30px}.auth-profile-card .disclaimer{margin:30px auto}.auth-profile-card img{width:140px}html[dir=rtl] .otp-react-code-input *{border-radius:0}html[dir=rtl] .form-phone-input input{padding-left:65px}html[dir=rtl] .form-phone-input .selected-flag{margin-right:10px}html[dir=rtl] .modal-header .btn-close{margin:0}html[dir=rtl] .dropdown-menu{direction:rtl;text-align:revert}.remote-service-form{max-width:500px}.category{font-size:15px;color:#fff;margin-left:5px;margin-bottom:8px}#map-view{width:100%;height:400px}.react-tel-input{display:flex}.react-tel-input .form-control{width:auto!important;flex:1}html[dir=rtl] *{font-family:iransans}html[dir=rtl] ul{padding-right:0}html[dir=rtl] ul.pagination .page-item:first-child .page-link{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}html[dir=rtl] ul.pagination .page-item:last-child .page-link{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-top-right-radius:0;border-bottom-right-radius:0}.with-fade-in{animation:fadeInOpacity .15s}.modal-overlay{background-color:#0000006f}.modal-overlay.invisible{animation:fadeOutOpacity .4s}.in-capture-state{color:red}.action-menu li{padding:0 10px;cursor:pointer}.form-select-verbos{display:flex;flex-direction:column}.form-select-verbos>label{padding:5px 0}.form-select-verbos>label input{margin:0 5px}.form-checkbox{margin:5px}.app-onboarding{margin:60px}.product-logo{width:100px;margin:30px auto}.file-viewer-files{display:flex;flex-wrap:wrap;flex:1}.file-viewer-files .file-viewer-file{margin:3px;flex-direction:column;flex:1;text-align:center;display:flex;padding:5px;word-wrap:break-word;width:240px;height:200px;border:1px solid blue}.file-viewer-files .file-viewer-name{font-size:12px}.map-osm-container{position:relative}.map-osm-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container{position:relative}.form-map-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container .map-view-toolbar{z-index:999;position:absolute;right:60px;top:10px}.general-entity-view tbody tr>th{width:200px}.general-entity-view .entity-view-row{display:flex}.general-entity-view .entity-view-row .field-info,.general-entity-view .entity-view-row .field-value{position:relative;padding:10px}.general-entity-view .entity-view-row .field-info .table-btn,.general-entity-view .entity-view-row .field-value .table-btn{right:10px}.general-entity-view .entity-view-row .field-info:hover .table-btn,.general-entity-view .entity-view-row .field-value:hover .table-btn{opacity:1}.general-entity-view .entity-view-row .field-info{width:260px}.general-entity-view .entity-view-row .field-value{flex:1}.general-entity-view .entity-view-row.entity-view-body .field-value{background-color:#dee2e6}.general-entity-view pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.general-entity-view pre{white-space:break-spaces;word-break:break-word}@media only screen and (max-width:700px){.general-entity-view .entity-view-row{flex-direction:column;margin-bottom:20px}.general-entity-view .entity-view-head{display:none}}.simple-widget-wrapper{display:flex;place-content:center;flex:1;align-self:center;height:100%;justify-content:center;align-items:center;justify-items:center}pre{direction:ltr}.repeater-item{display:flex;flex-direction:row-reverse;border-bottom:1px solid silver;margin:15px 0}.repeater-item .repeater-element{flex:1}.repeater-actions{align-items:flex-start;justify-content:center;display:flex;margin:30px -10px 14px 10px}.repeater-actions .delete-btn{display:flex;align-items:center;justify-content:center;border:none;text-align:center;width:30px;margin:5px auto;height:30px;border-radius:50%}.repeater-actions .delete-btn img{margin:auto;width:20px;height:20px}.repeater-end-actions{text-align:center;margin:30px 0}html[dir=rtl] .repeater-actions{margin-right:10px;margin-left:-10px}.table-btn{font-size:9px;display:inline;position:absolute;cursor:pointer;opacity:1;transition:.3s opacity ease-in-out}.table-copy-btn{right:0}.cell-actions{position:absolute;display:none;right:-8px;top:-6px;align-items:center;justify-content:center;background-color:#fffffff2;height:33px;width:36px}.rdg-cell:hover .cell-actions{display:flex}.table-open-in-new-router{right:15px}.dx-g-bs4-table tbody tr:hover .table-btn{opacity:1}.focused-router{border:1px solid red}.focus-indicator{width:5px;height:5px;position:absolute;left:5px;top:5px;background:#0c68ef;z-index:9999;border-radius:100%;opacity:.5}.confirm-drawer-container{display:flex;justify-content:space-between;align-content:space-between;height:100%;justify-items:flex-start;flex-direction:column}@keyframes jumpFloat{0%{transform:translateY(0)}10%{transform:translateY(-8px)}to{transform:translateY(0)}}.empty-list-indicator,.not-found-pagex{text-align:center;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.empty-list-indicator img,.not-found-pagex img{width:80px;margin-bottom:20px;animation:jumpFloat 2.5s ease-out infinite}.code-viewer-container{position:relative}.copy-button{position:absolute;top:8px;right:8px;padding:4px 8px;font-size:12px;background-color:#e0e0e0;border:none;border-radius:4px;cursor:pointer}body.dark-theme .copy-button{background-color:#333;color:#fff}.swipe-enter{transform:translate(100%);opacity:0}.swipe-enter-active{transform:translate(0);opacity:1;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-exit{transform:translate(0);opacity:1}.swipe-exit-active{transform:translate(100%);opacity:0;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-wrapper{position:absolute;width:100%}.not-found-page{width:100%;height:100vh;background-color:#222;display:flex;justify-content:center;align-items:center}.not-found-page .content{width:460px;line-height:1.4;text-align:center}.not-found-page .content .font-404{height:158px;line-height:153px}.not-found-page .content .font-404 h1{font-family:Josefin Sans,sans-serif;color:#222;font-size:220px;letter-spacing:10px;margin:0;font-weight:700;text-shadow:2px 2px 0px #c9c9c9,-2px -2px 0px #c9c9c9}.not-found-page .content .font-404 h1>span{text-shadow:2px 2px 0px #0957ff,-2px -2px 0px #0957ff,0px 0px 8px #1150d6}.not-found-page .content p{font-family:Josefin Sans,sans-serif;color:#c9c9c9;font-size:16px;font-weight:400;margin-top:0;margin-bottom:15px}.not-found-page .content a{font-family:Josefin Sans,sans-serif;font-size:14px;text-decoration:none;text-transform:uppercase;background:transparent;color:#fff;border:2px solid #0957ff;border-radius:8px;display:inline-block;padding:10px 25px;font-weight:700;-webkit-transition:.2s all;transition:.3s all ease-in;background-color:#0957ff}.not-found-page .content a:hover{color:#fff;background-color:transparent}@media only screen and (max-width:480px){.not-found-page .content{padding:0 30px}.not-found-page .content .font-404{height:122px;line-height:122px}.not-found-page .content .font-404 h1{font-size:122px}}.data-table-filter-input{position:absolute;border-radius:0;margin:0;top:0;left:0;right:0;bottom:0;border:0;padding-left:8px;padding-right:8px}.data-table-sort-actions{position:absolute;top:0;z-index:9;right:0;bottom:0;display:flex;justify-content:center;align-items:center;margin-right:5px}.data-table-sort-actions button{border:0;background-color:transparent}.data-table-sort-actions .sort-icon{width:20px}@font-face{src:url(/manage/assets/SFNSDisplay-Semibold-XCkF6r2i.otf);font-family:mac-custom}@font-face{src:url(/manage/assets/SFNSDisplay-Medium-Cw8HtTFw.otf);font-family:mac-sidebar}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes closemenu{0%{opacity:1;max-height:300px}to{opacity:0;max-height:0}}@keyframes opensubmenu{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}.mac-theme,.ios-theme{background-color:#ffffffb3}.mac-theme .panel-resize-handle,.ios-theme .panel-resize-handle{width:8px;align-self:flex-end;height:100%;position:absolute;right:0;top:0;background:linear-gradient(90deg,#e0dee3,#cfcfce)}.mac-theme .panel-resize-handle.minimal,.ios-theme .panel-resize-handle.minimal{width:2px}.mac-theme .navbar-search-box,.ios-theme .navbar-search-box{display:flex;margin:0 0 0 15px!important}.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:220px}@media only screen and (max-width:500px){.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:100%}}.mac-theme .reactive-search-result ul,.ios-theme .reactive-search-result ul{list-style:none;padding:30px 0}.mac-theme .reactive-search-result a,.ios-theme .reactive-search-result a{text-decoration:none;display:block}.mac-theme .reactive-search-result .result-group-name,.ios-theme .reactive-search-result .result-group-name{text-transform:uppercase;font-weight:700}.mac-theme .reactive-search-result .result-icon,.ios-theme .reactive-search-result .result-icon{width:25px;height:25px;margin:10px}.mac-theme .data-node-values-list .table-responsive,.ios-theme .data-node-values-list .table-responsive{height:800px}.mac-theme .table-container,.ios-theme .table-container{background-color:none;box-shadow:none;margin-bottom:0;padding:0}.mac-theme .table-container .card-footer,.ios-theme .table-container .card-footer{margin-left:15px}.mac-theme .table.dto-view-table th:first-child,.ios-theme .table.dto-view-table th:first-child{width:300px}.mac-theme .table.dto-view-table .table-active,.ios-theme .table.dto-view-table .table-active{transition:.3s all ease-in-out}.mac-theme .user-signin-section,.ios-theme .user-signin-section{color:#3e3c3c}.mac-theme h1,.ios-theme h1{font-size:24px;margin-bottom:30px}.mac-theme .dropdown-menu,.ios-theme .dropdown-menu{position:fixed!important;left:10px!important;background-color:#ececed!important}.mac-theme .dropdown-menu *,.ios-theme .dropdown-menu *{color:#232323;font-size:15px}.mac-theme .dropdown-menu a,.ios-theme .dropdown-menu a{text-decoration:none;cursor:default}.mac-theme .dropdown-menu .dropdown-item:hover,.ios-theme .dropdown-menu .dropdown-item:hover{color:#000;background:#5ba1ff}.mac-theme p,.ios-theme p{font-weight:100}.mac-theme #navbarSupportedContent,.ios-theme #navbarSupportedContent{display:flex;align-items:center}.mac-theme .content-section,.ios-theme .content-section{margin-top:0;background-color:#fff}@media only screen and (max-width:500px){.mac-theme .content-section,.ios-theme .content-section{margin-left:0}}.mac-theme .table-container,.ios-theme .table-container{background:transparent;font-size:14px;margin:0 -14px}.mac-theme .table-container td,.mac-theme .table-container th,.ios-theme .table-container td,.ios-theme .table-container th{padding:3px}.mac-theme .table-container td,.ios-theme .table-container td{border:none}.mac-theme .table-container tbody tr:nth-child(2n),.ios-theme .table-container tbody tr:nth-child(2n){background:#f4f5f5}.mac-theme .table-container tbody tr,.ios-theme .table-container tbody tr{margin:10px}.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 100px)!important}@media only screen and (max-width:500px){.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 180px)!important}}.mac-theme .table-container .datatable-no-data,.ios-theme .table-container .datatable-no-data{padding:30px}.mac-theme nav.navbar,.ios-theme nav.navbar{background-color:#faf5f9!important;border-bottom:1px solid #dddddd;min-height:55px;height:auto;-webkit-user-select:none;user-select:none;position:initial;z-index:9}@supports (-webkit-touch-callout: none){.mac-theme nav.navbar,.ios-theme nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){.mac-theme nav.navbar,.ios-theme nav.navbar{left:0}}.mac-theme .page-section,.ios-theme .page-section{background-color:#f2f2f2;box-shadow:none;padding:20px;margin:15px 0}.mac-theme h2,.ios-theme h2{font-size:19px}.mac-theme .content-container,.ios-theme .content-container{background-color:transparent;box-shadow:none;height:calc(100vh - 55px + constant(safe-area-inset-top));height:calc(100vh - 55px + env(safe-area-inset-top));overflow:auto;margin-top:0;min-height:calc(100vh - 55px - constant(safe-area-inset-top));min-height:calc(100vh - 55px - env(safe-area-inset-top));overflow-y:auto;max-width:calc(100vw - 185px);max-width:100%;padding:0 15px 60px}@media only screen and (max-width:500px){.mac-theme .content-container,.ios-theme .content-container{max-width:100vw}}.mac-theme .sidebar,.ios-theme .sidebar{overflow-x:hidden!important}.mac-theme .sidebar,.ios-theme .sidebar{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:10px!important;background-color:#e0dee3;overflow:auto}.mac-theme .sidebar .current-user>a,.ios-theme .sidebar .current-user>a{padding:0 5px}.mac-theme .sidebar *,.ios-theme .sidebar *{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mac-theme .sidebar .sidebar-menu-particle.hide,.mac-theme .sidebar .nav-item.hide,.ios-theme .sidebar .sidebar-menu-particle.hide,.ios-theme .sidebar .nav-item.hide{max-height:0;animation:closemenu .3s forwards;overflow:hidden}.mac-theme .sidebar .nav-item,.ios-theme .sidebar .nav-item{animation:opensubmenu .3s forwards}.mac-theme .sidebar .category,.ios-theme .sidebar .category{font-size:12px;color:#a29e9e;margin:15px 0 0}.mac-theme .sidebar hr,.ios-theme .sidebar hr{display:none}.mac-theme .sidebar li .nav-link,.ios-theme .sidebar li .nav-link{padding:0;min-height:30px;display:flex;flex-direction:column;justify-content:center;cursor:default;color:#3e3c3c!important}.mac-theme .sidebar li .nav-link:hover,.ios-theme .sidebar li .nav-link:hover{background-color:initial}.mac-theme .sidebar li .nav-link.active:hover,.ios-theme .sidebar li .nav-link.active:hover{background-color:#cccacf}.mac-theme .sidebar li .nav-link span,.ios-theme .sidebar li .nav-link span{padding-left:5px;font-size:14px;color:#3e3c3c;align-items:center;display:flex}.mac-theme .sidebar li .nav-link .nav-link-text,.ios-theme .sidebar li .nav-link .nav-link-text{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:0;margin-left:0}.mac-theme .sidebar li .active,.ios-theme .sidebar li .active{background-color:#cccacf;color:#3e3c3c}.mac-theme .sidebar li img,.ios-theme .sidebar li img{width:20px;height:20px;margin-right:5px;margin-top:5px}.mac-theme .sidebar::-webkit-scrollbar,.ios-theme .sidebar::-webkit-scrollbar{width:8px}.mac-theme .sidebar::-webkit-scrollbar-track,.ios-theme .sidebar::-webkit-scrollbar-track{background-color:transparent}.mac-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme .sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.mac-theme .sidebar-extra-small .sidebar .nav-link-text,.ios-theme .sidebar-extra-small .sidebar .nav-link-text{display:none!important}.mac-theme .sidebar-extra-small,.ios-theme .sidebar-extra-small{justify-content:center;align-items:center}.mac-theme .content-container::-webkit-scrollbar,.mac-theme .table-responsive::-webkit-scrollbar,.mac-theme .scrollable-element::-webkit-scrollbar,.ios-theme .content-container::-webkit-scrollbar,.ios-theme .table-responsive::-webkit-scrollbar,.ios-theme .scrollable-element::-webkit-scrollbar{width:8px;height:8px}.mac-theme .content-container::-webkit-scrollbar-track,.mac-theme .table-responsive::-webkit-scrollbar-track,.mac-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme .content-container::-webkit-scrollbar-track,.ios-theme .table-responsive::-webkit-scrollbar-track,.ios-theme .scrollable-element::-webkit-scrollbar-track{background:#fafafa;border-left:1px solid #e8e8e8}.mac-theme .content-container::-webkit-scrollbar-thumb,.mac-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme .content-container::-webkit-scrollbar-thumb,.ios-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme .scrollable-element::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px}.mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,.ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{width:5px;border-right:1px solid silver;opacity:.8;cursor:ew-resize;height:20px;position:absolute;right:5px;top:4px}.mac-theme .dx-g-bs4-table .table-row-action,.ios-theme .dx-g-bs4-table .table-row-action{margin:0 5px;text-transform:uppercase;font-size:10px;font-weight:700;cursor:pointer;border:0;border-radius:5px}.mac-theme .dx-g-bs4-table .table-row-action:hover,.ios-theme .dx-g-bs4-table .table-row-action:hover{background-color:#b9ffb9}.mac-theme .dx-g-bs4-table thead .input-group input,.ios-theme .dx-g-bs4-table thead .input-group input{font-size:13px;padding:0;border:0}.mac-theme .dx-g-bs4-table tbody .form-control,.ios-theme .dx-g-bs4-table tbody .form-control{font-size:14px;padding:0 5px;border:0;background-color:#e9e9e9}.mac-theme .dx-g-bs4-table tbody .form-control.is-invalid,.ios-theme .dx-g-bs4-table tbody .form-control.is-invalid{border:1px solid #dc3545}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .bottom-nav-tabbar,.ios-theme:not(.light-theme) .bottom-nav-tabbar{background:#46414f}.mac-theme:not(.light-theme) .panel-resize-handle,.ios-theme:not(.light-theme) .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme:not(.light-theme) .Toastify__toast-theme--light,.ios-theme:not(.light-theme) .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme:not(.light-theme) .login-form-section,.ios-theme:not(.light-theme) .login-form-section{background-color:#46414f}.mac-theme:not(.light-theme),.ios-theme:not(.light-theme){background-color:#0a0a0ab3}.mac-theme:not(.light-theme) nav.navbar,.ios-theme:not(.light-theme) nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme:not(.light-theme) nav.navbar .navbar-brand,.ios-theme:not(.light-theme) nav.navbar .navbar-brand{color:#dad6d8}.mac-theme:not(.light-theme) select,.ios-theme:not(.light-theme) select{background-color:#4c454e}.mac-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item,.ios-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme:not(.light-theme) .sidebar,.ios-theme:not(.light-theme) .sidebar{background-color:#5a565e}.mac-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text,.ios-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme:not(.light-theme) .sidebar li .active,.ios-theme:not(.light-theme) .sidebar li .active{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar li .nav-link.active:hover,.ios-theme:not(.light-theme) .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar .current-user a strong,.mac-theme:not(.light-theme) .sidebar .current-user a:after,.ios-theme:not(.light-theme) .sidebar .current-user a strong,.ios-theme:not(.light-theme) .sidebar .current-user a:after{color:#dad6d8}.mac-theme:not(.light-theme) select.form-select,.mac-theme:not(.light-theme) textarea,.ios-theme:not(.light-theme) select.form-select,.ios-theme:not(.light-theme) textarea{background-color:#615956}.mac-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option,.ios-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme:not(.light-theme) .css-b62m3t-container .form-control,.mac-theme:not(.light-theme) .react-select-menu-area,.mac-theme:not(.light-theme) ul.dropdown-menu,.ios-theme:not(.light-theme) .css-b62m3t-container .form-control,.ios-theme:not(.light-theme) .react-select-menu-area,.ios-theme:not(.light-theme) ul.dropdown-menu{background-color:#615956!important}.mac-theme:not(.light-theme) .css-1p3m7a8-multiValue,.ios-theme:not(.light-theme) .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme:not(.light-theme) .react-select-menu-area>div>div:hover,.ios-theme:not(.light-theme) .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme:not(.light-theme) .menu-icon,.mac-theme:not(.light-theme) .action-menu-item img,.mac-theme:not(.light-theme) .page-navigator img,.ios-theme:not(.light-theme) .menu-icon,.ios-theme:not(.light-theme) .action-menu-item img,.ios-theme:not(.light-theme) .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme:not(.light-theme) .pagination a,.mac-theme:not(.light-theme) .modal-content,.ios-theme:not(.light-theme) .pagination a,.ios-theme:not(.light-theme) .modal-content{background-color:#625765}.mac-theme:not(.light-theme) .pagination .active button.page-link,.ios-theme:not(.light-theme) .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme:not(.light-theme) .keybinding-combination>span,.ios-theme:not(.light-theme) .keybinding-combination>span{background-color:#625765}.mac-theme:not(.light-theme) .keybinding-combination:hover span,.ios-theme:not(.light-theme) .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme:not(.light-theme) .form-control,.ios-theme:not(.light-theme) .form-control{background-color:#6c6c6c}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme:not(.light-theme) .content-container,.ios-theme:not(.light-theme) .content-container{background-color:#2e2836}.mac-theme:not(.light-theme) .pagination,.ios-theme:not(.light-theme) .pagination{margin:0}.mac-theme:not(.light-theme) .pagination .page-item .page-link,.ios-theme:not(.light-theme) .pagination .page-item .page-link{background-color:#2e2836}.mac-theme:not(.light-theme) .table-container tbody tr:nth-child(2n),.ios-theme:not(.light-theme) .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table td,.mac-theme:not(.light-theme) .dx-g-bs4-table th,.ios-theme:not(.light-theme) .dx-g-bs4-table td,.ios-theme:not(.light-theme) .dx-g-bs4-table th{background-color:transparent}.mac-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme:not(.light-theme) .card,.mac-theme:not(.light-theme) .section-title,.ios-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme:not(.light-theme) .card,.ios-theme:not(.light-theme) .section-title{background-color:#5a565e}.mac-theme:not(.light-theme) .basic-error-box,.ios-theme:not(.light-theme) .basic-error-box{background-color:#760002}.mac-theme:not(.light-theme) .page-section,.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) .page-section,.ios-theme:not(.light-theme) input{background-color:#5a565e}.mac-theme:not(.light-theme) *:not(.invalid-feedback),.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) *:not(.invalid-feedback),.ios-theme:not(.light-theme) input{color:#dad6d8;border-color:#46414f}.mac-theme:not(.light-theme) .styles_react-code-input__CRulA input,.ios-theme:not(.light-theme) .styles_react-code-input__CRulA input{color:#fff}.mac-theme:not(.light-theme) .content-area-loader,.ios-theme:not(.light-theme) .content-area-loader{background-color:#46414f}.mac-theme:not(.light-theme) .diagram-fxfx .area-box,.ios-theme:not(.light-theme) .diagram-fxfx .area-box{background:#1e3249}.mac-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.mac-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle,.ios-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme:not(.light-theme) .react-flow__node.selected .area-box,.ios-theme:not(.light-theme) .react-flow__node.selected .area-box{background-color:#373737}.mac-theme:not(.light-theme) .upload-header,.ios-theme:not(.light-theme) .upload-header{background-color:#152231}.mac-theme:not(.light-theme) .active-upload-box,.ios-theme:not(.light-theme) .active-upload-box{background-color:#333}.mac-theme:not(.light-theme) .upload-file-item:hover,.ios-theme:not(.light-theme) .upload-file-item:hover{background-color:#1e3249}}.mac-theme.dark-theme .bottom-nav-tabbar,.ios-theme.dark-theme .bottom-nav-tabbar{background:#46414f}.mac-theme.dark-theme .panel-resize-handle,.ios-theme.dark-theme .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme.dark-theme .Toastify__toast-theme--light,.ios-theme.dark-theme .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme.dark-theme .login-form-section,.ios-theme.dark-theme .login-form-section{background-color:#46414f}.mac-theme.dark-theme,.ios-theme.dark-theme{background-color:#0a0a0ab3}.mac-theme.dark-theme nav.navbar,.ios-theme.dark-theme nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme.dark-theme nav.navbar .navbar-brand,.ios-theme.dark-theme nav.navbar .navbar-brand{color:#dad6d8}.mac-theme.dark-theme select,.ios-theme.dark-theme select{background-color:#4c454e}.mac-theme.dark-theme .general-action-menu.mobile-view .action-menu-item,.ios-theme.dark-theme .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme.dark-theme .sidebar,.ios-theme.dark-theme .sidebar{background-color:#5a565e}.mac-theme.dark-theme .sidebar li .nav-link .nav-link-text,.ios-theme.dark-theme .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme.dark-theme .sidebar li .active,.ios-theme.dark-theme .sidebar li .active,.mac-theme.dark-theme .sidebar li .nav-link.active:hover,.ios-theme.dark-theme .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme.dark-theme .sidebar .current-user a strong,.mac-theme.dark-theme .sidebar .current-user a:after,.ios-theme.dark-theme .sidebar .current-user a strong,.ios-theme.dark-theme .sidebar .current-user a:after{color:#dad6d8}.mac-theme.dark-theme select.form-select,.mac-theme.dark-theme textarea,.ios-theme.dark-theme select.form-select,.ios-theme.dark-theme textarea{background-color:#615956}.mac-theme.dark-theme .react-select-menu-area .css-d7l1ni-option,.ios-theme.dark-theme .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme.dark-theme .css-b62m3t-container .form-control,.mac-theme.dark-theme .react-select-menu-area,.mac-theme.dark-theme ul.dropdown-menu,.ios-theme.dark-theme .css-b62m3t-container .form-control,.ios-theme.dark-theme .react-select-menu-area,.ios-theme.dark-theme ul.dropdown-menu{background-color:#615956!important}.mac-theme.dark-theme .css-1p3m7a8-multiValue,.ios-theme.dark-theme .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme.dark-theme .react-select-menu-area>div>div:hover,.ios-theme.dark-theme .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme.dark-theme .menu-icon,.mac-theme.dark-theme .action-menu-item img,.mac-theme.dark-theme .page-navigator img,.ios-theme.dark-theme .menu-icon,.ios-theme.dark-theme .action-menu-item img,.ios-theme.dark-theme .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme.dark-theme .pagination a,.mac-theme.dark-theme .modal-content,.ios-theme.dark-theme .pagination a,.ios-theme.dark-theme .modal-content{background-color:#625765}.mac-theme.dark-theme .pagination .active button.page-link,.ios-theme.dark-theme .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme.dark-theme .keybinding-combination>span,.ios-theme.dark-theme .keybinding-combination>span{background-color:#625765}.mac-theme.dark-theme .keybinding-combination:hover span,.ios-theme.dark-theme .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme.dark-theme .form-control,.ios-theme.dark-theme .form-control{background-color:#6c6c6c}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-track,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.mac-theme.dark-theme .content-container::-webkit-scrollbar-track,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-track,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.ios-theme.dark-theme .content-container::-webkit-scrollbar-track,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme.dark-theme .content-container,.ios-theme.dark-theme .content-container{background-color:#2e2836}.mac-theme.dark-theme .pagination,.ios-theme.dark-theme .pagination{margin:0}.mac-theme.dark-theme .pagination .page-item .page-link,.ios-theme.dark-theme .pagination .page-item .page-link{background-color:#2e2836}.mac-theme.dark-theme .table-container tbody tr:nth-child(2n),.ios-theme.dark-theme .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme.dark-theme .dx-g-bs4-table td,.mac-theme.dark-theme .dx-g-bs4-table th,.ios-theme.dark-theme .dx-g-bs4-table td,.ios-theme.dark-theme .dx-g-bs4-table th{background-color:transparent}.mac-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme.dark-theme .card,.mac-theme.dark-theme .section-title,.ios-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme.dark-theme .card,.ios-theme.dark-theme .section-title{background-color:#5a565e}.mac-theme.dark-theme .basic-error-box,.ios-theme.dark-theme .basic-error-box{background-color:#760002}.mac-theme.dark-theme .page-section,.mac-theme.dark-theme input,.ios-theme.dark-theme .page-section,.ios-theme.dark-theme input{background-color:#5a565e}.mac-theme.dark-theme *:not(.invalid-feedback),.mac-theme.dark-theme input,.ios-theme.dark-theme *:not(.invalid-feedback),.ios-theme.dark-theme input{color:#dad6d8;border-color:#46414f}.mac-theme.dark-theme .styles_react-code-input__CRulA input,.ios-theme.dark-theme .styles_react-code-input__CRulA input{color:#fff}.mac-theme.dark-theme .content-area-loader,.ios-theme.dark-theme .content-area-loader{background-color:#46414f}.mac-theme.dark-theme .diagram-fxfx .area-box,.ios-theme.dark-theme .diagram-fxfx .area-box{background:#1e3249}.mac-theme.dark-theme .diagram-fxfx .area-box input.form-control,.mac-theme.dark-theme .diagram-fxfx .area-box textarea.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box input.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle,.ios-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme.dark-theme .react-flow__node.selected .area-box,.ios-theme.dark-theme .react-flow__node.selected .area-box{background-color:#373737}.mac-theme.dark-theme .upload-header,.ios-theme.dark-theme .upload-header{background-color:#152231}.mac-theme.dark-theme .active-upload-box,.ios-theme.dark-theme .active-upload-box{background-color:#333}.mac-theme.dark-theme .upload-file-item:hover,.ios-theme.dark-theme .upload-file-item:hover{background-color:#1e3249}html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-left:0}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-right:0}}html[dir=rtl] .mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,html[dir=rtl] .ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{right:initial;left:5px}html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:0}}a{text-decoration:none} diff --git a/modules/fireback/codegen/fireback-manage/index.html b/modules/fireback/codegen/fireback-manage/index.html index ad15656f9..2128990da 100644 --- a/modules/fireback/codegen/fireback-manage/index.html +++ b/modules/fireback/codegen/fireback-manage/index.html @@ -5,8 +5,8 @@ Fireback - - + +
diff --git a/modules/fireback/codegen/react-new/src/modules/fireback/styles/apple-family/theme-osx-core.scss b/modules/fireback/codegen/react-new/src/modules/fireback/styles/apple-family/theme-osx-core.scss index 8ac192852..79f4ddbe4 100644 --- a/modules/fireback/codegen/react-new/src/modules/fireback/styles/apple-family/theme-osx-core.scss +++ b/modules/fireback/codegen/react-new/src/modules/fireback/styles/apple-family/theme-osx-core.scss @@ -15,6 +15,7 @@ from { opacity: 0; } + to { opacity: 1; } @@ -25,6 +26,7 @@ opacity: 1; max-height: 300px; } + to { opacity: 0; max-height: 0; @@ -36,6 +38,7 @@ opacity: 0; max-height: 0; } + to { opacity: 1; max-height: 1000px; @@ -49,7 +52,7 @@ // think about this not make it global // height: 100vh; // overflow: hidden; - + .panel-resize-handle { width: 8px; @@ -64,9 +67,10 @@ width: 2px; } } - + .navbar-search-box { - display: flex; + display: flex; + input { width: 220px; } @@ -78,30 +82,33 @@ width: 100%; } } - + } - + .reactive-search-result { - ul { - list-style: none; - padding: 30px 0; - - } - a { - text-decoration: none; - display: block; - } - .result-group-name { - text-transform: uppercase; - font-weight: bold; - } - .result-icon { - width: 25px; - height: 25px; - margin: 10px; - } + ul { + list-style: none; + padding: 30px 0; + + } + + a { + text-decoration: none; + display: block; + } + + .result-group-name { + text-transform: uppercase; + font-weight: bold; + } + + .result-icon { + width: 25px; + height: 25px; + margin: 10px; + } } .data-node-values-list { @@ -116,18 +123,22 @@ box-shadow: none; margin-bottom: 0; padding: 0; + .card-footer { margin-left: 15px; } } + .table.dto-view-table { th:first-child { width: 300px; } + .table-active { transition: 0.3s all ease-in-out; } } + * { // font-family: mac-sidebar, -apple-system, BlinkMacSystemFont, sans-serif; @@ -152,14 +163,17 @@ position: fixed !important; left: 10px !important; background-color: #ececed !important; + * { color: #232323; font-size: 15px; } + a { text-decoration: none; cursor: default; } + .dropdown-item:hover { color: black; background: #5ba1ff; @@ -191,6 +205,7 @@ // animation: fadein 0.15s; font-size: 14px; margin: 0 -14px; + td, th { padding: 3px; @@ -199,6 +214,7 @@ td { border: none; } + tbody tr:nth-child(even) { background: #f4f5f5; } @@ -228,11 +244,13 @@ user-select: none; position: initial; z-index: 9; + @supports (-webkit-touch-callout: none) { padding-top: 0; padding-top: constant(safe-area-inset-top); padding-top: env(safe-area-inset-top); } + @media only screen and (max-width: 500px) { left: 0; } @@ -262,7 +280,7 @@ } .content-container { - + background-color: transparent; box-shadow: none; $navHeight: 55px; @@ -289,8 +307,7 @@ overflow-x: hidden !important; } - .sidebar-overlay { - } + .sidebar-overlay {} @import "./sidebar.scss"; @@ -312,6 +329,7 @@ border-radius: 5px; } } + .dx-g-bs4-table { .dx-g-bs4-resizing-control-wrapper { width: 5px; @@ -323,6 +341,7 @@ right: 5px; top: 4px; } + .table-row-action { margin: 0 5px; text-transform: uppercase; @@ -331,10 +350,12 @@ cursor: pointer; border: 0; border-radius: 5px; + &:hover { background-color: rgb(185, 255, 185); } } + thead .input-group { input { font-size: 13px; @@ -342,6 +363,7 @@ border: 0; } } + tbody .form-control { font-size: 14px; padding: 0 5px; @@ -372,6 +394,7 @@ } html[dir="rtl"] { + .mac-theme, .ios-theme { // * { @@ -380,7 +403,7 @@ html[dir="rtl"] { .content-section { margin-left: 0; - margin-right: $sidebarExpandedSize; + // margin-right: $sidebarExpandedSize; @media only screen and (max-width: 500px) { margin-right: 0; @@ -394,12 +417,12 @@ html[dir="rtl"] { } } - @media only screen and (max-width: 500px) { - } + @media only screen and (max-width: 500px) {} nav.navbar { right: $sidebarExpandedSize; left: 0; + @media only screen and (max-width: 500px) { right: 0; } diff --git a/modules/fireback/codegen/selfservice/assets/index-BBXZj-nV.js b/modules/fireback/codegen/selfservice/assets/index-BBXZj-nV.js new file mode 100644 index 000000000..5acdd93ce --- /dev/null +++ b/modules/fireback/codegen/selfservice/assets/index-BBXZj-nV.js @@ -0,0 +1,456 @@ +var MD=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Nhe=MD((Za,eo)=>{function kD(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Sf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function If(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function DD(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var nC={exports:{}},t0={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var YT;function FD(){if(YT)return t0;YT=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,i,o){var u=null;if(o!==void 0&&(u=""+o),i.key!==void 0&&(u=""+i.key),"key"in i){o={};for(var l in i)l!=="key"&&(o[l]=i[l])}else o=i;return i=o.ref,{$$typeof:t,type:r,key:u,ref:i!==void 0?i:null,props:o}}return t0.Fragment=e,t0.jsx=n,t0.jsxs=n,t0}var QT;function LD(){return QT||(QT=1,nC.exports=FD()),nC.exports}var N=LD(),rC={exports:{}},Lt={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var JT;function UD(){if(JT)return Lt;JT=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function w(G){return G===null||typeof G!="object"?null:(G=y&&G[y]||G["@@iterator"],typeof G=="function"?G:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function $(G,J,he){this.props=G,this.context=J,this.refs=E,this.updater=he||v}$.prototype.isReactComponent={},$.prototype.setState=function(G,J){if(typeof G!="object"&&typeof G!="function"&&G!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,G,J,"setState")},$.prototype.forceUpdate=function(G){this.updater.enqueueForceUpdate(this,G,"forceUpdate")};function O(){}O.prototype=$.prototype;function _(G,J,he){this.props=G,this.context=J,this.refs=E,this.updater=he||v}var R=_.prototype=new O;R.constructor=_,C(R,$.prototype),R.isPureReactComponent=!0;var k=Array.isArray,P={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function F(G,J,he,$e,Ce,Be){return he=Be.ref,{$$typeof:t,type:G,key:J,ref:he!==void 0?he:null,props:Be}}function q(G,J){return F(G.type,J,void 0,void 0,void 0,G.props)}function Y(G){return typeof G=="object"&&G!==null&&G.$$typeof===t}function X(G){var J={"=":"=0",":":"=2"};return"$"+G.replace(/[=:]/g,function(he){return J[he]})}var ue=/\/+/g;function me(G,J){return typeof G=="object"&&G!==null&&G.key!=null?X(""+G.key):J.toString(36)}function te(){}function be(G){switch(G.status){case"fulfilled":return G.value;case"rejected":throw G.reason;default:switch(typeof G.status=="string"?G.then(te,te):(G.status="pending",G.then(function(J){G.status==="pending"&&(G.status="fulfilled",G.value=J)},function(J){G.status==="pending"&&(G.status="rejected",G.reason=J)})),G.status){case"fulfilled":return G.value;case"rejected":throw G.reason}}throw G}function we(G,J,he,$e,Ce){var Be=typeof G;(Be==="undefined"||Be==="boolean")&&(G=null);var Ie=!1;if(G===null)Ie=!0;else switch(Be){case"bigint":case"string":case"number":Ie=!0;break;case"object":switch(G.$$typeof){case t:case e:Ie=!0;break;case g:return Ie=G._init,we(Ie(G._payload),J,he,$e,Ce)}}if(Ie)return Ce=Ce(G),Ie=$e===""?"."+me(G,0):$e,k(Ce)?(he="",Ie!=null&&(he=Ie.replace(ue,"$&/")+"/"),we(Ce,J,he,"",function(Ke){return Ke})):Ce!=null&&(Y(Ce)&&(Ce=q(Ce,he+(Ce.key==null||G&&G.key===Ce.key?"":(""+Ce.key).replace(ue,"$&/")+"/")+Ie)),J.push(Ce)),1;Ie=0;var tt=$e===""?".":$e+":";if(k(G))for(var ke=0;ke>>1,G=B[ie];if(0>>1;iei($e,H))Cei(Be,$e)?(B[ie]=Be,B[Ce]=H,ie=Ce):(B[ie]=$e,B[he]=H,ie=he);else if(Cei(Be,H))B[ie]=Be,B[Ce]=H,ie=Ce;else break e}}return V}function i(B,V){var H=B.sortIndex-V.sortIndex;return H!==0?H:B.id-V.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}var d=[],h=[],g=1,y=null,w=3,v=!1,C=!1,E=!1,$=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function R(B){for(var V=n(h);V!==null;){if(V.callback===null)r(h);else if(V.startTime<=B)r(h),V.sortIndex=V.expirationTime,e(d,V);else break;V=n(h)}}function k(B){if(E=!1,R(B),!C)if(n(d)!==null)C=!0,be();else{var V=n(h);V!==null&&we(k,V.startTime-B)}}var P=!1,L=-1,F=5,q=-1;function Y(){return!(t.unstable_now()-qB&&Y());){var ie=y.callback;if(typeof ie=="function"){y.callback=null,w=y.priorityLevel;var G=ie(y.expirationTime<=B);if(B=t.unstable_now(),typeof G=="function"){y.callback=G,R(B),V=!0;break t}y===n(d)&&r(d),R(B)}else r(d);y=n(d)}if(y!==null)V=!0;else{var J=n(h);J!==null&&we(k,J.startTime-B),V=!1}}break e}finally{y=null,w=H,v=!1}V=void 0}}finally{V?ue():P=!1}}}var ue;if(typeof _=="function")ue=function(){_(X)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,te=me.port2;me.port1.onmessage=X,ue=function(){te.postMessage(null)}}else ue=function(){$(X,0)};function be(){P||(P=!0,ue())}function we(B,V){L=$(function(){B(t.unstable_now())},V)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(B){B.callback=null},t.unstable_continueExecution=function(){C||v||(C=!0,be())},t.unstable_forceFrameRate=function(B){0>B||125ie?(B.sortIndex=H,e(h,B),n(d)===null&&B===n(h)&&(E?(O(L),L=-1):E=!0,we(k,H-ie))):(B.sortIndex=G,e(d,B),C||v||(C=!0,be())),B},t.unstable_shouldYield=Y,t.unstable_wrapCallback=function(B){var V=w;return function(){var H=w;w=V;try{return B.apply(this,arguments)}finally{w=H}}}})(oC)),oC}var e4;function BD(){return e4||(e4=1,aC.exports=jD()),aC.exports}var sC={exports:{}},Pi={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var t4;function qD(){if(t4)return Pi;t4=1;var t=rO();function e(d){var h="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),sC.exports=qD(),sC.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r4;function HD(){if(r4)return n0;r4=1;var t=BD(),e=rO(),n=o9();function r(a){var s="https://react.dev/errors/"+a;if(1)":-1b||Z[m]!==se[b]){var _e=` +`+Z[m].replace(" at new "," at ");return a.displayName&&_e.includes("")&&(_e=_e.replace("",a.displayName)),_e}while(1<=m&&0<=b);break}}}finally{be=!1,Error.prepareStackTrace=c}return(c=a?a.displayName||a.name:"")?te(c):""}function B(a){switch(a.tag){case 26:case 27:case 5:return te(a.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 15:return a=we(a.type,!1),a;case 11:return a=we(a.type.render,!1),a;case 1:return a=we(a.type,!0),a;default:return""}}function V(a){try{var s="";do s+=B(a),a=a.return;while(a);return s}catch(c){return` +Error generating stack: `+c.message+` +`+c.stack}}function H(a){var s=a,c=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(c=s.return),a=s.return;while(a)}return s.tag===3?c:null}function ie(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function G(a){if(H(a)!==a)throw Error(r(188))}function J(a){var s=a.alternate;if(!s){if(s=H(a),s===null)throw Error(r(188));return s!==a?null:a}for(var c=a,m=s;;){var b=c.return;if(b===null)break;var x=b.alternate;if(x===null){if(m=b.return,m!==null){c=m;continue}break}if(b.child===x.child){for(x=b.child;x;){if(x===c)return G(b),a;if(x===m)return G(b),s;x=x.sibling}throw Error(r(188))}if(c.return!==m.return)c=b,m=x;else{for(var D=!1,W=b.child;W;){if(W===c){D=!0,c=b,m=x;break}if(W===m){D=!0,m=b,c=x;break}W=W.sibling}if(!D){for(W=x.child;W;){if(W===c){D=!0,c=x,m=b;break}if(W===m){D=!0,m=x,c=b;break}W=W.sibling}if(!D)throw Error(r(189))}}if(c.alternate!==m)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?a:s}function he(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=he(a),s!==null)return s;a=a.sibling}return null}var $e=Array.isArray,Ce=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Be={pending:!1,data:null,method:null,action:null},Ie=[],tt=-1;function ke(a){return{current:a}}function Ke(a){0>tt||(a.current=Ie[tt],Ie[tt]=null,tt--)}function He(a,s){tt++,Ie[tt]=a.current,a.current=s}var ut=ke(null),pt=ke(null),bt=ke(null),gt=ke(null);function Ut(a,s){switch(He(bt,s),He(pt,a),He(ut,null),a=s.nodeType,a){case 9:case 11:s=(s=s.documentElement)&&(s=s.namespaceURI)?m2(s):0;break;default:if(a=a===8?s.parentNode:s,s=a.tagName,a=a.namespaceURI)a=m2(a),s=g2(a,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}Ke(ut),He(ut,s)}function Gt(){Ke(ut),Ke(pt),Ke(bt)}function Tt(a){a.memoizedState!==null&&He(gt,a);var s=ut.current,c=g2(s,a.type);s!==c&&(He(pt,a),He(ut,c))}function en(a){pt.current===a&&(Ke(ut),Ke(pt)),gt.current===a&&(Ke(gt),Vd._currentValue=Be)}var xn=Object.prototype.hasOwnProperty,Dt=t.unstable_scheduleCallback,Pt=t.unstable_cancelCallback,pe=t.unstable_shouldYield,ze=t.unstable_requestPaint,Ge=t.unstable_now,Qe=t.unstable_getCurrentPriorityLevel,ht=t.unstable_ImmediatePriority,j=t.unstable_UserBlockingPriority,A=t.unstable_NormalPriority,M=t.unstable_LowPriority,Q=t.unstable_IdlePriority,re=t.log,ge=t.unstable_setDisableYieldValue,Ee=null,rt=null;function Wt(a){if(rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(Ee,a,void 0,(a.current.flags&128)===128)}catch{}}function ae(a){if(typeof re=="function"&&ge(a),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode(Ee,a)}catch{}}var ce=Math.clz32?Math.clz32:ln,nt=Math.log,Ht=Math.LN2;function ln(a){return a>>>=0,a===0?32:31-(nt(a)/Ht|0)|0}var wt=128,jr=4194304;function tn(a){var s=a&42;if(s!==0)return s;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function er(a,s){var c=a.pendingLanes;if(c===0)return 0;var m=0,b=a.suspendedLanes,x=a.pingedLanes,D=a.warmLanes;a=a.finishedLanes!==0;var W=c&134217727;return W!==0?(c=W&~b,c!==0?m=tn(c):(x&=W,x!==0?m=tn(x):a||(D=W&~D,D!==0&&(m=tn(D))))):(W=c&~b,W!==0?m=tn(W):x!==0?m=tn(x):a||(D=c&~D,D!==0&&(m=tn(D)))),m===0?0:s!==0&&s!==m&&(s&b)===0&&(b=m&-m,D=s&-s,b>=D||b===32&&(D&4194176)!==0)?s:m}function On(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function Fi(a,s){switch(a){case 1:case 2:case 4:case 8:return s+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ca(){var a=wt;return wt<<=1,(wt&4194176)===0&&(wt=128),a}function Ar(){var a=jr;return jr<<=1,(jr&62914560)===0&&(jr=4194304),a}function Fs(a){for(var s=[],c=0;31>c;c++)s.push(a);return s}function ro(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Ls(a,s,c,m,b,x){var D=a.pendingLanes;a.pendingLanes=c,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=c,a.entangledLanes&=c,a.errorRecoveryDisabledLanes&=c,a.shellSuspendCounter=0;var W=a.entanglements,Z=a.expirationTimes,se=a.hiddenUpdates;for(c=D&~c;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ll=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),em={},Jf={};function fy(a){return xn.call(Jf,a)?!0:xn.call(em,a)?!1:Ll.test(a)?Jf[a]=!0:(em[a]=!0,!1)}function Iu(a,s,c){if(fy(s))if(c===null)a.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":a.removeAttribute(s);return;case"boolean":var m=s.toLowerCase().slice(0,5);if(m!=="data-"&&m!=="aria-"){a.removeAttribute(s);return}}a.setAttribute(s,""+c)}}function Oi(a,s,c){if(c===null)a.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(s);return}a.setAttribute(s,""+c)}}function fa(a,s,c,m){if(m===null)a.removeAttribute(c);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(c);return}a.setAttributeNS(s,c,""+m)}}function Zr(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ul(a){var s=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Bs(a){var s=Ul(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,s),m=""+a[s];if(!a.hasOwnProperty(s)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var b=c.get,x=c.set;return Object.defineProperty(a,s,{configurable:!0,get:function(){return b.call(this)},set:function(D){m=""+D,x.call(this,D)}}),Object.defineProperty(a,s,{enumerable:c.enumerable}),{getValue:function(){return m},setValue:function(D){m=""+D},stopTracking:function(){a._valueTracker=null,delete a[s]}}}}function oo(a){a._valueTracker||(a._valueTracker=Bs(a))}function so(a){if(!a)return!1;var s=a._valueTracker;if(!s)return!0;var c=s.getValue(),m="";return a&&(m=Ul(a)?a.checked?"true":"false":a.value),a=m,a!==c?(s.setValue(a),!0):!1}function Nu(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var dy=/[\n"\\]/g;function ei(a){return a.replace(dy,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function jl(a,s,c,m,b,x,D,W){a.name="",D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?a.type=D:a.removeAttribute("type"),s!=null?D==="number"?(s===0&&a.value===""||a.value!=s)&&(a.value=""+Zr(s)):a.value!==""+Zr(s)&&(a.value=""+Zr(s)):D!=="submit"&&D!=="reset"||a.removeAttribute("value"),s!=null?Xf(a,D,Zr(s)):c!=null?Xf(a,D,Zr(c)):m!=null&&a.removeAttribute("value"),b==null&&x!=null&&(a.defaultChecked=!!x),b!=null&&(a.checked=b&&typeof b!="function"&&typeof b!="symbol"),W!=null&&typeof W!="function"&&typeof W!="symbol"&&typeof W!="boolean"?a.name=""+Zr(W):a.removeAttribute("name")}function Bl(a,s,c,m,b,x,D,W){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(a.type=x),s!=null||c!=null){if(!(x!=="submit"&&x!=="reset"||s!=null))return;c=c!=null?""+Zr(c):"",s=s!=null?""+Zr(s):c,W||s===a.value||(a.value=s),a.defaultValue=s}m=m??b,m=typeof m!="function"&&typeof m!="symbol"&&!!m,a.checked=W?a.checked:!!m,a.defaultChecked=!!m,D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(a.name=D)}function Xf(a,s,c){s==="number"&&Nu(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}function Qo(a,s,c,m){if(a=a.options,s){s={};for(var b=0;b=Jl),lm=" ",yy=!1;function J1(a,s){switch(a){case"keyup":return Ql.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cm(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Vs=!1;function n3(a,s){switch(a){case"compositionend":return cm(s);case"keypress":return s.which!==32?null:(yy=!0,lm);case"textInput":return a=s.data,a===lm&&yy?null:a;default:return null}}function X1(a,s){if(Vs)return a==="compositionend"||!gy&&J1(a,s)?(a=rm(),uo=zs=Aa=null,Vs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1=s)return{node:c,offset:s-a};a=m}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=ha(c)}}function ib(a,s){return a&&s?a===s?!0:a&&a.nodeType===3?!1:s&&s.nodeType===3?ib(a,s.parentNode):"contains"in a?a.contains(s):a.compareDocumentPosition?!!(a.compareDocumentPosition(s)&16):!1:!1}function ab(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var s=Nu(a.document);s instanceof a.HTMLIFrameElement;){try{var c=typeof s.contentWindow.location.href=="string"}catch{c=!1}if(c)a=s.contentWindow;else break;s=Nu(a.document)}return s}function wy(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s&&(s==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||s==="textarea"||a.contentEditable==="true")}function o3(a,s){var c=ab(s);s=a.focusedElem;var m=a.selectionRange;if(c!==s&&s&&s.ownerDocument&&ib(s.ownerDocument.documentElement,s)){if(m!==null&&wy(s)){if(a=m.start,c=m.end,c===void 0&&(c=a),"selectionStart"in s)s.selectionStart=a,s.selectionEnd=Math.min(c,s.value.length);else if(c=(a=s.ownerDocument||document)&&a.defaultView||window,c.getSelection){c=c.getSelection();var b=s.textContent.length,x=Math.min(m.start,b);m=m.end===void 0?x:Math.min(m.end,b),!c.extend&&x>m&&(b=m,m=x,x=b),b=by(s,x);var D=by(s,m);b&&D&&(c.rangeCount!==1||c.anchorNode!==b.node||c.anchorOffset!==b.offset||c.focusNode!==D.node||c.focusOffset!==D.offset)&&(a=a.createRange(),a.setStart(b.node,b.offset),c.removeAllRanges(),x>m?(c.addRange(a),c.extend(D.node,D.offset)):(a.setEnd(D.node,D.offset),c.addRange(a)))}}for(a=[],c=s;c=c.parentNode;)c.nodeType===1&&a.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s=document.documentMode,Ra=null,le=null,xe=null,Se=!1;function Xe(a,s,c){var m=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Se||Ra==null||Ra!==Nu(m)||(m=Ra,"selectionStart"in m&&wy(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),xe&&fo(xe,m)||(xe=m,m=Jm(le,"onSelect"),0>=D,b-=D,ya=1<<32-ce(s)+b|c<vt?(un=st,st=null):un=st.sibling;var Zt=ve(de,st,ye[vt],Ne);if(Zt===null){st===null&&(st=un);break}a&&st&&Zt.alternate===null&&s(de,st),oe=x(Zt,oe,vt),jt===null?et=Zt:jt.sibling=Zt,jt=Zt,st=un}if(vt===ye.length)return c(de,st),$t&&rs(de,vt),et;if(st===null){for(;vtvt?(un=st,st=null):un=st.sibling;var yu=ve(de,st,Zt.value,Ne);if(yu===null){st===null&&(st=un);break}a&&st&&yu.alternate===null&&s(de,st),oe=x(yu,oe,vt),jt===null?et=yu:jt.sibling=yu,jt=yu,st=un}if(Zt.done)return c(de,st),$t&&rs(de,vt),et;if(st===null){for(;!Zt.done;vt++,Zt=ye.next())Zt=Le(de,Zt.value,Ne),Zt!==null&&(oe=x(Zt,oe,vt),jt===null?et=Zt:jt.sibling=Zt,jt=Zt);return $t&&rs(de,vt),et}for(st=m(st);!Zt.done;vt++,Zt=ye.next())Zt=Oe(st,de,vt,Zt.value,Ne),Zt!==null&&(a&&Zt.alternate!==null&&st.delete(Zt.key===null?vt:Zt.key),oe=x(Zt,oe,vt),jt===null?et=Zt:jt.sibling=Zt,jt=Zt);return a&&st.forEach(function(J3){return s(de,J3)}),$t&&rs(de,vt),et}function zn(de,oe,ye,Ne){if(typeof ye=="object"&&ye!==null&&ye.type===d&&ye.key===null&&(ye=ye.props.children),typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case u:e:{for(var et=ye.key;oe!==null;){if(oe.key===et){if(et=ye.type,et===d){if(oe.tag===7){c(de,oe.sibling),Ne=b(oe,ye.props.children),Ne.return=de,de=Ne;break e}}else if(oe.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===_&&ld(et)===oe.type){c(de,oe.sibling),Ne=b(oe,ye.props),z(Ne,ye),Ne.return=de,de=Ne;break e}c(de,oe);break}else s(de,oe);oe=oe.sibling}ye.type===d?(Ne=Ju(ye.props.children,de.mode,Ne,ye.key),Ne.return=de,de=Ne):(Ne=Id(ye.type,ye.key,ye.props,null,de.mode,Ne),z(Ne,ye),Ne.return=de,de=Ne)}return D(de);case l:e:{for(et=ye.key;oe!==null;){if(oe.key===et)if(oe.tag===4&&oe.stateNode.containerInfo===ye.containerInfo&&oe.stateNode.implementation===ye.implementation){c(de,oe.sibling),Ne=b(oe,ye.children||[]),Ne.return=de,de=Ne;break e}else{c(de,oe);break}else s(de,oe);oe=oe.sibling}Ne=pv(ye,de.mode,Ne),Ne.return=de,de=Ne}return D(de);case _:return et=ye._init,ye=et(ye._payload),zn(de,oe,ye,Ne)}if($e(ye))return at(de,oe,ye,Ne);if(L(ye)){if(et=L(ye),typeof et!="function")throw Error(r(150));return ye=et.call(ye),Et(de,oe,ye,Ne)}if(typeof ye.then=="function")return zn(de,oe,ud(ye),Ne);if(ye.$$typeof===v)return zn(de,oe,jm(de,ye),Ne);us(de,ye)}return typeof ye=="string"&&ye!==""||typeof ye=="number"||typeof ye=="bigint"?(ye=""+ye,oe!==null&&oe.tag===6?(c(de,oe.sibling),Ne=b(oe,ye),Ne.return=de,de=Ne):(c(de,oe),Ne=hv(ye,de.mode,Ne),Ne.return=de,de=Ne),D(de)):c(de,oe)}return function(de,oe,ye,Ne){try{ss=0;var et=zn(de,oe,ye,Ne);return os=null,et}catch(st){if(st===as)throw st;var jt=ea(29,st,null,de.mode);return jt.lanes=Ne,jt.return=de,jt}finally{}}}var At=Wi(!0),db=Wi(!1),ic=ke(null),Sm=ke(0);function Ys(a,s){a=bs,He(Sm,a),He(ic,s),bs=a|s.baseLanes}function xy(){He(Sm,bs),He(ic,ic.current)}function Oy(){bs=Sm.current,Ke(ic),Ke(Sm)}var ba=ke(null),vo=null;function Qs(a){var s=a.alternate;He(pr,pr.current&1),He(ba,a),vo===null&&(s===null||ic.current!==null||s.memoizedState!==null)&&(vo=a)}function bo(a){if(a.tag===22){if(He(pr,pr.current),He(ba,a),vo===null){var s=a.alternate;s!==null&&s.memoizedState!==null&&(vo=a)}}else Js()}function Js(){He(pr,pr.current),He(ba,ba.current)}function ls(a){Ke(ba),vo===a&&(vo=null),Ke(pr)}var pr=ke(0);function Cm(a){for(var s=a;s!==null;){if(s.tag===13){var c=s.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var l3=typeof AbortController<"u"?AbortController:function(){var a=[],s=this.signal={aborted:!1,addEventListener:function(c,m){a.push(m)}};this.abort=function(){s.aborted=!0,a.forEach(function(c){return c()})}},cs=t.unstable_scheduleCallback,c3=t.unstable_NormalPriority,mr={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ty(){return{controller:new l3,data:new Map,refCount:0}}function cd(a){a.refCount--,a.refCount===0&&cs(c3,function(){a.controller.abort()})}var fd=null,fs=0,ac=0,oc=null;function Na(a,s){if(fd===null){var c=fd=[];fs=0,ac=Pv(),oc={status:"pending",value:void 0,then:function(m){c.push(m)}}}return fs++,s.then(hb,hb),s}function hb(){if(--fs===0&&fd!==null){oc!==null&&(oc.status="fulfilled");var a=fd;fd=null,ac=0,oc=null;for(var s=0;sx?x:8;var D=Y.T,W={};Y.T=W,pc(a,!1,s,c);try{var Z=b(),se=Y.S;if(se!==null&&se(W,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var _e=f3(Z,m);vd(a,s,_e,na(a))}else vd(a,s,m,na(a))}catch(Le){vd(a,s,{then:function(){},status:"rejected",reason:Le},na())}finally{Ce.p=x,Y.T=D}}function h3(){}function yd(a,s,c,m){if(a.tag!==5)throw Error(r(476));var b=Mt(a).queue;Pm(a,b,s,Be,c===null?h3:function(){return Tb(a),c(m)})}function Mt(a){var s=a.memoizedState;if(s!==null)return s;s={memoizedState:Be,baseState:Be,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:Be},next:null};var c={};return s.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:c},next:null},a.memoizedState=s,a=a.alternate,a!==null&&(a.memoizedState=s),s}function Tb(a){var s=Mt(a).next.queue;vd(a,s,{},na())}function Hy(){return Gr(Vd)}function hc(){return nr().memoizedState}function zy(){return nr().memoizedState}function p3(a){for(var s=a.return;s!==null;){switch(s.tag){case 24:case 3:var c=na();a=Ua(c);var m=Qi(s,a,c);m!==null&&(Kr(m,s,c),lt(m,s,c)),s={cache:Ty()},a.payload=s;return}s=s.return}}function m3(a,s,c){var m=na();c={lane:m,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},mc(a)?Vy(s,c):(c=ho(a,s,c,m),c!==null&&(Kr(c,a,m),Gy(c,s,m)))}function Yi(a,s,c){var m=na();vd(a,s,c,m)}function vd(a,s,c,m){var b={lane:m,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(mc(a))Vy(s,b);else{var x=a.alternate;if(a.lanes===0&&(x===null||x.lanes===0)&&(x=s.lastRenderedReducer,x!==null))try{var D=s.lastRenderedState,W=x(D,c);if(b.hasEagerState=!0,b.eagerState=W,Vi(W,D))return Du(a,s,b,0),$n===null&&gm(),!1}catch{}finally{}if(c=ho(a,s,b,m),c!==null)return Kr(c,a,m),Gy(c,s,m),!0}return!1}function pc(a,s,c,m){if(m={lane:2,revertLane:Pv(),action:m,hasEagerState:!1,eagerState:null,next:null},mc(a)){if(s)throw Error(r(479))}else s=ho(a,c,m,2),s!==null&&Kr(s,a,2)}function mc(a){var s=a.alternate;return a===Ft||s!==null&&s===Ft}function Vy(a,s){sc=Vu=!0;var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}function Gy(a,s,c){if((c&4194176)!==0){var m=s.lanes;m&=a.pendingLanes,c|=m,s.lanes=c,Xr(a,c)}}var Kn={readContext:Gr,use:hd,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useInsertionEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an,useDeferredValue:an,useTransition:an,useSyncExternalStore:an,useId:an};Kn.useCacheRefresh=an,Kn.useMemoCache=an,Kn.useHostTransitionStatus=an,Kn.useFormState=an,Kn.useActionState=an,Kn.useOptimistic=an;var _i={readContext:Gr,use:hd,useCallback:function(a,s){return Ti().memoizedState=[a,s===void 0?null:s],a},useContext:Gr,useEffect:Fy,useImperativeHandle:function(a,s,c){c=c!=null?c.concat([a]):null,dc(4194308,4,Ly.bind(null,s,a),c)},useLayoutEffect:function(a,s){return dc(4194308,4,a,s)},useInsertionEffect:function(a,s){dc(4,2,a,s)},useMemo:function(a,s){var c=Ti();s=s===void 0?null:s;var m=a();if(Zs){ae(!0);try{a()}finally{ae(!1)}}return c.memoizedState=[m,s],m},useReducer:function(a,s,c){var m=Ti();if(c!==void 0){var b=c(s);if(Zs){ae(!0);try{c(s)}finally{ae(!1)}}}else b=s;return m.memoizedState=m.baseState=b,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b},m.queue=a,a=a.dispatch=m3.bind(null,Ft,a),[m.memoizedState,a]},useRef:function(a){var s=Ti();return a={current:a},s.memoizedState=a},useState:function(a){a=Ny(a);var s=a.queue,c=Yi.bind(null,Ft,s);return s.dispatch=c,[a.memoizedState,c]},useDebugValue:jy,useDeferredValue:function(a,s){var c=Ti();return gd(c,a,s)},useTransition:function(){var a=Ny(!1);return a=Pm.bind(null,Ft,a.queue,!0,!1),Ti().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,s,c){var m=Ft,b=Ti();if($t){if(c===void 0)throw Error(r(407));c=c()}else{if(c=s(),$n===null)throw Error(r(349));(Xt&60)!==0||Tm(m,s,c)}b.memoizedState=c;var x={value:c,getSnapshot:s};return b.queue=x,Fy(gb.bind(null,m,x,a),[a]),m.flags|=2048,nu(9,mb.bind(null,m,x,c,s),{destroy:void 0},null),c},useId:function(){var a=Ti(),s=$n.identifierPrefix;if($t){var c=va,m=ya;c=(m&~(1<<32-ce(m)-1)).toString(32)+c,s=":"+s+"R"+c,c=$m++,0 title"))),Nr(x,m,c),x[Nn]=a,Mn(x),m=x;break e;case"link":var D=C2("link","href",b).get(m+(c.href||""));if(D){for(var W=0;W<\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof m.is=="string"?b.createElement("select",{is:m.is}):b.createElement("select"),m.multiple?a.multiple=!0:m.size&&(a.size=m.size);break;default:a=typeof m.is=="string"?b.createElement(c,{is:m.is}):b.createElement(c)}}a[Nn]=s,a[An]=m;e:for(b=s.child;b!==null;){if(b.tag===5||b.tag===6)a.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===s)break e;for(;b.sibling===null;){if(b.return===null||b.return===s)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}s.stateNode=a;e:switch(Nr(a,c,m),c){case"button":case"input":case"select":case"textarea":a=!!m.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&ys(s)}}return Bn(s),s.flags&=-16777217,null;case 6:if(a&&s.stateNode!=null)a.memoizedProps!==m&&ys(s);else{if(typeof m!="string"&&s.stateNode===null)throw Error(r(166));if(a=bt.current,Hu(s)){if(a=s.stateNode,c=s.memoizedProps,m=null,b=ri,b!==null)switch(b.tag){case 27:case 5:m=b.memoizedProps}a[Nn]=s,a=!!(a.nodeValue===c||m!==null&&m.suppressHydrationWarning===!0||Ot(a.nodeValue,c)),a||qu(s)}else a=Zm(a).createTextNode(m),a[Nn]=s,s.stateNode=a}return Bn(s),null;case 13:if(m=s.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(b=Hu(s),m!==null&&m.dehydrated!==null){if(a===null){if(!b)throw Error(r(318));if(b=s.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[Nn]=s}else yo(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Bn(s),b=!1}else Ia!==null&&(Ac(Ia),Ia=null),b=!0;if(!b)return s.flags&256?(ls(s),s):(ls(s),null)}if(ls(s),(s.flags&128)!==0)return s.lanes=c,s;if(c=m!==null,a=a!==null&&a.memoizedState!==null,c){m=s.child,b=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(b=m.alternate.memoizedState.cachePool.pool);var x=null;m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(x=m.memoizedState.cachePool.pool),x!==b&&(m.flags|=2048)}return c!==a&&c&&(s.child.flags|=8192),oi(s,s.updateQueue),Bn(s),null;case 4:return Gt(),a===null&&Dv(s.stateNode.containerInfo),Bn(s),null;case 10:return So(s.type),Bn(s),null;case 19:if(Ke(pr),b=s.memoizedState,b===null)return Bn(s),null;if(m=(s.flags&128)!==0,x=b.rendering,x===null)if(m)Nd(b,!1);else{if(Qn!==0||a!==null&&(a.flags&128)!==0)for(a=s.child;a!==null;){if(x=Cm(a),x!==null){for(s.flags|=128,Nd(b,!1),a=x.updateQueue,s.updateQueue=a,oi(s,a),s.subtreeFlags=0,a=c,c=s.child;c!==null;)Gb(c,a),c=c.sibling;return He(pr,pr.current&1|2),s.child}a=a.sibling}b.tail!==null&&Ge()>Vm&&(s.flags|=128,m=!0,Nd(b,!1),s.lanes=4194304)}else{if(!m)if(a=Cm(x),a!==null){if(s.flags|=128,m=!0,a=a.updateQueue,s.updateQueue=a,oi(s,a),Nd(b,!0),b.tail===null&&b.tailMode==="hidden"&&!x.alternate&&!$t)return Bn(s),null}else 2*Ge()-b.renderingStartTime>Vm&&c!==536870912&&(s.flags|=128,m=!0,Nd(b,!1),s.lanes=4194304);b.isBackwards?(x.sibling=s.child,s.child=x):(a=b.last,a!==null?a.sibling=x:s.child=x,b.last=x)}return b.tail!==null?(s=b.tail,b.rendering=s,b.tail=s.sibling,b.renderingStartTime=Ge(),s.sibling=null,a=pr.current,He(pr,m?a&1|2:a&1),s):(Bn(s),null);case 22:case 23:return ls(s),Oy(),m=s.memoizedState!==null,a!==null?a.memoizedState!==null!==m&&(s.flags|=8192):m&&(s.flags|=8192),m?(c&536870912)!==0&&(s.flags&128)===0&&(Bn(s),s.subtreeFlags&6&&(s.flags|=8192)):Bn(s),c=s.updateQueue,c!==null&&oi(s,c.retryQueue),c=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),m=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),m!==c&&(s.flags|=2048),a!==null&&Ke(zu),null;case 24:return c=null,a!==null&&(c=a.memoizedState.cache),s.memoizedState.cache!==c&&(s.flags|=2048),So(mr),Bn(s),null;case 25:return null}throw Error(r(156,s.tag))}function Yb(a,s){switch(Ey(s),s.tag){case 1:return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 3:return So(mr),Gt(),a=s.flags,(a&65536)!==0&&(a&128)===0?(s.flags=a&-65537|128,s):null;case 26:case 27:case 5:return en(s),null;case 13:if(ls(s),a=s.memoizedState,a!==null&&a.dehydrated!==null){if(s.alternate===null)throw Error(r(340));yo()}return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 19:return Ke(pr),null;case 4:return Gt(),null;case 10:return So(s.type),null;case 22:case 23:return ls(s),Oy(),a!==null&&Ke(zu),a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 24:return So(mr),null;case 25:return null;default:return null}}function Qb(a,s){switch(Ey(s),s.tag){case 3:So(mr),Gt();break;case 26:case 27:case 5:en(s);break;case 4:Gt();break;case 13:ls(s);break;case 19:Ke(pr);break;case 10:So(s.type);break;case 22:case 23:ls(s),Oy(),a!==null&&Ke(zu);break;case 24:So(mr)}}var b3={getCacheForType:function(a){var s=Gr(mr),c=s.data.get(a);return c===void 0&&(c=a(),s.data.set(a,c)),c}},w3=typeof WeakMap=="function"?WeakMap:Map,qn=0,$n=null,qt=null,Xt=0,Pn=0,ta=null,vs=!1,Tc=!1,mv=!1,bs=0,Qn=0,fu=0,Xu=0,gv=0,Sa=0,_c=0,Md=null,Oo=null,yv=!1,vv=0,Vm=1/0,Gm=null,To=null,kd=!1,Zu=null,Dd=0,bv=0,wv=null,Fd=0,Sv=null;function na(){if((qn&2)!==0&&Xt!==0)return Xt&-Xt;if(Y.T!==null){var a=ac;return a!==0?a:Pv()}return Li()}function Jb(){Sa===0&&(Sa=(Xt&536870912)===0||$t?ca():536870912);var a=ba.current;return a!==null&&(a.flags|=32),Sa}function Kr(a,s,c){(a===$n&&Pn===2||a.cancelPendingCommit!==null)&&(Rc(a,0),ws(a,Xt,Sa,!1)),ro(a,c),((qn&2)===0||a!==$n)&&(a===$n&&((qn&2)===0&&(Xu|=c),Qn===4&&ws(a,Xt,Sa,!1)),qa(a))}function Xb(a,s,c){if((qn&6)!==0)throw Error(r(327));var m=!c&&(s&60)===0&&(s&a.expiredLanes)===0||On(a,s),b=m?$3(a,s):Ev(a,s,!0),x=m;do{if(b===0){Tc&&!m&&ws(a,s,0,!1);break}else if(b===6)ws(a,s,0,!vs);else{if(c=a.current.alternate,x&&!S3(c)){b=Ev(a,s,!1),x=!1;continue}if(b===2){if(x=s,a.errorRecoveryDisabledLanes&x)var D=0;else D=a.pendingLanes&-536870913,D=D!==0?D:D&536870912?536870912:0;if(D!==0){s=D;e:{var W=a;b=Md;var Z=W.current.memoizedState.isDehydrated;if(Z&&(Rc(W,D).flags|=256),D=Ev(W,D,!1),D!==2){if(mv&&!Z){W.errorRecoveryDisabledLanes|=x,Xu|=x,b=4;break e}x=Oo,Oo=b,x!==null&&Ac(x)}b=D}if(x=!1,b!==2)continue}}if(b===1){Rc(a,0),ws(a,s,0,!0);break}e:{switch(m=a,b){case 0:case 1:throw Error(r(345));case 4:if((s&4194176)===s){ws(m,s,Sa,!vs);break e}break;case 2:Oo=null;break;case 3:case 5:break;default:throw Error(r(329))}if(m.finishedWork=c,m.finishedLanes=s,(s&62914560)===s&&(x=vv+300-Ge(),10c?32:c,Y.T=null,Zu===null)var x=!1;else{c=wv,wv=null;var D=Zu,W=Dd;if(Zu=null,Dd=0,(qn&6)!==0)throw Error(r(331));var Z=qn;if(qn|=4,zb(D.current),Bb(D,D.current,W,c),qn=Z,nl(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(Ee,D)}catch{}x=!0}return x}finally{Ce.p=b,Y.T=m,s2(a,s)}}return!1}function u2(a,s,c){s=ni(c,s),s=wd(a.stateNode,s,2),a=Qi(a,s,2),a!==null&&(ro(a,2),qa(a))}function Tn(a,s,c){if(a.tag===3)u2(a,a,c);else for(;s!==null;){if(s.tag===3){u2(s,a,c);break}else if(s.tag===1){var m=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(To===null||!To.has(m))){a=ni(c,a),c=Ab(2),m=Qi(s,c,2),m!==null&&(Rb(c,m,s,a),ro(m,2),qa(m));break}}s=s.return}}function xv(a,s,c){var m=a.pingCache;if(m===null){m=a.pingCache=new w3;var b=new Set;m.set(s,b)}else b=m.get(s),b===void 0&&(b=new Set,m.set(s,b));b.has(c)||(mv=!0,b.add(c),a=O3.bind(null,a,s,c),s.then(a,a))}function O3(a,s,c){var m=a.pingCache;m!==null&&m.delete(s),a.pingedLanes|=a.suspendedLanes&c,a.warmLanes&=~c,$n===a&&(Xt&c)===c&&(Qn===4||Qn===3&&(Xt&62914560)===Xt&&300>Ge()-vv?(qn&2)===0&&Rc(a,0):gv|=c,_c===Xt&&(_c=0)),qa(a)}function l2(a,s){s===0&&(s=Ar()),a=Pa(a,s),a!==null&&(ro(a,s),qa(a))}function T3(a){var s=a.memoizedState,c=0;s!==null&&(c=s.retryLane),l2(a,c)}function _3(a,s){var c=0;switch(a.tag){case 13:var m=a.stateNode,b=a.memoizedState;b!==null&&(c=b.retryLane);break;case 19:m=a.stateNode;break;case 22:m=a.stateNode._retryCache;break;default:throw Error(r(314))}m!==null&&m.delete(s),l2(a,c)}function A3(a,s){return Dt(a,s)}var Km=null,Pc=null,Ov=!1,tl=!1,Tv=!1,du=0;function qa(a){a!==Pc&&a.next===null&&(Pc===null?Km=Pc=a:Pc=Pc.next=a),tl=!0,Ov||(Ov=!0,R3(c2))}function nl(a,s){if(!Tv&&tl){Tv=!0;do for(var c=!1,m=Km;m!==null;){if(a!==0){var b=m.pendingLanes;if(b===0)var x=0;else{var D=m.suspendedLanes,W=m.pingedLanes;x=(1<<31-ce(42|a)+1)-1,x&=b&~(D&~W),x=x&201326677?x&201326677|1:x?x|2:0}x!==0&&(c=!0,Rv(m,x))}else x=Xt,x=er(m,m===$n?x:0),(x&3)===0||On(m,x)||(c=!0,Rv(m,x));m=m.next}while(c);Tv=!1}}function c2(){tl=Ov=!1;var a=0;du!==0&&(Cs()&&(a=du),du=0);for(var s=Ge(),c=null,m=Km;m!==null;){var b=m.next,x=_v(m,s);x===0?(m.next=null,c===null?Km=b:c.next=b,b===null&&(Pc=c)):(c=m,(a!==0||(x&3)!==0)&&(tl=!0)),m=b}nl(a)}function _v(a,s){for(var c=a.suspendedLanes,m=a.pingedLanes,b=a.expirationTimes,x=a.pendingLanes&-62914561;0"u"?null:document;function b2(a,s,c){var m=za;if(m&&typeof s=="string"&&s){var b=ei(s);b='link[rel="'+a+'"][href="'+b+'"]',typeof c=="string"&&(b+='[crossorigin="'+c+'"]'),tg.has(b)||(tg.add(b),a={rel:a,crossOrigin:c,href:s},m.querySelector(b)===null&&(s=m.createElement("link"),Nr(s,"link",a),Mn(s),m.head.appendChild(s)))}}function D3(a){_o.D(a),b2("dns-prefetch",a,null)}function F3(a,s){_o.C(a,s),b2("preconnect",a,s)}function L3(a,s,c){_o.L(a,s,c);var m=za;if(m&&a&&s){var b='link[rel="preload"][as="'+ei(s)+'"]';s==="image"&&c&&c.imageSrcSet?(b+='[imagesrcset="'+ei(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(b+='[imagesizes="'+ei(c.imageSizes)+'"]')):b+='[href="'+ei(a)+'"]';var x=b;switch(s){case"style":x=Mr(a);break;case"script":x=Mc(a)}Yr.has(x)||(a=X({rel:"preload",href:s==="image"&&c&&c.imageSrcSet?void 0:a,as:s},c),Yr.set(x,a),m.querySelector(b)!==null||s==="style"&&m.querySelector(Nc(x))||s==="script"&&m.querySelector(kc(x))||(s=m.createElement("link"),Nr(s,"link",a),Mn(s),m.head.appendChild(s)))}}function U3(a,s){_o.m(a,s);var c=za;if(c&&a){var m=s&&typeof s.as=="string"?s.as:"script",b='link[rel="modulepreload"][as="'+ei(m)+'"][href="'+ei(a)+'"]',x=b;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=Mc(a)}if(!Yr.has(x)&&(a=X({rel:"modulepreload",href:a},s),Yr.set(x,a),c.querySelector(b)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(kc(x)))return}m=c.createElement("link"),Nr(m,"link",a),Mn(m),c.head.appendChild(m)}}}function w2(a,s,c){_o.S(a,s,c);var m=za;if(m&&a){var b=js(m).hoistableStyles,x=Mr(a);s=s||"default";var D=b.get(x);if(!D){var W={loading:0,preload:null};if(D=m.querySelector(Nc(x)))W.loading=5;else{a=X({rel:"stylesheet",href:a,"data-precedence":s},c),(c=Yr.get(x))&&Gv(a,c);var Z=D=m.createElement("link");Mn(Z),Nr(Z,"link",a),Z._p=new Promise(function(se,_e){Z.onload=se,Z.onerror=_e}),Z.addEventListener("load",function(){W.loading|=1}),Z.addEventListener("error",function(){W.loading|=2}),W.loading|=4,ig(D,s,m)}D={type:"stylesheet",instance:D,count:1,state:W},b.set(x,D)}}}function $s(a,s){_o.X(a,s);var c=za;if(c&&a){var m=js(c).hoistableScripts,b=Mc(a),x=m.get(b);x||(x=c.querySelector(kc(b)),x||(a=X({src:a,async:!0},s),(s=Yr.get(b))&&Wv(a,s),x=c.createElement("script"),Mn(x),Nr(x,"link",a),c.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},m.set(b,x))}}function Nt(a,s){_o.M(a,s);var c=za;if(c&&a){var m=js(c).hoistableScripts,b=Mc(a),x=m.get(b);x||(x=c.querySelector(kc(b)),x||(a=X({src:a,async:!0,type:"module"},s),(s=Yr.get(b))&&Wv(a,s),x=c.createElement("script"),Mn(x),Nr(x,"link",a),c.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},m.set(b,x))}}function Vv(a,s,c,m){var b=(b=bt.current)?ng(b):null;if(!b)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(s=Mr(c.href),c=js(b).hoistableStyles,m=c.get(s),m||(m={type:"style",instance:null,count:0,state:null},c.set(s,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){a=Mr(c.href);var x=js(b).hoistableStyles,D=x.get(a);if(D||(b=b.ownerDocument||b,D={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},x.set(a,D),(x=b.querySelector(Nc(a)))&&!x._p&&(D.instance=x,D.state.loading=5),Yr.has(a)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Yr.set(a,c),x||hn(b,a,c,D.state))),s&&m===null)throw Error(r(528,""));return D}if(s&&m!==null)throw Error(r(529,""));return null;case"script":return s=c.async,c=c.src,typeof c=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Mc(c),c=js(b).hoistableScripts,m=c.get(s),m||(m={type:"script",instance:null,count:0,state:null},c.set(s,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Mr(a){return'href="'+ei(a)+'"'}function Nc(a){return'link[rel="stylesheet"]['+a+"]"}function S2(a){return X({},a,{"data-precedence":a.precedence,precedence:null})}function hn(a,s,c,m){a.querySelector('link[rel="preload"][as="style"]['+s+"]")?m.loading=1:(s=a.createElement("link"),m.preload=s,s.addEventListener("load",function(){return m.loading|=1}),s.addEventListener("error",function(){return m.loading|=2}),Nr(s,"link",c),Mn(s),a.head.appendChild(s))}function Mc(a){return'[src="'+ei(a)+'"]'}function kc(a){return"script[async]"+a}function Hd(a,s,c){if(s.count++,s.instance===null)switch(s.type){case"style":var m=a.querySelector('style[data-href~="'+ei(c.href)+'"]');if(m)return s.instance=m,Mn(m),m;var b=X({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return m=(a.ownerDocument||a).createElement("style"),Mn(m),Nr(m,"style",b),ig(m,c.precedence,a),s.instance=m;case"stylesheet":b=Mr(c.href);var x=a.querySelector(Nc(b));if(x)return s.state.loading|=4,s.instance=x,Mn(x),x;m=S2(c),(b=Yr.get(b))&&Gv(m,b),x=(a.ownerDocument||a).createElement("link"),Mn(x);var D=x;return D._p=new Promise(function(W,Z){D.onload=W,D.onerror=Z}),Nr(x,"link",m),s.state.loading|=4,ig(x,c.precedence,a),s.instance=x;case"script":return x=Mc(c.src),(b=a.querySelector(kc(x)))?(s.instance=b,Mn(b),b):(m=c,(b=Yr.get(x))&&(m=X({},c),Wv(m,b)),a=a.ownerDocument||a,b=a.createElement("script"),Mn(b),Nr(b,"link",m),a.head.appendChild(b),s.instance=b);case"void":return null;default:throw Error(r(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(m=s.instance,s.state.loading|=4,ig(m,c.precedence,a));return s.instance}function ig(a,s,c){for(var m=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=m.length?m[m.length-1]:null,x=b,D=0;D title"):null)}function j3(a,s,c){if(c===1||s.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return a=s.disabled,typeof s.precedence=="string"&&a==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function E2(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}var zd=null;function B3(){}function q3(a,s,c){if(zd===null)throw Error(r(475));var m=zd;if(s.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var b=Mr(c.href),x=a.querySelector(Nc(b));if(x){a=x._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(m.count++,m=og.bind(m),a.then(m,m)),s.state.loading|=4,s.instance=x,Mn(x);return}x=a.ownerDocument||a,c=S2(c),(b=Yr.get(b))&&Gv(c,b),x=x.createElement("link"),Mn(x);var D=x;D._p=new Promise(function(W,Z){D.onload=W,D.onerror=Z}),Nr(x,"link",c),s.instance=x}m.stylesheets===null&&(m.stylesheets=new Map),m.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(m.count++,s=og.bind(m),a.addEventListener("load",s),a.addEventListener("error",s))}}function H3(){if(zd===null)throw Error(r(475));var a=zd;return a.stylesheets&&a.count===0&&Kv(a,a.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),iC.exports=HD(),iC.exports}var VD=zD();const GD=If(VD),WD=Ae.createContext({patchConfig(){},config:{}});function KD(){const t=localStorage.getItem("app_config2");if(t){try{const e=JSON.parse(t);return e?{...e}:{}}catch{}return{}}}KD();function Ow(t,e){return Ow=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ow(t,e)}function zp(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Ow(t,e)}var Jg=(function(){function t(){this.listeners=[]}var e=t.prototype;return e.subscribe=function(r){var i=this,o=r||function(){};return this.listeners.push(o),this.onSubscribe(),function(){i.listeners=i.listeners.filter(function(u){return u!==o}),i.onUnsubscribe()}},e.hasListeners=function(){return this.listeners.length>0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t})();function Ve(){return Ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u";function yi(){}function YD(t,e){return typeof t=="function"?t(e):t}function SE(t){return typeof t=="number"&&t>=0&&t!==1/0}function _w(t){return Array.isArray(t)?t:[t]}function s9(t,e){return Math.max(t+(e||0)-Date.now(),0)}function sw(t,e,n){return _1(t)?typeof e=="function"?Ve({},n,{queryKey:t,queryFn:e}):Ve({},e,{queryKey:t}):t}function QD(t,e,n){return _1(t)?Ve({},e,{mutationKey:t}):typeof t=="function"?Ve({},e,{mutationFn:t}):Ve({},t)}function wf(t,e,n){return _1(t)?[Ve({},e,{queryKey:t}),n]:[t||{},e]}function JD(t,e){if(t===!0&&e===!0||t==null&&e==null)return"all";if(t===!1&&e===!1)return"none";var n=t??!e;return n?"active":"inactive"}function a4(t,e){var n=t.active,r=t.exact,i=t.fetching,o=t.inactive,u=t.predicate,l=t.queryKey,d=t.stale;if(_1(l)){if(r){if(e.queryHash!==iO(l,e.options))return!1}else if(!Aw(e.queryKey,l))return!1}var h=JD(n,o);if(h==="none")return!1;if(h!=="all"){var g=e.isActive();if(h==="active"&&!g||h==="inactive"&&g)return!1}return!(typeof d=="boolean"&&e.isStale()!==d||typeof i=="boolean"&&e.isFetching()!==i||u&&!u(e))}function o4(t,e){var n=t.exact,r=t.fetching,i=t.predicate,o=t.mutationKey;if(_1(o)){if(!e.options.mutationKey)return!1;if(n){if(yp(e.options.mutationKey)!==yp(o))return!1}else if(!Aw(e.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&e.state.status==="loading"!==r||i&&!i(e))}function iO(t,e){var n=(e==null?void 0:e.queryKeyHashFn)||yp;return n(t)}function yp(t){var e=_w(t);return XD(e)}function XD(t){return JSON.stringify(t,function(e,n){return CE(n)?Object.keys(n).sort().reduce(function(r,i){return r[i]=n[i],r},{}):n})}function Aw(t,e){return u9(_w(t),_w(e))}function u9(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?!Object.keys(e).some(function(n){return!u9(t[n],e[n])}):!1}function Rw(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||CE(t)&&CE(e)){for(var r=n?t.length:Object.keys(t).length,i=n?e:Object.keys(e),o=i.length,u=n?[]:{},l=0,d=0;d"u")return!0;var n=e.prototype;return!(!s4(n)||!n.hasOwnProperty("isPrototypeOf"))}function s4(t){return Object.prototype.toString.call(t)==="[object Object]"}function _1(t){return typeof t=="string"||Array.isArray(t)}function eF(t){return new Promise(function(e){setTimeout(e,t)})}function u4(t){Promise.resolve().then(t).catch(function(e){return setTimeout(function(){throw e})})}function l9(){if(typeof AbortController=="function")return new AbortController}var tF=(function(t){zp(e,t);function e(){var r;return r=t.call(this)||this,r.setup=function(i){var o;if(!Tw&&((o=window)!=null&&o.addEventListener)){var u=function(){return i()};return window.addEventListener("visibilitychange",u,!1),window.addEventListener("focus",u,!1),function(){window.removeEventListener("visibilitychange",u),window.removeEventListener("focus",u)}}},r}var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}},n.setEventListener=function(i){var o,u=this;this.setup=i,(o=this.cleanup)==null||o.call(this),this.cleanup=i(function(l){typeof l=="boolean"?u.setFocused(l):u.onFocus()})},n.setFocused=function(i){this.focused=i,i&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(i){i()})},n.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},e})(Jg),P0=new tF,nF=(function(t){zp(e,t);function e(){var r;return r=t.call(this)||this,r.setup=function(i){var o;if(!Tw&&((o=window)!=null&&o.addEventListener)){var u=function(){return i()};return window.addEventListener("online",u,!1),window.addEventListener("offline",u,!1),function(){window.removeEventListener("online",u),window.removeEventListener("offline",u)}}},r}var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}},n.setEventListener=function(i){var o,u=this;this.setup=i,(o=this.cleanup)==null||o.call(this),this.cleanup=i(function(l){typeof l=="boolean"?u.setOnline(l):u.onOnline()})},n.setOnline=function(i){this.online=i,i&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(i){i()})},n.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},e})(Jg),uw=new nF;function rF(t){return Math.min(1e3*Math.pow(2,t),3e4)}function Pw(t){return typeof(t==null?void 0:t.cancel)=="function"}var c9=function(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent};function lw(t){return t instanceof c9}var f9=function(e){var n=this,r=!1,i,o,u,l;this.abort=e.abort,this.cancel=function(w){return i==null?void 0:i(w)},this.cancelRetry=function(){r=!0},this.continueRetry=function(){r=!1},this.continue=function(){return o==null?void 0:o()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(w,v){u=w,l=v});var d=function(v){n.isResolved||(n.isResolved=!0,e.onSuccess==null||e.onSuccess(v),o==null||o(),u(v))},h=function(v){n.isResolved||(n.isResolved=!0,e.onError==null||e.onError(v),o==null||o(),l(v))},g=function(){return new Promise(function(v){o=v,n.isPaused=!0,e.onPause==null||e.onPause()}).then(function(){o=void 0,n.isPaused=!1,e.onContinue==null||e.onContinue()})},y=function w(){if(!n.isResolved){var v;try{v=e.fn()}catch(C){v=Promise.reject(C)}i=function(E){if(!n.isResolved&&(h(new c9(E)),n.abort==null||n.abort(),Pw(v)))try{v.cancel()}catch{}},n.isTransportCancelable=Pw(v),Promise.resolve(v).then(d).catch(function(C){var E,$;if(!n.isResolved){var O=(E=e.retry)!=null?E:3,_=($=e.retryDelay)!=null?$:rF,R=typeof _=="function"?_(n.failureCount,C):_,k=O===!0||typeof O=="number"&&n.failureCount"u"&&(l.exact=!0),this.queries.find(function(d){return a4(l,d)})},n.findAll=function(i,o){var u=wf(i,o),l=u[0];return Object.keys(l).length>0?this.queries.filter(function(d){return a4(l,d)}):this.queries},n.notify=function(i){var o=this;Zn.batch(function(){o.listeners.forEach(function(u){u(i)})})},n.onFocus=function(){var i=this;Zn.batch(function(){i.queries.forEach(function(o){o.onFocus()})})},n.onOnline=function(){var i=this;Zn.batch(function(){i.queries.forEach(function(o){o.onOnline()})})},e})(Jg),uF=(function(){function t(n){this.options=Ve({},n.defaultOptions,n.options),this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.observers=[],this.state=n.state||h9(),this.meta=n.meta}var e=t.prototype;return e.setState=function(r){this.dispatch({type:"setState",state:r})},e.addObserver=function(r){this.observers.indexOf(r)===-1&&this.observers.push(r)},e.removeObserver=function(r){this.observers=this.observers.filter(function(i){return i!==r})},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(yi).catch(yi)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var r=this,i,o=this.state.status==="loading",u=Promise.resolve();return o||(this.dispatch({type:"loading",variables:this.options.variables}),u=u.then(function(){r.mutationCache.config.onMutate==null||r.mutationCache.config.onMutate(r.state.variables,r)}).then(function(){return r.options.onMutate==null?void 0:r.options.onMutate(r.state.variables)}).then(function(l){l!==r.state.context&&r.dispatch({type:"loading",context:l,variables:r.state.variables})})),u.then(function(){return r.executeMutation()}).then(function(l){i=l,r.mutationCache.config.onSuccess==null||r.mutationCache.config.onSuccess(i,r.state.variables,r.state.context,r)}).then(function(){return r.options.onSuccess==null?void 0:r.options.onSuccess(i,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(i,null,r.state.variables,r.state.context)}).then(function(){return r.dispatch({type:"success",data:i}),i}).catch(function(l){return r.mutationCache.config.onError==null||r.mutationCache.config.onError(l,r.state.variables,r.state.context,r),Iw().error(l),Promise.resolve().then(function(){return r.options.onError==null?void 0:r.options.onError(l,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(void 0,l,r.state.variables,r.state.context)}).then(function(){throw r.dispatch({type:"error",error:l}),l})})},e.executeMutation=function(){var r=this,i;return this.retryer=new f9({fn:function(){return r.options.mutationFn?r.options.mutationFn(r.state.variables):Promise.reject("No mutationFn found")},onFail:function(){r.dispatch({type:"failed"})},onPause:function(){r.dispatch({type:"pause"})},onContinue:function(){r.dispatch({type:"continue"})},retry:(i=this.options.retry)!=null?i:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(r){var i=this;this.state=lF(this.state,r),Zn.batch(function(){i.observers.forEach(function(o){o.onMutationUpdate(r)}),i.mutationCache.notify(i)})},t})();function h9(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function lF(t,e){switch(e.type){case"failed":return Ve({},t,{failureCount:t.failureCount+1});case"pause":return Ve({},t,{isPaused:!0});case"continue":return Ve({},t,{isPaused:!1});case"loading":return Ve({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return Ve({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Ve({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return Ve({},t,e.state);default:return t}}var cF=(function(t){zp(e,t);function e(r){var i;return i=t.call(this)||this,i.config=r||{},i.mutations=[],i.mutationId=0,i}var n=e.prototype;return n.build=function(i,o,u){var l=new uF({mutationCache:this,mutationId:++this.mutationId,options:i.defaultMutationOptions(o),state:u,defaultOptions:o.mutationKey?i.getMutationDefaults(o.mutationKey):void 0,meta:o.meta});return this.add(l),l},n.add=function(i){this.mutations.push(i),this.notify(i)},n.remove=function(i){this.mutations=this.mutations.filter(function(o){return o!==i}),i.cancel(),this.notify(i)},n.clear=function(){var i=this;Zn.batch(function(){i.mutations.forEach(function(o){i.remove(o)})})},n.getAll=function(){return this.mutations},n.find=function(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(function(o){return o4(i,o)})},n.findAll=function(i){return this.mutations.filter(function(o){return o4(i,o)})},n.notify=function(i){var o=this;Zn.batch(function(){o.listeners.forEach(function(u){u(i)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var i=this.mutations.filter(function(o){return o.state.isPaused});return Zn.batch(function(){return i.reduce(function(o,u){return o.then(function(){return u.continue().catch(yi)})},Promise.resolve())})},e})(Jg);function fF(){return{onFetch:function(e){e.fetchFn=function(){var n,r,i,o,u,l,d=(n=e.fetchOptions)==null||(r=n.meta)==null?void 0:r.refetchPage,h=(i=e.fetchOptions)==null||(o=i.meta)==null?void 0:o.fetchMore,g=h==null?void 0:h.pageParam,y=(h==null?void 0:h.direction)==="forward",w=(h==null?void 0:h.direction)==="backward",v=((u=e.state.data)==null?void 0:u.pages)||[],C=((l=e.state.data)==null?void 0:l.pageParams)||[],E=l9(),$=E==null?void 0:E.signal,O=C,_=!1,R=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(be,we,B,V){return O=V?[we].concat(O):[].concat(O,[we]),V?[B].concat(be):[].concat(be,[B])},P=function(be,we,B,V){if(_)return Promise.reject("Cancelled");if(typeof B>"u"&&!we&&be.length)return Promise.resolve(be);var H={queryKey:e.queryKey,signal:$,pageParam:B,meta:e.meta},ie=R(H),G=Promise.resolve(ie).then(function(he){return k(be,B,he,V)});if(Pw(ie)){var J=G;J.cancel=ie.cancel}return G},L;if(!v.length)L=P([]);else if(y){var F=typeof g<"u",q=F?g:l4(e.options,v);L=P(v,F,q)}else if(w){var Y=typeof g<"u",X=Y?g:dF(e.options,v);L=P(v,Y,X,!0)}else(function(){O=[];var te=typeof e.options.getNextPageParam>"u",be=d&&v[0]?d(v[0],0,v):!0;L=be?P([],te,C[0]):Promise.resolve(k([],C[0],v[0]));for(var we=function(H){L=L.then(function(ie){var G=d&&v[H]?d(v[H],H,v):!0;if(G){var J=te?C[H]:l4(e.options,ie);return P(ie,te,J)}return Promise.resolve(k(ie,C[H],v[H]))})},B=1;B"u"&&(g.revert=!0);var y=Zn.batch(function(){return u.queryCache.findAll(d).map(function(w){return w.cancel(g)})});return Promise.all(y).then(yi).catch(yi)},e.invalidateQueries=function(r,i,o){var u,l,d,h=this,g=wf(r,i,o),y=g[0],w=g[1],v=Ve({},y,{active:(u=(l=y.refetchActive)!=null?l:y.active)!=null?u:!0,inactive:(d=y.refetchInactive)!=null?d:!1});return Zn.batch(function(){return h.queryCache.findAll(y).forEach(function(C){C.invalidate()}),h.refetchQueries(v,w)})},e.refetchQueries=function(r,i,o){var u=this,l=wf(r,i,o),d=l[0],h=l[1],g=Zn.batch(function(){return u.queryCache.findAll(d).map(function(w){return w.fetch(void 0,Ve({},h,{meta:{refetchPage:d==null?void 0:d.refetchPage}}))})}),y=Promise.all(g).then(yi);return h!=null&&h.throwOnError||(y=y.catch(yi)),y},e.fetchQuery=function(r,i,o){var u=sw(r,i,o),l=this.defaultQueryOptions(u);typeof l.retry>"u"&&(l.retry=!1);var d=this.queryCache.build(this,l);return d.isStaleByTime(l.staleTime)?d.fetch(l):Promise.resolve(d.state.data)},e.prefetchQuery=function(r,i,o){return this.fetchQuery(r,i,o).then(yi).catch(yi)},e.fetchInfiniteQuery=function(r,i,o){var u=sw(r,i,o);return u.behavior=fF(),this.fetchQuery(u)},e.prefetchInfiniteQuery=function(r,i,o){return this.fetchInfiniteQuery(r,i,o).then(yi).catch(yi)},e.cancelMutations=function(){var r=this,i=Zn.batch(function(){return r.mutationCache.getAll().map(function(o){return o.cancel()})});return Promise.all(i).then(yi).catch(yi)},e.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},e.executeMutation=function(r){return this.mutationCache.build(this,r).execute()},e.getQueryCache=function(){return this.queryCache},e.getMutationCache=function(){return this.mutationCache},e.getDefaultOptions=function(){return this.defaultOptions},e.setDefaultOptions=function(r){this.defaultOptions=r},e.setQueryDefaults=function(r,i){var o=this.queryDefaults.find(function(u){return yp(r)===yp(u.queryKey)});o?o.defaultOptions=i:this.queryDefaults.push({queryKey:r,defaultOptions:i})},e.getQueryDefaults=function(r){var i;return r?(i=this.queryDefaults.find(function(o){return Aw(r,o.queryKey)}))==null?void 0:i.defaultOptions:void 0},e.setMutationDefaults=function(r,i){var o=this.mutationDefaults.find(function(u){return yp(r)===yp(u.mutationKey)});o?o.defaultOptions=i:this.mutationDefaults.push({mutationKey:r,defaultOptions:i})},e.getMutationDefaults=function(r){var i;return r?(i=this.mutationDefaults.find(function(o){return Aw(r,o.mutationKey)}))==null?void 0:i.defaultOptions:void 0},e.defaultQueryOptions=function(r){if(r!=null&&r._defaulted)return r;var i=Ve({},this.defaultOptions.queries,this.getQueryDefaults(r==null?void 0:r.queryKey),r,{_defaulted:!0});return!i.queryHash&&i.queryKey&&(i.queryHash=iO(i.queryKey,i)),i},e.defaultQueryObserverOptions=function(r){return this.defaultQueryOptions(r)},e.defaultMutationOptions=function(r){return r!=null&&r._defaulted?r:Ve({},this.defaultOptions.mutations,this.getMutationDefaults(r==null?void 0:r.mutationKey),r,{_defaulted:!0})},e.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},t})(),pF=(function(t){zp(e,t);function e(r,i){var o;return o=t.call(this)||this,o.client=r,o.options=i,o.trackedProps=[],o.selectError=null,o.bindMethods(),o.setOptions(i),o}var n=e.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),c4(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return $E(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return $E(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(i,o){var u=this.options,l=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(i),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=u.queryKey),this.updateQuery();var d=this.hasListeners();d&&f4(this.currentQuery,l,this.options,u)&&this.executeFetch(),this.updateResult(o),d&&(this.currentQuery!==l||this.options.enabled!==u.enabled||this.options.staleTime!==u.staleTime)&&this.updateStaleTimeout();var h=this.computeRefetchInterval();d&&(this.currentQuery!==l||this.options.enabled!==u.enabled||h!==this.currentRefetchInterval)&&this.updateRefetchInterval(h)},n.getOptimisticResult=function(i){var o=this.client.defaultQueryObserverOptions(i),u=this.client.getQueryCache().build(this.client,o);return this.createResult(u,o)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(i,o){var u=this,l={},d=function(g){u.trackedProps.includes(g)||u.trackedProps.push(g)};return Object.keys(i).forEach(function(h){Object.defineProperty(l,h,{configurable:!1,enumerable:!0,get:function(){return d(h),i[h]}})}),(o.useErrorBoundary||o.suspense)&&d("error"),l},n.getNextResult=function(i){var o=this;return new Promise(function(u,l){var d=o.subscribe(function(h){h.isFetching||(d(),h.isError&&(i!=null&&i.throwOnError)?l(h.error):u(h))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(i){return this.fetch(Ve({},i,{meta:{refetchPage:i==null?void 0:i.refetchPage}}))},n.fetchOptimistic=function(i){var o=this,u=this.client.defaultQueryObserverOptions(i),l=this.client.getQueryCache().build(this.client,u);return l.fetch().then(function(){return o.createResult(l,u)})},n.fetch=function(i){var o=this;return this.executeFetch(i).then(function(){return o.updateResult(),o.currentResult})},n.executeFetch=function(i){this.updateQuery();var o=this.currentQuery.fetch(this.options,i);return i!=null&&i.throwOnError||(o=o.catch(yi)),o},n.updateStaleTimeout=function(){var i=this;if(this.clearStaleTimeout(),!(Tw||this.currentResult.isStale||!SE(this.options.staleTime))){var o=s9(this.currentResult.dataUpdatedAt,this.options.staleTime),u=o+1;this.staleTimeoutId=setTimeout(function(){i.currentResult.isStale||i.updateResult()},u)}},n.computeRefetchInterval=function(){var i;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(i=this.options.refetchInterval)!=null?i:!1},n.updateRefetchInterval=function(i){var o=this;this.clearRefetchInterval(),this.currentRefetchInterval=i,!(Tw||this.options.enabled===!1||!SE(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(o.options.refetchIntervalInBackground||P0.isFocused())&&o.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(i,o){var u=this.currentQuery,l=this.options,d=this.currentResult,h=this.currentResultState,g=this.currentResultOptions,y=i!==u,w=y?i.state:this.currentQueryInitialState,v=y?this.currentResult:this.previousQueryResult,C=i.state,E=C.dataUpdatedAt,$=C.error,O=C.errorUpdatedAt,_=C.isFetching,R=C.status,k=!1,P=!1,L;if(o.optimisticResults){var F=this.hasListeners(),q=!F&&c4(i,o),Y=F&&f4(i,u,o,l);(q||Y)&&(_=!0,E||(R="loading"))}if(o.keepPreviousData&&!C.dataUpdateCount&&(v!=null&&v.isSuccess)&&R!=="error")L=v.data,E=v.dataUpdatedAt,R=v.status,k=!0;else if(o.select&&typeof C.data<"u")if(d&&C.data===(h==null?void 0:h.data)&&o.select===this.selectFn)L=this.selectResult;else try{this.selectFn=o.select,L=o.select(C.data),o.structuralSharing!==!1&&(L=Rw(d==null?void 0:d.data,L)),this.selectResult=L,this.selectError=null}catch(me){Iw().error(me),this.selectError=me}else L=C.data;if(typeof o.placeholderData<"u"&&typeof L>"u"&&(R==="loading"||R==="idle")){var X;if(d!=null&&d.isPlaceholderData&&o.placeholderData===(g==null?void 0:g.placeholderData))X=d.data;else if(X=typeof o.placeholderData=="function"?o.placeholderData():o.placeholderData,o.select&&typeof X<"u")try{X=o.select(X),o.structuralSharing!==!1&&(X=Rw(d==null?void 0:d.data,X)),this.selectError=null}catch(me){Iw().error(me),this.selectError=me}typeof X<"u"&&(R="success",L=X,P=!0)}this.selectError&&($=this.selectError,L=this.selectResult,O=Date.now(),R="error");var ue={status:R,isLoading:R==="loading",isSuccess:R==="success",isError:R==="error",isIdle:R==="idle",data:L,dataUpdatedAt:E,error:$,errorUpdatedAt:O,failureCount:C.fetchFailureCount,errorUpdateCount:C.errorUpdateCount,isFetched:C.dataUpdateCount>0||C.errorUpdateCount>0,isFetchedAfterMount:C.dataUpdateCount>w.dataUpdateCount||C.errorUpdateCount>w.errorUpdateCount,isFetching:_,isRefetching:_&&R!=="loading",isLoadingError:R==="error"&&C.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:k,isRefetchError:R==="error"&&C.dataUpdatedAt!==0,isStale:aO(i,o),refetch:this.refetch,remove:this.remove};return ue},n.shouldNotifyListeners=function(i,o){if(!o)return!0;var u=this.options,l=u.notifyOnChangeProps,d=u.notifyOnChangePropsExclusions;if(!l&&!d||l==="tracked"&&!this.trackedProps.length)return!0;var h=l==="tracked"?this.trackedProps:l;return Object.keys(i).some(function(g){var y=g,w=i[y]!==o[y],v=h==null?void 0:h.some(function(E){return E===g}),C=d==null?void 0:d.some(function(E){return E===g});return w&&!C&&(!h||v)})},n.updateResult=function(i){var o=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!ZD(this.currentResult,o)){var u={cache:!0};(i==null?void 0:i.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,o)&&(u.listeners=!0),this.notify(Ve({},u,i))}},n.updateQuery=function(){var i=this.client.getQueryCache().build(this.client,this.options);if(i!==this.currentQuery){var o=this.currentQuery;this.currentQuery=i,this.currentQueryInitialState=i.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(o==null||o.removeObserver(this),i.addObserver(this))}},n.onQueryUpdate=function(i){var o={};i.type==="success"?o.onSuccess=!0:i.type==="error"&&!lw(i.error)&&(o.onError=!0),this.updateResult(o),this.hasListeners()&&this.updateTimers()},n.notify=function(i){var o=this;Zn.batch(function(){i.onSuccess?(o.options.onSuccess==null||o.options.onSuccess(o.currentResult.data),o.options.onSettled==null||o.options.onSettled(o.currentResult.data,null)):i.onError&&(o.options.onError==null||o.options.onError(o.currentResult.error),o.options.onSettled==null||o.options.onSettled(void 0,o.currentResult.error)),i.listeners&&o.listeners.forEach(function(u){u(o.currentResult)}),i.cache&&o.client.getQueryCache().notify({query:o.currentQuery,type:"observerResultsUpdated"})})},e})(Jg);function mF(t,e){return e.enabled!==!1&&!t.state.dataUpdatedAt&&!(t.state.status==="error"&&e.retryOnMount===!1)}function c4(t,e){return mF(t,e)||t.state.dataUpdatedAt>0&&$E(t,e,e.refetchOnMount)}function $E(t,e,n){if(e.enabled!==!1){var r=typeof n=="function"?n(t):n;return r==="always"||r!==!1&&aO(t,e)}return!1}function f4(t,e,n,r){return n.enabled!==!1&&(t!==e||r.enabled===!1)&&(!n.suspense||t.state.status!=="error")&&aO(t,n)}function aO(t,e){return t.isStaleByTime(e.staleTime)}var gF=(function(t){zp(e,t);function e(r,i){var o;return o=t.call(this)||this,o.client=r,o.setOptions(i),o.bindMethods(),o.updateResult(),o}var n=e.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(i){this.options=this.client.defaultMutationOptions(i)},n.onUnsubscribe=function(){if(!this.listeners.length){var i;(i=this.currentMutation)==null||i.removeObserver(this)}},n.onMutationUpdate=function(i){this.updateResult();var o={listeners:!0};i.type==="success"?o.onSuccess=!0:i.type==="error"&&(o.onError=!0),this.notify(o)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(i,o){return this.mutateOptions=o,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,Ve({},this.options,{variables:typeof i<"u"?i:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var i=this.currentMutation?this.currentMutation.state:h9(),o=Ve({},i,{isLoading:i.status==="loading",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=o},n.notify=function(i){var o=this;Zn.batch(function(){o.mutateOptions&&(i.onSuccess?(o.mutateOptions.onSuccess==null||o.mutateOptions.onSuccess(o.currentResult.data,o.currentResult.variables,o.currentResult.context),o.mutateOptions.onSettled==null||o.mutateOptions.onSettled(o.currentResult.data,null,o.currentResult.variables,o.currentResult.context)):i.onError&&(o.mutateOptions.onError==null||o.mutateOptions.onError(o.currentResult.error,o.currentResult.variables,o.currentResult.context),o.mutateOptions.onSettled==null||o.mutateOptions.onSettled(void 0,o.currentResult.error,o.currentResult.variables,o.currentResult.context))),i.listeners&&o.listeners.forEach(function(u){u(o.currentResult)})})},e})(Jg),xu=o9();const yF=If(xu);var vF=yF.unstable_batchedUpdates;Zn.setBatchNotifyFunction(vF);var bF=console;aF(bF);var d4=Ae.createContext(void 0),p9=Ae.createContext(!1);function m9(t){return t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=d4),window.ReactQueryClientContext):d4}var Nf=function(){var e=Ae.useContext(m9(Ae.useContext(p9)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},wF=function(e){var n=e.client,r=e.contextSharing,i=r===void 0?!1:r,o=e.children;Ae.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var u=m9(i);return Ae.createElement(p9.Provider,{value:i},Ae.createElement(u.Provider,{value:n},o))};function SF(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var CF=Ae.createContext(SF()),$F=function(){return Ae.useContext(CF)};function g9(t,e,n){return typeof e=="function"?e.apply(void 0,n):typeof e=="boolean"?e:!!t}function Fr(t,e,n){var r=Ae.useRef(!1),i=Ae.useState(0),o=i[1],u=QD(t,e),l=Nf(),d=Ae.useRef();d.current?d.current.setOptions(u):d.current=new gF(l,u);var h=d.current.getCurrentResult();Ae.useEffect(function(){r.current=!0;var y=d.current.subscribe(Zn.batchCalls(function(){r.current&&o(function(w){return w+1})}));return function(){r.current=!1,y()}},[]);var g=Ae.useCallback(function(y,w){d.current.mutate(y,w).catch(yi)},[]);if(h.error&&g9(void 0,d.current.options.useErrorBoundary,[h.error]))throw h.error;return Ve({},h,{mutate:g,mutateAsync:h.mutate})}function EF(t,e){var n=Ae.useRef(!1),r=Ae.useState(0),i=r[1],o=Nf(),u=$F(),l=o.defaultQueryObserverOptions(t);l.optimisticResults=!0,l.onError&&(l.onError=Zn.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=Zn.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=Zn.batchCalls(l.onSettled)),l.suspense&&(typeof l.staleTime!="number"&&(l.staleTime=1e3),l.cacheTime===0&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(u.isReset()||(l.retryOnMount=!1));var d=Ae.useState(function(){return new e(o,l)}),h=d[0],g=h.getOptimisticResult(l);if(Ae.useEffect(function(){n.current=!0,u.clearReset();var y=h.subscribe(Zn.batchCalls(function(){n.current&&i(function(w){return w+1})}));return h.updateResult(),function(){n.current=!1,y()}},[u,h]),Ae.useEffect(function(){h.setOptions(l,{listeners:!1})},[l,h]),l.suspense&&g.isLoading)throw h.fetchOptimistic(l).then(function(y){var w=y.data;l.onSuccess==null||l.onSuccess(w),l.onSettled==null||l.onSettled(w,null)}).catch(function(y){u.clearReset(),l.onError==null||l.onError(y),l.onSettled==null||l.onSettled(void 0,y)});if(g.isError&&!u.isReset()&&!g.isFetching&&g9(l.suspense,l.useErrorBoundary,[g.error,h.getCurrentQuery()]))throw g.error;return l.notifyOnChangeProps==="tracked"&&(g=h.trackResult(g,l)),g}function Bo(t,e,n){var r=sw(t,e,n);return EF(r,pF)}var x0={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */var xF=x0.exports,h4;function OF(){return h4||(h4=1,(function(t,e){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,g="__lodash_placeholder__",y=1,w=2,v=4,C=1,E=2,$=1,O=2,_=4,R=8,k=16,P=32,L=64,F=128,q=256,Y=512,X=30,ue="...",me=800,te=16,be=1,we=2,B=3,V=1/0,H=9007199254740991,ie=17976931348623157e292,G=NaN,J=4294967295,he=J-1,$e=J>>>1,Ce=[["ary",F],["bind",$],["bindKey",O],["curry",R],["curryRight",k],["flip",Y],["partial",P],["partialRight",L],["rearg",q]],Be="[object Arguments]",Ie="[object Array]",tt="[object AsyncFunction]",ke="[object Boolean]",Ke="[object Date]",He="[object DOMException]",ut="[object Error]",pt="[object Function]",bt="[object GeneratorFunction]",gt="[object Map]",Ut="[object Number]",Gt="[object Null]",Tt="[object Object]",en="[object Promise]",xn="[object Proxy]",Dt="[object RegExp]",Pt="[object Set]",pe="[object String]",ze="[object Symbol]",Ge="[object Undefined]",Qe="[object WeakMap]",ht="[object WeakSet]",j="[object ArrayBuffer]",A="[object DataView]",M="[object Float32Array]",Q="[object Float64Array]",re="[object Int8Array]",ge="[object Int16Array]",Ee="[object Int32Array]",rt="[object Uint8Array]",Wt="[object Uint8ClampedArray]",ae="[object Uint16Array]",ce="[object Uint32Array]",nt=/\b__p \+= '';/g,Ht=/\b(__p \+=) '' \+/g,ln=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,jr=/[&<>"']/g,tn=RegExp(wt.source),er=RegExp(jr.source),On=/<%-([\s\S]+?)%>/g,Fi=/<%([\s\S]+?)%>/g,ca=/<%=([\s\S]+?)%>/g,Ar=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fs=/^\w*$/,ro=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ls=/[\\^$.*+?()[\]{}|]/g,$i=RegExp(Ls.source),Xr=/^\s+/,io=/\s/,Li=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wo=/\{\n\/\* \[wrapped with (.+)\] \*/,In=/,? & /,Nn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,An=/[()=,{}\[\]\/\s]/,Ze=/\\(\\)?/g,Ei=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Us=/\w*$/,Ko=/^[-+]0x[0-9a-f]+$/i,ao=/^0b[01]+$/i,Br=/^\[object .+?Constructor\]$/,Ta=/^0o[0-7]+$/i,xi=/^(?:0|[1-9]\d*)$/,Ui=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_a=/($^)/,js=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",Qf="\\u0300-\\u036f",Zp="\\ufe20-\\ufe2f",Yo="\\u20d0-\\u20ff",ji=Qf+Zp+Yo,qr="\\u2700-\\u27bf",Ll="a-z\\xdf-\\xf6\\xf8-\\xff",em="\\xac\\xb1\\xd7\\xf7",Jf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fy="\\u2000-\\u206f",Iu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oi="A-Z\\xc0-\\xd6\\xd8-\\xde",fa="\\ufe0e\\ufe0f",Zr=em+Jf+fy+Iu,Ul="['’]",Bs="["+Mn+"]",oo="["+Zr+"]",so="["+ji+"]",Nu="\\d+",dy="["+qr+"]",ei="["+Ll+"]",jl="[^"+Mn+Zr+Nu+qr+Ll+Oi+"]",Bl="\\ud83c[\\udffb-\\udfff]",Xf="(?:"+so+"|"+Bl+")",Qo="[^"+Mn+"]",ql="(?:\\ud83c[\\udde6-\\uddff]){2}",Hl="[\\ud800-\\udbff][\\udc00-\\udfff]",Bi="["+Oi+"]",zl="\\u200d",Vl="(?:"+ei+"|"+jl+")",Gl="(?:"+Bi+"|"+jl+")",qs="(?:"+Ul+"(?:d|ll|m|re|s|t|ve))?",tm="(?:"+Ul+"(?:D|LL|M|RE|S|T|VE))?",Zf=Xf+"?",Mu="["+fa+"]?",ed="(?:"+zl+"(?:"+[Qo,ql,Hl].join("|")+")"+Mu+Zf+")*",Hs="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Jo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Xo=Mu+Zf+ed,nm="(?:"+[dy,ql,Hl].join("|")+")"+Xo,td="(?:"+[Qo+so+"?",so,ql,Hl,Bs].join("|")+")",nd=RegExp(Ul,"g"),qi=RegExp(so,"g"),Zo=RegExp(Bl+"(?="+Bl+")|"+td+Xo,"g"),ku=RegExp([Bi+"?"+ei+"+"+qs+"(?="+[oo,Bi,"$"].join("|")+")",Gl+"+"+tm+"(?="+[oo,Bi+Vl,"$"].join("|")+")",Bi+"?"+Vl+"+"+qs,Bi+"+"+tm,Jo,Hs,Nu,nm].join("|"),"g"),Aa=RegExp("["+zl+Mn+ji+fa+"]"),zs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,uo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rm=-1,on={};on[M]=on[Q]=on[re]=on[ge]=on[Ee]=on[rt]=on[Wt]=on[ae]=on[ce]=!0,on[Be]=on[Ie]=on[j]=on[ke]=on[A]=on[Ke]=on[ut]=on[pt]=on[gt]=on[Ut]=on[Tt]=on[Dt]=on[Pt]=on[pe]=on[Qe]=!1;var sn={};sn[Be]=sn[Ie]=sn[j]=sn[A]=sn[ke]=sn[Ke]=sn[M]=sn[Q]=sn[re]=sn[ge]=sn[Ee]=sn[gt]=sn[Ut]=sn[Tt]=sn[Dt]=sn[Pt]=sn[pe]=sn[ze]=sn[rt]=sn[Wt]=sn[ae]=sn[ce]=!0,sn[ut]=sn[pt]=sn[Qe]=!1;var im={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Hr={"&":"&","<":"<",">":">",'"':""","'":"'"},Hi={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wl={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lo=parseFloat,rd=parseInt,De=typeof Sf=="object"&&Sf&&Sf.Object===Object&&Sf,qe=typeof self=="object"&&self&&self.Object===Object&&self,We=De||qe||Function("return this")(),it=e&&!e.nodeType&&e,_t=it&&!0&&t&&!t.nodeType&&t,cn=_t&&_t.exports===it,Rn=cn&&De.process,nn=(function(){try{var le=_t&&_t.require&&_t.require("util").types;return le||Rn&&Rn.binding&&Rn.binding("util")}catch{}})(),hr=nn&&nn.isArrayBuffer,Rr=nn&&nn.isDate,es=nn&&nn.isMap,am=nn&&nn.isRegExp,Kl=nn&&nn.isSet,Yl=nn&&nn.isTypedArray;function zr(le,xe,Se){switch(Se.length){case 0:return le.call(xe);case 1:return le.call(xe,Se[0]);case 2:return le.call(xe,Se[0],Se[1]);case 3:return le.call(xe,Se[0],Se[1],Se[2])}return le.apply(xe,Se)}function QS(le,xe,Se,Xe){for(var yt=-1,zt=le==null?0:le.length;++yt-1}function hy(le,xe,Se){for(var Xe=-1,yt=le==null?0:le.length;++Xe-1;);return Se}function ec(le,xe){for(var Se=le.length;Se--&&Ql(xe,le[Se],0)>-1;);return Se}function r3(le,xe){for(var Se=le.length,Xe=0;Se--;)le[Se]===xe&&++Xe;return Xe}var dm=lm(im),Z1=lm(Hr);function eb(le){return"\\"+Wl[le]}function vy(le,xe){return le==null?n:le[xe]}function Gs(le){return Aa.test(le)}function tb(le){return zs.test(le)}function nb(le){for(var xe,Se=[];!(xe=le.next()).done;)Se.push(xe.value);return Se}function hm(le){var xe=-1,Se=Array(le.size);return le.forEach(function(Xe,yt){Se[++xe]=[yt,Xe]}),Se}function rb(le,xe){return function(Se){return le(xe(Se))}}function Ws(le,xe){for(var Se=-1,Xe=le.length,yt=0,zt=[];++Se-1}function l3(f,p){var S=this.__data__,I=Vu(S,f);return I<0?(++this.size,S.push([f,p])):S[I][1]=p,this}bo.prototype.clear=Js,bo.prototype.delete=ls,bo.prototype.get=pr,bo.prototype.has=Cm,bo.prototype.set=l3;function cs(f){var p=-1,S=f==null?0:f.length;for(this.clear();++p=p?f:p)),f}function an(f,p,S,I,U,K){var ee,ne=p&y,fe=p&w,Pe=p&v;if(S&&(ee=U?S(f,I,U,K):S(f)),ee!==n)return ee;if(!Ln(f))return f;var Me=Ot(f);if(Me){if(ee=Qu(f),!ne)return ii(f,ee)}else{var je=or(f),Ye=je==pt||je==bt;if(pu(f))return Ky(f,ne);if(je==Tt||je==Be||Ye&&!U){if(ee=fe||Ye?{}:Ai(f),!ne)return fe?Sd(f,$m(ee,f)):Pb(f,Zs(ee,f))}else{if(!sn[je])return U?f:{};ee=Nb(f,je,ne)}}K||(K=new Na);var ot=K.get(f);if(ot)return ot;K.set(f,ee),_o(f)?f.forEach(function(Ct){ee.add(an(Ct,p,S,Ct,f,K))}):y2(f)&&f.forEach(function(Ct,Qt){ee.set(Qt,an(Ct,p,S,Qt,f,K))});var St=Pe?fe?Ed:$o:fe?si:yr,Bt=Me?n:St(f);return da(Bt||f,function(Ct,Qt){Bt&&(Qt=Ct,Ct=f[Qt]),Dn(ee,Qt,an(Ct,p,S,Qt,f,K))}),ee}function Ry(f){var p=yr(f);return function(S){return Em(S,f,p)}}function Em(f,p,S){var I=S.length;if(f==null)return!I;for(f=Cn(f);I--;){var U=S[I],K=p[U],ee=f[U];if(ee===n&&!(U in f)||!K(ee))return!1}return!0}function Py(f,p,S){if(typeof f!="function")throw new Gi(u);return Wr(function(){f.apply(n,S)},p)}function uc(f,p,S,I){var U=-1,K=om,ee=!0,ne=f.length,fe=[],Pe=p.length;if(!ne)return fe;S&&(p=kn(p,zi(S))),I?(K=hy,ee=!1):p.length>=i&&(K=Xl,ee=!1,p=new fs(p));e:for(;++UU?0:U+S),I=I===n||I>U?U:Nt(I),I<0&&(I+=U),I=S>I?0:Vv(I);S0&&S(ne)?p>1?ar(ne,p-1,S,I,U):ts(U,ne):I||(U[U.length]=ne)}return U}var Wu=Zy(),hd=Zy(!0);function wa(f,p){return f&&Wu(f,p,yr)}function Ma(f,p){return f&&hd(f,p,yr)}function Ku(f,p){return co(p,function(S){return Cs(f[S])})}function ds(f,p){p=ps(p,f);for(var S=0,I=p.length;f!=null&&Sp}function mb(f,p){return f!=null&&fn.call(f,p)}function gb(f,p){return f!=null&&p in Cn(f)}function yb(f,p,S){return f>=$t(p,S)&&f=120&&Me.length>=120)?new fs(ee&&Me):n}Me=f[0];var je=-1,Ye=ne[0];e:for(;++je-1;)ne!==f&&ni.call(ne,fe,1),ni.call(f,fe,1);return f}function qy(f,p){for(var S=f?p.length:0,I=S-1;S--;){var U=p[S];if(S==I||U!==K){var K=U;Ba(U)?ni.call(f,U,1):wo(f,U)}}return f}function Pm(f,p){return f+va(vm()*(p-f+1))}function h3(f,p,S,I){for(var U=-1,K=Kt(ya((p-f)/(S||1)),0),ee=Se(K);K--;)ee[I?K:++U]=f,f+=S;return ee}function yd(f,p){var S="";if(!f||p<1||p>H)return S;do p%2&&(S+=f),p=va(p/2),p&&(f+=f);while(p);return S}function Mt(f,p){return Xi(Eo(f,p,un),f+"")}function Tb(f){return Ay(ia(f))}function Hy(f,p){var S=ia(f);return _d(S,Gu(p,0,S.length))}function hc(f,p,S,I){if(!Ln(f))return f;p=ps(p,f);for(var U=-1,K=p.length,ee=K-1,ne=f;ne!=null&&++UU?0:U+p),S=S>U?U:S,S<0&&(S+=U),U=p>S?0:S-p>>>0,p>>>=0;for(var K=Se(U);++I>>1,ee=f[K];ee!==null&&!ra(ee)&&(S?ee<=p:ee=i){var Pe=p?null:ou(f);if(Pe)return pm(Pe);ee=!1,U=Xl,fe=new fs}else fe=p?[]:ne;e:for(;++I=I?f:Yi(f,p,S)}var bd=ma||function(f){return We.clearTimeout(f)};function Ky(f,p){if(p)return f.slice();var S=f.length,I=Cy?Cy(S):new f.constructor(S);return f.copy(I),I}function wd(f){var p=new f.constructor(f.byteLength);return new Pa(p).set(new Pa(f)),p}function Ab(f,p){var S=p?wd(f.buffer):f.buffer;return new f.constructor(S,f.byteOffset,f.byteLength)}function Rb(f){var p=new f.constructor(f.source,Us.exec(f));return p.lastIndex=f.lastIndex,p}function g3(f){return ss?Cn(ss.call(f)):{}}function Yy(f,p){var S=p?wd(f.buffer):f.buffer;return new f.constructor(S,f.byteOffset,f.length)}function gr(f,p){if(f!==p){var S=f!==n,I=f===null,U=f===f,K=ra(f),ee=p!==n,ne=p===null,fe=p===p,Pe=ra(p);if(!ne&&!Pe&&!K&&f>p||K&&ee&&fe&&!ne&&!Pe||I&&ee&&fe||!S&&fe||!U)return 1;if(!I&&!K&&!Pe&&f=ne)return fe;var Pe=S[I];return fe*(Pe=="desc"?-1:1)}}return f.index-p.index}function Qy(f,p,S,I){for(var U=-1,K=f.length,ee=S.length,ne=-1,fe=p.length,Pe=Kt(K-ee,0),Me=Se(fe+Pe),je=!I;++ne1?S[U-1]:n,ee=U>2?S[2]:n;for(K=f.length>3&&typeof K=="function"?(U--,K):n,ee&&Ir(S[0],S[1],ee)&&(K=U<3?n:K,U=1),p=Cn(p);++I-1?U[K?p[ee]:ee]:n}}function Dm(f){return Co(function(p){var S=p.length,I=S,U=Wi.prototype.thru;for(f&&p.reverse();I--;){var K=p[I];if(typeof K!="function")throw new Gi(u);if(U&&!ee&&Ua(K)=="wrapper")var ee=new Wi([],!0)}for(I=ee?I:S;++I1&&rn.reverse(),Me&&fene))return!1;var Pe=K.get(f),Me=K.get(p);if(Pe&&Me)return Pe==p&&Me==f;var je=-1,Ye=!0,ot=S&E?new fs:n;for(K.set(f,p),K.set(p,f);++je1?"& ":"")+p[I],p=p.join(S>2?", ":" "),f.replace(Li,`{ +/* [wrapped with `+p+`] */ +`)}function kb(f){return Ot(f)||hu(f)||!!(Uu&&f&&f[Uu])}function Ba(f,p){var S=typeof f;return p=p??H,!!p&&(S=="number"||S!="symbol"&&xi.test(f))&&f>-1&&f%1==0&&f0){if(++p>=me)return arguments[0]}else p=0;return f.apply(n,arguments)}}function _d(f,p){var S=-1,I=f.length,U=I-1;for(p=p===n?I:p;++S1?f[p-1]:n;return S=typeof S=="function"?(f.pop(),S):n,kd(f,S)});function Kr(f){var p=z(f);return p.__chain__=!0,p}function Xb(f,p){return p(f),f}function Ac(f,p){return p(f)}var Zb=Co(function(f){var p=f.length,S=p?f[0]:0,I=this.__wrapped__,U=function(K){return eu(K,f)};return p>1||this.__actions__.length||!(I instanceof At)||!Ba(S)?this.thru(U):(I=I.slice(S,+S+(p?1:0)),I.__actions__.push({func:Ac,args:[U],thisArg:n}),new Wi(I,this.__chain__).thru(function(K){return p&&!K.length&&K.push(n),K}))});function S3(){return Kr(this)}function ws(){return new Wi(this.value(),this.__chain__)}function Wm(){this.__values__===n&&(this.__values__=w2(this.value()));var f=this.__index__>=this.__values__.length,p=f?n:this.__values__[this.__index__++];return{done:f,value:p}}function Cv(){return this}function Rc(f){for(var p,S=this;S instanceof ld;){var I=Hm(S);I.__index__=0,I.__values__=n,p?U.__wrapped__=I:p=I;var U=I;S=S.__wrapped__}return U.__wrapped__=f,p}function e2(){var f=this.__wrapped__;if(f instanceof At){var p=f;return this.__actions__.length&&(p=new At(this)),p=p.reverse(),p.__actions__.push({func:Ac,args:[$n],thisArg:n}),new Wi(p,this.__chain__)}return this.thru($n)}function t2(){return Im(this.__wrapped__,this.__actions__)}var n2=vc(function(f,p,S){fn.call(f,S)?++f[S]:Ki(f,S,1)});function $v(f,p,S){var I=Ot(f)?K1:Iy;return S&&Ir(f,p,S)&&(p=n),I(f,lt(p,3))}function Ev(f,p){var S=Ot(f)?co:nr;return S(f,lt(p,3))}var C3=km(fv),$3=km(Vb);function E3(f,p){return ar(Ss(f,p),1)}function r2(f,p){return ar(Ss(f,p),V)}function i2(f,p,S){return S=S===n?1:Nt(S),ar(Ss(f,p),S)}function el(f,p){var S=Ot(f)?da:tu;return S(f,lt(p,3))}function Ld(f,p){var S=Ot(f)?JS:xm;return S(f,lt(p,3))}var a2=vc(function(f,p,S){fn.call(f,S)?f[S].push(p):Ki(f,S,[p])});function o2(f,p,S,I){f=It(f)?f:ia(f),S=S&&!I?Nt(S):0;var U=f.length;return S<0&&(S=Kt(U+S,0)),rg(f)?S<=U&&f.indexOf(p,S)>-1:!!U&&Ql(f,p,S)>-1}var x3=Mt(function(f,p,S){var I=-1,U=typeof p=="function",K=It(f)?Se(f.length):[];return tu(f,function(ee){K[++I]=U?zr(p,ee,S):cc(ee,p,S)}),K}),s2=vc(function(f,p,S){Ki(f,S,p)});function Ss(f,p){var S=Ot(f)?kn:pd;return S(f,lt(p,3))}function u2(f,p,S,I){return f==null?[]:(Ot(p)||(p=p==null?[]:[p]),S=I?n:S,Ot(S)||(S=S==null?[]:[S]),Uy(f,p,S))}var Tn=vc(function(f,p,S){f[S?0:1].push(p)},function(){return[[],[]]});function xv(f,p,S){var I=Ot(f)?py:yy,U=arguments.length<3;return I(f,lt(p,4),S,U,tu)}function O3(f,p,S){var I=Ot(f)?XS:yy,U=arguments.length<3;return I(f,lt(p,4),S,U,xm)}function l2(f,p){var S=Ot(f)?co:nr;return S(f,Ym(lt(p,3)))}function T3(f){var p=Ot(f)?Ay:Tb;return p(f)}function _3(f,p,S){(S?Ir(f,p,S):p===n)?p=1:p=Nt(p);var I=Ot(f)?Xs:Hy;return I(f,p)}function A3(f){var p=Ot(f)?Ft:m3;return p(f)}function Km(f){if(f==null)return 0;if(It(f))return rg(f)?fo(f):f.length;var p=or(f);return p==gt||p==Pt?f.size:nu(f).length}function Pc(f,p,S){var I=Ot(f)?my:vd;return S&&Ir(f,p,S)&&(p=n),I(f,lt(p,3))}var Ov=Mt(function(f,p){if(f==null)return[];var S=p.length;return S>1&&Ir(f,p[0],p[1])?p=[]:S>2&&Ir(p[0],p[1],p[2])&&(p=[p[0]]),Uy(f,ar(p,1),[])}),tl=ga||function(){return We.Date.now()};function Tv(f,p){if(typeof p!="function")throw new Gi(u);return f=Nt(f),function(){if(--f<1)return p.apply(this,arguments)}}function du(f,p,S){return p=S?n:p,p=f&&p==null?f.length:p,La(f,F,n,n,n,n,p)}function qa(f,p){var S;if(typeof p!="function")throw new Gi(u);return f=Nt(f),function(){return--f>0&&(S=p.apply(this,arguments)),f<=1&&(p=n),S}}var nl=Mt(function(f,p,S){var I=$;if(S.length){var U=Ws(S,Qi(nl));I|=P}return La(f,I,p,S,U)}),c2=Mt(function(f,p,S){var I=$|O;if(S.length){var U=Ws(S,Qi(c2));I|=P}return La(p,I,f,S,U)});function _v(f,p,S){p=S?n:p;var I=La(f,R,n,n,n,n,n,p);return I.placeholder=_v.placeholder,I}function Av(f,p,S){p=S?n:p;var I=La(f,k,n,n,n,n,n,p);return I.placeholder=Av.placeholder,I}function Rv(f,p,S){var I,U,K,ee,ne,fe,Pe=0,Me=!1,je=!1,Ye=!0;if(typeof f!="function")throw new Gi(u);p=Mr(p)||0,Ln(S)&&(Me=!!S.leading,je="maxWait"in S,K=je?Kt(Mr(S.maxWait)||0,p):K,Ye="trailing"in S?!!S.trailing:Ye);function ot(vr){var xs=I,rl=U;return I=U=n,Pe=vr,ee=f.apply(rl,xs),ee}function St(vr){return Pe=vr,ne=Wr(Qt,p),Me?ot(vr):ee}function Bt(vr){var xs=vr-fe,rl=vr-Pe,KT=p-xs;return je?$t(KT,K-rl):KT}function Ct(vr){var xs=vr-fe,rl=vr-Pe;return fe===n||xs>=p||xs<0||je&&rl>=K}function Qt(){var vr=tl();if(Ct(vr))return rn(vr);ne=Wr(Qt,Bt(vr))}function rn(vr){return ne=n,Ye&&I?ot(vr):(I=U=n,ee)}function Va(){ne!==n&&bd(ne),Pe=0,I=fe=U=ne=n}function aa(){return ne===n?ee:rn(tl())}function Ga(){var vr=tl(),xs=Ct(vr);if(I=arguments,U=this,fe=vr,xs){if(ne===n)return St(fe);if(je)return bd(ne),ne=Wr(Qt,p),ot(fe)}return ne===n&&(ne=Wr(Qt,p)),ee}return Ga.cancel=Va,Ga.flush=aa,Ga}var R3=Mt(function(f,p){return Py(f,1,p)}),Pv=Mt(function(f,p,S){return Py(f,Mr(p)||0,S)});function f2(f){return La(f,Y)}function Ud(f,p){if(typeof f!="function"||p!=null&&typeof p!="function")throw new Gi(u);var S=function(){var I=arguments,U=p?p.apply(this,I):I[0],K=S.cache;if(K.has(U))return K.get(U);var ee=f.apply(this,I);return S.cache=K.set(U,ee)||K,ee};return S.cache=new(Ud.Cache||cs),S}Ud.Cache=cs;function Ym(f){if(typeof f!="function")throw new Gi(u);return function(){var p=arguments;switch(p.length){case 0:return!f.call(this);case 1:return!f.call(this,p[0]);case 2:return!f.call(this,p[0],p[1]);case 3:return!f.call(this,p[0],p[1],p[2])}return!f.apply(this,p)}}function Iv(f){return qa(2,f)}var Nv=_b(function(f,p){p=p.length==1&&Ot(p[0])?kn(p[0],zi(lt())):kn(ar(p,1),zi(lt()));var S=p.length;return Mt(function(I){for(var U=-1,K=$t(I.length,S);++U=p}),hu=vb((function(){return arguments})())?vb:function(f){return Jn(f)&&fn.call(f,"callee")&&!$y.call(f,"callee")},Ot=Se.isArray,Xm=hr?zi(hr):bb;function It(f){return f!=null&&eg(f.length)&&!Cs(f)}function Hn(f){return Jn(f)&&It(f)}function Nr(f){return f===!0||f===!1||Jn(f)&&Vr(f)==ke}var pu=ub||tC,Lv=Rr?zi(Rr):wb;function Uv(f){return Jn(f)&&f.nodeType===1&&!Yr(f)}function Zm(f){if(f==null)return!0;if(It(f)&&(Ot(f)||typeof f=="string"||typeof f.splice=="function"||pu(f)||za(f)||hu(f)))return!f.length;var p=or(f);if(p==gt||p==Pt)return!f.size;if(Yn(f))return!nu(f).length;for(var S in f)if(fn.call(f,S))return!1;return!0}function m2(f,p){return fc(f,p)}function g2(f,p,S){S=typeof S=="function"?S:n;var I=S?S(f,p):n;return I===n?fc(f,p,n,S):!!I}function qd(f){if(!Jn(f))return!1;var p=Vr(f);return p==ut||p==He||typeof f.message=="string"&&typeof f.name=="string"&&!Yr(f)}function jv(f){return typeof f=="number"&&ym(f)}function Cs(f){if(!Ln(f))return!1;var p=Vr(f);return p==pt||p==bt||p==tt||p==xn}function Bv(f){return typeof f=="number"&&f==Nt(f)}function eg(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=H}function Ln(f){var p=typeof f;return f!=null&&(p=="object"||p=="function")}function Jn(f){return f!=null&&typeof f=="object"}var y2=es?zi(es):Sb;function qv(f,p){return f===p||Am(f,p,Od(p))}function Hv(f,p,S){return S=typeof S=="function"?S:n,Am(f,p,Od(p),S)}function M3(f){return zv(f)&&f!=+f}function k3(f){if(Db(f))throw new yt(o);return ky(f)}function Ha(f){return f===null}function v2(f){return f==null}function zv(f){return typeof f=="number"||Jn(f)&&Vr(f)==Ut}function Yr(f){if(!Jn(f)||Vr(f)!=Tt)return!1;var p=Fu(f);if(p===null)return!0;var S=fn.call(p,"constructor")&&p.constructor;return typeof S=="function"&&S instanceof S&&ad.call(S)==nc}var tg=am?zi(am):Cb;function ng(f){return Bv(f)&&f>=-H&&f<=H}var _o=Kl?zi(Kl):$b;function rg(f){return typeof f=="string"||!Ot(f)&&Jn(f)&&Vr(f)==pe}function ra(f){return typeof f=="symbol"||Jn(f)&&Vr(f)==ze}var za=Yl?zi(Yl):d3;function b2(f){return f===n}function D3(f){return Jn(f)&&or(f)==Qe}function F3(f){return Jn(f)&&Vr(f)==ht}var L3=Sc(dc),U3=Sc(function(f,p){return f<=p});function w2(f){if(!f)return[];if(It(f))return rg(f)?ha(f):ii(f);if(po&&f[po])return nb(f[po]());var p=or(f),S=p==gt?hm:p==Pt?pm:ia;return S(f)}function $s(f){if(!f)return f===0?f:0;if(f=Mr(f),f===V||f===-V){var p=f<0?-1:1;return p*ie}return f===f?f:0}function Nt(f){var p=$s(f),S=p%1;return p===p?S?p-S:p:0}function Vv(f){return f?Gu(Nt(f),0,J):0}function Mr(f){if(typeof f=="number")return f;if(ra(f))return G;if(Ln(f)){var p=typeof f.valueOf=="function"?f.valueOf():f;f=Ln(p)?p+"":p}if(typeof f!="string")return f===0?f:+f;f=X1(f);var S=ao.test(f);return S||Ta.test(f)?rd(f.slice(2),S?2:8):Ko.test(f)?G:+f}function Nc(f){return ka(f,si(f))}function S2(f){return f?Gu(Nt(f),-H,H):f===0?f:0}function hn(f){return f==null?"":Kn(f)}var Mc=Yu(function(f,p){if(Yn(p)||It(p)){ka(p,yr(p),f);return}for(var S in p)fn.call(p,S)&&Dn(f,S,p[S])}),kc=Yu(function(f,p){ka(p,si(p),f)}),Hd=Yu(function(f,p,S,I){ka(p,si(p),f,I)}),ig=Yu(function(f,p,S,I){ka(p,yr(p),f,I)}),Gv=Co(eu);function Wv(f,p){var S=us(f);return p==null?S:Zs(S,p)}var ag=Mt(function(f,p){f=Cn(f);var S=-1,I=p.length,U=I>2?p[2]:n;for(U&&Ir(p[0],p[1],U)&&(I=1);++S1),K}),ka(f,Ed(f),S),I&&(S=an(S,y|w|v,Um));for(var U=p.length;U--;)wo(S,p[U]);return S});function G3(f,p){return sg(f,Ym(lt(p)))}var Jv=Co(function(f,p){return f==null?{}:jy(f,p)});function sg(f,p){if(f==null)return{};var S=kn(Ed(f),function(I){return[I]});return p=lt(p),By(f,S,function(I,U){return p(I,U[0])})}function ug(f,p,S){p=ps(p,f);var I=-1,U=p.length;for(U||(U=1,f=n);++Ip){var I=f;f=p,p=I}if(S||f%1||p%1){var U=vm();return $t(f+U*(p-f+lo("1e-"+((U+"").length-1))),p)}return Pm(f,p)}var R2=iu(function(f,p,S){return p=p.toLowerCase(),f+(S?Qd(p):p)});function Qd(f){return Et(hn(f).toLowerCase())}function Zv(f){return f=hn(f),f&&f.replace(Ui,dm).replace(qi,"")}function Y3(f,p,S){f=hn(f),p=Kn(p);var I=f.length;S=S===n?I:Gu(Nt(S),0,I);var U=S;return S-=p.length,S>=0&&f.slice(S,U)==p}function cg(f){return f=hn(f),f&&er.test(f)?f.replace(jr,Z1):f}function fg(f){return f=hn(f),f&&$i.test(f)?f.replace(Ls,"\\$&"):f}var P2=iu(function(f,p,S){return f+(S?"-":"")+p.toLowerCase()}),Jd=iu(function(f,p,S){return f+(S?" ":"")+p.toLowerCase()}),e0=Mm("toLowerCase");function dg(f,p,S){f=hn(f),p=Nt(p);var I=p?fo(f):0;if(!p||I>=p)return f;var U=(p-I)/2;return wc(va(U),S)+f+wc(ya(U),S)}function I2(f,p,S){f=hn(f),p=Nt(p);var I=p?fo(f):0;return p&&I>>0,S?(f=hn(f),f&&(typeof p=="string"||p!=null&&!tg(p))&&(p=Kn(p),!p&&Gs(f))?ms(ha(f),0,S):f.split(p,S)):[]}var b=iu(function(f,p,S){return f+(S?" ":"")+Et(p)});function x(f,p,S){return f=hn(f),S=S==null?0:Gu(Nt(S),0,f.length),p=Kn(p),f.slice(S,S+p.length)==p}function D(f,p,S){var I=z.templateSettings;S&&Ir(f,p,S)&&(p=n),f=hn(f),p=Hd({},p,I,Lm);var U=Hd({},p.imports,I.imports,Lm),K=yr(U),ee=fm(U,K),ne,fe,Pe=0,Me=p.interpolate||_a,je="__p += '",Ye=ns((p.escape||_a).source+"|"+Me.source+"|"+(Me===ca?Ei:_a).source+"|"+(p.evaluate||_a).source+"|$","g"),ot="//# sourceURL="+(fn.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rm+"]")+` +`;f.replace(Ye,function(Ct,Qt,rn,Va,aa,Ga){return rn||(rn=Va),je+=f.slice(Pe,Ga).replace(js,eb),Qt&&(ne=!0,je+=`' + +__e(`+Qt+`) + +'`),aa&&(fe=!0,je+=`'; +`+aa+`; +__p += '`),rn&&(je+=`' + +((__t = (`+rn+`)) == null ? '' : __t) + +'`),Pe=Ga+Ct.length,Ct}),je+=`'; +`;var St=fn.call(p,"variable")&&p.variable;if(!St)je=`with (obj) { +`+je+` +} +`;else if(An.test(St))throw new yt(l);je=(fe?je.replace(nt,""):je).replace(Ht,"$1").replace(ln,"$1;"),je="function("+(St||"obj")+`) { +`+(St?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(fe?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+je+`return __p +}`;var Bt=de(function(){return zt(K,ot+"return "+je).apply(n,ee)});if(Bt.source=je,qd(Bt))throw Bt;return Bt}function W(f){return hn(f).toLowerCase()}function Z(f){return hn(f).toUpperCase()}function se(f,p,S){if(f=hn(f),f&&(S||p===n))return X1(f);if(!f||!(p=Kn(p)))return f;var I=ha(f),U=ha(p),K=Zl(I,U),ee=ec(I,U)+1;return ms(I,K,ee).join("")}function _e(f,p,S){if(f=hn(f),f&&(S||p===n))return f.slice(0,by(f)+1);if(!f||!(p=Kn(p)))return f;var I=ha(f),U=ec(I,ha(p))+1;return ms(I,0,U).join("")}function Le(f,p,S){if(f=hn(f),f&&(S||p===n))return f.replace(Xr,"");if(!f||!(p=Kn(p)))return f;var I=ha(f),U=Zl(I,ha(p));return ms(I,U).join("")}function ve(f,p){var S=X,I=ue;if(Ln(p)){var U="separator"in p?p.separator:U;S="length"in p?Nt(p.length):S,I="omission"in p?Kn(p.omission):I}f=hn(f);var K=f.length;if(Gs(f)){var ee=ha(f);K=ee.length}if(S>=K)return f;var ne=S-fo(I);if(ne<1)return I;var fe=ee?ms(ee,0,ne).join(""):f.slice(0,ne);if(U===n)return fe+I;if(ee&&(ne+=fe.length-ne),tg(U)){if(f.slice(ne).search(U)){var Pe,Me=fe;for(U.global||(U=ns(U.source,hn(Us.exec(U))+"g")),U.lastIndex=0;Pe=U.exec(Me);)var je=Pe.index;fe=fe.slice(0,je===n?ne:je)}}else if(f.indexOf(Kn(U),ne)!=ne){var Ye=fe.lastIndexOf(U);Ye>-1&&(fe=fe.slice(0,Ye))}return fe+I}function Oe(f){return f=hn(f),f&&tn.test(f)?f.replace(wt,ib):f}var at=iu(function(f,p,S){return f+(S?" ":"")+p.toUpperCase()}),Et=Mm("toUpperCase");function zn(f,p,S){return f=hn(f),p=S?n:p,p===n?tb(f)?o3(f):t3(f):f.match(p)||[]}var de=Mt(function(f,p){try{return zr(f,n,p)}catch(S){return qd(S)?S:new yt(S)}}),oe=Co(function(f,p){return da(p,function(S){S=ai(S),Ki(f,S,nl(f[S],f))}),f});function ye(f){var p=f==null?0:f.length,S=lt();return f=p?kn(f,function(I){if(typeof I[1]!="function")throw new Gi(u);return[S(I[0]),I[1]]}):[],Mt(function(I){for(var U=-1;++UH)return[];var S=J,I=$t(f,J);p=lt(p),f-=J;for(var U=Vs(I,p);++S0||p<0)?new At(S):(f<0?S=S.takeRight(-f):f&&(S=S.drop(f)),p!==n&&(p=Nt(p),S=p<0?S.dropRight(-p):S.take(p-f)),S)},At.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},At.prototype.toArray=function(){return this.take(J)},wa(At.prototype,function(f,p){var S=/^(?:filter|find|map|reject)|While$/.test(p),I=/^(?:head|last)$/.test(p),U=z[I?"take"+(p=="last"?"Right":""):p],K=I||/^find/.test(p);U&&(z.prototype[p]=function(){var ee=this.__wrapped__,ne=I?[1]:arguments,fe=ee instanceof At,Pe=ne[0],Me=fe||Ot(ee),je=function(Qt){var rn=U.apply(z,ts([Qt],ne));return I&&Ye?rn[0]:rn};Me&&S&&typeof Pe=="function"&&Pe.length!=1&&(fe=Me=!1);var Ye=this.__chain__,ot=!!this.__actions__.length,St=K&&!Ye,Bt=fe&&!ot;if(!K&&Me){ee=Bt?ee:new At(this);var Ct=f.apply(ee,ne);return Ct.__actions__.push({func:Ac,args:[je],thisArg:n}),new Wi(Ct,Ye)}return St&&Bt?f.apply(this,ne):(Ct=this.thru(je),St?I?Ct.value()[0]:Ct.value():Ct)})}),da(["pop","push","shift","sort","splice","unshift"],function(f){var p=id[f],S=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",I=/^(?:pop|shift)$/.test(f);z.prototype[f]=function(){var U=arguments;if(I&&!this.__chain__){var K=this.value();return p.apply(Ot(K)?K:[],U)}return this[S](function(ee){return p.apply(Ot(ee)?ee:[],U)})}}),wa(At.prototype,function(f,p){var S=z[p];if(S){var I=S.name+"";fn.call(Ks,I)||(Ks[I]=[]),Ks[I].push({name:p,func:S})}}),Ks[Cd(n,O).name]=[{name:"wrapper",func:n}],At.prototype.clone=db,At.prototype.reverse=ic,At.prototype.value=Sm,z.prototype.at=Zb,z.prototype.chain=S3,z.prototype.commit=ws,z.prototype.next=Wm,z.prototype.plant=Rc,z.prototype.reverse=e2,z.prototype.toJSON=z.prototype.valueOf=z.prototype.value=t2,z.prototype.first=z.prototype.head,po&&(z.prototype[po]=Cv),z}),Ra=s3();_t?((_t.exports=Ra)._=Ra,it._=Ra):We._=Ra}).call(xF)})(x0,x0.exports)),x0.exports}var Sr=OF();function ks(t){var n,r,i,o,u,l,d,h;const e={};if(t.error&&Array.isArray((n=t.error)==null?void 0:n.errors))for(const g of(r=t.error)==null?void 0:r.errors)Sr.set(e,g.location,g.messageTranslated||g.message);return t.status&&t.ok===!1?{form:`${t.status}`}:((i=t==null?void 0:t.error)!=null&&i.code&&(e.form=(o=t==null?void 0:t.error)==null?void 0:o.code),(u=t==null?void 0:t.error)!=null&&u.message&&(e.form=(l=t==null?void 0:t.error)==null?void 0:l.message),(d=t==null?void 0:t.error)!=null&&d.messageTranslated&&(e.form=(h=t==null?void 0:t.error)==null?void 0:h.messageTranslated),t.message?{form:`${t.message}`}:e)}const Lr=t=>(e,n,r)=>{const i=t.prefix+n;return fetch(i,{method:e,headers:{Accept:"application/json","Content-Type":"application/json",...t.headers||{}},body:JSON.stringify(r)}).then(o=>{const u=o.headers.get("content-type");if(u&&u.indexOf("application/json")!==-1)return o.json().then(l=>{if(o.ok)return l;throw l});throw o})};var TF=function(e){return _F(e)&&!AF(e)};function _F(t){return!!t&&typeof t=="object"}function AF(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||IF(t)}var RF=typeof Symbol=="function"&&Symbol.for,PF=RF?Symbol.for("react.element"):60103;function IF(t){return t.$$typeof===PF}function NF(t){return Array.isArray(t)?[]:{}}function Nw(t,e){return e.clone!==!1&&e.isMergeableObject(t)?q0(NF(t),t,e):t}function MF(t,e,n){return t.concat(e).map(function(r){return Nw(r,n)})}function kF(t,e,n){var r={};return n.isMergeableObject(t)&&Object.keys(t).forEach(function(i){r[i]=Nw(t[i],n)}),Object.keys(e).forEach(function(i){!n.isMergeableObject(e[i])||!t[i]?r[i]=Nw(e[i],n):r[i]=q0(t[i],e[i],n)}),r}function q0(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||MF,n.isMergeableObject=n.isMergeableObject||TF;var r=Array.isArray(e),i=Array.isArray(t),o=r===i;return o?r?n.arrayMerge(t,e,n):kF(t,e,n):Nw(e,n)}q0.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return q0(r,i,n)},{})};var EE=q0,y9=typeof global=="object"&&global&&global.Object===Object&&global,DF=typeof self=="object"&&self&&self.Object===Object&&self,Ru=y9||DF||Function("return this")(),_f=Ru.Symbol,v9=Object.prototype,FF=v9.hasOwnProperty,LF=v9.toString,r0=_f?_f.toStringTag:void 0;function UF(t){var e=FF.call(t,r0),n=t[r0];try{t[r0]=void 0;var r=!0}catch{}var i=LF.call(t);return r&&(e?t[r0]=n:delete t[r0]),i}var jF=Object.prototype,BF=jF.toString;function qF(t){return BF.call(t)}var HF="[object Null]",zF="[object Undefined]",p4=_f?_f.toStringTag:void 0;function Vp(t){return t==null?t===void 0?zF:HF:p4&&p4 in Object(t)?UF(t):qF(t)}function b9(t,e){return function(n){return t(e(n))}}var oO=b9(Object.getPrototypeOf,Object);function Gp(t){return t!=null&&typeof t=="object"}var VF="[object Object]",GF=Function.prototype,WF=Object.prototype,w9=GF.toString,KF=WF.hasOwnProperty,YF=w9.call(Object);function m4(t){if(!Gp(t)||Vp(t)!=VF)return!1;var e=oO(t);if(e===null)return!0;var n=KF.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&w9.call(n)==YF}function QF(){this.__data__=[],this.size=0}function S9(t,e){return t===e||t!==t&&e!==e}function dS(t,e){for(var n=t.length;n--;)if(S9(t[n][0],e))return n;return-1}var JF=Array.prototype,XF=JF.splice;function ZF(t){var e=this.__data__,n=dS(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():XF.call(e,n,1),--this.size,!0}function eL(t){var e=this.__data__,n=dS(e,t);return n<0?void 0:e[n][1]}function tL(t){return dS(this.__data__,t)>-1}function nL(t,e){var n=this.__data__,r=dS(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Il(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=nU}var rU="[object Arguments]",iU="[object Array]",aU="[object Boolean]",oU="[object Date]",sU="[object Error]",uU="[object Function]",lU="[object Map]",cU="[object Number]",fU="[object Object]",dU="[object RegExp]",hU="[object Set]",pU="[object String]",mU="[object WeakMap]",gU="[object ArrayBuffer]",yU="[object DataView]",vU="[object Float32Array]",bU="[object Float64Array]",wU="[object Int8Array]",SU="[object Int16Array]",CU="[object Int32Array]",$U="[object Uint8Array]",EU="[object Uint8ClampedArray]",xU="[object Uint16Array]",OU="[object Uint32Array]",Gn={};Gn[vU]=Gn[bU]=Gn[wU]=Gn[SU]=Gn[CU]=Gn[$U]=Gn[EU]=Gn[xU]=Gn[OU]=!0;Gn[rU]=Gn[iU]=Gn[gU]=Gn[aU]=Gn[yU]=Gn[oU]=Gn[sU]=Gn[uU]=Gn[lU]=Gn[cU]=Gn[fU]=Gn[dU]=Gn[hU]=Gn[pU]=Gn[mU]=!1;function TU(t){return Gp(t)&&_9(t.length)&&!!Gn[Vp(t)]}function sO(t){return function(e){return t(e)}}var A9=typeof Za=="object"&&Za&&!Za.nodeType&&Za,I0=A9&&typeof eo=="object"&&eo&&!eo.nodeType&&eo,_U=I0&&I0.exports===A9,lC=_U&&y9.process,Hg=(function(){try{var t=I0&&I0.require&&I0.require("util").types;return t||lC&&lC.binding&&lC.binding("util")}catch{}})(),S4=Hg&&Hg.isTypedArray,AU=S4?sO(S4):TU,RU=Object.prototype,PU=RU.hasOwnProperty;function R9(t,e){var n=R1(t),r=!n&&YL(t),i=!n&&!r&&T9(t),o=!n&&!r&&!i&&AU(t),u=n||r||i||o,l=u?VL(t.length,String):[],d=l.length;for(var h in t)(e||PU.call(t,h))&&!(u&&(h=="length"||i&&(h=="offset"||h=="parent")||o&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||tU(h,d)))&&l.push(h);return l}var IU=Object.prototype;function uO(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||IU;return t===n}var NU=b9(Object.keys,Object),MU=Object.prototype,kU=MU.hasOwnProperty;function DU(t){if(!uO(t))return NU(t);var e=[];for(var n in Object(t))kU.call(t,n)&&n!="constructor"&&e.push(n);return e}function P9(t){return t!=null&&_9(t.length)&&!C9(t)}function lO(t){return P9(t)?R9(t):DU(t)}function FU(t,e){return t&&pS(e,lO(e),t)}function LU(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var UU=Object.prototype,jU=UU.hasOwnProperty;function BU(t){if(!A1(t))return LU(t);var e=uO(t),n=[];for(var r in t)r=="constructor"&&(e||!jU.call(t,r))||n.push(r);return n}function cO(t){return P9(t)?R9(t,!0):BU(t)}function qU(t,e){return t&&pS(e,cO(e),t)}var I9=typeof Za=="object"&&Za&&!Za.nodeType&&Za,C4=I9&&typeof eo=="object"&&eo&&!eo.nodeType&&eo,HU=C4&&C4.exports===I9,$4=HU?Ru.Buffer:void 0,E4=$4?$4.allocUnsafe:void 0;function zU(t,e){if(e)return t.slice();var n=t.length,r=E4?E4(n):new t.constructor(n);return t.copy(r),r}function N9(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n=0)&&(n[i]=t[i]);return n}var mS=T.createContext(void 0);mS.displayName="FormikContext";var IB=mS.Provider;mS.Consumer;function NB(){var t=T.useContext(mS);return t}var Po=function(e){return typeof e=="function"},gS=function(e){return e!==null&&typeof e=="object"},MB=function(e){return String(Math.floor(Number(e)))===e},hC=function(e){return Object.prototype.toString.call(e)==="[object String]"},kB=function(e){return T.Children.count(e)===0},pC=function(e){return gS(e)&&Po(e.then)};function Ya(t,e,n,r){r===void 0&&(r=0);for(var i=H9(e);t&&r=0?[]:{}}}return(o===0?t:i)[u[o]]===n?t:(n===void 0?delete i[u[o]]:i[u[o]]=n,o===0&&n===void 0&&delete r[u[o]],r)}function V9(t,e,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(t);i0?ze.map(function(Qe){return X(Qe,Ya(pe,Qe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ge).then(function(Qe){return Qe.reduce(function(ht,j,A){return j==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||j&&(ht=Np(ht,ze[A],j)),ht},{})})},[X]),me=T.useCallback(function(pe){return Promise.all([ue(pe),w.validationSchema?Y(pe):{},w.validate?q(pe):{}]).then(function(ze){var Ge=ze[0],Qe=ze[1],ht=ze[2],j=EE.all([Ge,Qe,ht],{arrayMerge:jB});return j})},[w.validate,w.validationSchema,ue,q,Y]),te=Ao(function(pe){return pe===void 0&&(pe=L.values),F({type:"SET_ISVALIDATING",payload:!0}),me(pe).then(function(ze){return O.current&&(F({type:"SET_ISVALIDATING",payload:!1}),F({type:"SET_ERRORS",payload:ze})),ze})});T.useEffect(function(){u&&O.current===!0&&pp(v.current,w.initialValues)&&te(v.current)},[u,te]);var be=T.useCallback(function(pe){var ze=pe&&pe.values?pe.values:v.current,Ge=pe&&pe.errors?pe.errors:C.current?C.current:w.initialErrors||{},Qe=pe&&pe.touched?pe.touched:E.current?E.current:w.initialTouched||{},ht=pe&&pe.status?pe.status:$.current?$.current:w.initialStatus;v.current=ze,C.current=Ge,E.current=Qe,$.current=ht;var j=function(){F({type:"RESET_FORM",payload:{isSubmitting:!!pe&&!!pe.isSubmitting,errors:Ge,touched:Qe,status:ht,values:ze,isValidating:!!pe&&!!pe.isValidating,submitCount:pe&&pe.submitCount&&typeof pe.submitCount=="number"?pe.submitCount:0}})};if(w.onReset){var A=w.onReset(L.values,bt);pC(A)?A.then(j):j()}else j()},[w.initialErrors,w.initialStatus,w.initialTouched,w.onReset]);T.useEffect(function(){O.current===!0&&!pp(v.current,w.initialValues)&&h&&(v.current=w.initialValues,be(),u&&te(v.current))},[h,w.initialValues,be,u,te]),T.useEffect(function(){h&&O.current===!0&&!pp(C.current,w.initialErrors)&&(C.current=w.initialErrors||Xd,F({type:"SET_ERRORS",payload:w.initialErrors||Xd}))},[h,w.initialErrors]),T.useEffect(function(){h&&O.current===!0&&!pp(E.current,w.initialTouched)&&(E.current=w.initialTouched||M2,F({type:"SET_TOUCHED",payload:w.initialTouched||M2}))},[h,w.initialTouched]),T.useEffect(function(){h&&O.current===!0&&!pp($.current,w.initialStatus)&&($.current=w.initialStatus,F({type:"SET_STATUS",payload:w.initialStatus}))},[h,w.initialStatus,w.initialTouched]);var we=Ao(function(pe){if(_.current[pe]&&Po(_.current[pe].validate)){var ze=Ya(L.values,pe),Ge=_.current[pe].validate(ze);return pC(Ge)?(F({type:"SET_ISVALIDATING",payload:!0}),Ge.then(function(Qe){return Qe}).then(function(Qe){F({type:"SET_FIELD_ERROR",payload:{field:pe,value:Qe}}),F({type:"SET_ISVALIDATING",payload:!1})})):(F({type:"SET_FIELD_ERROR",payload:{field:pe,value:Ge}}),Promise.resolve(Ge))}else if(w.validationSchema)return F({type:"SET_ISVALIDATING",payload:!0}),Y(L.values,pe).then(function(Qe){return Qe}).then(function(Qe){F({type:"SET_FIELD_ERROR",payload:{field:pe,value:Ya(Qe,pe)}}),F({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),B=T.useCallback(function(pe,ze){var Ge=ze.validate;_.current[pe]={validate:Ge}},[]),V=T.useCallback(function(pe){delete _.current[pe]},[]),H=Ao(function(pe,ze){F({type:"SET_TOUCHED",payload:pe});var Ge=ze===void 0?i:ze;return Ge?te(L.values):Promise.resolve()}),ie=T.useCallback(function(pe){F({type:"SET_ERRORS",payload:pe})},[]),G=Ao(function(pe,ze){var Ge=Po(pe)?pe(L.values):pe;F({type:"SET_VALUES",payload:Ge});var Qe=ze===void 0?n:ze;return Qe?te(Ge):Promise.resolve()}),J=T.useCallback(function(pe,ze){F({type:"SET_FIELD_ERROR",payload:{field:pe,value:ze}})},[]),he=Ao(function(pe,ze,Ge){F({type:"SET_FIELD_VALUE",payload:{field:pe,value:ze}});var Qe=Ge===void 0?n:Ge;return Qe?te(Np(L.values,pe,ze)):Promise.resolve()}),$e=T.useCallback(function(pe,ze){var Ge=ze,Qe=pe,ht;if(!hC(pe)){pe.persist&&pe.persist();var j=pe.target?pe.target:pe.currentTarget,A=j.type,M=j.name,Q=j.id,re=j.value,ge=j.checked;j.outerHTML;var Ee=j.options,rt=j.multiple;Ge=ze||M||Q,Qe=/number|range/.test(A)?(ht=parseFloat(re),isNaN(ht)?"":ht):/checkbox/.test(A)?qB(Ya(L.values,Ge),ge,re):Ee&&rt?BB(Ee):re}Ge&&he(Ge,Qe)},[he,L.values]),Ce=Ao(function(pe){if(hC(pe))return function(ze){return $e(ze,pe)};$e(pe)}),Be=Ao(function(pe,ze,Ge){ze===void 0&&(ze=!0),F({type:"SET_FIELD_TOUCHED",payload:{field:pe,value:ze}});var Qe=Ge===void 0?i:Ge;return Qe?te(L.values):Promise.resolve()}),Ie=T.useCallback(function(pe,ze){pe.persist&&pe.persist();var Ge=pe.target,Qe=Ge.name,ht=Ge.id;Ge.outerHTML;var j=ze||Qe||ht;Be(j,!0)},[Be]),tt=Ao(function(pe){if(hC(pe))return function(ze){return Ie(ze,pe)};Ie(pe)}),ke=T.useCallback(function(pe){Po(pe)?F({type:"SET_FORMIK_STATE",payload:pe}):F({type:"SET_FORMIK_STATE",payload:function(){return pe}})},[]),Ke=T.useCallback(function(pe){F({type:"SET_STATUS",payload:pe})},[]),He=T.useCallback(function(pe){F({type:"SET_ISSUBMITTING",payload:pe})},[]),ut=Ao(function(){return F({type:"SUBMIT_ATTEMPT"}),te().then(function(pe){var ze=pe instanceof Error,Ge=!ze&&Object.keys(pe).length===0;if(Ge){var Qe;try{if(Qe=gt(),Qe===void 0)return}catch(ht){throw ht}return Promise.resolve(Qe).then(function(ht){return O.current&&F({type:"SUBMIT_SUCCESS"}),ht}).catch(function(ht){if(O.current)throw F({type:"SUBMIT_FAILURE"}),ht})}else if(O.current&&(F({type:"SUBMIT_FAILURE"}),ze))throw pe})}),pt=Ao(function(pe){pe&&pe.preventDefault&&Po(pe.preventDefault)&&pe.preventDefault(),pe&&pe.stopPropagation&&Po(pe.stopPropagation)&&pe.stopPropagation(),ut().catch(function(ze){console.warn("Warning: An unhandled error was caught from submitForm()",ze)})}),bt={resetForm:be,validateForm:te,validateField:we,setErrors:ie,setFieldError:J,setFieldTouched:Be,setFieldValue:he,setStatus:Ke,setSubmitting:He,setTouched:H,setValues:G,setFormikState:ke,submitForm:ut},gt=Ao(function(){return g(L.values,bt)}),Ut=Ao(function(pe){pe&&pe.preventDefault&&Po(pe.preventDefault)&&pe.preventDefault(),pe&&pe.stopPropagation&&Po(pe.stopPropagation)&&pe.stopPropagation(),be()}),Gt=T.useCallback(function(pe){return{value:Ya(L.values,pe),error:Ya(L.errors,pe),touched:!!Ya(L.touched,pe),initialValue:Ya(v.current,pe),initialTouched:!!Ya(E.current,pe),initialError:Ya(C.current,pe)}},[L.errors,L.touched,L.values]),Tt=T.useCallback(function(pe){return{setValue:function(Ge,Qe){return he(pe,Ge,Qe)},setTouched:function(Ge,Qe){return Be(pe,Ge,Qe)},setError:function(Ge){return J(pe,Ge)}}},[he,Be,J]),en=T.useCallback(function(pe){var ze=gS(pe),Ge=ze?pe.name:pe,Qe=Ya(L.values,Ge),ht={name:Ge,value:Qe,onChange:Ce,onBlur:tt};if(ze){var j=pe.type,A=pe.value,M=pe.as,Q=pe.multiple;j==="checkbox"?A===void 0?ht.checked=!!Qe:(ht.checked=!!(Array.isArray(Qe)&&~Qe.indexOf(A)),ht.value=A):j==="radio"?(ht.checked=Qe===A,ht.value=A):M==="select"&&Q&&(ht.value=ht.value||[],ht.multiple=!0)}return ht},[tt,Ce,L.values]),xn=T.useMemo(function(){return!pp(v.current,L.values)},[v.current,L.values]),Dt=T.useMemo(function(){return typeof l<"u"?xn?L.errors&&Object.keys(L.errors).length===0:l!==!1&&Po(l)?l(w):l:L.errors&&Object.keys(L.errors).length===0},[l,xn,L.errors,w]),Pt=Qr({},L,{initialValues:v.current,initialErrors:C.current,initialTouched:E.current,initialStatus:$.current,handleBlur:tt,handleChange:Ce,handleReset:Ut,handleSubmit:pt,resetForm:be,setErrors:ie,setFormikState:ke,setFieldTouched:Be,setFieldValue:he,setFieldError:J,setStatus:Ke,setSubmitting:He,setTouched:H,setValues:G,submitForm:ut,validateForm:te,validateField:we,isValid:Dt,dirty:xn,unregisterField:V,registerField:B,getFieldProps:en,getFieldMeta:Gt,getFieldHelpers:Tt,validateOnBlur:i,validateOnChange:n,validateOnMount:u});return Pt}function FB(t){var e=Nl(t),n=t.component,r=t.children,i=t.render,o=t.innerRef;return T.useImperativeHandle(o,function(){return e}),T.createElement(IB,{value:e},n?T.createElement(n,e):i?i(e):r?Po(r)?r(e):kB(r)?null:T.Children.only(r):null)}function LB(t){var e={};if(t.inner){if(t.inner.length===0)return Np(e,t.path,t.message);for(var i=t.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var u=o;Ya(e,u.path)||(e=Np(e,u.path,u.message))}}return e}function UB(t,e,n,r){n===void 0&&(n=!1);var i=AE(t);return e[n?"validateSync":"validate"](i,{abortEarly:!1,context:i})}function AE(t){var e=Array.isArray(t)?[]:{};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=String(n);Array.isArray(t[r])===!0?e[r]=t[r].map(function(i){return Array.isArray(i)===!0||m4(i)?AE(i):i!==""?i:void 0}):m4(t[r])?e[r]=AE(t[r]):e[r]=t[r]!==""?t[r]:void 0}return e}function jB(t,e,n){var r=t.slice();return e.forEach(function(o,u){if(typeof r[u]>"u"){var l=n.clone!==!1,d=l&&n.isMergeableObject(o);r[u]=d?EE(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[u]=EE(t[u],o,n):t.indexOf(o)===-1&&r.push(o)}),r}function BB(t){return Array.from(t).filter(function(e){return e.selected}).map(function(e){return e.value})}function qB(t,e,n){if(typeof t=="boolean")return!!e;var r=[],i=!1,o=-1;if(Array.isArray(t))r=t,o=t.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return!!e;return e&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var HB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?T.useLayoutEffect:T.useEffect;function Ao(t){var e=T.useRef(t);return HB(function(){e.current=t}),T.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i(t.NewEntity="new_entity",t.SidebarToggle="sidebarToggle",t.NewChildEntity="new_child_entity",t.EditEntity="edit_entity",t.ViewQuestions="view_questions",t.ExportTable="export_table",t.CommonBack="common_back",t.StopStart="StopStart",t.Delete="delete",t.Select1Index="select1_index",t.Select2Index="select2_index",t.Select3Index="select3_index",t.Select4Index="select4_index",t.Select5Index="select5_index",t.Select6Index="select6_index",t.Select7Index="select7_index",t.Select8Index="select8_index",t.Select9Index="select9_index",t.ToggleLock="l",t))(jn||{});function VB(t,e){const n=Sr.flatMapDeep(e,(r,i,o)=>{let u=[],l=i;if(r&&typeof r=="object"&&!r.value){const d=Object.keys(r);if(d.length)for(let h of d)u.push({name:`${l}.${h}`,filter:r[h]})}else u.push({name:l,filter:r});return u});return t.filter((r,i)=>{for(let o of n){const u=Sr.get(r,o.name);if(u)switch(o.filter.operation){case"equal":if(u!==o.filter.value)return!1;break;case"contains":if(!u.includes(o.filter.value))return!1;break;case"notContains":if(u.includes(o.filter.value))return!1;break;case"endsWith":if(!u.endsWith(o.filter.value))return!1;break;case"startsWith":if(!u.startsWith(o.filter.value))return!1;break;case"greaterThan":if(uo.filter.value)return!1;break;case"lessThanOrEqual":if(u>=o.filter.value)return!1;break;case"notEqual":if(u===o.filter.value)return!1;break}}return!0})}async function qo(t,e,n){let r=t.toString(),i=e||{},o,u=fetch;return n&&([r,i]=await n.apply(r,i),n.fetchOverrideFn&&(u=n.fetchOverrideFn)),o=await u(r,i),n&&(o=await n.handle(o)),o}function GB(t){return typeof t=="function"&&t.prototype&&t.prototype.constructor===t}async function Ho(t,e,n,r){const i=t.headers.get("content-type")||"",o=t.headers.get("content-disposition")||"";if(i.includes("text/event-stream"))return WB(t,n,r);if(o.includes("attachment")||!i.includes("json")&&!i.startsWith("text/"))t.result=t.body;else if(i.includes("application/json")){const u=await t.json();e?GB(e)?t.result=new e(u):t.result=e(u):t.result=u}else t.result=await t.text();return{done:Promise.resolve(),response:t}}const WB=(t,e,n)=>{if(!t.body)throw new Error("SSE requires readable body");const r=t.body.getReader(),i=new TextDecoder;let o="";const u=new Promise((l,d)=>{function h(){r.read().then(({done:g,value:y})=>{if(n!=null&&n.aborted)return r.cancel(),l();if(g)return l();o+=i.decode(y,{stream:!0});const w=o.split(` + +`);o=w.pop()||"";for(const v of w){let C="",E="message";if(v.split(` +`).forEach($=>{$.startsWith("data:")?C+=$.slice(5).trim():$.startsWith("event:")&&(E=$.slice(6).trim())}),C){if(C==="[DONE]")return l();e==null||e(new MessageEvent(E,{data:C}))}}h()}).catch(g=>{g.name==="AbortError"?l():d(g)})}h()});return{response:t,done:u}};class mO{constructor(e="",n={},r,i,o=null){this.baseUrl=e,this.defaultHeaders=n,this.requestInterceptor=r,this.responseInterceptor=i,this.fetchOverrideFn=o}async apply(e,n){return/^https?:\/\//.test(e)||(e=this.baseUrl+e),n.headers={...this.defaultHeaders,...n.headers||{}},this.requestInterceptor?this.requestInterceptor(e,n):[e,n]}async handle(e){return this.responseInterceptor?this.responseInterceptor(e):e}clone(e){return new mO((e==null?void 0:e.baseUrl)??this.baseUrl,{...this.defaultHeaders,...(e==null?void 0:e.defaultHeaders)||{}},(e==null?void 0:e.requestInterceptor)??this.requestInterceptor,(e==null?void 0:e.responseInterceptor)??this.responseInterceptor)}}var KB={VITE_REMOTE_SERVICE:"/",PUBLIC_URL:"/selfservice/",VITE_DEFAULT_ROUTE:"/{locale}/passports",VITE_SUPPORTED_LANGUAGES:"fa,en"};const i0=KB,Si={REMOTE_SERVICE:i0.VITE_REMOTE_SERVICE,PUBLIC_URL:i0.PUBLIC_URL,DEFAULT_ROUTE:i0.VITE_DEFAULT_ROUTE,SUPPORTED_LANGUAGES:i0.VITE_SUPPORTED_LANGUAGES,FORCED_LOCALE:i0.VITE_FORCED_LOCALE};var Zd={},Fc={},pg={},z4;function YB(){if(z4)return pg;z4=1,pg.__esModule=!0,pg.getAllMatches=t,pg.escapeRegExp=e,pg.escapeSource=n;function t(r,i){for(var o=void 0,u=[];o=r.exec(i);)u.push(o);return u}function e(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function n(r){return e(r).replace(/\/+/g,"/+")}return pg}var vu={},V4;function QB(){if(V4)return vu;V4=1,vu.__esModule=!0,vu.string=t,vu.greedySplat=e,vu.splat=n,vu.any=r,vu.int=i,vu.uuid=o,vu.createRule=u;function t(){var l=arguments.length<=0||arguments[0]===void 0?{}:arguments[0],d=l.maxLength,h=l.minLength,g=l.length;return u({validate:function(w){return!(d&&w.length>d||h&&w.lengthd||h&&v=q.length)break;Y=q[F++]}else{if(F=q.next(),F.done)break;Y=F.value}var X=Y[0],ue=Y[1],me=void 0;ue?me=$[ue]||n.string():X=="**"?(me=n.greedySplat(),ue="splat"):X=="*"?(me=n.splat(),ue="splat"):X==="("?k+="(?:":X===")"?k+=")?":k+=e.escapeSource(X),ue&&(k+=me.regex,R.push({paramName:ue,rule:me})),_.push(X)}var te=_[_.length-1]!=="*",be=te?"":"$";return k=new RegExp("^"+k+"/*"+be,"i"),{tokens:_,regexpSource:k,params:R,paramNames:R.map(function(we){return we.paramName})}}function d(C,E){return C.every(function($,O){return E[O].rule.validate($)})}function h(C){return typeof C=="string"&&(C={pattern:C,rules:{}}),i.default(C.pattern,"you cannot use an empty route pattern"),C.rules=C.rules||{},C}function g(C){return C=h(C),o[C.pattern]||(o[C.pattern]=l(C)),o[C.pattern]}function y(C,E){E.charAt(0)!=="/"&&(E="/"+E);var $=g(C),O=$.regexpSource,_=$.params,R=$.paramNames,k=E.match(O);if(k!=null){var P=E.slice(k[0].length);if(!(P[0]=="/"||k[0][k[0].length])){var L=k.slice(1).map(function(F){return F!=null?decodeURIComponent(F):F});if(d(L,_))return L=L.map(function(F,q){return _[q].rule.convert(F)}),{remainingPathname:P,paramValues:L,paramNames:R}}}}function w(C,E){E=E||{};for(var $=g(C),O=$.tokens,_=0,R="",k=0,P=void 0,L=void 0,F=void 0,q=0,Y=O.length;q0,'Missing splat #%s for path "%s"',k,C.pattern),F!=null&&(R+=encodeURI(F))):P==="("?_+=1:P===")"?_-=1:P.charAt(0)===":"?(L=P.substring(1),F=E[L],i.default(F!=null||_>0,'Missing "%s" parameter for path "%s"',L,C.pattern),F!=null&&(R+=encodeURIComponent(F))):R+=P;return R.replace(/\/+/g,"/")}function v(C,E){var $=y(C,E)||{},O=$.paramNames,_=$.paramValues,R=[];if(!O)return null;for(var k=0;k1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(nq(this,e),r=rq(this,e,[n]),r.originalRequest=o,r.originalResponse=u,r.causingError=i,i!=null&&(n+=", caused by ".concat(i.toString())),o!=null){var l=o.getHeader("X-Request-ID")||"n/a",d=o.getMethod(),h=o.getURL(),g=u?u.getStatus():"n/a",y=u?u.getBody()||"":"n/a";n+=", originated from request (method: ".concat(d,", url: ").concat(h,", response code: ").concat(g,", response text: ").concat(y,", request id: ").concat(l,")")}return r.message=n,r}return oq(e,t),tq(e)})(PE(Error));function W0(t){"@babel/helpers - typeof";return W0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W0(t)}function lq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cq(t,e){for(var n=0;n{let e={};return t.forEach((n,r)=>e[n]=r),e})(O0),yq=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,bi=String.fromCharCode.bind(String),J4=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),W9=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),K9=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),Y9=t=>{let e,n,r,i,o="";const u=t.length%3;for(let l=0;l255||(r=t.charCodeAt(l++))>255||(i=t.charCodeAt(l++))>255)throw new TypeError("invalid character found");e=n<<16|r<<8|i,o+=O0[e>>18&63]+O0[e>>12&63]+O0[e>>6&63]+O0[e&63]}return u?o.slice(0,u-3)+"===".substring(u):o},yO=typeof btoa=="function"?t=>btoa(t):Zg?t=>Buffer.from(t,"binary").toString("base64"):Y9,IE=Zg?t=>Buffer.from(t).toString("base64"):t=>{let n=[];for(let r=0,i=t.length;re?W9(IE(t)):IE(t),vq=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?bi(192|e>>>6)+bi(128|e&63):bi(224|e>>>12&15)+bi(128|e>>>6&63)+bi(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return bi(240|e>>>18&7)+bi(128|e>>>12&63)+bi(128|e>>>6&63)+bi(128|e&63)}},bq=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Q9=t=>t.replace(bq,vq),X4=Zg?t=>Buffer.from(t,"utf8").toString("base64"):Q4?t=>IE(Q4.encode(t)):t=>yO(Q9(t)),Dg=(t,e=!1)=>e?W9(X4(t)):X4(t),Z4=t=>Dg(t,!0),wq=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Sq=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return bi((n>>>10)+55296)+bi((n&1023)+56320);case 3:return bi((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return bi((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},J9=t=>t.replace(wq,Sq),X9=t=>{if(t=t.replace(/\s+/g,""),!yq.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(t.length&3));let e,n="",r,i;for(let o=0;o>16&255):i===64?bi(e>>16&255,e>>8&255):bi(e>>16&255,e>>8&255,e&255);return n},vO=typeof atob=="function"?t=>atob(K9(t)):Zg?t=>Buffer.from(t,"base64").toString("binary"):X9,Z9=Zg?t=>J4(Buffer.from(t,"base64")):t=>J4(vO(t).split("").map(e=>e.charCodeAt(0))),eI=t=>Z9(tI(t)),Cq=Zg?t=>Buffer.from(t,"base64").toString("utf8"):Y4?t=>Y4.decode(Z9(t)):t=>J9(vO(t)),tI=t=>K9(t.replace(/[-_]/g,e=>e=="-"?"+":"/")),NE=t=>Cq(tI(t)),$q=t=>{if(typeof t!="string")return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},nI=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),rI=function(){const t=(e,n)=>Object.defineProperty(String.prototype,e,nI(n));t("fromBase64",function(){return NE(this)}),t("toBase64",function(e){return Dg(this,e)}),t("toBase64URI",function(){return Dg(this,!0)}),t("toBase64URL",function(){return Dg(this,!0)}),t("toUint8Array",function(){return eI(this)})},iI=function(){const t=(e,n)=>Object.defineProperty(Uint8Array.prototype,e,nI(n));t("toBase64",function(e){return cw(this,e)}),t("toBase64URI",function(){return cw(this,!0)}),t("toBase64URL",function(){return cw(this,!0)})},Eq=()=>{rI(),iI()},xq={version:G9,VERSION:mq,atob:vO,atobPolyfill:X9,btoa:yO,btoaPolyfill:Y9,fromBase64:NE,toBase64:Dg,encode:Dg,encodeURI:Z4,encodeURL:Z4,utob:Q9,btou:J9,decode:NE,isValid:$q,fromUint8Array:cw,toUint8Array:eI,extendString:rI,extendUint8Array:iI,extendBuiltins:Eq};var gC,e_;function Oq(){return e_||(e_=1,gC=function(e,n){if(n=n.split(":")[0],e=+e,!e)return!1;switch(n){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}),gC}var F2={},t_;function Tq(){if(t_)return F2;t_=1;var t=Object.prototype.hasOwnProperty,e;function n(u){try{return decodeURIComponent(u.replace(/\+/g," "))}catch{return null}}function r(u){try{return encodeURIComponent(u)}catch{return null}}function i(u){for(var l=/([^=?#&]+)=?([^&]*)/g,d={},h;h=l.exec(u);){var g=n(h[1]),y=n(h[2]);g===null||y===null||g in d||(d[g]=y)}return d}function o(u,l){l=l||"";var d=[],h,g;typeof l!="string"&&(l="?");for(g in u)if(t.call(u,g)){if(h=u[g],!h&&(h===null||h===e||isNaN(h))&&(h=""),g=r(g),h=r(h),g===null||h===null)continue;d.push(g+"="+h)}return d.length?l+d.join("&"):""}return F2.stringify=o,F2.parse=i,F2}var yC,n_;function _q(){if(n_)return yC;n_=1;var t=Oq(),e=Tq(),n=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,r=/[\n\r\t]/g,i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,o=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function d(_){return(_||"").toString().replace(n,"")}var h=[["#","hash"],["?","query"],function(R,k){return w(k.protocol)?R.replace(/\\/g,"/"):R},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],g={hash:1,query:1};function y(_){var R;typeof window<"u"?R=window:typeof Sf<"u"?R=Sf:typeof self<"u"?R=self:R={};var k=R.location||{};_=_||k;var P={},L=typeof _,F;if(_.protocol==="blob:")P=new E(unescape(_.pathname),{});else if(L==="string"){P=new E(_,{});for(F in g)delete P[F]}else if(L==="object"){for(F in _)F in g||(P[F]=_[F]);P.slashes===void 0&&(P.slashes=i.test(_.href))}return P}function w(_){return _==="file:"||_==="ftp:"||_==="http:"||_==="https:"||_==="ws:"||_==="wss:"}function v(_,R){_=d(_),_=_.replace(r,""),R=R||{};var k=u.exec(_),P=k[1]?k[1].toLowerCase():"",L=!!k[2],F=!!k[3],q=0,Y;return L?F?(Y=k[2]+k[3]+k[4],q=k[2].length+k[3].length):(Y=k[2]+k[4],q=k[2].length):F?(Y=k[3]+k[4],q=k[3].length):Y=k[4],P==="file:"?q>=2&&(Y=Y.slice(2)):w(P)?Y=k[4]:P?L&&(Y=Y.slice(2)):q>=2&&w(R.protocol)&&(Y=k[4]),{protocol:P,slashes:L||w(P),slashesCount:q,rest:Y}}function C(_,R){if(_==="")return R;for(var k=(R||"/").split("/").slice(0,-1).concat(_.split("/")),P=k.length,L=k[P-1],F=!1,q=0;P--;)k[P]==="."?k.splice(P,1):k[P]===".."?(k.splice(P,1),q++):q&&(P===0&&(F=!0),k.splice(P,1),q--);return F&&k.unshift(""),(L==="."||L==="..")&&k.push(""),k.join("/")}function E(_,R,k){if(_=d(_),_=_.replace(r,""),!(this instanceof E))return new E(_,R,k);var P,L,F,q,Y,X,ue=h.slice(),me=typeof R,te=this,be=0;for(me!=="object"&&me!=="string"&&(k=R,R=null),k&&typeof k!="function"&&(k=e.parse),R=y(R),L=v(_||"",R),P=!L.protocol&&!L.slashes,te.slashes=L.slashes||P&&R.slashes,te.protocol=L.protocol||R.protocol||"",_=L.rest,(L.protocol==="file:"&&(L.slashesCount!==2||l.test(_))||!L.slashes&&(L.protocol||L.slashesCount<2||!w(te.protocol)))&&(ue[3]=[/(.*)/,"pathname"]);be=0;--G){var J=this.tryEntries[G],he=J.completion;if(J.tryLoc==="root")return ie("end");if(J.tryLoc<=this.prev){var $e=r.call(J,"catchLoc"),Ce=r.call(J,"finallyLoc");if($e&&Ce){if(this.prev=0;--ie){var G=this.tryEntries[ie];if(G.tryLoc<=this.prev&&r.call(G,"finallyLoc")&&this.prev=0;--H){var ie=this.tryEntries[H];if(ie.finallyLoc===V)return this.complete(ie.completion,ie.afterLoc),te(ie),$}},catch:function(V){for(var H=this.tryEntries.length-1;H>=0;--H){var ie=this.tryEntries[H];if(ie.tryLoc===V){var G=ie.completion;if(G.type==="throw"){var J=G.arg;te(ie)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,H,ie){return this.delegate={iterator:we(V),resultName:H,nextLoc:ie},this.method==="next"&&(this.arg=t),$}},e}function r_(t,e,n,r,i,o,u){try{var l=t[o](u),d=l.value}catch(h){n(h);return}l.done?e(d):Promise.resolve(d).then(r,i)}function Iq(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function u(d){r_(o,r,i,u,l,"next",d)}function l(d){r_(o,r,i,u,l,"throw",d)}u(void 0)})}}function aI(t,e){return kq(t)||Mq(t,e)||oI(t,e)||Nq()}function Nq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mq(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,o,u,l=[],d=!0,h=!1;try{if(o=(n=n.call(t)).next,e!==0)for(;!(d=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);d=!0);}catch(g){h=!0,i=g}finally{try{if(!d&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(h)throw i}}return l}}function kq(t){if(Array.isArray(t))return t}function Lp(t){"@babel/helpers - typeof";return Lp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lp(t)}function Dq(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=oI(t))||e){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(h){throw h},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,u=!1,l;return{s:function(){n=n.call(t)},n:function(){var h=n.next();return o=h.done,h},e:function(h){u=!0,l=h},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(u)throw l}}}}function oI(t,e){if(t){if(typeof t=="string")return i_(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i_(t,e)}}function i_(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1)for(var o=0,u=["uploadUrl","uploadSize","uploadLengthDeferred"];o1||n._parallelUploadUrls!=null?n._startParallelUpload():n._startSingleUpload()}).catch(function(d){n._emitError(d)})}},{key:"_startParallelUpload",value:function(){var n,r=this,i=this._size,o=0;this._parallelUploads=[];var u=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,l=(n=this.options.parallelUploadBoundaries)!==null&&n!==void 0?n:Hq(this._source.size,u);this._parallelUploadUrls&&l.forEach(function(g,y){g.uploadUrl=r._parallelUploadUrls[y]||null}),this._parallelUploadUrls=new Array(l.length);var d=l.map(function(g,y){var w=0;return r._source.slice(g.start,g.end).then(function(v){var C=v.value;return new Promise(function(E,$){var O=mg(mg({},r.options),{},{uploadUrl:g.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:r.options.metadataForPartialUploads,headers:mg(mg({},r.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:E,onError:$,onProgress:function(k){o=o-w+k,w=k,r._emitProgress(o,i)},onUploadUrlAvailable:function(){r._parallelUploadUrls[y]=_.url,r._parallelUploadUrls.filter(function(k){return!!k}).length===l.length&&r._saveUploadInUrlStorage()}}),_=new t(C,O);_.start(),r._parallelUploads.push(_)})})}),h;Promise.all(d).then(function(){h=r._openRequest("POST",r.options.endpoint),h.setHeader("Upload-Concat","final;".concat(r._parallelUploadUrls.join(" ")));var g=s_(r.options.metadata);return g!==""&&h.setHeader("Upload-Metadata",g),r._sendRequest(h,null)}).then(function(g){if(!Eg(g.getStatus(),200)){r._emitHttpError(h,g,"tus: unexpected response while creating upload");return}var y=g.getHeader("Location");if(y==null){r._emitHttpError(h,g,"tus: invalid or missing Location header");return}r.url=f_(r.options.endpoint,y),"Created upload at ".concat(r.url),r._emitSuccess(g)}).catch(function(g){r._emitError(g)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){"Resuming upload from previous URL: ".concat(this.url),this._resumeUpload();return}if(this.options.uploadUrl!=null){"Resuming upload from provided URL: ".concat(this.options.uploadUrl),this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(n){var r=this;if(this._parallelUploads!=null){var i=Dq(this._parallelUploads),o;try{for(i.s();!(o=i.n()).done;){var u=o.value;u.abort(n)}}catch(l){i.e(l)}finally{i.f()}}return this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!n||this.url==null?Promise.resolve():t.terminate(this.url,this.options).then(function(){return r._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(n,r,i,o){this._emitError(new k2(i,o,n,r))}},{key:"_emitError",value:function(n){var r=this;if(!this._aborted){if(this.options.retryDelays!=null){var i=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(i&&(this._retryAttempt=0),c_(n,this._retryAttempt,this.options)){var o=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){r.start()},o);return}}if(typeof this.options.onError=="function")this.options.onError(n);else throw n}}},{key:"_emitSuccess",value:function(n){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess({lastResponse:n})}},{key:"_emitProgress",value:function(n,r){typeof this.options.onProgress=="function"&&this.options.onProgress(n,r)}},{key:"_emitChunkComplete",value:function(n,r,i){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(n,r,i)}},{key:"_createUpload",value:function(){var n=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var r=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?r.setHeader("Upload-Defer-Length","1"):r.setHeader("Upload-Length","".concat(this._size));var i=s_(this.options.metadata);i!==""&&r.setHeader("Upload-Metadata",i);var o;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,o=this._addChunkToRequest(r)):((this.options.protocol===dw||this.options.protocol===T0)&&r.setHeader("Upload-Complete","?0"),o=this._sendRequest(r,null)),o.then(function(u){if(!Eg(u.getStatus(),200)){n._emitHttpError(r,u,"tus: unexpected response while creating upload");return}var l=u.getHeader("Location");if(l==null){n._emitHttpError(r,u,"tus: invalid or missing Location header");return}if(n.url=f_(n.options.endpoint,l),"Created upload at ".concat(n.url),typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._size===0){n._emitSuccess(u),n._source.close();return}n._saveUploadInUrlStorage().then(function(){n.options.uploadDataDuringCreation?n._handleUploadResponse(r,u):(n._offset=0,n._performUpload())})}).catch(function(u){n._emitHttpError(r,null,"tus: failed to create upload",u)})}},{key:"_resumeUpload",value:function(){var n=this,r=this._openRequest("HEAD",this.url),i=this._sendRequest(r,null);i.then(function(o){var u=o.getStatus();if(!Eg(u,200)){if(u===423){n._emitHttpError(r,o,"tus: upload is currently locked; retry later");return}if(Eg(u,400)&&n._removeFromUrlStorage(),!n.options.endpoint){n._emitHttpError(r,o,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}n.url=null,n._createUpload();return}var l=Number.parseInt(o.getHeader("Upload-Offset"),10);if(Number.isNaN(l)){n._emitHttpError(r,o,"tus: invalid or missing offset value");return}var d=Number.parseInt(o.getHeader("Upload-Length"),10);if(Number.isNaN(d)&&!n.options.uploadLengthDeferred&&n.options.protocol===fw){n._emitHttpError(r,o,"tus: invalid or missing length value");return}typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._saveUploadInUrlStorage().then(function(){if(l===d){n._emitProgress(d,d),n._emitSuccess(o);return}n._offset=l,n._performUpload()})}).catch(function(o){n._emitHttpError(r,null,"tus: failed to resume upload",o)})}},{key:"_performUpload",value:function(){var n=this;if(!this._aborted){var r;this.options.overridePatchMethod?(r=this._openRequest("POST",this.url),r.setHeader("X-HTTP-Method-Override","PATCH")):r=this._openRequest("PATCH",this.url),r.setHeader("Upload-Offset","".concat(this._offset));var i=this._addChunkToRequest(r);i.then(function(o){if(!Eg(o.getStatus(),200)){n._emitHttpError(r,o,"tus: unexpected response while uploading chunk");return}n._handleUploadResponse(r,o)}).catch(function(o){n._aborted||n._emitHttpError(r,null,"tus: failed to upload chunk at offset ".concat(n._offset),o)})}}},{key:"_addChunkToRequest",value:function(n){var r=this,i=this._offset,o=this._offset+this.options.chunkSize;return n.setProgressHandler(function(u){r._emitProgress(i+u,r._size)}),this.options.protocol===fw?n.setHeader("Content-Type","application/offset+octet-stream"):this.options.protocol===T0&&n.setHeader("Content-Type","application/partial-upload"),(o===Number.POSITIVE_INFINITY||o>this._size)&&!this.options.uploadLengthDeferred&&(o=this._size),this._source.slice(i,o).then(function(u){var l=u.value,d=u.done,h=l!=null&&l.size?l.size:0;r.options.uploadLengthDeferred&&d&&(r._size=r._offset+h,n.setHeader("Upload-Length","".concat(r._size)));var g=r._offset+h;return!r.options.uploadLengthDeferred&&d&&g!==r._size?Promise.reject(new Error("upload was configured with a size of ".concat(r._size," bytes, but the source is done after ").concat(g," bytes"))):l===null?r._sendRequest(n):((r.options.protocol===dw||r.options.protocol===T0)&&n.setHeader("Upload-Complete",d?"?1":"?0"),r._emitProgress(r._offset,r._size),r._sendRequest(n,l))})}},{key:"_handleUploadResponse",value:function(n,r){var i=Number.parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(i)){this._emitHttpError(n,r,"tus: invalid or missing offset value");return}if(this._emitProgress(i,this._size),this._emitChunkComplete(i-this._offset,i,this._size),this._offset=i,i===this._size){this._emitSuccess(r),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(n,r){var i=u_(n,r,this.options);return this._req=i,i}},{key:"_removeFromUrlStorage",value:function(){var n=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(r){n._emitError(r)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var n=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var r={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?r.parallelUploadUrls=this._parallelUploadUrls:r.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,r).then(function(i){n._urlStorageKey=i})}},{key:"_sendRequest",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return l_(n,r,this.options)}}],[{key:"terminate",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=u_("DELETE",n,r);return l_(i,null,r).then(function(o){if(o.getStatus()!==204)throw new k2("tus: unexpected response while terminating upload",null,i,o)}).catch(function(o){if(o instanceof k2||(o=new k2("tus: failed to terminate upload",o,i,null)),!c_(o,0,r))throw o;var u=r.retryDelays[0],l=r.retryDelays.slice(1),d=mg(mg({},r),{},{retryDelays:l});return new Promise(function(h){return setTimeout(h,u)}).then(function(){return t.terminate(n,d)})})}}])})();function s_(t){return Object.entries(t).map(function(e){var n=aI(e,2),r=n[0],i=n[1];return"".concat(r," ").concat(xq.encode(String(i)))}).join(",")}function Eg(t,e){return t>=e&&t=n.retryDelays.length||t.originalRequest==null?!1:n&&typeof n.onShouldRetry=="function"?n.onShouldRetry(t,e,n):uI(t)}function uI(t){var e=t.originalResponse?t.originalResponse.getStatus():0;return(!Eg(e,400)||e===409||e===423)&&qq()}function f_(t,e){return new Rq(e,t).toString()}function Hq(t,e){for(var n=Math.floor(t/e),r=[],i=0;i=this.size;return Promise.resolve({value:i,done:o})}},{key:"close",value:function(){}}])})();function Y0(t){"@babel/helpers - typeof";return Y0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y0(t)}function Xq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zq(t,e){for(var n=0;nthis._bufferOffset&&(this._buffer=this._buffer.slice(n-this._bufferOffset),this._bufferOffset=n);var i=h_(this._buffer)===0;return this._done&&i?null:this._buffer.slice(0,r-n)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])})();function Up(t){"@babel/helpers - typeof";return Up=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Up(t)}function DE(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */DE=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(B,V,H){B[V]=H.value},o=typeof Symbol=="function"?Symbol:{},u=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",d=o.toStringTag||"@@toStringTag";function h(B,V,H){return Object.defineProperty(B,V,{value:H,enumerable:!0,configurable:!0,writable:!0}),B[V]}try{h({},"")}catch{h=function(H,ie,G){return H[ie]=G}}function g(B,V,H,ie){var G=V&&V.prototype instanceof O?V:O,J=Object.create(G.prototype),he=new be(ie||[]);return i(J,"_invoke",{value:X(B,H,he)}),J}function y(B,V,H){try{return{type:"normal",arg:B.call(V,H)}}catch(ie){return{type:"throw",arg:ie}}}e.wrap=g;var w="suspendedStart",v="suspendedYield",C="executing",E="completed",$={};function O(){}function _(){}function R(){}var k={};h(k,u,function(){return this});var P=Object.getPrototypeOf,L=P&&P(P(we([])));L&&L!==n&&r.call(L,u)&&(k=L);var F=R.prototype=O.prototype=Object.create(k);function q(B){["next","throw","return"].forEach(function(V){h(B,V,function(H){return this._invoke(V,H)})})}function Y(B,V){function H(G,J,he,$e){var Ce=y(B[G],B,J);if(Ce.type!=="throw"){var Be=Ce.arg,Ie=Be.value;return Ie&&Up(Ie)=="object"&&r.call(Ie,"__await")?V.resolve(Ie.__await).then(function(tt){H("next",tt,he,$e)},function(tt){H("throw",tt,he,$e)}):V.resolve(Ie).then(function(tt){Be.value=tt,he(Be)},function(tt){return H("throw",tt,he,$e)})}$e(Ce.arg)}var ie;i(this,"_invoke",{value:function(J,he){function $e(){return new V(function(Ce,Be){H(J,he,Ce,Be)})}return ie=ie?ie.then($e,$e):$e()}})}function X(B,V,H){var ie=w;return function(G,J){if(ie===C)throw Error("Generator is already running");if(ie===E){if(G==="throw")throw J;return{value:t,done:!0}}for(H.method=G,H.arg=J;;){var he=H.delegate;if(he){var $e=ue(he,H);if($e){if($e===$)continue;return $e}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(ie===w)throw ie=E,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);ie=C;var Ce=y(B,V,H);if(Ce.type==="normal"){if(ie=H.done?E:v,Ce.arg===$)continue;return{value:Ce.arg,done:H.done}}Ce.type==="throw"&&(ie=E,H.method="throw",H.arg=Ce.arg)}}}function ue(B,V){var H=V.method,ie=B.iterator[H];if(ie===t)return V.delegate=null,H==="throw"&&B.iterator.return&&(V.method="return",V.arg=t,ue(B,V),V.method==="throw")||H!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+H+"' method")),$;var G=y(ie,B.iterator,V.arg);if(G.type==="throw")return V.method="throw",V.arg=G.arg,V.delegate=null,$;var J=G.arg;return J?J.done?(V[B.resultName]=J.value,V.next=B.nextLoc,V.method!=="return"&&(V.method="next",V.arg=t),V.delegate=null,$):J:(V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,$)}function me(B){var V={tryLoc:B[0]};1 in B&&(V.catchLoc=B[1]),2 in B&&(V.finallyLoc=B[2],V.afterLoc=B[3]),this.tryEntries.push(V)}function te(B){var V=B.completion||{};V.type="normal",delete V.arg,B.completion=V}function be(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(me,this),this.reset(!0)}function we(B){if(B||B===""){var V=B[u];if(V)return V.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var H=-1,ie=function G(){for(;++H=0;--G){var J=this.tryEntries[G],he=J.completion;if(J.tryLoc==="root")return ie("end");if(J.tryLoc<=this.prev){var $e=r.call(J,"catchLoc"),Ce=r.call(J,"finallyLoc");if($e&&Ce){if(this.prev=0;--ie){var G=this.tryEntries[ie];if(G.tryLoc<=this.prev&&r.call(G,"finallyLoc")&&this.prev=0;--H){var ie=this.tryEntries[H];if(ie.finallyLoc===V)return this.complete(ie.completion,ie.afterLoc),te(ie),$}},catch:function(V){for(var H=this.tryEntries.length-1;H>=0;--H){var ie=this.tryEntries[H];if(ie.tryLoc===V){var G=ie.completion;if(G.type==="throw"){var J=G.arg;te(ie)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,H,ie){return this.delegate={iterator:we(V),resultName:H,nextLoc:ie},this.method==="next"&&(this.arg=t),$}},e}function p_(t,e,n,r,i,o,u){try{var l=t[o](u),d=l.value}catch(h){n(h);return}l.done?e(d):Promise.resolve(d).then(r,i)}function aH(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function u(d){p_(o,r,i,u,l,"next",d)}function l(d){p_(o,r,i,u,l,"throw",d)}u(void 0)})}}function oH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sH(t,e){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(i,o){n._xhr.onload=function(){i(new wH(n._xhr))},n._xhr.onerror=function(u){o(u)},n._xhr.send(r)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})(),wH=(function(){function t(e){bO(this,t),this._xhr=e}return wO(t,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(n){return this._xhr.getResponseHeader(n)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})();function J0(t){"@babel/helpers - typeof";return J0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J0(t)}function SH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CH(t,e){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _H(this,e),r=xg(xg({},y_),r),PH(this,e,[n,r])}return MH(e,t),RH(e,null,[{key:"terminate",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return i=xg(xg({},y_),i),Mw.terminate(r,i)}}])})(Mw);const yn=Ae.createContext({setSession(t){},options:{}});class LH{async setItem(e,n){return localStorage.setItem(e,n)}async getItem(e){return localStorage.getItem(e)}async removeItem(e){return localStorage.removeItem(e)}}async function UH(t,e,n){n.setItem("fb_microservice_"+t,JSON.stringify(e))}function jH(t,e,n){n.setItem("fb_selected_workspace_"+t,JSON.stringify(e))}async function BH(t,e){let n=null;try{n=JSON.parse(await e.getItem("fb_microservice_"+t))}catch{}return n}async function qH(t,e){let n=null;try{n=JSON.parse(await e.getItem("fb_selected_workspace_"+t))}catch{}return n}function HH({children:t,remote:e,selectedUrw:n,identifier:r,token:i,preferredAcceptLanguage:o,queryClient:u,defaultExecFn:l,socketEnabled:d,socket:h,credentialStorage:g,prefix:y}){var V;const[w,v]=T.useState(!1),[C,E]=T.useState(),[$,O]=T.useState(""),[_,R]=T.useState(),k=T.useRef(g||new LH),P=async()=>{const H=await qH(r,k.current),ie=await BH(r,k.current);R(H),E(ie),v(!0)};T.useEffect(()=>{P()},[]);const[L,F]=T.useState([]),[q,Y]=T.useState(l),X=!!C,ue=H=>{jH(r,H,k.current),R(H)},me=H=>{E(()=>(UH(r,H,k.current),H))},te={headers:{authorization:i||(C==null?void 0:C.token)},prefix:($||e)+(y||"")};if(_)te.headers["workspace-id"]=_.workspaceId,te.headers["role-id"]=_.roleId;else if(n)te.headers["workspace-id"]=n.workspaceId,te.headers["role-id"]=n.roleId;else if(C!=null&&C.userWorkspaces&&C.userWorkspaces.length>0){const H=C.userWorkspaces[0];te.headers["workspace-id"]=H.workspaceId,te.headers["role-id"]=H.roleId}o&&(te.headers["accept-language"]=o),T.useEffect(()=>{i&&E({...C||{},token:i})},[i]);const be=()=>{var H;E(null),(H=k.current)==null||H.removeItem("fb_microservice_"+r),ue(void 0)},we=()=>{F([])},{socketState:B}=zH(e,(V=te.headers)==null?void 0:V.authorization,te.headers["workspace-id"],u,d);return N.jsx(yn.Provider,{value:{options:te,signout:be,setOverrideRemoteUrl:O,overrideRemoteUrl:$,setSession:me,socketState:B,checked:w,selectedUrw:_,selectUrw:ue,session:C,preferredAcceptLanguage:o,activeUploads:L,setActiveUploads:F,execFn:q,setExecFn:Y,discardActiveUploads:we,isAuthenticated:X},children:t})}function zH(t,e,n,r,i=!0){const[o,u]=T.useState({state:"unknown"});return T.useEffect(()=>{if(!t||!e||e==="undefined"||i===!1)return;const l=t.replace("https","wss").replace("http","ws");let d;try{d=new WebSocket(`${l}ws?token=${e}&workspaceId=${n}`),d.onerror=function(h){u({state:"error"})},d.onclose=function(h){u({state:"closed"})},d.onmessage=function(h){try{const g=JSON.parse(h.data);g!=null&&g.cacheKey&&r.invalidateQueries(g==null?void 0:g.cacheKey)}catch{console.error("Socket message parsing error",h)}},d.onopen=function(h){u({state:"connected"})}}catch{}return()=>{(d==null?void 0:d.readyState)===1&&d.close()}},[e,n]),{socketState:o}}function la(t){if(!t)return{};const e={};return t.startIndex&&(e.startIndex=t.startIndex),t.itemsPerPage&&(e.itemsPerPage=t.itemsPerPage),t.query&&(e.query=t.query),t.deep&&(e.deep=t.deep),t.jsonQuery&&(e.jsonQuery=JSON.stringify(t.jsonQuery)),t.withPreloads&&(e.withPreloads=t.withPreloads),t.uniqueId&&(e.uniqueId=t.uniqueId),t.sort&&(e.sort=t.sort),e}const dI=T.createContext(null),VH=dI.Provider;function zo(){return T.useContext(dI)}function GH({children:t,queryClient:e,prefix:n,mockServer:r,config:i,locale:o}){return N.jsx(HH,{socket:!0,preferredAcceptLanguage:o||i.interfaceLanguage,identifier:"fireback",prefix:n,queryClient:e,remote:Si.REMOTE_SERVICE,defaultExecFn:void 0,children:N.jsx(WH,{children:t,mockServer:r})})}const WH=({children:t,mockServer:e})=>{var o;const{options:n,session:r}=T.useContext(yn),i=T.useRef(new mO((o=Si.REMOTE_SERVICE)==null?void 0:o.replace(/\/$/,"")));return i.current.defaultHeaders={authorization:r==null?void 0:r.token,"workspace-id":n==null?void 0:n.headers["workspace-id"]},N.jsx(VH,{value:i.current,children:t})};/** + * @remix-run/router v1.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function X0(){return X0=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function SO(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function YH(){return Math.random().toString(36).substr(2,8)}function b_(t,e){return{usr:t.state,key:t.key,idx:e}}function UE(t,e,n,r){return n===void 0&&(n=null),X0({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Yp(e):e,{state:n,key:e&&e.key||r||YH()})}function Dw(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Yp(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function QH(t,e,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,u=i.history,l=Cf.Pop,d=null,h=g();h==null&&(h=0,u.replaceState(X0({},u.state,{idx:h}),""));function g(){return(u.state||{idx:null}).idx}function y(){l=Cf.Pop;let $=g(),O=$==null?null:$-h;h=$,d&&d({action:l,location:E.location,delta:O})}function w($,O){l=Cf.Push;let _=UE(E.location,$,O);n&&n(_,$),h=g()+1;let R=b_(_,h),k=E.createHref(_);try{u.pushState(R,"",k)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(k)}o&&d&&d({action:l,location:E.location,delta:1})}function v($,O){l=Cf.Replace;let _=UE(E.location,$,O);n&&n(_,$),h=g();let R=b_(_,h),k=E.createHref(_);u.replaceState(R,"",k),o&&d&&d({action:l,location:E.location,delta:0})}function C($){let O=i.location.origin!=="null"?i.location.origin:i.location.href,_=typeof $=="string"?$:Dw($);return _=_.replace(/ $/,"%20"),Cr(O,"No window.location.(origin|href) available to create URL for href: "+_),new URL(_,O)}let E={get action(){return l},get location(){return t(i,u)},listen($){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(v_,y),d=$,()=>{i.removeEventListener(v_,y),d=null}},createHref($){return e(i,$)},createURL:C,encodeLocation($){let O=C($);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:w,replace:v,go($){return u.go($)}};return E}var w_;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(w_||(w_={}));function JH(t,e,n){return n===void 0&&(n="/"),XH(t,e,n)}function XH(t,e,n,r){let i=typeof e=="string"?Yp(e):e,o=CO(i.pathname||"/",n);if(o==null)return null;let u=hI(t);ZH(u);let l=null;for(let d=0;l==null&&d{let d={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:u,route:o};d.relativePath.startsWith("/")&&(Cr(d.relativePath.startsWith(r),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(r.length));let h=Tf([r,d.relativePath]),g=n.concat(d);o.children&&o.children.length>0&&(Cr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),hI(o.children,e,g,h)),!(o.path==null&&!o.index)&&e.push({path:h,score:oz(h,o.index),routesMeta:g})};return t.forEach((o,u)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,u);else for(let d of pI(o.path))i(o,u,d)}),e}function pI(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let u=pI(r.join("/")),l=[];return l.push(...u.map(d=>d===""?o:[o,d].join("/"))),i&&l.push(...u),l.map(d=>t.startsWith("/")&&d===""?"/":d)}function ZH(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:sz(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ez=/^:[\w-]+$/,tz=3,nz=2,rz=1,iz=10,az=-2,S_=t=>t==="*";function oz(t,e){let n=t.split("/"),r=n.length;return n.some(S_)&&(r+=az),e&&(r+=nz),n.filter(i=>!S_(i)).reduce((i,o)=>i+(ez.test(o)?tz:o===""?rz:iz),r)}function sz(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function uz(t,e,n){let{routesMeta:r}=t,i={},o="/",u=[];for(let l=0;l{let{paramName:w,isOptional:v}=g;if(w==="*"){let E=l[y]||"";u=o.slice(0,o.length-E.length).replace(/(.)\/+$/,"$1")}const C=l[y];return v&&!C?h[w]=void 0:h[w]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:u,pattern:t}}function cz(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),SO(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,l,d)=>(r.push({paramName:l,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function fz(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return SO(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function CO(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function dz(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?Yp(t):t;return{pathname:n?n.startsWith("/")?n:hz(n,e):e,search:gz(r),hash:yz(i)}}function hz(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function bC(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function pz(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function $O(t,e){let n=pz(t);return e?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function EO(t,e,n,r){r===void 0&&(r=!1);let i;typeof t=="string"?i=Yp(t):(i=X0({},t),Cr(!i.pathname||!i.pathname.includes("?"),bC("?","pathname","search",i)),Cr(!i.pathname||!i.pathname.includes("#"),bC("#","pathname","hash",i)),Cr(!i.search||!i.search.includes("#"),bC("#","search","hash",i)));let o=t===""||i.pathname==="",u=o?"/":i.pathname,l;if(u==null)l=n;else{let y=e.length-1;if(!r&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),y-=1;i.pathname=w.join("/")}l=y>=0?e[y]:"/"}let d=dz(i,l),h=u&&u!=="/"&&u.endsWith("/"),g=(o||u===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(h||g)&&(d.pathname+="/"),d}const Tf=t=>t.join("/").replace(/\/\/+/g,"/"),mz=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),gz=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,yz=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function vz(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const mI=["post","put","patch","delete"];new Set(mI);const bz=["get",...mI];new Set(bz);/** + * React Router v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Z0(){return Z0=Object.assign?Object.assign.bind():function(t){for(var e=1;e{l.current=!0}),T.useCallback(function(h,g){if(g===void 0&&(g={}),!l.current)return;if(typeof h=="number"){r.go(h);return}let y=EO(h,JSON.parse(u),o,g.relative==="path");t==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:Tf([e,y.pathname])),(g.replace?r.replace:r.push)(y,g.state,g)},[e,r,u,o,t])}function $z(){let{matches:t}=T.useContext(Ml),e=t[t.length-1];return e?e.params:{}}function vI(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=T.useContext(kf),{matches:i}=T.useContext(Ml),{pathname:o}=kl(),u=JSON.stringify($O(i,r.v7_relativeSplatPath));return T.useMemo(()=>EO(t,JSON.parse(u),o,n==="path"),[t,u,o,n])}function Ez(t,e){return xz(t,e)}function xz(t,e,n,r){ey()||Cr(!1);let{navigator:i,static:o}=T.useContext(kf),{matches:u}=T.useContext(Ml),l=u[u.length-1],d=l?l.params:{};l&&l.pathname;let h=l?l.pathnameBase:"/";l&&l.route;let g=kl(),y;if(e){var w;let O=typeof e=="string"?Yp(e):e;h==="/"||(w=O.pathname)!=null&&w.startsWith(h)||Cr(!1),y=O}else y=g;let v=y.pathname||"/",C=v;if(h!=="/"){let O=h.replace(/^\//,"").split("/");C="/"+v.replace(/^\//,"").split("/").slice(O.length).join("/")}let E=JH(t,{pathname:C}),$=Rz(E&&E.map(O=>Object.assign({},O,{params:Object.assign({},d,O.params),pathname:Tf([h,i.encodeLocation?i.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?h:Tf([h,i.encodeLocation?i.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),u,n,r);return e&&$?T.createElement(yS.Provider,{value:{location:Z0({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Cf.Pop}},$):$}function Oz(){let t=Mz(),e=vz(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:i},n):null,null)}const Tz=T.createElement(Oz,null);class _z extends T.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?T.createElement(Ml.Provider,{value:this.props.routeContext},T.createElement(gI.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Az(t){let{routeContext:e,match:n,children:r}=t,i=T.useContext(xO);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),T.createElement(Ml.Provider,{value:e},r)}function Rz(t,e,n,r){var i;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var o;if(!n)return null;if(n.errors)t=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let u=t,l=(i=n)==null?void 0:i.errors;if(l!=null){let g=u.findIndex(y=>y.route.id&&(l==null?void 0:l[y.route.id])!==void 0);g>=0||Cr(!1),u=u.slice(0,Math.min(u.length,g+1))}let d=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let g=0;g=0?u=u.slice(0,h+1):u=[u[0]];break}}}return u.reduceRight((g,y,w)=>{let v,C=!1,E=null,$=null;n&&(v=l&&y.route.id?l[y.route.id]:void 0,E=y.route.errorElement||Tz,d&&(h<0&&w===0?(Dz("route-fallback"),C=!0,$=null):h===w&&(C=!0,$=y.route.hydrateFallbackElement||null)));let O=e.concat(u.slice(0,w+1)),_=()=>{let R;return v?R=E:C?R=$:y.route.Component?R=T.createElement(y.route.Component,null):y.route.element?R=y.route.element:R=g,T.createElement(Az,{match:y,routeContext:{outlet:g,matches:O,isDataRoute:n!=null},children:R})};return n&&(y.route.ErrorBoundary||y.route.errorElement||w===0)?T.createElement(_z,{location:n.location,revalidation:n.revalidation,component:E,error:v,children:_(),routeContext:{outlet:null,matches:O,isDataRoute:!0}}):_()},null)}var bI=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(bI||{}),wI=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(wI||{});function Pz(t){let e=T.useContext(xO);return e||Cr(!1),e}function Iz(t){let e=T.useContext(wz);return e||Cr(!1),e}function Nz(t){let e=T.useContext(Ml);return e||Cr(!1),e}function SI(t){let e=Nz(),n=e.matches[e.matches.length-1];return n.route.id||Cr(!1),n.route.id}function Mz(){var t;let e=T.useContext(gI),n=Iz(),r=SI();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function kz(){let{router:t}=Pz(bI.UseNavigateStable),e=SI(wI.UseNavigateStable),n=T.useRef(!1);return yI(()=>{n.current=!0}),T.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,Z0({fromRouteId:e},o)))},[t,e])}const C_={};function Dz(t,e,n){C_[t]||(C_[t]=!0)}function Fz(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function jE(t){let{to:e,replace:n,state:r,relative:i}=t;ey()||Cr(!1);let{future:o,static:u}=T.useContext(kf),{matches:l}=T.useContext(Ml),{pathname:d}=kl(),h=OO(),g=EO(e,$O(l,o.v7_relativeSplatPath),d,i==="path"),y=JSON.stringify(g);return T.useEffect(()=>h(JSON.parse(y),{replace:n,state:r,relative:i}),[h,y,i,n,r]),null}function mn(t){Cr(!1)}function Lz(t){let{basename:e="/",children:n=null,location:r,navigationType:i=Cf.Pop,navigator:o,static:u=!1,future:l}=t;ey()&&Cr(!1);let d=e.replace(/^\/*/,"/"),h=T.useMemo(()=>({basename:d,navigator:o,static:u,future:Z0({v7_relativeSplatPath:!1},l)}),[d,l,o,u]);typeof r=="string"&&(r=Yp(r));let{pathname:g="/",search:y="",hash:w="",state:v=null,key:C="default"}=r,E=T.useMemo(()=>{let $=CO(g,d);return $==null?null:{location:{pathname:$,search:y,hash:w,state:v,key:C},navigationType:i}},[d,g,y,w,v,C,i]);return E==null?null:T.createElement(kf.Provider,{value:h},T.createElement(yS.Provider,{children:n,value:E}))}function $_(t){let{children:e,location:n}=t;return Ez(BE(e),n)}new Promise(()=>{});function BE(t,e){e===void 0&&(e=[]);let n=[];return T.Children.forEach(t,(r,i)=>{if(!T.isValidElement(r))return;let o=[...e,i];if(r.type===T.Fragment){n.push.apply(n,BE(r.props.children,o));return}r.type!==mn&&Cr(!1),!r.props.index||!r.props.children||Cr(!1);let u={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(u.children=BE(r.props.children,o)),n.push(u)}),n}/** + * React Router DOM v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function qE(){return qE=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function jz(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Bz(t,e){return t.button===0&&(!e||e==="_self")&&!jz(t)}const qz=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Hz="6";try{window.__reactRouterVersion=Hz}catch{}const zz="startTransition",E_=wE[zz];function Vz(t){let{basename:e,children:n,future:r,window:i}=t,o=T.useRef();o.current==null&&(o.current=KH({window:i,v5Compat:!0}));let u=o.current,[l,d]=T.useState({action:u.action,location:u.location}),{v7_startTransition:h}=r||{},g=T.useCallback(y=>{h&&E_?E_(()=>d(y)):d(y)},[d,h]);return T.useLayoutEffect(()=>u.listen(g),[u,g]),T.useEffect(()=>Fz(r),[r]),T.createElement(Lz,{basename:e,children:n,location:l.location,navigationType:l.action,navigator:u,future:r})}const Gz=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wz=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,HE=T.forwardRef(function(e,n){let{onClick:r,relative:i,reloadDocument:o,replace:u,state:l,target:d,to:h,preventScrollReset:g,viewTransition:y}=e,w=Uz(e,qz),{basename:v}=T.useContext(kf),C,E=!1;if(typeof h=="string"&&Wz.test(h)&&(C=h,Gz))try{let R=new URL(window.location.href),k=h.startsWith("//")?new URL(R.protocol+h):new URL(h),P=CO(k.pathname,v);k.origin===R.origin&&P!=null?h=P+k.search+k.hash:E=!0}catch{}let $=Sz(h,{relative:i}),O=Kz(h,{replace:u,state:l,target:d,preventScrollReset:g,relative:i,viewTransition:y});function _(R){r&&r(R),R.defaultPrevented||O(R)}return T.createElement("a",qE({},w,{href:C||$,onClick:E||o?r:_,ref:n,target:d}))});var x_;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(x_||(x_={}));var O_;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(O_||(O_={}));function Kz(t,e){let{target:n,replace:r,state:i,preventScrollReset:o,relative:u,viewTransition:l}=e===void 0?{}:e,d=OO(),h=kl(),g=vI(t,{relative:u});return T.useCallback(y=>{if(Bz(y,n)){y.preventDefault();let w=r!==void 0?r:Dw(h)===Dw(g);d(t,{replace:w,state:i,preventScrollReset:o,relative:u,viewTransition:l})}},[h,d,g,r,i,n,t,o,u,l])}function zE(t,e){const n={};for(const[r,i]of Object.entries(e))typeof i=="string"?n[r]=`${t}.${i}`:typeof i=="object"&&i!==null&&(n[r]=i);return n}var xr,Lc,Uc,jc,Bc,qc,Hc,zc,Vc,Gc,Wc,Kc,Yc,Qc,Jc,Xc,Zc,ef,tf,L2,U2,nf,rf,af,bu,j2,of,sf,uf,lf,cf,ff,df,hf,B2;function Re(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var Yz=0;function kt(t){return"__private_"+Yz+++"_"+t}var eh=kt("apiVersion"),th=kt("context"),nh=kt("id"),rh=kt("method"),ih=kt("params"),il=kt("data"),al=kt("error"),wC=kt("isJsonAppliable"),a0=kt("lateInitFields");class oa{get apiVersion(){return Re(this,eh)[eh]}set apiVersion(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,eh)[eh]=n?e:String(e)}setApiVersion(e){return this.apiVersion=e,this}get context(){return Re(this,th)[th]}set context(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,th)[th]=n?e:String(e)}setContext(e){return this.context=e,this}get id(){return Re(this,nh)[nh]}set id(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,nh)[nh]=n?e:String(e)}setId(e){return this.id=e,this}get method(){return Re(this,rh)[rh]}set method(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,rh)[rh]=n?e:String(e)}setMethod(e){return this.method=e,this}get params(){return Re(this,ih)[ih]}set params(e){Re(this,ih)[ih]=e}setParams(e){return this.params=e,this}get data(){return Re(this,il)[il]}set data(e){e instanceof oa.Data?Re(this,il)[il]=e:Re(this,il)[il]=new oa.Data(e)}setData(e){return this.data=e,this}get error(){return Re(this,al)[al]}set error(e){e instanceof oa.Error?Re(this,al)[al]=e:Re(this,al)[al]=new oa.Error(e)}setError(e){return this.error=e,this}constructor(e=void 0){if(Object.defineProperty(this,a0,{value:Jz}),Object.defineProperty(this,wC,{value:Qz}),Object.defineProperty(this,eh,{writable:!0,value:void 0}),Object.defineProperty(this,th,{writable:!0,value:void 0}),Object.defineProperty(this,nh,{writable:!0,value:void 0}),Object.defineProperty(this,rh,{writable:!0,value:void 0}),Object.defineProperty(this,ih,{writable:!0,value:null}),Object.defineProperty(this,il,{writable:!0,value:void 0}),Object.defineProperty(this,al,{writable:!0,value:void 0}),e==null){Re(this,a0)[a0]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,wC)[wC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.apiVersion!==void 0&&(this.apiVersion=n.apiVersion),n.context!==void 0&&(this.context=n.context),n.id!==void 0&&(this.id=n.id),n.method!==void 0&&(this.method=n.method),n.params!==void 0&&(this.params=n.params),n.data!==void 0&&(this.data=n.data),n.error!==void 0&&(this.error=n.error),Re(this,a0)[a0](e)}toJSON(){return{apiVersion:Re(this,eh)[eh],context:Re(this,th)[th],id:Re(this,nh)[nh],method:Re(this,rh)[rh],params:Re(this,ih)[ih],data:Re(this,il)[il],error:Re(this,al)[al]}}toString(){return JSON.stringify(this)}static get Fields(){return{apiVersion:"apiVersion",context:"context",id:"id",method:"method",params:"params",data$:"data",get data(){return zE("data",oa.Data.Fields)},error$:"error",get error(){return zE("error",oa.Error.Fields)}}}static from(e){return new oa(e)}static with(e){return new oa(e)}copyWith(e){return new oa({...this.toJSON(),...e})}clone(){return new oa(this.toJSON())}}xr=oa;function Qz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function Jz(t={}){const e=t;e.data instanceof xr.Data||(this.data=new xr.Data(e.data||{})),e.error instanceof xr.Error||(this.error=new xr.Error(e.error||{}))}oa.Data=(Lc=kt("item"),Uc=kt("items"),jc=kt("editLink"),Bc=kt("selfLink"),qc=kt("kind"),Hc=kt("fields"),zc=kt("etag"),Vc=kt("cursor"),Gc=kt("id"),Wc=kt("lang"),Kc=kt("updated"),Yc=kt("currentItemCount"),Qc=kt("itemsPerPage"),Jc=kt("startIndex"),Xc=kt("totalItems"),Zc=kt("totalAvailableItems"),ef=kt("pageIndex"),tf=kt("totalPages"),L2=kt("isJsonAppliable"),class{get item(){return Re(this,Lc)[Lc]}set item(e){Re(this,Lc)[Lc]=e}setItem(e){return this.item=e,this}get items(){return Re(this,Uc)[Uc]}set items(e){Re(this,Uc)[Uc]=e}setItems(e){return this.items=e,this}get editLink(){return Re(this,jc)[jc]}set editLink(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,jc)[jc]=n?e:String(e)}setEditLink(e){return this.editLink=e,this}get selfLink(){return Re(this,Bc)[Bc]}set selfLink(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Bc)[Bc]=n?e:String(e)}setSelfLink(e){return this.selfLink=e,this}get kind(){return Re(this,qc)[qc]}set kind(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,qc)[qc]=n?e:String(e)}setKind(e){return this.kind=e,this}get fields(){return Re(this,Hc)[Hc]}set fields(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Hc)[Hc]=n?e:String(e)}setFields(e){return this.fields=e,this}get etag(){return Re(this,zc)[zc]}set etag(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,zc)[zc]=n?e:String(e)}setEtag(e){return this.etag=e,this}get cursor(){return Re(this,Vc)[Vc]}set cursor(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Vc)[Vc]=n?e:String(e)}setCursor(e){return this.cursor=e,this}get id(){return Re(this,Gc)[Gc]}set id(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Gc)[Gc]=n?e:String(e)}setId(e){return this.id=e,this}get lang(){return Re(this,Wc)[Wc]}set lang(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Wc)[Wc]=n?e:String(e)}setLang(e){return this.lang=e,this}get updated(){return Re(this,Kc)[Kc]}set updated(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Kc)[Kc]=n?e:String(e)}setUpdated(e){return this.updated=e,this}get currentItemCount(){return Re(this,Yc)[Yc]}set currentItemCount(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Yc)[Yc]=r)}setCurrentItemCount(e){return this.currentItemCount=e,this}get itemsPerPage(){return Re(this,Qc)[Qc]}set itemsPerPage(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Qc)[Qc]=r)}setItemsPerPage(e){return this.itemsPerPage=e,this}get startIndex(){return Re(this,Jc)[Jc]}set startIndex(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Jc)[Jc]=r)}setStartIndex(e){return this.startIndex=e,this}get totalItems(){return Re(this,Xc)[Xc]}set totalItems(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Xc)[Xc]=r)}setTotalItems(e){return this.totalItems=e,this}get totalAvailableItems(){return Re(this,Zc)[Zc]}set totalAvailableItems(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Zc)[Zc]=r)}setTotalAvailableItems(e){return this.totalAvailableItems=e,this}get pageIndex(){return Re(this,ef)[ef]}set pageIndex(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,ef)[ef]=r)}setPageIndex(e){return this.pageIndex=e,this}get totalPages(){return Re(this,tf)[tf]}set totalPages(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,tf)[tf]=r)}setTotalPages(e){return this.totalPages=e,this}constructor(e=void 0){if(Object.defineProperty(this,L2,{value:Xz}),Object.defineProperty(this,Lc,{writable:!0,value:null}),Object.defineProperty(this,Uc,{writable:!0,value:null}),Object.defineProperty(this,jc,{writable:!0,value:void 0}),Object.defineProperty(this,Bc,{writable:!0,value:void 0}),Object.defineProperty(this,qc,{writable:!0,value:void 0}),Object.defineProperty(this,Hc,{writable:!0,value:void 0}),Object.defineProperty(this,zc,{writable:!0,value:void 0}),Object.defineProperty(this,Vc,{writable:!0,value:void 0}),Object.defineProperty(this,Gc,{writable:!0,value:void 0}),Object.defineProperty(this,Wc,{writable:!0,value:void 0}),Object.defineProperty(this,Kc,{writable:!0,value:void 0}),Object.defineProperty(this,Yc,{writable:!0,value:void 0}),Object.defineProperty(this,Qc,{writable:!0,value:void 0}),Object.defineProperty(this,Jc,{writable:!0,value:void 0}),Object.defineProperty(this,Xc,{writable:!0,value:void 0}),Object.defineProperty(this,Zc,{writable:!0,value:void 0}),Object.defineProperty(this,ef,{writable:!0,value:void 0}),Object.defineProperty(this,tf,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,L2)[L2](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.item!==void 0&&(this.item=n.item),n.items!==void 0&&(this.items=n.items),n.editLink!==void 0&&(this.editLink=n.editLink),n.selfLink!==void 0&&(this.selfLink=n.selfLink),n.kind!==void 0&&(this.kind=n.kind),n.fields!==void 0&&(this.fields=n.fields),n.etag!==void 0&&(this.etag=n.etag),n.cursor!==void 0&&(this.cursor=n.cursor),n.id!==void 0&&(this.id=n.id),n.lang!==void 0&&(this.lang=n.lang),n.updated!==void 0&&(this.updated=n.updated),n.currentItemCount!==void 0&&(this.currentItemCount=n.currentItemCount),n.itemsPerPage!==void 0&&(this.itemsPerPage=n.itemsPerPage),n.startIndex!==void 0&&(this.startIndex=n.startIndex),n.totalItems!==void 0&&(this.totalItems=n.totalItems),n.totalAvailableItems!==void 0&&(this.totalAvailableItems=n.totalAvailableItems),n.pageIndex!==void 0&&(this.pageIndex=n.pageIndex),n.totalPages!==void 0&&(this.totalPages=n.totalPages)}toJSON(){return{item:Re(this,Lc)[Lc],items:Re(this,Uc)[Uc],editLink:Re(this,jc)[jc],selfLink:Re(this,Bc)[Bc],kind:Re(this,qc)[qc],fields:Re(this,Hc)[Hc],etag:Re(this,zc)[zc],cursor:Re(this,Vc)[Vc],id:Re(this,Gc)[Gc],lang:Re(this,Wc)[Wc],updated:Re(this,Kc)[Kc],currentItemCount:Re(this,Yc)[Yc],itemsPerPage:Re(this,Qc)[Qc],startIndex:Re(this,Jc)[Jc],totalItems:Re(this,Xc)[Xc],totalAvailableItems:Re(this,Zc)[Zc],pageIndex:Re(this,ef)[ef],totalPages:Re(this,tf)[tf]}}toString(){return JSON.stringify(this)}static get Fields(){return{item:"item",items:"items",editLink:"editLink",selfLink:"selfLink",kind:"kind",fields:"fields",etag:"etag",cursor:"cursor",id:"id",lang:"lang",updated:"updated",currentItemCount:"currentItemCount",itemsPerPage:"itemsPerPage",startIndex:"startIndex",totalItems:"totalItems",totalAvailableItems:"totalAvailableItems",pageIndex:"pageIndex",totalPages:"totalPages"}}static from(e){return new xr.Data(e)}static with(e){return new xr.Data(e)}copyWith(e){return new xr.Data({...this.toJSON(),...e})}clone(){return new xr.Data(this.toJSON())}});function Xz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}oa.Error=(nf=kt("code"),rf=kt("message"),af=kt("messageTranslated"),bu=kt("errors"),j2=kt("isJsonAppliable"),U2=class CI{get code(){return Re(this,nf)[nf]}set code(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Re(this,nf)[nf]=r)}setCode(e){return this.code=e,this}get message(){return Re(this,rf)[rf]}set message(e){Re(this,rf)[rf]=String(e)}setMessage(e){return this.message=e,this}get messageTranslated(){return Re(this,af)[af]}set messageTranslated(e){Re(this,af)[af]=String(e)}setMessageTranslated(e){return this.messageTranslated=e,this}get errors(){return Re(this,bu)[bu]}set errors(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof xr.Error.Errors?Re(this,bu)[bu]=e:Re(this,bu)[bu]=e.map(n=>new xr.Error.Errors(n)))}setErrors(e){return this.errors=e,this}constructor(e=void 0){if(Object.defineProperty(this,j2,{value:eV}),Object.defineProperty(this,nf,{writable:!0,value:0}),Object.defineProperty(this,rf,{writable:!0,value:""}),Object.defineProperty(this,af,{writable:!0,value:""}),Object.defineProperty(this,bu,{writable:!0,value:[]}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,j2)[j2](e))this.applyFromObject(e);else throw new CI("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.code!==void 0&&(this.code=n.code),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.errors!==void 0&&(this.errors=n.errors)}toJSON(){return{code:Re(this,nf)[nf],message:Re(this,rf)[rf],messageTranslated:Re(this,af)[af],errors:Re(this,bu)[bu]}}toString(){return JSON.stringify(this)}static get Fields(){return{code:"code",message:"message",messageTranslated:"messageTranslated",errors$:"errors",get errors(){return zE("error.errors[:i]",xr.Error.Errors.Fields)}}}static from(e){return new xr.Error(e)}static with(e){return new xr.Error(e)}copyWith(e){return new xr.Error({...this.toJSON(),...e})}clone(){return new xr.Error(this.toJSON())}},U2.Errors=(of=kt("domain"),sf=kt("reason"),uf=kt("message"),lf=kt("messageTranslated"),cf=kt("location"),ff=kt("locationType"),df=kt("extendedHelp"),hf=kt("sendReport"),B2=kt("isJsonAppliable"),class{get domain(){return Re(this,of)[of]}set domain(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,of)[of]=n?e:String(e)}setDomain(e){return this.domain=e,this}get reason(){return Re(this,sf)[sf]}set reason(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,sf)[sf]=n?e:String(e)}setReason(e){return this.reason=e,this}get message(){return Re(this,uf)[uf]}set message(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,uf)[uf]=n?e:String(e)}setMessage(e){return this.message=e,this}get messageTranslated(){return Re(this,lf)[lf]}set messageTranslated(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,lf)[lf]=n?e:String(e)}setMessageTranslated(e){return this.messageTranslated=e,this}get location(){return Re(this,cf)[cf]}set location(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,cf)[cf]=n?e:String(e)}setLocation(e){return this.location=e,this}get locationType(){return Re(this,ff)[ff]}set locationType(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,ff)[ff]=n?e:String(e)}setLocationType(e){return this.locationType=e,this}get extendedHelp(){return Re(this,df)[df]}set extendedHelp(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,df)[df]=n?e:String(e)}setExtendedHelp(e){return this.extendedHelp=e,this}get sendReport(){return Re(this,hf)[hf]}set sendReport(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,hf)[hf]=n?e:String(e)}setSendReport(e){return this.sendReport=e,this}constructor(e=void 0){if(Object.defineProperty(this,B2,{value:Zz}),Object.defineProperty(this,of,{writable:!0,value:void 0}),Object.defineProperty(this,sf,{writable:!0,value:void 0}),Object.defineProperty(this,uf,{writable:!0,value:void 0}),Object.defineProperty(this,lf,{writable:!0,value:void 0}),Object.defineProperty(this,cf,{writable:!0,value:void 0}),Object.defineProperty(this,ff,{writable:!0,value:void 0}),Object.defineProperty(this,df,{writable:!0,value:void 0}),Object.defineProperty(this,hf,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,B2)[B2](e))this.applyFromObject(e);else throw new U2("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.domain!==void 0&&(this.domain=n.domain),n.reason!==void 0&&(this.reason=n.reason),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.location!==void 0&&(this.location=n.location),n.locationType!==void 0&&(this.locationType=n.locationType),n.extendedHelp!==void 0&&(this.extendedHelp=n.extendedHelp),n.sendReport!==void 0&&(this.sendReport=n.sendReport)}toJSON(){return{domain:Re(this,of)[of],reason:Re(this,sf)[sf],message:Re(this,uf)[uf],messageTranslated:Re(this,lf)[lf],location:Re(this,cf)[cf],locationType:Re(this,ff)[ff],extendedHelp:Re(this,df)[df],sendReport:Re(this,hf)[hf]}}toString(){return JSON.stringify(this)}static get Fields(){return{domain:"domain",reason:"reason",message:"message",messageTranslated:"messageTranslated",location:"location",locationType:"locationType",extendedHelp:"extendedHelp",sendReport:"sendReport"}}static from(e){return new xr.Error.Errors(e)}static with(e){return new xr.Error.Errors(e)}copyWith(e){return new xr.Error.Errors({...this.toJSON(),...e})}clone(){return new xr.Error.Errors(this.toJSON())}}),U2);function Zz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function eV(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}class no extends oa{constructor(e){super(e),this.creator=void 0}setCreator(e){return this.creator=e,this}inject(e){var n,r,i,o,u,l,d,h;return this.applyFromObject(e),e!=null&&e.data&&(this.data||this.setData({}),Array.isArray(e==null?void 0:e.data.items)&&typeof this.creator<"u"&&this.creator!==null?(i=this.data)==null||i.setItems((r=(n=e==null?void 0:e.data)==null?void 0:n.items)==null?void 0:r.map(g=>{var y;return(y=this.creator)==null?void 0:y.call(this,g)})):typeof((o=e==null?void 0:e.data)==null?void 0:o.item)=="object"&&typeof this.creator<"u"&&this.creator!==null?(l=this.data)==null||l.setItem(this.creator((u=e==null?void 0:e.data)==null?void 0:u.item)):(h=this.data)==null||h.setItem((d=e==null?void 0:e.data)==null?void 0:d.item)),this}}function Vo(t,e,n){if(n&&n instanceof URLSearchParams)t+=`?${n.toString()}`;else if(n&&Object.keys(n).length){const r=new URLSearchParams(Object.entries(n).map(([i,o])=>[i,String(o)])).toString();t+=`?${r}`}return t}var e1;function Vn(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var tV=0;function Dl(t){return"__private_"+tV+++"_"+t}const $I=t=>{const e=zo(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=T.useState(!1),[o,u]=T.useState(),l=()=>(i(!1),Cl.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Bo({queryKey:[Cl.NewUrl(t==null?void 0:t.qs)],queryFn:l,...t||{}}),isCompleted:r,response:o}};class Cl{}e1=Cl;Cl.URL="/passports/available-methods";Cl.NewUrl=t=>Vo(e1.URL,void 0,t);Cl.Method="get";Cl.Fetch$=async(t,e,n,r)=>qo(r??e1.NewUrl(t),{method:e1.Method,...n||{}},e);Cl.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new $f(u)})=>{e=e||(l=>new $f(l));const u=await e1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Cl.Definition={name:"CheckPassportMethods",cliName:"check-passport-methods",url:"/passports/available-methods",method:"get",description:"Publicly available information to create the authentication form, and show users how they can signin or signup to the system. Based on the PassportMethod entities, it will compute the available methods for the user, considering their region (IP for example)",out:{envelope:"GResponse",fields:[{name:"email",type:"bool",default:!1},{name:"phone",type:"bool",default:!1},{name:"google",type:"bool",default:!1},{name:"facebook",type:"bool",default:!1},{name:"googleOAuthClientKey",type:"string"},{name:"facebookAppId",type:"string"},{name:"enabledRecaptcha2",type:"bool",default:!1},{name:"recaptcha2ClientKey",type:"string"}]}};var ah=Dl("email"),oh=Dl("phone"),sh=Dl("google"),uh=Dl("facebook"),lh=Dl("googleOAuthClientKey"),ch=Dl("facebookAppId"),fh=Dl("enabledRecaptcha2"),dh=Dl("recaptcha2ClientKey"),SC=Dl("isJsonAppliable");class $f{get email(){return Vn(this,ah)[ah]}set email(e){Vn(this,ah)[ah]=!!e}setEmail(e){return this.email=e,this}get phone(){return Vn(this,oh)[oh]}set phone(e){Vn(this,oh)[oh]=!!e}setPhone(e){return this.phone=e,this}get google(){return Vn(this,sh)[sh]}set google(e){Vn(this,sh)[sh]=!!e}setGoogle(e){return this.google=e,this}get facebook(){return Vn(this,uh)[uh]}set facebook(e){Vn(this,uh)[uh]=!!e}setFacebook(e){return this.facebook=e,this}get googleOAuthClientKey(){return Vn(this,lh)[lh]}set googleOAuthClientKey(e){Vn(this,lh)[lh]=String(e)}setGoogleOAuthClientKey(e){return this.googleOAuthClientKey=e,this}get facebookAppId(){return Vn(this,ch)[ch]}set facebookAppId(e){Vn(this,ch)[ch]=String(e)}setFacebookAppId(e){return this.facebookAppId=e,this}get enabledRecaptcha2(){return Vn(this,fh)[fh]}set enabledRecaptcha2(e){Vn(this,fh)[fh]=!!e}setEnabledRecaptcha2(e){return this.enabledRecaptcha2=e,this}get recaptcha2ClientKey(){return Vn(this,dh)[dh]}set recaptcha2ClientKey(e){Vn(this,dh)[dh]=String(e)}setRecaptcha2ClientKey(e){return this.recaptcha2ClientKey=e,this}constructor(e=void 0){if(Object.defineProperty(this,SC,{value:nV}),Object.defineProperty(this,ah,{writable:!0,value:!1}),Object.defineProperty(this,oh,{writable:!0,value:!1}),Object.defineProperty(this,sh,{writable:!0,value:!1}),Object.defineProperty(this,uh,{writable:!0,value:!1}),Object.defineProperty(this,lh,{writable:!0,value:""}),Object.defineProperty(this,ch,{writable:!0,value:""}),Object.defineProperty(this,fh,{writable:!0,value:!1}),Object.defineProperty(this,dh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Vn(this,SC)[SC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.email!==void 0&&(this.email=n.email),n.phone!==void 0&&(this.phone=n.phone),n.google!==void 0&&(this.google=n.google),n.facebook!==void 0&&(this.facebook=n.facebook),n.googleOAuthClientKey!==void 0&&(this.googleOAuthClientKey=n.googleOAuthClientKey),n.facebookAppId!==void 0&&(this.facebookAppId=n.facebookAppId),n.enabledRecaptcha2!==void 0&&(this.enabledRecaptcha2=n.enabledRecaptcha2),n.recaptcha2ClientKey!==void 0&&(this.recaptcha2ClientKey=n.recaptcha2ClientKey)}toJSON(){return{email:Vn(this,ah)[ah],phone:Vn(this,oh)[oh],google:Vn(this,sh)[sh],facebook:Vn(this,uh)[uh],googleOAuthClientKey:Vn(this,lh)[lh],facebookAppId:Vn(this,ch)[ch],enabledRecaptcha2:Vn(this,fh)[fh],recaptcha2ClientKey:Vn(this,dh)[dh]}}toString(){return JSON.stringify(this)}static get Fields(){return{email:"email",phone:"phone",google:"google",facebook:"facebook",googleOAuthClientKey:"googleOAuthClientKey",facebookAppId:"facebookAppId",enabledRecaptcha2:"enabledRecaptcha2",recaptcha2ClientKey:"recaptcha2ClientKey"}}static from(e){return new $f(e)}static with(e){return new $f(e)}copyWith(e){return new $f({...this.toJSON(),...e})}clone(){return new $f(this.toJSON())}}function nV(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}class Vt{constructor(...e){this.visibility=null,this.parentId=null,this.linkerId=null,this.workspaceId=null,this.linkedId=null,this.uniqueId=null,this.userId=null,this.updated=null,this.created=null,this.createdFormatted=null,this.updatedFormatted=null}}Vt.Fields={visibility:"visibility",parentId:"parentId",linkerId:"linkerId",workspaceId:"workspaceId",linkedId:"linkedId",uniqueId:"uniqueId",userId:"userId",updated:"updated",created:"created",updatedFormatted:"updatedFormatted",createdFormatted:"createdFormatted"};class jp extends Vt{constructor(...e){super(...e),this.children=void 0,this.firstName=void 0,this.lastName=void 0,this.photo=void 0,this.gender=void 0,this.title=void 0,this.birthDate=void 0,this.avatar=void 0,this.lastIpAddress=void 0,this.primaryAddress=void 0}}jp.Navigation={edit(t,e){return`${e?"/"+e:".."}/user/edit/${t}`},create(t){return`${t?"/"+t:".."}/user/new`},single(t,e){return`${e?"/"+e:".."}/user/${t}`},query(t={},e){return`${e?"/"+e:".."}/users`},Redit:"user/edit/:uniqueId",Rcreate:"user/new",Rsingle:"user/:uniqueId",Rquery:"users",rPrimaryAddressCreate:"user/:linkerId/primary_address/new",rPrimaryAddressEdit:"user/:linkerId/primary_address/edit/:uniqueId",editPrimaryAddress(t,e,n){return`${n?"/"+n:""}/user/${t}/primary_address/edit/${e}`},createPrimaryAddress(t,e){return`${e?"/"+e:""}/user/${t}/primary_address/new`}};jp.definition={events:[{name:"Googoli2",description:"Googlievent",payload:{fields:[{name:"entity",type:"string",computedType:"string",gormMap:{}}]}}],rpc:{query:{qs:[{name:"withImages",type:"bool?",gormMap:{}}]}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"user",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"firstName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"lastName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"photo",type:"string",computedType:"string",gormMap:{}},{name:"gender",type:"int?",computedType:"number",gormMap:{}},{name:"title",type:"string",computedType:"string",gormMap:{}},{name:"birthDate",type:"date",computedType:"Date",gormMap:{}},{name:"avatar",type:"string",computedType:"string",gormMap:{}},{name:"lastIpAddress",description:"User last connecting ip address",type:"string",computedType:"string",gormMap:{}},{name:"primaryAddress",description:"User primary address location. Can be useful for simple projects that a user is associated with a single address.",type:"object",computedType:"UserPrimaryAddress",gormMap:{},"-":"UserPrimaryAddress",fields:[{name:"addressLine1",description:"Street address, building number",type:"string",computedType:"string",gormMap:{}},{name:"addressLine2",description:"Apartment, suite, floor (optional)",type:"string?",computedType:"string",gormMap:{}},{name:"city",description:"City or locality",type:"string?",computedType:"string",gormMap:{}},{name:"stateOrProvince",description:"State, region, or province",type:"string?",computedType:"string",gormMap:{}},{name:"postalCode",description:"ZIP or postal code",type:"string?",computedType:"string",gormMap:{}},{name:"countryCode",description:'ISO 3166-1 alpha-2 (e.g., \\"US\\", \\"DE\\")',type:"string?",computedType:"string",gormMap:{}}],linkedTo:"UserEntity"}],description:"Manage the users who are in the current app (root only)"};jp.Fields={...Vt.Fields,firstName:"firstName",lastName:"lastName",photo:"photo",gender:"gender",title:"title",birthDate:"birthDate",avatar:"avatar",lastIpAddress:"lastIpAddress",primaryAddress$:"primaryAddress",primaryAddress:{...Vt.Fields,addressLine1:"primaryAddress.addressLine1",addressLine2:"primaryAddress.addressLine2",city:"primaryAddress.city",stateOrProvince:"primaryAddress.stateOrProvince",postalCode:"primaryAddress.postalCode",countryCode:"primaryAddress.countryCode"}};class t1 extends Vt{constructor(...e){super(...e),this.children=void 0,this.thirdPartyVerifier=void 0,this.type=void 0,this.user=void 0,this.value=void 0,this.totpSecret=void 0,this.totpConfirmed=void 0,this.password=void 0,this.confirmed=void 0,this.accessToken=void 0}}t1.Navigation={edit(t,e){return`${e?"/"+e:".."}/passport/edit/${t}`},create(t){return`${t?"/"+t:".."}/passport/new`},single(t,e){return`${e?"/"+e:".."}/passport/${t}`},query(t={},e){return`${e?"/"+e:".."}/passports`},Redit:"passport/edit/:uniqueId",Rcreate:"passport/new",Rsingle:"passport/:uniqueId",Rquery:"passports"};t1.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"passport",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"thirdPartyVerifier",description:"When user creates account via oauth services such as google, it's essential to set the provider and do not allow passwordless logins if it's not via that specific provider.",type:"string",default:!1,computedType:"string",gormMap:{}},{name:"type",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"user",type:"one",target:"UserEntity",computedType:"UserEntity",gormMap:{}},{name:"value",type:"string",validate:"required",computedType:"string",gorm:"unique",gormMap:{}},{name:"totpSecret",description:"Store the secret of 2FA using time based dual factor authentication here for this specific passport. If set, during authorization will be asked.",type:"string",computedType:"string",gormMap:{}},{name:"totpConfirmed",description:"Regardless of the secret, user needs to confirm his secret. There is an extra action to confirm user totp, could be used after signup or prior to login.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"password",type:"string",json:"-",yaml:"-",computedType:"string",gormMap:{}},{name:"confirmed",type:"bool?",computedType:"boolean",gormMap:{}},{name:"accessToken",type:"string",computedType:"string",gormMap:{}}],description:"Represent a mean to login in into the system, each user could have multiple passport (email, phone) and authenticate into the system."};t1.Fields={...Vt.Fields,thirdPartyVerifier:"thirdPartyVerifier",type:"type",user$:"user",user:jp.Fields,value:"value",totpSecret:"totpSecret",totpConfirmed:"totpConfirmed",password:"password",confirmed:"confirmed",accessToken:"accessToken"};class P1 extends Vt{constructor(...e){super(...e),this.children=void 0,this.name=void 0,this.description=void 0}}P1.Navigation={edit(t,e){return`${e?"/"+e:".."}/capability/edit/${t}`},create(t){return`${t?"/"+t:".."}/capability/new`},single(t,e){return`${e?"/"+e:".."}/capability/${t}`},query(t={},e){return`${e?"/"+e:".."}/capabilities`},Redit:"capability/edit/:uniqueId",Rcreate:"capability/new",Rsingle:"capability/:uniqueId",Rquery:"capabilities"};P1.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"capability",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"name",type:"string",computedType:"string",gormMap:{}},{name:"description",type:"string",translate:!0,computedType:"string",gormMap:{}}],cliShort:"cap",description:"Manage the capabilities inside the application, both builtin to core and custom defined ones"};P1.Fields={...Vt.Fields,name:"name",description:"description"};class kr extends Vt{constructor(...e){super(...e),this.children=void 0,this.name=void 0,this.capabilities=void 0,this.capabilitiesListId=void 0}}kr.Navigation={edit(t,e){return`${e?"/"+e:".."}/role/edit/${t}`},create(t){return`${t?"/"+t:".."}/role/new`},single(t,e){return`${e?"/"+e:".."}/role/${t}`},query(t={},e){return`${e?"/"+e:".."}/roles`},Redit:"role/edit/:uniqueId",Rcreate:"role/new",Rsingle:"role/:uniqueId",Rquery:"roles"};kr.definition={rpc:{query:{}},name:"role",features:{},messages:{roleNeedsOneCapability:{en:"Role atleast needs one capability to be selected."}},gormMap:{},fields:[{name:"name",type:"string",validate:"required,omitempty,min=1,max=200",computedType:"string",gormMap:{}},{name:"capabilities",type:"collection",target:"CapabilityEntity",module:"fireback",computedType:"CapabilityEntity[]",gormMap:{}}],description:"Manage roles within the workspaces, or root configuration"};kr.Fields={...Vt.Fields,name:"name",capabilitiesListId:"capabilitiesListId",capabilities$:"capabilities",capabilities:P1.Fields};class vS extends Vt{constructor(...e){super(...e),this.children=void 0,this.title=void 0,this.description=void 0,this.slug=void 0,this.role=void 0,this.roleId=void 0}}vS.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace-type/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace-type/new`},single(t,e){return`${e?"/"+e:".."}/workspace-type/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspace-types`},Redit:"workspace-type/edit/:uniqueId",Rcreate:"workspace-type/new",Rsingle:"workspace-type/:uniqueId",Rquery:"workspace-types"};vS.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspaceType",features:{mock:!1,msync:!1},security:{writeOnRoot:!0,readOnRoot:!0},messages:{cannotCreateWorkspaceType:{en:"You cannot create workspace type due to some validation errors."},cannotModifyWorkspaceType:{en:"You cannot modify workspace type due to some validation errors."},onlyRootRoleIsAccepted:{en:"You can only select a role which is created or belong to 'root' workspace."},roleIsNecessary:{en:"Role needs to be defined and exist."},roleIsNotAccessible:{en:"Role is not accessible unfortunately. Make sure you the role chose exists."},roleNeedsToHaveCapabilities:{en:"Role needs to have at least one capability before could be assigned."}},gormMap:{},fields:[{name:"title",type:"string",validate:"required,omitempty,min=1,max=250",translate:!0,computedType:"string",gormMap:{}},{name:"description",type:"string",translate:!0,computedType:"string",gormMap:{}},{name:"slug",type:"string",validate:"required,omitempty,min=2,max=50",computedType:"string",gormMap:{}},{name:"role",description:"The role which will be used to define the functionality of this workspace, Role needs to be created before hand, and only roles which belong to root workspace are possible to be selected",type:"one",target:"RoleEntity",validate:"required",computedType:"RoleEntity",gormMap:{}}],cliName:"type",description:"Defines a type for workspace, and the role which it can have as a whole. In systems with multiple types of services, e.g. student, teachers, schools this is useful to set those default types and limit the access of the users."};vS.Fields={...Vt.Fields,title:"title",description:"description",slug:"slug",roleId:"roleId",role$:"role",role:kr.Fields};class ty extends Vt{constructor(...e){super(...e),this.children=void 0,this.description=void 0,this.name=void 0,this.type=void 0,this.typeId=void 0}}ty.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace/new`},single(t,e){return`${e?"/"+e:".."}/workspace/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspaces`},Redit:"workspace/edit/:uniqueId",Rcreate:"workspace/new",Rsingle:"workspace/:uniqueId",Rquery:"workspaces"};ty.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0},gormMap:{},fields:[{name:"description",type:"string",computedType:"string",gormMap:{}},{name:"name",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"type",type:"one",target:"WorkspaceTypeEntity",validate:"required",computedType:"WorkspaceTypeEntity",gormMap:{}}],cliName:"ws",description:"Fireback general user role, workspaces services.",cte:!0};ty.Fields={...Vt.Fields,description:"description",name:"name",typeId:"typeId",type$:"type",type:vS.Fields};class Fg extends Vt{constructor(...e){super(...e),this.children=void 0,this.user=void 0,this.workspace=void 0,this.userPermissions=void 0,this.rolePermission=void 0,this.workspacePermissions=void 0}}Fg.Navigation={edit(t,e){return`${e?"/"+e:".."}/user-workspace/edit/${t}`},create(t){return`${t?"/"+t:".."}/user-workspace/new`},single(t,e){return`${e?"/"+e:".."}/user-workspace/${t}`},query(t={},e){return`${e?"/"+e:".."}/user-workspaces`},Redit:"user-workspace/edit/:uniqueId",Rcreate:"user-workspace/new",Rsingle:"user-workspace/:uniqueId",Rquery:"user-workspaces"};Fg.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"userWorkspace",features:{},security:{resolveStrategy:"user"},gormMap:{workspaceId:"index:userworkspace_idx,unique",userId:"index:userworkspace_idx,unique"},fields:[{name:"user",type:"one",target:"UserEntity",computedType:"UserEntity",gormMap:{}},{name:"workspace",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}},{name:"userPermissions",type:"slice",primitive:"string",computedType:"string[]",gorm:"-",gormMap:{},sql:"-"},{name:"rolePermission",type:"slice",primitive:"UserRoleWorkspaceDto",computedType:"unknown[]",gorm:"-",gormMap:{},sql:"-"},{name:"workspacePermissions",type:"slice",primitive:"string",computedType:"string[]",gorm:"-",gormMap:{},sql:"-"}],cliShort:"user",description:"Manage the workspaces that user belongs to (either its himselves or adding by invitation)"};Fg.Fields={...Vt.Fields,user$:"user",user:jp.Fields,workspace$:"workspace",workspace:ty.Fields,userPermissions:"userPermissions",rolePermission:"rolePermission",workspacePermissions:"workspacePermissions"};function Af(t,e){const n={};for(const[r,i]of Object.entries(e))typeof i=="string"?n[r]=`${t}.${i}`:typeof i=="object"&&i!==null&&(n[r]=i);return n}function ur(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var rV=0;function Qp(t){return"__private_"+rV+++"_"+t}var ol=Qp("passport"),hh=Qp("token"),ph=Qp("exchangeKey"),sl=Qp("userWorkspaces"),ul=Qp("user"),mh=Qp("userId"),CC=Qp("isJsonAppliable");class fr{get passport(){return ur(this,ol)[ol]}set passport(e){e instanceof t1?ur(this,ol)[ol]=e:ur(this,ol)[ol]=new t1(e)}setPassport(e){return this.passport=e,this}get token(){return ur(this,hh)[hh]}set token(e){ur(this,hh)[hh]=String(e)}setToken(e){return this.token=e,this}get exchangeKey(){return ur(this,ph)[ph]}set exchangeKey(e){ur(this,ph)[ph]=String(e)}setExchangeKey(e){return this.exchangeKey=e,this}get userWorkspaces(){return ur(this,sl)[sl]}set userWorkspaces(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof Fg?ur(this,sl)[sl]=e:ur(this,sl)[sl]=e.map(n=>new Fg(n)))}setUserWorkspaces(e){return this.userWorkspaces=e,this}get user(){return ur(this,ul)[ul]}set user(e){e instanceof jp?ur(this,ul)[ul]=e:ur(this,ul)[ul]=new jp(e)}setUser(e){return this.user=e,this}get userId(){return ur(this,mh)[mh]}set userId(e){const n=typeof e=="string"||e===void 0||e===null;ur(this,mh)[mh]=n?e:String(e)}setUserId(e){return this.userId=e,this}constructor(e=void 0){if(Object.defineProperty(this,CC,{value:iV}),Object.defineProperty(this,ol,{writable:!0,value:void 0}),Object.defineProperty(this,hh,{writable:!0,value:""}),Object.defineProperty(this,ph,{writable:!0,value:""}),Object.defineProperty(this,sl,{writable:!0,value:[]}),Object.defineProperty(this,ul,{writable:!0,value:void 0}),Object.defineProperty(this,mh,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(ur(this,CC)[CC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.passport!==void 0&&(this.passport=n.passport),n.token!==void 0&&(this.token=n.token),n.exchangeKey!==void 0&&(this.exchangeKey=n.exchangeKey),n.userWorkspaces!==void 0&&(this.userWorkspaces=n.userWorkspaces),n.user!==void 0&&(this.user=n.user),n.userId!==void 0&&(this.userId=n.userId)}toJSON(){return{passport:ur(this,ol)[ol],token:ur(this,hh)[hh],exchangeKey:ur(this,ph)[ph],userWorkspaces:ur(this,sl)[sl],user:ur(this,ul)[ul],userId:ur(this,mh)[mh]}}toString(){return JSON.stringify(this)}static get Fields(){return{passport:"passport",token:"token",exchangeKey:"exchangeKey",userWorkspaces$:"userWorkspaces",get userWorkspaces(){return Af("userWorkspaces[:i]",Fg.Fields)},user:"user",userId:"userId"}}static from(e){return new fr(e)}static with(e){return new fr(e)}copyWith(e){return new fr({...this.toJSON(),...e})}clone(){return new fr(this.toJSON())}}function iV(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}class Tr extends Vt{constructor(...e){super(...e),this.children=void 0,this.publicKey=void 0,this.coverLetter=void 0,this.targetUserLocale=void 0,this.email=void 0,this.phonenumber=void 0,this.workspace=void 0,this.firstName=void 0,this.lastName=void 0,this.forceEmailAddress=void 0,this.forcePhoneNumber=void 0,this.role=void 0,this.roleId=void 0}}Tr.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace-invite/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace-invite/new`},single(t,e){return`${e?"/"+e:".."}/workspace-invite/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspace-invites`},Redit:"workspace-invite/edit/:uniqueId",Rcreate:"workspace-invite/new",Rsingle:"workspace-invite/:uniqueId",Rquery:"workspace-invites"};Tr.definition={rpc:{query:{}},name:"workspaceInvite",features:{},gormMap:{},fields:[{name:"publicKey",description:"A long hash to get the user into the confirm or signup page without sending the email or phone number, for example if an administrator wants to copy the link.",type:"string",computedType:"string",gormMap:{}},{name:"coverLetter",description:"The content that user will receive to understand the reason of the letter.",type:"string",computedType:"string",gormMap:{}},{name:"targetUserLocale",description:"If the invited person has a different language, then you can define that so the interface for him will be automatically translated.",type:"string",computedType:"string",gormMap:{}},{name:"email",description:"The email address of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"phonenumber",description:"The phone number of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"workspace",description:"Workspace which user is being invite to.",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}},{name:"firstName",description:"First name of the person which is invited",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"lastName",description:"Last name of the person which is invited.",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"forceEmailAddress",description:"If forced, the email address cannot be changed by the user which has been invited.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePhoneNumber",description:"If forced, user cannot change the phone number and needs to complete signup.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"role",description:"The role which invitee get if they accept the request.",type:"one",target:"RoleEntity",validate:"required",computedType:"RoleEntity",gormMap:{}}],cliShort:"invite",description:"Active invitations for non-users or already users to join an specific workspace, created by administration of the workspace"};Tr.Fields={...Vt.Fields,publicKey:"publicKey",coverLetter:"coverLetter",targetUserLocale:"targetUserLocale",email:"email",phonenumber:"phonenumber",workspace$:"workspace",workspace:ty.Fields,firstName:"firstName",lastName:"lastName",forceEmailAddress:"forceEmailAddress",forcePhoneNumber:"forcePhoneNumber",roleId:"roleId",role$:"role",role:kr.Fields};var T_,__,A_,R_,P_,I_,N_,M_,k_,D_,F_,L_,U_,j_,B_,q_,H_,z_,V_,G_,pn;function wu(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}const o0={data:{user:{firstName:"Ali",lastName:"Torabi"},exchangeKey:"key1",token:"token"}};let aV=(T_=ft("passport/authorizeOs"),__=dt("post"),A_=ft("users/invitations"),R_=dt("get"),P_=ft("passports/signin/classic"),I_=dt("post"),N_=ft("passport/request-reset-mail-password"),M_=dt("post"),k_=ft("passports/available-methods"),D_=dt("get"),F_=ft("workspace/passport/check"),L_=dt("post"),U_=ft("passports/signup/classic"),j_=dt("post"),B_=ft("passport/totp/confirm"),q_=dt("post"),H_=ft("workspace/passport/otp"),z_=dt("post"),V_=ft("workspace/public/types"),G_=dt("get"),pn=class{async passportAuthroizeOs(e){return o0}async getUserInvites(e){return eq}async postSigninClassic(e){return o0}async postRequestResetMail(e){return o0}async getAvailableMethods(e){return{data:{item:{email:!0,enabledRecaptcha2:!1,google:null,phone:!0,recaptcha2ClientKey:"6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"}}}}async postWorkspacePassportCheck(e){var r;return((r=e==null?void 0:e.body)==null?void 0:r.value.includes("@"))?{data:{next:["otp","create-with-password"],flags:["enable-totp","force-totp"],otpInfo:null}}:{data:{next:["otp"],flags:["enable-totp","force-totp"],otpInfo:null}}}async postPassportSignupClassic(e){var n;return(n=e==null?void 0:e.body)==null||n.value.includes("@"),{data:{session:null,totpUrl:"otpauth://totp/Fireback:ali@ali.com?algorithm=SHA1&digits=6&issuer=Fireback&period=30&secret=R2AQ4NPS7FKECL3ZVTF3JMTLBYGDAAVU",continueToTotp:!0,forcedTotp:!0}}}async postConfirm(e){return{data:{session:o0.data}}}async postOtp(e){return{data:{session:o0.data}}}async getWorkspaceTypes(e){return{data:{items:[{description:null,slug:"customer",title:"customer",uniqueId:"nG012z7VNyYKMJPqWjV04"}],itemsPerPage:20,startIndex:0,totalItems:2}}}},wu(pn.prototype,"passportAuthroizeOs",[T_,__],Object.getOwnPropertyDescriptor(pn.prototype,"passportAuthroizeOs"),pn.prototype),wu(pn.prototype,"getUserInvites",[A_,R_],Object.getOwnPropertyDescriptor(pn.prototype,"getUserInvites"),pn.prototype),wu(pn.prototype,"postSigninClassic",[P_,I_],Object.getOwnPropertyDescriptor(pn.prototype,"postSigninClassic"),pn.prototype),wu(pn.prototype,"postRequestResetMail",[N_,M_],Object.getOwnPropertyDescriptor(pn.prototype,"postRequestResetMail"),pn.prototype),wu(pn.prototype,"getAvailableMethods",[k_,D_],Object.getOwnPropertyDescriptor(pn.prototype,"getAvailableMethods"),pn.prototype),wu(pn.prototype,"postWorkspacePassportCheck",[F_,L_],Object.getOwnPropertyDescriptor(pn.prototype,"postWorkspacePassportCheck"),pn.prototype),wu(pn.prototype,"postPassportSignupClassic",[U_,j_],Object.getOwnPropertyDescriptor(pn.prototype,"postPassportSignupClassic"),pn.prototype),wu(pn.prototype,"postConfirm",[B_,q_],Object.getOwnPropertyDescriptor(pn.prototype,"postConfirm"),pn.prototype),wu(pn.prototype,"postOtp",[H_,z_],Object.getOwnPropertyDescriptor(pn.prototype,"postOtp"),pn.prototype),wu(pn.prototype,"getWorkspaceTypes",[V_,G_],Object.getOwnPropertyDescriptor(pn.prototype,"getWorkspaceTypes"),pn.prototype),pn);class TO extends Vt{constructor(...e){super(...e),this.children=void 0,this.name=void 0,this.operationId=void 0,this.diskPath=void 0,this.size=void 0,this.virtualPath=void 0,this.type=void 0,this.variations=void 0}}TO.Navigation={edit(t,e){return`${e?"/"+e:".."}/file/edit/${t}`},create(t){return`${t?"/"+t:".."}/file/new`},single(t,e){return`${e?"/"+e:".."}/file/${t}`},query(t={},e){return`${e?"/"+e:".."}/files`},Redit:"file/edit/:uniqueId",Rcreate:"file/new",Rsingle:"file/:uniqueId",Rquery:"files",rVariationsCreate:"file/:linkerId/variations/new",rVariationsEdit:"file/:linkerId/variations/edit/:uniqueId",editVariations(t,e,n){return`${n?"/"+n:""}/file/${t}/variations/edit/${e}`},createVariations(t,e){return`${e?"/"+e:""}/file/${t}/variations/new`}};TO.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"file",features:{},gormMap:{},fields:[{name:"name",type:"string",computedType:"string",gormMap:{}},{name:"operationId",description:"For each upload, we need to assign a operation id, so if the operation has been cancelled, it would be cleared automatically, and there won't be orphant files in the database.",type:"string",computedType:"string",gormMap:{}},{name:"diskPath",type:"string",computedType:"string",gormMap:{}},{name:"size",type:"int64",computedType:"number",gormMap:{}},{name:"virtualPath",type:"string",computedType:"string",gormMap:{}},{name:"type",type:"string",computedType:"string",gormMap:{}},{name:"variations",type:"array",computedType:"FileVariations[]",gormMap:{},"-":"FileVariations",fields:[{name:"name",type:"string",computedType:"string",gormMap:{}}],linkedTo:"FileEntity"}],description:"Tus file uploading reference of the content. Every files being uploaded using tus will be stored in this table."};TO.Fields={...Vt.Fields,name:"name",operationId:"operationId",diskPath:"diskPath",size:"size",virtualPath:"virtualPath",type:"type",variations$:"variations",variationsAt:t=>({$:`variations[${t}]`,...Vt.Fields,name:`variations[${t}].name`})};function EI(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;etypeof t=="number"&&!isNaN(t),Bp=t=>typeof t=="string",Ea=t=>typeof t=="function",hw=t=>Bp(t)||Ea(t)?t:null,$C=t=>T.isValidElement(t)||Bp(t)||Ea(t)||M0(t);function oV(t,e,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=t;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(e,n)})})}function bS(t){let{enter:e,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=t;return function(u){let{children:l,position:d,preventExitTransition:h,done:g,nodeRef:y,isIn:w}=u;const v=r?`${e}--${d}`:e,C=r?`${n}--${d}`:n,E=T.useRef(0);return T.useLayoutEffect(()=>{const $=y.current,O=v.split(" "),_=R=>{R.target===y.current&&($.dispatchEvent(new Event("d")),$.removeEventListener("animationend",_),$.removeEventListener("animationcancel",_),E.current===0&&R.type!=="animationcancel"&&$.classList.remove(...O))};$.classList.add(...O),$.addEventListener("animationend",_),$.addEventListener("animationcancel",_)},[]),T.useEffect(()=>{const $=y.current,O=()=>{$.removeEventListener("animationend",O),i?oV($,g,o):g()};w||(h?O():(E.current=1,$.className+=` ${C}`,$.addEventListener("animationend",O)))},[w]),Ae.createElement(Ae.Fragment,null,l)}}function W_(t,e){return t!=null?{content:t.content,containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,status:e}:{}}const No={list:new Map,emitQueue:new Map,on(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off(t,e){if(e){const n=this.list.get(t).filter(r=>r!==e);return this.list.set(t,n),this}return this.list.delete(t),this},cancelEmit(t){const e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit(t){this.list.has(t)&&this.list.get(t).forEach(e=>{const n=setTimeout(()=>{e(...[].slice.call(arguments,1))},0);this.emitQueue.has(t)||this.emitQueue.set(t,[]),this.emitQueue.get(t).push(n)})}},q2=t=>{let{theme:e,type:n,...r}=t;return Ae.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...r})},EC={info:function(t){return Ae.createElement(q2,{...t},Ae.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return Ae.createElement(q2,{...t},Ae.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return Ae.createElement(q2,{...t},Ae.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return Ae.createElement(q2,{...t},Ae.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return Ae.createElement("div",{className:"Toastify__spinner"})}};function sV(t){const[,e]=T.useReducer(v=>v+1,0),[n,r]=T.useState([]),i=T.useRef(null),o=T.useRef(new Map).current,u=v=>n.indexOf(v)!==-1,l=T.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:u,getToast:v=>o.get(v)}).current;function d(v){let{containerId:C}=v;const{limit:E}=l.props;!E||C&&l.containerId!==C||(l.count-=l.queue.length,l.queue=[])}function h(v){r(C=>v==null?[]:C.filter(E=>E!==v))}function g(){const{toastContent:v,toastProps:C,staleId:E}=l.queue.shift();w(v,C,E)}function y(v,C){let{delay:E,staleId:$,...O}=C;if(!$C(v)||(function(me){return!i.current||l.props.enableMultiContainer&&me.containerId!==l.props.containerId||o.has(me.toastId)&&me.updateId==null})(O))return;const{toastId:_,updateId:R,data:k}=O,{props:P}=l,L=()=>h(_),F=R==null;F&&l.count++;const q={...P,style:P.toastStyle,key:l.toastKey++,...Object.fromEntries(Object.entries(O).filter(me=>{let[te,be]=me;return be!=null})),toastId:_,updateId:R,data:k,closeToast:L,isIn:!1,className:hw(O.className||P.toastClassName),bodyClassName:hw(O.bodyClassName||P.bodyClassName),progressClassName:hw(O.progressClassName||P.progressClassName),autoClose:!O.isLoading&&(Y=O.autoClose,X=P.autoClose,Y===!1||M0(Y)&&Y>0?Y:X),deleteToast(){const me=W_(o.get(_),"removed");o.delete(_),No.emit(4,me);const te=l.queue.length;if(l.count=_==null?l.count-l.displayedToast:l.count-1,l.count<0&&(l.count=0),te>0){const be=_==null?l.props.limit:1;if(te===1||be===1)l.displayedToast++,g();else{const we=be>te?te:be;l.displayedToast=we;for(let B=0;Bie in EC)(be)&&(V=EC[be](H))),V})(q),Ea(O.onOpen)&&(q.onOpen=O.onOpen),Ea(O.onClose)&&(q.onClose=O.onClose),q.closeButton=P.closeButton,O.closeButton===!1||$C(O.closeButton)?q.closeButton=O.closeButton:O.closeButton===!0&&(q.closeButton=!$C(P.closeButton)||P.closeButton);let ue=v;T.isValidElement(v)&&!Bp(v.type)?ue=T.cloneElement(v,{closeToast:L,toastProps:q,data:k}):Ea(v)&&(ue=v({closeToast:L,toastProps:q,data:k})),P.limit&&P.limit>0&&l.count>P.limit&&F?l.queue.push({toastContent:ue,toastProps:q,staleId:$}):M0(E)?setTimeout(()=>{w(ue,q,$)},E):w(ue,q,$)}function w(v,C,E){const{toastId:$}=C;E&&o.delete(E);const O={content:v,props:C};o.set($,O),r(_=>[..._,$].filter(R=>R!==E)),No.emit(4,W_(O,O.props.updateId==null?"added":"updated"))}return T.useEffect(()=>(l.containerId=t.containerId,No.cancelEmit(3).on(0,y).on(1,v=>i.current&&h(v)).on(5,d).emit(2,l),()=>{o.clear(),No.emit(3,l)}),[]),T.useEffect(()=>{l.props=t,l.isToastActive=u,l.displayedToast=n.length}),{getToastToRender:function(v){const C=new Map,E=Array.from(o.values());return t.newestOnTop&&E.reverse(),E.forEach($=>{const{position:O}=$.props;C.has(O)||C.set(O,[]),C.get(O).push($)}),Array.from(C,$=>v($[0],$[1]))},containerRef:i,isToastActive:u}}function K_(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function Y_(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function uV(t){const[e,n]=T.useState(!1),[r,i]=T.useState(!1),o=T.useRef(null),u=T.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,l=T.useRef(t),{autoClose:d,pauseOnHover:h,closeToast:g,onClick:y,closeOnClick:w}=t;function v(k){if(t.draggable){k.nativeEvent.type==="touchstart"&&k.nativeEvent.preventDefault(),u.didMove=!1,document.addEventListener("mousemove",O),document.addEventListener("mouseup",_),document.addEventListener("touchmove",O),document.addEventListener("touchend",_);const P=o.current;u.canCloseOnClick=!0,u.canDrag=!0,u.boundingRect=P.getBoundingClientRect(),P.style.transition="",u.x=K_(k.nativeEvent),u.y=Y_(k.nativeEvent),t.draggableDirection==="x"?(u.start=u.x,u.removalDistance=P.offsetWidth*(t.draggablePercent/100)):(u.start=u.y,u.removalDistance=P.offsetHeight*(t.draggablePercent===80?1.5*t.draggablePercent:t.draggablePercent/100))}}function C(k){if(u.boundingRect){const{top:P,bottom:L,left:F,right:q}=u.boundingRect;k.nativeEvent.type!=="touchend"&&t.pauseOnHover&&u.x>=F&&u.x<=q&&u.y>=P&&u.y<=L?$():E()}}function E(){n(!0)}function $(){n(!1)}function O(k){const P=o.current;u.canDrag&&P&&(u.didMove=!0,e&&$(),u.x=K_(k),u.y=Y_(k),u.delta=t.draggableDirection==="x"?u.x-u.start:u.y-u.start,u.start!==u.x&&(u.canCloseOnClick=!1),P.style.transform=`translate${t.draggableDirection}(${u.delta}px)`,P.style.opacity=""+(1-Math.abs(u.delta/u.removalDistance)))}function _(){document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",_),document.removeEventListener("touchmove",O),document.removeEventListener("touchend",_);const k=o.current;if(u.canDrag&&u.didMove&&k){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance)return i(!0),void t.closeToast();k.style.transition="transform 0.2s, opacity 0.2s",k.style.transform=`translate${t.draggableDirection}(0)`,k.style.opacity="1"}}T.useEffect(()=>{l.current=t}),T.useEffect(()=>(o.current&&o.current.addEventListener("d",E,{once:!0}),Ea(t.onOpen)&&t.onOpen(T.isValidElement(t.children)&&t.children.props),()=>{const k=l.current;Ea(k.onClose)&&k.onClose(T.isValidElement(k.children)&&k.children.props)}),[]),T.useEffect(()=>(t.pauseOnFocusLoss&&(document.hasFocus()||$(),window.addEventListener("focus",E),window.addEventListener("blur",$)),()=>{t.pauseOnFocusLoss&&(window.removeEventListener("focus",E),window.removeEventListener("blur",$))}),[t.pauseOnFocusLoss]);const R={onMouseDown:v,onTouchStart:v,onMouseUp:C,onTouchEnd:C};return d&&h&&(R.onMouseEnter=$,R.onMouseLeave=E),w&&(R.onClick=k=>{y&&y(k),u.canCloseOnClick&&g()}),{playToast:E,pauseToast:$,isRunning:e,preventExitTransition:r,toastRef:o,eventHandlers:R}}function xI(t){let{closeToast:e,theme:n,ariaLabel:r="close"}=t;return Ae.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:i=>{i.stopPropagation(),e(i)},"aria-label":r},Ae.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Ae.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function lV(t){let{delay:e,isRunning:n,closeToast:r,type:i="default",hide:o,className:u,style:l,controlledProgress:d,progress:h,rtl:g,isIn:y,theme:w}=t;const v=o||d&&h===0,C={...l,animationDuration:`${e}ms`,animationPlayState:n?"running":"paused",opacity:v?0:1};d&&(C.transform=`scaleX(${h})`);const E=Ef("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${w}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":g}),$=Ea(u)?u({rtl:g,type:i,defaultClassName:E}):Ef(E,u);return Ae.createElement("div",{role:"progressbar","aria-hidden":v?"true":"false","aria-label":"notification timer",className:$,style:C,[d&&h>=1?"onTransitionEnd":"onAnimationEnd"]:d&&h<1?null:()=>{y&&r()}})}const cV=t=>{const{isRunning:e,preventExitTransition:n,toastRef:r,eventHandlers:i}=uV(t),{closeButton:o,children:u,autoClose:l,onClick:d,type:h,hideProgressBar:g,closeToast:y,transition:w,position:v,className:C,style:E,bodyClassName:$,bodyStyle:O,progressClassName:_,progressStyle:R,updateId:k,role:P,progress:L,rtl:F,toastId:q,deleteToast:Y,isIn:X,isLoading:ue,iconOut:me,closeOnClick:te,theme:be}=t,we=Ef("Toastify__toast",`Toastify__toast-theme--${be}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":F},{"Toastify__toast--close-on-click":te}),B=Ea(C)?C({rtl:F,position:v,type:h,defaultClassName:we}):Ef(we,C),V=!!L||!l,H={closeToast:y,type:h,theme:be};let ie=null;return o===!1||(ie=Ea(o)?o(H):T.isValidElement(o)?T.cloneElement(o,H):xI(H)),Ae.createElement(w,{isIn:X,done:Y,position:v,preventExitTransition:n,nodeRef:r},Ae.createElement("div",{id:q,onClick:d,className:B,...i,style:E,ref:r},Ae.createElement("div",{...X&&{role:P},className:Ea($)?$({type:h}):Ef("Toastify__toast-body",$),style:O},me!=null&&Ae.createElement("div",{className:Ef("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!ue})},me),Ae.createElement("div",null,u)),ie,Ae.createElement(lV,{...k&&!V?{key:`pb-${k}`}:{},rtl:F,theme:be,delay:l,isRunning:e,isIn:X,closeToast:y,hide:g,type:h,style:R,className:_,controlledProgress:V,progress:L||0})))},wS=function(t,e){return e===void 0&&(e=!1),{enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}},fV=bS(wS("bounce",!0));bS(wS("slide",!0));bS(wS("zoom"));bS(wS("flip"));const Q_=T.forwardRef((t,e)=>{const{getToastToRender:n,containerRef:r,isToastActive:i}=sV(t),{className:o,style:u,rtl:l,containerId:d}=t;function h(g){const y=Ef("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":l});return Ea(o)?o({position:g,rtl:l,defaultClassName:y}):Ef(y,hw(o))}return T.useEffect(()=>{e&&(e.current=r.current)},[]),Ae.createElement("div",{ref:r,className:"Toastify",id:d},n((g,y)=>{const w=y.length?{...u}:{...u,pointerEvents:"none"};return Ae.createElement("div",{className:h(g),style:w,key:`container-${g}`},y.map((v,C)=>{let{content:E,props:$}=v;return Ae.createElement(cV,{...$,isIn:i($.toastId),style:{...$.style,"--nth":C+1,"--len":y.length},key:`toast-${$.key}`},E)}))}))});Q_.displayName="ToastContainer",Q_.defaultProps={position:"top-right",transition:fV,autoClose:5e3,closeButton:xI,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let xC,mp=new Map,_0=[],dV=1;function OI(){return""+dV++}function hV(t){return t&&(Bp(t.toastId)||M0(t.toastId))?t.toastId:OI()}function k0(t,e){return mp.size>0?No.emit(0,t,e):_0.push({content:t,options:e}),e.toastId}function Fw(t,e){return{...e,type:e&&e.type||t,toastId:hV(e)}}function H2(t){return(e,n)=>k0(e,Fw(t,n))}function Xn(t,e){return k0(t,Fw("default",e))}Xn.loading=(t,e)=>k0(t,Fw("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),Xn.promise=function(t,e,n){let r,{pending:i,error:o,success:u}=e;i&&(r=Bp(i)?Xn.loading(i,n):Xn.loading(i.render,{...n,...i}));const l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},d=(g,y,w)=>{if(y==null)return void Xn.dismiss(r);const v={type:g,...l,...n,data:w},C=Bp(y)?{render:y}:y;return r?Xn.update(r,{...v,...C}):Xn(C.render,{...v,...C}),w},h=Ea(t)?t():t;return h.then(g=>d("success",u,g)).catch(g=>d("error",o,g)),h},Xn.success=H2("success"),Xn.info=H2("info"),Xn.error=H2("error"),Xn.warning=H2("warning"),Xn.warn=Xn.warning,Xn.dark=(t,e)=>k0(t,Fw("default",{theme:"dark",...e})),Xn.dismiss=t=>{mp.size>0?No.emit(1,t):_0=_0.filter(e=>t!=null&&e.options.toastId!==t)},Xn.clearWaitingQueue=function(t){return t===void 0&&(t={}),No.emit(5,t)},Xn.isActive=t=>{let e=!1;return mp.forEach(n=>{n.isToastActive&&n.isToastActive(t)&&(e=!0)}),e},Xn.update=function(t,e){e===void 0&&(e={}),setTimeout(()=>{const n=(function(r,i){let{containerId:o}=i;const u=mp.get(o||xC);return u&&u.getToast(r)})(t,e);if(n){const{props:r,content:i}=n,o={delay:100,...r,...e,toastId:e.toastId||t,updateId:OI()};o.toastId!==t&&(o.staleId=t);const u=o.render||i;delete o.render,k0(u,o)}},0)},Xn.done=t=>{Xn.update(t,{progress:1})},Xn.onChange=t=>(No.on(4,t),()=>{No.off(4,t)}),Xn.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Xn.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},No.on(2,t=>{xC=t.containerId||t,mp.set(xC,t),_0.forEach(e=>{No.emit(0,e.content,e.options)}),_0=[]}).on(3,t=>{mp.delete(t.containerId||t),mp.size===0&&No.off(0).off(1).off(5)});let s0=null;const J_=2500;function pV(t,e){if((s0==null?void 0:s0.content)==t)return;const n=Xn(t,{hideProgressBar:!0,autoClose:J_,...e});s0={content:t,key:n},setTimeout(()=>{s0=null},J_)}const TI={onlyOnRoot:"This feature is only available for root access, please ask your administrator for more details",productName:"Fireback",orders:{archiveTitle:"Orders",discountCode:"Discount code",discountCodeHint:"Discount code",editOrder:"Edit order",invoiceNumber:"Invoice number",invoiceNumberHint:"Invoice number",items:"Items",itemsHint:"Items",newOrder:"New order",orderStatus:"Order status",orderStatusHint:"Order status",paymentStatus:"Payment status",paymentStatusHint:"Payment status",shippingAddress:"Shipping address",shippingAddressHint:"Shipping address",totalPrice:"Total price",totalPriceHint:"Total price"},shoppingCarts:{archiveTitle:"Shopping carts",editShoppingCart:"Edit shopping cart",items:"Items",itemsHint:"Items",newShoppingCart:"New shopping cart",product:"Product",productHint:"Select the product item",quantity:"Quantity",quantityHint:"How many products do you want"},discountCodes:{appliedCategories:"Applied categories",appliedCategoriesHint:"Applied categories",appliedProducts:"Applied products",appliedProductsHint:"Applied products",archiveTitle:"Discount codes",editDiscountCode:"Edit discount code",excludedCategories:"Excluded categories",excludedCategoriesHint:"Excluded categories",excludedProducts:"Excluded products",excludedProductsHint:"Excluded products",limit:"Limit",limitHint:"Limit",newDiscountCode:"New discount code",series:"Series",seriesHint:"Series",validFrom:"Valid from",validFromHint:"Valid from",validUntil:"Valid until",validUntilHint:"Valid until"},postcategories:{archiveTitle:"Post Category",editpostCategory:"Edit Post category",name:"Name",nameHint:"Name",newpostCategory:"Newpost category"},pagecategories:{archiveTitle:"Page category",editpageCategory:"Edit page category",name:"Name",nameHint:"Name",newpageCategory:"New page category"},posttags:{archiveTitle:"Post tag",editpostTag:"Edit post tag",name:"Name",nameHint:"Name",newpostTag:"New post tag"},pagetags:{archiveTitle:"Page tag",editpageTag:"Edit page tag",name:"Name",nameHint:"Name",newpageTag:"New page tag"},posts:{archiveTitle:"Posts",category:"Category",categoryHint:"Category",content:"Content",contentHint:"content",editpost:"Edit post",newpost:"New post",tags:"Tags",tagsHint:"Tags",title:"Title",titleHint:"Title"},pages:{archiveTitle:"Pages",category:"Category",categoryHint:"Page category",content:"Content",contentHint:"",editpage:"Edit page",newpage:"New page",tags:"Tags",tagsHint:"Page tags",title:"Title",titleHint:"Page title"},components:{currency:"Currency",currencyHint:"Currency type",amount:"Amount",amountHint:"Amount in numbers, separated by . for cents"},brands:{archiveTitle:"Brand",editBrand:"Edit brand",name:"Name",nameHint:"Brand's name",newBrand:"New brand"},tags:{archiveTitle:"Tags",editTag:"Edit tag",name:"Name",nameHint:"Tag name",newTag:"Name of the tag"},productsubmissions:{name:"Name",nameHint:"Name of the product",archiveTitle:"Product Inventory",brand:"Brand",brandHint:"If the product belongs to an specific brand",category:"Category",categoryHint:"Product category",description:"Description",descriptionHint:"Product description",editproductSubmission:"Edit product submission",newproductSubmission:"Newproduct submission",price:"Price",priceHint:"Set the price tag for the product",product:"Product",productHint:"Select the product type",sku:"SKU",skuHint:"SKU code for the product",tags:"Tags",tagsHint:"Product tags"},products:{archiveTitle:"product",description:"Description",descriptionHint:"Describe the product form",editproduct:"Edit product",fields:"fields",fieldsHint:"fields hint",jsonSchema:"json schema",jsonSchemaHint:"json schema hint",name:"Form name",nameHint:"Name the type of products which this form represents",newproduct:"New product",uiSchema:"ui schema",uiSchemaHint:"ui schema hint"},categories:{archiveTitle:"Categories",editCategory:"Edit category",name:"Name",nameHint:"Name of the category",newCategory:"New category",parent:"Parent category",parentHint:"This category would be under the parent category in display or search"},abac:{backToApp:"Go back to the app",email:"Email",emailAddress:"Email address",firstName:"First name",lastName:"Last name",otpOrDifferent:"Or try a different account instead",otpResetMethod:"Reset method",otpTitle:"One time password",otpTitleHint:`Login to your account via a 6-8 digit pins, which we will + send by phone or email. You can change your password later + in account center.`,password:"Password",remember:"Remember my credentials",signin:"Sign in",signout:"Sign out",signup:"Sign up",signupType:"Signup Type",signupTypeHint:"Select how do you want to use software",viaEmail:"Send pin via email address",viaSms:"Phone number (SMS)"},about:"About",acChecks:{moduleName:"Checks"},acbankbranches:{acBankBranchArchiveTitle:"Bank Branches",bank:"Bank",bankHint:"The bank that this branch belongs to",bankId:"Bank",city:"City",cityHint:"City that this bank branch is located",cityId:"City",editAcBank:"Edit Bank Branch",editAcBankBranch:"Edit Bank Branch",locaitonHint:"Physical location of the branch",location:"Location",name:"Bank Branch Name",nameHint:"The branch name of the bank, town may be included",newAcBankBranch:"New Bank Branch",province:"Province",provinceHint:"Province that this bank branch is located"},acbanks:{acBankArchiveTitle:"Banks",editAcBank:"Edit Bank",name:"Bank name",nameHint:"The national name of the bank to make it easier recognize",newAcBank:"New Bank"},accesibility:{leftHand:"Left handed",rightHand:"Right handed"},acchecks:{acCheckArchiveTitle:"Checks",amount:"Amount",amountFormatted:"Amount",amountHint:"Amount of this check",bankBranch:"Bank Branch",bankBranchCityName:"City name",bankBranchHint:"The branch which has issued this check",bankBranchId:"Bank Branch",bankBranchName:"Branch name",currency:"Currency",currencyHint:"The currency which this check is written in",customer:"Customer",customerHint:"The customer that this check is from or belongs to",customerId:"Customer",dueDate:"Due Date",dueDateFormatted:"Due Date",dueDateHint:"The date that this check should be passed",editAcCheck:"Edit Check",identifier:"Identifier",identifierHint:"Identifier is special code for this check or unique id",issueDate:"Issue date",issueDateFormatted:"Issue Date",issueDateHint:"The date that check has been issued",newAcCheck:"New Check",recipientBankBranch:"Recipient Bank Branch",recipientBankBranchHint:"The bank which this check has been taken to",recipientCustomer:"Recipient Customer",recipientCustomerHint:"The customer who has this check",status:"Status",statusHint:"The status of this check"},accheckstatuses:{acCheckStatusArchiveTitle:"Check Statuses",editAcCheckStatus:"Edit Check Status",name:"Status Name",nameHint:"Status name which will be assigned to a check in workflow",newAcCheckStatus:"New Check Status"},accountcollections:{archiveTitle:"Account Collections",editAccountCollection:"Edit Collection",name:"Collection Name",nameHint:"Name the account collection",newAccountCollection:"New Account Collection"},accounting:{account:{currency:"Currency",name:"Name"},accountCollections:"Account Collections",accountCollectionsHint:"Account Collections",amount:"Amount",legalUnit:{name:"Name"},settlementDate:"Settlement Date",summary:"summary",title:"Title",transactionDate:"Transaction Date"},actions:{addJob:"+ Add job",back:"Back",edit:"Edit",new:"New"},addLocation:"Add location",alreadyHaveAnAccount:"Already have an account? Sign in instead",answerSheet:{grammarProgress:"Grammar %",listeningProgress:"Listening %",readingProgress:"Reading %",sourceExam:"Source exam",speakingProgress:"Speaking %",takerFullname:"Student fullname",writingProgress:"Writing %"},authenticatedOnly:"This section requires you to login before viewing or editing of any kind.",backup:{generateAndDownload:"Generate & Download",generateDescription:`You can create a backup of the system here. It's important to remember + you will generate back from data which are visible to you. Making + backups must be done using administrative accounts to ensure coverage + for all data available in system.`,generateTitle:"Generate Backup",restoreDescription:`You can here import backup files into the system, or data that you + have migrated from another installation.`,restoreTitle:"Restore Backups",uploadAndRestore:"Update & Restore"},banks:{title:"Banks"},close:"Close",cloudProjects:{clientId:"Client Id",name:"Name",secret:"Secret"},common:{cancel:"Cancel",no:"No",isNUll:"Not specified",noaccess:"You do not have access to this part of the app. Contact your supervisor for consultation",parent:"Parent Record",parentHint:"Select the parent entity which this belogns to",save:"Save",yes:"Yes"},commonProfile:{},confirm:"Confirm",continue:"Continue",createAccount:"Create Account",created:"Created Time",currentUser:{editProfile:"Edit profile",profile:"Profile",signin:"Sign in",signout:"Sign out"},dashboards:"Dashboards",datepicker:{day:"Day",month:"Month",year:"Year"},debugInfo:"Show debug information",deleteAction:"Delete",deleteConfirmMessage:"Are you sure to delete the selected items?",deleteConfirmation:"Are you sure?",diagram:"Diagram",drive:{attachFile:"Attach file",driveTitle:"Drive",menu:"Drive & Files",name:"Name",size:"Size",title:"Title",type:"Type",viewPath:"View Path",virtualPath:"Virtual Path"},dropNFiles:"Drop {n} file(s) to begin the upload",edit:"Edit",errors:{UNKOWN_ERRROR:"Unknown error occured"},exam:{startInstruction:"Start a new exam by clicking on the button, we keep track of your progress so you can come back later.",startNew:"Start a new exam",title:"Exam"},examSession:{highlightMissing:"Highlight Missing",showAnswers:"Show answers"},fb:{commonProfile:"Edit your profile",editMailProvider:"Email provider",editMailSender:"Edit Email sender",editPublicJoinKey:"Edit Public Join Key",editRole:"Edit role",editWorkspaceType:"Edit Workspace Type",newMailProvider:"New Email provider",newMailSender:"New Email sender",newPublicJoinKey:"New Public Join Key",newRole:"New role",newWorkspaceType:"New Workspace Type",publicJoinKey:"Public Join Key"},fbMenu:{emailProvider:"Email Provider",emailProviders:"Email Providers",emailSender:"Email Sender",emailSenders:"Email Senders",gsmProvider:"GSM Provider",keyboardShortcuts:"Shortcuts",myInvitations:"My Invitations",publicJoinKey:"Public join keys",roles:"Roles",title:"System",users:"Users",workspaceInvites:"Invites",workspaceTypes:"Workspace Types",workspaces:"Workspaces"},featureNotAvailableOnMock:"Not available on the mock server. The version you are using is basically a demo, and runs without a real server. Things are not being saved, or do not represent a real flow.",firstTime:"First time in the app, or lost password?",forcedLayout:{forcedLayoutGeneralMessage:"You need to login before accessing this section",checkingSession:"Checking tokens and authentication..."},forgotPassword:"Forgot password",generalSettings:{accessibility:{description:"Handle the accessibility settings",title:"Accessibility"},debugSettings:{description:"See the debug information of the app, for developers or help desks",title:"Debug Settings"},grpcMethod:"Over grpc",hostAddress:"Host address",httpMethod:"Over http",interfaceLang:{description:"Here you can change your software interface langauge settings",title:"Language & Region"},port:"Port",remoteDescripton:"Remote service, is the place that all data, logics, and services are installed there. It could be cloud, or locally. Only advanced users, changing it to wrong address might cause inaccessibility.",remoteTitle:"Remote service",richTextEditor:{description:"Manage how you want to edit textual content in the app",title:"Text Editor"},theme:{description:"Change the interface theme color",title:"Theme"}},jalaliMonths:{0:"Farvardin",1:"Ordibehesht",2:"Khordad",3:"Tir",4:"Mordad",5:"Shahrivar",6:"Mehr",7:"Aban",8:"Azar",9:"Dey",10:"Bahman",11:"Isfand"},katexPlugin:{body:"Formula",cancel:"Cancel",insert:"Insert",title:"Katex Plugin",toolbarName:"Insert Formula"},keyboardShortcut:{action:"Action",defaultBinding:"Default Key Binding",keyboardShortcut:"Keyboard Shortcuts",pressToDefine:"Press to define",userDefinedBinding:"User Defined Bindings"},lackOfPermission:"You need more permissions, in order to access this part of the software.",locale:{englishWorldwide:"English (Worldwide)",persianIran:"Persian (Iran)",polishPoland:"Polish (Polski)"},loginButton:"Login",loginButtonOs:"Login With OS",mailProvider:{apiKey:"Api Key",apiKeyHint:"The API key related to the mail service provider, if applicable",fromEmailAddress:"From email address",fromEmailAddressHint:"The address you are sending from, generally it needs to be registered in mail service",fromName:"From name",fromNameHint:"Sender name",nickName:"Nick name",nickNameHint:"Email sender nick name, usually the sales person or customer support",replyTo:"Reply to",replyToHint:"The address which receipent is gonna reply to. (noreply@domain) for example",senderAddress:"Sender address",senderName:"Sender name",type:"Service Type",typeHint:"Select the mail provider from list. Under the list you can find all providers we support."},menu:{answerSheets:"Answer Sheets",classRooms:"Classrooms",courses:"Courses",exams:"Exams",personal:"Personalize",questionBanks:"Question Banks",questions:"Questions",quizzes:"Quizzes",settings:"Settings",title:"Actions",units:"Units"},meta:{titleAffix:"PixelPlux"},misc:{currencies:"Currencies",currency:{editCurrency:"Edit currency",name:"Name",nameHint:"Name of the currrency",newCurrency:"New currency",symbol:"Symbol",symbolHint:"Symbol of the currency, usually the unicode character",symbolNative:"Symbol Native",symbolNativeHint:"The symbol of the currency, which is used in the local country"},title:"Misc"},mockNotice:"This is a demo version of the app. There is no backend, nothing is being stored, or should not work properly",networkError:"You are not connected to the network, getting data failed. Check your network connection. If you have connection, it's possible that our server is temporarily offline or on maintenance",noOptions:"No Options",noPendingInvite:"There are no pending invitation for you.",noSignupType:"Creating account is not available now. Contact the administration",not_found_404:"The page you are looking for might have been removed, its URL changed or is temporarily unavailable.",notfound:"Resource you are looking for is not available on this version of the api.",payments:{approve:"Approve",reject:"Reject"},priceTag:{add:"Add price variation",priceTag:"Price Tag",priceTagHint:"Definition of the price in different regions, when user wants to purchase"},reactiveSearch:{noResults:"There are no results :)",placeholder:"Search (Press S)..."},requestReset:"Request Reset",role:{name:"Name",permissions:"Permissions"},saveChanges:"Apply",scenariolanguages:{archiveTitle:"Scenario Languages",editScenarioLanguage:"Edit Scenario Language",name:"Scenario Language",nameHint:"The name of the scenario",newScenarioLanguage:"New Scenario Language"},scenariooperationtypes:{archiveTitle:"Operation Types",editScenarioOperationType:"Edit Operation Type",name:"Operation Type Name",nameHint:"Name of the operation type",newScenarioOperationType:"New Operation Type"},searchplaceholder:"Search...",selectPlaceholder:"- Select an option -",settings:{title:"Settings",apply:"Apply",inaccessibleRemote:"In accessible remote.",interfaceLanguage:"Interface language",interfaceLanguageHint:"The language that you like the interface to be shown to you",preferredHand:"Prefered hand",preferredHandHint:"Select which hand you are most often using phone so some options would be closer to your primary hand",remoteAddress:"Remote address",serverConnected:"Server is connected successfully",textEditorModule:"Text Editor Module",textEditorModuleHint:"You can select between different text editors we provide, and use the one you are more comfortable with",theme:"Theme",themeHint:"Select the interface theme"},signinInstead:"Sign in",signup:{continueAs:"Continue as {currentUser}",continueAsHint:`By logging in as {currentUser}, all your information, + will be stored offline inside your computer, under this user + permissions.`,defaultDescription:"In order to create an account, please fill out the fields below",mobileAuthentication:"In order to login with mobile enter your phone number",signupToWorkspace:"In order to signup as {roleName}, fill the fields below"},signupButton:"Signup",simpleTextEditor:"System simple text editor",table:{updated:"Updated",created:"Created",workspaceId:"Workspace Id",userId:"User Id",filter:{contains:"Contains",endsWith:"Ends With",equal:"Equal",filterPlaceholder:"Filter...",greaterThan:"Greater Than",greaterThanOrEqual:"Greater or equal",lessThan:"Less Than",lessThanOrEqual:"Less or equal",notContains:"Not Contains",notEqual:"Not Equal",startsWith:"Starts With"},info:"Info",next:"Next",noRecords:"There are no records available to show. To create one, press on Plus button.",previous:"Previous",uniqueId:"id",value:"Value"},tempControlWidget:{decrese:"Decrease",increase:"Increase"},tinymceeditor:"TinyMCE Editor",tuyaDevices:{cloudProjectId:"Cloud Project Id",name:"Tuya device name"},unit:{editUnit:"Edit unit",newUnit:"New unit",title:"Title"},units:{content:"Content",editUnit:"Edit Unit",newUnit:"New Unit",parentId:"Parent Id",subUnits:"Sub units"},unnamedRole:"Unknown role",unnamedWorkspace:"Unnamed workspace",user:{editUser:"Edit User",newUser:"New User"},users:{firstName:"First name",lastName:"Last name"},webrtcconfig:"WebRTC Configuration",widgetPicker:{instructions:"Press Arrows from keyboard to change slide
",instructionsFlat:`Press Arrows from keyboard to change slide
+ Press Ctrl + Arrows from keyboard to switch to + flat mode`,widgets:"Widgets"},widgets:{noItems:"There are no widgets in this dashboard"},wokspaces:{body:"Body",typeDescription:"Description",typeDescriptionHint:"Describe the workspace type, when user tries to signup will see.",cascadeNotificationConfig:"Cascade notification config to the sub workspaces",cascadeNotificationConfigHint:"By checking this, all subsequent workspaces will be using this email provider, for sending emails. For products which run online as service, usually you want the parent workspace to configurate the mail server. You might uncheck this in larger products, which run globally, and each workspaces need to have their own subspaces, and email configuration",config:"Workspace Config",configurateWorkspaceNotification:"Configurate notification services",confirmEmailSender:"User signup confirm account email",createNewWorkspace:"New workspace",customizedTemplate:"Customize template",disablePublicSignup:"Disable public passports registeration",disablePublicSignupHint:"If checked, no one can signup for this passport or its sub-fireback. Basically, signup screen would be disabled for public",editWorkspae:"Edit workspace",emailSendingConfig:"Email Sending Configuration",emailSendingConfigHint:"Control how the system emails are being sent, customize the message, etc.",emailSendingConfiguration:"Email Sending Configuration",emailSendingConfigurationHint:"Control how the system emails are being sent, customize the message, etc.",forceEmailConfigToSubWorkspaces:"Force the sub workspaces to use these email configurations",forceEmailConfigToSubWorkspacesHint:"By checking this option, all sub workspaces, will be using this configuration, and their admins are not allowed to edit this. Choose this option on products which are running unknown clients in cloud. Do not add personalized content for this workspace in such scenarios",forceSubWorkspaceUseConfig:"Force the sub workspaces to use this provider configuration",forgetPasswordSender:"Forget password instructions",generalMailProvider:"General service that sends emails",invite:{createInvitation:"Create invitation",editInvitation:"Edit invitation",email:"Email address",emailHint:"Invitee email address, they will get the link using this email",firstName:"First name",firstNameHint:"Write the first name of invitee",forcePassport:"Force user to only signup or join with defined email or phone number",lastName:"Last name",lastNameHint:"Write the last name of inviteee",name:"Name",phoneNumber:"Phone number",phoneNumberHint:"Invitee phone number, they will get invitation using sms if you provide their number as well",role:"Role",roleHint:"Select the role(s) you want to give the user when they join the workspace. This can be changed later as well.",roleName:"Role name"},inviteToWorkspace:"Invite to workspace",joinKeyWorkspace:"Workspace",joinKeyWorkspaceHint:"The workspace which will be publicly avaialble",mailServerConfiguration:"Mail server configuration",name:"Name",notification:{dialogTitle:"Edit the mail template"},publicSignup:"Public user signup & Join Keys",publicSignupHint:`This software allows to public users join to this workspace and + it's + subsequent workspaces, by registering via email, phone number or other + types of the passports. + In this section you can enable, disable, and make some other + configurations.`,resetToDefault:"Reset to default",role:"role",roleHint:"Select role",sender:"Sender",sidetitle:"Workspaces",slug:"Slug",title:"Title",type:"Type",workspaceName:"Workspace name",workspaceNameHint:"Enter the workspace name",workspaceTypeSlug:"Slug address",workspaceTypeSlugHint:"The path that publicly will be available to users, if they signup through this account this role would be assigned to them.",workspaceTypeTitle:"Title",workspaceTypeUniqueId:"Unique Id",workspaceTypeUniqueIdHint:"Unique id can be used to redirect user to direct signin",workspaceTypeTitleHint:"The title of the Workspace"}};function ny(t){var n,r,i,o;const e={};if(t.error&&Array.isArray((n=t.error)==null?void 0:n.errors))for(const u of(r=t.error)==null?void 0:r.errors)e[u.location]=u.message;return t.status&&t.ok===!1?{form:`${t.status}`}:((i=t==null?void 0:t.error)!=null&&i.message&&(e.form=(o=t==null?void 0:t.error)==null?void 0:o.message),t.message?{form:`${t.message}`}:e)}function mV(){return("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16))}function _I(t,e="",n={}){for(const r in t)if(t.hasOwnProperty(r)){const i=e?`${e}.${r}`:r;typeof t[r]=="object"&&!Array.isArray(t[r])&&!t[r].operation?_I(t[r],i,n):n[i]=t[r]}return n}function X_(t){const e={ł:"l",Ł:"L"};return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[aeiouAEIOU]/g,"").replace(/[łŁ]/g,n=>e[n]||n).toLowerCase()}function gV(t,e){const n=_I(e);return t.filter(r=>Object.keys(n).every(i=>{let{operation:o,value:u}=n[i];u=X_(u||"");const l=X_(Sr.get(r,i)||"");if(!l)return!1;switch(o){case"contains":return l.includes(u);case"equals":return l===u;case"startsWith":return l.startsWith(u);case"endsWith":return l.endsWith(u);default:return!1}}))}class wl{constructor(e){this.content=e}items(e){let n={};try{n=JSON.parse(e.jsonQuery)}catch{}return gV(this.content,n).filter((i,o)=>!(oe.startIndex+e.itemsPerPage-1))}total(){return this.content.length}create(e){const n={...e,uniqueId:mV().substr(0,12)};return this.content.push(n),n}getOne(e){return this.content.find(n=>n.uniqueId===e)}deletes(e){return this.content=this.content.filter(n=>!e.includes(n.uniqueId)),!0}patchOne(e){return this.content=this.content.map(n=>n.uniqueId===e.uniqueId?{...n,...e}:n),e}}const Df=t=>t.split(" or ").map(e=>e.split(" = ")[1].trim()),Z_=new wl([]);var eA,tA,u0;function yV(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let vV=(eA=ft("files"),tA=dt("get"),u0=class{async getFiles(e){return{data:{items:Z_.items(e),itemsPerPage:e.itemsPerPage,totalItems:Z_.total()}}}},yV(u0.prototype,"getFiles",[eA,tA],Object.getOwnPropertyDescriptor(u0.prototype,"getFiles"),u0.prototype),u0);class SS extends Vt{constructor(...e){super(...e),this.children=void 0,this.type=void 0,this.apiKey=void 0}}SS.Navigation={edit(t,e){return`${e?"/"+e:".."}/email-provider/edit/${t}`},create(t){return`${t?"/"+t:".."}/email-provider/new`},single(t,e){return`${e?"/"+e:".."}/email-provider/${t}`},query(t={},e){return`${e?"/"+e:".."}/email-providers`},Redit:"email-provider/edit/:uniqueId",Rcreate:"email-provider/new",Rsingle:"email-provider/:uniqueId",Rquery:"email-providers"};SS.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"emailProvider",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"type",type:"enum",validate:"required",of:[{k:"terminal"},{k:"sendgrid"}],computedType:'"terminal" | "sendgrid"',gormMap:{}},{name:"apiKey",type:"string",computedType:"string",gormMap:{}}],description:"Thirdparty services which will send email, allows each workspace graphically configure their token without the need of restarting servers"};SS.Fields={...Vt.Fields,type:"type",apiKey:"apiKey"};class _O extends Vt{constructor(...e){super(...e),this.children=void 0,this.fromName=void 0,this.fromEmailAddress=void 0,this.replyTo=void 0,this.nickName=void 0}}_O.Navigation={edit(t,e){return`${e?"/"+e:".."}/email-sender/edit/${t}`},create(t){return`${t?"/"+t:".."}/email-sender/new`},single(t,e){return`${e?"/"+e:".."}/email-sender/${t}`},query(t={},e){return`${e?"/"+e:".."}/email-senders`},Redit:"email-sender/edit/:uniqueId",Rcreate:"email-sender/new",Rsingle:"email-sender/:uniqueId",Rquery:"email-senders"};_O.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"emailSender",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"fromName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"fromEmailAddress",type:"string",validate:"required",computedType:"string",gorm:"unique",gormMap:{}},{name:"replyTo",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"nickName",type:"string",validate:"required",computedType:"string",gormMap:{}}],description:"All emails going from the system need to have a virtual sender (nick name, email address, etc)"};_O.Fields={...Vt.Fields,fromName:"fromName",fromEmailAddress:"fromEmailAddress",replyTo:"replyTo",nickName:"nickName"};class Xa extends Vt{constructor(...e){super(...e),this.children=void 0,this.role=void 0,this.roleId=void 0,this.workspace=void 0}}Xa.Navigation={edit(t,e){return`${e?"/"+e:".."}/public-join-key/edit/${t}`},create(t){return`${t?"/"+t:".."}/public-join-key/new`},single(t,e){return`${e?"/"+e:".."}/public-join-key/${t}`},query(t={},e){return`${e?"/"+e:".."}/public-join-keys`},Redit:"public-join-key/edit/:uniqueId",Rcreate:"public-join-key/new",Rsingle:"public-join-key/:uniqueId",Rquery:"public-join-keys"};Xa.definition={rpc:{query:{}},name:"publicJoinKey",features:{},gormMap:{},fields:[{name:"role",type:"one",target:"RoleEntity",computedType:"RoleEntity",gormMap:{}},{name:"workspace",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}}],description:"Joining to different workspaces using a public link directly"};Xa.Fields={...Vt.Fields,roleId:"roleId",role$:"role",role:kr.Fields,workspace$:"workspace",workspace:ty.Fields};const gn={emailProvider:new wl([]),emailSender:new wl([]),workspaceInvite:new wl([]),publicJoinKey:new wl([]),workspaces:new wl([])};var nA,rA,iA,aA,oA,sA,uA,lA,cA,fA,ui;function l0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let bV=(nA=ft("email-providers"),rA=dt("get"),iA=ft("email-provider/:uniqueId"),aA=dt("get"),oA=ft("email-provider"),sA=dt("patch"),uA=ft("email-provider"),lA=dt("post"),cA=ft("email-provider"),fA=dt("delete"),ui=class{async getEmailProviders(e){return{data:{items:gn.emailProvider.items(e),itemsPerPage:e.itemsPerPage,totalItems:gn.emailProvider.total()}}}async getEmailProviderByUniqueId(e){return{data:gn.emailProvider.getOne(e.paramValues[0])}}async patchEmailProviderByUniqueId(e){return{data:gn.emailProvider.patchOne(e.body)}}async postRole(e){return{data:gn.emailProvider.create(e.body)}}async deleteRole(e){return gn.emailProvider.deletes(Df(e.body.query)),{data:{}}}},l0(ui.prototype,"getEmailProviders",[nA,rA],Object.getOwnPropertyDescriptor(ui.prototype,"getEmailProviders"),ui.prototype),l0(ui.prototype,"getEmailProviderByUniqueId",[iA,aA],Object.getOwnPropertyDescriptor(ui.prototype,"getEmailProviderByUniqueId"),ui.prototype),l0(ui.prototype,"patchEmailProviderByUniqueId",[oA,sA],Object.getOwnPropertyDescriptor(ui.prototype,"patchEmailProviderByUniqueId"),ui.prototype),l0(ui.prototype,"postRole",[uA,lA],Object.getOwnPropertyDescriptor(ui.prototype,"postRole"),ui.prototype),l0(ui.prototype,"deleteRole",[cA,fA],Object.getOwnPropertyDescriptor(ui.prototype,"deleteRole"),ui.prototype),ui);var dA,hA,pA,mA,gA,yA,vA,bA,wA,SA,li;function c0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let wV=(dA=ft("email-senders"),hA=dt("get"),pA=ft("email-sender/:uniqueId"),mA=dt("get"),gA=ft("email-sender"),yA=dt("patch"),vA=ft("email-sender"),bA=dt("post"),wA=ft("email-sender"),SA=dt("delete"),li=class{async getEmailSenders(e){return{data:{items:gn.emailSender.items(e),itemsPerPage:e.itemsPerPage,totalItems:gn.emailSender.total()}}}async getEmailSenderByUniqueId(e){return{data:gn.emailSender.getOne(e.paramValues[0])}}async patchEmailSenderByUniqueId(e){return{data:gn.emailSender.patchOne(e.body)}}async postRole(e){return{data:gn.emailSender.create(e.body)}}async deleteRole(e){return gn.emailSender.deletes(Df(e.body.query)),{data:{}}}},c0(li.prototype,"getEmailSenders",[dA,hA],Object.getOwnPropertyDescriptor(li.prototype,"getEmailSenders"),li.prototype),c0(li.prototype,"getEmailSenderByUniqueId",[pA,mA],Object.getOwnPropertyDescriptor(li.prototype,"getEmailSenderByUniqueId"),li.prototype),c0(li.prototype,"patchEmailSenderByUniqueId",[gA,yA],Object.getOwnPropertyDescriptor(li.prototype,"patchEmailSenderByUniqueId"),li.prototype),c0(li.prototype,"postRole",[vA,bA],Object.getOwnPropertyDescriptor(li.prototype,"postRole"),li.prototype),c0(li.prototype,"deleteRole",[wA,SA],Object.getOwnPropertyDescriptor(li.prototype,"deleteRole"),li.prototype),li);var CA,$A,EA,xA,OA,TA,_A,AA,RA,PA,ci;function f0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let SV=(CA=ft("public-join-keys"),$A=dt("get"),EA=ft("public-join-key/:uniqueId"),xA=dt("get"),OA=ft("public-join-key"),TA=dt("patch"),_A=ft("public-join-key"),AA=dt("post"),RA=ft("public-join-key"),PA=dt("delete"),ci=class{async getPublicJoinKeys(e){return{data:{items:gn.publicJoinKey.items(e),itemsPerPage:e.itemsPerPage,totalItems:gn.publicJoinKey.total()}}}async getPublicJoinKeyByUniqueId(e){return{data:gn.publicJoinKey.getOne(e.paramValues[0])}}async patchPublicJoinKeyByUniqueId(e){return{data:gn.publicJoinKey.patchOne(e.body)}}async postPublicJoinKey(e){return{data:gn.publicJoinKey.create(e.body)}}async deletePublicJoinKey(e){return gn.publicJoinKey.deletes(Df(e.body.query)),{data:{}}}},f0(ci.prototype,"getPublicJoinKeys",[CA,$A],Object.getOwnPropertyDescriptor(ci.prototype,"getPublicJoinKeys"),ci.prototype),f0(ci.prototype,"getPublicJoinKeyByUniqueId",[EA,xA],Object.getOwnPropertyDescriptor(ci.prototype,"getPublicJoinKeyByUniqueId"),ci.prototype),f0(ci.prototype,"patchPublicJoinKeyByUniqueId",[OA,TA],Object.getOwnPropertyDescriptor(ci.prototype,"patchPublicJoinKeyByUniqueId"),ci.prototype),f0(ci.prototype,"postPublicJoinKey",[_A,AA],Object.getOwnPropertyDescriptor(ci.prototype,"postPublicJoinKey"),ci.prototype),f0(ci.prototype,"deletePublicJoinKey",[RA,PA],Object.getOwnPropertyDescriptor(ci.prototype,"deletePublicJoinKey"),ci.prototype),ci);const gg=new wl([{name:"Administrator",uniqueId:"administrator"}]);var IA,NA,MA,kA,DA,FA,LA,UA,jA,BA,fi;function d0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let CV=(IA=ft("roles"),NA=dt("get"),MA=ft("role/:uniqueId"),kA=dt("get"),DA=ft("role"),FA=dt("patch"),LA=ft("role"),UA=dt("delete"),jA=ft("role"),BA=dt("post"),fi=class{async getRoles(e){return{data:{items:gg.items(e),itemsPerPage:e.itemsPerPage,totalItems:gg.total()}}}async getRoleByUniqueId(e){return{data:gg.getOne(e.paramValues[0])}}async patchRoleByUniqueId(e){return{data:gg.patchOne(e.body)}}async deleteRole(e){return gg.deletes(Df(e.body.query)),{data:{}}}async postRole(e){return{data:gg.create(e.body)}}},d0(fi.prototype,"getRoles",[IA,NA],Object.getOwnPropertyDescriptor(fi.prototype,"getRoles"),fi.prototype),d0(fi.prototype,"getRoleByUniqueId",[MA,kA],Object.getOwnPropertyDescriptor(fi.prototype,"getRoleByUniqueId"),fi.prototype),d0(fi.prototype,"patchRoleByUniqueId",[DA,FA],Object.getOwnPropertyDescriptor(fi.prototype,"patchRoleByUniqueId"),fi.prototype),d0(fi.prototype,"deleteRole",[LA,UA],Object.getOwnPropertyDescriptor(fi.prototype,"deleteRole"),fi.prototype),d0(fi.prototype,"postRole",[jA,BA],Object.getOwnPropertyDescriptor(fi.prototype,"postRole"),fi.prototype),fi);class AO extends Vt{constructor(...e){super(...e),this.children=void 0,this.label=void 0,this.href=void 0,this.icon=void 0,this.activeMatcher=void 0,this.capability=void 0,this.capabilityId=void 0}}AO.Navigation={edit(t,e){return`${e?"/"+e:".."}/app-menu/edit/${t}`},create(t){return`${t?"/"+t:".."}/app-menu/new`},single(t,e){return`${e?"/"+e:".."}/app-menu/${t}`},query(t={},e){return`${e?"/"+e:".."}/app-menus`},Redit:"app-menu/edit/:uniqueId",Rcreate:"app-menu/new",Rsingle:"app-menu/:uniqueId",Rquery:"app-menus"};AO.definition={rpc:{query:{}},name:"appMenu",features:{},gormMap:{},fields:[{name:"label",recommended:!0,description:"Label that will be visible to user",type:"string",translate:!0,computedType:"string",gormMap:{}},{name:"href",recommended:!0,description:"Location that will be navigated in case of click or selection on ui",type:"string",computedType:"string",gormMap:{}},{name:"icon",recommended:!0,description:"Icon string address which matches the resources on the front-end apps.",type:"string",computedType:"string",gormMap:{}},{name:"activeMatcher",description:"Custom window location url matchers, for inner screens.",type:"string",computedType:"string",gormMap:{}},{name:"capability",description:"The permission which is required for the menu to be visible.",type:"one",target:"CapabilityEntity",module:"fireback",computedType:"CapabilityEntity",gormMap:{}}],description:"Manages the menus in the app, (for example tab views, sidebar items, etc.)",cte:!0};AO.Fields={...Vt.Fields,label:"label",href:"href",icon:"icon",activeMatcher:"activeMatcher",capabilityId:"capabilityId",capability$:"capability",capability:P1.Fields};const $V=[{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/workspace/invite(s)?",capability:null,capabilityId:null,created:1711043161316914e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/workspace-invites",icon:"common/workspaceinvite.svg",label:"Invites",parentId:"fireback",uniqueId:"invites",updated:1711043161316914e3,visibility:"A"},{activeMatcher:"publicjoinkey",capability:null,capabilityId:null,created:171104316131093e4,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/public-join-keys",icon:"common/joinkey.svg",label:"Public join keys",parentId:"fireback",uniqueId:"publicjoinkey",updated:171104316131093e4,visibility:"A"},{activeMatcher:"/role/",capability:null,capabilityId:null,created:1711043161314546e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/roles",icon:"common/role.svg",label:"Roles",parentId:"fireback",uniqueId:"roles",updated:1711043161314546e3,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Workspace",uniqueId:"fireback",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"drives",capability:null,capabilityId:null,created:1711043161320805e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/drives",icon:"common/drive.svg",label:"Drive & Files",parentId:"root",uniqueId:"drive_files",updated:1711043161320805e3,visibility:"A"},{activeMatcher:"email-provider",capability:null,capabilityId:null,created:1711043161309663e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-providers",icon:"common/emailprovider.svg",label:"Email Provider",parentId:"root",uniqueId:"email_provider",updated:1711043161309663e3,visibility:"A"},{activeMatcher:"email-sender",capability:null,capabilityId:null,created:171104316131211e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-senders",icon:"common/mail.svg",label:"Email Sender",parentId:"root",uniqueId:"email_sender",updated:171104316131211e4,visibility:"A"},{activeMatcher:"/user/",capability:null,capabilityId:null,created:1711043161318088e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/users",icon:"common/user.svg",label:"Users",parentId:"root",uniqueId:"users",updated:1711043161318088e3,visibility:"A"},{activeMatcher:"/workspace/config",capability:null,capabilityId:null,created:17110431613157e5,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-config",icon:"ios-theme/icons/settings.svg",label:"Workspace Config",parentId:"root",uniqueId:"workspace_config",updated:17110431613157e5,visibility:"A"},{activeMatcher:"workspace-type",capability:null,capabilityId:null,created:1711043161313308e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-types",icon:"ios-theme/icons/settings.svg",label:"Workspace Types",parentId:"root",uniqueId:"workspace_types",updated:1711043161313308e3,visibility:"A"},{activeMatcher:"/workspaces/|workspace/new",capability:null,capabilityId:null,created:171104316132216e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspaces",icon:"common/workspace.svg",label:"Workspaces",parentId:"root",uniqueId:"workspaces",updated:171104316132216e4,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Root",uniqueId:"root",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/invites/",capability:null,capabilityId:null,created:1711043161328479e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/user-invitations",icon:"common/workspaceinvite.svg",label:"My Invitations",parentId:"personal",uniqueId:"my_invitation",updated:1711043161328479e3,visibility:"A"},{activeMatcher:"/settings",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/settings",icon:"ios-theme/icons/settings.svg",label:"Settings",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"},{activeMatcher:"/selfservice",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice",icon:"ios-theme/icons/settings.svg",label:"Account & Profile",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"}],created:1711043161323813e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Personal",uniqueId:"personal",updated:1711043161323813e3,visibility:"A"}];var qA,HA,h0;function EV(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let xV=(qA=ft("cte-app-menus"),HA=dt("get"),h0=class{async getAppMenu(e){return{data:{items:$V}}}},EV(h0.prototype,"getAppMenu",[qA,HA],Object.getOwnPropertyDescriptor(h0.prototype,"getAppMenu"),h0.prototype),h0);const OV=()=>{if(Math.random()>.5)switch(Math.floor(Math.random()*3)){case 0:return`10.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 1:return`172.${Math.floor(16+Math.random()*16)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 2:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;default:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`}else return`${Math.floor(Math.random()*223)+1}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`},TV=["Ali","Behnaz","Carlos","Daniela","Ethan","Fatima","Gustavo","Helena","Isla","Javad","Kamila","Leila","Mateo","Nasim","Omid","Parisa","Rania","Saeed","Tomas","Ursula","Vali","Wojtek","Zara","Alice","Bob","Charlie","Diana","George","Mohammed","Julia","Khalid","Lena","Mohammad","Nina","Oscar","Quentin","Rosa","Sam","Tina","Umar","Vera","Waleed","Xenia","Yara","Ziad","Maxim","Johann","Krzysztof","Baris","Mehmet"],_V=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson","Thomas","Taylor","Moore","Jackson","Martin","Lee","Perez","Thompson","White","Harris","Sanchez","Clark","Ramirez","Lewis","Robinson","Walker","Young","Allen","King","Wright","Scott","Torres","Nguyen","Hill","Flores","Green","Adams","Nelson","Baker","Hall","Rivera","Campbell","Mitchell","Carter","Roberts","Kowalski","Nowak","Jankowski","Zieliński","Wiśniewski","Lewandowski","Kaczmarek","Bąk","Pereira","Altıntaş"],AV=[{addressLine1:"123 Main St",addressLine2:"Apt 4",city:"Berlin",stateOrProvince:"Berlin",postalCode:"10115",countryCode:"DE"},{addressLine1:"456 Elm St",addressLine2:"Apt 23",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75001",countryCode:"FR"},{addressLine1:"789 Oak Dr",addressLine2:"Apt 9",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"01010",countryCode:"PL"},{addressLine1:"101 Maple Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"11365",countryCode:"IR"},{addressLine1:"202 Pine St",addressLine2:"Apt 7",city:"Madrid",stateOrProvince:"Community of Madrid",postalCode:"28001",countryCode:"ES"},{addressLine1:"456 Park Ave",addressLine2:"Suite 5",city:"New York",stateOrProvince:"NY",postalCode:"10001",countryCode:"US"},{addressLine1:"789 Sunset Blvd",addressLine2:"Unit 32",city:"Los Angeles",stateOrProvince:"CA",postalCode:"90001",countryCode:"US"},{addressLine1:"12 Hauptstrasse",addressLine2:"Apt 2",city:"Munich",stateOrProvince:"Bavaria",postalCode:"80331",countryCode:"DE"},{addressLine1:"75 Taksim Square",addressLine2:"Apt 12",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"321 Wierzbowa",addressLine2:"",city:"Kraków",stateOrProvince:"Małopolskie",postalCode:"31000",countryCode:"PL"},{addressLine1:"55 Rue de Rivoli",addressLine2:"Apt 10",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75004",countryCode:"FR"},{addressLine1:"1001 Tehran Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"14155",countryCode:"IR"},{addressLine1:"9 Calle de Alcalá",addressLine2:"Apt 6",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28009",countryCode:"ES"},{addressLine1:"222 King St",addressLine2:"Suite 1B",city:"London",stateOrProvince:"London",postalCode:"E1 6AN",countryCode:"GB"},{addressLine1:"15 St. Peters Rd",addressLine2:"",city:"Toronto",stateOrProvince:"Ontario",postalCode:"M5A 1A2",countryCode:"CA"},{addressLine1:"1340 Via Roma",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00100",countryCode:"IT"},{addressLine1:"42 Nevsky Prospekt",addressLine2:"Apt 1",city:"Saint Petersburg",stateOrProvince:"Leningradskaya",postalCode:"190000",countryCode:"RU"},{addressLine1:"3 Rüdesheimer Str.",addressLine2:"Apt 9",city:"Frankfurt",stateOrProvince:"Hessen",postalCode:"60326",countryCode:"DE"},{addressLine1:"271 Süleyman Demirel Bulvarı",addressLine2:"Apt 45",city:"Ankara",stateOrProvince:"Ankara",postalCode:"06100",countryCode:"TR"},{addressLine1:"7 Avenues des Champs-Élysées",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75008",countryCode:"FR"},{addressLine1:"125 E. 9th St.",addressLine2:"Apt 12",city:"Chicago",stateOrProvince:"IL",postalCode:"60606",countryCode:"US"},{addressLine1:"30 Rue de la Paix",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75002",countryCode:"FR"},{addressLine1:"16 Zlote Tarasy",addressLine2:"Apt 18",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-510",countryCode:"PL"},{addressLine1:"120 Váci utca",addressLine2:"",city:"Budapest",stateOrProvince:"Budapest",postalCode:"1056",countryCode:"HU"},{addressLine1:"22 Sukhbaatar Sq.",addressLine2:"",city:"Ulaanbaatar",stateOrProvince:"Central",postalCode:"14190",countryCode:"MN"},{addressLine1:"34 Princes Street",addressLine2:"Flat 1",city:"Edinburgh",stateOrProvince:"Scotland",postalCode:"EH2 4AY",countryCode:"GB"},{addressLine1:"310 Alzaibiyah",addressLine2:"",city:"Amman",stateOrProvince:"Amman",postalCode:"11183",countryCode:"JO"},{addressLine1:"401 Taksim Caddesi",addressLine2:"Apt 25",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"203 High Street",addressLine2:"Unit 3",city:"London",stateOrProvince:"London",postalCode:"W1T 2LQ",countryCode:"GB"},{addressLine1:"58 Via Nazionale",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00184",countryCode:"IT"},{addressLine1:"47 Gloucester Road",addressLine2:"",city:"London",stateOrProvince:"London",postalCode:"SW7 4QA",countryCode:"GB"},{addressLine1:"98 Calle de Bravo Murillo",addressLine2:"",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28039",countryCode:"ES"},{addressLine1:"57 Mirza Ghalib Street",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"15996",countryCode:"IR"},{addressLine1:"35 Królewska St",addressLine2:"",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-065",countryCode:"PL"},{addressLine1:"12 5th Ave",addressLine2:"",city:"New York",stateOrProvince:"NY",postalCode:"10128",countryCode:"US"}],RV=()=>{const t=new Uint8Array(18);window.crypto.getRandomValues(t);const e=Array.from(t).map(r=>r.toString(36).padStart(2,"0")).join(""),n=Date.now().toString(36);return n+e.slice(0,30-n.length)},PV=()=>({uniqueId:RV(),firstName:Sr.sample(TV),lastName:Sr.sample(_V),photo:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,birthDate:new Date().getDate()+"/"+new Date().getMonth()+"/"+new Date().getFullYear(),gender:Math.random()>.5?1:0,title:Math.random()>.5?"Mr.":"Ms.",avatar:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,lastIpAddress:OV(),primaryAddress:Sr.sample(AV)}),yg=new wl(Sr.times(1e4,()=>PV()));var zA,VA,GA,WA,KA,YA,QA,JA,XA,ZA,di;function p0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let IV=(zA=ft("users"),VA=dt("get"),GA=ft("user"),WA=dt("delete"),KA=ft("user/:uniqueId"),YA=dt("get"),QA=ft("user"),JA=dt("patch"),XA=ft("user"),ZA=dt("post"),di=class{async getUsers(e){return{data:{items:yg.items(e),itemsPerPage:e.itemsPerPage,totalItems:yg.total()}}}async deleteUser(e){return yg.deletes(Df(e.body.query)),{data:{}}}async getUserByUniqueId(e){return{data:yg.getOne(e.paramValues[0])}}async patchUserByUniqueId(e){return{data:yg.patchOne(e.body)}}async postUser(e){return{data:yg.create(e.body)}}},p0(di.prototype,"getUsers",[zA,VA],Object.getOwnPropertyDescriptor(di.prototype,"getUsers"),di.prototype),p0(di.prototype,"deleteUser",[GA,WA],Object.getOwnPropertyDescriptor(di.prototype,"deleteUser"),di.prototype),p0(di.prototype,"getUserByUniqueId",[KA,YA],Object.getOwnPropertyDescriptor(di.prototype,"getUserByUniqueId"),di.prototype),p0(di.prototype,"patchUserByUniqueId",[QA,JA],Object.getOwnPropertyDescriptor(di.prototype,"patchUserByUniqueId"),di.prototype),p0(di.prototype,"postUser",[XA,ZA],Object.getOwnPropertyDescriptor(di.prototype,"postUser"),di.prototype),di);class NV{}var e8,t8,n8,r8,i8,a8,o8,s8,u8,l8,hi;function m0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let MV=(e8=ft("workspace-invites"),t8=dt("get"),n8=ft("workspace-invite/:uniqueId"),r8=dt("get"),i8=ft("workspace-invite"),a8=dt("patch"),o8=ft("workspace/invite"),s8=dt("post"),u8=ft("workspace-invite"),l8=dt("delete"),hi=class{async getWorkspaceInvites(e){return{data:{items:gn.workspaceInvite.items(e),itemsPerPage:e.itemsPerPage,totalItems:gn.workspaceInvite.total()}}}async getWorkspaceInviteByUniqueId(e){return{data:gn.workspaceInvite.getOne(e.paramValues[0])}}async patchWorkspaceInviteByUniqueId(e){return{data:gn.workspaceInvite.patchOne(e.body)}}async postWorkspaceInvite(e){return{data:gn.workspaceInvite.create(e.body)}}async deleteWorkspaceInvite(e){return gn.workspaceInvite.deletes(Df(e.body.query)),{data:{}}}},m0(hi.prototype,"getWorkspaceInvites",[e8,t8],Object.getOwnPropertyDescriptor(hi.prototype,"getWorkspaceInvites"),hi.prototype),m0(hi.prototype,"getWorkspaceInviteByUniqueId",[n8,r8],Object.getOwnPropertyDescriptor(hi.prototype,"getWorkspaceInviteByUniqueId"),hi.prototype),m0(hi.prototype,"patchWorkspaceInviteByUniqueId",[i8,a8],Object.getOwnPropertyDescriptor(hi.prototype,"patchWorkspaceInviteByUniqueId"),hi.prototype),m0(hi.prototype,"postWorkspaceInvite",[o8,s8],Object.getOwnPropertyDescriptor(hi.prototype,"postWorkspaceInvite"),hi.prototype),m0(hi.prototype,"deleteWorkspaceInvite",[u8,l8],Object.getOwnPropertyDescriptor(hi.prototype,"deleteWorkspaceInvite"),hi.prototype),hi);const vg=new wl([{title:"Student workspace type",uniqueId:"1",slug:"/student"}]);var c8,f8,d8,h8,p8,m8,g8,y8,v8,b8,pi;function g0(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let kV=(c8=ft("workspace-types"),f8=dt("get"),d8=ft("workspace-type/:uniqueId"),h8=dt("get"),p8=ft("workspace-type"),m8=dt("patch"),g8=ft("workspace-type"),y8=dt("delete"),v8=ft("workspace-type"),b8=dt("post"),pi=class{async getWorkspaceTypes(e){return{data:{items:vg.items(e),itemsPerPage:e.itemsPerPage,totalItems:vg.total()}}}async getWorkspaceTypeByUniqueId(e){return{data:vg.getOne(e.paramValues[0])}}async patchWorkspaceTypeByUniqueId(e){return{data:vg.patchOne(e.body)}}async deleteWorkspaceType(e){return vg.deletes(Df(e.body.query)),{data:{}}}async postWorkspaceType(e){return{data:vg.create(e.body)}}},g0(pi.prototype,"getWorkspaceTypes",[c8,f8],Object.getOwnPropertyDescriptor(pi.prototype,"getWorkspaceTypes"),pi.prototype),g0(pi.prototype,"getWorkspaceTypeByUniqueId",[d8,h8],Object.getOwnPropertyDescriptor(pi.prototype,"getWorkspaceTypeByUniqueId"),pi.prototype),g0(pi.prototype,"patchWorkspaceTypeByUniqueId",[p8,m8],Object.getOwnPropertyDescriptor(pi.prototype,"patchWorkspaceTypeByUniqueId"),pi.prototype),g0(pi.prototype,"deleteWorkspaceType",[g8,y8],Object.getOwnPropertyDescriptor(pi.prototype,"deleteWorkspaceType"),pi.prototype),g0(pi.prototype,"postWorkspaceType",[v8,b8],Object.getOwnPropertyDescriptor(pi.prototype,"postWorkspaceType"),pi.prototype),pi);var w8,S8,C8,$8,E8,x8,O8,T8,_8,A8,R8,P8,Er;function bg(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let DV=(w8=ft("workspaces"),S8=dt("get"),C8=ft("cte-workspaces"),$8=dt("get"),E8=ft("workspace/:uniqueId"),x8=dt("get"),O8=ft("workspace"),T8=dt("patch"),_8=ft("workspace"),A8=dt("delete"),R8=ft("workspace"),P8=dt("post"),Er=class{async getWorkspaces(e){return{data:{items:gn.workspaces.items(e),itemsPerPage:e.itemsPerPage,totalItems:gn.workspaces.total()}}}async getWorkspacesCte(e){return{data:{items:gn.workspaces.items(e),itemsPerPage:e.itemsPerPage,totalItems:gn.workspaces.total()}}}async getWorkspaceByUniqueId(e){return{data:gn.workspaces.getOne(e.paramValues[0])}}async patchWorkspaceByUniqueId(e){return{data:gn.workspaces.patchOne(e.body)}}async deleteWorkspace(e){return gn.workspaces.deletes(Df(e.body.query)),{data:{}}}async postWorkspace(e){return{data:gn.workspaces.create(e.body)}}},bg(Er.prototype,"getWorkspaces",[w8,S8],Object.getOwnPropertyDescriptor(Er.prototype,"getWorkspaces"),Er.prototype),bg(Er.prototype,"getWorkspacesCte",[C8,$8],Object.getOwnPropertyDescriptor(Er.prototype,"getWorkspacesCte"),Er.prototype),bg(Er.prototype,"getWorkspaceByUniqueId",[E8,x8],Object.getOwnPropertyDescriptor(Er.prototype,"getWorkspaceByUniqueId"),Er.prototype),bg(Er.prototype,"patchWorkspaceByUniqueId",[O8,T8],Object.getOwnPropertyDescriptor(Er.prototype,"patchWorkspaceByUniqueId"),Er.prototype),bg(Er.prototype,"deleteWorkspace",[_8,A8],Object.getOwnPropertyDescriptor(Er.prototype,"deleteWorkspace"),Er.prototype),bg(Er.prototype,"postWorkspace",[R8,P8],Object.getOwnPropertyDescriptor(Er.prototype,"postWorkspace"),Er.prototype),Er);class CS extends Vt{constructor(...e){super(...e),this.children=void 0,this.apiKey=void 0,this.mainSenderNumber=void 0,this.type=void 0,this.invokeUrl=void 0,this.invokeBody=void 0}}CS.Navigation={edit(t,e){return`${e?"/"+e:".."}/gsm-provider/edit/${t}`},create(t){return`${t?"/"+t:".."}/gsm-provider/new`},single(t,e){return`${e?"/"+e:".."}/gsm-provider/${t}`},query(t={},e){return`${e?"/"+e:".."}/gsm-providers`},Redit:"gsm-provider/edit/:uniqueId",Rcreate:"gsm-provider/new",Rsingle:"gsm-provider/:uniqueId",Rquery:"gsm-providers"};CS.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"gsmProvider",features:{},gormMap:{},fields:[{name:"apiKey",type:"string",computedType:"string",gormMap:{}},{name:"mainSenderNumber",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"type",type:"enum",validate:"required",of:[{k:"url"},{k:"terminal"},{k:"mediana"}],computedType:'"url" | "terminal" | "mediana"',gormMap:{}},{name:"invokeUrl",type:"string",computedType:"string",gormMap:{}},{name:"invokeBody",type:"string",computedType:"string",gormMap:{}}]};CS.Fields={...Vt.Fields,apiKey:"apiKey",mainSenderNumber:"mainSenderNumber",type:"type",invokeUrl:"invokeUrl",invokeBody:"invokeBody"};class Lg extends Vt{constructor(...e){super(...e),this.children=void 0,this.content=void 0,this.contentExcerpt=void 0,this.region=void 0,this.title=void 0,this.languageId=void 0,this.keyGroup=void 0}}Lg.Navigation={edit(t,e){return`${e?"/"+e:".."}/regional-content/edit/${t}`},create(t){return`${t?"/"+t:".."}/regional-content/new`},single(t,e){return`${e?"/"+e:".."}/regional-content/${t}`},query(t={},e){return`${e?"/"+e:".."}/regional-contents`},Redit:"regional-content/edit/:uniqueId",Rcreate:"regional-content/new",Rsingle:"regional-content/:uniqueId",Rquery:"regional-contents"};Lg.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"regionalContent",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"content",type:"html",validate:"required",computedType:"string",gormMap:{}},{name:"region",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"title",type:"string",computedType:"string",gormMap:{}},{name:"languageId",type:"string",validate:"required",computedType:"string",gorm:"index:regional_content_index,unique",gormMap:{}},{name:"keyGroup",type:"enum",validate:"required",of:[{k:"SMS_OTP",description:"Used when an email would be sent with one time password"},{k:"EMAIL_OTP",description:"Used when an sms would be sent with one time password"}],computedType:'"SMS_OTP" | "EMAIL_OTP"',gorm:"index:regional_content_index,unique",gormMap:{}}],cliShort:"rc",description:"Email templates, sms templates or other textual content which can be accessed."};Lg.Fields={...Vt.Fields,content:"content",region:"region",title:"title",languageId:"languageId",keyGroup:"keyGroup"};class RO extends Vt{constructor(...e){super(...e),this.children=void 0,this.enableRecaptcha2=void 0,this.enableOtp=void 0,this.requireOtpOnSignup=void 0,this.requireOtpOnSignin=void 0,this.recaptcha2ServerKey=void 0,this.recaptcha2ClientKey=void 0,this.enableTotp=void 0,this.forceTotp=void 0,this.forcePasswordOnPhone=void 0,this.forcePersonNameOnPhone=void 0,this.generalEmailProvider=void 0,this.generalEmailProviderId=void 0,this.generalGsmProvider=void 0,this.generalGsmProviderId=void 0,this.inviteToWorkspaceContent=void 0,this.inviteToWorkspaceContentId=void 0,this.emailOtpContent=void 0,this.emailOtpContentId=void 0,this.smsOtpContent=void 0,this.smsOtpContentId=void 0}}RO.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace-config/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace-config/new`},single(t,e){return`${e?"/"+e:".."}/workspace-config/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspace-configs`},Redit:"workspace-config/edit/:uniqueId",Rcreate:"workspace-config/new",Rsingle:"workspace-config/:uniqueId",Rquery:"workspace-configs"};RO.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspaceConfig",distinctBy:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"enableRecaptcha2",description:"Enables the recaptcha2 for authentication flow.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"enableOtp",recommended:!0,description:"Enables the otp option. It's not forcing it, so user can choose if they want otp or password.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignup",recommended:!0,description:"Forces the user to have otp verification before can create an account. They can define their password still.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignin",recommended:!0,description:"Forces the user to use otp when signing in. Even if they have password set, they won't use it and only will be able to signin using that otp.",type:"bool?",default:!1,computedType:"boolean",gormMap:{}},{name:"recaptcha2ServerKey",description:"Secret which would be used to decrypt if the recaptcha is correct. Should not be available publicly.",type:"string",computedType:"string",gormMap:{}},{name:"recaptcha2ClientKey",description:"Secret which would be used for recaptcha2 on the client side. Can be publicly visible, and upon authenticating users it would be sent to front-end.",type:"string",computedType:"string",gormMap:{}},{name:"enableTotp",recommended:!0,description:"Enables user to make 2FA using apps such as google authenticator or microsoft authenticator.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forceTotp",recommended:!0,description:"Forces the user to setup a 2FA in order to access their account. Users which did not setup this won't be affected.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePasswordOnPhone",description:"Forces users who want to create account using phone number to also set a password on their account",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePersonNameOnPhone",description:"Forces the creation of account using phone number to ask for user first name and last name",type:"bool?",computedType:"boolean",gormMap:{}},{name:"generalEmailProvider",description:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",type:"one",target:"EmailProviderEntity",computedType:"EmailProviderEntity",gormMap:{}},{name:"generalGsmProvider",description:"General service which would be used to send text messages (sms) using it's services or API.",type:"one",target:"GsmProviderEntity",computedType:"GsmProviderEntity",gormMap:{}},{name:"inviteToWorkspaceContent",description:"This template would be used, as default when a user is inviting a third-party into their own workspace.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"emailOtpContent",description:"Upon one time password request for email, the content will be read to fill the message which will go to user.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"smsOtpContent",description:"Upon OTP text messages, this template will be used to create such text message, including the one time password code.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}}],cliName:"config",description:"Contains configuration which would be necessary for application environment to be running. At the moment, a single record is allowed, and only for root workspace. But in theory it could be configured per each workspace independently. For sub projects do not touch this, rather create a custom config entity if workspaces in the product need extra config."};RO.Fields={...Vt.Fields,enableRecaptcha2:"enableRecaptcha2",enableOtp:"enableOtp",requireOtpOnSignup:"requireOtpOnSignup",requireOtpOnSignin:"requireOtpOnSignin",recaptcha2ServerKey:"recaptcha2ServerKey",recaptcha2ClientKey:"recaptcha2ClientKey",enableTotp:"enableTotp",forceTotp:"forceTotp",forcePasswordOnPhone:"forcePasswordOnPhone",forcePersonNameOnPhone:"forcePersonNameOnPhone",generalEmailProviderId:"generalEmailProviderId",generalEmailProvider$:"generalEmailProvider",generalEmailProvider:SS.Fields,generalGsmProviderId:"generalGsmProviderId",generalGsmProvider$:"generalGsmProvider",generalGsmProvider:CS.Fields,inviteToWorkspaceContentId:"inviteToWorkspaceContentId",inviteToWorkspaceContent$:"inviteToWorkspaceContent",inviteToWorkspaceContent:Lg.Fields,emailOtpContentId:"emailOtpContentId",emailOtpContent$:"emailOtpContent",emailOtpContent:Lg.Fields,smsOtpContentId:"smsOtpContentId",smsOtpContent$:"smsOtpContent",smsOtpContent:Lg.Fields};var I8,N8,M8,k8,pf;function D8(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,l){return l(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let FV=(I8=ft("workspace-config"),N8=dt("get"),M8=ft("workspace-wconfig/distiwnct"),k8=dt("patch"),pf=class{async getWorkspaceConfig(e){return{data:{enableOtp:!0,forcePasswordOnPhone:!0}}}async setWorkspaceConfig(e){return{data:e.body}}},D8(pf.prototype,"getWorkspaceConfig",[I8,N8],Object.getOwnPropertyDescriptor(pf.prototype,"getWorkspaceConfig"),pf.prototype),D8(pf.prototype,"setWorkspaceConfig",[M8,k8],Object.getOwnPropertyDescriptor(pf.prototype,"setWorkspaceConfig"),pf.prototype),pf);const LV=[new aV,new CV,new xV,new IV,new kV,new vV,new bV,new wV,new MV,new SV,new NV,new DV,new FV];var OC={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/var F8;function UV(){return F8||(F8=1,(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var o="",u=0;uN.jsx(HE,{...t,to:t.href,children:t.children});function Ur(){const t=OO(),e=$z(),n=kl(),r=(o,u,l,d=!1)=>{const h=BV(window.location.pathname);let g=o.replace("{locale}",h);t(g,{replace:d,state:l})},i=(o,u,l)=>{r(o,u,l,!0)};return{asPath:n.pathname,state:n.state,pathname:"",query:e,push:r,goBack:()=>t(-1),goBackOrDefault:o=>t(-1),goForward:()=>t(1),replace:i}}function HV(t){let e="en";const n=t.match(/^\/(fa|en|ar|pl|de)\//);return n&&n[1]&&(e=n[1]),e}function Ci(){const t=Ur();let e="en",n="us",r="ltr";return Si.FORCED_LOCALE?e=Si.FORCED_LOCALE:t.query.locale?e=`${t.query.locale}`:e=HV(t.asPath),e==="fa"&&(n="ir",r="rtl"),{locale:e,asPath:t.asPath,region:n,dir:r}}const zV={onlyOnRoot:"این بخش فقط برای دسترسی روت قابل مشاهده است. در صورت نیاز به اطلاعات بیشتر با مدیر سیستم خود تماس بگیرید.",abac:{backToApp:"رفتن به صفحات داخلی",email:"ایمیل",emailAddress:"آدرس ایمیل",firstName:"نام",lastName:"نام خانوادگی",otpOrDifferent:"یا یه حساب کاربری دیگه را امتحان کنید",otpResetMethod:"روش ریست کردن رمز",otpTitle:"رمز یک بار ورود",otpTitleHint:"برای ورود یک کد ۶ رقمی به وسیله یکی از روش های ارتباطی دریافت میکنید. بعدا میتوانید رمز خود را از طریق تنظیمات عوض کنید.",password:"کلمه عبور",remember:"مرا به یاد بسپار",signin:"ورود",signout:"خروج",signup:"ثبت نام",signupType:"نوع ثبت نام",signupTypeHint:"نوع حساب کاربری خود را مشخص کنید.",viaEmail:"از طریق ایمیل",viaSms:"از طریق پیامک"},about:"درباره",acChecks:{moduleName:"چک ها"},acbankbranches:{acBankBranchArchiveTitle:"شعب بانک",bank:"بانک",bankHint:"بانکی که این شعبه به آن تعلق دارد",bankId:"بانک",city:"شهر",cityHint:"شهری که این بانک در آن وجود دارد",cityId:"شهر",editAcBank:"ویرایش شعبه",editAcBankBranch:"ویرایش شعبه",locaitonHint:"شهر، استان و یا ناحیه ای که این شعبه در آن است",location:"مکان",name:"نام شعبه",nameHint:"نام این شعبه بانک، کد یا اسم محل یا شهر هم مجاز است",newAcBankBranch:"شعبه جدید بانک",province:"استان",provinceHint:"استانی که این بانک در آن قرار دارد"},acbanks:{acBankArchiveTitle:"بانک ها",editAcBank:"ویرایش بانک",name:"نام بانک",nameHint:"نام بانک را به صورت کلی برای شناسایی راحت تر وارد کنید",newAcBank:"بانک جدید"},accesibility:{leftHand:"چپ دست",rightHand:"راست دست"},accheck:{acCheckArchiveTitle:"چک ها"},acchecks:{acCheckArchiveTitle:"چک ها",amount:"مبلغ",amountFormatted:"مبلغ",amountHint:"مبلغ قابل پرداخت چک",bankBranch:"شعبه بانک",bankBranchCityName:"نام شهر",bankBranchHint:"شعبه بانکی که این چک را صادر کرده است",bankBranchId:"شعبه بانک",bankBranchName:"ن",currency:"واحد پول",currencyHint:"واحد پولی که این چک دارد",customer:"مشتری",customerHint:"مشتری یا شخصی که این چک به او مربوط است",customerId:"مشتری",dueDate:"تاریخ سررسید",dueDateFormatted:"تاریخ سررسید",dueDateHint:"زمانی که چک قابل نقد شدن در بانک باشد",editAcCheck:"ویرایش چک",identifier:"شناسه چک",identifierHint:"شناسه یا کد مخصوص این چک",issueDate:"تاریخ صدور",issueDateFormatted:"تاریخ صدور",issueDateHint:"تاریخی که چک صادر شده است",newAcCheck:"چک جدید",recipientBankBranch:"بانک دریافت کننده",recipientBankBranchHint:"بانکی که این چک برای نقد شدن به آن ارسال شده",recipientCustomer:"مشتری دریافت کننده",recipientCustomerHint:"مشتری که این چک را دریافت کرده است",status:"وضعیت",statusHint:"وضعیت نهایی این چک"},accheckstatuses:{acCheckStatusArchiveTitle:"وضعیت چک",editAcCheckStatus:"ویرایش وضعیت چک",name:"نام وضعیت",nameHint:"نام وضعیتی که به چک ها اختصاص داده میشود",newAcCheckStatus:"وضعیت جدید چک"},accountcollections:{archiveTitle:"سرفصل های حسابداری",editAccountCollection:"ویرایش سرفصل",name:"نام سرفصل",nameHint:"نامی که برای این سرفصل حسابداری در نظر گرفته شده",newAccountCollection:"سرفصل جدید"},accounting:{account:{currency:"واحد پول",name:"نام"},accountCollections:"سرفصل های حسابداری",accountCollectionsHint:"سرفصل های حسابداری",amount:"میزان",legalUnit:{name:"نام"},settlementDate:"تاریخ حل و فصل",summary:"خلاصه",title:"عنوان",transactionDate:"تاریخ معامله"},actions:{addJob:"+ اضافه کردن شغل",back:"Back",edit:"ویرایش",new:"جدید"},addLocation:"اضافه کردن لوکیشن",alreadyHaveAnAccount:"از قبل حساب کاربری دارید؟ به جای آن وارد شوید",answerSheet:{grammarProgress:"گرامر %",listeningProgress:"استماع ٪",readingProgress:"خواندن %",sourceExam:"آزمون منبع",speakingProgress:"صحبت كردن ٪",takerFullname:"نام کامل دانش آموز",writingProgress:"% نوشتن"},authenticatedOnly:"این بخش شما را ملزم می کند که قبل از مشاهده یا ویرایش هر نوع وارد شوید.",b1PolishSample:{b12018:"2018 B1 Sample",grammar:"گرامر",listenning:"شنیدار",reading:"خواندن",speaking:"صحبت",writing:"نوشتار"},backup:{generateAndDownload:"ایجاد و دانلود",generateDescription:`در اینجا می توانید یک نسخه پشتیبان از سیستم ایجاد کنید. مهم است که به خاطر داشته باشید + شما از داده هایی که برای شما قابل مشاهده است تولید خواهید کرد. پشتیبان‌گیری باید با استفاده از حساب‌های مدیریتی انجام شود تا از پوشش + همه داده‌های موجود در سیستم اطمینان حاصل شود.`,generateTitle:"ایجاد پشتیبان",restoreDescription:"در اینجا می‌توانید فایل‌های پشتیبان یا داده‌هایی را که از نصب دیگری منتقل کرده‌اید، وارد سیستم کنید.",restoreTitle:"بازیابی نسخه های پشتیبان",uploadAndRestore:"آپلود و بازیابی"},banks:{title:"بانک ها"},classroom:{classRoomName:"نام کلاس درس",classRoomNameHint:"عنوان کلاس را وارد کنید، به عنوان مثال: اسپانیایی گروه A1.1",description:"شرح",descriptionHint:"با چند کلمه توضیح دهید که این کلاس درس در مورد چیست، تا دانش آموزان آن را به راحتی پیدا کنند",editClassRoom:"ویرایش کلاس درس",gogoleMeetUrlHint:"آدرس اینترنتی را که زبان آموزان برای دسترسی به کلاس باز می کنند قرار دهید",googleMeetUrl:"آدرس اینترنتی Google Meet",members:"اعضا",membersHint:"دانش آموزان (اعضایی) را که می توانند به این محتوای کلاس دسترسی داشته باشند انتخاب کنید و شرکت کنید",newClassroom:"کلاس درس جدید",provider:"ارائه دهنده را انتخاب کنید",providerHint:"ارائه دهندگان نرم افزارهایی هستند که می توانید جلسه تماس ویدیویی خود را در بالای آن میزبانی کنید",providers:{googleMeet:"Google Meet",zoom:"بزرگنمایی"},title:"کلاس درس"},close:"بستن",cloudProjects:{clientId:"شناسه مشتری",name:"نام",secret:"راز"},common:{isNUll:"تعیین نشده",cancel:"لغو",no:"خیر",noaccess:"شما به این بخش از برنامه دسترسی ندارید. برای مشاوره با سرپرست خود تماس بگیرید",parent:"رکورد مادر",parentHint:"اگر این رکورد دارای سر مجموعه است آن را انتخاب کنید",save:"ذخیره",yes:"بله"},commonProfile:{},confirm:"تایید",continue:"ادامه",controlsheets:{active:"فعال",archiveTitle:"کنترل شیت",editControlSheet:"ویرایش کنترل شیت",inactive:"غیرفعال",isRunning:"درحال اجرا",name:"نام",nameHint:"نام کنترل شیت برای دسترسی بهتر",newControlSheet:"کنترل شیت جدید"},course:{availableCourses:"دوره های موجود",courseDescription:"شرح دوره",courseDescriptionHint:"در مورد دوره به طور کامل توضیح دهید تا افراد بتوانند قبل از ثبت نام در مورد آن مطالعه کنند",courseExcerpt:"گزیده دوره",courseExcerptHint:"شرح دوره را در 1 یا 2 خط خلاصه کنید",courseId:"Course Id",courseTitle:"عنوان دوره",courseTitleHint:"عنوان دوره را وارد کنید، مانند الگوریتم در C++",editCourse:"ویرایش دوره",myCourses:"دوره های من",name:"Ali",newCourse:"دوره جدید",noCourseAvailable:"هیچ دوره ای در اینجا موجود نیست. برای دیدن دوره های اختصاصی ممکن است لازم باشد با حساب دیگری وارد شوید",noCourseEnrolled:"شما در حال حاضر در هیچ دوره ای ثبت نام نکرده اید. دوره زیر را پیدا کنید و ثبت نام کنید.",title:"عنوان"},createAccount:"ایجاد حساب کاربری",created:"زمان ایجاد شد",currentUser:{editProfile:"ویرایش نمایه",profile:"مشخصات",signin:"ورود",signout:"خروج از سیستم"},dashboards:"محیط کار",datanodes:{addReader:"اضافه کردن خواننده",addWriter:"اضافه کردن نویسنده",archiveTitle:"دیتا نود ها",dataType:"نوع دیتا",expanderFunction:"Expander function",expanderFunctionHint:"How to cast the content into value array",filePath:"File Path",filePathHint:"File address on the system",key:"Data key",keyHint:"Data key is the sub key of a data node",keyReadable:"Readable",keyReadableHint:"If this sub key is readable",keyWritable:"Writable",keyWritableHint:"If this sub key is writable",modbusRtuAddress:"Address",modbusRtuAddressHint:"Address",modbusRtuDataBits:"DataBits",modbusRtuDataBitsHint:"DataBits",modbusRtuParity:"Parity",modbusRtuParityHint:"Parity",modbusRtuSlaveId:"SlaveId",modbusRtuSlaveIdHint:"SlaveId",modbusRtuStopBits:"StopBits",modbusRtuStopBitsHint:"StopBits",modbusRtuTimeout:"Timeout",modbusRtuTimeoutHint:"Timeout",modbusTcpHost:"Host",modbusTcpHostHint:"Host",modbusTcpPort:"Port",modbusTcpPortHint:"Port",modbusTcpSlaveId:"Slave id",modbusTcpSlaveIdHint:"Slave id",modbusTcpTimeout:"Timeout",modbusTcpTimeoutHint:"Timeout",mode:"حالت",modeHint:"حالت دیتا نود",mqttBody:"بدنه پیام",mqttBodyHInt:"پیامی که ارسال خواهد شد",mqttTopic:"عنوان پیام",mqttTopicHint:"موضوع پیام که به MQTT ارسال خواهد شد",nodeReader:"خواننده نود",nodeReaderConfig:"تنظیم نود",nodeReaderConfigHint:"تنظیمات مربوط به نحوه خواندن اطلاعات",nodeReaderHint:"نوع خواننده اطلاعات از روی نود مشخص کنید",nodeWriter:"نویسنده نود",nodeWriterHint:"نوع نویسنده که اطلاعات را بر روی نود مینویسد مشخص کنید",serialPort:"سریال پورت",serialPortHint:"انتخاب سریال پورت های موجود و متصل به سیستم",type:"نوع دیتا",typeHint:"نوع دیتایی که این نوع نگهداری یا منتقل میکند.",udpHost:"Host",udpHostHint:"UDP Host Address",udpPort:"Port",udpPortHint:"UDP Port Number"},datepicker:{day:"روز",month:"ماه",year:"سال"},debugInfo:"نمایش اطلاعات دیباگ",deleteAction:"حذف",deleteConfirmMessage:"آیا از حذف کردن این آیتم ها مطمین هستید؟",deleteConfirmation:"مطمئنی؟",devices:{deviceModbusConfig:"تنظیمات مدباس دستگاه",deviceModbusConfigHint:"تنظیمات مربوط به نوع دستگاه مدباس مانند آدرس ها و رجیستر ها",devicetemplateArchiveTitle:"دستگاه ها",editDevice:"ویرایش دستگاه",ip:"IP",ipHint:"آدرس دستگاه به صورت آی پی ۴",model:"مدل",modelHint:"مدل یا سریال دستگاه",name:"نام دستگاه",nameHint:"نامی که برای دستگاه در سطح نرم افزار گذاشته میشود",newDevice:"دستگاه جدید",securityType:"نوع امنیت بی سیم",securityTypeHint:"نوع رمزگذاری هنگام اتصال به این شبکه وایرلس",type:"نوع دستگاه",typeHint:"نوع فیزیکی دستگاه ",typeId:"نوع",typeIdHint:"نوع دستگاه",wifiPassword:"رمز وای فای",wifiPasswordHint:"رمز هنگام اتصال به وای فای (خالی هم مورد قبول است)",wifiSSID:"شناسه وای فای",wifiSSIDHint:"نام شبکه وای فای یا همان SSID"},devicetype:{archiveTitle:"انواع دستگاه",editDeviceType:"ویرایش نوع دستگاه",name:"نام نوع دستگاه",nameHint:"نوع دستگاه را نام گذاری کنید",newDeviceType:"نوع دستگاه جدید"},diagram:"دیاگرام",drive:{attachFile:"اضافه کردن فایل پیوست",driveTitle:"درایو",menu:"فایل ها",name:"نام",size:"اندازه",title:"عنوان",type:"تایپ کنید",viewPath:"آدرس نمایش",virtualPath:"مسیر مجازی"},dropNFiles:"برای شروع آپلود، {n} فایل را رها کنید",edit:"ویرایش",errors:{UNKOWN_ERRROR:"خطای ناشناخته ای رخ داده است"},exam:{startInstruction:"امتحان جدیدی را با کلیک کردن روی دکمه شروع کنید، ما پیشرفت شما را پیگیری می کنیم تا بتوانید بعداً بازگردید.",startNew:"امتحان جدیدی را شروع کنید",title:"امتحان"},examProgress:{grammarProgress:"پیشرفت گرامر:",listeningProgress:"پیشرفت گوش دادن:",readingProgress:"پیشرفت خواندن:",speakingProgress:"پیشرفت صحبت کردن:",writingProgress:"پیشرفت نوشتن:"},examSession:{highlightMissing:"برجسته کردن از دست رفته",showAnswers:"نمایش پاسخ ها"},fb:{commonProfile:"پروفایل خودت را ویرایش کن",editMailProvider:"ارائه دهنده ایمیل",editMailSender:"فرستنده ایمیل را ویرایش کنید",editPublicJoinKey:"کلید پیوستن عمومی را ویرایش کنید",editRole:"نقش را ویرایش کنید",editWorkspaceType:"ویرایش نوع تیم",newMailProvider:"ارائه دهنده ایمیل جدید",newMailSender:"فرستنده ایمیل جدید",newPublicJoinKey:"کلید پیوستن عمومی جدید",newRole:"نقش جدید",newWorkspaceType:"تیم جدید",publicJoinKey:"کلید پیوستن عمومی"},fbMenu:{emailProvider:"ارائه دهنده ایمیل",emailProviders:"ارائه دهندگان ایمیل",emailSender:"فرستنده ایمیل",emailSenders:"ارسال کنندگان ایمیل",gsmProvider:"سرویس های تماس",keyboardShortcuts:"میانبرها",myInvitations:"دعوتنامه های من",publicJoinKey:"کلیدهای پیوستن عمومی",roles:"نقش ها",title:"سیستم",users:"کاربران",workspaceInvites:"دعوت نامه ها",workspaceTypes:"انواع تیم ها",workspaces:"فضاهای کاری"},featureNotAvailableOnMock:"این بخش در نسخه دمو وجود ندارد. دقت فرمایید که نسخه ای از نرم افزار که شما با آن کار میکنید صرفا برای نمایش بوده و سرور واقعی ارتباط نمی گیرد. بنابراین هیچ اطلاعاتی ذخیره نمیشوند.",financeMenu:{accountName:"نام کیف پول",accountNameHint:"نامی که کیف پول را از بقیه متمایز میکند",amount:"میزان",amountHint:"مبلغ پرداختی را وارد کنید",currency:"واحد پول",currencyHint:"ارزی که این حساب باید در آن باشد را انتخاب کنید",editPaymentRequest:"درخواست پرداخت را ویرایش کنید",editVirtualAccount:"ویرایش حساب مجازی",newPaymentRequest:"درخواست پرداخت جدید",newVirtualAccount:"اکانت مجازی جدید",paymentMethod:"روش پرداخت",paymentMethodHint:"مکانیزم روش پرداخت را انتخاب کنید",paymentRequest:"درخواست پرداخت",paymentRequests:"درخواست های پرداخت",paymentStatus:"وضعیت پرداخت",subject:"موضوع",summary:"مانده",title:"امور مالی",transaction:{amount:"مقدار",subject:"موضوع",summary:"مانده"},virtualAccount:"حساب کاربری مجازی",virtualAccountHint:"حساب مجازی را انتخاب کنید که پرداخت به آن انجام می شود",virtualAccounts:"حساب های مجازی"},firstTime:"اولین بار در برنامه، یا رمز عبور را گم کرده اید؟",forcedLayout:{forcedLayoutGeneralMessage:"دسترسی به این بخش نیازمند حساب کاربری و ورود به سیستم است"},forgotPassword:"رمز عبور را فراموش کرده اید",generalSettings:{accessibility:{description:"تنظیماتی که مربوط به توانایی های فیزیکی و یا شرایط ویژه جسمانی مرتبط هستند",title:"دسترسی بهتر"},debugSettings:{description:"اطلاعات اشکال زدایی برنامه را برای توسعه دهندگان یا میزهای راهنمایی ببینید",title:"تنظیمات اشکال زدایی"},grpcMethod:"بیش از grpc",hostAddress:"نشانی میزبان",httpMethod:"بیش از http",interfaceLang:{description:"در اینجا می توانید تنظیمات زبان رابط نرم افزار خود را تغییر دهید",title:"زبان و منطقه"},port:"بندر",remoteDescripton:"سرویس از راه دور، مکانی است که تمامی داده ها، منطق ها و سرویس ها در آن نصب می شوند. ممکن است ابری یا محلی باشد. فقط کاربران پیشرفته، تغییر آن به آدرس اشتباه ممکن است باعث عدم دسترسی شود.",remoteTitle:"سرویس از راه دور",richTextEditor:{description:"نحوه ویرایش محتوای متنی را در برنامه مدیریت کنید",title:"ویرایشگر متن"},theme:{description:"رنگ تم رابط را تغییر دهید",title:"قالب"}},geo:{geocities:{country:"کشور",countryHint:"کشوری که این شهر در آن قرار داده شده",editGeoCity:"ویرایش شهر",geoCityArchiveTitle:"شهرها",menu:"شهرها",name:"نام شهر",nameHint:"نام شهر",newGeoCity:"شهر جدید",province:"استان",provinceHint:"استانی که این شهر در آن قرار دارد."},geocountries:{editGeoCountry:"ویرایش کشور",geoCountryArchiveTitle:"کشورها",menu:"کشورها",name:"نام کشور",nameHint:"نام کشور",newGeoCountry:"کشور جدید"},geoprovinces:{country:"کشور",editGeoProvince:"ویرایش استان",geoProvinceArchiveTitle:"استان ها",menu:"استان ها",name:"نام استان",nameHint:"نام استان",newGeoProvince:"استان جدید"},lat:"افقی",lng:"عمودی",menu:"ابزار جغرافیایی"},geolocations:{archiveTitle:"مکان ها",children:"children",childrenHint:"children Hint",code:"کد",codeHint:"کد دسترسی",editGeoLocation:"ویرایش",flag:"پرچم",flagHint:"پرچم مکان",name:"نام",nameHint:"نام عمومی مکان",newGeoLocation:"مکان جدید",officialName:"نام رسمی",officialNameHint:"",status:"وضعیت",statusHint:"وضعیت مکان (معمولا کشور)",type:"نوع",typeHint:"نوع مکان"},gpiomodes:{archiveTitle:"حالت های پایه",description:"توضیحات",descriptionHint:"جزیات بیشتر در مورد عملکرد این پایه",editGpioMode:"ویرایش حالت پایه",index:"ایندکس عددی",indexHint:"مقدار عددی این پایه هنگام تنظیمات پایه در ابتدای نرم افزار",key:"کلید عددی",keyHint:"کلید عددی این پایه",newGpioMode:"حالت پایه جدید"},gpios:{analogFunction:"تابع آنالوگ",analogFunctionHint:"جزیات در مورد تابع آنالوگ",archiveTitle:"پایه ها",comments:"توضیحات",commentsHint:"توضیحات بیشتر یا قابلیت های این پایه",editGpio:"ویرایش پایه",index:"ایندکس این پایه",indexHint:"شماره عددی این پایه در قطعه که میتوان با آن مقدار پایه را کنترل کرد",modeId:"حالت پایه",modeIdHint:"انتخاب حالت استفاده پایه مانند ورودی یا خروجی",name:"عنوان پایه",nameHint:"اسم پایه مانند GPIO_1",newGpio:"پایه جدید",rtcGpio:"پایه RTC",rtcGpioHint:"اطلاعات پایه RTC در صورت موجود بودن"},gpiostates:{archiveTitle:"وضعیت پایه ها",editGpioState:"ویرایش وضعیت پایه",gpio:"پایه",gpioHint:"پایه را از لیست پایه های موجود این قطعه انتخاب کنید",gpioMode:"حالت",gpioModeHint:"حالتی که پایه باید تنظیم شود را انتخاب کنید",high:"بالا (روشن)",low:"پایین (خاموش)",newGpioState:"حالت جدید پایه",value:"مقدار",valueHint:"وضعیت فعلی پین"},gsmproviders:{apiKey:"کلید API",apiKeyHint:"کلید دسترسی به سرویس فراهم کننده پیامکی یا تماس",editGsmProvider:"ویرایش GSM",gsmProviderArchiveTitle:"سرویس های GSM",invokeBody:"بدنه درخواست",invokeBodyHint:"اطلاعاتی که به صورت متد پست به سرویس ارسال میشوند",invokeUrl:"آدرس API",invokeUrlHint:"آدرسی که باید برای ارسال پیامک از آن استفاده شود.",mainSenderNumber:"شماره ارسال کننده",mainSenderNumberHint:"شماره تلفنی که برای پیامک یا تماس استفاده میشوند",newGsmProvider:"سرویس GSM جدید",terminal:"ترمینال",type:"نوع سرویس",typeHint:"نوع سرویس فراهم کننده GSM (امکانات مختلف نصبت به نوع سرویس موجود است)",url:"وب سرویس"},hmi:{archiveTitle:"Hmis",editHmi:"Edit Hmi",name:"Hmi Name",nameHint:"Name of the hmi to recognize",newHmi:"New Hmi"},hmiComponents:{archiveTitle:"Hmi Components",editHmiComponent:"Edit HmiComponent",hmi:"hmi",hmiHint:"hmi Hint",hmiId:"hmiId",hmiIdHint:"hmiId Hint",icon:"icon",iconHint:"icon Hint",label:"label",labelHint:"label Hint",layoutMode:"layoutMode",layoutModeHint:"layoutMode Hint",newHmiComponent:"New HmiComponent",position:"position",positionHint:"position Hint",read:"read",readHint:"read Hint",readId:"readId",readIdHint:"readId Hint",states:"states",statesHint:"states Hint",type:"type",typeHint:"type Hint",write:"write",writeHint:"write Hint",writeId:"writeId",writeIdHint:"writeId Hint"},hmicomponents:{archiveTitle:"Hmi Components",editHmiComponent:"Edit HmiComponent",hmi:"hmi",hmiHint:"hmi Hint",hmiId:"hmiId",hmiIdHint:"hmiId Hint",icon:"icon",iconHint:"icon Hint",label:"label",labelHint:"label Hint",layoutMode:"layoutMode",layoutModeHint:"layoutMode Hint",newHmiComponent:"New HmiComponent",position:"position",positionHint:"position Hint",read:"read",readHint:"read Hint",readId:"readId",readIdHint:"readId Hint",states:"states",statesHint:"states Hint",type:"type",typeHint:"type Hint",write:"write",writeHint:"write Hint",writeId:"writeId",writeIdHint:"writeId Hint"},hmis:{archiveTitle:"Hmis",editHmi:"Edit Hmi",name:"Hmi Name",nameHint:"Name of the hmi to recognize",newHmi:"New Hmi"},home:{line1:"{username}، به dEIA خوش آمدید",line2:"ابزار ارزیابی اثرات زیست محیطی PixelPlux",title:"GADM"},intacodes:{description:"شرح فعالیت",descriptionHint:"شرح فعالیت در مورد این اینتاکد",editIntacode:"ویرایش اینتاکد",intacodeArchiveTitle:"اینتاکدها",margin:"حاشیه سود",marginHint:"میزان سودی که برای این نوع از اینتاکد در نظر گرفته شده است (درصد)",newIntacode:"اینتاکد جدید",note:"ملاحضات",noteHint:"نکات اضافی در مورد محاسبات این نوع اینتاکد",year:"سال",yearHint:"سالی که این اینتاکد برای آن معتبر است"},iot:{dataNodeDatum:"تاریخچه تغییرات",dataNodeName:"نام دیتانود",dataNodeNameHint:"نام ویژه این دیتانود که از بقیه دیتا ها متمایز شناخته شود",dataNodes:"دیتانود ها",editDataNode:"ویرایش دیتانود",ingestedAt:"ساخته شده",newDataNode:"دیتانود جدید",title:"هوشمند",valueFloat64:"مقدار اعشاری",valueInt64:"مقدار عددی",valueString:"مقدار متنی"},jalaliMonths:{0:"فروردین",1:"اردیبهشت",2:"خرداد",3:"تیر",4:"مرداد",5:"شهریور",6:"مهر",7:"آبان",8:"آذر",9:"دی",10:"بهمن",11:"اسفند"},jobsList:{completionDate:"تاریخ تکمیل",consumerId:"شناسه مصرف کننده",projectCode:"کد پروژه",projectName:"نام پروژه",result:"نتیجه",status:"وضعیت",submissionDate:"تاریخ ارسال"},katexPlugin:{body:"فرمول",cancel:"لغپ",insert:"افزودن",title:"پلاگین فرمول",toolbarName:"افزودن فرمول"},keyboardShortcut:{action:"عملکرد",defaultBinding:"کلید های پیش فرض",keyboardShortcut:"میانبرهای صفحه کلید",pressToDefine:"برای ثبت کلید ها را فشار دهید",userDefinedBinding:"کلید های تعیین شده کاربر"},lackOfPermission:"برای دسترسی به این بخش از نرم افزار به مجوزهای بیشتری نیاز دارید.",learningMenu:{answerSheets:"پاسخنامه",enrolledCourses:"دوره های ثبت نام شده",myClassRooms:"کلاس ها",myCourses:"دوره های آموزشی",myExams:"امتحانات",practiseBoard:"چرک نویس",title:"یادگیری"},licenses:{activationKeySeries:"سلسله",activationKeys:"کلیدهای فعال سازی",code:"Code",duration:"مدت زمان (روزها)",durationHint:"طول دوره فعال سازی برای مجوز یک آن فعال می شود",editActivationKey:"ویرایش کلید فعال سازی",editLicensableProduct:"ویرایش محصول دارای مجوز",editLicense:"ویرایش مجوز",editProductPlan:"ویرایش طرح محصول",endDate:"End Date",licensableProducts:"محصولات قابل مجوز",licenseName:"نام مجوز",licenseNameHint:"نام مجوز، می تواند ترکیبی از چیزهای مختلف باشد",licenses:"مجوزها",menuActivationKey:"کلیدهای فعال سازی",menuLicenses:"مجوزها",menuProductPlans:"طرح ها",menuProducts:"محصولات",newActivationKey:"کلید فعال سازی جدید",newLicensableProduct:"محصول جدید دارای مجوز",newLicense:"مجوز جدید",newProductPlan:"طرح محصول جدید",planName:"طرح",planNameHint:"کلید فعال سازی آن طرح خاص را انتخاب کنید",planProductName:"محصول پلان",planProductNameHint:"محصولی را که می خواهید این طرح برای آن باشد انتخاب کنید.",privateKey:"کلید خصوصی",privateKeyHint:"کلید خصوصی مجوز که برای صدور گواهی استفاده می شود",productName:"نام محصول",productNameHint:"نام محصول می تواند هر چیزی باشد که مشتریان آن را تشخیص دهند",productPlanName:"نام طرح",productPlanNameHint:"یک نام برای این طرح تعیین کنید، به عنوان مثال شروع کننده یا حرفه ای",productPlans:"طرح های محصول",publicKey:"کلید عمومی",publicKeyHint:"کلید عمومی مجوز که برای صدور گواهی استفاده می شود",series:"سلسله",seriesHint:"یک برچسب را به عنوان سری تنظیم کنید، به عنوان مثال first_1000_codes تا بتوانید تشخیص دهید که چه زمانی آنها را ایجاد کرده اید",startDate:"تاریخ شروع"},locale:{englishWorldwide:"انگلیسی (English)",persianIran:"فارسی - ایران (Persian WorldWide)",polishPoland:"لهستانی (Polski)"},loginButton:"وارد شدن",loginButtonOs:"ورود با سیستم عامل",mailProvider:{apiKey:"کلید ای پی ای",apiKeyHint:"کلید دسترسی به API در صورتی که مورد نیاز باشد.",fromEmailAddress:"از آدرس ایمیل",fromEmailAddressHint:"آدرسی که از آن ارسال می کنید، معمولاً باید در سرویس پستی ثبت شود",fromName:"از نام",fromNameHint:"نام فرستنده",nickName:"نام مستعار",nickNameHint:"نام مستعار فرستنده ایمیل، معمولاً فروشنده یا پشتیبانی مشتری",replyTo:"پاسخ دادن به",replyToHint:"آدرسی که گیرنده قرار است به آن پاسخ دهد. (noreply@domain) به عنوان مثال",senderAddress:"آدرس فرستنده",senderName:"نام فرستنده",type:"نوع سرویس",typeHint:"سرویس ایمیلی که توسط آن ایمیل ها ارسال میشوند"},menu:{answerSheets:"برگه های پاسخ",classRooms:"کلاس های درس",courses:"دوره های آموزشی",exams:"امتحانات",personal:"شخصی سازی کنید",questionBanks:"بانک سوالات",questions:"سوالات",quizzes:"آزمون ها",settings:"تنظیمات",title:"اقدامات",units:"واحدها"},meta:{titleAffix:"PixelPlux"},misc:{currencies:"ارز ها",currency:{editCurrency:"ویرایش ارز",name:"نام ارز",nameHint:"نام بازاری ارز که واحد آن نیز میباشد",newCurrency:"ارز جدید",symbol:"علامت یا سمبل",symbolHint:"کاراکتری که معمولا واحد پول را مشخص میکند. برخی واحد ها سمبل ندارند",symbolNative:"سمبل داخلی",symbolNativeHint:"سمبل یا علامتی از ارز که در کشور استفاده میشود"},title:"سرویس های مخلوط"},mockNotice:"شما در حال دیدن نسخه نمایشی هستید. این نسخه دارای بک اند نیست، اطلاعات شما ذخیره نمیشوند و هیچ گارانتی نسبت به کارکردن ماژول ها وجود ندارد.",myClassrooms:{availableClassrooms:"کلاس های درس موجود",noCoursesAvailable:"هیچ دوره ای در اینجا موجود نیست. ممکن است لازم باشد با حساب دیگری وارد شوید تا انحصاری را ببینید",title:"کلاس های درس من",youHaveNoClasses:"شما به هیچ کلاسی اضافه نمی شوید."},networkError:"شما به شبکه متصل نیستید، دریافت داده انجام نشد. اتصال شبکه خود را بررسی کنید",noOptions:"هیچ گزینه نیست، جستجو کنید",noPendingInvite:"شما هیچ دعوت نامه ای برای پیوستن به تیم های دیگری ندارید.",noSignupType:"ساختن اکانت در حال حاضر ممکن نیست، لطفا با مدیریت تماس بگیرید",node:{Oddeven:"زوج/فرد",average:"میانگین",circularInput:"گردی",color:"رنگ",containerLevelValue:"Container",cron:"کرون",delay:"تاخیری",digital:"دیجیتال",interpolate:"اینترپولیت",run:"اجرا",source:"مبدا",start:"شروع",stop:"توقف",switch:"دگمه",target:"مقصد",timer:"تایمر",value:"مقدار",valueGauge:"گیج"},not_found_404:"صفحه ای که به دنبال آن هستید وجود ندارد. ممکن است این قسمت در زبان فارسی موجود نباشد و یا حذف شده باشد.",notfound:"اطلاعات یا ماژول مورد نظر شما در این نسخه از سرور وجود ندارد.",pages:{catalog:"کاتالوگ",feedback:"بازخورد",jobs:"مشاغل من"},payments:{approve:"تایید",reject:"ریجکت"},priceTag:{add:"اضافه کردن قیمت",priceTag:"برچسب قیمتی",priceTagHint:"نوع قیمت گذاری با توجه منطقه یا نوع ارز"},question:{editQuestion:"سوال جدید",newQuestion:"سوال جدید"},questionBank:{editEntity:"بانک سوالات را ویرایش کنید",editQuestion:"ویرایش سوال",name:"نام بانک",newEntity:"بانک سوالات جدید",newQuestion:"سوال جدید",title:"عنوان بانک سوال",titleHint:'بانک سوالات را نام ببرید، مانند "504 سوال برای طراحی برق"'},questionSemester:{editQuestionSemester:"ویرایش دوره سوال",menu:"دوره های سوال",name:"نام دوره",nameHint:"نام دوره سوال معمولا با ماه آزمون یا سوال مرتبط است، مانند تیرماه یا نیم فصل اول",newQuestionSemester:"دوره جدید",questionSemesterArchiveTitle:"دوره های سوال"},questionlevels:{editQuestionLevel:"ویرایش سطح سوال",name:"سطح سوال",nameHint:"نامی که برای سطح سوال انتخاب میکنید، مانند (کشوری، استانی)",newQuestionLevel:"سطح سوال جدید",questionLevelArchiveTitle:"سطوح سوالات"},questions:{addAnswerHint:"برای اضافه کردن پاسخ کلیک کنید",addQuestion:"اضافه کردن سوال",answer:"پاسخ",answerHint:"یکی از پاسخ های سوال و یا تنها پاسخ",durationInSeconds:"زمان پاسخ (ثانیه)",durationInSecondsHint:"مدت زمانی که دانش آموز باید به این سوال پاسخ بدهد.",province:"استان",provinceHint:"استان یا استان هایی که این سوال به آن مربوط است",question:"سوال",questionBank:"بانک سوالات",questionBankHint:"بانک سوالاتی که این سوال به آن تعلق دارد",questionDifficulityLevel:"سطح دشواری",questionDifficulityLevelHint:"درجه سختی حل این سوال برای دانش آموز",questionLevel:"تیپ سوال",questionLevelHint:"سطح سوال به صورت کشوری یا استانی - منطقه ای",questionSchoolType:"نوع مدرسه",questionSchoolTypeHint:"نوع مدرسه ای که این سوالات در آن نشان داده شده اند.",questionSemester:"دوره سوال",questionSemesterHint:"مانند تیر یا دو نوبت کنکور",questionTitle:"صورت سوال",questionTitleHint:"صورت سوال همان چیزی است که باید به آن جواب داده شود.",questions:"سوالات",studyYear:"سال تحصیلی",studyYearHint:"سال تحصیلی که این سوال وارد شده است"},quiz:{editQuiz:"ویرایش مسابقه",name:"نام",newQuiz:"آزمون جدید"},reactiveSearch:{noResults:"جستجو هیچ نتیجه ای نداشت",placeholder:"جستجو (کلید S)..."},requestReset:"درخواست تنظیم مجدد",resume:{clientLocation:"مکان مشتری:",companyLocation:"مکان شرکت فعالیت:",jobCountry:"کشوری که کار در آن انجام شده:",keySkills:"توانایی های کلیدی",level:"سطح",level_1:"آشنایی",level_2:"متوسط",level_3:"کاربر روزمره",level_4:"حرفه ای",level_5:"معمار",noScreenMessage1:"به نسخه چاپی رزومه من خوش آمدید. برای ایجاد تغیرات و اطلاعات بیشتر حتما ادامه رزومه را در گیت هاب به آدرس",noScreenMessage2:"مشاهده کنید. در نسخه گیت هاب میتوانید اصل پروژه ها، ویدیو ها و حتی امکان دسته بندی یا تغییر در رزومه را داشته باشید",preferredPositions:"مشاغل و پروژ های مورد علاقه",products:"محصولات",projectDescription:"توضیحات پروژه",projects:"پروژه ها",services:"توانایی های مستقل",showDescription:"نمایش توضیحات پروژه",showTechnicalInfo:"نمایش اطلاعات فنی پروژه",skillDuration:"مدت مهارت",skillName:"عنوان مهارت",technicalDescription:"اطلاعات فنی",usage:"میزان استفاده",usage_1:"به صورت محدود",usage_2:"گاها",usage_3:"استفاده مرتب",usage_4:"استفاده پیشرفته",usage_5:"استفاده فوق حرفه ای",videos:"ویدیو ها",years:"سال"},role:{name:"نام",permissions:"دسترسی ها"},saveChanges:"ذخیره",scenariolanguages:{archiveTitle:"زبان های سناریو",editScenarioLanguage:"ویرایش زبان سناریو",name:"نام زبان",nameHint:"نام زبان یا ابزار طراحی سناریو",newScenarioLanguage:"ویرایش زبان سناریو"},scenariooperationtypes:{archiveTitle:"انواع عملیات",editScenarioOperationType:"ویرایش نوع عملیات",name:"نام عملیات",nameHint:"عنوانی که این عملیات با آن شناخته میشود",newScenarioOperationType:"عملیات جدید"},scenarios:{archiveTitle:"سناریو ها",editScenario:"ویرایش سناریو",lammerSequences:"دستورات لمر",lammerSequencesHint:"طراحی دستورالعمل مربوط به این سناریو در زبان لمر",name:"نام سناریو",nameHint:"نامی که این سناریو در سطح نرم افزار شناخته میشود",newScenario:"سناریو جدید",script:"کد سناریو",scriptHint:"کد سناریو که هنگام اجرای سناریو باید اجرا شود"},schooltypes:{editSchoolType:"ویرایش نوع مدرسه",menu:"انواع مدرسه",name:"نام مدرسه",nameHint:"نام مدرسه که عموما افراد آن را در سطح کشور میشناسند",newSchoolType:"نوع مدرسه جدید",schoolTypeTitle:"انواع مدارس"},searchplaceholder:"جستجو...",selectPlaceholder:"- انتخاب کنید -",settings:{apply:"ذخیره",inaccessibleRemote:"سرور خارج از دسترس است",interfaceLanguage:"زبان رابط",interfaceLanguageHint:"زبانی که دوست دارید رابط کاربری به شما نشان داده شود",preferredHand:"دست اصلی",preferredHandHint:"از کدام دست بیشتر برای استفاده از موبایل بهره میبرید؟",remoteAddress:"آدرس سرور",serverConnected:"سرور با موفقیت و صحت کار میکند و متصل هستیم",textEditorModule:"ماژول ویرایشگر متن",textEditorModuleHint:"شما می‌توانید بین ویرایشگرهای متنی مختلفی که ما ارائه می‌دهیم، یکی را انتخاب کنید و از ویرایشگرهایی که راحت‌تر هستید استفاده کنید",theme:"قالب",themeHint:"قالب و یا رنگ تم را انتخاب کنید"},signinInstead:"ورود",signup:{continueAs:"ادامه به عنوان {currentUser}",continueAsHint:`با وارد شدن به عنوان {currentUser}، تمام اطلاعات شما، + به صورت آفلاین در رایانه شما، تحت مجوزهای این کاربر + ذخیره می‌شود.`,defaultDescription:"برای ایجاد حساب کاربری لطفا فیلدهای زیر را پر کنید",mobileAuthentication:"In order to login with mobile",signupToWorkspace:"برای ثبت نام به عنوان {roleName}، فیلدهای زیر را پر کنید"},signupButton:"ثبت نام",simpleTextEditor:"باکس ساده سیستم برای متن",studentExams:{history:"سابقه امتحان",noExams:"هیچ امتحانی برای شرکت کردن وجود ندارد",noHistory:"شما هرگز در هیچ نوع امتحانی شرکت نکرده اید، وقتی امتحانی را انتخاب و مطالعه می کنید، در اینجا لیست می شود.",title:"امتحانات"},studentRooms:{title:"کلاس های درس من"},studyYears:{editStudyYear:"ویرایش سال تحصیلی",name:"نام",nameHint:"سال تحصیلی مدت زمان یه دوره مانند سال ۹۴-۹۵ است",newStudyYear:"سال تحصیلی جدید",studyYearArchiveTitle:"سالهای تحصیلی"},table:{created:"ساخته شده",filter:{contains:"شامل",endsWith:"پایان یابد",equal:"برابر",filterPlaceholder:"فیلتر...",greaterThan:"بزرگتر از",greaterThanOrEqual:"بزرگتر یا مساوری",lessThan:"کمتر از",lessThanOrEqual:"کمتر یا مساوی",notContains:"شامل نباشد",notEqual:"برابر نباشد",startsWith:"شروع با"},info:"داده",next:"بعدی",noRecords:"هیچ سابقه ای برای نمایش وجود ندارد. برای ایجاد یکی، دکمه مثبت را فشار دهید.",previous:"قبلی",uniqueId:"شناسه",value:"مقدار"},tempControlWidget:{decrese:"کاهش",increase:"افزایش"},tinymceeditor:"ویرایش گر TinyMCE",triggers:{archiveTitle:"شرط ها",editTrigger:"ویرایش شرط",name:"نام شرط",nameHint:"نامی که این شرط در سطح نرم افزار با آن شناخته میشود.",newTrigger:"شرط جدید",triggerType:"نوغ شرط",triggerTypeCronjob:"شرط زمانی (Cronjob)",triggerTypeCronjobHint:"تعریف شرط بر اساس رخداد های زمانی",triggerTypeGpioValue:"شرط تغییر مقدار",triggerTypeGpioValueHint:"شرط بر اساس تغییر مقدار خروجی یا ورودی",triggerTypeHint:"نوغ شرط",triggerTypeId:"نوع شرط",triggerTypeIdHint:"نوع شرط تعیین کننده نحوه استفاده از این شرط است"},triggertypes:{archiveTitle:"نوع شرط",editTriggerType:"ویرایش نوع شرط",name:"نام نوع شرط",nameHint:"نامی که این نوع شرط با آن شناخته میشود",newTriggerType:"ویرایش نوع شرط"},tuyaDevices:{cloudProjectId:"شناسه پروژه ابری",name:"نام دستگاه Tuya"},unit:{editUnit:"ویرایش واحد",newUnit:"واحد جدید",title:"عنوان"},units:{content:"محتویات",editUnit:"واحد ویرایش",newUnit:"واحد جدید",parentId:"واحد مادر",subUnits:"زیر واحد ها"},unnamedRole:"نقش نامعلوم",unnamedWorkspace:"فضای کاری بی نام",user:{editUser:"ویرایش کاربر",newUser:"کاربر جدید"},users:{firstName:"نام کوچک",lastName:"نام خانوادگی"},webrtcconfig:"پیکربندی WebRTC",widgetPicker:{instructions:"کلید های فلش را از روی کیبرد برای جا به جایی فشار دهید. ",instructionsFlat:`Press Arrows from keyboard to change slide
+ Press Ctrl + Arrows from keyboard to switch to + flat mode`,widgets:"ویدجت ها"},widgets:{noItems:"هیچ ویدجتی در این صفحه وجود ندارد."},wokspaces:{body:"بدن",cascadeNotificationConfig:"پیکربندی اعلان آبشار در فضاهای کاری فرعی",cascadeNotificationConfigHint:"با بررسی این مورد، تمام فضاهای کاری بعدی از این ارائه دهنده ایمیل برای ارسال ایمیل استفاده خواهند کرد. برای محصولاتی که به‌عنوان سرویس آنلاین اجرا می‌شوند، معمولاً می‌خواهید که فضای کاری والد سرور ایمیل را پیکربندی کند. شما ممکن است علامت این را در محصولات بزرگ‌تر که به صورت جهانی اجرا می‌شوند، بردارید و هر فضای کاری باید فضاهای فرعی و پیکربندی ایمیل خود را داشته باشد.",config:"تنظیم تیم",configurateWorkspaceNotification:"سرویس های اطلاع رسانی را پیکربندی کنید",confirmEmailSender:"ثبت نام کاربر ایمیل حساب را تایید کنید",createNewWorkspace:"فضای کاری جدید",customizedTemplate:"ویرایش قالب",disablePublicSignup:"غیر فعال کردن ثبت نام ها",disablePublicSignupHint:"با انتخاب این گزینه هیچ کس نمی تواند به این تیم یا زیر مجموعه های این تیم با فرم ثبت نام آنلاین به صورت خودکار عضو شود.",editWorkspae:"ویرایش فضای کاری",emailSendingConfig:"تنظیمات ارسال ایمیل",emailSendingConfigHint:"نحوه ارسال ایمیل ها و قالب های آنها و ارسال کننده ها را کنترل کنید.",emailSendingConfiguration:"پیکربندی ارسال ایمیل",emailSendingConfigurationHint:"نحوه ارسال ایمیل های سیستمی را کنترل کنید، پیام را سفارشی کنید و غیره.",forceEmailConfigToSubWorkspaces:"استفاده از این تنظیمات برای تیم های زیر مجموعه اجباری باشد",forceEmailConfigToSubWorkspacesHint:"با انتخاب این گزینه، همه تیم های زیر مجموعه باید از همین قالب ها برای ارسال ایمیل استفاده کنند. اطلاعات مختص به این تیم را در این قالب ها قرار ندهید.",forceSubWorkspaceUseConfig:"فضاهای کاری فرعی را مجبور کنید از این پیکربندی ارائه دهنده استفاده کنند",forgetPasswordSender:"دستورالعمل های رمز عبور را فراموش کنید",generalMailProvider:"سرویس اصلی ارسال ایمیل",invite:{createInvitation:"ایجاد دعوت نامه",editInvitation:"ویرایش دعوت نامه",email:"آدرس ایمیل",emailHint:"آدرس ایمیل دعوت کننده، آنها پیوند را با استفاده از این ایمیل دریافت خواهند کرد",firstName:"نام کوچک",firstNameHint:"نام دعوت شده را بنویسید",forcePassport:"کاربر را مجبور کنید فقط با ایمیل یا شماره تلفن تعریف شده ثبت نام کند یا بپیوندد",lastName:"نام خانوادگی",lastNameHint:"نام خانوادگی دعوت شده را بنویسید",name:"نام",phoneNumber:"شماره تلفن",phoneNumberHint:"شماره تلفن دعوت شوندگان، اگر شماره آنها را نیز ارائه دهید، از طریق پیامک دعوتنامه دریافت خواهند کرد",role:"نقش",roleHint:"نقش(هایی) را که می خواهید به کاربر هنگام پیوستن به فضای کاری بدهید، انتخاب کنید. این را می توان بعدا نیز تغییر داد.",roleName:"نام نقش"},inviteToWorkspace:"دعوت به فضای کاری",joinKeyWorkspace:"فضای کار",joinKeyWorkspaceHint:"فضای کاری که برای عموم در دسترس خواهد بود",mailServerConfiguration:"پیکربندی سرور ایمیل",name:"نام",notification:{dialogTitle:"قالب نامه را ویرایش کنید"},publicSignup:"ثبت نام آنلاین و عمومی",publicSignupHint:"این نرم افزار به شما اجازه کنترل نحوه ارسال ایمیل و پیامک، و همچنین نحوه عضو گیری آنلاین را میدهد. در این قسمت میتوانید عضو شدن افراد و ساختن تیم های جدید را کنترل کنید",resetToDefault:"تنظیم مجدد به حالت پیش فرض",role:"نقش",roleHint:"نقش",sender:"فرستنده",sidetitle:"فضاهای کاری",slug:"اسلاگ",title:"عنوان",type:"تایپ کنید",workspaceName:"نام فضای کاری",workspaceNameHint:"نام فضای کاری را وارد کنید",workspaceTypeSlug:"آدرس اسلاگ",workspaceTypeSlugHint:"آدرسی که به صورت عمومی در دسترس خواهد بود و وقتی کسی از این طریق ثبت نام کند رول مشخصی دریافت میکند.",workspaceTypeTitle:"عنوان",workspaceTypeTitleHint:"عنوان ورک اسپیس"}},L8={en:TI,fa:zV};function vn(){const{locale:t}=Ci();return!t||!L8[t]?TI:L8[t]}function U8(t){let e=(t||"").replaceAll(/fbtusid_____(.*)_____/g,Si.REMOTE_SERVICE+"files/$1");return e=(e||"").replaceAll(/directasset_____(.*)_____/g,Si.REMOTE_SERVICE+"$1"),e}function VV(){return{compiler:"unknown"}}function GV(){return{directPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?U8(n.uniqueId):`${Si.REMOTE_SERVICE}files-inline/${n==null?void 0:n.diskPath}`,downloadPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?U8(n.uniqueId):`${Si.REMOTE_SERVICE}files/${n==null?void 0:n.diskPath}`}}const $S=({children:t,isActive:e,skip:n,activeClassName:r,inActiveClassName:i,...o})=>{var y;const u=Ur(),{locale:l}=Ci(),d=o.locale||l||"en",{compiler:h}=VV();let g=(o==null?void 0:o.href)||(u==null?void 0:u.asPath)||"";return typeof g=="string"&&(g!=null&&g.indexOf)&&g.indexOf("http")===0&&(n=!0),typeof g=="string"&&d&&!n&&!g.startsWith(".")&&(g=g?`/${l}`+g:(y=u.pathname)==null?void 0:y.replace("[locale]",d)),e&&(o.className=`${o.className||""} ${r||"active"}`),!e&&i&&(o.className=`${o.className||""} ${i}`),N.jsx(qV,{...o,href:g,compiler:h,children:t})};function WV(){const{session:t,checked:e}=T.useContext(yn),[n,r]=T.useState(!1),i=e&&!t,[o,u]=T.useState(!1);return T.useEffect(()=>{e&&t&&(u(!0),setTimeout(()=>{r(!0)},500))},[e,t]),{session:t,checked:e,needsAuthentication:i,loadComplete:n,setLoadComplete:r,isFading:o}}const ES=({label:t,getInputRef:e,displayValue:n,Icon:r,children:i,errorMessage:o,validMessage:u,value:l,hint:d,onClick:h,onChange:g,className:y,focused:w=!1,hasAnimation:v})=>N.jsxs("div",{style:{position:"relative"},className:Lo("mb-3",y),children:[t&&N.jsx("label",{className:"form-label",children:t}),i,N.jsx("div",{className:"form-text",children:d}),N.jsx("div",{className:"invalid-feedback",children:o}),N.jsx("div",{className:"valid-feedback",children:u})]}),Ff=t=>{const{placeholder:e,label:n,getInputRef:r,secureTextEntry:i,Icon:o,isSubmitting:u,errorMessage:l,onChange:d,value:h,disabled:g,type:y,focused:w=!1,className:v,mutation:C,...E}=t,$=C==null?void 0:C.isLoading;return N.jsx("button",{onClick:t.onClick,type:"submit",disabled:g||$,className:Lo("btn mb-3",`btn-${y||"primary"}`,v),...t,children:t.children||t.label})};function KV(t,e,n={}){var r,i,o,u,l,d,h,g,y,w;if(e.isError){if(((r=e.error)==null?void 0:r.status)===404)return t.notfound+"("+n.remote+")";if(e.error.message==="Failed to fetch")return t.networkError+"("+n.remote+")";if((o=(i=e.error)==null?void 0:i.error)!=null&&o.messageTranslated)return(l=(u=e.error)==null?void 0:u.error)==null?void 0:l.messageTranslated;if((h=(d=e.error)==null?void 0:d.error)!=null&&h.message)return(y=(g=e.error)==null?void 0:g.error)==null?void 0:y.message;let v=(w=e.error)==null?void 0:w.toString();return(v+"").includes("object Object")&&(v="There is an unknown error while getting information, please contact your software provider if issue persists."),v}return null}function Go({query:t,children:e}){var h,g,y,w;const n=vn(),{options:r,setOverrideRemoteUrl:i,overrideRemoteUrl:o}=T.useContext(yn);let u=!1,l="80";try{if(r!=null&&r.prefix){const v=new URL(r==null?void 0:r.prefix);l=v.port||(v.protocol==="https:"?"443":"80"),u=(location.host.includes("192.168")||location.host.includes("127.0"))&&((g=(h=t.error)==null?void 0:h.message)==null?void 0:g.includes("Failed to fetch"))}}catch{}const d=()=>{i("http://"+location.hostname+":"+l+"/")};return t?N.jsxs(N.Fragment,{children:[t.isError&&N.jsxs("div",{className:"basic-error-box fadein",children:[KV(n,t,{remote:r.prefix})||"",u&&N.jsx("button",{className:"btn btn-sm btn-secondary",onClick:d,children:"Auto-reroute"}),o&&N.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>i(void 0),children:"Reset"}),N.jsx("ul",{children:(((w=(y=t.error)==null?void 0:y.error)==null?void 0:w.errors)||[]).map(v=>N.jsxs("li",{children:[v.messageTranslated||v.message," (",v.location,")"]},v.location))}),t.refetch&&N.jsx(Ff,{onClick:t.refetch,children:"Retry"})]}),!t.isError||t.isPreviousData?e:null]}):null}const YV=t=>{const{children:e,forceActive:n,...r}=t,{locale:i,asPath:o}=Ci(),u=T.Children.only(e),l=o===`/${i}`+r.href||o+"/"==`/${i}`+r.href||n;return t.disabled?N.jsx("span",{className:"disabled",children:u}):N.jsx($S,{...r,isActive:l,children:u})};function Wn(t){const{locale:e}=Ci();return!e||e==="en"?t:t["$"+e]?t["$"+e]:t}const QV={setupTotpDescription:'In order to complete account registeration, you need to scan the following code using "Microsoft authenticator" or "Google Authenticator". After that, you need to enter the 6 digit code from the app here.',welcomeBackDescription:"Select any option to continue to access your account.",google:"Google",selectWorkspace:"You have multiple workspaces associated with your account. Select one to continue.",completeYourAccount:"Complete your account",completeYourAccountDescription:"Complete the information below to complete your signup",registerationNotPossibleLine1:"In this project there are no workspace types that can be used publicly to create account.",enterPassword:"Enter Password",welcomeBack:"Welcome back",emailMethod:"Email",phoneMethod:"Phone number",noAuthenticationMethod:"Authentication Currently Unavailable",firstName:"First name",registerationNotPossible:"Registeration not possible.",setupDualFactor:"Setup Dual Factor",cancelStep:"Cancel and try another way.",enterOtp:"Enter OTP",skipTotpInfo:"You can setup this any time later, by visiting your account security section.",continueWithEmailDescription:"Enter your email address to continue.",enterOtpDescription:"We have sent you an one time password, please enter to continue.",continueWithEmail:"Continue with Email",continueWithPhone:"Continue with Phone",registerationNotPossibleLine2:"Contact the service administrator to create your account for you.",useOneTimePassword:"Use one time password instead",changePassword:{pass1Label:"Password",pass2Label:"Repeat password",submit:"Change Password",title:"Change password",description:"In order to change your password, enter new password twice same in the fields"},continueWithPhoneDescription:"Enter your phone number to continue.",lastName:"Last name",password:"Password",continue:"Continue",anotherAccount:"Choose another account",noAuthenticationMethodDescription:"Sign-in and registration are not available in your region at this time. If you believe this is an error or need access, please contact the administrator.",home:{title:"Account & Profile",description:"Manage your account, emails, passwords and more",passports:"Passports",passportsTitle:"Passports",passportsDescription:"View emails, phone numbers associated with your account."},enterTotp:"Enter Totp Code",enterTotpDescription:"Open your authenticator app and enter the 6 digits.",setupTotp:"Setup Dual Factor",skipTotpButton:"Skip for now",userPassports:{title:"Passports",description:"You can see a list of passports that you can use to authenticate into the system here.",add:"Add new passport",remove:"Remove passport"},selectWorkspaceTitle:"Select workspace",chooseAnotherMethod:"Choose another method",enterPasswordDescription:"Enter your password to continue authorizing your account."},JV={registerationNotPossibleLine2:"Skontaktuj się z administratorem usługi, aby utworzył konto dla Ciebie.",chooseAnotherMethod:"Wybierz inną metodę",continue:"Kontynuuj",continueWithPhone:"Kontynuuj za pomocą numeru telefonu",enterPassword:"Wprowadź hasło",noAuthenticationMethod:"Uwierzytelnianie obecnie niedostępne",completeYourAccountDescription:"Uzupełnij poniższe informacje, aby zakończyć rejestrację",registerationNotPossible:"Rejestracja niemożliwa.",selectWorkspace:"Masz wiele przestrzeni roboczych powiązanych z Twoim kontem. Wybierz jedną, aby kontynuować.",welcomeBack:"Witamy ponownie",enterOtp:"Wprowadź jednorazowy kod",enterPasswordDescription:"Wprowadź swoje hasło, aby kontynuować autoryzację konta.",userPassports:{add:"Dodaj nowy paszport",description:"Tutaj możesz zobaczyć listę paszportów, które możesz wykorzystać do uwierzytelniania w systemie.",remove:"Usuń paszport",title:"Paszporty"},registerationNotPossibleLine1:"W tym projekcie nie ma dostępnych typów przestrzeni roboczych do publicznego tworzenia konta.",cancelStep:"Anuluj i spróbuj innej metody.",continueWithEmail:"Kontynuuj za pomocą e-maila",continueWithPhoneDescription:"Wprowadź swój numer telefonu, aby kontynuować.",emailMethod:"E-mail",enterTotp:"Wprowadź kod TOTP",noAuthenticationMethodDescription:"Logowanie i rejestracja są obecnie niedostępne w Twoim regionie. Jeśli uważasz, że to błąd lub potrzebujesz dostępu, skontaktuj się z administratorem.",password:"Hasło",anotherAccount:"Wybierz inne konto",enterTotpDescription:"Otwórz aplikację uwierzytelniającą i wprowadź 6-cyfrowy kod.",firstName:"Imię",phoneMethod:"Numer telefonu",setupDualFactor:"Skonfiguruj uwierzytelnianie dwuskładnikowe",setupTotp:"Skonfiguruj uwierzytelnianie dwuskładnikowe",skipTotpInfo:"Możesz skonfigurować to później, odwiedzając sekcję bezpieczeństwa konta.",welcomeBackDescription:"Wybierz dowolną opcję, aby kontynuować dostęp do swojego konta.",changePassword:{pass1Label:"Hasło",pass2Label:"Powtórz hasło",submit:"Zmień hasło",title:"Zmień hasło",description:"Aby zmienić hasło, wprowadź nowe hasło dwukrotnie w polach poniżej"},lastName:"Nazwisko",useOneTimePassword:"Użyj jednorazowego hasła zamiast tego",completeYourAccount:"Uzupełnij swoje konto",continueWithEmailDescription:"Wprowadź swój adres e-mail, aby kontynuować.",enterOtpDescription:"Wysłaliśmy jednorazowy kod, wprowadź go, aby kontynuować.",google:"Google",home:{description:"Zarządzaj swoim kontem, e-mailami, hasłami i innymi",passports:"Paszporty",passportsDescription:"Zobacz e-maile i numery telefonów powiązane z Twoim kontem.",passportsTitle:"Paszporty",title:"Konto i profil"},selectWorkspaceTitle:"Wybierz przestrzeń roboczą",setupTotpDescription:"Aby zakończyć rejestrację konta, zeskanuj poniższy kod za pomocą aplikacji „Microsoft Authenticator” lub „Google Authenticator”. Następnie wprowadź tutaj 6-cyfrowy kod z aplikacji.",skipTotpButton:"Pomiń na razie"},$r={...QV,$pl:JV};var n1;function Wa(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var XV=0;function I1(t){return"__private_"+XV+++"_"+t}const ZV=t=>{const e=zo(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=T.useState(!1),[o,u]=T.useState(),l=()=>(i(!1),$l.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Bo({queryKey:[$l.NewUrl(t==null?void 0:t.qs)],queryFn:l,...t||{}}),isCompleted:r,response:o}};class $l{}n1=$l;$l.URL="/user/passports";$l.NewUrl=t=>Vo(n1.URL,void 0,t);$l.Method="get";$l.Fetch$=async(t,e,n,r)=>qo(r??n1.NewUrl(t),{method:n1.Method,...n||{}},e);$l.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new vp(u)})=>{e=e||(l=>new vp(l));const u=await n1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};$l.Definition={name:"UserPassports",url:"/user/passports",method:"get",description:"Returns list of passports belongs to an specific user.",out:{envelope:"GResponse",fields:[{name:"value",description:"The passport value, such as email address or phone number",type:"string"},{name:"uniqueId",description:"Unique identifier of the passport to operate some action on top of it",type:"string"},{name:"type",description:"The type of the passport, such as email, phone number",type:"string"},{name:"totpConfirmed",description:"Regardless of the secret, user needs to confirm his secret. There is an extra action to confirm user totp, could be used after signup or prior to login.",type:"bool"}]}};var gh=I1("value"),yh=I1("uniqueId"),vh=I1("type"),bh=I1("totpConfirmed"),TC=I1("isJsonAppliable");class vp{get value(){return Wa(this,gh)[gh]}set value(e){Wa(this,gh)[gh]=String(e)}setValue(e){return this.value=e,this}get uniqueId(){return Wa(this,yh)[yh]}set uniqueId(e){Wa(this,yh)[yh]=String(e)}setUniqueId(e){return this.uniqueId=e,this}get type(){return Wa(this,vh)[vh]}set type(e){Wa(this,vh)[vh]=String(e)}setType(e){return this.type=e,this}get totpConfirmed(){return Wa(this,bh)[bh]}set totpConfirmed(e){Wa(this,bh)[bh]=!!e}setTotpConfirmed(e){return this.totpConfirmed=e,this}constructor(e=void 0){if(Object.defineProperty(this,TC,{value:eG}),Object.defineProperty(this,gh,{writable:!0,value:""}),Object.defineProperty(this,yh,{writable:!0,value:""}),Object.defineProperty(this,vh,{writable:!0,value:""}),Object.defineProperty(this,bh,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Wa(this,TC)[TC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.type!==void 0&&(this.type=n.type),n.totpConfirmed!==void 0&&(this.totpConfirmed=n.totpConfirmed)}toJSON(){return{value:Wa(this,gh)[gh],uniqueId:Wa(this,yh)[yh],type:Wa(this,vh)[vh],totpConfirmed:Wa(this,bh)[bh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",uniqueId:"uniqueId",type:"type",totpConfirmed:"totpConfirmed"}}static from(e){return new vp(e)}static with(e){return new vp(e)}copyWith(e){return new vp({...this.toJSON(),...e})}clone(){return new vp(this.toJSON())}}function eG(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const tG=()=>{const t=Wn($r),{goBack:e}=Ur(),n=ZV({}),{signout:r}=T.useContext(yn);return{goBack:e,signout:r,query:n,s:t}},nG=({})=>{var i,o;const{query:t,s:e,signout:n}=tG(),r=((o=(i=t==null?void 0:t.data)==null?void 0:i.data)==null?void 0:o.items)||[];return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:e.userPassports.title}),N.jsx("p",{children:e.userPassports.description}),N.jsx(Go,{query:t}),N.jsx(rG,{passports:r}),N.jsx("button",{className:"btn btn-danger mt-3 w-100",onClick:n,children:"Signout"})]})},rG=({passports:t})=>{const e=Wn($r);return N.jsx("div",{className:"d-flex ",children:t.map(n=>N.jsxs("div",{className:"card p-3 w-100",children:[N.jsx("h3",{className:"card-title",children:n.type.toUpperCase()}),N.jsx("p",{className:"card-text",children:n.value}),N.jsxs("p",{className:"text-muted",children:["TOTP: ",n.totpConfirmed?"Yes":"No"]}),N.jsx(YV,{href:`../change-password/${n.uniqueId}`,children:N.jsx("button",{className:"btn btn-primary",children:e.changePassword.submit})})]},n.uniqueId))})},iG={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var _C={exports:{}},AC,j8;function aG(){if(j8)return AC;j8=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return AC=t,AC}var RC,B8;function oG(){if(B8)return RC;B8=1;var t=aG();function e(){}function n(){}return n.resetWarningCache=e,RC=function(){function r(u,l,d,h,g,y){if(y!==t){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:e};return o.PropTypes=o,o},RC}var q8;function sG(){return q8||(q8=1,_C.exports=oG()()),_C.exports}var Ue=sG();const Te=If(Ue);function uG(t,e,n){switch(n){case"Backspace":e>0&&(t=t.slice(0,e-1)+t.slice(e),e--);break;case"Delete":t=t.slice(0,e)+t.slice(e+1);break}return{value:t,caret:e}}function lG(t,e,n){for(var r={},i="",o=0,u=0;uu&&(o=i.length))),u++}e===void 0&&(o=i.length);var d={value:i,caret:o};return d}function cG(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=fG(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 fG(t,e){if(t){if(typeof t=="string")return H8(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H8(t,e)}}function H8(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",i=t.length,o=VE("(",t),u=VE(")",t),l=o-u;l>0&&i=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 pG(t,e){if(t){if(typeof t=="string")return z8(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z8(t,e)}}function z8(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!t)return function(i){return{text:i}};var r=VE(e,t);return function(i){if(!i)return{text:"",template:t};for(var o=0,u="",l=hG(t.split("")),d;!(d=l()).done;){var h=d.value;if(h!==e){u+=h;continue}if(u+=i[o],o++,o===i.length&&i.length=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function AG(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function RG(t){var e=t.ref,n=t.parse,r=t.format,i=t.value,o=t.defaultValue,u=t.controlled,l=u===void 0?!0:u,d=t.onChange,h=t.onKeyDown,g=_G(t,OG),y=T.useRef(),w=T.useCallback(function($){y.current=$,e&&(typeof e=="function"?e($):e.current=$)},[e]),v=T.useCallback(function($){return $G($,y.current,n,r,d)},[y,n,r,d]),C=T.useCallback(function($){if(h&&h($),!$.defaultPrevented)return EG($,y.current,n,r,d)},[y,n,r,d,h]),E=wg(wg({},g),{},{ref:w,onChange:v,onKeyDown:C});return l?wg(wg({},E),{},{value:r(W8(i)?"":i).text}):wg(wg({},E),{},{defaultValue:r(W8(o)?"":o).text})}function W8(t){return t==null}var PG=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function K8(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function IG(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function kG(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Lw(t,e){var n=t.inputComponent,r=n===void 0?"input":n,i=t.parse,o=t.format,u=t.value,l=t.defaultValue,d=t.onChange,h=t.controlled,g=t.onKeyDown,y=t.type,w=y===void 0?"text":y,v=MG(t,PG),C=RG(IG({ref:e,parse:i,format:o,value:u,defaultValue:l,onChange:d,controlled:h,onKeyDown:g,type:w},v));return Ae.createElement(r,C)}Lw=Ae.forwardRef(Lw);Lw.propTypes={parse:Te.func.isRequired,format:Te.func.isRequired,inputComponent:Te.elementType,type:Te.string,value:Te.string,defaultValue:Te.string,onChange:Te.func,controlled:Te.bool,onKeyDown:Te.func,onCut:Te.func,onPaste:Te.func};function Y8(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var o=Number(n[i]),u=Number(r[i]);if(o>u)return 1;if(u>o)return-1;if(!isNaN(o)&&isNaN(u))return 1;if(isNaN(o)&&!isNaN(u))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]o?"TOO_SHORT":i[i.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function GG(t,e,n){if(e===void 0&&(e={}),n=new Dr(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return NI(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function NI(t,e){switch(TS(t,e)){case"IS_POSSIBLE":return!0;default:return!1}}function El(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function WG(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=KG(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 KG(t,e){if(t){if(typeof t=="string")return Z8(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z8(t,e)}}function Z8(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0}var IO=2,ZG=17,eW=3,ua="0-90-9٠-٩۰-۹",tW="-‐-―−ー-",nW="//",rW="..",iW="  ­​⁠ ",aW="()()[]\\[\\]",oW="~⁓∼~",Ms="".concat(tW).concat(nW).concat(rW).concat(iW).concat(aW).concat(oW),_S="++",sW=new RegExp("(["+ua+"])");function MI(t,e,n,r){if(e){var i=new Dr(r);i.selectNumberingPlan(e,n);var o=new RegExp(i.IDDPrefix());if(t.search(o)===0){t=t.slice(t.match(o)[0].length);var u=t.match(sW);if(!(u&&u[1]!=null&&u[1].length>0&&u[1]==="0"))return t}}}function KE(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,o,u=r.length-1,l=u>0&&r[u];if(e.nationalPrefixTransformRule()&&l)i=t.replace(n,e.nationalPrefixTransformRule()),u>1&&(o=r[1]);else{var d=r[0];i=t.slice(d.length),l&&(o=r[1])}var h;if(l){var g=t.indexOf(r[1]),y=t.slice(0,g);y===e.numberingPlan.nationalPrefix()&&(h=e.numberingPlan.nationalPrefix())}else h=r[0];return{nationalNumber:i,nationalPrefix:h,carrierCode:o}}}return{nationalNumber:t}}function YE(t,e){var n=KE(t,e),r=n.carrierCode,i=n.nationalNumber;if(i!==t){if(!uW(t,i,e))return{nationalNumber:t};if(e.possibleLengths()&&!lW(i,e))return{nationalNumber:t}}return{nationalNumber:i,carrierCode:r}}function uW(t,e,n){return!(El(t,n.nationalNumberPattern())&&!El(e,n.nationalNumberPattern()))}function lW(t,e){switch(TS(t,e)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function kI(t,e,n,r){var i=e?Lf(e,r):n;if(t.indexOf(i)===0){r=new Dr(r),r.selectNumberingPlan(e,n);var o=t.slice(i.length),u=YE(o,r),l=u.nationalNumber,d=YE(t,r),h=d.nationalNumber;if(!El(h,r.nationalNumberPattern())&&El(l,r.nationalNumberPattern())||TS(h,r)==="TOO_LONG")return{countryCallingCode:i,number:o}}return{number:t}}function NO(t,e,n,r){if(!t)return{};var i;if(t[0]!=="+"){var o=MI(t,e,n,r);if(o&&o!==t)i=!0,t="+"+o;else{if(e||n){var u=kI(t,e,n,r),l=u.countryCallingCode,d=u.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:t}}}if(t[1]==="0")return{};r=new Dr(r);for(var h=2;h-1<=eW&&h<=t.length;){var g=t.slice(1,h);if(r.hasCallingCode(g))return r.selectNumberingPlan(g),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:g,number:t.slice(h)};h++}return{}}function DI(t){return t.replace(new RegExp("[".concat(Ms,"]+"),"g")," ").trim()}var FI=/(\$\d)/;function LI(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var o=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(FI,e.nationalPrefixFormattingRule()):e.format());return r?DI(o):o}var cW=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function fW(t,e,n){var r=new Dr(n);if(r.selectNumberingPlan(t,e),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(cW.test(r.IDDPrefix()))return r.IDDPrefix()}var dW=";ext=",Sg=function(e){return"([".concat(ua,"]{1,").concat(e,"})")};function UI(t){var e="20",n="15",r="9",i="6",o="[  \\t,]*",u="[:\\..]?[  \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",h="(?:[xx##~~]|int|int)",g="[- ]+",y="[  \\t]*",w="(?:,{2}|;)",v=dW+Sg(e),C=o+d+u+Sg(e)+l,E=o+h+u+Sg(r)+l,$=g+Sg(i)+"#",O=y+w+u+Sg(n)+l,_=y+"(?:,)+"+u+Sg(r)+l;return v+"|"+C+"|"+E+"|"+$+"|"+O+"|"+_}var hW="["+ua+"]{"+IO+"}",pW="["+_S+"]{0,1}(?:["+Ms+"]*["+ua+"]){3,}["+Ms+ua+"]*",mW=new RegExp("^["+_S+"]{0,1}(?:["+Ms+"]*["+ua+"]){1,2}$","i"),gW=pW+"(?:"+UI()+")?",yW=new RegExp("^"+hW+"$|^"+gW+"$","i");function vW(t){return t.length>=IO&&yW.test(t)}function bW(t){return mW.test(t)}function wW(t){var e=t.number,n=t.ext;if(!e)return"";if(e[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}function SW(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=CW(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 CW(t,e){if(t){if(typeof t=="string")return eR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eR(t,e)}}function eR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0){var o=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(e.search(o)!==0)continue}if(El(e,i.pattern()))return i}}function IC(t,e,n,r){return e?r(t,e,n):t}function OW(t,e,n,r,i){var o=Lf(r,i.metadata);if(o===n){var u=Uw(t,e,"NATIONAL",i);return n==="1"?n+" "+u:u}var l=fW(r,void 0,i.metadata);if(l)return"".concat(l," ").concat(n," ").concat(Uw(t,null,"INTERNATIONAL",i))}function iR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function aR(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function UW(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function r1(t,e){return r1=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},r1(t,e)}function i1(t){return i1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i1(t)}var bl=(function(t){DW(n,t);var e=FW(n);function n(r){var i;return kW(this,n),i=e.call(this,r),Object.setPrototypeOf(BI(i),n.prototype),i.name=i.constructor.name,i}return MW(n)})(JE(Error)),oR=new RegExp("(?:"+UI()+")$","i");function jW(t){var e=t.search(oR);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(oR),i=1;i=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 qW(t,e){if(t){if(typeof t=="string")return sR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sR(t,e)}}function sR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 VW(t,e){if(t){if(typeof t=="string")return uR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uR(t,e)}}function uR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 WW(t,e){if(t){if(typeof t=="string")return lR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lR(t,e)}}function lR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}function iK(t){return t===null?!0:t.length===0?!1:QW.test(t)||tK.test(t)}function aK(t,e){var n=e.extractFormattedPhoneNumber,r=rK(t);if(!iK(r))throw new bl("NOT_A_NUMBER");var i;if(r===null)i=n(t)||"";else{i="",r.charAt(0)===WI&&(i+=r);var o=t.indexOf(fR),u;o>=0?u=o+fR.length:u=0;var l=t.indexOf(ex);i+=t.substring(u,l)}var d=i.indexOf(nK);if(d>0&&(i=i.substring(0,d)),i!=="")return i}var oK=250,sK=new RegExp("["+_S+ua+"]"),uK=new RegExp("[^"+ua+"#]+$");function lK(t,e,n){if(e=e||{},n=new Dr(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry))throw e.v2?new bl("INVALID_COUNTRY"):new Error("Unknown country: ".concat(e.defaultCountry));var r=fK(t,e.v2,e.extract),i=r.number,o=r.ext,u=r.error;if(!i){if(e.v2)throw u==="TOO_SHORT"?new bl("TOO_SHORT"):new bl("NOT_A_NUMBER");return{}}var l=hK(i,e.defaultCountry,e.defaultCallingCode,n),d=l.country,h=l.nationalNumber,g=l.countryCallingCode,y=l.countryCallingCodeSource,w=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(e.v2)throw new bl("INVALID_COUNTRY");return{}}if(!h||h.lengthZG){if(e.v2)throw new bl("TOO_LONG");return{}}if(e.v2){var v=new jI(g,h,n.metadata);return d&&(v.country=d),w&&(v.carrierCode=w),o&&(v.ext=o),v.__countryCallingCodeSource=y,v}var C=(e.extended?n.hasSelectedNumberingPlan():d)?El(h,n.nationalNumberPattern()):!1;return e.extended?{country:d,countryCallingCode:g,carrierCode:w,valid:C,possible:C?!0:!!(e.extended===!0&&n.possibleLengths()&&NI(h,n)),phone:h,ext:o}:C?dK(d,h,o):{}}function cK(t,e,n){if(t){if(t.length>oK){if(n)throw new bl("TOO_LONG");return}if(e===!1)return t;var r=t.search(sK);if(!(r<0))return t.slice(r).replace(uK,"")}}function fK(t,e,n){var r=aK(t,{extractFormattedPhoneNumber:function(u){return cK(u,n,e)}});if(!r)return{};if(!vW(r))return bW(r)?{error:"TOO_SHORT"}:{};var i=jW(r);return i.ext?i:{number:r}}function dK(t,e,n){var r={country:t,phone:e};return n&&(r.ext=n),r}function hK(t,e,n,r){var i=NO(XE(t),e,n,r.metadata),o=i.countryCallingCodeSource,u=i.countryCallingCode,l=i.number,d;if(u)r.selectNumberingPlan(u);else if(l&&(e||n))r.selectNumberingPlan(e,n),e&&(d=e),u=n||Lf(e,r.metadata);else return{};if(!l)return{countryCallingCodeSource:o,countryCallingCode:u};var h=YE(XE(l),r),g=h.nationalNumber,y=h.carrierCode,w=GI(u,{nationalNumber:g,defaultCountry:e,metadata:r});return w&&(d=w,w==="001"||r.country(d)),{country:d,countryCallingCode:u,countryCallingCodeSource:o,nationalNumber:g,carrierCode:y}}function dR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function hR(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 IK(t,e){if(t){if(typeof t=="string")return vR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vR(t,e)}}function vR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1;)e&1&&(n+=t),e>>=1,t+=t;return n+t}function bR(t,e){return t[e]===")"&&e++,NK(t.slice(0,e))}function NK(t){for(var e=[],n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 GK(t,e){if(t){if(typeof t=="string")return CR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CR(t,e)}}function CR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:{},i=r.allowOverflow;if(!n)throw new Error("String is required");var o=tx(n.split(""),this.matchTree,!0);if(o&&o.match&&delete o.matchedChars,!(o&&o.overflow&&!i))return o}}]),t})();function tx(t,e,n){if(typeof e=="string"){var r=t.join("");return e.indexOf(r)===0?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:r.indexOf(e)===0?n&&t.length>e.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var i=t.slice(),o=0;o=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 JK(t,e){if(t){if(typeof t=="string")return ER(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ER(t,e)}}function ER(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)){var i=this.getTemplateForFormat(n,r);if(i)return this.setNationalNumberTemplate(i,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&rY.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var i=n.IDDPrefix,o=n.missingPlus;return i?r&&r.spacing===!1?i:i+" ":o?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,i=0,o=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";ih.length)){var g=new RegExp("^"+d+"$"),y=i.replace(/\d/g,nx);g.test(y)&&(h=y);var w=this.getFormatFormat(n,o),v;if(this.shouldTryNationalPrefixFormattingRule(n,{international:o,nationalPrefix:u})){var C=w.replace(FI,n.nationalPrefixFormattingRule());if(jw(n.nationalPrefixFormattingRule())===(u||"")+jw("$1")&&(w=C,v=!0,u))for(var E=u.length;E>0;)w=w.replace(/\d/,As),E--}var $=h.replace(new RegExp(d),w).replace(new RegExp(nx,"g"),As);return v||(l?$=mw(As,l.length)+" "+$:u&&($=mw(As,u.length)+this.getSeparatorAfterNationalPrefix(n)+$)),o&&($=DI($)),$}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=MK(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],bR(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var i=r.international,o=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var u=n.usesNationalPrefix();if(u&&o||!u&&!i)return!0}}}]),t})();function KI(t,e){return fY(t)||cY(t,e)||lY(t,e)||uY()}function uY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lY(t,e){if(t){if(typeof t=="string")return OR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OR(t,e)}}function OR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=3;if(r.appendDigits(n),o&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(u){return r.update(u)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,i=n.callingCode;return r&&!i}},{key:"extractCountryCallingCode",value:function(n){var r=NO("+"+n.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode,o=r.number;if(i)return n.setCallingCode(i),n.update({nationalSignificantNumber:o}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&bY.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var i=KE(n,this.metadata),o=i.nationalPrefix,u=i.nationalNumber,l=i.carrierCode;if(u!==n)return this.onExtractedNationalNumber(o,l,u,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,i){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,i);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var o=KE(n,this.metadata),u=o.nationalPrefix,l=o.nationalNumber,d=o.carrierCode;if(l!==r)return this.onExtractedNationalNumber(u,d,l,n,i),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,i,o,u){var l,d,h=o.lastIndexOf(i);if(h>=0&&h===o.length-i.length){d=!0;var g=o.slice(0,h);g!==n&&(l=g)}u({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:i,nationalSignificantNumberMatchesInput:d,complexPrefixBeforeNationalSignificantNumber:l}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(n){if(this.extractAnotherNationalSignificantNumber(n.getNationalDigits(),n.nationalSignificantNumber,function(r){return n.update(r)}))return!0;if(this.extractIddPrefix(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0;if(this.fixMissingPlus(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0}},{key:"extractIddPrefix",value:function(n){var r=n.international,i=n.IDDPrefix,o=n.digits;if(n.nationalSignificantNumber,!(r||i)){var u=MI(o,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(u!==void 0&&u!==o)return n.update({IDDPrefix:o.slice(0,o.length-u.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=kI(n.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode;if(r.number,i)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:i}),!0}}},{key:"startInternationalNumber",value:function(n,r){var i=r.country,o=r.callingCode;n.startInternationalNumber(i,o),n.nationalSignificantNumber&&(n.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(n){this.extractCountryCallingCode(n)&&this.extractNationalSignificantNumber(n.getNationalDigits(),function(r){return n.update(r)})}}]),t})();function SY(t){var e=t.search(yY);if(!(e<0)){t=t.slice(e);var n;return t[0]==="+"&&(n=!0,t=t.slice(1)),t=t.replace(vY,""),n&&(t="+"+t),t}}function CY(t){var e=SY(t)||"";return e[0]==="+"?[e.slice(1),!0]:[e]}function $Y(t){var e=CY(t),n=KI(e,2),r=n[0],i=n[1];return gY.test(r)||(r=""),[r,i]}function EY(t,e){return _Y(t)||TY(t,e)||OY(t,e)||xY()}function xY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OY(t,e){if(t){if(typeof t=="string")return TR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TR(t,e)}}function TR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(GI(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,i=n.callingCode,o=n.country,u=n.nationalSignificantNumber;if(r){if(this.isInternational())return i?"+"+i+u:"+"+r;if(o||i){var l=o?this.metadata.countryCallingCode():i;return"+"+l+u}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,i=n.carrierCode,o=n.callingCode,u=this._getCountry();if(r&&!(!u&&!o)){if(u&&u===this.defaultCountry){var l=new Dr(this.metadata.metadata);l.selectNumberingPlan(u);var d=l.numberingPlan.callingCode(),h=this.metadata.getCountryCodesForCallingCode(d);if(h.length>1){var g=VI(r,{countries:h,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});g&&(u=g)}}var y=new jI(u||o,r,this.metadata.metadata);return i&&(y.carrierCode=i),y}}},{key:"isPossible",value:function(){var n=this.getNumber();return n?n.isPossible():!1}},{key:"isValid",value:function(){var n=this.getNumber();return n?n.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),t})();function _R(t){return new Dr(t).getCountries()}function IY(t,e,n){return n||(n=e,e=void 0),new ry(e,n).input(t)}function YI(t){var e=t.inputFormat,n=t.country,r=t.metadata;return e==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(Lf(n,r)):""}function rx(t,e){return e&&(t=t.slice(e.length),t[0]===" "&&(t=t.slice(1))),t}function NY(t,e,n){if(!(n&&n.ignoreRest)){var r=function(o){if(n)switch(o){case"end":n.ignoreRest=!0;break}};return zI(t,e,r)}}function QI(t){var e=t.onKeyDown,n=t.inputFormat;return T.useCallback(function(r){if(r.keyCode===kY&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&MY(r.target)===DY.length){r.preventDefault();return}e&&e(r)},[e,n])}function MY(t){return t.selectionStart}var kY=8,DY="+",FY=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function ix(){return ix=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function UY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function jY(t){function e(n,r){var i=n.onKeyDown,o=n.country,u=n.inputFormat,l=n.metadata,d=l===void 0?t:l;n.international,n.withCountryCallingCode;var h=LY(n,FY),g=T.useCallback(function(w){var v=new ry(o,d),C=YI({inputFormat:u,country:o,metadata:d}),E=v.input(C+w),$=v.getTemplate();return C&&(E=rx(E,C),$&&($=rx($,C))),{text:E,template:$}},[o,d]),y=QI({onKeyDown:i,inputFormat:u});return Ae.createElement(Lw,ix({},h,{ref:r,parse:NY,format:g,onKeyDown:y}))}return e=Ae.forwardRef(e),e.propTypes={value:Te.string.isRequired,onChange:Te.func.isRequired,onKeyDown:Te.func,country:Te.string,inputFormat:Te.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Te.object},e}const BY=jY();var qY=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function ax(){return ax=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function zY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function VY(t){function e(n,r){var i=n.value,o=n.onChange,u=n.onKeyDown,l=n.country,d=n.inputFormat,h=n.metadata,g=h===void 0?t:h,y=n.inputComponent,w=y===void 0?"input":y;n.international,n.withCountryCallingCode;var v=HY(n,qY),C=YI({inputFormat:d,country:l,metadata:g}),E=T.useCallback(function(O){var _=XE(O.target.value);if(_===i){var R=AR(C,_,l,g);R.indexOf(O.target.value)===0&&(_=_.slice(0,-1))}o(_)},[C,i,o,l,g]),$=QI({onKeyDown:u,inputFormat:d});return Ae.createElement(w,ax({},v,{ref:r,value:AR(C,i,l,g),onChange:E,onKeyDown:$}))}return e=Ae.forwardRef(e),e.propTypes={value:Te.string.isRequired,onChange:Te.func.isRequired,onKeyDown:Te.func,country:Te.string,inputFormat:Te.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Te.object,inputComponent:Te.elementType},e}const GY=VY();function AR(t,e,n,r){return rx(IY(t+e,n,r),t)}function WY(t){return RR(t[0])+RR(t[1])}function RR(t){return String.fromCodePoint(127397+t.toUpperCase().charCodeAt(0))}var KY=["value","onChange","options","disabled","readOnly"],YY=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function QY(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=JY(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 JY(t,e){if(t){if(typeof t=="string")return PR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return PR(t,e)}}function PR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function XY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function XI(t){var e=t.value,n=t.onChange,r=t.options,i=t.disabled,o=t.readOnly,u=JI(t,KY),l=T.useCallback(function(d){var h=d.target.value;n(h==="ZZ"?void 0:h)},[n]);return T.useMemo(function(){return eN(r,e)},[r,e]),Ae.createElement("select",Bw({},u,{disabled:i||o,readOnly:o,value:e||"ZZ",onChange:l}),r.map(function(d){var h=d.value,g=d.label,y=d.divider;return Ae.createElement("option",{key:y?"|":h||"ZZ",value:y?"|":h||"ZZ",disabled:!!y,style:y?ZY:void 0},g)}))}XI.propTypes={value:Te.string,onChange:Te.func.isRequired,options:Te.arrayOf(Te.shape({value:Te.string,label:Te.string,divider:Te.bool})).isRequired,disabled:Te.bool,readOnly:Te.bool};var ZY={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function ZI(t){var e=t.value,n=t.options,r=t.className,i=t.iconComponent;t.getIconAspectRatio;var o=t.arrowComponent,u=o===void 0?eQ:o,l=t.unicodeFlags,d=JI(t,YY),h=T.useMemo(function(){return eN(n,e)},[n,e]);return Ae.createElement("div",{className:"PhoneInputCountry"},Ae.createElement(XI,Bw({},d,{value:e,options:n,className:Lo("PhoneInputCountrySelect",r)})),h&&(l&&e?Ae.createElement("div",{className:"PhoneInputCountryIconUnicode"},WY(e)):Ae.createElement(i,{"aria-hidden":!0,country:e,label:h.label,aspectRatio:l?1:void 0})),Ae.createElement(u,null))}ZI.propTypes={iconComponent:Te.elementType,arrowComponent:Te.elementType,unicodeFlags:Te.bool};function eQ(){return Ae.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function eN(t,e){for(var n=QY(t),r;!(r=n()).done;){var i=r.value;if(!i.divider&&tQ(i.value,e))return i}}function tQ(t,e){return t==null?e==null:t===e}var nQ=["country","countryName","flags","flagUrl"];function ox(){return ox=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function iQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function MO(t){var e=t.country,n=t.countryName,r=t.flags,i=t.flagUrl,o=rQ(t,nQ);return r&&r[e]?r[e]({title:n}):Ae.createElement("img",ox({},o,{alt:n,role:n?void 0:"presentation",src:i.replace("{XX}",e).replace("{xx}",e.toLowerCase())}))}MO.propTypes={country:Te.string.isRequired,countryName:Te.string.isRequired,flags:Te.objectOf(Te.elementType),flagUrl:Te.string.isRequired};var aQ=["aspectRatio"],oQ=["title"],sQ=["title"];function qw(){return qw=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function uQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function AS(t){var e=t.aspectRatio,n=kO(t,aQ);return e===1?Ae.createElement(nN,n):Ae.createElement(tN,n)}AS.propTypes={title:Te.string.isRequired,aspectRatio:Te.number};function tN(t){var e=t.title,n=kO(t,oQ);return Ae.createElement("svg",qw({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),Ae.createElement("title",null,e),Ae.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},Ae.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),Ae.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),Ae.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),Ae.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),Ae.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),Ae.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),Ae.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}tN.propTypes={title:Te.string.isRequired};function nN(t){var e=t.title,n=kO(t,sQ);return Ae.createElement("svg",qw({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),Ae.createElement("title",null,e),Ae.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},Ae.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),Ae.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),Ae.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),Ae.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),Ae.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),Ae.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),Ae.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}nN.propTypes={title:Te.string.isRequired};function lQ(t){if(t.length<2||t[0]!=="+")return!1;for(var e=1;e=48&&n<=57))return!1;e++}return!0}function rN(t){lQ(t)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",t)}function cQ(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=fQ(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 fQ(t,e){if(t){if(typeof t=="string")return IR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IR(t,e)}}function IR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0))return t}function RS(t,e){return PI(t,e)?!0:(console.error("Country not found: ".concat(t)),!1)}function iN(t,e){return t&&(t=t.filter(function(n){return RS(n,e)}),t.length===0&&(t=void 0)),t}var pQ=["country","label","aspectRatio"];function sx(){return sx=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function gQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function aN(t){var e=t.flags,n=t.flagUrl,r=t.flagComponent,i=t.internationalIcon;function o(u){var l=u.country,d=u.label,h=u.aspectRatio,g=mQ(u,pQ),y=i===AS?h:void 0;return Ae.createElement("div",sx({},g,{className:Lo("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":y===1,"PhoneInputCountryIcon--border":l})}),l?Ae.createElement(r,{country:l,countryName:d,flags:e,flagUrl:n,className:"PhoneInputCountryIconImg"}):Ae.createElement(i,{title:d,aspectRatio:y,className:"PhoneInputCountryIconImg"}))}return o.propTypes={country:Te.string,label:Te.string.isRequired,aspectRatio:Te.number},o}aN({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:MO,internationalIcon:AS});function yQ(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=vQ(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 vQ(t,e){if(t){if(typeof t=="string")return NR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return NR(t,e)}}function NR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(d=i()),d}function CQ(t){var e=t.countries,n=t.countryNames,r=t.addInternationalOption,i=t.compareStringsLocales,o=t.compareStrings;o||(o=AQ);var u=e.map(function(l){return{value:l,label:n[l]||l}});return u.sort(function(l,d){return o(l.label,d.label,i)}),r&&u.unshift({label:n.ZZ}),u}function uN(t,e){return OK(t||"",e)}function $Q(t){return t.formatNational().replace(/\D/g,"")}function EQ(t,e){var n=e.prevCountry,r=e.newCountry,i=e.metadata,o=e.useNationalFormat;if(n===r)return t;if(!t)return o?"":r?Sl(r,i):"";if(r){if(t[0]==="+"){if(o)return t.indexOf("+"+Lf(r,i))===0?RQ(t,r,i):"";if(n){var u=Sl(r,i);return t.indexOf(u)===0?t:u}else{var l=Sl(r,i);return t.indexOf(l)===0?t:l}}}else if(t[0]!=="+")return Og(t,n,i)||"";return t}function Og(t,e,n){if(t){if(t[0]==="+"){if(t==="+")return;var r=new ry(e,n);return r.input(t),r.getNumberValue()}if(e){var i=cN(t,e,n);return"+".concat(Lf(e,n)).concat(i||"")}}}function xQ(t,e,n){var r=cN(t,e,n);if(r){var i=r.length-OQ(e,n);if(i>0)return t.slice(0,t.length-i)}return t}function OQ(t,e){return e=new Dr(e),e.selectNumberingPlan(t),e.numberingPlan.possibleLengths()[e.numberingPlan.possibleLengths().length-1]}function lN(t,e){var n=e.country,r=e.countries,i=e.defaultCountry,o=e.latestCountrySelectedByUser,u=e.required,l=e.metadata;if(t==="+")return n;var d=_Q(t,l);if(d)return!r||r.indexOf(d)>=0?d:void 0;if(n){if(Ug(t,n,l)){if(o&&Ug(t,o,l))return o;if(i&&Ug(t,i,l))return i;if(!u)return}else if(!u)return}return n}function TQ(t,e){var n=e.prevPhoneDigits,r=e.country,i=e.defaultCountry,o=e.latestCountrySelectedByUser,u=e.countryRequired,l=e.getAnyCountry,d=e.countries,h=e.international,g=e.limitMaxLength,y=e.countryCallingCodeEditable,w=e.metadata;if(h&&y===!1&&r){var v=Sl(r,w);if(t.indexOf(v)!==0){var C,E=t&&t[0]!=="+";return E?(t=v+t,C=Og(t,r,w)):t=v,{phoneDigits:t,value:C,country:r}}}h===!1&&r&&t&&t[0]==="+"&&(t=MR(t,r,w)),t&&r&&g&&(t=xQ(t,r,w)),t&&t[0]!=="+"&&(!r||h)&&(t="+"+t),!t&&n&&n[0]==="+"&&(h?r=void 0:r=i),t==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var $;return t&&(t[0]==="+"&&(t==="+"||r&&Sl(r,w).indexOf(t)===0)?$=void 0:$=Og(t,r,w)),$&&(r=lN($,{country:r,countries:d,defaultCountry:i,latestCountrySelectedByUser:o,required:!1,metadata:w}),h===!1&&r&&t&&t[0]==="+"&&(t=MR(t,r,w),$=Og(t,r,w))),!r&&u&&(r=i||l()),{phoneDigits:t,country:r,value:$}}function MR(t,e,n){if(t.indexOf(Sl(e,n))===0){var r=new ry(e,n);r.input(t);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}else return t.replace(/\D/g,"")}function _Q(t,e){var n=new ry(null,e);return n.input(t),n.getCountry()}function AQ(t,e,n){return String.prototype.localeCompare?t.localeCompare(e,n):te?1:0}function RQ(t,e,n){if(e){var r="+"+Lf(e,n);if(t.length=0)&&(L=P.country):(L=lN(u,{country:void 0,countries:F,metadata:r}),L||o&&u.indexOf(Sl(o,r))===0&&(L=o))}var q;if(u){if($){var Y=L?$===L:Ug(u,$,r);Y?L||(L=$):q={latestCountrySelectedByUser:void 0}}}else q={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return z2(z2({},q),{},{phoneDigits:O({phoneNumber:P,value:u,defaultCountry:o}),value:u,country:u?L:o})}}function DR(t,e){return t===null&&(t=void 0),e===null&&(e=void 0),t===e}var kQ=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function Vg(t){"@babel/helpers - typeof";return Vg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vg(t)}function FR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function dN(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function FQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function LQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LR(t,e){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function JQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function gN(t){var e=Ae.forwardRef(function(n,r){var i=n.metadata,o=i===void 0?t:i,u=n.labels,l=u===void 0?KQ:u,d=QQ(n,YQ);return Ae.createElement(mN,lx({},d,{ref:r,metadata:o,labels:l}))});return e.propTypes={metadata:oN,labels:sN},e}gN();const XQ=gN(iG),Do=t=>{const{region:e}=Ci(),{label:n,getInputRef:r,secureTextEntry:i,Icon:o,onChange:u,value:l,children:d,errorMessage:h,type:g,focused:y=!1,autoFocus:w,...v}=t,[C,E]=T.useState(!1),$=T.useRef(),O=T.useCallback(()=>{var k;(k=$.current)==null||k.focus()},[$.current]);let _=l===void 0?"":l;g==="number"&&(_=+l);const R=k=>{u&&u(g==="number"?+k.target.value:k.target.value)};return N.jsxs(ES,{focused:C,onClick:O,...t,children:[t.type==="phonenumber"?N.jsx(XQ,{country:e,autoFocus:w,value:_,onChange:k=>u&&u(k)}):N.jsx("input",{...v,ref:$,value:_,autoFocus:w,className:Lo("form-control",t.errorMessage&&"is-invalid",t.validMessage&&"is-valid"),type:g||"text",onChange:R,onBlur:()=>E(!1),onFocus:()=>E(!0)}),d]})};var o1;function Ps(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var ZQ=0;function N1(t){return"__private_"+ZQ+++"_"+t}const eJ=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),Uf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Uf{}o1=Uf;Uf.URL="/passport/change-password";Uf.NewUrl=t=>Vo(o1.URL,void 0,t);Uf.Method="post";Uf.Fetch$=async(t,e,n,r)=>qo(r??o1.NewUrl(t),{method:o1.Method,...n||{}},e);Uf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new wp(u)})=>{e=e||(l=>new wp(l));const u=await o1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Uf.Definition={name:"ChangePassword",cliName:"cp",url:"/passport/change-password",method:"post",description:"Change the password for a given passport of the user. User needs to be authenticated in order to be able to change the password for a given account.",in:{fields:[{name:"password",description:"New password meeting the security requirements.",type:"string",tags:{validate:"required"}},{name:"uniqueId",description:"The passport uniqueId (not the email or phone number) which password would be applied to. Don't confuse with value.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"changed",type:"bool"}]}};var wh=N1("password"),Sh=N1("uniqueId"),kC=N1("isJsonAppliable");class bp{get password(){return Ps(this,wh)[wh]}set password(e){Ps(this,wh)[wh]=String(e)}setPassword(e){return this.password=e,this}get uniqueId(){return Ps(this,Sh)[Sh]}set uniqueId(e){Ps(this,Sh)[Sh]=String(e)}setUniqueId(e){return this.uniqueId=e,this}constructor(e=void 0){if(Object.defineProperty(this,kC,{value:tJ}),Object.defineProperty(this,wh,{writable:!0,value:""}),Object.defineProperty(this,Sh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Ps(this,kC)[kC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.password!==void 0&&(this.password=n.password),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId)}toJSON(){return{password:Ps(this,wh)[wh],uniqueId:Ps(this,Sh)[Sh]}}toString(){return JSON.stringify(this)}static get Fields(){return{password:"password",uniqueId:"uniqueId"}}static from(e){return new bp(e)}static with(e){return new bp(e)}copyWith(e){return new bp({...this.toJSON(),...e})}clone(){return new bp(this.toJSON())}}function tJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var Ch=N1("changed"),DC=N1("isJsonAppliable");class wp{get changed(){return Ps(this,Ch)[Ch]}set changed(e){Ps(this,Ch)[Ch]=!!e}setChanged(e){return this.changed=e,this}constructor(e=void 0){if(Object.defineProperty(this,DC,{value:nJ}),Object.defineProperty(this,Ch,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Ps(this,DC)[DC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.changed!==void 0&&(this.changed=n.changed)}toJSON(){return{changed:Ps(this,Ch)[Ch]}}toString(){return JSON.stringify(this)}static get Fields(){return{changed:"changed"}}static from(e){return new wp(e)}static with(e){return new wp(e)}copyWith(e){return new wp({...this.toJSON(),...e})}clone(){return new wp(this.toJSON())}}function nJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const rJ=()=>{const t=Wn($r),{goBack:e,state:n,replace:r,push:i,query:o}=Ur(),u=eJ(),l=o==null?void 0:o.uniqueId,d=()=>{u.mutateAsync(new bp(h.values)).then(g=>{e()})},h=Nl({initialValues:{},onSubmit:d});return T.useEffect(()=>{!l||!h||h.setFieldValue(bp.Fields.uniqueId,l)},[l]),{mutation:u,form:h,submit:d,goBack:e,s:t}},iJ=({})=>{const{mutation:t,form:e,s:n}=rJ();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:n.changePassword.title}),N.jsx("p",{children:n.changePassword.description}),N.jsx(Go,{query:t}),N.jsx(aJ,{form:e,mutation:t})]})},aJ=({form:t,mutation:e})=>{const n=Wn($r),{password2:r,password:i}=t.values,o=i!==r||((i==null?void 0:i.length)||0)<6;return N.jsxs("form",{onSubmit:u=>{u.preventDefault(),t.submitForm()},children:[N.jsx(Do,{type:"password",value:t.values.password,label:n.changePassword.pass1Label,id:"password-input",errorMessage:t.errors.password,onChange:u=>t.setFieldValue("password",u,!1)}),N.jsx(Do,{type:"password",value:t.values.password2,label:n.changePassword.pass2Label,id:"password-input-2",errorMessage:t.errors.password,onChange:u=>t.setFieldValue("password2",u,!1)}),N.jsx(Ff,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:o,children:n.continue})]})};function oJ(t={}){const{nonce:e,onScriptLoadSuccess:n,onScriptLoadError:r}=t,[i,o]=T.useState(!1),u=T.useRef(n);u.current=n;const l=T.useRef(r);return l.current=r,T.useEffect(()=>{const d=document.createElement("script");return d.src="https://accounts.google.com/gsi/client",d.async=!0,d.defer=!0,d.nonce=e,d.onload=()=>{var h;o(!0),(h=u.current)===null||h===void 0||h.call(u)},d.onerror=()=>{var h;o(!1),(h=l.current)===null||h===void 0||h.call(l)},document.body.appendChild(d),()=>{document.body.removeChild(d)}},[e]),i}const yN=T.createContext(null);function sJ({clientId:t,nonce:e,onScriptLoadSuccess:n,onScriptLoadError:r,children:i}){const o=oJ({nonce:e,onScriptLoadSuccess:n,onScriptLoadError:r}),u=T.useMemo(()=>({clientId:t,scriptLoadedSuccessfully:o}),[t,o]);return Ae.createElement(yN.Provider,{value:u},i)}function uJ(){const t=T.useContext(yN);if(!t)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return t}function lJ({flow:t="implicit",scope:e="",onSuccess:n,onError:r,onNonOAuthError:i,overrideScope:o,state:u,...l}){const{clientId:d,scriptLoadedSuccessfully:h}=uJ(),g=T.useRef(),y=T.useRef(n);y.current=n;const w=T.useRef(r);w.current=r;const v=T.useRef(i);v.current=i,T.useEffect(()=>{var $,O;if(!h)return;const _=t==="implicit"?"initTokenClient":"initCodeClient",R=(O=($=window==null?void 0:window.google)===null||$===void 0?void 0:$.accounts)===null||O===void 0?void 0:O.oauth2[_]({client_id:d,scope:o?e:`openid profile email ${e}`,callback:k=>{var P,L;if(k.error)return(P=w.current)===null||P===void 0?void 0:P.call(w,k);(L=y.current)===null||L===void 0||L.call(y,k)},error_callback:k=>{var P;(P=v.current)===null||P===void 0||P.call(v,k)},state:u,...l});g.current=R},[d,h,t,e,u]);const C=T.useCallback($=>{var O;return(O=g.current)===null||O===void 0?void 0:O.requestAccessToken($)},[]),E=T.useCallback(()=>{var $;return($=g.current)===null||$===void 0?void 0:$.requestCode()},[]);return t==="implicit"?C:E}const vN=()=>N.jsxs("div",{className:"loader",id:"loader-4",children:[N.jsx("span",{}),N.jsx("span",{}),N.jsx("span",{})]});function cJ(){if(typeof window>"u")return"mac";let t=window==null?void 0:window.navigator.userAgent,e=window==null?void 0:window.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],r=["Win32","Win64","Windows","WinCE"],i=["iPhone","iPad","iPod"],o="mac";return n.indexOf(e)!==-1?o="mac":i.indexOf(e)!==-1?o="ios":r.indexOf(e)!==-1?o="windows":/Android/.test(t)?o="android":!o&&/Linux/.test(e)?o="linux":o="web",o}const Je=cJ(),Fe={edit:{default:"ios-theme/icons/edit.svg"},add:{default:"ios-theme/icons/add.svg"},cancel:{default:"ios-theme/icons/cancel.svg"},delete:{default:"ios-theme/icons/delete.svg"},entity:{default:"ios-theme/icons/entity.svg"},left:{default:"ios-theme/icons/left.svg"},menu:{default:"ios-theme/icons/menu.svg"},backup:{default:"ios-theme/icons/backup.svg"},right:{default:"ios-theme/icons/right.svg"},settings:{default:"ios-theme/icons/settings.svg"},user:{default:"ios-theme/icons/user.svg"},export:{default:"ios-theme/icons/export.svg"},up:{default:"ios-theme/icons/up.svg"},dataNode:{default:"ios-theme/icons/dnode.svg"},ctrlSheet:{default:"ios-theme/icons/ctrlsheet.svg"},gpiomode:{default:"ios-theme/icons/gpiomode.svg"},gpiostate:{default:"ios-theme/icons/gpiostate.svg"},down:{default:"ios-theme/icons/down.svg"},turnoff:{default:"ios-theme/icons/turnoff.svg"},mqtt:{default:"ios-theme/icons/mqtt.svg"},cart:{default:"ios-theme/icons/cart.svg"},questionBank:{default:"ios-theme/icons/questions.svg"},dashboard:{default:"ios-theme/icons/dashboard.svg"},country:{default:"ios-theme/icons/country.svg"},order:{default:"ios-theme/icons/order.svg"},province:{default:"ios-theme/icons/province.svg"},city:{default:"ios-theme/icons/city.svg"},about:{default:"ios-theme/icons/about.svg"},sms:{default:"ios-theme/icons/sms.svg"},product:{default:"ios-theme/icons/product.svg"},discount:{default:"ios-theme/icons/discount.svg"},tag:{default:"ios-theme/icons/tag.svg"},category:{default:"ios-theme/icons/category.svg"},brand:{default:"ios-theme/icons/brand.svg"},form:{default:"ios-theme/icons/form.svg"}},iy={dashboard:Fe.dashboard[Je]?Fe.dashboard[Je]:Fe.dashboard.default,up:Fe.up[Je]?Fe.up[Je]:Fe.up.default,questionBank:Fe.questionBank[Je]?Fe.questionBank[Je]:Fe.questionBank.default,down:Fe.down[Je]?Fe.down[Je]:Fe.down.default,edit:Fe.edit[Je]?Fe.edit[Je]:Fe.edit.default,add:Fe.add[Je]?Fe.add[Je]:Fe.add.default,cancel:Fe.cancel[Je]?Fe.cancel[Je]:Fe.cancel.default,delete:Fe.delete[Je]?Fe.delete[Je]:Fe.delete.default,discount:Fe.discount[Je]?Fe.discount[Je]:Fe.discount.default,cart:Fe.cart[Je]?Fe.cart[Je]:Fe.cart.default,entity:Fe.entity[Je]?Fe.entity[Je]:Fe.entity.default,sms:Fe.sms[Je]?Fe.sms[Je]:Fe.sms.default,left:Fe.left[Je]?Fe.left[Je]:Fe.left.default,brand:Fe.brand[Je]?Fe.brand[Je]:Fe.brand.default,menu:Fe.menu[Je]?Fe.menu[Je]:Fe.menu.default,right:Fe.right[Je]?Fe.right[Je]:Fe.right.default,settings:Fe.settings[Je]?Fe.settings[Je]:Fe.settings.default,dataNode:Fe.dataNode[Je]?Fe.dataNode[Je]:Fe.dataNode.default,user:Fe.user[Je]?Fe.user[Je]:Fe.user.default,city:Fe.city[Je]?Fe.city[Je]:Fe.city.default,province:Fe.province[Je]?Fe.province[Je]:Fe.province.default,about:Fe.about[Je]?Fe.about[Je]:Fe.about.default,turnoff:Fe.turnoff[Je]?Fe.turnoff[Je]:Fe.turnoff.default,ctrlSheet:Fe.ctrlSheet[Je]?Fe.ctrlSheet[Je]:Fe.ctrlSheet.default,country:Fe.country[Je]?Fe.country[Je]:Fe.country.default,export:Fe.export[Je]?Fe.export[Je]:Fe.export.default,gpio:Fe.ctrlSheet[Je]?Fe.ctrlSheet[Je]:Fe.ctrlSheet.default,order:Fe.order[Je]?Fe.order[Je]:Fe.order.default,mqtt:Fe.mqtt[Je]?Fe.mqtt[Je]:Fe.mqtt.default,tag:Fe.tag[Je]?Fe.tag[Je]:Fe.tag.default,product:Fe.product[Je]?Fe.product[Je]:Fe.product.default,category:Fe.category[Je]?Fe.category[Je]:Fe.category.default,form:Fe.form[Je]?Fe.form[Je]:Fe.form.default,gpiomode:Fe.gpiomode[Je]?Fe.gpiomode[Je]:Fe.gpiomode.default,backup:Fe.backup[Je]?Fe.backup[Je]:Fe.backup.default,gpiostate:Fe.gpiostate[Je]?Fe.gpiostate[Je]:Fe.gpiostate.default};function DO(t){const e=Si.PUBLIC_URL;return t.startsWith("$")?e+iy[t.substr(1)]:t.startsWith(e)?t:e+t}function fJ(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/passport/via-oauth".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueryData("*abac.OauthAuthenticateActionResDto",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}var Ja=(t=>(t.Email="email",t.Phone="phone",t.Google="google",t.Facebook="facebook",t))(Ja||{});const M1=()=>{const{setSession:t,selectUrw:e,selectedUrw:n}=T.useContext(yn),{locale:r}=Ci(),{replace:i}=Ur();return{onComplete:u=>{var y,w;t(u.data.item.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(u.data));const d=new URLSearchParams(window.location.search).get("redirect"),h=sessionStorage.getItem("redirect_temporary");if(!((w=(y=u.data)==null?void 0:y.item.session)==null?void 0:w.token)){alert("Authentication has failed.");return}if(sessionStorage.removeItem("redirect_temporary"),sessionStorage.removeItem("workspace_type_id"),h)window.location.href=h;else if(d){const v=new URL(d);v.searchParams.set("session",JSON.stringify(u.data.item.session)),window.location.href=v.toString()}else{const v="/{locale}/dashboard".replace("{locale}",r||"en");i(v,v)}}}},dJ=t=>{T.useEffect(()=>{const e=new URLSearchParams(window.location.search),n=window.location.hash.indexOf("?"),r=n!==-1?new URLSearchParams(window.location.hash.slice(n)):new URLSearchParams;t.forEach(i=>{const o=e.get(i)||r.get(i);o&&sessionStorage.setItem(i,o)})},[t.join(",")])},hJ=({continueWithResult:t,facebookAppId:e})=>{Wn($r),T.useEffect(()=>{if(window.FB)return;const r=document.createElement("script");r.src="https://connect.facebook.net/en_US/sdk.js",r.async=!0,r.onload=()=>{window.FB.init({appId:e,cookie:!0,xfbml:!1,version:"v19.0"})},document.body.appendChild(r)},[]);const n=()=>{const r=window.FB;if(!r){alert("Facebook SDK not loaded");return}r.login(i=>{var o;console.log("Facebook:",i),(o=i.authResponse)!=null&&o.accessToken?t(i.authResponse.accessToken):alert("Facebook login failed")},{scope:"email,public_profile"})};return N.jsxs("button",{id:"using-facebook",type:"button",onClick:n,children:[N.jsx("img",{className:"button-icon",src:DO("/common/facebook.png")}),"Facebook"]})},pJ=()=>{var g,y;const t=vn(),{locale:e}=Ci(),{push:n}=Ur(),r=T.useRef(),i=$I({});dJ(["redirect_temporary","workspace_type_id"]);const[o,u]=T.useState(void 0),l=o?Object.values(o).filter(Boolean).length:void 0,d=(y=(g=i.data)==null?void 0:g.data)==null?void 0:y.item,h=(w,v=!0)=>{switch(w){case Ja.Email:n(`/${e}/selfservice/email`,void 0,{canGoBack:v});break;case Ja.Phone:n(`/${e}/selfservice/phone`,void 0,{canGoBack:v});break}};return T.useEffect(()=>{if(!d)return;const w={email:d.email,google:d.google,facebook:d.facebook,phone:d.phone,googleOAuthClientKey:d.googleOAuthClientKey,facebookAppId:d.facebookAppId};Object.values(w).filter(Boolean).length===1&&(w.email&&h(Ja.Email,!1),w.phone&&h(Ja.Phone,!1),w.google&&h(Ja.Google,!1),w.facebook&&h(Ja.Facebook,!1)),u(w)},[d]),{t,formik:r,onSelect:h,availableOptions:o,passportMethodsQuery:i,isLoadingMethods:i.isLoading,totalAvailableMethods:l}},mJ=()=>{const{onSelect:t,availableOptions:e,totalAvailableMethods:n,isLoadingMethods:r,passportMethodsQuery:i}=pJ(),o=Nl({initialValues:{},onSubmit:()=>{}});return i.isError||i.error?N.jsx("div",{className:"signin-form-container",children:N.jsx(Go,{query:i})}):n===void 0||r?N.jsx("div",{className:"signin-form-container",children:N.jsx(vN,{})}):n===0?N.jsx("div",{className:"signin-form-container",children:N.jsx(yJ,{})}):N.jsx("div",{className:"signin-form-container",children:e.googleOAuthClientKey?N.jsx(sJ,{clientId:e.googleOAuthClientKey,children:N.jsx(jR,{availableOptions:e,onSelect:t,form:o})}):N.jsx(jR,{availableOptions:e,onSelect:t,form:o})})},jR=({form:t,onSelect:e,availableOptions:n})=>{const{submit:r}=fJ({}),{setSession:i}=T.useContext(yn),{locale:o}=Ci(),{replace:u}=Ur(),l=(h,g)=>{r({service:g,token:h}).then(y=>{i(y.data.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(y.data));{const w=Si.DEFAULT_ROUTE.replace("{locale}",o||"en");u(w,w)}}).catch(y=>{alert(y)})},d=Wn($r);return N.jsxs("form",{onSubmit:h=>{h.preventDefault(),t.submitForm()},children:[N.jsx("h1",{children:d.welcomeBack}),N.jsxs("p",{children:[d.welcomeBackDescription," "]}),N.jsxs("div",{role:"group","aria-label":"Login method",className:"flex gap-2 login-option-buttons",children:[n.email?N.jsx("button",{id:"using-email",type:"button",onClick:()=>e(Ja.Email),children:d.emailMethod}):null,n.phone?N.jsx("button",{id:"using-phone",type:"button",onClick:()=>e(Ja.Phone),children:d.phoneMethod}):null,n.facebook?N.jsx(hJ,{facebookAppId:n.facebookAppId,continueWithResult:h=>l(h,"facebook")}):null,n.google?N.jsx(gJ,{continueWithResult:h=>l(h,"google")}):null]})]})},gJ=({continueWithResult:t})=>{const e=Wn($r),n=lJ({onSuccess:r=>{t(r.access_token)},scope:["https://www.googleapis.com/auth/userinfo.profile"].join(" ")});return N.jsx(N.Fragment,{children:N.jsxs("button",{id:"using-google",type:"button",onClick:()=>n(),children:[N.jsx("img",{className:"button-icon",src:DO("/common/google.png")}),e.google]})})},yJ=()=>{const t=Wn($r);return N.jsxs(N.Fragment,{children:[N.jsx("h1",{children:t.noAuthenticationMethod}),N.jsx("p",{children:t.noAuthenticationMethodDescription})]})};var vJ=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function cx(){return cx=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function V2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wJ(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,fx(t,e)}function fx(t,e){return fx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},fx(t,e)}var PS=(function(t){wJ(e,t);function e(){var r;return r=t.call(this)||this,r.handleExpired=r.handleExpired.bind(V2(r)),r.handleErrored=r.handleErrored.bind(V2(r)),r.handleChange=r.handleChange.bind(V2(r)),r.handleRecaptchaRef=r.handleRecaptchaRef.bind(V2(r)),r}var n=e.prototype;return n.getCaptchaFunction=function(i){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[i]:this.props.grecaptcha[i]:null},n.getValue=function(){var i=this.getCaptchaFunction("getResponse");return i&&this._widgetId!==void 0?i(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},n.execute=function(){var i=this.getCaptchaFunction("execute");if(i&&this._widgetId!==void 0)return i(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var i=this;return new Promise(function(o,u){i.executionResolve=o,i.executionReject=u,i.execute()})},n.reset=function(){var i=this.getCaptchaFunction("reset");i&&this._widgetId!==void 0&&i(this._widgetId)},n.forceReset=function(){var i=this.getCaptchaFunction("reset");i&&i()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(i){this.props.onChange&&this.props.onChange(i),this.executionResolve&&(this.executionResolve(i),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var i=this.getCaptchaFunction("render");if(i&&this._widgetId===void 0){var o=document.createElement("div");this._widgetId=i(o,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(o)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(i){this.captcha=i},n.render=function(){var i=this.props;i.sitekey,i.onChange,i.theme,i.type,i.tabindex,i.onExpired,i.onErrored,i.size,i.stoken,i.grecaptcha,i.badge,i.hl,i.isolated;var o=bJ(i,vJ);return T.createElement("div",cx({},o,{ref:this.handleRecaptchaRef}))},e})(T.Component);PS.displayName="ReCAPTCHA";PS.propTypes={sitekey:Te.string.isRequired,onChange:Te.func,grecaptcha:Te.object,theme:Te.oneOf(["dark","light"]),type:Te.oneOf(["image","audio"]),tabindex:Te.number,onExpired:Te.func,onErrored:Te.func,size:Te.oneOf(["compact","normal","invisible"]),stoken:Te.string,hl:Te.string,badge:Te.oneOf(["bottomright","bottomleft","inline"]),isolated:Te.bool};PS.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};function dx(){return dx=Object.assign||function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function CJ(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Os={},$J=0;function EJ(t,e){return e=e||{},function(r){var i=r.displayName||r.name||"Component",o=(function(l){CJ(d,l);function d(g,y){var w;return w=l.call(this,g,y)||this,w.state={},w.__scriptURL="",w}var h=d.prototype;return h.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+$J++),this.__scriptLoaderID},h.setupScriptURL=function(){return this.__scriptURL=typeof t=="function"?t():t,this.__scriptURL},h.asyncScriptLoaderHandleLoad=function(y){var w=this;this.setState(y,function(){return w.props.asyncScriptOnLoad&&w.props.asyncScriptOnLoad(w.state)})},h.asyncScriptLoaderTriggerOnScriptLoaded=function(){var y=Os[this.__scriptURL];if(!y||!y.loaded)throw new Error("Script is not loaded.");for(var w in y.observers)y.observers[w](y);delete window[e.callbackName]},h.componentDidMount=function(){var y=this,w=this.setupScriptURL(),v=this.asyncScriptLoaderGetScriptLoaderID(),C=e,E=C.globalName,$=C.callbackName,O=C.scriptId;if(E&&typeof window[E]<"u"&&(Os[w]={loaded:!0,observers:{}}),Os[w]){var _=Os[w];if(_&&(_.loaded||_.errored)){this.asyncScriptLoaderHandleLoad(_);return}_.observers[v]=function(F){return y.asyncScriptLoaderHandleLoad(F)};return}var R={};R[v]=function(F){return y.asyncScriptLoaderHandleLoad(F)},Os[w]={loaded:!1,observers:R};var k=document.createElement("script");k.src=w,k.async=!0;for(var P in e.attributes)k.setAttribute(P,e.attributes[P]);O&&(k.id=O);var L=function(q){if(Os[w]){var Y=Os[w],X=Y.observers;for(var ue in X)q(X[ue])&&delete X[ue]}};$&&typeof window<"u"&&(window[$]=function(){return y.asyncScriptLoaderTriggerOnScriptLoaded()}),k.onload=function(){var F=Os[w];F&&(F.loaded=!0,L(function(q){return $?!1:(q(F),!0)}))},k.onerror=function(){var F=Os[w];F&&(F.errored=!0,L(function(q){return q(F),!0}))},document.body.appendChild(k)},h.componentWillUnmount=function(){var y=this.__scriptURL;if(e.removeOnUnmount===!0)for(var w=document.getElementsByTagName("script"),v=0;v-1&&w[v].parentNode&&w[v].parentNode.removeChild(w[v]);var C=Os[y];C&&(delete C.observers[this.asyncScriptLoaderGetScriptLoaderID()],e.removeOnUnmount===!0&&delete Os[y])},h.render=function(){var y=e.globalName,w=this.props;w.asyncScriptOnLoad;var v=w.forwardedRef,C=SJ(w,["asyncScriptOnLoad","forwardedRef"]);return y&&typeof window<"u"&&(C[y]=typeof window[y]<"u"?window[y]:void 0),C.ref=v,T.createElement(r,C)},d})(T.Component),u=T.forwardRef(function(l,d){return T.createElement(o,dx({},l,{forwardedRef:d}))});return u.displayName="AsyncScriptLoader("+i+")",u.propTypes={asyncScriptOnLoad:Te.func},PB(u,r)}}var hx="onloadcallback",xJ="grecaptcha";function px(){return typeof window<"u"&&window.recaptchaOptions||{}}function OJ(){var t=px(),e=t.useRecaptchaNet?"recaptcha.net":"www.google.com";return t.enterprise?"https://"+e+"/recaptcha/enterprise.js?onload="+hx+"&render=explicit":"https://"+e+"/recaptcha/api.js?onload="+hx+"&render=explicit"}const TJ=EJ(OJ,{callbackName:hx,globalName:xJ,attributes:px().nonce?{nonce:px().nonce}:{}})(PS),_J=({sitekey:t,enabled:e,invisible:n})=>{n=n===void 0?!0:n;const[r,i]=T.useState(),[o,u]=T.useState(!1),l=T.createRef(),d=T.useRef("");return T.useEffect(()=>{var y,w;e&&l.current&&((y=l.current)==null||y.execute(),(w=l.current)==null||w.reset())},[e,l.current]),T.useEffect(()=>{setTimeout(()=>{d.current||u(!0)},2e3)},[]),{value:r,Component:()=>!e||!t?null:N.jsx(N.Fragment,{children:N.jsx(TJ,{sitekey:t,size:n&&!o?"invisible":void 0,ref:l,onChange:y=>{i(y),d.current=y}})}),LegalNotice:()=>!n||!e?null:N.jsxs("div",{className:"mt-5 recaptcha-closure",children:["This site is protected by reCAPTCHA and the Google",N.jsxs("a",{target:"_blank",href:"https://policies.google.com/privacy",children:[" ","Privacy Policy"," "]})," ","and",N.jsxs("a",{target:"_blank",href:"https://policies.google.com/terms",children:[" ","Terms of Service"," "]})," ","apply."]})}};var s1,A0,mf,gf,yf,vf,G2;function Sn(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var AJ=0;function ko(t){return"__private_"+AJ+++"_"+t}const RJ=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),jf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class jf{}s1=jf;jf.URL="/workspace/passport/check";jf.NewUrl=t=>Vo(s1.URL,void 0,t);jf.Method="post";jf.Fetch$=async(t,e,n,r)=>qo(r??s1.NewUrl(t),{method:s1.Method,...n||{}},e);jf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Mo(u)})=>{e=e||(l=>new Mo(l));const u=await s1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};jf.Definition={name:"CheckClassicPassport",cliName:"ccp",url:"/workspace/passport/check",method:"post",description:"Checks if a classic passport (email, phone) exists or not, used in multi step authentication",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"securityToken",description:"This can be the value of ReCaptcha2, ReCaptcha3, or generate security image or voice for verification. Will be used based on the configuration.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"flags",description:"Extra information that can be useful actually when doing onboarding. Make sure sensitive information doesn't go out.",type:"slice",primitive:"string"},{name:"otpInfo",description:"If the endpoint automatically triggers a send otp, then it would be holding that information, Also the otp information can become available.",type:"object?",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}]}};var $h=ko("value"),Eh=ko("securityToken"),FC=ko("isJsonAppliable");class Sp{get value(){return Sn(this,$h)[$h]}set value(e){Sn(this,$h)[$h]=String(e)}setValue(e){return this.value=e,this}get securityToken(){return Sn(this,Eh)[Eh]}set securityToken(e){Sn(this,Eh)[Eh]=String(e)}setSecurityToken(e){return this.securityToken=e,this}constructor(e=void 0){if(Object.defineProperty(this,FC,{value:PJ}),Object.defineProperty(this,$h,{writable:!0,value:""}),Object.defineProperty(this,Eh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Sn(this,FC)[FC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.securityToken!==void 0&&(this.securityToken=n.securityToken)}toJSON(){return{value:Sn(this,$h)[$h],securityToken:Sn(this,Eh)[Eh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",securityToken:"securityToken"}}static from(e){return new Sp(e)}static with(e){return new Sp(e)}copyWith(e){return new Sp({...this.toJSON(),...e})}clone(){return new Sp(this.toJSON())}}function PJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var xh=ko("next"),Oh=ko("flags"),ll=ko("otpInfo"),LC=ko("isJsonAppliable");class Mo{get next(){return Sn(this,xh)[xh]}set next(e){Sn(this,xh)[xh]=e}setNext(e){return this.next=e,this}get flags(){return Sn(this,Oh)[Oh]}set flags(e){Sn(this,Oh)[Oh]=e}setFlags(e){return this.flags=e,this}get otpInfo(){return Sn(this,ll)[ll]}set otpInfo(e){e instanceof Mo.OtpInfo?Sn(this,ll)[ll]=e:Sn(this,ll)[ll]=new Mo.OtpInfo(e)}setOtpInfo(e){return this.otpInfo=e,this}constructor(e=void 0){if(Object.defineProperty(this,LC,{value:IJ}),Object.defineProperty(this,xh,{writable:!0,value:[]}),Object.defineProperty(this,Oh,{writable:!0,value:[]}),Object.defineProperty(this,ll,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Sn(this,LC)[LC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.next!==void 0&&(this.next=n.next),n.flags!==void 0&&(this.flags=n.flags),n.otpInfo!==void 0&&(this.otpInfo=n.otpInfo)}toJSON(){return{next:Sn(this,xh)[xh],flags:Sn(this,Oh)[Oh],otpInfo:Sn(this,ll)[ll]}}toString(){return JSON.stringify(this)}static get Fields(){return{next$:"next",get next(){return"next[:i]"},flags$:"flags",get flags(){return"flags[:i]"},otpInfo$:"otpInfo",get otpInfo(){return Af("otpInfo",Mo.OtpInfo.Fields)}}}static from(e){return new Mo(e)}static with(e){return new Mo(e)}copyWith(e){return new Mo({...this.toJSON(),...e})}clone(){return new Mo(this.toJSON())}}A0=Mo;function IJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}Mo.OtpInfo=(mf=ko("suspendUntil"),gf=ko("validUntil"),yf=ko("blockedUntil"),vf=ko("secondsToUnblock"),G2=ko("isJsonAppliable"),class{get suspendUntil(){return Sn(this,mf)[mf]}set suspendUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,mf)[mf]=r)}setSuspendUntil(e){return this.suspendUntil=e,this}get validUntil(){return Sn(this,gf)[gf]}set validUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,gf)[gf]=r)}setValidUntil(e){return this.validUntil=e,this}get blockedUntil(){return Sn(this,yf)[yf]}set blockedUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,yf)[yf]=r)}setBlockedUntil(e){return this.blockedUntil=e,this}get secondsToUnblock(){return Sn(this,vf)[vf]}set secondsToUnblock(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,vf)[vf]=r)}setSecondsToUnblock(e){return this.secondsToUnblock=e,this}constructor(e=void 0){if(Object.defineProperty(this,G2,{value:NJ}),Object.defineProperty(this,mf,{writable:!0,value:0}),Object.defineProperty(this,gf,{writable:!0,value:0}),Object.defineProperty(this,yf,{writable:!0,value:0}),Object.defineProperty(this,vf,{writable:!0,value:0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Sn(this,G2)[G2](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:Sn(this,mf)[mf],validUntil:Sn(this,gf)[gf],blockedUntil:Sn(this,yf)[yf],secondsToUnblock:Sn(this,vf)[vf]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(e){return new A0.OtpInfo(e)}static with(e){return new A0.OtpInfo(e)}copyWith(e){return new A0.OtpInfo({...this.toJSON(),...e})}clone(){return new A0.OtpInfo(this.toJSON())}});function NJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const MJ=({method:t})=>{var _,R,k;const e=Wn($r),{goBack:n,push:r,state:i}=Ur(),{locale:o}=Ci(),u=RJ(),l=(i==null?void 0:i.canGoBack)!==!1;let d=!1,h="";const{data:g}=$I({});g instanceof no&&g.data.item instanceof $f&&(d=(_=g==null?void 0:g.data)==null?void 0:_.item.enabledRecaptcha2,h=(k=(R=g==null?void 0:g.data)==null?void 0:R.item)==null?void 0:k.recaptcha2ClientKey);const y=P=>{u.mutateAsync(new Sp(P)).then(L=>{var Y;const{next:F,flags:q}=(Y=L==null?void 0:L.data)==null?void 0:Y.item;F.includes("otp")&&F.length===1?r(`/${o}/selfservice/otp`,void 0,{value:P.value,type:t}):F.includes("signin-with-password")?r(`/${o}/selfservice/password`,void 0,{value:P.value,next:F,canContinueOnOtp:F==null?void 0:F.includes("otp"),flags:q}):F.includes("create-with-password")&&r(`/${o}/selfservice/complete`,void 0,{value:P.value,type:t,next:F,flags:q})}).catch(L=>{w==null||w.setErrors(ny(L))})},w=Nl({initialValues:{},onSubmit:y});let v=e.continueWithEmail,C=e.continueWithEmailDescription;t==="phone"&&(v=e.continueWithPhone,C=e.continueWithPhoneDescription);const{Component:E,LegalNotice:$,value:O}=_J({enabled:d,sitekey:h});return T.useEffect(()=>{!d||!O||w.setFieldValue(Sp.Fields.securityToken,O)},[O]),{title:v,mutation:u,canGoBack:l,form:w,enabledRecaptcha2:d,recaptcha2ClientKey:h,description:C,Recaptcha:E,LegalNotice:$,s:e,submit:y,goBack:n}};var u1;function _n(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var kJ=0;function Ds(t){return"__private_"+kJ+++"_"+t}const bN=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),Bf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Bf{}u1=Bf;Bf.URL="/passports/signin/classic";Bf.NewUrl=t=>Vo(u1.URL,void 0,t);Bf.Method="post";Bf.Fetch$=async(t,e,n,r)=>qo(r??u1.NewUrl(t),{method:u1.Method,...n||{}},e);Bf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Cp(u)})=>{e=e||(l=>new Cp(l));const u=await u1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Bf.Definition={name:"ClassicSignin",cliName:"in",url:"/passports/signin/classic",method:"post",description:"Signin publicly to and account using class passports (email, password)",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"totpCode",description:"Accepts login with totp code. If enabled, first login would return a success response with next[enter-totp] value and ui can understand that user needs to be navigated into the screen other screen.",type:"string"},{name:"sessionSecret",description:"Session secret when logging in to the application requires more steps to complete.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"session",type:"one",target:"UserSessionDto"},{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"totpUrl",description:"In case the account doesn't have totp, but enforced by installation, this value will contain the link",type:"string"},{name:"sessionSecret",description:"Returns a secret session if the authentication requires more steps.",type:"string"}]}};var Th=Ds("value"),_h=Ds("password"),Ah=Ds("totpCode"),Rh=Ds("sessionSecret"),UC=Ds("isJsonAppliable");class Is{get value(){return _n(this,Th)[Th]}set value(e){_n(this,Th)[Th]=String(e)}setValue(e){return this.value=e,this}get password(){return _n(this,_h)[_h]}set password(e){_n(this,_h)[_h]=String(e)}setPassword(e){return this.password=e,this}get totpCode(){return _n(this,Ah)[Ah]}set totpCode(e){_n(this,Ah)[Ah]=String(e)}setTotpCode(e){return this.totpCode=e,this}get sessionSecret(){return _n(this,Rh)[Rh]}set sessionSecret(e){_n(this,Rh)[Rh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}constructor(e=void 0){if(Object.defineProperty(this,UC,{value:DJ}),Object.defineProperty(this,Th,{writable:!0,value:""}),Object.defineProperty(this,_h,{writable:!0,value:""}),Object.defineProperty(this,Ah,{writable:!0,value:""}),Object.defineProperty(this,Rh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(_n(this,UC)[UC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.password!==void 0&&(this.password=n.password),n.totpCode!==void 0&&(this.totpCode=n.totpCode),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret)}toJSON(){return{value:_n(this,Th)[Th],password:_n(this,_h)[_h],totpCode:_n(this,Ah)[Ah],sessionSecret:_n(this,Rh)[Rh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",password:"password",totpCode:"totpCode",sessionSecret:"sessionSecret"}}static from(e){return new Is(e)}static with(e){return new Is(e)}copyWith(e){return new Is({...this.toJSON(),...e})}clone(){return new Is(this.toJSON())}}function DJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var cl=Ds("session"),Ph=Ds("next"),Ih=Ds("totpUrl"),Nh=Ds("sessionSecret"),jC=Ds("isJsonAppliable"),y0=Ds("lateInitFields");class Cp{get session(){return _n(this,cl)[cl]}set session(e){e instanceof fr?_n(this,cl)[cl]=e:_n(this,cl)[cl]=new fr(e)}setSession(e){return this.session=e,this}get next(){return _n(this,Ph)[Ph]}set next(e){_n(this,Ph)[Ph]=e}setNext(e){return this.next=e,this}get totpUrl(){return _n(this,Ih)[Ih]}set totpUrl(e){_n(this,Ih)[Ih]=String(e)}setTotpUrl(e){return this.totpUrl=e,this}get sessionSecret(){return _n(this,Nh)[Nh]}set sessionSecret(e){_n(this,Nh)[Nh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}constructor(e=void 0){if(Object.defineProperty(this,y0,{value:LJ}),Object.defineProperty(this,jC,{value:FJ}),Object.defineProperty(this,cl,{writable:!0,value:void 0}),Object.defineProperty(this,Ph,{writable:!0,value:[]}),Object.defineProperty(this,Ih,{writable:!0,value:""}),Object.defineProperty(this,Nh,{writable:!0,value:""}),e==null){_n(this,y0)[y0]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(_n(this,jC)[jC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),n.next!==void 0&&(this.next=n.next),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),_n(this,y0)[y0](e)}toJSON(){return{session:_n(this,cl)[cl],next:_n(this,Ph)[Ph],totpUrl:_n(this,Ih)[Ih],sessionSecret:_n(this,Nh)[Nh]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return Af("session",fr.Fields)},next$:"next",get next(){return"next[:i]"},totpUrl:"totpUrl",sessionSecret:"sessionSecret"}}static from(e){return new Cp(e)}static with(e){return new Cp(e)}copyWith(e){return new Cp({...this.toJSON(),...e})}clone(){return new Cp(this.toJSON())}}function FJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function LJ(t={}){const e=t;e.session instanceof fr||(this.session=new fr(e.session||{}))}const BR=({method:t})=>{const{description:e,title:n,goBack:r,mutation:i,form:o,canGoBack:u,LegalNotice:l,Recaptcha:d,s:h}=MJ({method:t});return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:n}),N.jsx("p",{children:e}),N.jsx(Go,{query:i}),N.jsx(jJ,{form:o,method:t,mutation:i}),N.jsx(d,{}),u?N.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:r,children:h.chooseAnotherMethod}):null,N.jsx(l,{})]})},UJ=t=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t),jJ=({form:t,mutation:e,method:n})=>{var u,l,d;let r="email";n===Ja.Phone&&(r="phonenumber");let i=!((u=t==null?void 0:t.values)!=null&&u.value);Ja.Email===n&&(i=!UJ((l=t==null?void 0:t.values)==null?void 0:l.value));const o=Wn($r);return N.jsxs("form",{onSubmit:h=>{h.preventDefault(),t.submitForm()},children:[N.jsx(Do,{autoFocus:!0,type:r,id:"value-input",dir:"ltr",value:(d=t==null?void 0:t.values)==null?void 0:d.value,errorMessage:t==null?void 0:t.errors.value,onChange:h=>t.setFieldValue(Is.Fields.value,h,!1)}),N.jsx(Ff,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:i,children:o.continue})]})};var BJ=Object.defineProperty,zw=Object.getOwnPropertySymbols,wN=Object.prototype.hasOwnProperty,SN=Object.prototype.propertyIsEnumerable,qR=(t,e,n)=>e in t?BJ(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mx=(t,e)=>{for(var n in e||(e={}))wN.call(e,n)&&qR(t,n,e[n]);if(zw)for(var n of zw(e))SN.call(e,n)&&qR(t,n,e[n]);return t},gx=(t,e)=>{var n={};for(var r in t)wN.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&zw)for(var r of zw(t))e.indexOf(r)<0&&SN.call(t,r)&&(n[r]=t[r]);return n};/** + * @license QR Code generator library (TypeScript) + * Copyright (c) Project Nayuki. + * SPDX-License-Identifier: MIT + */var qp;(t=>{const e=class Jt{constructor(d,h,g,y){if(this.version=d,this.errorCorrectionLevel=h,this.modules=[],this.isFunction=[],dJt.MAX_VERSION)throw new RangeError("Version value out of range");if(y<-1||y>7)throw new RangeError("Mask value out of range");this.size=d*4+17;let w=[];for(let C=0;C7)throw new RangeError("Invalid value");let C,E;for(C=g;;C++){const R=Jt.getNumDataCodewords(C,h)*8,k=u.getTotalBits(d,C);if(k<=R){E=k;break}if(C>=y)throw new RangeError("Data too long")}for(const R of[Jt.Ecc.MEDIUM,Jt.Ecc.QUARTILE,Jt.Ecc.HIGH])v&&E<=Jt.getNumDataCodewords(C,R)*8&&(h=R);let $=[];for(const R of d){n(R.mode.modeBits,4,$),n(R.numChars,R.mode.numCharCountBits(C),$);for(const k of R.getData())$.push(k)}i($.length==E);const O=Jt.getNumDataCodewords(C,h)*8;i($.length<=O),n(0,Math.min(4,O-$.length),$),n(0,(8-$.length%8)%8,$),i($.length%8==0);for(let R=236;$.length_[k>>>3]|=R<<7-(k&7)),new Jt(C,h,_,w)}getModule(d,h){return 0<=d&&d>>9)*1335;const y=(h<<10|g)^21522;i(y>>>15==0);for(let w=0;w<=5;w++)this.setFunctionModule(8,w,r(y,w));this.setFunctionModule(8,7,r(y,6)),this.setFunctionModule(8,8,r(y,7)),this.setFunctionModule(7,8,r(y,8));for(let w=9;w<15;w++)this.setFunctionModule(14-w,8,r(y,w));for(let w=0;w<8;w++)this.setFunctionModule(this.size-1-w,8,r(y,w));for(let w=8;w<15;w++)this.setFunctionModule(8,this.size-15+w,r(y,w));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let d=this.version;for(let g=0;g<12;g++)d=d<<1^(d>>>11)*7973;const h=this.version<<12|d;i(h>>>18==0);for(let g=0;g<18;g++){const y=r(h,g),w=this.size-11+g%3,v=Math.floor(g/3);this.setFunctionModule(w,v,y),this.setFunctionModule(v,w,y)}}drawFinderPattern(d,h){for(let g=-4;g<=4;g++)for(let y=-4;y<=4;y++){const w=Math.max(Math.abs(y),Math.abs(g)),v=d+y,C=h+g;0<=v&&v{(R!=E-w||P>=C)&&_.push(k[R])});return i(_.length==v),_}drawCodewords(d){if(d.length!=Math.floor(Jt.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let h=0;for(let g=this.size-1;g>=1;g-=2){g==6&&(g=5);for(let y=0;y>>3],7-(h&7)),h++)}}i(h==d.length*8)}applyMask(d){if(d<0||d>7)throw new RangeError("Mask value out of range");for(let h=0;h5&&d++):(this.finderPenaltyAddHistory(C,E),v||(d+=this.finderPenaltyCountPatterns(E)*Jt.PENALTY_N3),v=this.modules[w][$],C=1);d+=this.finderPenaltyTerminateAndCount(v,C,E)*Jt.PENALTY_N3}for(let w=0;w5&&d++):(this.finderPenaltyAddHistory(C,E),v||(d+=this.finderPenaltyCountPatterns(E)*Jt.PENALTY_N3),v=this.modules[$][w],C=1);d+=this.finderPenaltyTerminateAndCount(v,C,E)*Jt.PENALTY_N3}for(let w=0;wv+(C?1:0),h);const g=this.size*this.size,y=Math.ceil(Math.abs(h*20-g*10)/g)-1;return i(0<=y&&y<=9),d+=y*Jt.PENALTY_N4,i(0<=d&&d<=2568888),d}getAlignmentPatternPositions(){if(this.version==1)return[];{const d=Math.floor(this.version/7)+2,h=this.version==32?26:Math.ceil((this.version*4+4)/(d*2-2))*2;let g=[6];for(let y=this.size-7;g.lengthJt.MAX_VERSION)throw new RangeError("Version number out of range");let h=(16*d+128)*d+64;if(d>=2){const g=Math.floor(d/7)+2;h-=(25*g-10)*g-55,d>=7&&(h-=36)}return i(208<=h&&h<=29648),h}static getNumDataCodewords(d,h){return Math.floor(Jt.getNumRawDataModules(d)/8)-Jt.ECC_CODEWORDS_PER_BLOCK[h.ordinal][d]*Jt.NUM_ERROR_CORRECTION_BLOCKS[h.ordinal][d]}static reedSolomonComputeDivisor(d){if(d<1||d>255)throw new RangeError("Degree out of range");let h=[];for(let y=0;y0);for(const y of d){const w=y^g.shift();g.push(0),h.forEach((v,C)=>g[C]^=Jt.reedSolomonMultiply(v,w))}return g}static reedSolomonMultiply(d,h){if(d>>>8||h>>>8)throw new RangeError("Byte out of range");let g=0;for(let y=7;y>=0;y--)g=g<<1^(g>>>7)*285,g^=(h>>>y&1)*d;return i(g>>>8==0),g}finderPenaltyCountPatterns(d){const h=d[1];i(h<=this.size*3);const g=h>0&&d[2]==h&&d[3]==h*3&&d[4]==h&&d[5]==h;return(g&&d[0]>=h*4&&d[6]>=h?1:0)+(g&&d[6]>=h*4&&d[0]>=h?1:0)}finderPenaltyTerminateAndCount(d,h,g){return d&&(this.finderPenaltyAddHistory(h,g),h=0),h+=this.size,this.finderPenaltyAddHistory(h,g),this.finderPenaltyCountPatterns(g)}finderPenaltyAddHistory(d,h){h[0]==0&&(d+=this.size),h.pop(),h.unshift(d)}};e.MIN_VERSION=1,e.MAX_VERSION=40,e.PENALTY_N1=3,e.PENALTY_N2=3,e.PENALTY_N3=40,e.PENALTY_N4=10,e.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],e.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],t.QrCode=e;function n(l,d,h){if(d<0||d>31||l>>>d)throw new RangeError("Value out of range");for(let g=d-1;g>=0;g--)h.push(l>>>g&1)}function r(l,d){return(l>>>d&1)!=0}function i(l){if(!l)throw new Error("Assertion error")}const o=class lr{constructor(d,h,g){if(this.mode=d,this.numChars=h,this.bitData=g,h<0)throw new RangeError("Invalid argument");this.bitData=g.slice()}static makeBytes(d){let h=[];for(const g of d)n(g,8,h);return new lr(lr.Mode.BYTE,d.length,h)}static makeNumeric(d){if(!lr.isNumeric(d))throw new RangeError("String contains non-numeric characters");let h=[];for(let g=0;g=1<{(e=>{const n=class{constructor(i,o){this.ordinal=i,this.formatBits=o}};n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),e.Ecc=n})(t.QrCode||(t.QrCode={}))})(qp||(qp={}));(t=>{(e=>{const n=class{constructor(i,o){this.modeBits=i,this.numBitsCharCount=o}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),e.Mode=n})(t.QrSegment||(t.QrSegment={}))})(qp||(qp={}));var Tg=qp;/** + * @license qrcode.react + * Copyright (c) Paul O'Shannessy + * SPDX-License-Identifier: ISC + */var qJ={L:Tg.QrCode.Ecc.LOW,M:Tg.QrCode.Ecc.MEDIUM,Q:Tg.QrCode.Ecc.QUARTILE,H:Tg.QrCode.Ecc.HIGH},CN=128,$N="L",EN="#FFFFFF",xN="#000000",ON=!1,TN=1,HJ=4,zJ=0,VJ=.1;function _N(t,e=0){const n=[];return t.forEach(function(r,i){let o=null;r.forEach(function(u,l){if(!u&&o!==null){n.push(`M${o+e} ${i+e}h${l-o}v1H${o+e}z`),o=null;return}if(l===r.length-1){if(!u)return;o===null?n.push(`M${l+e},${i+e} h1v1H${l+e}z`):n.push(`M${o+e},${i+e} h${l+1-o}v1H${o+e}z`);return}u&&o===null&&(o=l)})}),n.join("")}function AN(t,e){return t.slice().map((n,r)=>r=e.y+e.h?n:n.map((i,o)=>o=e.x+e.w?i:!1))}function GJ(t,e,n,r){if(r==null)return null;const i=t.length+n*2,o=Math.floor(e*VJ),u=i/e,l=(r.width||o)*u,d=(r.height||o)*u,h=r.x==null?t.length/2-l/2:r.x*u,g=r.y==null?t.length/2-d/2:r.y*u,y=r.opacity==null?1:r.opacity;let w=null;if(r.excavate){let C=Math.floor(h),E=Math.floor(g),$=Math.ceil(l+h-C),O=Math.ceil(d+g-E);w={x:C,y:E,w:$,h:O}}const v=r.crossOrigin;return{x:h,y:g,h:d,w:l,excavation:w,opacity:y,crossOrigin:v}}function WJ(t,e){return e!=null?Math.max(Math.floor(e),0):t?HJ:zJ}function RN({value:t,level:e,minVersion:n,includeMargin:r,marginSize:i,imageSettings:o,size:u,boostLevel:l}){let d=Ae.useMemo(()=>{const C=(Array.isArray(t)?t:[t]).reduce((E,$)=>(E.push(...Tg.QrSegment.makeSegments($)),E),[]);return Tg.QrCode.encodeSegments(C,qJ[e],n,void 0,void 0,l)},[t,e,n,l]);const{cells:h,margin:g,numCells:y,calculatedImageSettings:w}=Ae.useMemo(()=>{let v=d.getModules();const C=WJ(r,i),E=v.length+C*2,$=GJ(v,u,C,o);return{cells:v,margin:C,numCells:E,calculatedImageSettings:$}},[d,u,o,r,i]);return{qrcode:d,margin:g,cells:h,numCells:y,calculatedImageSettings:w}}var KJ=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),YJ=Ae.forwardRef(function(e,n){const r=e,{value:i,size:o=CN,level:u=$N,bgColor:l=EN,fgColor:d=xN,includeMargin:h=ON,minVersion:g=TN,boostLevel:y,marginSize:w,imageSettings:v}=r,E=gx(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:$}=E,O=gx(E,["style"]),_=v==null?void 0:v.src,R=Ae.useRef(null),k=Ae.useRef(null),P=Ae.useCallback(be=>{R.current=be,typeof n=="function"?n(be):n&&(n.current=be)},[n]),[L,F]=Ae.useState(!1),{margin:q,cells:Y,numCells:X,calculatedImageSettings:ue}=RN({value:i,level:u,minVersion:g,boostLevel:y,includeMargin:h,marginSize:w,imageSettings:v,size:o});Ae.useEffect(()=>{if(R.current!=null){const be=R.current,we=be.getContext("2d");if(!we)return;let B=Y;const V=k.current,H=ue!=null&&V!==null&&V.complete&&V.naturalHeight!==0&&V.naturalWidth!==0;H&&ue.excavation!=null&&(B=AN(Y,ue.excavation));const ie=window.devicePixelRatio||1;be.height=be.width=o*ie;const G=o/X*ie;we.scale(G,G),we.fillStyle=l,we.fillRect(0,0,X,X),we.fillStyle=d,KJ?we.fill(new Path2D(_N(B,q))):Y.forEach(function(J,he){J.forEach(function($e,Ce){$e&&we.fillRect(Ce+q,he+q,1,1)})}),ue&&(we.globalAlpha=ue.opacity),H&&we.drawImage(V,ue.x+q,ue.y+q,ue.w,ue.h)}}),Ae.useEffect(()=>{F(!1)},[_]);const me=mx({height:o,width:o},$);let te=null;return _!=null&&(te=Ae.createElement("img",{src:_,key:_,style:{display:"none"},onLoad:()=>{F(!0)},ref:k,crossOrigin:ue==null?void 0:ue.crossOrigin})),Ae.createElement(Ae.Fragment,null,Ae.createElement("canvas",mx({style:me,height:o,width:o,ref:P,role:"img"},O)),te)});YJ.displayName="QRCodeCanvas";var PN=Ae.forwardRef(function(e,n){const r=e,{value:i,size:o=CN,level:u=$N,bgColor:l=EN,fgColor:d=xN,includeMargin:h=ON,minVersion:g=TN,boostLevel:y,title:w,marginSize:v,imageSettings:C}=r,E=gx(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:$,cells:O,numCells:_,calculatedImageSettings:R}=RN({value:i,level:u,minVersion:g,boostLevel:y,includeMargin:h,marginSize:v,imageSettings:C,size:o});let k=O,P=null;C!=null&&R!=null&&(R.excavation!=null&&(k=AN(O,R.excavation)),P=Ae.createElement("image",{href:C.src,height:R.h,width:R.w,x:R.x+$,y:R.y+$,preserveAspectRatio:"none",opacity:R.opacity,crossOrigin:R.crossOrigin}));const L=_N(k,$);return Ae.createElement("svg",mx({height:o,width:o,viewBox:`0 0 ${_} ${_}`,ref:n,role:"img"},E),!!w&&Ae.createElement("title",null,w),Ae.createElement("path",{fill:l,d:`M0,0 h${_}v${_}H0z`,shapeRendering:"crispEdges"}),Ae.createElement("path",{fill:d,d:L,shapeRendering:"crispEdges"}),P)});PN.displayName="QRCodeSVG";const v0={backspace:8,left:37,up:38,right:39,down:40};class k1 extends T.Component{constructor(e){super(e),this.__clearvalues__=()=>{const{fields:u}=this.props;this.setState({values:Array(u).fill("")}),this.iRefs[0].current.focus()},this.triggerChange=(u=this.state.values)=>{const{onChange:l,onComplete:d,fields:h}=this.props,g=u.join("");l&&l(g),d&&g.length>=h&&d(g)},this.onChange=u=>{const l=parseInt(u.target.dataset.id);if(this.props.type==="number"&&(u.target.value=u.target.value.replace(/[^\d]/gi,"")),u.target.value===""||this.props.type==="number"&&!u.target.validity.valid)return;const{fields:d}=this.props;let h;const g=u.target.value;let{values:y}=this.state;if(y=Object.assign([],y),g.length>1){let w=g.length+l-1;w>=d&&(w=d-1),h=this.iRefs[w],g.split("").forEach((C,E)=>{const $=l+E;${const l=parseInt(u.target.dataset.id),d=l-1,h=l+1,g=this.iRefs[d],y=this.iRefs[h];switch(u.keyCode){case v0.backspace:u.preventDefault();const w=[...this.state.values];this.state.values[l]?(w[l]="",this.setState({values:w}),this.triggerChange(w)):g&&(w[d]="",g.current.focus(),this.setState({values:w}),this.triggerChange(w));break;case v0.left:u.preventDefault(),g&&g.current.focus();break;case v0.right:u.preventDefault(),y&&y.current.focus();break;case v0.up:case v0.down:u.preventDefault();break}},this.onFocus=u=>{u.target.select(u)};const{fields:n,values:r}=e;let i,o=0;if(r&&r.length){i=[];for(let u=0;u=n?0:r.length}else i=Array(n).fill("");this.state={values:i,autoFocusIndex:o},this.iRefs=[];for(let u=0;uN.jsx("input",{type:g==="number"?"tel":g,pattern:g==="number"?"[0-9]*":null,autoFocus:d&&E===n,style:y,"data-id":E,value:C,id:this.props.id?`${this.props.id}-${E}`:null,ref:this.iRefs[E],onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,disabled:this.props.disabled,required:this.props.required,placeholder:this.props.placeholder[E]},`${this.id}-${E}`))}),r&&N.jsxs("div",{className:"rc-loading",style:v,children:[N.jsx("div",{className:"rc-blur"}),N.jsx("svg",{className:"rc-spin",viewBox:"0 0 1024 1024","data-icon":"loading",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:N.jsx("path",{fill:"#006fff",d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"})})]})]})}}k1.propTypes={type:Te.oneOf(["text","number"]),onChange:Te.func,onComplete:Te.func,fields:Te.number,loading:Te.bool,title:Te.string,fieldWidth:Te.number,id:Te.string,fieldHeight:Te.number,autoFocus:Te.bool,className:Te.string,values:Te.arrayOf(Te.string),disabled:Te.bool,required:Te.bool,placeholder:Te.arrayOf(Te.string)};k1.defaultProps={type:"number",fields:6,fieldWidth:58,fieldHeight:54,autoFocus:!0,disabled:!1,required:!1,placeholder:[]};var l1;function vi(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var QJ=0;function Jp(t){return"__private_"+QJ+++"_"+t}const JJ=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),qf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class qf{}l1=qf;qf.URL="/passport/totp/confirm";qf.NewUrl=t=>Vo(l1.URL,void 0,t);qf.Method="post";qf.Fetch$=async(t,e,n,r)=>qo(r??l1.NewUrl(t),{method:l1.Method,...n||{}},e);qf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new $p(u)})=>{e=e||(l=>new $p(l));const u=await l1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};qf.Definition={name:"ConfirmClassicPassportTotp",url:"/passport/totp/confirm",method:"post",description:"When user requires to setup the totp for an specifc passport, they can use this endpoint to confirm it.",in:{fields:[{name:"value",description:"Passport value, email or phone number which is already successfully registered.",type:"string",tags:{validate:"required"}},{name:"password",description:"Password related to the passport. Totp is only available for passports with a password. Basically totp is protecting passport, not otp over email or sms.",type:"string",tags:{validate:"required"}},{name:"totpCode",description:"The totp code generated by authenticator such as google or microsft apps.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",type:"one",target:"UserSessionDto"}]}};var Mh=Jp("value"),kh=Jp("password"),Dh=Jp("totpCode"),BC=Jp("isJsonAppliable");class xf{get value(){return vi(this,Mh)[Mh]}set value(e){vi(this,Mh)[Mh]=String(e)}setValue(e){return this.value=e,this}get password(){return vi(this,kh)[kh]}set password(e){vi(this,kh)[kh]=String(e)}setPassword(e){return this.password=e,this}get totpCode(){return vi(this,Dh)[Dh]}set totpCode(e){vi(this,Dh)[Dh]=String(e)}setTotpCode(e){return this.totpCode=e,this}constructor(e=void 0){if(Object.defineProperty(this,BC,{value:XJ}),Object.defineProperty(this,Mh,{writable:!0,value:""}),Object.defineProperty(this,kh,{writable:!0,value:""}),Object.defineProperty(this,Dh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(vi(this,BC)[BC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.password!==void 0&&(this.password=n.password),n.totpCode!==void 0&&(this.totpCode=n.totpCode)}toJSON(){return{value:vi(this,Mh)[Mh],password:vi(this,kh)[kh],totpCode:vi(this,Dh)[Dh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",password:"password",totpCode:"totpCode"}}static from(e){return new xf(e)}static with(e){return new xf(e)}copyWith(e){return new xf({...this.toJSON(),...e})}clone(){return new xf(this.toJSON())}}function XJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var fl=Jp("session"),qC=Jp("isJsonAppliable"),b0=Jp("lateInitFields");class $p{get session(){return vi(this,fl)[fl]}set session(e){e instanceof fr?vi(this,fl)[fl]=e:vi(this,fl)[fl]=new fr(e)}setSession(e){return this.session=e,this}constructor(e=void 0){if(Object.defineProperty(this,b0,{value:eX}),Object.defineProperty(this,qC,{value:ZJ}),Object.defineProperty(this,fl,{writable:!0,value:void 0}),e==null){vi(this,b0)[b0]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(vi(this,qC)[qC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),vi(this,b0)[b0](e)}toJSON(){return{session:vi(this,fl)[fl]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return Af("session",fr.Fields)}}}static from(e){return new $p(e)}static with(e){return new $p(e)}copyWith(e){return new $p({...this.toJSON(),...e})}clone(){return new $p(this.toJSON())}}function ZJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function eX(t={}){const e=t;e.session instanceof fr||(this.session=new fr(e.session||{}))}const tX=()=>{const{goBack:t,state:e}=Ur(),n=JJ(),{onComplete:r}=M1(),i=e==null?void 0:e.totpUrl,o=e==null?void 0:e.forcedTotp,u=e==null?void 0:e.password,l=e==null?void 0:e.value,d=y=>{n.mutateAsync(new xf({...y,password:u,value:l})).then(g).catch(w=>{h==null||h.setErrors(ny(w))})},h=Nl({initialValues:{},onSubmit:d}),g=y=>{var w,v;(v=(w=y.data)==null?void 0:w.item)!=null&&v.session&&r(y)};return{mutation:n,totpUrl:i,forcedTotp:o,form:h,submit:d,goBack:t}},nX=({})=>{const{goBack:t,mutation:e,form:n,totpUrl:r,forcedTotp:i}=tX(),o=Wn($r);return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:o.setupTotp}),N.jsx("p",{children:o.setupTotpDescription}),N.jsx(Go,{query:e}),N.jsx(rX,{form:n,totpUrl:r,mutation:e,forcedTotp:i}),N.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:t,children:"Try another account"})]})},rX=({form:t,mutation:e,forcedTotp:n,totpUrl:r})=>{var u;const i=Wn($r),o=!t.values.totpCode||t.values.totpCode.length!=6;return N.jsxs("form",{onSubmit:l=>{l.preventDefault(),t.submitForm()},children:[N.jsx("center",{children:N.jsx(PN,{value:r,width:200,height:200})}),N.jsx(k1,{values:(u=t.values.totpCode)==null?void 0:u.split(""),onChange:l=>t.setFieldValue(xf.Fields.totpCode,l,!1),className:"otp-react-code-input"}),N.jsx(Ff,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:o,children:i.continue}),n!==!0&&N.jsxs(N.Fragment,{children:[N.jsx("p",{className:"mt-4",children:i.skipTotpInfo}),N.jsx("button",{className:"btn btn-warning w-100 d-block mb-2",children:i.skipTotpButton})]})]})},iX=()=>{const{goBack:t,state:e,replace:n,push:r}=Ur(),i=bN(),{onComplete:o}=M1(),u=e==null?void 0:e.totpUrl,l=e==null?void 0:e.forcedTotp,d=e==null?void 0:e.password,h=e==null?void 0:e.value,g=v=>{i.mutateAsync(new Is({...v,password:d,value:h})).then(w).catch(C=>{y==null||y.setErrors(ny(C))})},y=Nl({initialValues:{},onSubmit:(v,C)=>{i.mutateAsync(new Is(v))}}),w=v=>{var C,E;(E=(C=v.data)==null?void 0:C.item)!=null&&E.session&&o(v)};return{mutation:i,totpUrl:u,forcedTotp:l,form:y,submit:g,goBack:t}},aX=({})=>{const{goBack:t,mutation:e,form:n}=iX(),r=Wn($r);return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:r.enterTotp}),N.jsx("p",{children:r.enterTotpDescription}),N.jsx(Go,{query:e}),N.jsx(oX,{form:n,mutation:e}),N.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:t,children:r.anotherAccount})]})},oX=({form:t,mutation:e})=>{var i;const n=!t.values.totpCode||t.values.totpCode.length!=6,r=Wn($r);return N.jsxs("form",{onSubmit:o=>{o.preventDefault(),t.submitForm()},children:[N.jsx(k1,{values:(i=t.values.totpCode)==null?void 0:i.split(""),onChange:o=>t.setFieldValue(xf.Fields.totpCode,o,!1),className:"otp-react-code-input"}),N.jsx(Ff,{className:"btn btn-success w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:n,children:r.continue})]})};var c1;function Rt(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var sX=0;function Di(t){return"__private_"+sX+++"_"+t}const uX=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),Hf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Hf{}c1=Hf;Hf.URL="/passports/signup/classic";Hf.NewUrl=t=>Vo(c1.URL,void 0,t);Hf.Method="post";Hf.Fetch$=async(t,e,n,r)=>qo(r??c1.NewUrl(t),{method:c1.Method,...n||{}},e);Hf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Ep(u)})=>{e=e||(l=>new Ep(l));const u=await c1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Hf.Definition={name:"ClassicSignup",cliName:"up",url:"/passports/signup/classic",method:"post",description:"Signup a user into system via public access (aka website visitors) using either email or phone number.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"sessionSecret",description:"Required when the account creation requires recaptcha, or otp approval first. If such requirements are there, you first need to follow the otp apis, get the session secret and pass it here to complete the setup.",type:"string"},{name:"type",type:"enum",of:[{k:"phonenumber"},{k:"email"}],tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"firstName",type:"string",tags:{validate:"required"}},{name:"lastName",type:"string",tags:{validate:"required"}},{name:"inviteId",type:"string?"},{name:"publicJoinKeyId",type:"string?"},{name:"workspaceTypeId",type:"string?",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Returns the user session in case that signup is completely successful.",type:"one",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"continueToTotp",description:"Returns true and session will be empty if, the totp is required by the installation. In such scenario, you need to forward user to setup totp screen.",type:"bool"},{name:"forcedTotp",description:"Determines if user must complete totp in order to continue based on workspace or installation",type:"bool"}]}};var Fh=Di("value"),Lh=Di("sessionSecret"),Uh=Di("type"),jh=Di("password"),Bh=Di("firstName"),qh=Di("lastName"),Hh=Di("inviteId"),zh=Di("publicJoinKeyId"),Vh=Di("workspaceTypeId"),HC=Di("isJsonAppliable");class $u{get value(){return Rt(this,Fh)[Fh]}set value(e){Rt(this,Fh)[Fh]=String(e)}setValue(e){return this.value=e,this}get sessionSecret(){return Rt(this,Lh)[Lh]}set sessionSecret(e){Rt(this,Lh)[Lh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}get type(){return Rt(this,Uh)[Uh]}set type(e){Rt(this,Uh)[Uh]=e}setType(e){return this.type=e,this}get password(){return Rt(this,jh)[jh]}set password(e){Rt(this,jh)[jh]=String(e)}setPassword(e){return this.password=e,this}get firstName(){return Rt(this,Bh)[Bh]}set firstName(e){Rt(this,Bh)[Bh]=String(e)}setFirstName(e){return this.firstName=e,this}get lastName(){return Rt(this,qh)[qh]}set lastName(e){Rt(this,qh)[qh]=String(e)}setLastName(e){return this.lastName=e,this}get inviteId(){return Rt(this,Hh)[Hh]}set inviteId(e){const n=typeof e=="string"||e===void 0||e===null;Rt(this,Hh)[Hh]=n?e:String(e)}setInviteId(e){return this.inviteId=e,this}get publicJoinKeyId(){return Rt(this,zh)[zh]}set publicJoinKeyId(e){const n=typeof e=="string"||e===void 0||e===null;Rt(this,zh)[zh]=n?e:String(e)}setPublicJoinKeyId(e){return this.publicJoinKeyId=e,this}get workspaceTypeId(){return Rt(this,Vh)[Vh]}set workspaceTypeId(e){const n=typeof e=="string"||e===void 0||e===null;Rt(this,Vh)[Vh]=n?e:String(e)}setWorkspaceTypeId(e){return this.workspaceTypeId=e,this}constructor(e=void 0){if(Object.defineProperty(this,HC,{value:lX}),Object.defineProperty(this,Fh,{writable:!0,value:""}),Object.defineProperty(this,Lh,{writable:!0,value:""}),Object.defineProperty(this,Uh,{writable:!0,value:void 0}),Object.defineProperty(this,jh,{writable:!0,value:""}),Object.defineProperty(this,Bh,{writable:!0,value:""}),Object.defineProperty(this,qh,{writable:!0,value:""}),Object.defineProperty(this,Hh,{writable:!0,value:void 0}),Object.defineProperty(this,zh,{writable:!0,value:void 0}),Object.defineProperty(this,Vh,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Rt(this,HC)[HC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.type!==void 0&&(this.type=n.type),n.password!==void 0&&(this.password=n.password),n.firstName!==void 0&&(this.firstName=n.firstName),n.lastName!==void 0&&(this.lastName=n.lastName),n.inviteId!==void 0&&(this.inviteId=n.inviteId),n.publicJoinKeyId!==void 0&&(this.publicJoinKeyId=n.publicJoinKeyId),n.workspaceTypeId!==void 0&&(this.workspaceTypeId=n.workspaceTypeId)}toJSON(){return{value:Rt(this,Fh)[Fh],sessionSecret:Rt(this,Lh)[Lh],type:Rt(this,Uh)[Uh],password:Rt(this,jh)[jh],firstName:Rt(this,Bh)[Bh],lastName:Rt(this,qh)[qh],inviteId:Rt(this,Hh)[Hh],publicJoinKeyId:Rt(this,zh)[zh],workspaceTypeId:Rt(this,Vh)[Vh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",sessionSecret:"sessionSecret",type:"type",password:"password",firstName:"firstName",lastName:"lastName",inviteId:"inviteId",publicJoinKeyId:"publicJoinKeyId",workspaceTypeId:"workspaceTypeId"}}static from(e){return new $u(e)}static with(e){return new $u(e)}copyWith(e){return new $u({...this.toJSON(),...e})}clone(){return new $u(this.toJSON())}}function lX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var dl=Di("session"),Gh=Di("totpUrl"),Wh=Di("continueToTotp"),Kh=Di("forcedTotp"),zC=Di("isJsonAppliable"),w0=Di("lateInitFields");class Ep{get session(){return Rt(this,dl)[dl]}set session(e){e instanceof fr?Rt(this,dl)[dl]=e:Rt(this,dl)[dl]=new fr(e)}setSession(e){return this.session=e,this}get totpUrl(){return Rt(this,Gh)[Gh]}set totpUrl(e){Rt(this,Gh)[Gh]=String(e)}setTotpUrl(e){return this.totpUrl=e,this}get continueToTotp(){return Rt(this,Wh)[Wh]}set continueToTotp(e){Rt(this,Wh)[Wh]=!!e}setContinueToTotp(e){return this.continueToTotp=e,this}get forcedTotp(){return Rt(this,Kh)[Kh]}set forcedTotp(e){Rt(this,Kh)[Kh]=!!e}setForcedTotp(e){return this.forcedTotp=e,this}constructor(e=void 0){if(Object.defineProperty(this,w0,{value:fX}),Object.defineProperty(this,zC,{value:cX}),Object.defineProperty(this,dl,{writable:!0,value:void 0}),Object.defineProperty(this,Gh,{writable:!0,value:""}),Object.defineProperty(this,Wh,{writable:!0,value:void 0}),Object.defineProperty(this,Kh,{writable:!0,value:void 0}),e==null){Rt(this,w0)[w0]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Rt(this,zC)[zC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.continueToTotp!==void 0&&(this.continueToTotp=n.continueToTotp),n.forcedTotp!==void 0&&(this.forcedTotp=n.forcedTotp),Rt(this,w0)[w0](e)}toJSON(){return{session:Rt(this,dl)[dl],totpUrl:Rt(this,Gh)[Gh],continueToTotp:Rt(this,Wh)[Wh],forcedTotp:Rt(this,Kh)[Kh]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return Af("session",fr.Fields)},totpUrl:"totpUrl",continueToTotp:"continueToTotp",forcedTotp:"forcedTotp"}}static from(e){return new Ep(e)}static with(e){return new Ep(e)}copyWith(e){return new Ep({...this.toJSON(),...e})}clone(){return new Ep(this.toJSON())}}function cX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function fX(t={}){const e=t;e.session instanceof fr||(this.session=new fr(e.session||{}))}var f1;function Ka(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var dX=0;function D1(t){return"__private_"+dX+++"_"+t}const hX=t=>{const e=zo(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=T.useState(!1),[o,u]=T.useState(),l=()=>(i(!1),xl.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Bo({queryKey:[xl.NewUrl(t==null?void 0:t.qs)],queryFn:l,...t||{}}),isCompleted:r,response:o}};class xl{}f1=xl;xl.URL="/workspace/public/types";xl.NewUrl=t=>Vo(f1.URL,void 0,t);xl.Method="get";xl.Fetch$=async(t,e,n,r)=>qo(r??f1.NewUrl(t),{method:f1.Method,...n||{}},e);xl.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new xp(u)})=>{e=e||(l=>new xp(l));const u=await f1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};xl.Definition={name:"QueryWorkspaceTypesPublicly",cliName:"public-types",url:"/workspace/public/types",method:"get",description:"Returns the workspaces types available in the project publicly without authentication, and the value could be used upon signup to go different route.",out:{envelope:"GResponse",fields:[{name:"title",type:"string"},{name:"description",type:"string"},{name:"uniqueId",type:"string"},{name:"slug",type:"string"}]}};var Yh=D1("title"),Qh=D1("description"),Jh=D1("uniqueId"),Xh=D1("slug"),VC=D1("isJsonAppliable");class xp{get title(){return Ka(this,Yh)[Yh]}set title(e){Ka(this,Yh)[Yh]=String(e)}setTitle(e){return this.title=e,this}get description(){return Ka(this,Qh)[Qh]}set description(e){Ka(this,Qh)[Qh]=String(e)}setDescription(e){return this.description=e,this}get uniqueId(){return Ka(this,Jh)[Jh]}set uniqueId(e){Ka(this,Jh)[Jh]=String(e)}setUniqueId(e){return this.uniqueId=e,this}get slug(){return Ka(this,Xh)[Xh]}set slug(e){Ka(this,Xh)[Xh]=String(e)}setSlug(e){return this.slug=e,this}constructor(e=void 0){if(Object.defineProperty(this,VC,{value:pX}),Object.defineProperty(this,Yh,{writable:!0,value:""}),Object.defineProperty(this,Qh,{writable:!0,value:""}),Object.defineProperty(this,Jh,{writable:!0,value:""}),Object.defineProperty(this,Xh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Ka(this,VC)[VC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.title!==void 0&&(this.title=n.title),n.description!==void 0&&(this.description=n.description),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.slug!==void 0&&(this.slug=n.slug)}toJSON(){return{title:Ka(this,Yh)[Yh],description:Ka(this,Qh)[Qh],uniqueId:Ka(this,Jh)[Jh],slug:Ka(this,Xh)[Xh]}}toString(){return JSON.stringify(this)}static get Fields(){return{title:"title",description:"description",uniqueId:"uniqueId",slug:"slug"}}static from(e){return new xp(e)}static with(e){return new xp(e)}copyWith(e){return new xp({...this.toJSON(),...e})}clone(){return new xp(this.toJSON())}}function pX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const mX=()=>{var _;const{goBack:t,state:e,push:n}=Ur(),{locale:r}=Ci(),{onComplete:i}=M1(),o=uX(),u=e==null?void 0:e.totpUrl,{data:l,isLoading:d}=hX({}),h=((_=l==null?void 0:l.data)==null?void 0:_.items)||[],g=Wn($r),y=sessionStorage.getItem("workspace_type_id"),w=R=>{o.mutateAsync(new $u({...R,value:e==null?void 0:e.value,workspaceTypeId:O,type:e==null?void 0:e.type,sessionSecret:e==null?void 0:e.sessionSecret})).then(C).catch(k=>{v==null||v.setErrors(ny(k))})},v=Nl({initialValues:{},onSubmit:w});T.useEffect(()=>{v==null||v.setFieldValue($u.Fields.value,e==null?void 0:e.value)},[e==null?void 0:e.value]);const C=R=>{R.data.item.session?i(R):R.data.item.continueToTotp&&n(`/${r}/selfservice/totp-setup`,void 0,{totpUrl:R.data.item.totpUrl||u,forcedTotp:R.data.item.forcedTotp,password:v.values.password,value:e==null?void 0:e.value})},[E,$]=T.useState("");let O=h.length===1?h[0].uniqueId:E;return y&&(O=y),{mutation:o,isLoading:d,form:v,setSelectedWorkspaceType:$,totpUrl:u,workspaceTypeId:O,submit:w,goBack:t,s:g,workspaceTypes:h,state:e}},gX=({})=>{const{goBack:t,mutation:e,form:n,workspaceTypes:r,workspaceTypeId:i,isLoading:o,setSelectedWorkspaceType:u,s:l}=mX();return o?N.jsx("div",{className:"signin-form-container",children:N.jsx(vN,{})}):r.length===0?N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:l.registerationNotPossible}),N.jsx("p",{children:l.registerationNotPossibleLine1}),N.jsx("p",{children:l.registerationNotPossibleLine2})]}):r.length>=2&&!i?N.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[N.jsx("h1",{children:l.completeYourAccount}),N.jsx("p",{children:l.completeYourAccountDescription}),N.jsx("div",{className:" ",children:r.map(d=>N.jsxs("div",{className:"mt-3",children:[N.jsx("h2",{children:d.title}),N.jsx("p",{children:d.description}),N.jsx("button",{className:"btn btn-outline-primary w-100",onClick:()=>{u(d.uniqueId)},children:"Select"},d.uniqueId)]},d.uniqueId))})]}):N.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[N.jsx("h1",{children:l.completeYourAccount}),N.jsx("p",{children:l.completeYourAccountDescription}),N.jsx(Go,{query:e}),N.jsx(yX,{form:n,mutation:e}),N.jsx("button",{id:"go-step-back",onClick:t,className:"bg-transparent border-0",children:l.cancelStep})]})},yX=({form:t,mutation:e})=>{const n=Wn($r),r=!t.values.firstName||!t.values.lastName||!t.values.password||t.values.password.length<6;return N.jsxs("form",{onSubmit:i=>{i.preventDefault(),t.submitForm()},children:[N.jsx(Do,{value:t.values.firstName,label:n.firstName,id:"first-name-input",autoFocus:!0,errorMessage:t.errors.firstName,onChange:i=>t.setFieldValue($u.Fields.firstName,i,!1)}),N.jsx(Do,{value:t.values.lastName,label:n.lastName,id:"last-name-input",errorMessage:t.errors.lastName,onChange:i=>t.setFieldValue($u.Fields.lastName,i,!1)}),N.jsx(Do,{type:"password",value:t.values.password,label:n.password,id:"password-input",errorMessage:t.errors.password,onChange:i=>t.setFieldValue($u.Fields.password,i,!1)}),N.jsx(Ff,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:r,children:n.continue})]})};var d1;function mi(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var vX=0;function Xp(t){return"__private_"+vX+++"_"+t}const bX=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),zf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class zf{}d1=zf;zf.URL="/workspace/passport/request-otp";zf.NewUrl=t=>Vo(d1.URL,void 0,t);zf.Method="post";zf.Fetch$=async(t,e,n,r)=>qo(r??d1.NewUrl(t),{method:d1.Method,...n||{}},e);zf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Op(u)})=>{e=e||(l=>new Op(l));const u=await d1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};zf.Definition={name:"ClassicPassportRequestOtp",cliName:"otp-request",url:"/workspace/passport/request-otp",method:"post",description:"Triggers an otp request, and will send an sms or email to the passport. This endpoint is not used for login, but rather makes a request at initial step. Later you can call classicPassportOtp to get in.",in:{fields:[{name:"value",description:"Passport value (email, phone number) which would be receiving the otp code.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}};var Zh=Xp("value"),GC=Xp("isJsonAppliable");class _g{get value(){return mi(this,Zh)[Zh]}set value(e){mi(this,Zh)[Zh]=String(e)}setValue(e){return this.value=e,this}constructor(e=void 0){if(Object.defineProperty(this,GC,{value:wX}),Object.defineProperty(this,Zh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(mi(this,GC)[GC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value)}toJSON(){return{value:mi(this,Zh)[Zh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value"}}static from(e){return new _g(e)}static with(e){return new _g(e)}copyWith(e){return new _g({...this.toJSON(),...e})}clone(){return new _g(this.toJSON())}}function wX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var ep=Xp("suspendUntil"),tp=Xp("validUntil"),np=Xp("blockedUntil"),rp=Xp("secondsToUnblock"),WC=Xp("isJsonAppliable");class Op{get suspendUntil(){return mi(this,ep)[ep]}set suspendUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,ep)[ep]=r)}setSuspendUntil(e){return this.suspendUntil=e,this}get validUntil(){return mi(this,tp)[tp]}set validUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,tp)[tp]=r)}setValidUntil(e){return this.validUntil=e,this}get blockedUntil(){return mi(this,np)[np]}set blockedUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,np)[np]=r)}setBlockedUntil(e){return this.blockedUntil=e,this}get secondsToUnblock(){return mi(this,rp)[rp]}set secondsToUnblock(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,rp)[rp]=r)}setSecondsToUnblock(e){return this.secondsToUnblock=e,this}constructor(e=void 0){if(Object.defineProperty(this,WC,{value:SX}),Object.defineProperty(this,ep,{writable:!0,value:0}),Object.defineProperty(this,tp,{writable:!0,value:0}),Object.defineProperty(this,np,{writable:!0,value:0}),Object.defineProperty(this,rp,{writable:!0,value:0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(mi(this,WC)[WC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:mi(this,ep)[ep],validUntil:mi(this,tp)[tp],blockedUntil:mi(this,np)[np],secondsToUnblock:mi(this,rp)[rp]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(e){return new Op(e)}static with(e){return new Op(e)}copyWith(e){return new Op({...this.toJSON(),...e})}clone(){return new Op(this.toJSON())}}function SX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const CX=()=>{const t=Wn($r),{goBack:e,state:n,push:r}=Ur(),{locale:i}=Ci(),{onComplete:o}=M1(),u=bN(),l=n==null?void 0:n.canContinueOnOtp,d=bX(),h=v=>{u.mutateAsync(new Is({value:v.value,password:v.password})).then(w).catch(C=>{g==null||g.setErrors(ny(C))})},g=Nl({initialValues:{},onSubmit:h}),y=()=>{d.mutateAsync(new _g({value:g.values.value})).then(v=>{r("../otp",void 0,{value:g.values.value})}).catch(v=>{v.error.message==="OtaRequestBlockedUntil"&&r("../otp",void 0,{value:g.values.value})})};T.useEffect(()=>{n!=null&&n.value&&g.setFieldValue(Is.Fields.value,n.value)},[n==null?void 0:n.value]);const w=v=>{var C,E;v.data.item.session?o(v):(C=v.data.item.next)!=null&&C.includes("enter-totp")?r(`/${i}/selfservice/totp-enter`,void 0,{value:g.values.value,password:g.values.password}):(E=v.data.item.next)!=null&&E.includes("setup-totp")&&r(`/${i}/selfservice/totp-setup`,void 0,{totpUrl:v.data.item.totpUrl,forcedTotp:!0,password:g.values.password,value:n==null?void 0:n.value})};return{mutation:u,otpEnabled:l,continueWithOtp:y,form:g,submit:h,goBack:e,s:t}},$X=({})=>{const{goBack:t,mutation:e,form:n,continueWithOtp:r,otpEnabled:i,s:o}=CX();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:o.enterPassword}),N.jsx("p",{children:o.enterPasswordDescription}),N.jsx(Go,{query:e}),N.jsx(EX,{form:n,mutation:e,continueWithOtp:r,otpEnabled:i}),N.jsx("button",{id:"go-back-button",onClick:t,className:"btn bg-transparent w-100 mt-4",children:o.anotherAccount})]})},EX=({form:t,mutation:e,otpEnabled:n,continueWithOtp:r})=>{const i=Wn($r),o=!t.values.value||!t.values.password;return N.jsxs("form",{onSubmit:u=>{u.preventDefault(),t.submitForm()},children:[N.jsx(Do,{type:"password",value:t.values.password,label:i.password,id:"password-input",autoFocus:!0,errorMessage:t.errors.password,onChange:u=>t.setFieldValue(Is.Fields.password,u,!1)}),N.jsx(Ff,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:o,children:i.continue}),n&&N.jsx("button",{onClick:r,className:"bg-transparent border-0 mt-3 mb-3",children:i.useOneTimePassword})]})};var h1;function wr(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var xX=0;function Vf(t){return"__private_"+xX+++"_"+t}const OX=t=>{const e=zo(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),Gf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result))),...t||{}}),isCompleted:r,response:o}};class Gf{}h1=Gf;Gf.URL="/workspace/passport/otp";Gf.NewUrl=t=>Vo(h1.URL,void 0,t);Gf.Method="post";Gf.Fetch$=async(t,e,n,r)=>qo(r??h1.NewUrl(t),{method:h1.Method,...n||{}},e);Gf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new _p(u)})=>{e=e||(l=>new _p(l));const u=await h1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Gf.Definition={name:"ClassicPassportOtp",cliName:"otp",url:"/workspace/passport/otp",method:"post",description:"Authenticate the user publicly for classic methods using communication service, such as sms, call, or email. You need to call classicPassportRequestOtp beforehand to send a otp code, and then validate it with this API. Also checkClassicPassport action might already sent the otp, so make sure you don't send it twice.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"otp",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Upon successful authentication, there will be a session dto generated, which is a ground information of authorized user and can be stored in front-end.",type:"one?",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"sessionSecret",description:"The session secret will be used to call complete user registration api.",type:"string"},{name:"continueWithCreation",description:"If return true, means the OTP is correct and user needs to be created before continue the authentication process.",type:"bool"}]}};var ip=Vf("value"),ap=Vf("otp"),KC=Vf("isJsonAppliable");class Tp{get value(){return wr(this,ip)[ip]}set value(e){wr(this,ip)[ip]=String(e)}setValue(e){return this.value=e,this}get otp(){return wr(this,ap)[ap]}set otp(e){wr(this,ap)[ap]=String(e)}setOtp(e){return this.otp=e,this}constructor(e=void 0){if(Object.defineProperty(this,KC,{value:TX}),Object.defineProperty(this,ip,{writable:!0,value:""}),Object.defineProperty(this,ap,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(wr(this,KC)[KC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.otp!==void 0&&(this.otp=n.otp)}toJSON(){return{value:wr(this,ip)[ip],otp:wr(this,ap)[ap]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",otp:"otp"}}static from(e){return new Tp(e)}static with(e){return new Tp(e)}copyWith(e){return new Tp({...this.toJSON(),...e})}clone(){return new Tp(this.toJSON())}}function TX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var hl=Vf("session"),op=Vf("totpUrl"),sp=Vf("sessionSecret"),up=Vf("continueWithCreation"),YC=Vf("isJsonAppliable");class _p{get session(){return wr(this,hl)[hl]}set session(e){e instanceof fr?wr(this,hl)[hl]=e:wr(this,hl)[hl]=new fr(e)}setSession(e){return this.session=e,this}get totpUrl(){return wr(this,op)[op]}set totpUrl(e){wr(this,op)[op]=String(e)}setTotpUrl(e){return this.totpUrl=e,this}get sessionSecret(){return wr(this,sp)[sp]}set sessionSecret(e){wr(this,sp)[sp]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}get continueWithCreation(){return wr(this,up)[up]}set continueWithCreation(e){wr(this,up)[up]=!!e}setContinueWithCreation(e){return this.continueWithCreation=e,this}constructor(e=void 0){if(Object.defineProperty(this,YC,{value:_X}),Object.defineProperty(this,hl,{writable:!0,value:void 0}),Object.defineProperty(this,op,{writable:!0,value:""}),Object.defineProperty(this,sp,{writable:!0,value:""}),Object.defineProperty(this,up,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(wr(this,YC)[YC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.continueWithCreation!==void 0&&(this.continueWithCreation=n.continueWithCreation)}toJSON(){return{session:wr(this,hl)[hl],totpUrl:wr(this,op)[op],sessionSecret:wr(this,sp)[sp],continueWithCreation:wr(this,up)[up]}}toString(){return JSON.stringify(this)}static get Fields(){return{session:"session",totpUrl:"totpUrl",sessionSecret:"sessionSecret",continueWithCreation:"continueWithCreation"}}static from(e){return new _p(e)}static with(e){return new _p(e)}copyWith(e){return new _p({...this.toJSON(),...e})}clone(){return new _p(this.toJSON())}}function _X(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const AX=()=>{const{goBack:t,state:e,replace:n,push:r}=Ur(),{locale:i}=Ci(),o=Wn($r),u=OX({}),{onComplete:l}=M1(),d=y=>{u.mutateAsync(new Tp({...y,value:e.value})).then(g).catch(w=>{h==null||h.setErrors(ny(w))})},h=Nl({initialValues:{},onSubmit:d}),g=y=>{var w,v,C,E,$;(w=y.data)!=null&&w.item.session?l(y):(C=(v=y.data)==null?void 0:v.item)!=null&&C.continueWithCreation&&r(`/${i}/selfservice/complete`,void 0,{value:e.value,type:e.type,sessionSecret:(E=y.data.item)==null?void 0:E.sessionSecret,totpUrl:($=y.data.item)==null?void 0:$.totpUrl})};return{mutation:u,form:h,s:o,submit:d,goBack:t}},RX=({})=>{const{goBack:t,mutation:e,form:n,s:r}=AX();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:r.enterOtp}),N.jsx("p",{children:r.enterOtpDescription}),N.jsx(Go,{query:e}),N.jsx(PX,{form:n,mutation:e}),N.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:t,children:r.anotherAccount})]})},PX=({form:t,mutation:e})=>{var i;const n=!t.values.otp,r=Wn($r);return N.jsxs("form",{onSubmit:o=>{o.preventDefault(),t.submitForm()},children:[N.jsx(k1,{values:(i=t.values.otp)==null?void 0:i.split(""),onChange:o=>t.setFieldValue(Tp.Fields.otp,o,!1),className:"otp-react-code-input"}),N.jsx(Ff,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:n,children:r.continue})]})};function F1(t){const e=T.useRef(),n=Nf();T.useEffect(()=>{var h;t!=null&&t.data&&((h=e.current)==null||h.setValues(t.data))},[t==null?void 0:t.data]);const r=Ur(),i=r.query.uniqueId,o=r.query.linkerId,u=!!i,{locale:l}=Ci(),d=vn();return{router:r,t:d,isEditing:u,locale:l,queryClient:n,formik:e,uniqueId:i,linkerId:o}}function IX(t,e){var r,i;let n=!1;for(const o of((r=t==null?void 0:t.role)==null?void 0:r.capabilities)||[])if(o.uniqueId===e||o.uniqueId==="root.*"||(i=o==null?void 0:o.uniqueId)!=null&&i.endsWith(".*")&&e.includes(o.uniqueId.replace("*",""))){n=!0;break}return n}function IN(t){for(var e=[],n=t.length,r,i=0;i>>0,e.push(String.fromCharCode(r));return e.join("")}function NX(t,e,n,r,i){var o=new XMLHttpRequest;o.open(e,t),o.addEventListener("load",function(){var u=IN(this.responseText);u="data:application/text;base64,"+btoa(u),document.location=u},!1),o.setRequestHeader("Authorization",n),o.setRequestHeader("Workspace-Id",r),o.setRequestHeader("role-Id",i),o.overrideMimeType("application/octet-stream; charset=x-user-defined;"),o.send(null)}const MX=({path:t})=>{vn();const{options:e}=T.useContext(yn);kN(t?()=>{const n=e==null?void 0:e.headers;NX(e.prefix+""+t,"GET",n.authorization||"",n["workspace-id"]||"",n["role-id"]||"")}:void 0,jn.ExportTable)};function L1(t,e){const n={[jn.NewEntity]:"n",[jn.NewChildEntity]:"n",[jn.EditEntity]:"e",[jn.SidebarToggle]:"m",[jn.ViewQuestions]:"q",[jn.Delete]:"Backspace",[jn.StopStart]:" ",[jn.ExportTable]:"x",[jn.CommonBack]:"Escape",[jn.Select1Index]:"1",[jn.Select2Index]:"2",[jn.Select3Index]:"3",[jn.Select4Index]:"4",[jn.Select5Index]:"5",[jn.Select6Index]:"6",[jn.Select7Index]:"7",[jn.Select8Index]:"8",[jn.Select9Index]:"9"};let r;return typeof t=="object"?r=t.map(i=>n[i]):typeof t=="string"&&(r=n[t]),kX(r,e)}function kX(t,e){T.useEffect(()=>{if(!t||t.length===0||!e)return;function n(r){var i=r||window.event,o=i.target||i.srcElement;const u=o.tagName.toUpperCase(),l=o.type;if(["TEXTAREA","SELECT"].includes(u)){r.key==="Escape"&&i.target.blur();return}if(u==="INPUT"&&(l==="text"||l==="password")){r.key==="Escape"&&i.target.blur();return}let d=!1;typeof t=="string"&&r.key===t?d=!0:Array.isArray(t)&&(d=t.includes(r.key)),d&&e&&e(r.key)}if(e)return window.addEventListener("keyup",n),()=>{window.removeEventListener("keyup",n)}},[e,t])}const NN=Ae.createContext({setActionMenu(){},removeActionMenu(){},removeActionMenuItems(t,e){},refs:[]});function DX(){const t=T.useContext(NN);return{addActions:(i,o)=>(t.setActionMenu(i,o),()=>t.removeActionMenu(i)),removeActionMenu:i=>{t.removeActionMenu(i)},deleteActions:(i,o)=>{t.removeActionMenuItems(i,o)}}}function U1(t,e,n,r){const i=T.useContext(NN);return T.useEffect(()=>(i.setActionMenu(t,e.filter(o=>o!==void 0)),()=>{i.removeActionMenu(t)}),[]),{addActions(o,u=t){i.setActionMenu(u,o)},deleteActions(o,u=t){i.removeActionMenuItems(u,o)}}}function FX({onCancel:t,onSave:e,access:n}){const{selectedUrw:r}=T.useContext(yn),i=T.useMemo(()=>n?(r==null?void 0:r.workspaceId)!=="root"&&(n!=null&&n.onlyRoot)?!1:!(n!=null&&n.permissions)||n.permissions.length===0?!0:IX(r,n.permissions[0]):!0,[r,n]),o=vn();U1("editing-core",(({onSave:l,onCancel:d})=>i?[{icon:"",label:o.common.save,uniqueActionKey:"save",onSelect:()=>{l()}},d&&{icon:"",label:o.common.cancel,uniqueActionKey:"cancel",onSelect:()=>{d()}}]:[])({onCancel:t,onSave:e}))}function LX(t,e){const n=vn();L1(e,t),U1("commonEntityActions",[t&&{icon:iy.add,label:n.actions.new,uniqueActionKey:"new",onSelect:t}])}function MN(t,e){const n=vn();L1(e,t),U1("navigation",[t&&{icon:iy.left,label:n.actions.back,uniqueActionKey:"back",className:"navigator-back-button",onSelect:t}])}function UX(){const{session:t,options:e}=T.useContext(yn);kN(()=>{var n=new XMLHttpRequest;n.open("GET",e.prefix+"roles/export"),n.addEventListener("load",function(){var i=IN(this.responseText);i="data:application/text;base64,"+btoa(i),document.location=i},!1);const r=e==null?void 0:e.headers;n.setRequestHeader("Authorization",r.authorization||""),n.setRequestHeader("Workspace-Id",r["workspace-id"]||""),n.setRequestHeader("role-Id",r["role-id"]||""),n.overrideMimeType("application/octet-stream; charset=x-user-defined;"),n.send(null)},jn.ExportTable)}function kN(t,e){const n=vn();L1(e,t),U1("exportTools",[t&&{icon:iy.export,label:n.actions.new,uniqueActionKey:"export",onSelect:t}])}function jX(t,e){const n=vn();L1(e,t),U1("commonEntityActions",[t&&{icon:iy.edit,label:n.actions.edit,uniqueActionKey:"new",onSelect:t}])}const BX=Ae.createContext({setPageTitle(){},removePageTitle(){},ref:{title:""}});function DN(t){const e=T.useContext(BX);T.useEffect(()=>(e.setPageTitle(t||""),()=>{e.removePageTitle("")}),[t])}const FO=({data:t,Form:e,getSingleHook:n,postHook:r,onCancel:i,onFinishUriResolver:o,disableOnGetFailed:u,patchHook:l,onCreateTitle:d,onEditTitle:h,setInnerRef:g,beforeSetValues:y,forceEdit:w,onlyOnRoot:v,customClass:C,beforeSubmit:E,onSuccessPatchOrPost:$})=>{var te,be,we;const[O,_]=T.useState(),{router:R,isEditing:k,locale:P,formik:L,t:F}=F1({data:t}),q=T.useRef({});MN(i,jn.CommonBack);const{selectedUrw:Y}=T.useContext(yn);DN((k||w?h:d)||"");const{query:X}=n;T.useEffect(()=>{var B,V,H;(B=X.data)!=null&&B.data&&((V=L.current)==null||V.setValues(y?y({...X.data.data}):{...X.data.data}),_((H=X.data)==null?void 0:H.data))},[X.data]),T.useEffect(()=>{var B;(B=L.current)==null||B.setSubmitting((r==null?void 0:r.mutation.isLoading)||(l==null?void 0:l.mutation.isLoading))},[r==null?void 0:r.isLoading,l==null?void 0:l.isLoading]);const ue=(B,V)=>{let H=q.current;H.uniqueId=B.uniqueId,E&&(H=E(H)),(k||w?l==null?void 0:l.submit(H,V):r==null?void 0:r.submit(H,V)).then(G=>{var J;(J=G.data)!=null&&J.uniqueId&&($?$(G):o?R.goBackOrDefault(o(G,P)):pV("Done",{type:"success"}))}).catch(G=>void 0)},me=((te=n==null?void 0:n.query)==null?void 0:te.isLoading)||!1||((be=r==null?void 0:r.query)==null?void 0:be.isLoading)||!1||((we=l==null?void 0:l.query)==null?void 0:we.isLoading)||!1;return FX({onSave(){var B;(B=L.current)==null||B.submitForm()}}),v&&Y.workspaceId!=="root"?N.jsx("div",{children:F.onlyOnRoot}):N.jsx(FB,{innerRef:B=>{B&&(L.current=B,g&&g(B))},initialValues:{},onSubmit:ue,children:B=>{var V,H,ie,G;return N.jsx("form",{onSubmit:J=>{J.preventDefault(),B.submitForm()},className:C??"headless-form-entity-manager",children:N.jsxs("fieldset",{disabled:me,children:[N.jsx("div",{style:{marginBottom:"15px"},children:N.jsx(Go,{query:(V=r==null?void 0:r.mutation)!=null&&V.isError?r.mutation:(H=l==null?void 0:l.mutation)!=null&&H.isError?l.mutation:(ie=n==null?void 0:n.query)!=null&&ie.isError?n.query:null})}),u===!0&&((G=n==null?void 0:n.query)!=null&&G.isError)?null:N.jsx(e,{isEditing:k,initialData:O,form:{...B,setValues:(J,he)=>{for(const $e in J)Sr.set(q.current,$e,J[$e]);return B.setValues(J)},setFieldValue:(J,he,$e)=>(Sr.set(q.current,J,he),B.setFieldValue(J,he,$e))}}),N.jsx("button",{type:"submit",className:"d-none"})]})})}})};function FN({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=T.useContext(yn),l=e?e(o):u?u(o):Lr(o);let h=`${"/public-join-key/:uniqueId".substr(1)}?${new URLSearchParams(la(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>l("GET",h),w=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=w!="undefined"&&w!=null&&w!=null&&w!="null"&&!!w;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Bo([o,n,"*abac.PublicJoinKeyEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}function qX(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/public-join-key".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueriesData("*abac.PublicJoinKeyEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function HX(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/public-join-key".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueryData("*abac.PublicJoinKeyEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function Hp(t){"@babel/helpers - typeof";return Hp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hp(t)}function zX(t,e){if(Hp(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(Hp(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function LN(t){var e=zX(t,"string");return Hp(e)=="symbol"?e:String(e)}function Ag(t,e,n){return e=LN(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function HR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ct(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?wi(ay,--Oa):0,Gg--,_r===10&&(Gg=1,NS--),_r}function to(){return _r=Oa2||m1(_r)>3?"":" "}function dZ(t,e){for(;--e&&to()&&!(_r<48||_r>102||_r>57&&_r<65||_r>70&&_r<97););return j1(t,gw()+(e<6&&Ou()==32&&to()==32))}function wx(t){for(;to();)switch(_r){case t:return Oa;case 34:case 39:t!==34&&t!==39&&wx(_r);break;case 40:t===41&&wx(t);break;case 92:to();break}return Oa}function hZ(t,e){for(;to()&&t+_r!==57;)if(t+_r===84&&Ou()===47)break;return"/*"+j1(e,Oa-1)+"*"+IS(t===47?t:to())}function pZ(t){for(;!m1(Ou());)to();return j1(t,Oa)}function mZ(t){return GN(vw("",null,null,null,[""],t=VN(t),0,[0],t))}function vw(t,e,n,r,i,o,u,l,d){for(var h=0,g=0,y=u,w=0,v=0,C=0,E=1,$=1,O=1,_=0,R="",k=i,P=o,L=r,F=R;$;)switch(C=_,_=to()){case 40:if(C!=108&&wi(F,y-1)==58){bx(F+=wn(yw(_),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:F+=yw(_);break;case 9:case 10:case 13:case 32:F+=fZ(C);break;case 92:F+=dZ(gw()-1,7);continue;case 47:switch(Ou()){case 42:case 47:W2(gZ(hZ(to(),gw()),e,n),d);break;default:F+="/"}break;case 123*E:l[h++]=Su(F)*O;case 125*E:case 59:case 0:switch(_){case 0:case 125:$=0;case 59+g:O==-1&&(F=wn(F,/\f/g,"")),v>0&&Su(F)-y&&W2(v>32?GR(F+";",r,n,y-1):GR(wn(F," ","")+";",r,n,y-2),d);break;case 59:F+=";";default:if(W2(L=VR(F,e,n,h,g,i,l,R,k=[],P=[],y),o),_===123)if(g===0)vw(F,e,L,L,k,o,y,l,P);else switch(w===99&&wi(F,3)===110?100:w){case 100:case 108:case 109:case 115:vw(t,L,L,r&&W2(VR(t,L,L,0,0,i,l,R,i,k=[],y),P),i,P,y,l,r?k:P);break;default:vw(F,L,L,L,[""],P,0,l,P)}}h=g=v=0,E=O=1,R=F="",y=u;break;case 58:y=1+Su(F),v=C;default:if(E<1){if(_==123)--E;else if(_==125&&E++==0&&cZ()==125)continue}switch(F+=IS(_),_*E){case 38:O=g>0?1:(F+="\f",-1);break;case 44:l[h++]=(Su(F)-1)*O,O=1;break;case 64:Ou()===45&&(F+=yw(to())),w=Ou(),g=y=Su(R=F+=pZ(gw())),_++;break;case 45:C===45&&Su(F)==2&&(E=0)}}return o}function VR(t,e,n,r,i,o,u,l,d,h,g){for(var y=i-1,w=i===0?o:[""],v=BO(w),C=0,E=0,$=0;C0?w[O]+" "+_:wn(_,/&\f/g,w[O])))&&(d[$++]=R);return MS(t,e,n,i===0?UO:l,d,h,g)}function gZ(t,e,n){return MS(t,e,n,BN,IS(lZ()),p1(t,2,-2),0)}function GR(t,e,n,r){return MS(t,e,n,jO,p1(t,0,r),p1(t,r+1,-1),r)}function Bg(t,e){for(var n="",r=BO(t),i=0;i6)switch(wi(t,e+1)){case 109:if(wi(t,e+4)!==45)break;case 102:return wn(t,/(.+:)(.+)-([^]+)/,"$1"+bn+"$2-$3$1"+Gw+(wi(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~bx(t,"stretch")?WN(wn(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(wi(t,e+1)!==115)break;case 6444:switch(wi(t,Su(t)-3-(~bx(t,"!important")&&10))){case 107:return wn(t,":",":"+bn)+t;case 101:return wn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+bn+(wi(t,14)===45?"inline-":"")+"box$3$1"+bn+"$2$3$1"+Ii+"$2box$3")+t}break;case 5936:switch(wi(t,e+11)){case 114:return bn+t+Ii+wn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return bn+t+Ii+wn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return bn+t+Ii+wn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return bn+t+Ii+t+t}return t}var xZ=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case jO:e.return=WN(e.value,e.length);break;case qN:return Bg([S0(e,{value:wn(e.value,"@","@"+bn)})],i);case UO:if(e.length)return uZ(e.props,function(o){switch(sZ(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bg([S0(e,{props:[wn(o,/:(read-\w+)/,":"+Gw+"$1")]})],i);case"::placeholder":return Bg([S0(e,{props:[wn(o,/:(plac\w+)/,":"+bn+"input-$1")]}),S0(e,{props:[wn(o,/:(plac\w+)/,":"+Gw+"$1")]}),S0(e,{props:[wn(o,/:(plac\w+)/,Ii+"input-$1")]})],i)}return""})}},OZ=[xZ],TZ=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var $=E.getAttribute("data-emotion");$.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var i=e.stylisPlugins||OZ,o={},u,l=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var $=E.getAttribute("data-emotion").split(" "),O=1;O<$.length;O++)o[$[O]]=!0;l.push(E)});var d,h=[$Z,EZ];{var g,y=[yZ,bZ(function(E){g.insert(E)})],w=vZ(h.concat(i,y)),v=function($){return Bg(mZ($),w)};d=function($,O,_,R){g=_,v($?$+"{"+O.styles+"}":O.styles),R&&(C.inserted[O.name]=!0)}}var C={key:n,sheet:new tZ({key:n,container:u,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:d};return C.sheet.hydrate(l),C},_Z=!0;function AZ(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):r+=i+" "}),r}var KN=function(e,n,r){var i=e.key+"-"+n.name;(r===!1||_Z===!1)&&e.registered[i]===void 0&&(e.registered[i]=n.styles)},RZ=function(e,n,r){KN(e,n,r);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function PZ(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var IZ={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function NZ(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var MZ=/[A-Z]|^ms/g,kZ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,YN=function(e){return e.charCodeAt(1)===45},KR=function(e){return e!=null&&typeof e!="boolean"},QC=NZ(function(t){return YN(t)?t:t.replace(MZ,"-$&").toLowerCase()}),YR=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(kZ,function(r,i,o){return Cu={name:i,styles:o,next:Cu},i})}return IZ[e]!==1&&!YN(e)&&typeof n=="number"&&n!==0?n+"px":n};function g1(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Cu={name:n.name,styles:n.styles,next:Cu},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Cu={name:r.name,styles:r.styles,next:Cu},r=r.next;var i=n.styles+";";return i}return DZ(t,e,n)}case"function":{if(t!==void 0){var o=Cu,u=n(t);return Cu=o,g1(t,e,u)}break}}return n}function DZ(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i=0)&&(n[i]=t[i]);return n}function Pu(t,e){if(t==null)return{};var n=QZ(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function JZ(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const XZ=Math.min,ZZ=Math.max,Ww=Math.round,K2=Math.floor,Kw=t=>({x:t,y:t});function eee(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function XN(t){return e7(t)?(t.nodeName||"").toLowerCase():"#document"}function Ol(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ZN(t){var e;return(e=(e7(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function e7(t){return t instanceof Node||t instanceof Ol(t).Node}function tee(t){return t instanceof Element||t instanceof Ol(t).Element}function zO(t){return t instanceof HTMLElement||t instanceof Ol(t).HTMLElement}function JR(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ol(t).ShadowRoot}function t7(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=VO(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function nee(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ree(t){return["html","body","#document"].includes(XN(t))}function VO(t){return Ol(t).getComputedStyle(t)}function iee(t){if(XN(t)==="html")return t;const e=t.assignedSlot||t.parentNode||JR(t)&&t.host||ZN(t);return JR(e)?e.host:e}function n7(t){const e=iee(t);return ree(e)?t.ownerDocument?t.ownerDocument.body:t.body:zO(e)&&t7(e)?e:n7(e)}function Yw(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=n7(t),o=i===((r=t.ownerDocument)==null?void 0:r.body),u=Ol(i);return o?e.concat(u,u.visualViewport||[],t7(i)?i:[],u.frameElement&&n?Yw(u.frameElement):[]):e.concat(i,Yw(i,[],n))}function aee(t){const e=VO(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=zO(t),o=i?t.offsetWidth:n,u=i?t.offsetHeight:r,l=Ww(n)!==o||Ww(r)!==u;return l&&(n=o,r=u),{width:n,height:r,$:l}}function GO(t){return tee(t)?t:t.contextElement}function XR(t){const e=GO(t);if(!zO(e))return Kw(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=aee(e);let u=(o?Ww(n.width):n.width)/r,l=(o?Ww(n.height):n.height)/i;return(!u||!Number.isFinite(u))&&(u=1),(!l||!Number.isFinite(l))&&(l=1),{x:u,y:l}}const oee=Kw(0);function see(t){const e=Ol(t);return!nee()||!e.visualViewport?oee:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function uee(t,e,n){return!1}function ZR(t,e,n,r){e===void 0&&(e=!1);const i=t.getBoundingClientRect(),o=GO(t);let u=Kw(1);e&&(u=XR(t));const l=uee()?see(o):Kw(0);let d=(i.left+l.x)/u.x,h=(i.top+l.y)/u.y,g=i.width/u.x,y=i.height/u.y;if(o){const w=Ol(o),v=r;let C=w,E=C.frameElement;for(;E&&r&&v!==C;){const $=XR(E),O=E.getBoundingClientRect(),_=VO(E),R=O.left+(E.clientLeft+parseFloat(_.paddingLeft))*$.x,k=O.top+(E.clientTop+parseFloat(_.paddingTop))*$.y;d*=$.x,h*=$.y,g*=$.x,y*=$.y,d+=R,h+=k,C=Ol(E),E=C.frameElement}}return eee({width:g,height:y,x:d,y:h})}function lee(t,e){let n=null,r;const i=ZN(t);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function u(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),o();const{left:h,top:g,width:y,height:w}=t.getBoundingClientRect();if(l||e(),!y||!w)return;const v=K2(g),C=K2(i.clientWidth-(h+y)),E=K2(i.clientHeight-(g+w)),$=K2(h),_={rootMargin:-v+"px "+-C+"px "+-E+"px "+-$+"px",threshold:ZZ(0,XZ(1,d))||1};let R=!0;function k(P){const L=P[0].intersectionRatio;if(L!==d){if(!R)return u();L?u(!1,L):r=setTimeout(()=>{u(!1,1e-7)},100)}R=!1}try{n=new IntersectionObserver(k,{..._,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,_)}n.observe(t)}return u(!0),o}function cee(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,h=GO(t),g=i||o?[...h?Yw(h):[],...Yw(e)]:[];g.forEach(O=>{i&&O.addEventListener("scroll",n,{passive:!0}),o&&O.addEventListener("resize",n)});const y=h&&l?lee(h,n):null;let w=-1,v=null;u&&(v=new ResizeObserver(O=>{let[_]=O;_&&_.target===h&&v&&(v.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(e)})),n()}),h&&!d&&v.observe(h),v.observe(e));let C,E=d?ZR(t):null;d&&$();function $(){const O=ZR(t);E&&(O.x!==E.x||O.y!==E.y||O.width!==E.width||O.height!==E.height)&&n(),E=O,C=requestAnimationFrame($)}return n(),()=>{var O;g.forEach(_=>{i&&_.removeEventListener("scroll",n),o&&_.removeEventListener("resize",n)}),y==null||y(),(O=v)==null||O.disconnect(),v=null,d&&cancelAnimationFrame(C)}}var Cx=T.useLayoutEffect,fee=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Qw=function(){};function dee(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function hee(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i-1}function mee(t){return kS(t)?window.innerHeight:t.clientHeight}function i7(t){return kS(t)?window.pageYOffset:t.scrollTop}function Jw(t,e){if(kS(t)){window.scrollTo(0,e);return}t.scrollTop=e}function gee(t){var e=getComputedStyle(t),n=e.position==="absolute",r=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=t;i=i.parentElement;)if(e=getComputedStyle(i),!(n&&e.position==="static")&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function yee(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function Y2(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Qw,i=i7(t),o=e-i,u=10,l=0;function d(){l+=u;var h=yee(l,i,o,n);Jw(t,h),ln.bottom?Jw(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i1?n-1:0),i=1;i=C)return{placement:"bottom",maxHeight:e};if(Y>=C&&!u)return o&&Y2(d,X,me),{placement:"bottom",maxHeight:e};if(!u&&Y>=r||u&&F>=r){o&&Y2(d,X,me);var te=u?F-k:Y-k;return{placement:"bottom",maxHeight:te}}if(i==="auto"||u){var be=e,we=u?L:q;return we>=r&&(be=Math.min(we-k-l,e)),{placement:"top",maxHeight:be}}if(i==="bottom")return o&&Jw(d,X),{placement:"bottom",maxHeight:e};break;case"top":if(L>=C)return{placement:"top",maxHeight:e};if(q>=C&&!u)return o&&Y2(d,ue,me),{placement:"top",maxHeight:e};if(!u&&q>=r||u&&L>=r){var B=e;return(!u&&q>=r||u&&L>=r)&&(B=u?L-P:q-P),o&&Y2(d,ue,me),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return h}function _ee(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var o7=function(e){return e==="auto"?"bottom":e},Aee=function(e,n){var r,i=e.placement,o=e.theme,u=o.borderRadius,l=o.spacing,d=o.colors;return ct((r={label:"menu"},Ag(r,_ee(i),"100%"),Ag(r,"position","absolute"),Ag(r,"width","100%"),Ag(r,"zIndex",1),r),n?{}:{backgroundColor:d.neutral0,borderRadius:u,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},s7=T.createContext(null),Ree=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,u=e.menuPosition,l=e.menuShouldScrollIntoView,d=e.theme,h=T.useContext(s7)||{},g=h.setPortalPlacement,y=T.useRef(null),w=T.useState(i),v=Jr(w,2),C=v[0],E=v[1],$=T.useState(null),O=Jr($,2),_=O[0],R=O[1],k=d.spacing.controlHeight;return Cx(function(){var P=y.current;if(P){var L=u==="fixed",F=l&&!L,q=Tee({maxHeight:i,menuEl:P,minHeight:r,placement:o,shouldScroll:F,isFixedPosition:L,controlHeight:k});E(q.maxHeight),R(q.placement),g==null||g(q.placement)}},[i,o,u,l,r,g,k]),n({ref:y,placerProps:ct(ct({},e),{},{placement:_||o7(o),maxHeight:C})})},Pee=function(e){var n=e.children,r=e.innerRef,i=e.innerProps;return mt("div",Ve({},dr(e,"menu",{menu:!0}),{ref:r},i),n)},Iee=Pee,Nee=function(e,n){var r=e.maxHeight,i=e.theme.spacing.baseUnit;return ct({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Mee=function(e){var n=e.children,r=e.innerProps,i=e.innerRef,o=e.isMulti;return mt("div",Ve({},dr(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},u7=function(e,n){var r=e.theme,i=r.spacing.baseUnit,o=r.colors;return ct({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},kee=u7,Dee=u7,Fee=function(e){var n=e.children,r=n===void 0?"No options":n,i=e.innerProps,o=Pu(e,xee);return mt("div",Ve({},dr(ct(ct({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},Lee=function(e){var n=e.children,r=n===void 0?"Loading...":n,i=e.innerProps,o=Pu(e,Oee);return mt("div",Ve({},dr(ct(ct({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Uee=function(e){var n=e.rect,r=e.offset,i=e.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},jee=function(e){var n=e.appendTo,r=e.children,i=e.controlElement,o=e.innerProps,u=e.menuPlacement,l=e.menuPosition,d=T.useRef(null),h=T.useRef(null),g=T.useState(o7(u)),y=Jr(g,2),w=y[0],v=y[1],C=T.useMemo(function(){return{setPortalPlacement:v}},[]),E=T.useState(null),$=Jr(E,2),O=$[0],_=$[1],R=T.useCallback(function(){if(i){var F=vee(i),q=l==="fixed"?0:window.pageYOffset,Y=F[w]+q;(Y!==(O==null?void 0:O.offset)||F.left!==(O==null?void 0:O.rect.left)||F.width!==(O==null?void 0:O.rect.width))&&_({offset:Y,rect:F})}},[i,l,w,O==null?void 0:O.offset,O==null?void 0:O.rect.left,O==null?void 0:O.rect.width]);Cx(function(){R()},[R]);var k=T.useCallback(function(){typeof h.current=="function"&&(h.current(),h.current=null),i&&d.current&&(h.current=cee(i,d.current,R,{elementResize:"ResizeObserver"in window}))},[i,R]);Cx(function(){k()},[k]);var P=T.useCallback(function(F){d.current=F,k()},[k]);if(!n&&l!=="fixed"||!O)return null;var L=mt("div",Ve({ref:P},dr(ct(ct({},e),{},{offset:O.offset,position:l,rect:O.rect}),"menuPortal",{"menu-portal":!0}),o),r);return mt(s7.Provider,{value:C},n?xu.createPortal(L,n):L)},Bee=function(e){var n=e.isDisabled,r=e.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},qee=function(e){var n=e.children,r=e.innerProps,i=e.isDisabled,o=e.isRtl;return mt("div",Ve({},dr(e,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},Hee=function(e,n){var r=e.theme.spacing,i=e.isMulti,o=e.hasValue,u=e.selectProps.controlShouldRenderValue;return ct({alignItems:"center",display:i&&o&&u?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},zee=function(e){var n=e.children,r=e.innerProps,i=e.isMulti,o=e.hasValue;return mt("div",Ve({},dr(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},Vee=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Gee=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"indicatorsContainer",{indicators:!0}),r),n)},r6,Wee=["size"],Kee=["innerProps","isRtl","size"],Yee={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},l7=function(e){var n=e.size,r=Pu(e,Wee);return mt("svg",Ve({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Yee},r))},WO=function(e){return mt(l7,Ve({size:20},e),mt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},c7=function(e){return mt(l7,Ve({size:20},e),mt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},f7=function(e,n){var r=e.isFocused,i=e.theme,o=i.spacing.baseUnit,u=i.colors;return ct({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?u.neutral60:u.neutral20,padding:o*2,":hover":{color:r?u.neutral80:u.neutral40}})},Qee=f7,Jee=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||mt(c7,null))},Xee=f7,Zee=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||mt(WO,null))},ete=function(e,n){var r=e.isDisabled,i=e.theme,o=i.spacing.baseUnit,u=i.colors;return ct({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?u.neutral10:u.neutral20,marginBottom:o*2,marginTop:o*2})},tte=function(e){var n=e.innerProps;return mt("span",Ve({},n,dr(e,"indicatorSeparator",{"indicator-separator":!0})))},nte=GZ(r6||(r6=JZ([` + 0%, 80%, 100% { opacity: 0; } + 40% { opacity: 1; } +`]))),rte=function(e,n){var r=e.isFocused,i=e.size,o=e.theme,u=o.colors,l=o.spacing.baseUnit;return ct({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?u.neutral60:u.neutral20,padding:l*2})},JC=function(e){var n=e.delay,r=e.offset;return mt("span",{css:HO({animation:"".concat(nte," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},ite=function(e){var n=e.innerProps,r=e.isRtl,i=e.size,o=i===void 0?4:i,u=Pu(e,Kee);return mt("div",Ve({},dr(ct(ct({},u),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),mt(JC,{delay:0,offset:r}),mt(JC,{delay:160,offset:!0}),mt(JC,{delay:320,offset:!r}))},ate=function(e,n){var r=e.isDisabled,i=e.isFocused,o=e.theme,u=o.colors,l=o.borderRadius,d=o.spacing;return ct({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:d.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?u.neutral5:u.neutral0,borderColor:r?u.neutral10:i?u.primary:u.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(u.primary):void 0,"&:hover":{borderColor:i?u.primary:u.neutral30}})},ote=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,o=e.innerRef,u=e.innerProps,l=e.menuIsOpen;return mt("div",Ve({ref:o},dr(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":l}),u,{"aria-disabled":r||void 0}),n)},ste=ote,ute=["data"],lte=function(e,n){var r=e.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},cte=function(e){var n=e.children,r=e.cx,i=e.getStyles,o=e.getClassNames,u=e.Heading,l=e.headingProps,d=e.innerProps,h=e.label,g=e.theme,y=e.selectProps;return mt("div",Ve({},dr(e,"group",{group:!0}),d),mt(u,Ve({},l,{selectProps:y,theme:g,getStyles:i,getClassNames:o,cx:r}),h),mt("div",null,n))},fte=function(e,n){var r=e.theme,i=r.colors,o=r.spacing;return ct({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},dte=function(e){var n=r7(e);n.data;var r=Pu(n,ute);return mt("div",Ve({},dr(e,"groupHeading",{"group-heading":!0}),r))},hte=cte,pte=["innerRef","isDisabled","isHidden","inputClassName"],mte=function(e,n){var r=e.isDisabled,i=e.value,o=e.theme,u=o.spacing,l=o.colors;return ct(ct({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},gte),n?{}:{margin:u.baseUnit/2,paddingBottom:u.baseUnit/2,paddingTop:u.baseUnit/2,color:l.neutral80})},d7={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},gte={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ct({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},d7)},yte=function(e){return ct({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},d7)},vte=function(e){var n=e.cx,r=e.value,i=r7(e),o=i.innerRef,u=i.isDisabled,l=i.isHidden,d=i.inputClassName,h=Pu(i,pte);return mt("div",Ve({},dr(e,"input",{"input-container":!0}),{"data-value":r||""}),mt("input",Ve({className:n({input:!0},d),ref:o,style:yte(l),disabled:u},h)))},bte=vte,wte=function(e,n){var r=e.theme,i=r.spacing,o=r.borderRadius,u=r.colors;return ct({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:u.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},Ste=function(e,n){var r=e.theme,i=r.borderRadius,o=r.colors,u=e.cropWithEllipsis;return ct({overflow:"hidden",textOverflow:u||u===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Cte=function(e,n){var r=e.theme,i=r.spacing,o=r.borderRadius,u=r.colors,l=e.isFocused;return ct({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:l?u.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:u.dangerLight,color:u.danger}})},h7=function(e){var n=e.children,r=e.innerProps;return mt("div",r,n)},$te=h7,Ete=h7;function xte(t){var e=t.children,n=t.innerProps;return mt("div",Ve({role:"button"},n),e||mt(WO,{size:14}))}var Ote=function(e){var n=e.children,r=e.components,i=e.data,o=e.innerProps,u=e.isDisabled,l=e.removeProps,d=e.selectProps,h=r.Container,g=r.Label,y=r.Remove;return mt(h,{data:i,innerProps:ct(ct({},dr(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":u})),o),selectProps:d},mt(g,{data:i,innerProps:ct({},dr(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:d},n),mt(y,{data:i,innerProps:ct(ct({},dr(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},l),selectProps:d}))},Tte=Ote,_te=function(e,n){var r=e.isDisabled,i=e.isFocused,o=e.isSelected,u=e.theme,l=u.spacing,d=u.colors;return ct({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?d.primary:i?d.primary25:"transparent",color:r?d.neutral20:o?d.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?d.primary:d.primary50}})},Ate=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,o=e.isSelected,u=e.innerRef,l=e.innerProps;return mt("div",Ve({},dr(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:u,"aria-disabled":r},l),n)},Rte=Ate,Pte=function(e,n){var r=e.theme,i=r.spacing,o=r.colors;return ct({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Ite=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"placeholder",{placeholder:!0}),r),n)},Nte=Ite,Mte=function(e,n){var r=e.isDisabled,i=e.theme,o=i.spacing,u=i.colors;return ct({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?u.neutral40:u.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},kte=function(e){var n=e.children,r=e.isDisabled,i=e.innerProps;return mt("div",Ve({},dr(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Dte=kte,Fte={ClearIndicator:Zee,Control:ste,DropdownIndicator:Jee,DownChevron:c7,CrossIcon:WO,Group:hte,GroupHeading:dte,IndicatorsContainer:Gee,IndicatorSeparator:tte,Input:bte,LoadingIndicator:ite,Menu:Iee,MenuList:Mee,MenuPortal:jee,LoadingMessage:Lee,NoOptionsMessage:Fee,MultiValue:Tte,MultiValueContainer:$te,MultiValueLabel:Ete,MultiValueRemove:xte,Option:Rte,Placeholder:Nte,SelectContainer:qee,SingleValue:Dte,ValueContainer:zee},Lte=function(e){return ct(ct({},Fte),e.components)},i6=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ute(t,e){return!!(t===e||i6(t)&&i6(e))}function jte(t,e){if(t.length!==e.length)return!1;for(var n=0;n1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return u?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var n=e.context,r=e.focused,i=e.options,o=e.label,u=o===void 0?"":o,l=e.selectValue,d=e.isDisabled,h=e.isSelected,g=e.isAppleDevice,y=function(E,$){return E&&E.length?"".concat(E.indexOf($)+1," of ").concat(E.length):""};if(n==="value"&&l)return"value ".concat(u," focused, ").concat(y(l,r),".");if(n==="menu"&&g){var w=d?" disabled":"",v="".concat(h?" selected":"").concat(w);return"".concat(u).concat(v,", ").concat(y(i,r),".")}return""},onFilter:function(e){var n=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Vte=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,u=e.isFocused,l=e.selectValue,d=e.selectProps,h=e.id,g=e.isAppleDevice,y=d.ariaLiveMessages,w=d.getOptionLabel,v=d.inputValue,C=d.isMulti,E=d.isOptionDisabled,$=d.isSearchable,O=d.menuIsOpen,_=d.options,R=d.screenReaderStatus,k=d.tabSelectsValue,P=d.isLoading,L=d["aria-label"],F=d["aria-live"],q=T.useMemo(function(){return ct(ct({},zte),y||{})},[y]),Y=T.useMemo(function(){var we="";if(n&&q.onChange){var B=n.option,V=n.options,H=n.removedValue,ie=n.removedValues,G=n.value,J=function(ke){return Array.isArray(ke)?null:ke},he=H||B||J(G),$e=he?w(he):"",Ce=V||ie||void 0,Be=Ce?Ce.map(w):[],Ie=ct({isDisabled:he&&E(he,l),label:$e,labels:Be},n);we=q.onChange(Ie)}return we},[n,q,E,l,w]),X=T.useMemo(function(){var we="",B=r||i,V=!!(r&&l&&l.includes(r));if(B&&q.onFocus){var H={focused:B,label:w(B),isDisabled:E(B,l),isSelected:V,options:o,context:B===r?"menu":"value",selectValue:l,isAppleDevice:g};we=q.onFocus(H)}return we},[r,i,w,E,q,o,l,g]),ue=T.useMemo(function(){var we="";if(O&&_.length&&!P&&q.onFilter){var B=R({count:o.length});we=q.onFilter({inputValue:v,resultsMessage:B})}return we},[o,v,O,q,_,R,P]),me=(n==null?void 0:n.action)==="initial-input-focus",te=T.useMemo(function(){var we="";if(q.guidance){var B=i?"value":O?"menu":"input";we=q.guidance({"aria-label":L,context:B,isDisabled:r&&E(r,l),isMulti:C,isSearchable:$,tabSelectsValue:k,isInitialFocus:me})}return we},[L,r,i,C,E,$,O,q,l,k,me]),be=mt(T.Fragment,null,mt("span",{id:"aria-selection"},Y),mt("span",{id:"aria-focused"},X),mt("span",{id:"aria-results"},ue),mt("span",{id:"aria-guidance"},te));return mt(T.Fragment,null,mt(a6,{id:h},me&&be),mt(a6,{"aria-live":F,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},u&&!me&&be))},Gte=Vte,$x=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Wte=new RegExp("["+$x.map(function(t){return t.letters}).join("")+"]","g"),p7={};for(var XC=0;XC<$x.length;XC++)for(var ZC=$x[XC],e$=0;e$-1}},Jte=["innerRef"];function Xte(t){var e=t.innerRef,n=Pu(t,Jte),r=Eee(n,"onExited","in","enter","exit","appear");return mt("input",Ve({ref:e},r,{css:HO({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Zte=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function ene(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,i=t.onTopArrive,o=t.onTopLeave,u=T.useRef(!1),l=T.useRef(!1),d=T.useRef(0),h=T.useRef(null),g=T.useCallback(function($,O){if(h.current!==null){var _=h.current,R=_.scrollTop,k=_.scrollHeight,P=_.clientHeight,L=h.current,F=O>0,q=k-P-R,Y=!1;q>O&&u.current&&(r&&r($),u.current=!1),F&&l.current&&(o&&o($),l.current=!1),F&&O>q?(n&&!u.current&&n($),L.scrollTop=k,Y=!0,u.current=!0):!F&&-O>R&&(i&&!l.current&&i($),L.scrollTop=0,Y=!0,l.current=!0),Y&&Zte($)}},[n,r,i,o]),y=T.useCallback(function($){g($,$.deltaY)},[g]),w=T.useCallback(function($){d.current=$.changedTouches[0].clientY},[]),v=T.useCallback(function($){var O=d.current-$.changedTouches[0].clientY;g($,O)},[g]),C=T.useCallback(function($){if($){var O=See?{passive:!1}:!1;$.addEventListener("wheel",y,O),$.addEventListener("touchstart",w,O),$.addEventListener("touchmove",v,O)}},[v,w,y]),E=T.useCallback(function($){$&&($.removeEventListener("wheel",y,!1),$.removeEventListener("touchstart",w,!1),$.removeEventListener("touchmove",v,!1))},[v,w,y]);return T.useEffect(function(){if(e){var $=h.current;return C($),function(){E($)}}},[e,C,E]),function($){h.current=$}}var s6=["boxSizing","height","overflow","paddingRight","position"],u6={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function l6(t){t.cancelable&&t.preventDefault()}function c6(t){t.stopPropagation()}function f6(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function d6(){return"ontouchstart"in window||navigator.maxTouchPoints}var h6=!!(typeof window<"u"&&window.document&&window.document.createElement),C0=0,Cg={capture:!1,passive:!1};function tne(t){var e=t.isEnabled,n=t.accountForScrollbars,r=n===void 0?!0:n,i=T.useRef({}),o=T.useRef(null),u=T.useCallback(function(d){if(h6){var h=document.body,g=h&&h.style;if(r&&s6.forEach(function(C){var E=g&&g[C];i.current[C]=E}),r&&C0<1){var y=parseInt(i.current.paddingRight,10)||0,w=document.body?document.body.clientWidth:0,v=window.innerWidth-w+y||0;Object.keys(u6).forEach(function(C){var E=u6[C];g&&(g[C]=E)}),g&&(g.paddingRight="".concat(v,"px"))}h&&d6()&&(h.addEventListener("touchmove",l6,Cg),d&&(d.addEventListener("touchstart",f6,Cg),d.addEventListener("touchmove",c6,Cg))),C0+=1}},[r]),l=T.useCallback(function(d){if(h6){var h=document.body,g=h&&h.style;C0=Math.max(C0-1,0),r&&C0<1&&s6.forEach(function(y){var w=i.current[y];g&&(g[y]=w)}),h&&d6()&&(h.removeEventListener("touchmove",l6,Cg),d&&(d.removeEventListener("touchstart",f6,Cg),d.removeEventListener("touchmove",c6,Cg)))}},[r]);return T.useEffect(function(){if(e){var d=o.current;return u(d),function(){l(d)}}},[e,u,l]),function(d){o.current=d}}var nne=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},rne={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ine(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,i=r===void 0?!0:r,o=t.onBottomArrive,u=t.onBottomLeave,l=t.onTopArrive,d=t.onTopLeave,h=ene({isEnabled:i,onBottomArrive:o,onBottomLeave:u,onTopArrive:l,onTopLeave:d}),g=tne({isEnabled:n}),y=function(v){h(v),g(v)};return mt(T.Fragment,null,n&&mt("div",{onClick:nne,css:rne}),e(y))}var ane={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},one=function(e){var n=e.name,r=e.onFocus;return mt("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:ane,value:"",onChange:function(){}})},sne=one;function KO(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function une(){return KO(/^iPhone/i)}function g7(){return KO(/^Mac/i)}function lne(){return KO(/^iPad/i)||g7()&&navigator.maxTouchPoints>1}function cne(){return une()||lne()}function fne(){return g7()||cne()}var dne=function(e){return e.label},hne=function(e){return e.label},pne=function(e){return e.value},mne=function(e){return!!e.isDisabled},gne={clearIndicator:Xee,container:Bee,control:ate,dropdownIndicator:Qee,group:lte,groupHeading:fte,indicatorsContainer:Vee,indicatorSeparator:ete,input:mte,loadingIndicator:rte,loadingMessage:Dee,menu:Aee,menuList:Nee,menuPortal:Uee,multiValue:wte,multiValueLabel:Ste,multiValueRemove:Cte,noOptionsMessage:kee,option:_te,placeholder:Pte,singleValue:Mte,valueContainer:Hee},yne={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},vne=4,y7=4,bne=38,wne=y7*2,Sne={baseUnit:y7,controlHeight:bne,menuGutter:wne},t$={borderRadius:vne,colors:yne,spacing:Sne},Cne={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:n6(),captureMenuScroll:!n6(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Qte(),formatGroupLabel:dne,getOptionLabel:hne,getOptionValue:pne,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:mne,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!bee(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function p6(t,e,n,r){var i=w7(t,e,n),o=S7(t,e,n),u=b7(t,e),l=Xw(t,e);return{type:"option",data:e,isDisabled:i,isSelected:o,label:u,value:l,index:r}}function bw(t,e){return t.options.map(function(n,r){if("options"in n){var i=n.options.map(function(u,l){return p6(t,u,e,l)}).filter(function(u){return g6(t,u)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=p6(t,n,e,r);return g6(t,o)?o:void 0}).filter(Cee)}function v7(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,LO(n.options.map(function(r){return r.data}))):e.push(n.data),e},[])}function m6(t,e){return t.reduce(function(n,r){return r.type==="group"?n.push.apply(n,LO(r.options.map(function(i){return{data:i.data,id:"".concat(e,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(e,"-").concat(r.index)}),n},[])}function $ne(t,e){return v7(bw(t,e))}function g6(t,e){var n=t.inputValue,r=n===void 0?"":n,i=e.data,o=e.isSelected,u=e.label,l=e.value;return(!$7(t)||!o)&&C7(t,{label:u,value:l,data:i},r)}function Ene(t,e){var n=t.focusedValue,r=t.selectValue,i=r.indexOf(n);if(i>-1){var o=e.indexOf(n);if(o>-1)return n;if(i-1?n:e[0]}var n$=function(e,n){var r,i=(r=e.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},b7=function(e,n){return e.getOptionLabel(n)},Xw=function(e,n){return e.getOptionValue(n)};function w7(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function S7(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var r=Xw(t,e);return n.some(function(i){return Xw(t,i)===r})}function C7(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var $7=function(e){var n=e.hideSelectedOptions,r=e.isMulti;return n===void 0?r:n},One=1,E7=(function(t){WX(n,t);var e=YX(n);function n(r){var i;if(VX(this,n),i=e.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=fne(),i.controlRef=null,i.getControlRef=function(d){i.controlRef=d},i.focusedOptionRef=null,i.getFocusedOptionRef=function(d){i.focusedOptionRef=d},i.menuListRef=null,i.getMenuListRef=function(d){i.menuListRef=d},i.inputRef=null,i.getInputRef=function(d){i.inputRef=d},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(d,h){var g=i.props,y=g.onChange,w=g.name;h.name=w,i.ariaOnChange(d,h),y(d,h)},i.setValue=function(d,h,g){var y=i.props,w=y.closeMenuOnSelect,v=y.isMulti,C=y.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:C}),w&&(i.setState({inputIsHiddenAfterUpdate:!v}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(d,{action:h,option:g})},i.selectOption=function(d){var h=i.props,g=h.blurInputOnSelect,y=h.isMulti,w=h.name,v=i.state.selectValue,C=y&&i.isOptionSelected(d,v),E=i.isOptionDisabled(d,v);if(C){var $=i.getOptionValue(d);i.setValue(v.filter(function(O){return i.getOptionValue(O)!==$}),"deselect-option",d)}else if(!E)y?i.setValue([].concat(LO(v),[d]),"select-option",d):i.setValue(d,"select-option");else{i.ariaOnChange(d,{action:"select-option",option:d,name:w});return}g&&i.blurInput()},i.removeValue=function(d){var h=i.props.isMulti,g=i.state.selectValue,y=i.getOptionValue(d),w=g.filter(function(C){return i.getOptionValue(C)!==y}),v=J2(h,w,w[0]||null);i.onChange(v,{action:"remove-value",removedValue:d}),i.focusInput()},i.clearValue=function(){var d=i.state.selectValue;i.onChange(J2(i.props.isMulti,[],null),{action:"clear",removedValues:d})},i.popValue=function(){var d=i.props.isMulti,h=i.state.selectValue,g=h[h.length-1],y=h.slice(0,h.length-1),w=J2(d,y,y[0]||null);g&&i.onChange(w,{action:"pop-value",removedValue:g})},i.getFocusedOptionId=function(d){return n$(i.state.focusableOptionsWithIds,d)},i.getFocusableOptionsWithIds=function(){return m6(bw(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var d=arguments.length,h=new Array(d),g=0;gv||w>v}},i.onTouchEnd=function(d){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(d.target)&&i.menuListRef&&!i.menuListRef.contains(d.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(d){i.userIsDragging||i.onControlMouseDown(d)},i.onClearIndicatorTouchEnd=function(d){i.userIsDragging||i.onClearIndicatorMouseDown(d)},i.onDropdownIndicatorTouchEnd=function(d){i.userIsDragging||i.onDropdownIndicatorMouseDown(d)},i.handleInputChange=function(d){var h=i.props.inputValue,g=d.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(g,{action:"input-change",prevInputValue:h}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(d){i.props.onFocus&&i.props.onFocus(d),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(d){var h=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(d),i.onInputChange("",{action:"input-blur",prevInputValue:h}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(d){if(!(i.blockOptionHover||i.state.focusedOption===d)){var h=i.getFocusableOptions(),g=h.indexOf(d);i.setState({focusedOption:d,focusedOptionId:g>-1?i.getFocusedOptionId(d):null})}},i.shouldHideSelectedOptions=function(){return $7(i.props)},i.onValueInputFocus=function(d){d.preventDefault(),d.stopPropagation(),i.focus()},i.onKeyDown=function(d){var h=i.props,g=h.isMulti,y=h.backspaceRemovesValue,w=h.escapeClearsValue,v=h.inputValue,C=h.isClearable,E=h.isDisabled,$=h.menuIsOpen,O=h.onKeyDown,_=h.tabSelectsValue,R=h.openMenuOnFocus,k=i.state,P=k.focusedOption,L=k.focusedValue,F=k.selectValue;if(!E&&!(typeof O=="function"&&(O(d),d.defaultPrevented))){switch(i.blockOptionHover=!0,d.key){case"ArrowLeft":if(!g||v)return;i.focusValue("previous");break;case"ArrowRight":if(!g||v)return;i.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(L)i.removeValue(L);else{if(!y)return;g?i.popValue():C&&i.clearValue()}break;case"Tab":if(i.isComposing||d.shiftKey||!$||!_||!P||R&&i.isOptionSelected(P,F))return;i.selectOption(P);break;case"Enter":if(d.keyCode===229)break;if($){if(!P||i.isComposing)return;i.selectOption(P);break}return;case"Escape":$?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:v}),i.onMenuClose()):C&&w&&i.clearValue();break;case" ":if(v)return;if(!$){i.openMenu("first");break}if(!P)return;i.selectOption(P);break;case"ArrowUp":$?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":$?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!$)return;i.focusOption("pageup");break;case"PageDown":if(!$)return;i.focusOption("pagedown");break;case"Home":if(!$)return;i.focusOption("first");break;case"End":if(!$)return;i.focusOption("last");break;default:return}d.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++One),i.state.selectValue=e6(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),u=i.buildFocusableOptions(),l=u.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=u[l],i.state.focusedOptionId=n$(o,u[l])}return i}return GX(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&t6(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,u=o.isDisabled,l=o.menuIsOpen,d=this.state.isFocused;(d&&!u&&i.isDisabled||d&&l&&!i.menuIsOpen)&&this.focusInput(),d&&u&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!d&&!u&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t6(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,u=this.state,l=u.selectValue,d=u.isFocused,h=this.buildFocusableOptions(),g=i==="first"?0:h.length-1;if(!this.props.isMulti){var y=h.indexOf(l[0]);y>-1&&(g=y)}this.scrollToFocusedOptionOnUpdate=!(d&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:h[g],focusedOptionId:this.getFocusedOptionId(h[g])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,u=o.selectValue,l=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var d=u.indexOf(l);l||(d=-1);var h=u.length-1,g=-1;if(u.length){switch(i){case"previous":d===0?g=0:d===-1?g=h:g=d-1;break;case"next":d>-1&&d0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,u=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var d=0,h=l.indexOf(u);u||(h=-1),i==="up"?d=h>0?h-1:l.length-1:i==="down"?d=(h+1)%l.length:i==="pageup"?(d=h-o,d<0&&(d=0)):i==="pagedown"?(d=h+o,d>l.length-1&&(d=l.length-1)):i==="last"&&(d=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[d],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[d])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(t$):ct(ct({},t$),this.props.theme):t$})},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,u=this.getStyles,l=this.getClassNames,d=this.getValue,h=this.selectOption,g=this.setValue,y=this.props,w=y.isMulti,v=y.isRtl,C=y.options,E=this.hasValue();return{clearValue:i,cx:o,getStyles:u,getClassNames:l,getValue:d,hasValue:E,isMulti:w,isRtl:v,options:C,selectOption:h,selectProps:y,setValue:g,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,u=i.isMulti;return o===void 0?u:o}},{key:"isOptionDisabled",value:function(i,o){return w7(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return S7(this.props,i,o)}},{key:"filterOption",value:function(i,o){return C7(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:u,selectValue:l})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var i=this.props,o=i.isDisabled,u=i.isSearchable,l=i.inputId,d=i.inputValue,h=i.tabIndex,g=i.form,y=i.menuIsOpen,w=i.required,v=this.getComponents(),C=v.Input,E=this.state,$=E.inputIsHidden,O=E.ariaSelection,_=this.commonProps,R=l||this.getElementId("input"),k=ct(ct(ct({"aria-autocomplete":"list","aria-expanded":y,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":w,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},y&&{"aria-controls":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?(O==null?void 0:O.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?T.createElement(C,Ve({},_,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:R,innerRef:this.getInputRef,isDisabled:o,isHidden:$,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:h,form:g,type:"text",value:d},k)):T.createElement(Xte,Ve({id:R,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Qw,onFocus:this.onInputFocus,disabled:o,tabIndex:h,inputMode:"none",form:g,value:""},k))})},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),u=o.MultiValue,l=o.MultiValueContainer,d=o.MultiValueLabel,h=o.MultiValueRemove,g=o.SingleValue,y=o.Placeholder,w=this.commonProps,v=this.props,C=v.controlShouldRenderValue,E=v.isDisabled,$=v.isMulti,O=v.inputValue,_=v.placeholder,R=this.state,k=R.selectValue,P=R.focusedValue,L=R.isFocused;if(!this.hasValue()||!C)return O?null:T.createElement(y,Ve({},w,{key:"placeholder",isDisabled:E,isFocused:L,innerProps:{id:this.getElementId("placeholder")}}),_);if($)return k.map(function(q,Y){var X=q===P,ue="".concat(i.getOptionLabel(q),"-").concat(i.getOptionValue(q));return T.createElement(u,Ve({},w,{components:{Container:l,Label:d,Remove:h},isFocused:X,isDisabled:E,key:ue,index:Y,removeProps:{onClick:function(){return i.removeValue(q)},onTouchEnd:function(){return i.removeValue(q)},onMouseDown:function(te){te.preventDefault()}},data:q}),i.formatOptionLabel(q,"value"))});if(O)return null;var F=k[0];return T.createElement(g,Ve({},w,{data:F,isDisabled:E}),this.formatOptionLabel(F,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,u=this.commonProps,l=this.props,d=l.isDisabled,h=l.isLoading,g=this.state.isFocused;if(!this.isClearable()||!o||d||!this.hasValue()||h)return null;var y={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return T.createElement(o,Ve({},u,{innerProps:y,isFocused:g}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,u=this.commonProps,l=this.props,d=l.isDisabled,h=l.isLoading,g=this.state.isFocused;if(!o||!h)return null;var y={"aria-hidden":"true"};return T.createElement(o,Ve({},u,{innerProps:y,isDisabled:d,isFocused:g}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,u=i.IndicatorSeparator;if(!o||!u)return null;var l=this.commonProps,d=this.props.isDisabled,h=this.state.isFocused;return T.createElement(u,Ve({},l,{isDisabled:d,isFocused:h}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var u=this.commonProps,l=this.props.isDisabled,d=this.state.isFocused,h={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return T.createElement(o,Ve({},u,{innerProps:h,isDisabled:l,isFocused:d}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),u=o.Group,l=o.GroupHeading,d=o.Menu,h=o.MenuList,g=o.MenuPortal,y=o.LoadingMessage,w=o.NoOptionsMessage,v=o.Option,C=this.commonProps,E=this.state.focusedOption,$=this.props,O=$.captureMenuScroll,_=$.inputValue,R=$.isLoading,k=$.loadingMessage,P=$.minMenuHeight,L=$.maxMenuHeight,F=$.menuIsOpen,q=$.menuPlacement,Y=$.menuPosition,X=$.menuPortalTarget,ue=$.menuShouldBlockScroll,me=$.menuShouldScrollIntoView,te=$.noOptionsMessage,be=$.onMenuScrollToTop,we=$.onMenuScrollToBottom;if(!F)return null;var B=function($e,Ce){var Be=$e.type,Ie=$e.data,tt=$e.isDisabled,ke=$e.isSelected,Ke=$e.label,He=$e.value,ut=E===Ie,pt=tt?void 0:function(){return i.onOptionHover(Ie)},bt=tt?void 0:function(){return i.selectOption(Ie)},gt="".concat(i.getElementId("option"),"-").concat(Ce),Ut={id:gt,onClick:bt,onMouseMove:pt,onMouseOver:pt,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:ke};return T.createElement(v,Ve({},C,{innerProps:Ut,data:Ie,isDisabled:tt,isSelected:ke,key:gt,label:Ke,type:Be,value:He,isFocused:ut,innerRef:ut?i.getFocusedOptionRef:void 0}),i.formatOptionLabel($e.data,"menu"))},V;if(this.hasOptions())V=this.getCategorizedOptions().map(function(he){if(he.type==="group"){var $e=he.data,Ce=he.options,Be=he.index,Ie="".concat(i.getElementId("group"),"-").concat(Be),tt="".concat(Ie,"-heading");return T.createElement(u,Ve({},C,{key:Ie,data:$e,options:Ce,Heading:l,headingProps:{id:tt,data:he.data},label:i.formatGroupLabel(he.data)}),he.options.map(function(ke){return B(ke,"".concat(Be,"-").concat(ke.index))}))}else if(he.type==="option")return B(he,"".concat(he.index))});else if(R){var H=k({inputValue:_});if(H===null)return null;V=T.createElement(y,C,H)}else{var ie=te({inputValue:_});if(ie===null)return null;V=T.createElement(w,C,ie)}var G={minMenuHeight:P,maxMenuHeight:L,menuPlacement:q,menuPosition:Y,menuShouldScrollIntoView:me},J=T.createElement(Ree,Ve({},C,G),function(he){var $e=he.ref,Ce=he.placerProps,Be=Ce.placement,Ie=Ce.maxHeight;return T.createElement(d,Ve({},C,G,{innerRef:$e,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:R,placement:Be}),T.createElement(ine,{captureEnabled:O,onTopArrive:be,onBottomArrive:we,lockEnabled:ue},function(tt){return T.createElement(h,Ve({},C,{innerRef:function(Ke){i.getMenuListRef(Ke),tt(Ke)},innerProps:{role:"listbox","aria-multiselectable":C.isMulti,id:i.getElementId("listbox")},isLoading:R,maxHeight:Ie,focusedOption:E}),V)}))});return X||Y==="fixed"?T.createElement(g,Ve({},C,{appendTo:X,controlElement:this.controlRef,menuPlacement:q,menuPosition:Y}),J):J}},{key:"renderFormField",value:function(){var i=this,o=this.props,u=o.delimiter,l=o.isDisabled,d=o.isMulti,h=o.name,g=o.required,y=this.state.selectValue;if(g&&!this.hasValue()&&!l)return T.createElement(sne,{name:h,onFocus:this.onValueInputFocus});if(!(!h||l))if(d)if(u){var w=y.map(function(E){return i.getOptionValue(E)}).join(u);return T.createElement("input",{name:h,type:"hidden",value:w})}else{var v=y.length>0?y.map(function(E,$){return T.createElement("input",{key:"i-".concat($),name:h,type:"hidden",value:i.getOptionValue(E)})}):T.createElement("input",{name:h,type:"hidden",value:""});return T.createElement("div",null,v)}else{var C=y[0]?this.getOptionValue(y[0]):"";return T.createElement("input",{name:h,type:"hidden",value:C})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,u=o.ariaSelection,l=o.focusedOption,d=o.focusedValue,h=o.isFocused,g=o.selectValue,y=this.getFocusableOptions();return T.createElement(Gte,Ve({},i,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:l,focusedValue:d,isFocused:h,selectValue:g,focusableOptions:y,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,u=i.IndicatorsContainer,l=i.SelectContainer,d=i.ValueContainer,h=this.props,g=h.className,y=h.id,w=h.isDisabled,v=h.menuIsOpen,C=this.state.isFocused,E=this.commonProps=this.getCommonProps();return T.createElement(l,Ve({},E,{className:g,innerProps:{id:y,onKeyDown:this.onKeyDown},isDisabled:w,isFocused:C}),this.renderLiveRegion(),T.createElement(o,Ve({},E,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:w,isFocused:C,menuIsOpen:v}),T.createElement(d,Ve({},E,{isDisabled:w}),this.renderPlaceholderOrValue(),this.renderInput()),T.createElement(u,Ve({},E,{isDisabled:w}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var u=o.prevProps,l=o.clearFocusValueOnUpdate,d=o.inputIsHiddenAfterUpdate,h=o.ariaSelection,g=o.isFocused,y=o.prevWasFocused,w=o.instancePrefix,v=i.options,C=i.value,E=i.menuIsOpen,$=i.inputValue,O=i.isMulti,_=e6(C),R={};if(u&&(C!==u.value||v!==u.options||E!==u.menuIsOpen||$!==u.inputValue)){var k=E?$ne(i,_):[],P=E?m6(bw(i,_),"".concat(w,"-option")):[],L=l?Ene(o,_):null,F=xne(o,k),q=n$(P,F);R={selectValue:_,focusedOption:F,focusedOptionId:q,focusableOptionsWithIds:P,focusedValue:L,clearFocusValueOnUpdate:!1}}var Y=d!=null&&i!==u?{inputIsHidden:d,inputIsHiddenAfterUpdate:void 0}:{},X=h,ue=g&&y;return g&&!ue&&(X={value:J2(O,_,_[0]||null),options:_,action:"initial-input-focus"},ue=!y),(h==null?void 0:h.action)==="initial-input-focus"&&(X=null),ct(ct(ct({},R),Y),{},{prevProps:i,ariaSelection:X,prevWasFocused:ue})}}]),n})(T.Component);E7.defaultProps=Cne;var Tne=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function _ne(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,o=t.defaultValue,u=o===void 0?null:o,l=t.inputValue,d=t.menuIsOpen,h=t.onChange,g=t.onInputChange,y=t.onMenuClose,w=t.onMenuOpen,v=t.value,C=Pu(t,Tne),E=T.useState(l!==void 0?l:n),$=Jr(E,2),O=$[0],_=$[1],R=T.useState(d!==void 0?d:i),k=Jr(R,2),P=k[0],L=k[1],F=T.useState(v!==void 0?v:u),q=Jr(F,2),Y=q[0],X=q[1],ue=T.useCallback(function(H,ie){typeof h=="function"&&h(H,ie),X(H)},[h]),me=T.useCallback(function(H,ie){var G;typeof g=="function"&&(G=g(H,ie)),_(G!==void 0?G:H)},[g]),te=T.useCallback(function(){typeof w=="function"&&w(),L(!0)},[w]),be=T.useCallback(function(){typeof y=="function"&&y(),L(!1)},[y]),we=l!==void 0?l:O,B=d!==void 0?d:P,V=v!==void 0?v:Y;return ct(ct({},C),{},{inputValue:we,menuIsOpen:B,onChange:ue,onInputChange:me,onMenuClose:be,onMenuOpen:te,value:V})}var Ane=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function Rne(t){var e=t.defaultOptions,n=e===void 0?!1:e,r=t.cacheOptions,i=r===void 0?!1:r,o=t.loadOptions;t.options;var u=t.isLoading,l=u===void 0?!1:u,d=t.onInputChange,h=t.filterOption,g=h===void 0?null:h,y=Pu(t,Ane),w=y.inputValue,v=T.useRef(void 0),C=T.useRef(!1),E=T.useState(Array.isArray(n)?n:void 0),$=Jr(E,2),O=$[0],_=$[1],R=T.useState(typeof w<"u"?w:""),k=Jr(R,2),P=k[0],L=k[1],F=T.useState(n===!0),q=Jr(F,2),Y=q[0],X=q[1],ue=T.useState(void 0),me=Jr(ue,2),te=me[0],be=me[1],we=T.useState([]),B=Jr(we,2),V=B[0],H=B[1],ie=T.useState(!1),G=Jr(ie,2),J=G[0],he=G[1],$e=T.useState({}),Ce=Jr($e,2),Be=Ce[0],Ie=Ce[1],tt=T.useState(void 0),ke=Jr(tt,2),Ke=ke[0],He=ke[1],ut=T.useState(void 0),pt=Jr(ut,2),bt=pt[0],gt=pt[1];i!==bt&&(Ie({}),gt(i)),n!==Ke&&(_(Array.isArray(n)?n:void 0),He(n)),T.useEffect(function(){return C.current=!0,function(){C.current=!1}},[]);var Ut=T.useCallback(function(en,xn){if(!o)return xn();var Dt=o(en,xn);Dt&&typeof Dt.then=="function"&&Dt.then(xn,function(){return xn()})},[o]);T.useEffect(function(){n===!0&&Ut(P,function(en){C.current&&(_(en||[]),X(!!v.current))})},[]);var Gt=T.useCallback(function(en,xn){var Dt=pee(en,xn,d);if(!Dt){v.current=void 0,L(""),be(""),H([]),X(!1),he(!1);return}if(i&&Be[Dt])L(Dt),be(Dt),H(Be[Dt]),X(!1),he(!1);else{var Pt=v.current={};L(Dt),X(!0),he(!te),Ut(Dt,function(pe){C&&Pt===v.current&&(v.current=void 0,X(!1),be(Dt),H(pe||[]),he(!1),Ie(pe?ct(ct({},Be),{},Ag({},Dt,pe)):Be))})}},[i,Ut,te,Be,d]),Tt=J?[]:P&&te?V:O||[];return ct(ct({},y),{},{options:Tt,isLoading:Y||l,onInputChange:Gt,filterOption:g})}var Pne=T.forwardRef(function(t,e){var n=Rne(t),r=_ne(n);return T.createElement(E7,Ve({ref:e},r))}),Ine=Pne;function Nne(t,e){return e?e(t):{name:{operation:"contains",value:t}}}function Ex(t){var w,v,C;const e=vn(),n=Nf();let[r,i]=T.useState("");if(!t.querySource)return N.jsx("div",{children:"No query source to render"});const{query:o,keyExtractor:u}=t.querySource({queryClient:n,query:{itemsPerPage:20,jsonQuery:Nne(r,t.jsonQuery),withPreloads:t.withPreloads},queryOptions:{refetchOnWindowFocus:!1}}),l=t.keyExtractor||u||(E=>JSON.stringify(E)),d=(v=(w=o==null?void 0:o.data)==null?void 0:w.data)==null?void 0:v.items,h=E=>{var $;if(($=t==null?void 0:t.formEffect)!=null&&$.form){const{formEffect:O}=t,_={...O.form.values};if(O.beforeSet&&(E=O.beforeSet(E)),Sr.set(_,O.field,E),Sr.isObject(E)&&E.uniqueId&&O.skipFirebackMetaData!==!0&&Sr.set(_,O.field+"Id",E.uniqueId),Sr.isArray(E)&&O.skipFirebackMetaData!==!0){const R=O.field+"ListId";Sr.set(_,R,(E||[]).map(k=>k.uniqueId))}O==null||O.form.setValues(_)}t.onChange&&typeof t.onChange=="function"&&t.onChange(E)};let g=t.value;if(g===void 0&&((C=t.formEffect)!=null&&C.form)){const E=Sr.get(t.formEffect.form.values,t.formEffect.field);E!==void 0&&(g=E)}typeof g!="object"&&l&&g!==void 0&&(g=d.find(E=>l(E)===g));const y=E=>new Promise($=>{setTimeout(()=>{$(d)},100)});return N.jsxs(ES,{...t,children:[t.children,t.convertToNative?N.jsxs("select",{value:g,multiple:t.multiple,onChange:E=>{const $=d==null?void 0:d.find(O=>O.uniqueId===E.target.value);h($)},className:Lo("form-select",t.errorMessage&&"is-invalid",t.validMessage&&"is-valid"),disabled:t.disabled,"aria-label":"Default select example",children:[N.jsx("option",{value:"",children:e.selectPlaceholder},void 0),d==null?void 0:d.filter(Boolean).map(E=>{const $=l(E);return N.jsx("option",{value:$,children:t.fnLabelFormat(E)},$)})]}):N.jsx(N.Fragment,{children:N.jsx(Ine,{value:g,onChange:E=>{h(E)},isMulti:t.multiple,classNames:{container(E){return Lo(t.errorMessage&&" form-control form-control-no-padding is-invalid",t.validMessage&&"is-valid")},control(E){return Lo("form-control form-control-no-padding")},menu(E){return"react-select-menu-area"}},isSearchable:!0,defaultOptions:d,placeholder:e.searchplaceholder,noOptionsMessage:()=>e.noOptions,getOptionValue:l,loadOptions:y,formatOptionLabel:t.fnLabelFormat,onInputChange:i})})]})}var r$,y6;function oy(){return y6||(y6=1,r$=TypeError),r$}const Mne={},kne=Object.freeze(Object.defineProperty({__proto__:null,default:Mne},Symbol.toStringTag,{value:"Module"})),Dne=DD(kne);var i$,v6;function DS(){if(v6)return i$;v6=1;var t=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=t&&e&&typeof e.get=="function"?e.get:null,r=t&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&o&&typeof o.get=="function"?o.get:null,l=i&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,g=typeof WeakSet=="function"&&WeakSet.prototype,y=g?WeakSet.prototype.has:null,w=typeof WeakRef=="function"&&WeakRef.prototype,v=w?WeakRef.prototype.deref:null,C=Boolean.prototype.valueOf,E=Object.prototype.toString,$=Function.prototype.toString,O=String.prototype.match,_=String.prototype.slice,R=String.prototype.replace,k=String.prototype.toUpperCase,P=String.prototype.toLowerCase,L=RegExp.prototype.test,F=Array.prototype.concat,q=Array.prototype.join,Y=Array.prototype.slice,X=Math.floor,ue=typeof BigInt=="function"?BigInt.prototype.valueOf:null,me=Object.getOwnPropertySymbols,te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,be=typeof Symbol=="function"&&typeof Symbol.iterator=="object",we=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===be||!0)?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ae){return ae.__proto__}:null);function H(ae,ce){if(ae===1/0||ae===-1/0||ae!==ae||ae&&ae>-1e3&&ae<1e3||L.call(/e/,ce))return ce;var nt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ae=="number"){var Ht=ae<0?-X(-ae):X(ae);if(Ht!==ae){var ln=String(Ht),wt=_.call(ce,ln.length+1);return R.call(ln,nt,"$&_")+"."+R.call(R.call(wt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return R.call(ce,nt,"$&_")}var ie=Dne,G=ie.custom,J=gt(G)?G:null,he={__proto__:null,double:'"',single:"'"},$e={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};i$=function ae(ce,nt,Ht,ln){var wt=nt||{};if(Tt(wt,"quoteStyle")&&!Tt(he,wt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Tt(wt,"maxStringLength")&&(typeof wt.maxStringLength=="number"?wt.maxStringLength<0&&wt.maxStringLength!==1/0:wt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var jr=Tt(wt,"customInspect")?wt.customInspect:!0;if(typeof jr!="boolean"&&jr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Tt(wt,"indent")&&wt.indent!==null&&wt.indent!==" "&&!(parseInt(wt.indent,10)===wt.indent&&wt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Tt(wt,"numericSeparator")&&typeof wt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var tn=wt.numericSeparator;if(typeof ce>"u")return"undefined";if(ce===null)return"null";if(typeof ce=="boolean")return ce?"true":"false";if(typeof ce=="string")return j(ce,wt);if(typeof ce=="number"){if(ce===0)return 1/0/ce>0?"0":"-0";var er=String(ce);return tn?H(ce,er):er}if(typeof ce=="bigint"){var On=String(ce)+"n";return tn?H(ce,On):On}var Fi=typeof wt.depth>"u"?5:wt.depth;if(typeof Ht>"u"&&(Ht=0),Ht>=Fi&&Fi>0&&typeof ce=="object")return tt(ce)?"[Array]":"[Object]";var ca=Ee(wt,Ht);if(typeof ln>"u")ln=[];else if(Dt(ln,ce)>=0)return"[Circular]";function Ar(Br,Ta,xi){if(Ta&&(ln=Y.call(ln),ln.push(Ta)),xi){var Ui={depth:wt.depth};return Tt(wt,"quoteStyle")&&(Ui.quoteStyle=wt.quoteStyle),ae(Br,Ui,Ht+1,ln)}return ae(Br,wt,Ht+1,ln)}if(typeof ce=="function"&&!Ke(ce)){var Fs=xn(ce),ro=Wt(ce,Ar);return"[Function"+(Fs?": "+Fs:" (anonymous)")+"]"+(ro.length>0?" { "+q.call(ro,", ")+" }":"")}if(gt(ce)){var Ls=be?R.call(String(ce),/^(Symbol\(.*\))_[^)]*$/,"$1"):te.call(ce);return typeof ce=="object"&&!be?M(Ls):Ls}if(ht(ce)){for(var $i="<"+P.call(String(ce.nodeName)),Xr=ce.attributes||[],io=0;io",$i}if(tt(ce)){if(ce.length===0)return"[]";var Li=Wt(ce,Ar);return ca&&!ge(Li)?"["+rt(Li,ca)+"]":"[ "+q.call(Li,", ")+" ]"}if(He(ce)){var Wo=Wt(ce,Ar);return!("cause"in Error.prototype)&&"cause"in ce&&!B.call(ce,"cause")?"{ ["+String(ce)+"] "+q.call(F.call("[cause]: "+Ar(ce.cause),Wo),", ")+" }":Wo.length===0?"["+String(ce)+"]":"{ ["+String(ce)+"] "+q.call(Wo,", ")+" }"}if(typeof ce=="object"&&jr){if(J&&typeof ce[J]=="function"&&ie)return ie(ce,{depth:Fi-Ht});if(jr!=="symbol"&&typeof ce.inspect=="function")return ce.inspect()}if(Pt(ce)){var In=[];return r&&r.call(ce,function(Br,Ta){In.push(Ar(Ta,ce,!0)+" => "+Ar(Br,ce))}),re("Map",n.call(ce),In,ca)}if(Ge(ce)){var Nn=[];return l&&l.call(ce,function(Br){Nn.push(Ar(Br,ce))}),re("Set",u.call(ce),Nn,ca)}if(pe(ce))return Q("WeakMap");if(Qe(ce))return Q("WeakSet");if(ze(ce))return Q("WeakRef");if(pt(ce))return M(Ar(Number(ce)));if(Ut(ce))return M(Ar(ue.call(ce)));if(bt(ce))return M(C.call(ce));if(ut(ce))return M(Ar(String(ce)));if(typeof window<"u"&&ce===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ce===globalThis||typeof Sf<"u"&&ce===Sf)return"{ [object globalThis] }";if(!ke(ce)&&!Ke(ce)){var An=Wt(ce,Ar),Ze=V?V(ce)===Object.prototype:ce instanceof Object||ce.constructor===Object,Ei=ce instanceof Object?"":"null prototype",Us=!Ze&&we&&Object(ce)===ce&&we in ce?_.call(en(ce),8,-1):Ei?"Object":"",Ko=Ze||typeof ce.constructor!="function"?"":ce.constructor.name?ce.constructor.name+" ":"",ao=Ko+(Us||Ei?"["+q.call(F.call([],Us||[],Ei||[]),": ")+"] ":"");return An.length===0?ao+"{}":ca?ao+"{"+rt(An,ca)+"}":ao+"{ "+q.call(An,", ")+" }"}return String(ce)};function Ce(ae,ce,nt){var Ht=nt.quoteStyle||ce,ln=he[Ht];return ln+ae+ln}function Be(ae){return R.call(String(ae),/"/g,""")}function Ie(ae){return!we||!(typeof ae=="object"&&(we in ae||typeof ae[we]<"u"))}function tt(ae){return en(ae)==="[object Array]"&&Ie(ae)}function ke(ae){return en(ae)==="[object Date]"&&Ie(ae)}function Ke(ae){return en(ae)==="[object RegExp]"&&Ie(ae)}function He(ae){return en(ae)==="[object Error]"&&Ie(ae)}function ut(ae){return en(ae)==="[object String]"&&Ie(ae)}function pt(ae){return en(ae)==="[object Number]"&&Ie(ae)}function bt(ae){return en(ae)==="[object Boolean]"&&Ie(ae)}function gt(ae){if(be)return ae&&typeof ae=="object"&&ae instanceof Symbol;if(typeof ae=="symbol")return!0;if(!ae||typeof ae!="object"||!te)return!1;try{return te.call(ae),!0}catch{}return!1}function Ut(ae){if(!ae||typeof ae!="object"||!ue)return!1;try{return ue.call(ae),!0}catch{}return!1}var Gt=Object.prototype.hasOwnProperty||function(ae){return ae in this};function Tt(ae,ce){return Gt.call(ae,ce)}function en(ae){return E.call(ae)}function xn(ae){if(ae.name)return ae.name;var ce=O.call($.call(ae),/^function\s*([\w$]+)/);return ce?ce[1]:null}function Dt(ae,ce){if(ae.indexOf)return ae.indexOf(ce);for(var nt=0,Ht=ae.length;ntce.maxStringLength){var nt=ae.length-ce.maxStringLength,Ht="... "+nt+" more character"+(nt>1?"s":"");return j(_.call(ae,0,ce.maxStringLength),ce)+Ht}var ln=$e[ce.quoteStyle||"single"];ln.lastIndex=0;var wt=R.call(R.call(ae,ln,"\\$1"),/[\x00-\x1f]/g,A);return Ce(wt,"single",ce)}function A(ae){var ce=ae.charCodeAt(0),nt={8:"b",9:"t",10:"n",12:"f",13:"r"}[ce];return nt?"\\"+nt:"\\x"+(ce<16?"0":"")+k.call(ce.toString(16))}function M(ae){return"Object("+ae+")"}function Q(ae){return ae+" { ? }"}function re(ae,ce,nt,Ht){var ln=Ht?rt(nt,Ht):q.call(nt,", ");return ae+" ("+ce+") {"+ln+"}"}function ge(ae){for(var ce=0;ce=0)return!1;return!0}function Ee(ae,ce){var nt;if(ae.indent===" ")nt=" ";else if(typeof ae.indent=="number"&&ae.indent>0)nt=q.call(Array(ae.indent+1)," ");else return null;return{base:nt,prev:q.call(Array(ce+1),nt)}}function rt(ae,ce){if(ae.length===0)return"";var nt=` +`+ce.prev+ce.base;return nt+q.call(ae,","+nt)+` +`+ce.prev}function Wt(ae,ce){var nt=tt(ae),Ht=[];if(nt){Ht.length=ae.length;for(var ln=0;ln"u"||!F?t:F(Uint8Array),be={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":L&&F?F([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":me,"%AsyncGenerator%":me,"%AsyncGeneratorFunction%":me,"%AsyncIteratorPrototype%":me,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":$,"%GeneratorFunction%":me,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L&&F?F(F([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L||!F?t:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L||!F?t:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L&&F?F(""[Symbol.iterator]()):t,"%Symbol%":L?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":te,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":ue,"%Function.prototype.apply%":X,"%Object.defineProperty%":R,"%Object.getPrototypeOf%":q,"%Math.abs%":h,"%Math.floor%":g,"%Math.max%":y,"%Math.min%":w,"%Math.pow%":v,"%Math.round%":C,"%Math.sign%":E,"%Reflect.getPrototypeOf%":Y};if(F)try{null.error}catch(Ke){var we=F(F(Ke));be["%Error.prototype%"]=we}var B=function Ke(He){var ut;if(He==="%AsyncFunction%")ut=O("async function () {}");else if(He==="%GeneratorFunction%")ut=O("function* () {}");else if(He==="%AsyncGeneratorFunction%")ut=O("async function* () {}");else if(He==="%AsyncGenerator%"){var pt=Ke("%AsyncGeneratorFunction%");pt&&(ut=pt.prototype)}else if(He==="%AsyncIteratorPrototype%"){var bt=Ke("%AsyncGenerator%");bt&&F&&(ut=F(bt.prototype))}return be[He]=ut,ut},V={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=FS(),ie=sre(),G=H.call(ue,Array.prototype.concat),J=H.call(X,Array.prototype.splice),he=H.call(ue,String.prototype.replace),$e=H.call(ue,String.prototype.slice),Ce=H.call(ue,RegExp.prototype.exec),Be=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ie=/\\(\\)?/g,tt=function(He){var ut=$e(He,0,1),pt=$e(He,-1);if(ut==="%"&&pt!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(pt==="%"&&ut!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var bt=[];return he(He,Be,function(gt,Ut,Gt,Tt){bt[bt.length]=Gt?he(Tt,Ie,"$1"):Ut||gt}),bt},ke=function(He,ut){var pt=He,bt;if(ie(V,pt)&&(bt=V[pt],pt="%"+bt[0]+"%"),ie(be,pt)){var gt=be[pt];if(gt===me&&(gt=B(pt)),typeof gt>"u"&&!ut)throw new l("intrinsic "+He+" exists, but is not available. Please file an issue!");return{alias:bt,name:pt,value:gt}}throw new u("intrinsic "+He+" does not exist!")};return L$=function(He,ut){if(typeof He!="string"||He.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ut!="boolean")throw new l('"allowMissing" argument must be a boolean');if(Ce(/^%?[^%]*%?$/,He)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var pt=tt(He),bt=pt.length>0?pt[0]:"",gt=ke("%"+bt+"%",ut),Ut=gt.name,Gt=gt.value,Tt=!1,en=gt.alias;en&&(bt=en[0],J(pt,G([0,1],en)));for(var xn=1,Dt=!0;xn=pt.length){var Ge=_(Gt,Pt);Dt=!!Ge,Dt&&"get"in Ge&&!("originalValue"in Ge.get)?Gt=Ge.get:Gt=Gt[Pt]}else Dt=ie(Gt,Pt),Gt=Gt[Pt];Dt&&!Tt&&(be[Ut]=Gt)}}return Gt},L$}var U$,Z6;function P7(){if(Z6)return U$;Z6=1;var t=QO(),e=R7(),n=e([t("%String.prototype.indexOf%")]);return U$=function(i,o){var u=t(i,!!o);return typeof u=="function"&&n(i,".prototype.")>-1?e([u]):u},U$}var j$,eP;function I7(){if(eP)return j$;eP=1;var t=QO(),e=P7(),n=DS(),r=oy(),i=t("%Map%",!0),o=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),l=e("Map.prototype.has",!0),d=e("Map.prototype.delete",!0),h=e("Map.prototype.size",!0);return j$=!!i&&function(){var y,w={assert:function(v){if(!w.has(v))throw new r("Side channel does not contain "+n(v))},delete:function(v){if(y){var C=d(y,v);return h(y)===0&&(y=void 0),C}return!1},get:function(v){if(y)return o(y,v)},has:function(v){return y?l(y,v):!1},set:function(v,C){y||(y=new i),u(y,v,C)}};return w},j$}var B$,tP;function ure(){if(tP)return B$;tP=1;var t=QO(),e=P7(),n=DS(),r=I7(),i=oy(),o=t("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),l=e("WeakMap.prototype.set",!0),d=e("WeakMap.prototype.has",!0),h=e("WeakMap.prototype.delete",!0);return B$=o?function(){var y,w,v={assert:function(C){if(!v.has(C))throw new i("Side channel does not contain "+n(C))},delete:function(C){if(o&&C&&(typeof C=="object"||typeof C=="function")){if(y)return h(y,C)}else if(r&&w)return w.delete(C);return!1},get:function(C){return o&&C&&(typeof C=="object"||typeof C=="function")&&y?u(y,C):w&&w.get(C)},has:function(C){return o&&C&&(typeof C=="object"||typeof C=="function")&&y?d(y,C):!!w&&w.has(C)},set:function(C,E){o&&C&&(typeof C=="object"||typeof C=="function")?(y||(y=new o),l(y,C,E)):r&&(w||(w=r()),w.set(C,E))}};return v}:r,B$}var q$,nP;function lre(){if(nP)return q$;nP=1;var t=oy(),e=DS(),n=Fne(),r=I7(),i=ure(),o=i||r||n;return q$=function(){var l,d={assert:function(h){if(!d.has(h))throw new t("Side channel does not contain "+e(h))},delete:function(h){return!!l&&l.delete(h)},get:function(h){return l&&l.get(h)},has:function(h){return!!l&&l.has(h)},set:function(h,g){l||(l=o()),l.set(h,g)}};return d},q$}var H$,rP;function JO(){if(rP)return H$;rP=1;var t=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return H$={default:n.RFC3986,formatters:{RFC1738:function(r){return t.call(r,e,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},H$}var z$,iP;function N7(){if(iP)return z$;iP=1;var t=JO(),e=Object.prototype.hasOwnProperty,n=Array.isArray,r=(function(){for(var $=[],O=0;O<256;++O)$.push("%"+((O<16?"0":"")+O.toString(16)).toUpperCase());return $})(),i=function(O){for(;O.length>1;){var _=O.pop(),R=_.obj[_.prop];if(n(R)){for(var k=[],P=0;P=h?L.slice(q,q+h):L,X=[],ue=0;ue=48&&me<=57||me>=65&&me<=90||me>=97&&me<=122||P===t.RFC1738&&(me===40||me===41)){X[X.length]=Y.charAt(ue);continue}if(me<128){X[X.length]=r[me];continue}if(me<2048){X[X.length]=r[192|me>>6]+r[128|me&63];continue}if(me<55296||me>=57344){X[X.length]=r[224|me>>12]+r[128|me>>6&63]+r[128|me&63];continue}ue+=1,me=65536+((me&1023)<<10|Y.charCodeAt(ue)&1023),X[X.length]=r[240|me>>18]+r[128|me>>12&63]+r[128|me>>6&63]+r[128|me&63]}F+=X.join("")}return F},y=function(O){for(var _=[{obj:{o:O},prop:"o"}],R=[],k=0;k<_.length;++k)for(var P=_[k],L=P.obj[P.prop],F=Object.keys(L),q=0;q"u"&&(G=0)}if(typeof Y=="function"?H=Y(O,H):H instanceof Date?H=me(H):_==="comma"&&o(H)&&(H=e.maybeMap(H,function(Ut){return Ut instanceof Date?me(Ut):Ut})),H===null){if(P)return q&&!we?q(O,g.encoder,B,"key",te):O;H=""}if(y(H)||e.isBuffer(H)){if(q){var $e=we?O:q(O,g.encoder,B,"key",te);return[be($e)+"="+be(q(H,g.encoder,B,"value",te))]}return[be(O)+"="+be(String(H))]}var Ce=[];if(typeof H>"u")return Ce;var Be;if(_==="comma"&&o(H))we&&q&&(H=e.maybeMap(H,q)),Be=[{value:H.length>0?H.join(",")||null:void 0}];else if(o(Y))Be=Y;else{var Ie=Object.keys(H);Be=X?Ie.sort(X):Ie}var tt=F?String(O).replace(/\./g,"%2E"):String(O),ke=R&&o(H)&&H.length===1?tt+"[]":tt;if(k&&o(H)&&H.length===0)return ke+"[]";for(var Ke=0;Ke"u"?$.encodeDotInKeys===!0?!0:g.allowDots:!!$.allowDots;return{addQueryPrefix:typeof $.addQueryPrefix=="boolean"?$.addQueryPrefix:g.addQueryPrefix,allowDots:L,allowEmptyArrays:typeof $.allowEmptyArrays=="boolean"?!!$.allowEmptyArrays:g.allowEmptyArrays,arrayFormat:P,charset:O,charsetSentinel:typeof $.charsetSentinel=="boolean"?$.charsetSentinel:g.charsetSentinel,commaRoundTrip:!!$.commaRoundTrip,delimiter:typeof $.delimiter>"u"?g.delimiter:$.delimiter,encode:typeof $.encode=="boolean"?$.encode:g.encode,encodeDotInKeys:typeof $.encodeDotInKeys=="boolean"?$.encodeDotInKeys:g.encodeDotInKeys,encoder:typeof $.encoder=="function"?$.encoder:g.encoder,encodeValuesOnly:typeof $.encodeValuesOnly=="boolean"?$.encodeValuesOnly:g.encodeValuesOnly,filter:k,format:_,formatter:R,serializeDate:typeof $.serializeDate=="function"?$.serializeDate:g.serializeDate,skipNulls:typeof $.skipNulls=="boolean"?$.skipNulls:g.skipNulls,sort:typeof $.sort=="function"?$.sort:null,strictNullHandling:typeof $.strictNullHandling=="boolean"?$.strictNullHandling:g.strictNullHandling}};return V$=function(E,$){var O=E,_=C($),R,k;typeof _.filter=="function"?(k=_.filter,O=k("",O)):o(_.filter)&&(k=_.filter,R=k);var P=[];if(typeof O!="object"||O===null)return"";var L=i[_.arrayFormat],F=L==="comma"&&_.commaRoundTrip;R||(R=Object.keys(O)),_.sort&&R.sort(_.sort);for(var q=t(),Y=0;Y0?te+me:""},V$}var G$,oP;function fre(){if(oP)return G$;oP=1;var t=N7(),e=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(w){return w.replace(/&#(\d+);/g,function(v,C){return String.fromCharCode(parseInt(C,10))})},o=function(w,v,C){if(w&&typeof w=="string"&&v.comma&&w.indexOf(",")>-1)return w.split(",");if(v.throwOnLimitExceeded&&C>=v.arrayLimit)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");return w},u="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",d=function(v,C){var E={__proto__:null},$=C.ignoreQueryPrefix?v.replace(/^\?/,""):v;$=$.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var O=C.parameterLimit===1/0?void 0:C.parameterLimit,_=$.split(C.delimiter,C.throwOnLimitExceeded?O+1:O);if(C.throwOnLimitExceeded&&_.length>O)throw new RangeError("Parameter limit exceeded. Only "+O+" parameter"+(O===1?"":"s")+" allowed.");var R=-1,k,P=C.charset;if(C.charsetSentinel)for(k=0;k<_.length;++k)_[k].indexOf("utf8=")===0&&(_[k]===l?P="utf-8":_[k]===u&&(P="iso-8859-1"),R=k,k=_.length);for(k=0;k<_.length;++k)if(k!==R){var L=_[k],F=L.indexOf("]="),q=F===-1?L.indexOf("="):F+1,Y,X;q===-1?(Y=C.decoder(L,r.decoder,P,"key"),X=C.strictNullHandling?null:""):(Y=C.decoder(L.slice(0,q),r.decoder,P,"key"),X=t.maybeMap(o(L.slice(q+1),C,n(E[Y])?E[Y].length:0),function(me){return C.decoder(me,r.decoder,P,"value")})),X&&C.interpretNumericEntities&&P==="iso-8859-1"&&(X=i(String(X))),L.indexOf("[]=")>-1&&(X=n(X)?[X]:X);var ue=e.call(E,Y);ue&&C.duplicates==="combine"?E[Y]=t.combine(E[Y],X):(!ue||C.duplicates==="last")&&(E[Y]=X)}return E},h=function(w,v,C,E){var $=0;if(w.length>0&&w[w.length-1]==="[]"){var O=w.slice(0,-1).join("");$=Array.isArray(v)&&v[O]?v[O].length:0}for(var _=E?v:o(v,C,$),R=w.length-1;R>=0;--R){var k,P=w[R];if(P==="[]"&&C.parseArrays)k=C.allowEmptyArrays&&(_===""||C.strictNullHandling&&_===null)?[]:t.combine([],_);else{k=C.plainObjects?{__proto__:null}:{};var L=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,F=C.decodeDotInKeys?L.replace(/%2E/g,"."):L,q=parseInt(F,10);!C.parseArrays&&F===""?k={0:_}:!isNaN(q)&&P!==F&&String(q)===F&&q>=0&&C.parseArrays&&q<=C.arrayLimit?(k=[],k[q]=_):F!=="__proto__"&&(k[F]=_)}_=k}return _},g=function(v,C,E,$){if(v){var O=E.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,_=/(\[[^[\]]*])/,R=/(\[[^[\]]*])/g,k=E.depth>0&&_.exec(O),P=k?O.slice(0,k.index):O,L=[];if(P){if(!E.plainObjects&&e.call(Object.prototype,P)&&!E.allowPrototypes)return;L.push(P)}for(var F=0;E.depth>0&&(k=R.exec(O))!==null&&F"u"?r.charset:v.charset,E=typeof v.duplicates>"u"?r.duplicates:v.duplicates;if(E!=="combine"&&E!=="first"&&E!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var $=typeof v.allowDots>"u"?v.decodeDotInKeys===!0?!0:r.allowDots:!!v.allowDots;return{allowDots:$,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof v.allowPrototypes=="boolean"?v.allowPrototypes:r.allowPrototypes,allowSparse:typeof v.allowSparse=="boolean"?v.allowSparse:r.allowSparse,arrayLimit:typeof v.arrayLimit=="number"?v.arrayLimit:r.arrayLimit,charset:C,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:r.charsetSentinel,comma:typeof v.comma=="boolean"?v.comma:r.comma,decodeDotInKeys:typeof v.decodeDotInKeys=="boolean"?v.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof v.decoder=="function"?v.decoder:r.decoder,delimiter:typeof v.delimiter=="string"||t.isRegExp(v.delimiter)?v.delimiter:r.delimiter,depth:typeof v.depth=="number"||v.depth===!1?+v.depth:r.depth,duplicates:E,ignoreQueryPrefix:v.ignoreQueryPrefix===!0,interpretNumericEntities:typeof v.interpretNumericEntities=="boolean"?v.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof v.parameterLimit=="number"?v.parameterLimit:r.parameterLimit,parseArrays:v.parseArrays!==!1,plainObjects:typeof v.plainObjects=="boolean"?v.plainObjects:r.plainObjects,strictDepth:typeof v.strictDepth=="boolean"?!!v.strictDepth:r.strictDepth,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof v.throwOnLimitExceeded=="boolean"?v.throwOnLimitExceeded:!1}};return G$=function(w,v){var C=y(v);if(w===""||w===null||typeof w>"u")return C.plainObjects?{__proto__:null}:{};for(var E=typeof w=="string"?d(w,C):w,$=C.plainObjects?{__proto__:null}:{},O=Object.keys(E),_=0;_h("GET",y),v=(_=d==null?void 0:d.headers)==null?void 0:_.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Bo(["*abac.RoleEntity",d,e],w,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),O=((k=(R=$.data)==null?void 0:R.data)==null?void 0:k.items)||[];return{query:$,items:O,keyExtractor:P=>P.uniqueId}}LS.UKEY="*abac.RoleEntity";const hre=({form:t,isEditing:e})=>{const{values:n,setValues:r,setFieldValue:i,errors:o}=t,{options:u}=T.useContext(yn),l=vn();return N.jsx(N.Fragment,{children:N.jsx(Ex,{formEffect:{field:Xa.Fields.role$,form:t},querySource:LS,label:l.wokspaces.invite.role,errorMessage:o.roleId,fnLabelFormat:d=>d.name,hint:l.wokspaces.invite.roleHint})})},uP=({data:t})=>{const{router:e,uniqueId:n,queryClient:r,t:i}=F1({data:t}),o=FN({query:{uniqueId:n}}),u=HX({queryClient:r}),l=qX({queryClient:r});return N.jsx(FO,{postHook:u,getSingleHook:o,patchHook:l,onCancel:()=>{e.goBackOrDefault(Xa.Navigation.query())},onFinishUriResolver:(d,h)=>{var g;return Xa.Navigation.single((g=d.data)==null?void 0:g.uniqueId)},Form:hre,onEditTitle:i.fb.editPublicJoinKey,onCreateTitle:i.fb.newPublicJoinKey,data:t})},XO=({children:t,getSingleHook:e,editEntityHandler:n,noBack:r,disableOnGetFailed:i})=>{var l;const{router:o,locale:u}=F1({});return jX(n?()=>n({locale:u,router:o}):void 0,jn.EditEntity),MN(r!==!0?()=>o.goBack():null,jn.CommonBack),N.jsxs(N.Fragment,{children:[N.jsx(Go,{query:e.query}),i===!0&&((l=e==null?void 0:e.query)!=null&&l.isError)?null:N.jsx(N.Fragment,{children:t})]})},M7=({value:t})=>{const e=n=>{n.stopPropagation(),navigator.clipboard.writeText(t).then(()=>{})};return N.jsx("div",{className:"table-btn table-copy-btn",onClick:e,children:N.jsx(pre,{})})},pre=({size:t=16,color:e="silver",style:n={}})=>N.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n,children:N.jsx("path",{d:"M16 1H6C4.9 1 4 1.9 4 3V17H6V3H16V1ZM18 5H10C8.9 5 8 5.9 8 7V21C8 22.1 8.9 23 10 23H18C19.1 23 20 22.1 20 21V7C20 5.9 19.1 5 18 5ZM18 21H10V7H18V21Z",fill:e})});function ZO({entity:t,fields:e,title:n,description:r}){var o;const i=vn();return N.jsx("div",{className:"mt-4",children:N.jsxs("div",{className:"general-entity-view ",children:[n?N.jsx("h1",{children:n}):null,r?N.jsx("p",{children:r}):null,N.jsxs("div",{className:"entity-view-row entity-view-head",children:[N.jsx("div",{className:"field-info",children:i.table.info}),N.jsx("div",{className:"field-value",children:i.table.value})]}),(t==null?void 0:t.uniqueId)&&N.jsxs("div",{className:"entity-view-row entity-view-body",children:[N.jsx("div",{className:"field-info",children:i.table.uniqueId}),N.jsx("div",{className:"field-value",children:t.uniqueId})]}),(o=e||[])==null?void 0:o.map((u,l)=>{var h;let d=u.elem===void 0?"-":u.elem;return u.elem===!0&&(d=i.common.yes),u.elem===!1&&(d=i.common.no),u.elem===null&&(d=N.jsx("i",{children:N.jsx("b",{children:i.common.isNUll})})),N.jsxs("div",{className:"entity-view-row entity-view-body",children:[N.jsx("div",{className:"field-info",children:u.label}),N.jsxs("div",{className:"field-value","data-test-id":((h=u.label)==null?void 0:h.toString())||"",children:[d," ",N.jsx(M7,{value:d})]})]},l)}),(t==null?void 0:t.createdFormatted)&&N.jsxs("div",{className:"entity-view-row entity-view-body",children:[N.jsx("div",{className:"field-info",children:i.table.created}),N.jsx("div",{className:"field-value",children:t.createdFormatted})]})]})})}const mre=()=>{var o,u;const t=Ur(),e=vn(),n=t.query.uniqueId;Ci();const r=FN({query:{uniqueId:n}});var i=(o=r.query.data)==null?void 0:o.data;return N.jsx(N.Fragment,{children:N.jsx(XO,{editEntityHandler:()=>{t.push(Xa.Navigation.edit(n))},getSingleHook:r,children:N.jsx(ZO,{entity:i,fields:[{label:e.role.name,elem:(u=i==null?void 0:i.role)==null?void 0:u.name}]})})})};var Zw=function(t){return Array.prototype.slice.call(t)},gre=(function(){function t(){this.handlers=[]}return t.prototype.emit=function(e){this.handlers.forEach(function(n){return n(e)})},t.prototype.subscribe=function(e){this.handlers.push(e)},t.prototype.unsubscribe=function(e){this.handlers.splice(this.handlers.indexOf(e),1)},t})(),k7=function(t,e){if(t===e)return!0;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty,o=0;o0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){u={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(u)throw u.error}}return o}function lP(t,e,n){if(arguments.length===2)for(var r=0,i=e.length,o;r0?Ire(e,n,r):e}};Te.shape({current:Te.instanceOf(typeof Element<"u"?Element:Object)});var iT=Symbol("group"),Nre=Symbol("".concat(iT.toString(),"_check"));Symbol("".concat(iT.toString(),"_levelKey"));Symbol("".concat(iT.toString(),"_collapsedRows"));var Mre=function(t){return function(e){var n=t(e);return!e[Nre]&&n===void 0&&console.warn("The row id is undefined. Check the getRowId function. The row is",e),n}},kre=function(t,e){if(!t){var n=new Map(e.map(function(r,i){return[r,i]}));return function(r){return n.get(r)}}return Mre(t)},Dre=function(t,e){return t[e]},Fre=function(t,e){t===void 0&&(t=Dre);var n=!0,r=e.reduce(function(i,o){return o.getCellValue&&(n=!1,i[o.name]=o.getCellValue),i},{});return n?t:function(i,o){return r[o]?r[o](i,o):t(i,o)}};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Kg=function(){return Kg=Object.assign||function(e){for(var n,r=1,i=arguments.length;r0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){u={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(u)throw u.error}}return o}function nS(t,e,n){if(arguments.length===2)for(var r=0,i=e.length,o;rr){do e[d++]=t[l++];while(l<=i);break}}else if(e[d++]=t[l++],l>i){do e[d++]=t[u++];while(u<=r);break}}},mP=function(t,e,n,r,i){if(!(ro?1:0});var n=Zw(t),r=Zw(t);return _x(n,r,0,n.length-1,e),n}),jre=function(t,e,n){var r=n.map(function(i){var o=i.columnName;return{column:t.find(function(u){return u.name===o}),draft:!e.some(function(u){return u.columnName===o})}});return e.forEach(function(i,o){var u=i.columnName;n.some(function(l){return l.columnName===u})||r.splice(o,0,{column:t.find(function(l){return l.name===u}),draft:!0})}),r},rS=Symbol("reordering"),Bre=function(t,e){var n=e.sourceColumnName,r=e.targetColumnName,i=t.indexOf(n),o=t.indexOf(r),u=Zw(t);return u.splice(i,1),u.splice(o,0,n),u},Tl=Symbol("data"),qre=function(t,e){return t===void 0&&(t=[]),Ure(t,function(n,r){if(n.type!==Tl||r.type!==Tl)return 0;var i=e.indexOf(n.column.name),o=e.indexOf(r.column.name);return i-o})},Hre=function(t){return nS(nS([],Tx(t),!1),[{key:rS.toString(),type:rS,height:0}],!1)},zre=function(t,e,n){if(e===-1||n===-1||e===n)return t;var r=Zw(t),i=t[e];return r.splice(e,1),r.splice(n,0,i),r},Vre=function(t,e){var n=parseInt(t,10),r=n?t.substr(n.toString().length):t,i=isNaN(n)&&r==="auto",o=n>=0&&e.some(function(u){return u===r});return i||o},Gre=function(t){if(typeof t=="string"){var e=parseInt(t,10);return t.substr(e.toString().length).length>0?t:e}return t},Wre=Symbol("heading"),Kre=Symbol("filter"),Ax=Symbol("group"),Yre=Symbol("stub"),Qre=function(t,e,n,r){return t.reduce(function(i,o){if(o.type!==Tl)return i.push(o),i;var u=o.column&&o.column.name||"",l=e.some(function(h){return h.columnName===u}),d=n.some(function(h){return h.columnName===u});return!l&&!d||r(u)?i.push(o):(!l&&d||l&&!d)&&i.push(Kg(Kg({},o),{draft:!0})),i},[])},Jre=function(t,e,n,r,i,o){return nS(nS([],Tx(n.map(function(u){var l=t.find(function(d){return d.name===u.columnName});return{key:"".concat(Ax.toString(),"_").concat(l.name),type:Ax,column:l,width:i}})),!1),Tx(Qre(e,n,r,o)),!1)},Xre=Symbol("band"),Zre=["px","%","em","rem","vm","vh","vmin","vmax",""],eie="The columnExtension property of the Table plugin is given an invalid value.",tie=function(t){t&&t.map(function(e){var n=e.width;if(typeof n=="string"&&!Vre(n,Zre))throw new Error(eie)})},nie=function(t,e){if(!t)return{};var n=t.find(function(r){return r.columnName===e});return n||{}},rie=function(t,e){return t.map(function(n){var r=n.name,i=nie(e,r),o=Gre(i.width);return{column:n,key:"".concat(Tl.toString(),"_").concat(r),type:Tl,width:o,align:i.align,wordWrapEnabled:i.wordWrapEnabled}})},iie=function(t,e){return t===void 0&&(t=[]),t.filter(function(n){return n.type!==Tl||e.indexOf(n.column.name)===-1})},aie=function(t,e,n){return function(r){return n.indexOf(r)>-1&&e||typeof t=="function"&&t(r)||void 0}},oie=Symbol("totalSummary");Wre.toString();Kre.toString();Tl.toString();Xre.toString();oie.toString();Yre.toString();Ax.toString();var sie=function(t,e){var n=t[e].right-t[e].left,r=function(i){return t[i].right-t[i].left-n};return t.map(function(i,o){var u=i.top,l=i.right,d=i.bottom,h=i.left,g=h;o>0&&o<=e&&(g=Math.min(g,g-r(o-1))),o>e&&(g=Math.max(g,g+r(o)));var y=l;return o=e&&(y=Math.max(y,y+r(o+1))),o=u&&e=t.top&&e<=t.bottom},lie=function(t){var e=t.top,n=t.right,r=t.bottom,i=t.left;return{top:e,right:n,bottom:r,left:i}},cie=function(t){return t.map(function(e,n){return n!==t.length-1&&e.top===t[n+1].top?Kg(Kg({},e),{right:t[n+1].left}):e})},fie=function(t,e,n){var r=n.x,i=n.y;if(t.length===0)return 0;var o=e!==-1?sie(t,e):t.map(lie),u=cie(o).findIndex(function(l,d){var h=gP(l,i),g=r>=l.left&&r<=l.right,y=d===0&&r{t(!1)})},refs:[]}),Mie=T.createContext(null),kie=()=>{const t=T.useContext(Mie);if(!t)throw new Error("useOverlay must be inside OverlayProvider");return t},Die=()=>{const{openDrawer:t,openModal:e}=kie();return{confirmDrawer:({title:i,description:o,cancelLabel:u,confirmLabel:l})=>t(({close:d,resolve:h})=>N.jsxs("div",{className:"confirm-drawer-container p-3",children:[N.jsx("h2",{children:i}),N.jsx("span",{children:o}),N.jsxs("div",{children:[N.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>h(),children:l}),N.jsx("button",{className:"d-block w-100 btn",onClick:()=>d(),children:u})]})]})),confirmModal:({title:i,description:o,cancelLabel:u,confirmLabel:l})=>e(({close:d,resolve:h})=>N.jsxs("div",{className:"confirm-drawer-container p-3",children:[N.jsx("span",{children:o}),N.jsxs("div",{className:"row mt-4",children:[N.jsx("div",{className:"col-md-6",children:N.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>h(),children:l})}),N.jsx("div",{className:"col-md-6",children:N.jsx("button",{className:"d-block w-100 btn",onClick:()=>d(),children:u})})]})]}),{title:i})}},Fie=()=>{const t=T.useRef();return{withDebounce:(n,r)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(n,r)}}};function Lie({urlMask:t,submitDelete:e,onRecordsDeleted:n,initialFilters:r}){const i=vn(),o=Ur(),{confirmModal:u}=Die(),{withDebounce:l}=Fie(),d={itemsPerPage:100,startIndex:0,sorting:[],...r||{}},[h,g]=T.useState(d),[y,w]=T.useState(d),{search:v}=kl(),C=T.useRef(!1);T.useEffect(()=>{if(C.current)return;C.current=!0;let we={};try{we=Wg.parse(v.substring(1)),delete we.startIndex}catch{}g({...d,...we}),w({...d,...we})},[v]);const[E,$]=T.useState([]),_=(we=>{var V;const B={...we};return delete B.startIndex,delete B.itemsPerPage,((V=B==null?void 0:B.sorting)==null?void 0:V.length)===0&&delete B.sorting,JSON.stringify(B)})(h),R=we=>{$(we)},k=(we,B=!0)=>{const V={...h,...we};B&&(V.startIndex=0),g(V),o.push("?"+Wg.stringify(V),void 0,{},!0),l(()=>{w(V)},500)},P=we=>{k({itemsPerPage:we},!1)},L=we=>we.map(B=>`${B.columnName} ${B.direction}`).join(", "),F=we=>{k({sorting:we,sort:L(we)},!1)},q=we=>{k({startIndex:we},!1)},Y=we=>{k({startIndex:0})};T.useContext(X7);const X=we=>({query:we.map(B=>`unique_id = ${B}`).join(" or "),uniqueId:""}),ue=async()=>{u({title:i.confirm,confirmLabel:i.common.yes,cancelLabel:i.common.no,description:i.deleteConfirmMessage}).promise.then(({type:we})=>{if(we==="resolved")return e(X(E),null)}).then(()=>{n&&n()})},me=()=>({label:i.deleteAction,onSelect(){ue()},icon:iy.delete,uniqueActionKey:"GENERAL_DELETE_ACTION"}),{addActions:te,removeActionMenu:be}=DX();return T.useEffect(()=>{if(E.length>0&&typeof e<"u")return te("table-selection",[me()]);be("table-selection")},[E]),L1(jn.Delete,()=>{E.length>0&&typeof e<"u"&&ue()}),{filters:h,setFilters:g,setFilter:k,setSorting:F,setStartIndex:q,selection:E,setSelection:R,onFiltersChange:Y,queryHash:_,setPageSize:P,debouncedFilters:y}}function Uie({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=T.useContext(yn),l=e?e(o):u?u(o):Lr(o);let h=`${"/table-view-sizing/:uniqueId".substr(1)}?${new URLSearchParams(la(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>l("GET",h),w=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=w!="undefined"&&w!=null&&w!=null&&w!="null"&&!!w;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Bo([o,n,"*abac.TableViewSizingEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}class aT extends Vt{constructor(...e){super(...e),this.children=void 0,this.tableName=void 0,this.sizes=void 0}}aT.Navigation={edit(t,e){return`${e?"/"+e:".."}/table-view-sizing/edit/${t}`},create(t){return`${t?"/"+t:".."}/table-view-sizing/new`},single(t,e){return`${e?"/"+e:".."}/table-view-sizing/${t}`},query(t={},e){return`${e?"/"+e:".."}/table-view-sizings`},Redit:"table-view-sizing/edit/:uniqueId",Rcreate:"table-view-sizing/new",Rsingle:"table-view-sizing/:uniqueId",Rquery:"table-view-sizings"};aT.definition={rpc:{query:{}},name:"tableViewSizing",features:{},gormMap:{},fields:[{name:"tableName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"sizes",type:"string",computedType:"string",gormMap:{}}],cliShort:"tvs",description:"Used to store meta data about user tables (in front-end, or apps for example) about the size of the columns"};aT.Fields={...Vt.Fields,tableName:"tableName",sizes:"sizes"};function jie(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/table-view-sizing".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueriesData("*abac.TableViewSizingEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function Z7(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e1&&(!t.frozen||t.idx+r-1<=e))return r}function Bie(t){t.stopPropagation()}function Sw(t){t==null||t.scrollIntoView({inline:"nearest",block:"nearest"})}function D0(t){let e=!1;const n={...t,preventGridDefault(){e=!0},isGridDefaultPrevented(){return e}};return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),n}const qie=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function Px(t){return(t.ctrlKey||t.metaKey)&&t.key!=="Control"}function Hie(t){return Px(t)&&t.keyCode!==86?!1:!qie.has(t.key)}function zie({key:t,target:e}){var n;return t==="Tab"&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)?((n=e.closest(".rdg-editor-container"))==null?void 0:n.querySelectorAll("input, textarea, select").length)===1:!1}const Vie="mlln6zg7-0-0-beta-51";function Gie(t){return t.map(({key:e,idx:n,minWidth:r,maxWidth:i})=>N.jsx("div",{className:Vie,style:{gridColumnStart:n+1,minWidth:r,maxWidth:i},"data-measuring-cell-key":e},e))}function Wie({selectedPosition:t,columns:e,rows:n}){const r=e[t.idx],i=n[t.rowIdx];return eM(r,i)}function eM(t,e){return t.renderEditCell!=null&&(typeof t.editable=="function"?t.editable(e):t.editable)!==!1}function Kie({rows:t,topSummaryRows:e,bottomSummaryRows:n,rowIdx:r,mainHeaderRowIdx:i,lastFrozenColumnIndex:o,column:u}){const l=(e==null?void 0:e.length)??0;if(r===i)return Fo(u,o,{type:"HEADER"});if(e&&r>i&&r<=l+i)return Fo(u,o,{type:"SUMMARY",row:e[r+l]});if(r>=0&&r{for(const F of i){const q=F.idx;if(q>$)break;const Y=Kie({rows:o,topSummaryRows:u,bottomSummaryRows:l,rowIdx:O,mainHeaderRowIdx:h,lastFrozenColumnIndex:C,column:F});if(Y&&$>q&&$L.level+h,P=()=>{if(e){let F=r[$].parent;for(;F!==void 0;){const q=k(F);if(O===q){$=F.idx+F.colSpan;break}F=F.parent}}else if(t){let F=r[$].parent,q=!1;for(;F!==void 0;){const Y=k(F);if(O>=Y){$=F.idx,O=Y,q=!0;break}F=F.parent}q||($=y,O=w)}};if(E(v)&&(R(e),O=q&&(O=Y,$=F.idx),F=F.parent}}return{idx:$,rowIdx:O}}function Qie({maxColIdx:t,minRowIdx:e,maxRowIdx:n,selectedPosition:{rowIdx:r,idx:i},shiftKey:o}){return o?i===0&&r===e:i===t&&r===n}const Jie="cj343x07-0-0-beta-51",tM=`rdg-cell ${Jie}`,Xie="csofj7r7-0-0-beta-51",Zie=`rdg-cell-frozen ${Xie}`;function oT(t){return{"--rdg-grid-row-start":t}}function nM(t,e,n){const r=e+1,i=`calc(${n-1} * var(--rdg-header-row-height))`;return t.parent===void 0?{insetBlockStart:0,gridRowStart:1,gridRowEnd:r,paddingBlockStart:i}:{insetBlockStart:`calc(${e-n} * var(--rdg-header-row-height))`,gridRowStart:r-n,gridRowEnd:r,paddingBlockStart:i}}function sy(t,e=1){const n=t.idx+1;return{gridColumnStart:n,gridColumnEnd:n+e,insetInlineStart:t.frozen?`var(--rdg-frozen-left-${t.idx})`:void 0}}function q1(t,...e){return _l(tM,{[Zie]:t.frozen},...e)}const{min:v1,max:iS,floor:yP,sign:eae,abs:tae}=Math;function Y$(t){if(typeof t!="function")throw new Error("Please specify the rowKeyGetter prop to use selection")}function rM(t,{minWidth:e,maxWidth:n}){return t=iS(t,e),typeof n=="number"&&n>=e?v1(t,n):t}function iM(t,e){return t.parent===void 0?e:t.level-t.parent.level}const nae="c1bn88vv7-0-0-beta-51",rae=`rdg-checkbox-input ${nae}`;function iae({onChange:t,indeterminate:e,...n}){function r(i){t(i.target.checked,i.nativeEvent.shiftKey)}return N.jsx("input",{ref:i=>{i&&(i.indeterminate=e===!0)},type:"checkbox",className:rae,onChange:r,...n})}function aae(t){try{return t.row[t.column.key]}catch{return null}}const aM=T.createContext(void 0);function jS(){return T.useContext(aM)}function sT({value:t,tabIndex:e,indeterminate:n,disabled:r,onChange:i,"aria-label":o,"aria-labelledby":u}){const l=jS().renderCheckbox;return l({"aria-label":o,"aria-labelledby":u,tabIndex:e,indeterminate:n,disabled:r,checked:t,onChange:i})}const uT=T.createContext(void 0),oM=T.createContext(void 0);function sM(){const t=T.useContext(uT),e=T.useContext(oM);if(t===void 0||e===void 0)throw new Error("useRowSelection must be used within renderCell");return{isRowSelectionDisabled:t.isRowSelectionDisabled,isRowSelected:t.isRowSelected,onRowSelectionChange:e}}const uM=T.createContext(void 0),lM=T.createContext(void 0);function oae(){const t=T.useContext(uM),e=T.useContext(lM);if(t===void 0||e===void 0)throw new Error("useHeaderRowSelection must be used within renderHeaderCell");return{isIndeterminate:t.isIndeterminate,isRowSelected:t.isRowSelected,onRowSelectionChange:e}}const aS="rdg-select-column";function sae(t){const{isIndeterminate:e,isRowSelected:n,onRowSelectionChange:r}=oae();return N.jsx(sT,{"aria-label":"Select All",tabIndex:t.tabIndex,indeterminate:e,value:n,onChange:i=>{r({checked:e?!1:i})}})}function uae(t){const{isRowSelectionDisabled:e,isRowSelected:n,onRowSelectionChange:r}=sM();return N.jsx(sT,{"aria-label":"Select",tabIndex:t.tabIndex,disabled:e,value:n,onChange:(i,o)=>{r({row:t.row,checked:i,isShiftClick:o})}})}function lae(t){const{isRowSelected:e,onRowSelectionChange:n}=sM();return N.jsx(sT,{"aria-label":"Select Group",tabIndex:t.tabIndex,value:e,onChange:r=>{n({row:t.row,checked:r,isShiftClick:!1})}})}const cae={key:aS,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell(t){return N.jsx(sae,{...t})},renderCell(t){return N.jsx(uae,{...t})},renderGroupCell(t){return N.jsx(lae,{...t})}},fae="h44jtk67-0-0-beta-51",dae="hcgkhxz7-0-0-beta-51",hae=`rdg-header-sort-name ${dae}`;function pae({column:t,sortDirection:e,priority:n}){return t.sortable?N.jsx(mae,{sortDirection:e,priority:n,children:t.name}):t.name}function mae({sortDirection:t,priority:e,children:n}){const r=jS().renderSortStatus;return N.jsxs("span",{className:fae,children:[N.jsx("span",{className:hae,children:n}),N.jsx("span",{children:r({sortDirection:t,priority:e})})]})}const gae="auto",yae=50;function vae({rawColumns:t,defaultColumnOptions:e,getColumnWidth:n,viewportWidth:r,scrollLeft:i,enableVirtualization:o}){const u=(e==null?void 0:e.width)??gae,l=(e==null?void 0:e.minWidth)??yae,d=(e==null?void 0:e.maxWidth)??void 0,h=(e==null?void 0:e.renderCell)??aae,g=(e==null?void 0:e.renderHeaderCell)??pae,y=(e==null?void 0:e.sortable)??!1,w=(e==null?void 0:e.resizable)??!1,v=(e==null?void 0:e.draggable)??!1,{columns:C,colSpanColumns:E,lastFrozenColumnIndex:$,headerRowsCount:O}=T.useMemo(()=>{let q=-1,Y=1;const X=[];ue(t,1);function ue(te,be,we){for(const B of te){if("children"in B){const ie={name:B.name,parent:we,idx:-1,colSpan:0,level:0,headerCellClass:B.headerCellClass};ue(B.children,be+1,ie);continue}const V=B.frozen??!1,H={...B,parent:we,idx:0,level:0,frozen:V,width:B.width??u,minWidth:B.minWidth??l,maxWidth:B.maxWidth??d,sortable:B.sortable??y,resizable:B.resizable??w,draggable:B.draggable??v,renderCell:B.renderCell??h,renderHeaderCell:B.renderHeaderCell??g};X.push(H),V&&q++,be>Y&&(Y=be)}}X.sort(({key:te,frozen:be},{key:we,frozen:B})=>te===aS?-1:we===aS?1:be?B?0:-1:B?1:0);const me=[];return X.forEach((te,be)=>{te.idx=be,cM(te,be,0),te.colSpan!=null&&me.push(te)}),{columns:X,colSpanColumns:me,lastFrozenColumnIndex:q,headerRowsCount:Y}},[t,u,l,d,h,g,w,y,v]),{templateColumns:_,layoutCssVars:R,totalFrozenColumnWidth:k,columnMetrics:P}=T.useMemo(()=>{const q=new Map;let Y=0,X=0;const ue=[];for(const te of C){let be=n(te);typeof be=="number"?be=rM(be,te):be=te.minWidth,ue.push(`${be}px`),q.set(te,{width:be,left:Y}),Y+=be}if($!==-1){const te=q.get(C[$]);X=te.left+te.width}const me={};for(let te=0;te<=$;te++){const be=C[te];me[`--rdg-frozen-left-${be.idx}`]=`${q.get(be).left}px`}return{templateColumns:ue,layoutCssVars:me,totalFrozenColumnWidth:X,columnMetrics:q}},[n,C,$]),[L,F]=T.useMemo(()=>{if(!o)return[0,C.length-1];const q=i+k,Y=i+r,X=C.length-1,ue=v1($+1,X);if(q>=Y)return[ue,ue];let me=ue;for(;meq)break;me++}let te=me;for(;te=Y)break;te++}const be=iS(ue,me-1),we=v1(X,te+1);return[be,we]},[P,C,$,i,k,r,o]);return{columns:C,colSpanColumns:E,colOverscanStartIdx:L,colOverscanEndIdx:F,templateColumns:_,layoutCssVars:R,headerRowsCount:O,lastFrozenColumnIndex:$,totalFrozenColumnWidth:k}}function cM(t,e,n){if(n{g.current=i,$(C)});function $(_){_.length!==0&&d(R=>{const k=new Map(R);let P=!1;for(const L of _){const F=vP(r,L);P||(P=F!==R.get(L)),F===void 0?k.delete(L):k.set(L,F)}return P?k:R})}function O(_,R){const{key:k}=_,P=[...n],L=[];for(const{key:q,idx:Y,width:X}of e)if(k===q){const ue=typeof R=="number"?`${R}px`:R;P[Y]=ue}else y&&typeof X=="string"&&!o.has(q)&&(P[Y]=X,L.push(q));r.current.style.gridTemplateColumns=P.join(" ");const F=typeof R=="number"?R:vP(r,k);xu.flushSync(()=>{l(q=>{const Y=new Map(q);return Y.set(k,F),Y}),$(L)}),h==null||h(_,F)}return{gridTemplateColumns:E,handleColumnResize:O}}function vP(t,e){var i;const n=`[data-measuring-cell-key="${CSS.escape(e)}"]`,r=(i=t.current)==null?void 0:i.querySelector(n);return r==null?void 0:r.getBoundingClientRect().width}function wae(){const t=T.useRef(null),[e,n]=T.useState(1),[r,i]=T.useState(1),[o,u]=T.useState(0);return T.useLayoutEffect(()=>{const{ResizeObserver:l}=window;if(l==null)return;const{clientWidth:d,clientHeight:h,offsetWidth:g,offsetHeight:y}=t.current,{width:w,height:v}=t.current.getBoundingClientRect(),C=y-h,E=w-g+d,$=v-C;n(E),i($),u(C);const O=new l(_=>{const R=_[0].contentBoxSize[0],{clientHeight:k,offsetHeight:P}=t.current;xu.flushSync(()=>{n(R.inlineSize),i(R.blockSize),u(P-k)})});return O.observe(t.current),()=>{O.disconnect()}},[]),[t,e,r,o]}function Qa(t){const e=T.useRef(t);T.useEffect(()=>{e.current=t});const n=T.useCallback((...r)=>{e.current(...r)},[]);return t&&n}function H1(t){const[e,n]=T.useState(!1);e&&!t&&n(!1);function r(o){o.target!==o.currentTarget&&n(!0)}return{tabIndex:t&&!e?0:-1,childTabIndex:t?0:-1,onFocus:t?r:void 0}}function Sae({columns:t,colSpanColumns:e,rows:n,topSummaryRows:r,bottomSummaryRows:i,colOverscanStartIdx:o,colOverscanEndIdx:u,lastFrozenColumnIndex:l,rowOverscanStartIdx:d,rowOverscanEndIdx:h}){const g=T.useMemo(()=>{if(o===0)return 0;let y=o;const w=(v,C)=>C!==void 0&&v+C>o?(y=v,!0):!1;for(const v of e){const C=v.idx;if(C>=y||w(C,Fo(v,l,{type:"HEADER"})))break;for(let E=d;E<=h;E++){const $=n[E];if(w(C,Fo(v,l,{type:"ROW",row:$})))break}if(r!=null){for(const E of r)if(w(C,Fo(v,l,{type:"SUMMARY",row:E})))break}if(i!=null){for(const E of i)if(w(C,Fo(v,l,{type:"SUMMARY",row:E})))break}}return y},[d,h,n,r,i,o,l,e]);return T.useMemo(()=>{const y=[];for(let w=0;w<=u;w++){const v=t[w];w{if(typeof e=="number")return{totalRowHeight:e*t.length,gridTemplateRows:` repeat(${t.length}, ${e}px)`,getRowTop:$=>$*e,getRowHeight:()=>e,findRowIdx:$=>yP($/e)};let w=0,v=" ";const C=t.map($=>{const O=e($),_={top:w,height:O};return v+=`${O}px `,w+=O,_}),E=$=>iS(0,v1(t.length-1,$));return{totalRowHeight:w,gridTemplateRows:v,getRowTop:$=>C[E($)].top,getRowHeight:$=>C[E($)].height,findRowIdx($){let O=0,_=C.length-1;for(;O<=_;){const R=O+yP((_-O)/2),k=C[R].top;if(k===$)return R;if(k<$?O=R+1:k>$&&(_=R-1),O>_)return _}return 0}}},[e,t]);let g=0,y=t.length-1;if(i){const v=h(r),C=h(r+n);g=iS(0,v-4),y=v1(t.length-1,C+4)}return{rowOverscanStartIdx:g,rowOverscanEndIdx:y,totalRowHeight:o,gridTemplateRows:u,getRowTop:l,getRowHeight:d,findRowIdx:h}}const $ae="c6ra8a37-0-0-beta-51",Eae=`rdg-cell-copied ${$ae}`,xae="cq910m07-0-0-beta-51",Oae=`rdg-cell-dragged-over ${xae}`;function Tae({column:t,colSpan:e,isCellSelected:n,isCopied:r,isDraggedOver:i,row:o,rowIdx:u,className:l,onClick:d,onDoubleClick:h,onContextMenu:g,onRowChange:y,selectCell:w,style:v,...C}){const{tabIndex:E,childTabIndex:$,onFocus:O}=H1(n),{cellClass:_}=t;l=q1(t,{[Eae]:r,[Oae]:i},typeof _=="function"?_(o):_,l);const R=eM(t,o);function k(Y){w({rowIdx:u,idx:t.idx},Y)}function P(Y){if(d){const X=D0(Y);if(d({rowIdx:u,row:o,column:t,selectCell:k},X),X.isGridDefaultPrevented())return}k()}function L(Y){if(g){const X=D0(Y);if(g({rowIdx:u,row:o,column:t,selectCell:k},X),X.isGridDefaultPrevented())return}k()}function F(Y){if(h){const X=D0(Y);if(h({rowIdx:u,row:o,column:t,selectCell:k},X),X.isGridDefaultPrevented())return}k(!0)}function q(Y){y(t,Y)}return N.jsx("div",{role:"gridcell","aria-colindex":t.idx+1,"aria-colspan":e,"aria-selected":n,"aria-readonly":!R||void 0,tabIndex:E,className:l,style:{...sy(t,e),...v},onClick:P,onDoubleClick:F,onContextMenu:L,onFocus:O,...C,children:t.renderCell({column:t,row:o,rowIdx:u,isCellEditable:R,tabIndex:$,onRowChange:q})})}const _ae=T.memo(Tae);function Aae(t,e){return N.jsx(_ae,{...e},t)}const Rae="c1w9bbhr7-0-0-beta-51",Pae="c1creorc7-0-0-beta-51",Iae=`rdg-cell-drag-handle ${Rae}`;function Nae({gridRowStart:t,rows:e,column:n,columnWidth:r,maxColIdx:i,isLastRow:o,selectedPosition:u,latestDraggedOverRowIdx:l,isCellEditable:d,onRowsChange:h,onFill:g,onClick:y,setDragging:w,setDraggedOverRowIdx:v}){const{idx:C,rowIdx:E}=u;function $(P){if(P.preventDefault(),P.buttons!==1)return;w(!0),window.addEventListener("mouseover",L),window.addEventListener("mouseup",F);function L(q){q.buttons!==1&&F()}function F(){window.removeEventListener("mouseover",L),window.removeEventListener("mouseup",F),w(!1),O()}}function O(){const P=l.current;if(P===void 0)return;const L=E0&&(h==null||h(q,{indexes:Y,column:n}))}function k(){var X;const P=((X=n.colSpan)==null?void 0:X.call(n,{type:"ROW",row:e[E]}))??1,{insetInlineStart:L,...F}=sy(n,P),q="calc(var(--rdg-drag-handle-size) * -0.5 + 1px)",Y=n.idx+P-1===i;return{...F,gridRowStart:t,marginInlineEnd:Y?void 0:q,marginBlockEnd:o?void 0:q,insetInlineStart:L?`calc(${L} + ${r}px + var(--rdg-drag-handle-size) * -0.5 - 1px)`:void 0}}return N.jsx("div",{style:k(),className:_l(Iae,n.frozen&&Pae),onClick:y,onMouseDown:$,onDoubleClick:_})}const Mae="cis5rrm7-0-0-beta-51";function kae({column:t,colSpan:e,row:n,rowIdx:r,onRowChange:i,closeEditor:o,onKeyDown:u,navigate:l}){var O,_,R;const d=T.useRef(void 0),h=((O=t.editorOptions)==null?void 0:O.commitOnOutsideClick)!==!1,g=Qa(()=>{v(!0,!1)});T.useEffect(()=>{if(!h)return;function k(){d.current=requestAnimationFrame(g)}return addEventListener("mousedown",k,{capture:!0}),()=>{removeEventListener("mousedown",k,{capture:!0}),y()}},[h,g]);function y(){cancelAnimationFrame(d.current)}function w(k){if(u){const P=D0(k);if(u({mode:"EDIT",row:n,column:t,rowIdx:r,navigate(){l(k)},onClose:v},P),P.isGridDefaultPrevented())return}k.key==="Escape"?v():k.key==="Enter"?v(!0):zie(k)&&l(k)}function v(k=!1,P=!0){k?i(n,!0,P):o(P)}function C(k,P=!1){i(k,P,P)}const{cellClass:E}=t,$=q1(t,"rdg-editor-container",!((_=t.editorOptions)!=null&&_.displayCellContent)&&Mae,typeof E=="function"?E(n):E);return N.jsx("div",{role:"gridcell","aria-colindex":t.idx+1,"aria-colspan":e,"aria-selected":!0,className:$,style:sy(t,e),onKeyDown:w,onMouseDownCapture:y,children:t.renderEditCell!=null&&N.jsxs(N.Fragment,{children:[t.renderEditCell({column:t,row:n,rowIdx:r,onRowChange:C,onClose:v}),((R=t.editorOptions)==null?void 0:R.displayCellContent)&&t.renderCell({column:t,row:n,rowIdx:r,isCellEditable:!0,tabIndex:-1,onRowChange:C})]})})}function Dae({column:t,rowIdx:e,isCellSelected:n,selectCell:r}){const{tabIndex:i,onFocus:o}=H1(n),{colSpan:u}=t,l=iM(t,e),d=t.idx+1;function h(){r({idx:t.idx,rowIdx:e})}return N.jsx("div",{role:"columnheader","aria-colindex":d,"aria-colspan":u,"aria-rowspan":l,"aria-selected":n,tabIndex:i,className:_l(tM,t.headerCellClass),style:{...nM(t,e,l),gridColumnStart:d,gridColumnEnd:d+u},onFocus:o,onClick:h,children:t.name})}const Fae="c6l2wv17-0-0-beta-51",Lae="c1kqdw7y7-0-0-beta-51",Uae=`rdg-cell-resizable ${Lae}`,jae="r1y6ywlx7-0-0-beta-51",Bae="rdg-cell-draggable",qae="c1bezg5o7-0-0-beta-51",Hae=`rdg-cell-dragging ${qae}`,zae="c1vc96037-0-0-beta-51",Vae=`rdg-cell-drag-over ${zae}`;function Gae({column:t,colSpan:e,rowIdx:n,isCellSelected:r,onColumnResize:i,onColumnsReorder:o,sortColumns:u,onSortColumnsChange:l,selectCell:d,shouldFocusGrid:h,direction:g,dragDropKey:y}){const w=T.useRef(!1),[v,C]=T.useState(!1),[E,$]=T.useState(!1),O=g==="rtl",_=iM(t,n),{tabIndex:R,childTabIndex:k,onFocus:P}=H1(r),L=u==null?void 0:u.findIndex(ke=>ke.columnKey===t.key),F=L!==void 0&&L>-1?u[L]:void 0,q=F==null?void 0:F.direction,Y=F!==void 0&&u.length>1?L+1:void 0,X=q&&!Y?q==="ASC"?"ascending":"descending":void 0,{sortable:ue,resizable:me,draggable:te}=t,be=q1(t,t.headerCellClass,{[Fae]:ue,[Uae]:me,[Bae]:te,[Hae]:v,[Vae]:E});function we(ke){if(ke.pointerType==="mouse"&&ke.buttons!==1)return;ke.preventDefault();const{currentTarget:Ke,pointerId:He}=ke,ut=Ke.parentElement,{right:pt,left:bt}=ut.getBoundingClientRect(),gt=O?ke.clientX-bt:pt-ke.clientX;w.current=!1;function Ut(Tt){const{width:en,right:xn,left:Dt}=ut.getBoundingClientRect();let Pt=O?xn+gt-Tt.clientX:Tt.clientX+gt-Dt;Pt=rM(Pt,t),en>0&&Pt!==en&&i(t,Pt)}function Gt(Tt){w.current||Ut(Tt),Ke.removeEventListener("pointermove",Ut),Ke.removeEventListener("lostpointercapture",Gt)}Ke.setPointerCapture(He),Ke.addEventListener("pointermove",Ut),Ke.addEventListener("lostpointercapture",Gt)}function B(){w.current=!0,i(t,"max-content")}function V(ke){if(l==null)return;const{sortDescendingFirst:Ke}=t;if(F===void 0){const He={columnKey:t.key,direction:Ke?"DESC":"ASC"};l(u&&ke?[...u,He]:[He])}else{let He;if((Ke===!0&&q==="DESC"||Ke!==!0&&q==="ASC")&&(He={columnKey:t.key,direction:q==="ASC"?"DESC":"ASC"}),ke){const ut=[...u];He?ut[L]=He:ut.splice(L,1),l(ut)}else l(He?[He]:[])}}function H(ke){d({idx:t.idx,rowIdx:n}),ue&&V(ke.ctrlKey||ke.metaKey)}function ie(ke){P==null||P(ke),h&&d({idx:0,rowIdx:n})}function G(ke){(ke.key===" "||ke.key==="Enter")&&(ke.preventDefault(),V(ke.ctrlKey||ke.metaKey))}function J(ke){ke.dataTransfer.setData(y,t.key),ke.dataTransfer.dropEffect="move",C(!0)}function he(){C(!1)}function $e(ke){ke.preventDefault(),ke.dataTransfer.dropEffect="move"}function Ce(ke){if($(!1),ke.dataTransfer.types.includes(y.toLowerCase())){const Ke=ke.dataTransfer.getData(y.toLowerCase());Ke!==t.key&&(ke.preventDefault(),o==null||o(Ke,t.key))}}function Be(ke){bP(ke)&&$(!0)}function Ie(ke){bP(ke)&&$(!1)}let tt;return te&&(tt={draggable:!0,onDragStart:J,onDragEnd:he,onDragOver:$e,onDragEnter:Be,onDragLeave:Ie,onDrop:Ce}),N.jsxs("div",{role:"columnheader","aria-colindex":t.idx+1,"aria-colspan":e,"aria-rowspan":_,"aria-selected":r,"aria-sort":X,tabIndex:h?0:R,className:be,style:{...nM(t,n,_),...sy(t,e)},onFocus:ie,onClick:H,onKeyDown:ue?G:void 0,...tt,children:[t.renderHeaderCell({column:t,sortDirection:q,priority:Y,tabIndex:k}),me&&N.jsx("div",{className:jae,onClick:Bie,onPointerDown:we,onDoubleClick:B})]})}function bP(t){const e=t.relatedTarget;return!t.currentTarget.contains(e)}const Wae="r1upfr807-0-0-beta-51",lT=`rdg-row ${Wae}`,Kae="r190mhd37-0-0-beta-51",BS="rdg-row-selected",Yae="r139qu9m7-0-0-beta-51",Qae="rdg-top-summary-row",Jae="rdg-bottom-summary-row",Xae="h10tskcx7-0-0-beta-51",fM=`rdg-header-row ${Xae}`;function Zae({rowIdx:t,columns:e,onColumnResize:n,onColumnsReorder:r,sortColumns:i,onSortColumnsChange:o,lastFrozenColumnIndex:u,selectedCellIdx:l,selectCell:d,shouldFocusGrid:h,direction:g}){const y=T.useId(),w=[];for(let v=0;ve&&d.parent!==void 0;)d=d.parent;if(d.level===e&&!u.has(d)){u.add(d);const{idx:h}=d;o.push(N.jsx(Dae,{column:d,rowIdx:t,isCellSelected:r===h,selectCell:i},h))}}}return N.jsx("div",{role:"row","aria-rowindex":t,className:fM,children:o})}var noe=T.memo(toe);function roe({className:t,rowIdx:e,gridRowStart:n,selectedCellIdx:r,isRowSelectionDisabled:i,isRowSelected:o,copiedCellIdx:u,draggedOverCellIdx:l,lastFrozenColumnIndex:d,row:h,viewportColumns:g,selectedCellEditor:y,onCellClick:w,onCellDoubleClick:v,onCellContextMenu:C,rowClass:E,setDraggedOverRowIdx:$,onMouseEnter:O,onRowChange:_,selectCell:R,...k}){const P=jS().renderCell,L=Qa((X,ue)=>{_(X,e,ue)});function F(X){$==null||$(e),O==null||O(X)}t=_l(lT,`rdg-row-${e%2===0?"even":"odd"}`,{[BS]:r===-1},E==null?void 0:E(h,e),t);const q=[];for(let X=0;X({isRowSelected:o,isRowSelectionDisabled:i}),[i,o]);return N.jsx(uT,{value:Y,children:N.jsx("div",{role:"row",className:t,onMouseEnter:F,style:oT(n),...k,children:q})})}const ioe=T.memo(roe);function aoe(t,e){return N.jsx(ioe,{...e},t)}function ooe({scrollToPosition:{idx:t,rowIdx:e},gridRef:n,setScrollToCellPosition:r}){const i=T.useRef(null);return T.useLayoutEffect(()=>{Sw(i.current)}),T.useLayoutEffect(()=>{function o(){r(null)}const u=new IntersectionObserver(o,{root:n.current,threshold:1});return u.observe(i.current),()=>{u.disconnect()}},[n,r]),N.jsx("div",{ref:i,style:{gridColumn:t===void 0?"1/-1":t+1,gridRow:e===void 0?"1/-1":e+2}})}const soe="a3ejtar7-0-0-beta-51",uoe=`rdg-sort-arrow ${soe}`;function loe({sortDirection:t,priority:e}){return N.jsxs(N.Fragment,{children:[coe({sortDirection:t}),foe({priority:e})]})}function coe({sortDirection:t}){return t===void 0?null:N.jsx("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:uoe,"aria-hidden":!0,children:N.jsx("path",{d:t==="ASC"?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}function foe({priority:t}){return t}const doe="rnvodz57-0-0-beta-51",hoe=`rdg ${doe}`,poe="vlqv91k7-0-0-beta-51",moe=`rdg-viewport-dragging ${poe}`,goe="f1lsfrzw7-0-0-beta-51",yoe="f1cte0lg7-0-0-beta-51",voe="s8wc6fl7-0-0-beta-51";function boe({column:t,colSpan:e,row:n,rowIdx:r,isCellSelected:i,selectCell:o}){var w;const{tabIndex:u,childTabIndex:l,onFocus:d}=H1(i),{summaryCellClass:h}=t,g=q1(t,voe,typeof h=="function"?h(n):h);function y(){o({rowIdx:r,idx:t.idx})}return N.jsx("div",{role:"gridcell","aria-colindex":t.idx+1,"aria-colspan":e,"aria-selected":i,tabIndex:u,className:g,style:sy(t,e),onClick:y,onFocus:d,children:(w=t.renderSummaryCell)==null?void 0:w.call(t,{column:t,row:n,tabIndex:l})})}var woe=T.memo(boe);const Soe="skuhp557-0-0-beta-51",Coe="tf8l5ub7-0-0-beta-51",$oe=`rdg-summary-row ${Soe}`;function Eoe({rowIdx:t,gridRowStart:e,row:n,viewportColumns:r,top:i,bottom:o,lastFrozenColumnIndex:u,selectedCellIdx:l,isTop:d,selectCell:h,"aria-rowindex":g}){const y=[];for(let w=0;wnew Map),[Ge,Qe]=T.useState(()=>new Map),[ht,j]=T.useState(null),[A,M]=T.useState(!1),[Q,re]=T.useState(void 0),[ge,Ee]=T.useState(null),[rt,Wt]=T.useState(!1),[ae,ce]=T.useState(-1),nt=T.useCallback(De=>pe.get(De.key)??Ge.get(De.key)??De.width,[Ge,pe]),[Ht,ln,wt,jr]=wae(),{columns:tn,colSpanColumns:er,lastFrozenColumnIndex:On,headerRowsCount:Fi,colOverscanStartIdx:ca,colOverscanEndIdx:Ar,templateColumns:Fs,layoutCssVars:ro,totalFrozenColumnWidth:Ls}=vae({rawColumns:n,defaultColumnOptions:$,getColumnWidth:nt,scrollLeft:Dt,viewportWidth:ln,enableVirtualization:Gt}),$i=(i==null?void 0:i.length)??0,Xr=(o==null?void 0:o.length)??0,io=$i+Xr,Li=Fi+$i,Wo=Fi-1,In=-Li,Nn=In+Wo,An=r.length+Xr-1,[Ze,Ei]=T.useState(()=>({idx:-1,rowIdx:In-1,mode:"SELECT"})),Us=T.useRef(Q),Ko=T.useRef(null),ao=tt==="treegrid",Br=Fi*Ke,Ta=io*He,xi=wt-Br-Ta,Ui=y!=null&&v!=null,_a=Tt==="rtl",js=_a?"ArrowRight":"ArrowLeft",Mn=_a?"ArrowLeft":"ArrowRight",Qf=$e??Fi+r.length+io,Zp=T.useMemo(()=>({renderCheckbox:gt,renderSortStatus:bt,renderCell:pt}),[gt,bt,pt]),Yo=T.useMemo(()=>{let De=!1,qe=!1;if(u!=null&&y!=null&&y.size>0){for(const We of r)if(y.has(u(We))?De=!0:qe=!0,De&&qe)break}return{isRowSelected:De&&!qe,isIndeterminate:De&&qe}},[r,y,u]),{rowOverscanStartIdx:ji,rowOverscanEndIdx:qr,totalRowHeight:Ll,gridTemplateRows:em,getRowTop:Jf,getRowHeight:fy,findRowIdx:Iu}=Cae({rows:r,rowHeight:ke,clientHeight:xi,scrollTop:en,enableVirtualization:Gt}),Oi=Sae({columns:tn,colSpanColumns:er,colOverscanStartIdx:ca,colOverscanEndIdx:Ar,lastFrozenColumnIndex:On,rowOverscanStartIdx:ji,rowOverscanEndIdx:qr,rows:r,topSummaryRows:i,bottomSummaryRows:o}),{gridTemplateColumns:fa,handleColumnResize:Zr}=bae(tn,Oi,Fs,Ht,ln,pe,Ge,ze,Qe,F),Ul=ao?-1:0,Bs=tn.length-1,oo=Zo(Ze),so=Aa(Ze),Nu=Ke+Ll+Ta+jr,dy=Qa(Zr),ei=Qa(q),jl=Qa(E),Bl=Qa(O),Xf=Qa(_),Qo=Qa(R),ql=Qa(tm),Hl=Qa(Zf),Bi=Qa(Hs),zl=Qa(uo),Vl=Qa(({idx:De,rowIdx:qe})=>{uo({rowIdx:In+qe-1,idx:De})}),Gl=T.useCallback(De=>{re(De),Us.current=De},[]),qs=T.useCallback(()=>{const De=SP(Ht.current);if(De===null)return;Sw(De),(De.querySelector('[tabindex="0"]')??De).focus({preventScroll:!0})},[Ht]);T.useLayoutEffect(()=>{Ko.current!==null&&oo&&Ze.idx===-1&&(Ko.current.focus({preventScroll:!0}),Sw(Ko.current))},[oo,Ze]),T.useLayoutEffect(()=>{rt&&(Wt(!1),qs())},[rt,qs]),T.useImperativeHandle(e,()=>({element:Ht.current,scrollToCell({idx:De,rowIdx:qe}){const We=De!==void 0&&De>On&&De{xn(qe),Pt(tae(We))}),L==null||L(De)}function Hs(De,qe,We){if(typeof l!="function"||We===r[qe])return;const it=[...r];it[qe]=We,l(it,{indexes:[qe],column:De})}function Jo(){Ze.mode==="EDIT"&&Hs(tn[Ze.idx],Ze.rowIdx,Ze.row)}function Xo(){const{idx:De,rowIdx:qe}=Ze,We=r[qe],it=tn[De].key;j({row:We,columnKey:it}),X==null||X({sourceRow:We,sourceColumnKey:it})}function nm(){if(!ue||!l||ht===null||!zs(Ze))return;const{idx:De,rowIdx:qe}=Ze,We=tn[De],it=r[qe],_t=ue({sourceRow:ht.row,sourceColumnKey:ht.columnKey,targetRow:it,targetColumnKey:We.key});Hs(We,qe,_t)}function td(De){if(!so)return;const qe=r[Ze.rowIdx],{key:We,shiftKey:it}=De;if(Ui&&it&&We===" "){Y$(u);const _t=u(qe);Zf({row:qe,checked:!y.has(_t),isShiftClick:!1}),De.preventDefault();return}zs(Ze)&&Hie(De)&&Ei(({idx:_t,rowIdx:cn})=>({idx:_t,rowIdx:cn,mode:"EDIT",row:qe,originalRow:qe}))}function nd(De){return De>=Ul&&De<=Bs}function qi(De){return De>=0&&De=In&&qe<=An&&nd(De)}function ku({idx:De,rowIdx:qe}){return qi(qe)&&De>=0&&De<=Bs}function Aa({idx:De,rowIdx:qe}){return qi(qe)&&nd(De)}function zs(De){return ku(De)&&Wie({columns:tn,rows:r,selectedPosition:De})}function uo(De,qe){if(!Zo(De))return;Jo();const We=CP(Ze,De);if(qe&&zs(De)){const it=r[De.rowIdx];Ei({...De,mode:"EDIT",row:it,originalRow:it})}else We?Sw(SP(Ht.current)):(Wt(!0),Ei({...De,mode:"SELECT"}));P&&!We&&P({rowIdx:De.rowIdx,row:qi(De.rowIdx)?r[De.rowIdx]:void 0,column:tn[De.idx]})}function rm(De,qe,We){const{idx:it,rowIdx:_t}=Ze,cn=oo&&it===-1;switch(De){case"ArrowUp":return{idx:it,rowIdx:_t-1};case"ArrowDown":return{idx:it,rowIdx:_t+1};case js:return{idx:it-1,rowIdx:_t};case Mn:return{idx:it+1,rowIdx:_t};case"Tab":return{idx:it+(We?-1:1),rowIdx:_t};case"Home":return cn?{idx:it,rowIdx:In}:{idx:0,rowIdx:qe?In:_t};case"End":return cn?{idx:it,rowIdx:An}:{idx:Bs,rowIdx:qe?An:_t};case"PageUp":{if(Ze.rowIdx===In)return Ze;const Rn=Jf(_t)+fy(_t)-xi;return{idx:it,rowIdx:Rn>0?Iu(Rn):0}}case"PageDown":{if(Ze.rowIdx>=r.length)return Ze;const Rn=Jf(_t)+xi;return{idx:it,rowIdx:RnDe&&De>=Q)?Ze.idx:void 0}function im(){if(Y==null||Ze.mode==="EDIT"||!Aa(Ze))return;const{idx:De,rowIdx:qe}=Ze,We=tn[De];if(We.renderEditCell==null||We.editable===!1)return;const it=nt(We);return N.jsx(Nae,{gridRowStart:Li+qe+1,rows:r,column:We,columnWidth:it,maxColIdx:Bs,isLastRow:qe===An,selectedPosition:Ze,isCellEditable:zs,latestDraggedOverRowIdx:Us,onRowsChange:l,onClick:qs,onFill:Y,setDragging:M,setDraggedOverRowIdx:Gl})}function Hr(De){if(Ze.rowIdx!==De||Ze.mode==="SELECT")return;const{idx:qe,row:We}=Ze,it=tn[qe],_t=Fo(it,On,{type:"ROW",row:We}),cn=nn=>{Wt(nn),Ei(({idx:hr,rowIdx:Rr})=>({idx:hr,rowIdx:Rr,mode:"SELECT"}))},Rn=(nn,hr,Rr)=>{hr?xu.flushSync(()=>{Hs(it,Ze.rowIdx,nn),cn(Rr)}):Ei(es=>({...es,row:nn}))};return r[Ze.rowIdx]!==Ze.originalRow&&cn(!1),N.jsx(kae,{column:it,colSpan:_t,row:We,rowIdx:De,onRowChange:Rn,closeEditor:cn,onKeyDown:k,navigate:on},it.key)}function Hi(De){const qe=Ze.idx===-1?void 0:tn[Ze.idx];return qe!==void 0&&Ze.rowIdx===De&&!Oi.includes(qe)?Ze.idx>Ar?[...Oi,qe]:[...Oi.slice(0,On+1),qe,...Oi.slice(On+1)]:Oi}function Wl(){const De=[],{idx:qe,rowIdx:We}=Ze,it=so&&Weqr?qr+1:qr;for(let cn=it;cn<=_t;cn++){const Rn=cn===ji-1||cn===qr+1,nn=Rn?We:cn;let hr=Oi;const Rr=qe===-1?void 0:tn[qe];Rr!==void 0&&(Rn?hr=[Rr]:hr=Hi(nn));const es=r[nn],am=Li+nn+1;let Kl=nn,Yl=!1;typeof u=="function"&&(Kl=u(es),Yl=(y==null?void 0:y.has(Kl))??!1),De.push(ut(Kl,{"aria-rowindex":Li+nn+1,"aria-selected":Ui?Yl:void 0,rowIdx:nn,row:es,viewportColumns:hr,isRowSelectionDisabled:(w==null?void 0:w(es))??!1,isRowSelected:Yl,onCellClick:Bl,onCellDoubleClick:Xf,onCellContextMenu:Qo,rowClass:B,gridRowStart:am,copiedCellIdx:ht!==null&&ht.row===es?tn.findIndex(zr=>zr.key===ht.columnKey):void 0,selectedCellIdx:We===nn?qe:void 0,draggedOverCellIdx:sn(nn),setDraggedOverRowIdx:A?Gl:void 0,lastFrozenColumnIndex:On,onRowChange:Bi,selectCell:zl,selectedCellEditor:Hr(nn)}))}return De}(Ze.idx>Bs||Ze.rowIdx>An)&&(Ei({idx:-1,rowIdx:In-1,mode:"SELECT"}),Gl(void 0));let lo=`repeat(${Fi}, ${Ke}px)`;$i>0&&(lo+=` repeat(${$i}, ${He}px)`),r.length>0&&(lo+=em),Xr>0&&(lo+=` repeat(${Xr}, ${He}px)`);const rd=Ze.idx===-1&&Ze.rowIdx!==In-1;return N.jsxs("div",{role:tt,"aria-label":ie,"aria-labelledby":G,"aria-description":J,"aria-describedby":he,"aria-multiselectable":Ui?!0:void 0,"aria-colcount":tn.length,"aria-rowcount":Qf,className:_l(hoe,{[moe]:A},be),style:{...we,scrollPaddingInlineStart:Ze.idx>On||(ge==null?void 0:ge.idx)!==void 0?`${Ls}px`:void 0,scrollPaddingBlock:qi(Ze.rowIdx)||(ge==null?void 0:ge.rowIdx)!==void 0?`${Br+$i*He}px ${Xr*He}px`:void 0,gridTemplateColumns:fa,gridTemplateRows:lo,"--rdg-header-row-height":`${Ke}px`,"--rdg-scroll-height":`${Nu}px`,...ro},dir:Tt,ref:Ht,onScroll:ed,onKeyDown:Mu,"data-testid":Ce,"data-cy":Be,children:[N.jsxs(aM,{value:Zp,children:[N.jsx(lM,{value:ql,children:N.jsxs(uM,{value:Yo,children:[Array.from({length:Wo},(De,qe)=>N.jsx(noe,{rowIdx:qe+1,level:-Wo+qe,columns:Hi(In+qe),selectedCellIdx:Ze.rowIdx===In+qe?Ze.idx:void 0,selectCell:Vl},qe)),N.jsx(eoe,{rowIdx:Fi,columns:Hi(Nn),onColumnResize:dy,onColumnsReorder:ei,sortColumns:C,onSortColumnsChange:jl,lastFrozenColumnIndex:On,selectedCellIdx:Ze.rowIdx===Nn?Ze.idx:void 0,selectCell:Vl,shouldFocusGrid:!oo,direction:Tt})]})}),r.length===0&&Ut?Ut:N.jsxs(N.Fragment,{children:[i==null?void 0:i.map((De,qe)=>{const We=Fi+1+qe,it=Nn+1+qe,_t=Ze.rowIdx===it,cn=Br+He*qe;return N.jsx(wP,{"aria-rowindex":We,rowIdx:it,gridRowStart:We,row:De,top:cn,bottom:void 0,viewportColumns:Hi(it),lastFrozenColumnIndex:On,selectedCellIdx:_t?Ze.idx:void 0,isTop:!0,selectCell:zl},qe)}),N.jsx(oM,{value:Hl,children:Wl()}),o==null?void 0:o.map((De,qe)=>{const We=Li+r.length+qe+1,it=r.length+qe,_t=Ze.rowIdx===it,cn=xi>Ll?wt-He*(o.length-qe):void 0,Rn=cn===void 0?He*(o.length-1-qe):void 0;return N.jsx(wP,{"aria-rowindex":Qf-Xr+qe+1,rowIdx:it,gridRowStart:We,row:De,top:cn,bottom:Rn,viewportColumns:Hi(it),lastFrozenColumnIndex:On,selectedCellIdx:_t?Ze.idx:void 0,isTop:!1,selectCell:zl},qe)})]})]}),im(),Gie(Oi),ao&&N.jsx("div",{ref:Ko,tabIndex:rd?0:-1,className:_l(goe,{[yoe]:!qi(Ze.rowIdx),[Kae]:rd,[Yae]:rd&&On!==-1}),style:{gridRowStart:Ze.rowIdx+Li+1}}),ge!==null&&N.jsx(ooe,{scrollToPosition:ge,setScrollToCellPosition:Ee,gridRef:Ht})]})}function SP(t){return t.querySelector(':scope > [role="row"] > [tabindex="0"]')}function CP(t,e){return t.idx===e.idx&&t.rowIdx===e.rowIdx}function Ooe({id:t,groupKey:e,childRows:n,isExpanded:r,isCellSelected:i,column:o,row:u,groupColumnIndex:l,isGroupByColumn:d,toggleGroup:h}){var E;const{tabIndex:g,childTabIndex:y,onFocus:w}=H1(i);function v(){h(t)}const C=d&&l===o.idx;return N.jsx("div",{role:"gridcell","aria-colindex":o.idx+1,"aria-selected":i,tabIndex:g,className:q1(o),style:{...sy(o),cursor:C?"pointer":"default"},onClick:C?v:void 0,onFocus:w,children:(!d||C)&&((E=o.renderGroupCell)==null?void 0:E.call(o,{groupKey:e,childRows:n,column:o,row:u,isExpanded:r,tabIndex:y,toggleGroup:v}))},o.key)}var Toe=T.memo(Ooe);const _oe="g1yxluv37-0-0-beta-51",Aoe=`rdg-group-row ${_oe}`;function Roe({className:t,row:e,rowIdx:n,viewportColumns:r,selectedCellIdx:i,isRowSelected:o,selectCell:u,gridRowStart:l,groupBy:d,toggleGroup:h,isRowSelectionDisabled:g,...y}){const w=r[0].key===aS?e.level+1:e.level;function v(){u({rowIdx:n,idx:-1})}const C=T.useMemo(()=>({isRowSelectionDisabled:!1,isRowSelected:o}),[o]);return N.jsx(uT,{value:C,children:N.jsx("div",{role:"row","aria-level":e.level+1,"aria-setsize":e.setSize,"aria-posinset":e.posInSet+1,"aria-expanded":e.isExpanded,className:_l(lT,Aoe,`rdg-row-${n%2===0?"even":"odd"}`,i===-1&&BS,t),onClick:v,style:oT(l),...y,children:r.map(E=>N.jsx(Toe,{id:e.id,groupKey:e.groupKey,childRows:e.childRows,isExpanded:e.isExpanded,isCellSelected:i===E.idx,column:E,row:e,groupColumnIndex:w,toggleGroup:h,isGroupByColumn:d.includes(E.key)},E.key))})})}T.memo(Roe);const Poe=Ae.createContext({sidebarVisible:!1,threshold:"desktop",routers:[{id:"url-router"}],toggleSidebar(){},setSidebarRef(t){},persistSidebarSize(t){},setFocusedRouter(t){},closeCurrentRouter(){},sidebarItemSelected(){},collapseLeftPanel(){},addRouter(){},updateSidebarSize(){},hide(){},show(){}});function Ioe(){return T.useContext(Poe)}const Noe=({value:t})=>{const{addRouter:e}=Ioe(),n=r=>{r.stopPropagation(),e(t)};return N.jsx("div",{className:"table-btn table-open-in-new-router",onClick:n,children:N.jsx(Moe,{})})},Moe=({size:t=16,color:e="silver",style:n={}})=>N.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{cursor:"pointer",...n},children:N.jsx("path",{d:"M9 3H5C3.895 3 3 3.895 3 5v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2v-4h-2v4H5V5h4V3ZM21 3h-6v2h3.586l-9.293 9.293 1.414 1.414L20 6.414V10h2V3Z",fill:e})});/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const koe=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Doe=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),$P=t=>{const e=Doe(t);return e.charAt(0).toUpperCase()+e.slice(1)},dM=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Foe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Loe=T.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:u,...l},d)=>T.createElement("svg",{ref:d,...Foe,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:dM("lucide",i),...l},[...u.map(([h,g])=>T.createElement(h,g)),...Array.isArray(o)?o:[o]]));/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cT=(t,e)=>{const n=T.forwardRef(({className:r,...i},o)=>T.createElement(Loe,{ref:o,iconNode:e,className:dM(`lucide-${koe($P(t))}`,`lucide-${t}`,r),...i}));return n.displayName=$P(t),n};/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Uoe=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],joe=cT("arrow-down-a-z",Uoe);/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Boe=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],qoe=cT("arrow-down-wide-narrow",Boe);/** + * @license lucide-react v0.484.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Hoe=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],zoe=cT("arrow-down-z-a",Hoe);function Voe({tabIndex:t,column:e,filterType:n,sortable:r,filterable:i,selectable:o,udf:u}){var w;const l=(w=u.filters.sorting)==null?void 0:w.find(v=>v.columnName===e.key),[d,h]=T.useState("");T.useEffect(()=>{d!==Sr.get(u.filters,e.key)&&h(Sr.get(u.filters,e.key))},[u.filters]);let g;(l==null?void 0:l.columnName)===e.key&&(l==null?void 0:l.direction)=="asc"&&(g="asc"),(l==null?void 0:l.columnName)===e.key&&(l==null?void 0:l.direction)=="desc"&&(g="desc");const y=()=>{l?((l==null?void 0:l.direction)==="desc"&&u.setSorting(u.filters.sorting.filter(v=>v.columnName!==e.key)),(l==null?void 0:l.direction)==="asc"&&u.setSorting(u.filters.sorting.map(v=>v.columnName===e.key?{...v,direction:"desc"}:v))):u.setSorting([...u.filters.sorting,{columnName:e.key.toString(),direction:"asc"}])};return N.jsxs(N.Fragment,{children:[r?N.jsx("span",{className:"data-table-sort-actions",children:N.jsxs("button",{className:`active-sort-col ${e.key==(l==null?void 0:l.columnName)?"active":""}`,onClick:y,children:[g=="asc"?N.jsx(joe,{className:"sort-icon"}):null,g=="desc"?N.jsx(zoe,{className:"sort-icon"}):null,g===void 0?N.jsx(qoe,{className:"sort-icon"}):null]})}):null,i?N.jsx(N.Fragment,{children:n==="date"?N.jsx("input",{className:"data-table-filter-input",tabIndex:t,value:d,onChange:v=>{h(v.target.value),u.setFilter({[e.key]:v.target.value})},placeholder:e.name||"",type:"date"}):N.jsx("input",{className:"data-table-filter-input",tabIndex:t,value:d,onChange:v=>{h(v.target.value),u.setFilter({[e.key]:v.target.value})},placeholder:e.name||""})}):N.jsx("span",{children:e.name})]})}function Goe(t,e){const n=t.split("/").filter(Boolean);return e.split("/").forEach(i=>{i===".."?n.pop():i!=="."&&i!==""&&n.push(i)}),"/"+n.join("/")}const Woe=(t,e,n,r=[],i,o)=>t.map(u=>{const l=r.find(d=>d.columnName===u.name);return{...u,key:u.name,renderCell:({column:d,row:h})=>{if(d.key==="uniqueId"){let g=i?i(h.uniqueId):"";return g.startsWith(".")&&(g=Goe(o,g)),N.jsxs("div",{style:{position:"relative"},children:[N.jsx($S,{href:i&&i(h.uniqueId),children:h.uniqueId}),N.jsxs("div",{className:"cell-actions",children:[N.jsx(M7,{value:h.uniqueId}),N.jsx(Noe,{value:g})]})]})}return d.getCellValue?N.jsx(N.Fragment,{children:d.getCellValue(h)}):N.jsx("span",{children:Sr.get(h,d.key)})},width:l?l.width:u.width,name:u.title,resizable:!0,sortable:u.sortable,renderHeaderCell:d=>N.jsx(Voe,{...d,selectable:!0,sortable:u.sortable,filterable:u.filterable,filterType:u.filterType,udf:n})}});function Koe(t){const e=T.useRef();let[n,r]=T.useState([]);const i=T.useRef({});return{reindex:(u,l,d)=>{if(l===e.current){const h=u.filter(g=>i.current[g.uniqueId]?!1:(i.current[g.uniqueId]=!0,!0));r([...n,...h].filter(Boolean))}else r([...u].filter(Boolean)),d==null||d();e.current=l},indexedData:n}}function Yoe({columns:t,query:e,columnSizes:n,onColumnWidthsChange:r,udf:i,tableClass:o,uniqueIdHrefHandler:u}){var P,L;vn();const{pathname:l}=kl(),{filters:d,setSorting:h,setStartIndex:g,selection:y,setSelection:w,setPageSize:v,onFiltersChange:C}=i,E=T.useMemo(()=>[cae,...Woe(t,(F,q)=>{i.setFilter({[F]:q})},i,n,u,l)],[t,n]),{indexedData:$,reindex:O}=Koe(),_=T.useRef();T.useEffect(()=>{var q,Y;const F=((Y=(q=e.data)==null?void 0:q.data)==null?void 0:Y.items)||[];O(F,i.queryHash,()=>{_.current.element.scrollTo({top:0,left:0})})},[(L=(P=e.data)==null?void 0:P.data)==null?void 0:L.items]);async function R(F){e.isLoading||!Qoe(F)||g($.length)}const k=Sr.debounce((F,q)=>{const Y=E.map(X=>({columnName:X.key,width:X.name===F.name?q:X.width}));r(Y)},300);return N.jsx(N.Fragment,{children:N.jsx(xoe,{className:o,columns:E,onScroll:R,onColumnResize:k,onSelectedRowsChange:F=>{w(Array.from(F))},selectedRows:new Set(y),ref:_,rows:$,rowKeyGetter:F=>F.uniqueId,style:{height:"calc(100% - 2px)",margin:"1px -14px"}})})}function Qoe({currentTarget:t}){return t.scrollTop+300>=t.scrollHeight-t.clientHeight}function Joe(t){const e={};for(let n of t||[])n&&n.columnName&&Sr.set(e,n.columnName,{operation:n.operation,value:n.value});return e}let Uo;typeof window<"u"?Uo=window:typeof self<"u"?Uo=self:Uo=global;let Ix=null,Nx=null;const EP=20,Q$=Uo.clearTimeout,xP=Uo.setTimeout,J$=Uo.cancelAnimationFrame||Uo.mozCancelAnimationFrame||Uo.webkitCancelAnimationFrame,OP=Uo.requestAnimationFrame||Uo.mozRequestAnimationFrame||Uo.webkitRequestAnimationFrame;J$==null||OP==null?(Ix=Q$,Nx=function(e){return xP(e,EP)}):(Ix=function([e,n]){J$(e),Q$(n)},Nx=function(e){const n=OP(function(){Q$(r),e()}),r=xP(function(){J$(n),e()},EP);return[n,r]});function Xoe(t){let e,n,r,i,o,u,l;const d=typeof document<"u"&&document.attachEvent;if(!d){u=function(O){const _=O.__resizeTriggers__,R=_.firstElementChild,k=_.lastElementChild,P=R.firstElementChild;k.scrollLeft=k.scrollWidth,k.scrollTop=k.scrollHeight,P.style.width=R.offsetWidth+1+"px",P.style.height=R.offsetHeight+1+"px",R.scrollLeft=R.scrollWidth,R.scrollTop=R.scrollHeight},o=function(O){return O.offsetWidth!==O.__resizeLast__.width||O.offsetHeight!==O.__resizeLast__.height},l=function(O){if(O.target.className&&typeof O.target.className.indexOf=="function"&&O.target.className.indexOf("contract-trigger")<0&&O.target.className.indexOf("expand-trigger")<0)return;const _=this;u(this),this.__resizeRAF__&&Ix(this.__resizeRAF__),this.__resizeRAF__=Nx(function(){o(_)&&(_.__resizeLast__.width=_.offsetWidth,_.__resizeLast__.height=_.offsetHeight,_.__resizeListeners__.forEach(function(P){P.call(_,O)}))})};let w=!1,v="";r="animationstart";const C="Webkit Moz O ms".split(" ");let E="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),$="";{const O=document.createElement("fakeelement");if(O.style.animationName!==void 0&&(w=!0),w===!1){for(let _=0;_ div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',C=w.head||w.getElementsByTagName("head")[0],E=w.createElement("style");E.id="detectElementResize",E.type="text/css",t!=null&&E.setAttribute("nonce",t),E.styleSheet?E.styleSheet.cssText=v:E.appendChild(w.createTextNode(v)),C.appendChild(E)}};return{addResizeListener:function(w,v){if(d)w.attachEvent("onresize",v);else{if(!w.__resizeTriggers__){const C=w.ownerDocument,E=Uo.getComputedStyle(w);E&&E.position==="static"&&(w.style.position="relative"),h(C),w.__resizeLast__={},w.__resizeListeners__=[],(w.__resizeTriggers__=C.createElement("div")).className="resize-triggers";const $=C.createElement("div");$.className="expand-trigger",$.appendChild(C.createElement("div"));const O=C.createElement("div");O.className="contract-trigger",w.__resizeTriggers__.appendChild($),w.__resizeTriggers__.appendChild(O),w.appendChild(w.__resizeTriggers__),u(w),w.addEventListener("scroll",l,!0),r&&(w.__resizeTriggers__.__animationListener__=function(R){R.animationName===n&&u(w)},w.__resizeTriggers__.addEventListener(r,w.__resizeTriggers__.__animationListener__))}w.__resizeListeners__.push(v)}},removeResizeListener:function(w,v){if(d)w.detachEvent("onresize",v);else if(w.__resizeListeners__.splice(w.__resizeListeners__.indexOf(v),1),!w.__resizeListeners__.length){w.removeEventListener("scroll",l,!0),w.__resizeTriggers__.__animationListener__&&(w.__resizeTriggers__.removeEventListener(r,w.__resizeTriggers__.__animationListener__),w.__resizeTriggers__.__animationListener__=null);try{w.__resizeTriggers__=!w.removeChild(w.__resizeTriggers__)}catch{}}}}}class Zoe extends T.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:r,onResize:i}=this.props;if(this._parentNode){const o=window.getComputedStyle(this._parentNode)||{},u=parseFloat(o.paddingLeft||"0"),l=parseFloat(o.paddingRight||"0"),d=parseFloat(o.paddingTop||"0"),h=parseFloat(o.paddingBottom||"0"),g=this._parentNode.getBoundingClientRect(),y=g.height-d-h,w=g.width-u-l,v=this._parentNode.offsetHeight-d-h,C=this._parentNode.offsetWidth-u-l;(!n&&(this.state.height!==v||this.state.scaledHeight!==y)||!r&&(this.state.width!==C||this.state.scaledWidth!==w))&&(this.setState({height:v,width:C,scaledHeight:y,scaledWidth:w}),typeof i=="function"&&i({height:v,scaledHeight:y,scaledWidth:w,width:C}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:e}=this.props,n=this._autoSizer?this._autoSizer.parentNode:null;if(n!=null&&n.ownerDocument&&n.ownerDocument.defaultView&&n instanceof n.ownerDocument.defaultView.HTMLElement){this._parentNode=n;const r=n.ownerDocument.defaultView.ResizeObserver;r!=null?(this._resizeObserver=new r(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(n)):(this._detectElementResize=Xoe(e),this._detectElementResize.addResizeListener(n,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:i=!1,disableWidth:o=!1,doNotBailOutOnEmptyChildren:u=!1,nonce:l,onResize:d,style:h={},tagName:g="div",...y}=this.props,{height:w,scaledHeight:v,scaledWidth:C,width:E}=this.state,$={overflow:"visible"},O={};let _=!1;return i||(w===0&&(_=!0),$.height=0,O.height=w,O.scaledHeight=v),o||(E===0&&(_=!0),$.width=0,O.width=E,O.scaledWidth=C),u&&(_=!1),T.createElement(g,{ref:this._setRef,style:{...$,...h},...y},!_&&e(O))}}function ese(t){var e=t.lastRenderedStartIndex,n=t.lastRenderedStopIndex,r=t.startIndex,i=t.stopIndex;return!(r>n||i0;){var v=u[0]-1;if(!e(v))u[0]=v;else break}return u}var nse=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},rse=(function(){function t(e,n){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,i){var o=this.props,u=o.isItemLoaded,l=o.itemCount,d=o.minimumBatchSize,h=d===void 0?10:d,g=o.threshold,y=g===void 0?15:g,w=tse({isItemLoaded:u,itemCount:l,minimumBatchSize:h,startIndex:Math.max(0,r-y),stopIndex:Math.min(l-1,i+y)});(this._memoizedUnloadedRanges.length!==w.length||this._memoizedUnloadedRanges.some(function(v,C){return w[C]!==v}))&&(this._memoizedUnloadedRanges=w,this._loadUnloadedRanges(w))}},{key:"_loadUnloadedRanges",value:function(r){for(var i=this,o=this.props.loadMoreItems||this.props.loadMoreRows,u=function(h){var g=r[h],y=r[h+1],w=o(g,y);w!=null&&w.then(function(){if(ese({lastRenderedStartIndex:i._lastRenderedStartIndex,lastRenderedStopIndex:i._lastRenderedStopIndex,startIndex:g,stopIndex:y})){if(i._listRef==null)return;typeof i._listRef.resetAfterIndex=="function"?i._listRef.resetAfterIndex(g,!0):(typeof i._listRef._getItemStyleCache=="function"&&i._listRef._getItemStyleCache(-1),i._listRef.forceUpdate())}})},l=0;l0;throw new Error("unsupported direction")}function hM(t,e){return sse(t,e)?!0:t===document.body&&getComputedStyle(document.body).overflowY==="hidden"||t.parentElement==null?!1:hM(t.parentElement,e)}class use extends T.Component{containerRef(e){this.container=e}pullDownRef(e){this.pullDown=e;const n=this.pullDown&&this.pullDown.firstChild&&this.pullDown.firstChild.getBoundingClientRect?this.pullDown.firstChild.getBoundingClientRect().height:0;this.setState({maxPullDownDistance:n})}constructor(e){super(e),this.container=void 0,this.pullDown=void 0,this.dragging=!1,this.startY=0,this.currentY=0,this.state={pullToRefreshThresholdBreached:!1,maxPullDownDistance:0,onRefreshing:!1},this.containerRef=this.containerRef.bind(this),this.pullDownRef=this.pullDownRef.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onEnd=this.onEnd.bind(this)}componentDidMount(){this.container&&(this.container.addEventListener("touchstart",this.onTouchStart),this.container.addEventListener("touchmove",this.onTouchMove),this.container.addEventListener("touchend",this.onEnd),this.container.addEventListener("mousedown",this.onTouchStart),this.container.addEventListener("mousemove",this.onTouchMove),this.container.addEventListener("mouseup",this.onEnd))}componentWillUnmount(){this.container&&(this.container.removeEventListener("touchstart",this.onTouchStart),this.container.removeEventListener("touchmove",this.onTouchMove),this.container.removeEventListener("touchend",this.onEnd),this.container.removeEventListener("mousedown",this.onTouchStart),this.container.removeEventListener("mousemove",this.onTouchMove),this.container.removeEventListener("mouseup",this.onEnd))}onTouchStart(e){const{triggerHeight:n=40}=this.props;if(this.startY=e.pageY||e.touches[0].pageY,this.currentY=this.startY,n==="auto"){const r=e.target,i=this.container;if(!i||e.type==="touchstart"&&hM(r,Mx.up)||i.getBoundingClientRect().top<0)return}else{const r=this.container.getBoundingClientRect().top||this.container.getBoundingClientRect().y||0;if(this.startY-r>n)return}this.dragging=!0,this.container.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)",this.pullDown.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"}onTouchMove(e){this.dragging&&(this.currentY=e.pageY||e.touches[0].pageY,!(this.currentY=this.props.pullDownThreshold&&this.setState({pullToRefreshThresholdBreached:!0}),!(this.currentY-this.startY>this.state.maxPullDownDistance)&&(this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.currentY-this.startY}px)`,this.pullDown.style.visibility="visible")))}onEnd(){if(this.dragging=!1,this.startY=0,this.currentY=0,!this.state.pullToRefreshThresholdBreached){this.pullDown.style.visibility=this.props.startInvisible?"hidden":"visible",this.initContainer();return}this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.props.pullDownThreshold}px)`,this.setState({onRefreshing:!0},()=>{this.props.onRefresh().then(()=>{this.initContainer(),setTimeout(()=>{this.setState({onRefreshing:!1,pullToRefreshThresholdBreached:!1})},200)})})}initContainer(){requestAnimationFrame(()=>{this.container&&(this.container.style.overflow="auto",this.container.style.transform="none")})}renderPullDownContent(){const{releaseContent:e,pullDownContent:n,refreshContent:r,startInvisible:i}=this.props,{onRefreshing:o,pullToRefreshThresholdBreached:u}=this.state,l=o?r:u?e:n,d={position:"absolute",overflow:"hidden",left:0,right:0,top:0,visibility:i?"hidden":"visible"};return N.jsx("div",{id:"ptr-pull-down",style:d,ref:this.pullDownRef,children:l})}render(){const{backgroundColor:e}=this.props,n={height:"auto",overflow:"hidden",margin:"0 -10px",padding:"0 10px",WebkitOverflowScrolling:"touch",position:"relative",zIndex:1};return this.props.containerStyle&&Object.keys(this.props.containerStyle).forEach(r=>{n[r]=this.props.containerStyle[r]}),e&&(n.backgroundColor=e),N.jsxs("div",{id:"ptr-parent",style:n,children:[this.renderPullDownContent(),N.jsx("div",{id:"ptr-container",ref:this.containerRef,style:n,children:this.props.children})]})}}const lse=({height:t="200px",background:e="none"})=>N.jsxs("div",{id:"container",children:[N.jsxs("div",{className:"sk-fading-circle",children:[N.jsx("div",{className:"sk-circle1 sk-circle"}),N.jsx("div",{className:"sk-circle2 sk-circle"}),N.jsx("div",{className:"sk-circle3 sk-circle"}),N.jsx("div",{className:"sk-circle4 sk-circle"}),N.jsx("div",{className:"sk-circle5 sk-circle"}),N.jsx("div",{className:"sk-circle6 sk-circle"}),N.jsx("div",{className:"sk-circle7 sk-circle"}),N.jsx("div",{className:"sk-circle8 sk-circle"}),N.jsx("div",{className:"sk-circle9 sk-circle"}),N.jsx("div",{className:"sk-circle10 sk-circle"}),N.jsx("div",{className:"sk-circle11 sk-circle"}),N.jsx("div",{className:"sk-circle12 sk-circle"})]}),N.jsx("style",{children:` + #container { + display: flex; + flex-direction: column; + justify-content: center; + background: ${e}; + height: ${t}; + } + .sk-fading-circle { + width: 40px; + height: 40px; + position: relative; + margin: auto; + } + .sk-fading-circle .sk-circle { + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + } + .sk-fading-circle .sk-circle:before { + content: ''; + display: block; + margin: 0 auto; + width: 15%; + height: 15%; + background-color: #333; + border-radius: 100%; + -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both; + animation: sk-circleFadeDelay 1.2s infinite ease-in-out both; + } + .sk-fading-circle .sk-circle2 { + -webkit-transform: rotate(30deg); + -ms-transform: rotate(30deg); + transform: rotate(30deg); + } + .sk-fading-circle .sk-circle3 { + -webkit-transform: rotate(60deg); + -ms-transform: rotate(60deg); + transform: rotate(60deg); + } + .sk-fading-circle .sk-circle4 { + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); + } + .sk-fading-circle .sk-circle5 { + -webkit-transform: rotate(120deg); + -ms-transform: rotate(120deg); + transform: rotate(120deg); + } + .sk-fading-circle .sk-circle6 { + -webkit-transform: rotate(150deg); + -ms-transform: rotate(150deg); + transform: rotate(150deg); + } + .sk-fading-circle .sk-circle7 { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + } + .sk-fading-circle .sk-circle8 { + -webkit-transform: rotate(210deg); + -ms-transform: rotate(210deg); + transform: rotate(210deg); + } + .sk-fading-circle .sk-circle9 { + -webkit-transform: rotate(240deg); + -ms-transform: rotate(240deg); + transform: rotate(240deg); + } + .sk-fading-circle .sk-circle10 { + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); + } + .sk-fading-circle .sk-circle11 { + -webkit-transform: rotate(300deg); + -ms-transform: rotate(300deg); + transform: rotate(300deg); + } + .sk-fading-circle .sk-circle12 { + -webkit-transform: rotate(330deg); + -ms-transform: rotate(330deg); + transform: rotate(330deg); + } + .sk-fading-circle .sk-circle2:before { + -webkit-animation-delay: -1.1s; + animation-delay: -1.1s; + } + .sk-fading-circle .sk-circle3:before { + -webkit-animation-delay: -1s; + animation-delay: -1s; + } + .sk-fading-circle .sk-circle4:before { + -webkit-animation-delay: -0.9s; + animation-delay: -0.9s; + } + .sk-fading-circle .sk-circle5:before { + -webkit-animation-delay: -0.8s; + animation-delay: -0.8s; + } + .sk-fading-circle .sk-circle6:before { + -webkit-animation-delay: -0.7s; + animation-delay: -0.7s; + } + .sk-fading-circle .sk-circle7:before { + -webkit-animation-delay: -0.6s; + animation-delay: -0.6s; + } + .sk-fading-circle .sk-circle8:before { + -webkit-animation-delay: -0.5s; + animation-delay: -0.5s; + } + .sk-fading-circle .sk-circle9:before { + -webkit-animation-delay: -0.4s; + animation-delay: -0.4s; + } + .sk-fading-circle .sk-circle10:before { + -webkit-animation-delay: -0.3s; + animation-delay: -0.3s; + } + .sk-fading-circle .sk-circle11:before { + -webkit-animation-delay: -0.2s; + animation-delay: -0.2s; + } + .sk-fading-circle .sk-circle12:before { + -webkit-animation-delay: -0.1s; + animation-delay: -0.1s; + } + @-webkit-keyframes sk-circleFadeDelay { + 0%, 39%, 100% { + opacity: 0; + } + 40% { + opacity: 1; + } + } + @keyframes sk-circleFadeDelay { + 0%, 39%, 100% { + opacity: 0; + } + 40% { + opacity: 1; + } + } + `})]}),cse=({height:t="200px",background:e="none",label:n="Pull down to refresh"})=>N.jsxs("div",{id:"container2",children:[N.jsx("span",{children:n}),N.jsx("style",{children:` + #container2 { + background: ${e}; + height: ${t}; + text-align: center; + } + #arrow { + margin: 10px auto; + border-left: 15px solid transparent; + border-right: 15px solid transparent; + border-top: 15px solid #666666; + height: 0; + width: 0; + -webkit-animation: fadein 1.5s infinite; + animation: fadein 1.5s infinite; + } + @keyframes fadein { + 0%, 100% { + opacity: 0; + } + 45%, 55% { + opacity: 1; + } + } + `})]}),fse=({height:t="200px",background:e="none",label:n="Release to refresh"})=>N.jsxs("div",{id:"container",children:[N.jsx("div",{id:"arrow"}),N.jsx("span",{children:n}),N.jsx("style",{children:` + #container { + background: ${e||"none"}; + height: ${t||"200px"}; + text-align: center; + } + #arrow { + margin: 10px auto; + border-left: 15px solid transparent; + border-right: 15px solid transparent; + border-bottom: 15px solid #666666; + height: 0; + width: 0; + + -webkit-animation: fadein 1.5s infinite; + animation: fadein 1.5s infinite; + } + @keyframes fadein { + 0%, 100% { + opacity: 0; + } + 45%, 55% { + opacity: 1; + } + } + `})]});function pM({content:t,columns:e,uniqueIdHrefHandler:n,style:r}){const i=n?$S:"span";return N.jsx(i,{className:"auto-card-list-item card mb-2 p-3",style:r,href:n(t.uniqueId),children:e.map(o=>{let u=o.getCellValue?o.getCellValue(t):"";return u||(u=o.name?t[o.name]:""),u||(u="-"),o.name==="uniqueId"?null:N.jsxs("div",{className:"row auto-card-drawer",children:[N.jsxs("div",{className:"col-6",children:[o.title,":"]}),N.jsx("div",{className:"col-6",children:u})]},o.title)})})}const dse=()=>{const t=vn();return N.jsxs("div",{className:"empty-list-indicator",children:[N.jsx("img",{src:DO("/common/empty.png")}),N.jsx("div",{children:t.table.noRecords})]})};var _P=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function hse(t,e){return!!(t===e||_P(t)&&_P(e))}function pse(t,e){if(t.length!==e.length)return!1;for(var n=0;n=e?t.call(null):i.id=requestAnimationFrame(r)}var i={id:requestAnimationFrame(r)};return i}var Z$=-1;function PP(t){if(t===void 0&&(t=!1),Z$===-1||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(e),Z$=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return Z$}var $g=null;function IP(t){if(t===void 0&&(t=!1),$g===null||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?$g="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?$g="negative":$g="positive-ascending"),document.body.removeChild(e),$g}return $g}var yse=150,vse=function(e,n){return e};function bse(t){var e,n=t.getItemOffset,r=t.getEstimatedTotalSize,i=t.getItemSize,o=t.getOffsetForIndexAndAlignment,u=t.getStartIndexForOffset,l=t.getStopIndexForStartIndex,d=t.initInstanceProps,h=t.shouldResetStyleCacheOnItemSizeChange,g=t.validateProps;return e=(function(y){zp(w,y);function w(C){var E;return E=y.call(this,C)||this,E._instanceProps=d(E.props,yx(E)),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:yx(E),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=X$(function($,O,_,R){return E.props.onItemsRendered({overscanStartIndex:$,overscanStopIndex:O,visibleStartIndex:_,visibleStopIndex:R})}),E._callOnScroll=void 0,E._callOnScroll=X$(function($,O,_){return E.props.onScroll({scrollDirection:$,scrollOffset:O,scrollUpdateWasRequested:_})}),E._getItemStyle=void 0,E._getItemStyle=function($){var O=E.props,_=O.direction,R=O.itemSize,k=O.layout,P=E._getItemStyleCache(h&&R,h&&k,h&&_),L;if(P.hasOwnProperty($))L=P[$];else{var F=n(E.props,$,E._instanceProps),q=i(E.props,$,E._instanceProps),Y=_==="horizontal"||k==="horizontal",X=_==="rtl",ue=Y?F:0;P[$]=L={position:"absolute",left:X?void 0:ue,right:X?ue:void 0,top:Y?0:F,height:Y?"100%":q,width:Y?q:"100%"}}return L},E._getItemStyleCache=void 0,E._getItemStyleCache=X$(function($,O,_){return{}}),E._onScrollHorizontal=function($){var O=$.currentTarget,_=O.clientWidth,R=O.scrollLeft,k=O.scrollWidth;E.setState(function(P){if(P.scrollOffset===R)return null;var L=E.props.direction,F=R;if(L==="rtl")switch(IP()){case"negative":F=-R;break;case"positive-descending":F=k-_-R;break}return F=Math.max(0,Math.min(F,k-_)),{isScrolling:!0,scrollDirection:P.scrollOffsetL.clientWidth?PP():0:P=L.scrollHeight>L.clientHeight?PP():0}this.scrollTo(o(this.props,E,$,k,this._instanceProps,P))},v.componentDidMount=function(){var E=this.props,$=E.direction,O=E.initialScrollOffset,_=E.layout;if(typeof O=="number"&&this._outerRef!=null){var R=this._outerRef;$==="horizontal"||_==="horizontal"?R.scrollLeft=O:R.scrollTop=O}this._callPropsCallbacks()},v.componentDidUpdate=function(){var E=this.props,$=E.direction,O=E.layout,_=this.state,R=_.scrollOffset,k=_.scrollUpdateWasRequested;if(k&&this._outerRef!=null){var P=this._outerRef;if($==="horizontal"||O==="horizontal")if($==="rtl")switch(IP()){case"negative":P.scrollLeft=-R;break;case"positive-ascending":P.scrollLeft=R;break;default:var L=P.clientWidth,F=P.scrollWidth;P.scrollLeft=F-L-R;break}else P.scrollLeft=R;else P.scrollTop=R}this._callPropsCallbacks()},v.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&RP(this._resetIsScrollingTimeoutId)},v.render=function(){var E=this.props,$=E.children,O=E.className,_=E.direction,R=E.height,k=E.innerRef,P=E.innerElementType,L=E.innerTagName,F=E.itemCount,q=E.itemData,Y=E.itemKey,X=Y===void 0?vse:Y,ue=E.layout,me=E.outerElementType,te=E.outerTagName,be=E.style,we=E.useIsScrolling,B=E.width,V=this.state.isScrolling,H=_==="horizontal"||ue==="horizontal",ie=H?this._onScrollHorizontal:this._onScrollVertical,G=this._getRangeToRender(),J=G[0],he=G[1],$e=[];if(F>0)for(var Ce=J;Ce<=he;Ce++)$e.push(T.createElement($,{data:q,key:X(Ce,q),index:Ce,isScrolling:we?V:void 0,style:this._getItemStyle(Ce)}));var Be=r(this.props,this._instanceProps);return T.createElement(me||te||"div",{className:O,onScroll:ie,ref:this._outerRefSetter,style:Ve({position:"relative",height:R,width:B,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},be)},T.createElement(P||L||"div",{children:$e,ref:k,style:{height:H?"100%":Be,pointerEvents:V?"none":void 0,width:H?Be:"100%"}}))},v._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var $=this._getRangeToRender(),O=$[0],_=$[1],R=$[2],k=$[3];this._callOnItemsRendered(O,_,R,k)}}if(typeof this.props.onScroll=="function"){var P=this.state,L=P.scrollDirection,F=P.scrollOffset,q=P.scrollUpdateWasRequested;this._callOnScroll(L,F,q)}},v._getRangeToRender=function(){var E=this.props,$=E.itemCount,O=E.overscanCount,_=this.state,R=_.isScrolling,k=_.scrollDirection,P=_.scrollOffset;if($===0)return[0,0,0,0];var L=u(this.props,P,this._instanceProps),F=l(this.props,L,P,this._instanceProps),q=!R||k==="backward"?Math.max(1,O):1,Y=!R||k==="forward"?Math.max(1,O):1;return[Math.max(0,L-q),Math.max(0,Math.min($-1,F+Y)),L,F]},w})(T.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var wse=function(e,n){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,n.instance},Sse=bse({getItemOffset:function(e,n){var r=e.itemSize;return n*r},getItemSize:function(e,n){var r=e.itemSize;return r},getEstimatedTotalSize:function(e){var n=e.itemCount,r=e.itemSize;return r*n},getOffsetForIndexAndAlignment:function(e,n,r,i,o,u){var l=e.direction,d=e.height,h=e.itemCount,g=e.itemSize,y=e.layout,w=e.width,v=l==="horizontal"||y==="horizontal",C=v?w:d,E=Math.max(0,h*g-C),$=Math.min(E,n*g),O=Math.max(0,n*g-C+g+u);switch(r==="smart"&&(i>=O-C&&i<=$+C?r="auto":r="center"),r){case"start":return $;case"end":return O;case"center":{var _=Math.round(O+($-O)/2);return _E+Math.floor(C/2)?E:_}case"auto":default:return i>=O&&i<=$?i:i{var _,R,k,P,L,F;vn();const l=T.useRef();let[d,h]=T.useState([]);const[g,y]=T.useState(!0),w=Nf();e&&e({queryClient:w});const v=(q,Y)=>{const X=r.debouncedFilters.startIndex||0,ue=[...d];l.current!==Y&&(ue.length=0,l.current=Y);for(let me=X;me<(r.debouncedFilters.itemsPerPage||0)+X;me++){const te=me-X;q[te]&&(ue[me]=q[te])}h(ue)};T.useEffect(()=>{var Y,X,ue;const q=((X=(Y=o.query.data)==null?void 0:Y.data)==null?void 0:X.items)||[];v(q,(ue=o.query.data)==null?void 0:ue.jsonQuery)},[(R=(_=o.query.data)==null?void 0:_.data)==null?void 0:R.items]);const C=({index:q,style:Y})=>{var ue,me;return d[q]?u?N.jsx(u,{content:d[q]},(ue=d[q])==null?void 0:ue.uniqueId):N.jsx(pM,{style:{...Y,top:Y.top+10,height:Y.height-10,width:Y.width},uniqueIdHrefHandler:n,columns:t,content:d[q]},(me=d[q])==null?void 0:me.uniqueId):null},E=({scrollOffset:q})=>{q===0&&!g?y(!0):q>0&&g&&y(!1)},$=T.useCallback(()=>(o.query.refetch(),Promise.resolve(!0)),[]),O=((L=(P=(k=o.query)==null?void 0:k.data)==null?void 0:P.data)==null?void 0:L.totalItems)||0;return N.jsx(N.Fragment,{children:N.jsx(use,{pullDownContent:N.jsx(cse,{label:""}),releaseContent:N.jsx(fse,{}),refreshContent:N.jsx(lse,{}),pullDownThreshold:200,onRefresh:$,triggerHeight:g?500:0,startInvisible:!0,children:d.length===0&&!((F=o.query)!=null&&F.isError)?N.jsx("div",{style:{height:"calc(100vh - 130px)"},children:N.jsx(dse,{})}):N.jsxs("div",{style:{height:"calc(100vh - 130px)"},children:[N.jsx(Go,{query:o.query}),N.jsx(ase,{isItemLoaded:q=>!!d[q],itemCount:O,loadMoreItems:async(q,Y)=>{r.setFilter({startIndex:q,itemsPerPage:Y-q})},children:({onItemsRendered:q,ref:Y})=>N.jsx(Zoe,{children:({height:X,width:ue})=>N.jsx(Sse,{height:X,itemCount:d.length,itemSize:u!=null&&u.getHeight?u.getHeight():t.length*24+10,width:ue,onScroll:E,onItemsRendered:q,ref:Y,children:C})})})]})})})},$se=({columns:t,deleteHook:e,uniqueIdHrefHandler:n,udf:r,q:i})=>{var h,g,y,w,v,C,E,$;const o=vn(),u=Nf();e&&e({queryClient:u}),(g=(h=i.query.data)==null?void 0:h.data)!=null&&g.items;const l=((v=(w=(y=i.query)==null?void 0:y.data)==null?void 0:w.data)==null?void 0:v.items)||[],d=(($=(E=(C=i.query)==null?void 0:C.data)==null?void 0:E.data)==null?void 0:$.totalItems)||0;return N.jsxs(N.Fragment,{children:[d===0&&N.jsx("p",{children:o.table.noRecords}),l.map(O=>N.jsx(pM,{style:{},uniqueIdHrefHandler:n,columns:t,content:O},O.uniqueId))]})},NP=matchMedia("(max-width: 600px)");function Ese(){const t=T.useRef(NP),[e,n]=T.useState(NP.matches?"card":"datatable");return T.useEffect(()=>{const r=t.current;function i(){r.matches?n("card"):n("datatable")}return r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[]),{view:e}}const qS=({children:t,columns:e,deleteHook:n,uniqueIdHrefHandler:r,withFilters:i,queryHook:o,onRecordsDeleted:u,selectable:l,id:d,RowDetail:h,withPreloads:g,queryFilters:y,deep:w,inlineInsertHook:v,bulkEditHook:C,urlMask:E,CardComponent:$})=>{var V,H,ie,G;vn();const{view:O}=Ese(),_=Nf(),{query:R}=Uie({query:{uniqueId:o.UKEY}}),[k,P]=T.useState(e.map(J=>({columnName:J.name,width:J.width})));T.useEffect(()=>{var J,he,$e,Ce;if((he=(J=R.data)==null?void 0:J.data)!=null&&he.sizes)P(JSON.parse((Ce=($e=R.data)==null?void 0:$e.data)==null?void 0:Ce.sizes));else{const Be=localStorage.getItem(`table_${o.UKEY}`);Be&&P(JSON.parse(Be))}},[(H=(V=R.data)==null?void 0:V.data)==null?void 0:H.sizes]);const{submit:L}=jie({queryClient:_}),F=n&&n({queryClient:_}),q=Lie({urlMask:"",submitDelete:F==null?void 0:F.submit,onRecordsDeleted:u?()=>u({queryClient:_}):void 0}),[Y]=T.useState(e.map(J=>({columnName:J.name,width:J.width}))),X=J=>{P(J);const he=JSON.stringify(J);L({uniqueId:o.UKEY,sizes:he}),localStorage.setItem(`table_${o.UKEY}`,he)};let ue=({value:J})=>N.jsx("div",{style:{position:"relative"},children:N.jsx($S,{href:r&&r(J),children:J})}),me=J=>N.jsx(Pie,{formatterComponent:ue,...J});const te=[...y||[]],be=T.useMemo(()=>Joe(te),[te]),we=o({query:{deep:w===void 0?!0:w,...q.debouncedFilters,withPreloads:g},queryClient:_});we.jsonQuery=be;const B=((G=(ie=we.query.data)==null?void 0:ie.data)==null?void 0:G.items)||[];return N.jsxs(N.Fragment,{children:[O==="map"&&N.jsx($se,{columns:e,deleteHook:n,uniqueIdHrefHandler:r,q:we,udf:q}),O==="card"&&N.jsx(Cse,{columns:e,CardComponent:$,jsonQuery:be,deleteHook:n,uniqueIdHrefHandler:r,q:we,udf:q}),O==="datatable"&&N.jsxs(Yoe,{udf:q,selectable:l,bulkEditHook:C,RowDetail:h,uniqueIdHrefHandler:r,onColumnWidthsChange:X,columns:e,columnSizes:k,inlineInsertHook:v,rows:B,defaultColumnWidths:Y,query:we.query,booleanColumns:["uniqueId"],withFilters:i,children:[N.jsx(me,{for:["uniqueId"]}),t]})]})};function xse(t){const{execFnOverride:e,queryClient:n,query:r}=t||{},{options:i,execFn:o}=T.useContext(yn),u=e?e(i):o?o(i):Lr(i);let d=`${"/public-join-key".substr(1)}?${new URLSearchParams(la(r)).toString()}`;const g=Fr(v=>u("DELETE",d,v)),y=(v,C)=>v;return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){n==null||n.setQueryData("*abac.PublicJoinKeyEntity",_=>y(_)),n==null||n.invalidateQueries("*abac.PublicJoinKeyEntity"),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function mM({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var _,R,k;const{options:u,execFn:l}=T.useContext(yn),d=o?o(u):u,h=r?r(d):l?l(d):Lr(d);let y=`${"/public-join-keys".substr(1)}?${Wg.stringify(e)}`;const w=()=>h("GET",y),v=(_=d==null?void 0:d.headers)==null?void 0:_.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Bo(["*abac.PublicJoinKeyEntity",d,e],w,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),O=((k=(R=$.data)==null?void 0:R.data)==null?void 0:k.items)||[];return{query:$,items:O,keyExtractor:P=>P.uniqueId}}mM.UKEY="*abac.PublicJoinKeyEntity";const Ose={roleName:"Role name",uniqueId:"Unique Id"},Tse={roleName:"Nazwa roli",uniqueId:"Unikalny identyfikator"},_se={...Ose,$pl:Tse},Ase=t=>[{name:"uniqueId",title:t.uniqueId,width:200},{name:"role",title:t.roleName,width:200,getCellValue:e=>{var n;return(n=e.role)==null?void 0:n.name}}],Rse=()=>{const t=Wn(_se);return N.jsx(N.Fragment,{children:N.jsx(qS,{columns:Ase(t),queryHook:mM,uniqueIdHrefHandler:e=>Xa.Navigation.single(e),deleteHook:xse})})},HS=({children:t,newEntityHandler:e,exportPath:n,pageTitle:r})=>{DN(r);const i=Ur(),{locale:o}=Ci();return MX({path:n||""}),LX(e?()=>e({locale:o,router:i}):void 0,jn.NewEntity),N.jsx(N.Fragment,{children:t})},Pse=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(HS,{pageTitle:t.fbMenu.publicJoinKey,newEntityHandler:({locale:e,router:n})=>{n.push(Xa.Navigation.create())},children:N.jsx(Rse,{})})})};function Ise(){return N.jsxs(N.Fragment,{children:[N.jsx(mn,{element:N.jsx(uP,{}),path:Xa.Navigation.Rcreate}),N.jsx(mn,{element:N.jsx(mre,{}),path:Xa.Navigation.Rsingle}),N.jsx(mn,{element:N.jsx(uP,{}),path:Xa.Navigation.Redit}),N.jsx(mn,{element:N.jsx(Pse,{}),path:Xa.Navigation.Rquery})]})}function gM({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=T.useContext(yn),l=e?e(o):u?u(o):Lr(o);let h=`${"/role/:uniqueId".substr(1)}?${new URLSearchParams(la(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>l("GET",h),w=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=w!="undefined"&&w!=null&&w!=null&&w!="null"&&!!w;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Bo([o,n,"*abac.RoleEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}function Nse(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/role".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueriesData("*abac.RoleEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function Mse(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/role".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueryData("*abac.RoleEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function kse({value:t,onChange:e,...n}){const r=T.useRef();return T.useEffect(()=>{r.current.indeterminate=t==="indeterminate"},[r,t]),N.jsx("input",{...n,type:"checkbox",ref:r,onChange:i=>{e("checked")},checked:t==="checked",className:"form-check-input"})}const Dse=({errors:t,error:e})=>{if(!e&&!t)return null;let n={};e&&e.errors?n=e.errors:t&&(n=t);const r=Object.keys(n);return N.jsxs("div",{style:{minHeight:"30px"},children:[(t==null?void 0:t.form)&&N.jsx("div",{className:"with-fade-in",style:{color:"red"},children:t.form}),n.length&&N.jsxs("div",{children:[((e==null?void 0:e.title)||(e==null?void 0:e.message))&&N.jsx("span",{children:(e==null?void 0:e.title)||(e==null?void 0:e.message)}),r.map(i=>N.jsx("div",{children:N.jsxs("span",{children:["• ",n[i]]})},i))]})]})};function Ts(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var Fse=0;function zS(t){return"__private_"+Fse+++"_"+t}var lp=zS("uniqueId"),cp=zS("name"),pl=zS("children"),eE=zS("isJsonAppliable");class $a{get uniqueId(){return Ts(this,lp)[lp]}set uniqueId(e){Ts(this,lp)[lp]=String(e)}setUniqueId(e){return this.uniqueId=e,this}get name(){return Ts(this,cp)[cp]}set name(e){Ts(this,cp)[cp]=String(e)}setName(e){return this.name=e,this}get children(){return Ts(this,pl)[pl]}set children(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof $a?Ts(this,pl)[pl]=e:Ts(this,pl)[pl]=e.map(n=>new $a(n)))}setChildren(e){return this.children=e,this}constructor(e=void 0){if(Object.defineProperty(this,eE,{value:Lse}),Object.defineProperty(this,lp,{writable:!0,value:""}),Object.defineProperty(this,cp,{writable:!0,value:""}),Object.defineProperty(this,pl,{writable:!0,value:[]}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Ts(this,eE)[eE](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.name!==void 0&&(this.name=n.name),n.children!==void 0&&(this.children=n.children)}toJSON(){return{uniqueId:Ts(this,lp)[lp],name:Ts(this,cp)[cp],children:Ts(this,pl)[pl]}}toString(){return JSON.stringify(this)}static get Fields(){return{uniqueId:"uniqueId",name:"name",children$:"children",get children(){return Af("children[:i]",$a.Fields)}}}static from(e){return new $a(e)}static with(e){return new $a(e)}copyWith(e){return new $a({...this.toJSON(),...e})}clone(){return new $a(this.toJSON())}}function Lse(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var b1;function ml(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var Use=0;function fT(t){return"__private_"+Use+++"_"+t}const jse=t=>{const e=zo(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=T.useState(!1),[o,u]=T.useState(),l=()=>(i(!1),Al.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Bo({queryKey:[Al.NewUrl(t==null?void 0:t.qs)],queryFn:l,...t||{}}),isCompleted:r,response:o}};class Al{}b1=Al;Al.URL="/capabilitiesTree";Al.NewUrl=t=>Vo(b1.URL,void 0,t);Al.Method="get";Al.Fetch$=async(t,e,n,r)=>qo(r??b1.NewUrl(t),{method:b1.Method,...n||{}},e);Al.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Ap(u)})=>{e=e||(l=>new Ap(l));const u=await b1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Al.Definition={name:"CapabilitiesTree",cliName:"treex",url:"/capabilitiesTree",method:"get",description:"dLists all of the capabilities in database as a array of string as root access",out:{envelope:"GResponse",fields:[{name:"capabilities",type:"collection",target:"CapabilityInfoDto"},{name:"nested",type:"collection",target:"CapabilityInfoDto"}]}};var gl=fT("capabilities"),yl=fT("nested"),tE=fT("isJsonAppliable");class Ap{get capabilities(){return ml(this,gl)[gl]}set capabilities(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof $a?ml(this,gl)[gl]=e:ml(this,gl)[gl]=e.map(n=>new $a(n)))}setCapabilities(e){return this.capabilities=e,this}get nested(){return ml(this,yl)[yl]}set nested(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof $a?ml(this,yl)[yl]=e:ml(this,yl)[yl]=e.map(n=>new $a(n)))}setNested(e){return this.nested=e,this}constructor(e=void 0){if(Object.defineProperty(this,tE,{value:Bse}),Object.defineProperty(this,gl,{writable:!0,value:[]}),Object.defineProperty(this,yl,{writable:!0,value:[]}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(ml(this,tE)[tE](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.capabilities!==void 0&&(this.capabilities=n.capabilities),n.nested!==void 0&&(this.nested=n.nested)}toJSON(){return{capabilities:ml(this,gl)[gl],nested:ml(this,yl)[yl]}}toString(){return JSON.stringify(this)}static get Fields(){return{capabilities$:"capabilities",get capabilities(){return Af("capabilities[:i]",$a.Fields)},nested$:"nested",get nested(){return Af("nested[:i]",$a.Fields)}}}static from(e){return new Ap(e)}static with(e){return new Ap(e)}copyWith(e){return new Ap({...this.toJSON(),...e})}clone(){return new Ap(this.toJSON())}}function Bse(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function yM({onChange:t,value:e,prefix:n}){var l,d;const{data:r,error:i}=jse({}),o=((d=(l=r==null?void 0:r.data)==null?void 0:l.item)==null?void 0:d.nested)||[],u=(h,g)=>{let y=[...e||[]];g==="checked"&&y.push(h),g==="unchecked"&&(y=y.filter(w=>w!==h)),t&&t(y)};return N.jsxs("nav",{className:"tree-nav",children:[N.jsx(Dse,{error:i}),N.jsx("ul",{className:"list",children:N.jsx(vM,{items:o,onNodeChange:u,value:e,prefix:n})})]})}function vM({items:t,onNodeChange:e,value:n,prefix:r,autoChecked:i}){const o=r?r+".":"";return N.jsx(N.Fragment,{children:t.map(u=>{var h;const l=`${o}${u.uniqueId}${(h=u.children)!=null&&h.length?".*":""}`,d=(n||[]).includes(l)?"checked":"unchecked";return N.jsxs("li",{children:[N.jsx("span",{children:N.jsxs("label",{className:i?"auto-checked":"",children:[N.jsx(kse,{value:d,onChange:g=>{e(l,d==="checked"?"unchecked":"checked")}}),u.uniqueId]})}),u.children&&N.jsx("ul",{children:N.jsx(vM,{autoChecked:i||d==="checked",onNodeChange:e,value:n,items:u.children,prefix:o+u.uniqueId})})]},u.uniqueId)})})}const qse=(t,e)=>t!=null&&t.length&&!(e!=null&&e.length)?t.map(n=>n.uniqueId):e||[],Hse=({form:t,isEditing:e})=>{const{values:n,setFieldValue:r,errors:i}=t,o=vn();return N.jsxs(N.Fragment,{children:[N.jsx(Do,{value:n.name,onChange:u=>r(kr.Fields.name,u,!1),errorMessage:i.name,label:o.wokspaces.invite.role,autoFocus:!e,hint:o.wokspaces.invite.roleHint}),N.jsx(yM,{onChange:u=>r(kr.Fields.capabilitiesListId,u,!1),value:qse(n.capabilities,n.capabilitiesListId)})]})},MP=({data:t})=>{const{router:e,uniqueId:n,queryClient:r,locale:i}=F1({data:t}),o=vn(),u=gM({query:{uniqueId:n},queryOptions:{enabled:!!n}}),l=Mse({queryClient:r}),d=Nse({queryClient:r});return N.jsx(FO,{postHook:l,getSingleHook:u,patchHook:d,beforeSubmit:h=>{var g;return((g=h.capabilities)==null?void 0:g.length)>0&&h.capabilitiesListId===null?{...h,capabilitiesListId:h.capabilities.map(y=>y.uniqueId)}:h},onCancel:()=>{e.goBackOrDefault(kr.Navigation.query(void 0,i))},onFinishUriResolver:(h,g)=>{var y;return kr.Navigation.single((y=h.data)==null?void 0:y.uniqueId,g)},Form:Hse,onEditTitle:o.fb.editRole,onCreateTitle:o.fb.newRole,data:t})},zse=Ae.createContext({setToken(){},setSession(){},signout(){},ref:{token:""},isAuthenticated:!1});function Vse(){const t=localStorage.getItem("app_auth_state");if(t){try{const e=JSON.parse(t);return e?{...e}:{}}catch{}return{}}}Vse();function bM(t){const e=T.useContext(zse);T.useEffect(()=>{e.setToken(t||"")},[t])}function wM({title:t,children:e,className:n,description:r}){return N.jsxs("div",{className:Lo("page-section",n),children:[t?N.jsx("h2",{className:"",children:t}):null,r?N.jsx("p",{className:"",children:r}):null,N.jsx("div",{className:"mt-4",children:e})]})}const Gse=()=>{var l;const t=Ur();Nf();const e=t.query.uniqueId,n=vn();Ci();const[r,i]=T.useState([]),o=gM({query:{uniqueId:e,deep:!0}});var u=(l=o.query.data)==null?void 0:l.data;return bM((u==null?void 0:u.name)||""),T.useEffect(()=>{var d;i((d=u==null?void 0:u.capabilities)==null?void 0:d.map(h=>h.uniqueId||""))},[u==null?void 0:u.capabilities]),N.jsx(N.Fragment,{children:N.jsxs(XO,{editEntityHandler:()=>{t.push(kr.Navigation.edit(e))},getSingleHook:o,children:[N.jsx(ZO,{entity:u,fields:[{label:n.role.name,elem:u==null?void 0:u.name}]}),N.jsx(wM,{title:n.role.permissions,className:"mt-3",children:N.jsx(yM,{value:r})})]})})},Wse=t=>[{name:kr.Fields.uniqueId,title:t.table.uniqueId,width:200},{name:kr.Fields.name,title:t.role.name,width:200}];function Kse(t){const{execFnOverride:e,queryClient:n,query:r}=t||{},{options:i,execFn:o}=T.useContext(yn),u=e?e(i):o?o(i):Lr(i);let d=`${"/role".substr(1)}?${new URLSearchParams(la(r)).toString()}`;const g=Fr(v=>u("DELETE",d,v)),y=(v,C)=>v;return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){n==null||n.setQueryData("*abac.RoleEntity",_=>y(_)),n==null||n.invalidateQueries("*abac.RoleEntity"),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}const Yse=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(qS,{columns:Wse(t),queryHook:LS,uniqueIdHrefHandler:e=>kr.Navigation.single(e),deleteHook:Kse})})},Qse=()=>{const t=vn();return UX(),N.jsx(N.Fragment,{children:N.jsx(HS,{newEntityHandler:({locale:e,router:n})=>n.push(kr.Navigation.create()),pageTitle:t.fbMenu.roles,children:N.jsx(Yse,{})})})};function Jse(){return N.jsxs(N.Fragment,{children:[N.jsx(mn,{element:N.jsx(MP,{}),path:kr.Navigation.Rcreate}),N.jsx(mn,{element:N.jsx(Gse,{}),path:kr.Navigation.Rsingle}),N.jsx(mn,{element:N.jsx(MP,{}),path:kr.Navigation.Redit}),N.jsx(mn,{element:N.jsx(Qse,{}),path:kr.Navigation.Rquery})]})}({...Vt.Fields});function SM({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var _,R,k;const{options:u,execFn:l}=T.useContext(yn),d=o?o(u):u,h=r?r(d):l?l(d):Lr(d);let y=`${"/users/invitations".substr(1)}?${Wg.stringify(e)}`;const w=()=>h("GET",y),v=(_=d==null?void 0:d.headers)==null?void 0:_.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Bo(["*abac.UserInvitationsQueryColumns",d,e],w,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),O=((k=(R=$.data)==null?void 0:R.data)==null?void 0:k.items)||[];return{query:$,items:O,keyExtractor:P=>P.uniqueId}}SM.UKEY="*abac.UserInvitationsQueryColumns";const Xse={confirmRejectTitle:"Reject invite",reject:"Reject",workspaceName:"Workspace Name",passport:"Passport",confirmAcceptDescription:"Are you sure that you are confirming to join?",confirmRejectDescription:"Are you sure to reject this invitation? You need to be reinvited by admins again.",acceptBtn:null,accept:"Accept",roleName:"Role name",method:"Method",actions:"Actions",confirmAcceptTitle:"Confirm invitation"},Zse={actions:"Akcje",confirmRejectTitle:"Odrzuć zaproszenie",method:"Metoda",roleName:"Nazwa roli",accept:"Akceptuj",confirmAcceptDescription:"Czy na pewno chcesz dołączyć?",confirmAcceptTitle:"Potwierdź zaproszenie",confirmRejectDescription:"Czy na pewno chcesz odrzucić to zaproszenie? Aby dołączyć ponownie, musisz zostać ponownie zaproszony przez administratorów.",passport:"Paszport",reject:"Odrzuć",workspaceName:"Nazwa przestrzeni roboczej",acceptBtn:"Tak"},eue={...Xse,$pl:Zse},tue=(t,e,n)=>[{name:"roleName",title:t.roleName,width:100},{name:"workspaceName",title:t.workspaceName,width:100},{name:"method",title:t.method,width:100,getCellValue:r=>r.type},{name:"value",title:t.passport,width:100,getCellValue:r=>r.value},{name:"actions",title:t.actions,width:100,getCellValue:r=>N.jsxs(N.Fragment,{children:[N.jsx("button",{className:"btn btn-sm btn-success",style:{marginRight:"2px"},onClick:i=>{e(r)},children:t.accept}),N.jsx("button",{onClick:i=>{n(r)},className:"btn btn-sm btn-danger",children:t.reject})]})}];var w1;function Of(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var nue=0;function VS(t){return"__private_"+nue+++"_"+t}const rue=t=>{const n=zo()??void 0,[r,i]=T.useState(!1),[o,u]=T.useState();return{...Fr({mutationFn:h=>(i(!1),Kf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Kf{}w1=Kf;Kf.URL="/user/invitation/accept";Kf.NewUrl=t=>Vo(w1.URL,void 0,t);Kf.Method="post";Kf.Fetch$=async(t,e,n,r)=>qo(r??w1.NewUrl(t),{method:w1.Method,...n||{}},e);Kf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Rp(u)})=>{e=e||(l=>new Rp(l));const u=await w1.Fetch$(n,r,t,o);return Ho(u,l=>{const d=new no;return e&&d.setCreator(e),d.inject(l),d},i,t==null?void 0:t.signal)};Kf.Definition={name:"AcceptInvite",url:"/user/invitation/accept",method:"post",description:"Use it when user accepts an invitation, and it will complete the joining process",in:{fields:[{name:"invitationUniqueId",description:"The invitation id which will be used to process",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"accepted",type:"bool"}]}};var fp=VS("invitationUniqueId"),nE=VS("isJsonAppliable");class Rg{get invitationUniqueId(){return Of(this,fp)[fp]}set invitationUniqueId(e){Of(this,fp)[fp]=String(e)}setInvitationUniqueId(e){return this.invitationUniqueId=e,this}constructor(e=void 0){if(Object.defineProperty(this,nE,{value:iue}),Object.defineProperty(this,fp,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Of(this,nE)[nE](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.invitationUniqueId!==void 0&&(this.invitationUniqueId=n.invitationUniqueId)}toJSON(){return{invitationUniqueId:Of(this,fp)[fp]}}toString(){return JSON.stringify(this)}static get Fields(){return{invitationUniqueId:"invitationUniqueId"}}static from(e){return new Rg(e)}static with(e){return new Rg(e)}copyWith(e){return new Rg({...this.toJSON(),...e})}clone(){return new Rg(this.toJSON())}}function iue(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var dp=VS("accepted"),rE=VS("isJsonAppliable");class Rp{get accepted(){return Of(this,dp)[dp]}set accepted(e){Of(this,dp)[dp]=!!e}setAccepted(e){return this.accepted=e,this}constructor(e=void 0){if(Object.defineProperty(this,rE,{value:aue}),Object.defineProperty(this,dp,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Of(this,rE)[rE](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.accepted!==void 0&&(this.accepted=n.accepted)}toJSON(){return{accepted:Of(this,dp)[dp]}}toString(){return JSON.stringify(this)}static get Fields(){return{accepted:"accepted"}}static from(e){return new Rp(e)}static with(e){return new Rp(e)}copyWith(e){return new Rp({...this.toJSON(),...e})}clone(){return new Rp(this.toJSON())}}function aue(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const oue=()=>{const t=Wn(eue),e=T.useContext(X7),n=rue(),r=o=>{e.openModal({title:t.confirmAcceptTitle,confirmButtonLabel:t.acceptBtn,component:()=>N.jsx("div",{children:t.confirmAcceptDescription}),onSubmit:async()=>n.mutateAsync(new Rg({invitationUniqueId:o.uniqueId})).then(u=>{alert("Successful.")})})},i=o=>{e.openModal({title:t.confirmRejectTitle,confirmButtonLabel:t.acceptBtn,component:()=>N.jsx("div",{children:t.confirmRejectDescription}),onSubmit:async()=>!0})};return N.jsx(N.Fragment,{children:N.jsx(qS,{selectable:!1,columns:tue(t,r,i),queryHook:SM})})},sue=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(HS,{pageTitle:t.fbMenu.myInvitations,children:N.jsx(oue,{})})})};function uue(){return N.jsx(N.Fragment,{children:N.jsx(mn,{element:N.jsx(sue,{}),path:"user-invitations"})})}function CM({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=T.useContext(yn),l=e?e(o):u?u(o):Lr(o);let h=`${"/workspace-invite/:uniqueId".substr(1)}?${new URLSearchParams(la(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>l("GET",h),w=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=w!="undefined"&&w!=null&&w!=null&&w!="null"&&!!w;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Bo([o,n,"*abac.WorkspaceInviteEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}function lue(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/workspace-invite".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueriesData("*abac.WorkspaceInviteEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}function cue(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=T.useContext(yn),u=r?r(i):o?o(i):Lr(i);let d=`${"/workspace/invite".substr(1)}?${new URLSearchParams(la(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){e==null||e.setQueryData("*abac.WorkspaceInviteEntity",_=>y(_,O)),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}const fue={targetLocaleHint:"If the user has a different language available, the initial interface will be on th selected value.",forcedEmailAddress:"Force Email Address",forcedEmailAddressHint:"If checked, user can only make the invitation using this email address, and won't be able to change it. If account exists, they need to accept invitation there.",forcedPhone:"Force Phone Number",forcedPhoneHint:"If checked, user only can create or join using this phone number",coverLetter:"Cover letter",coverLetterHint:"The invitation text that user would get over sms or email, you can modify it here.",targetLocale:"Target Locale"},due={targetLocaleHint:"Jeśli użytkownik ma dostępny inny język, interfejs początkowy będzie ustawiony na wybraną wartość.",coverLetter:"List motywacyjny",coverLetterHint:"Treść zaproszenia, którą użytkownik otrzyma przez SMS lub e-mail – możesz ją tutaj edytować.",forcedEmailAddress:"Wymuszony adres e-mail",forcedEmailAddressHint:"Jeśli zaznaczone, użytkownik może wysłać zaproszenie tylko na ten adres e-mail i nie będzie mógł go zmienić. Jeśli konto już istnieje, użytkownik musi zaakceptować zaproszenie na tym koncie.",forcedPhone:"Wymuszony numer telefonu",forcedPhoneHint:"Jeśli zaznaczone, użytkownik może utworzyć konto lub dołączyć tylko przy użyciu tego numeru telefonu",targetLocale:"Docelowy język"},$M={...fue,$pl:due};function hue(t){return e=>pue({items:t,...e})}function pue(t){var o,u;let e=((o=t.query)==null?void 0:o.itemsPerPage)||2,n=t.query.startIndex||0,r=t.items||[];return(u=t.query)!=null&&u.jsonQuery&&(r=VB(r,t.query.jsonQuery)),r=r.slice(n,n+e),{query:{data:{data:{items:r,totalItems:r.length,totalAvailableItems:r.length}},dataUpdatedAt:0,error:null,errorUpdateCount:0,errorUpdatedAt:0,failureCount:0,isError:!1,isFetched:!1,isFetchedAfterMount:!1,isFetching:!1,isIdle:!1,isLoading:!1,isLoadingError:!1,isPlaceholderData:!1,isPreviousData:!1,isRefetchError:!1,isRefetching:!1,isStale:!1,remove(){console.log("Use as query has not implemented this.")},refetch(){return console.log("Refetch is not working actually."),Promise.resolve(void 0)},isSuccess:!0,status:"success"},items:r}}var kx=function(){return kx=Object.assign||function(t){for(var e,n=1,r=arguments.length;n"u"||t===""?[]:Array.isArray(t)?t:t.split(" ")},vue=function(t,e){return UP(t).concat(UP(e))},bue=function(){return window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"},wue=function(t){if(!("isConnected"in Node.prototype)){for(var e=t,n=t.parentNode;n!=null;)e=n,n=e.parentNode;return e===t.ownerDocument}return t.isConnected},jP=function(t,e){t!==void 0&&(t.mode!=null&&typeof t.mode=="object"&&typeof t.mode.set=="function"?t.mode.set(e):t.setMode(e))},Dx=function(){return Dx=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0?setTimeout(h,u):h()},r=function(){for(var i=t.pop();i!=null;i=t.pop())i.deleteScripts()};return{loadList:n,reinitialize:r}},Eue=$ue(),aE=function(t){var e=t;return e&&e.tinymce?e.tinymce:null},xue=(function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),oS=function(){return oS=Object.assign||function(t){for(var e,n=1,r=arguments.length;nu([new File([l],d)]),o=(l,d=!1)=>new Promise((h,g)=>{const y=new FH(l,{endpoint:Si.REMOTE_SERVICE+"tus",onBeforeRequest(w){w.setHeader("authorization",t.token),w.setHeader("workspace-id",e==null?void 0:e.workspaceId)},headers:{},metadata:{filename:l.name,path:"/database/users",filetype:l.type},onSuccess(){var v;const w=(v=y.url)==null?void 0:v.match(/([a-z0-9]){10,}/gi);h(`${w}`)},onError(w){g(w)},onProgress(w,v){var E,$;const C=($=(E=y.url)==null?void 0:E.match(/([a-z0-9]){10,}/gi))==null?void 0:$.toString();if(C){const O={uploadId:C,bytesSent:w,filename:l.name,bytesTotal:v};d!==!0&&r(_=>Tue(_,O))}}});y.start()}),u=(l,d=!1)=>l.map(h=>o(h));return{upload:u,activeUploads:n,uploadBlob:i,uploadSingle:o}}var oE={},$0={},BP;function Aue(){if(BP)return $0;BP=1,$0.byteLength=l,$0.toByteArray=h,$0.fromByteArray=w;for(var t=[],e=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var E=v.indexOf("=");E===-1&&(E=C);var $=E===C?0:4-E%4;return[E,$]}function l(v){var C=u(v),E=C[0],$=C[1];return(E+$)*3/4-$}function d(v,C,E){return(C+E)*3/4-E}function h(v){var C,E=u(v),$=E[0],O=E[1],_=new n(d(v,$,O)),R=0,k=O>0?$-4:$,P;for(P=0;P>16&255,_[R++]=C>>8&255,_[R++]=C&255;return O===2&&(C=e[v.charCodeAt(P)]<<2|e[v.charCodeAt(P+1)]>>4,_[R++]=C&255),O===1&&(C=e[v.charCodeAt(P)]<<10|e[v.charCodeAt(P+1)]<<4|e[v.charCodeAt(P+2)]>>2,_[R++]=C>>8&255,_[R++]=C&255),_}function g(v){return t[v>>18&63]+t[v>>12&63]+t[v>>6&63]+t[v&63]}function y(v,C,E){for(var $,O=[],_=C;_k?k:R+_));return $===1?(C=v[E-1],O.push(t[C>>2]+t[C<<4&63]+"==")):$===2&&(C=(v[E-2]<<8)+v[E-1],O.push(t[C>>10]+t[C>>4&63]+t[C<<2&63]+"=")),O.join("")}return $0}var nw={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var qP;function Rue(){return qP||(qP=1,nw.read=function(t,e,n,r,i){var o,u,l=i*8-r-1,d=(1<>1,g=-7,y=n?i-1:0,w=n?-1:1,v=t[e+y];for(y+=w,o=v&(1<<-g)-1,v>>=-g,g+=l;g>0;o=o*256+t[e+y],y+=w,g-=8);for(u=o&(1<<-g)-1,o>>=-g,g+=r;g>0;u=u*256+t[e+y],y+=w,g-=8);if(o===0)o=1-h;else{if(o===d)return u?NaN:(v?-1:1)*(1/0);u=u+Math.pow(2,r),o=o-h}return(v?-1:1)*u*Math.pow(2,o-r)},nw.write=function(t,e,n,r,i,o){var u,l,d,h=o*8-i-1,g=(1<>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=r?0:o-1,C=r?1:-1,E=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,u=g):(u=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+y>=1?e+=w/d:e+=w*Math.pow(2,1-y),e*d>=2&&(u++,d/=2),u+y>=g?(l=0,u=g):u+y>=1?(l=(e*d-1)*Math.pow(2,i),u=u+y):(l=e*Math.pow(2,y-1)*Math.pow(2,i),u=0));i>=8;t[n+v]=l&255,v+=C,l/=256,i-=8);for(u=u<0;t[n+v]=u&255,v+=C,u/=256,h-=8);t[n+v-C]|=E*128}),nw}/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */var HP;function Pue(){return HP||(HP=1,(function(t){const e=Aue(),n=Rue(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=_,t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i,l.TYPED_ARRAY_SUPPORT=o(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const j=new Uint8Array(1),A={foo:function(){return 42}};return Object.setPrototypeOf(A,Uint8Array.prototype),Object.setPrototypeOf(j,A),j.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function u(j){if(j>i)throw new RangeError('The value "'+j+'" is invalid for option "size"');const A=new Uint8Array(j);return Object.setPrototypeOf(A,l.prototype),A}function l(j,A,M){if(typeof j=="number"){if(typeof A=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(j)}return d(j,A,M)}l.poolSize=8192;function d(j,A,M){if(typeof j=="string")return w(j,A);if(ArrayBuffer.isView(j))return C(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(pe(j,ArrayBuffer)||j&&pe(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(j,SharedArrayBuffer)||j&&pe(j.buffer,SharedArrayBuffer)))return E(j,A,M);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Q=j.valueOf&&j.valueOf();if(Q!=null&&Q!==j)return l.from(Q,A,M);const re=$(j);if(re)return re;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return l.from(j[Symbol.toPrimitive]("string"),A,M);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}l.from=function(j,A,M){return d(j,A,M)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function h(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function g(j,A,M){return h(j),j<=0?u(j):A!==void 0?typeof M=="string"?u(j).fill(A,M):u(j).fill(A):u(j)}l.alloc=function(j,A,M){return g(j,A,M)};function y(j){return h(j),u(j<0?0:O(j)|0)}l.allocUnsafe=function(j){return y(j)},l.allocUnsafeSlow=function(j){return y(j)};function w(j,A){if((typeof A!="string"||A==="")&&(A="utf8"),!l.isEncoding(A))throw new TypeError("Unknown encoding: "+A);const M=R(j,A)|0;let Q=u(M);const re=Q.write(j,A);return re!==M&&(Q=Q.slice(0,re)),Q}function v(j){const A=j.length<0?0:O(j.length)|0,M=u(A);for(let Q=0;Q=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return j|0}function _(j){return+j!=j&&(j=0),l.alloc(+j)}l.isBuffer=function(A){return A!=null&&A._isBuffer===!0&&A!==l.prototype},l.compare=function(A,M){if(pe(A,Uint8Array)&&(A=l.from(A,A.offset,A.byteLength)),pe(M,Uint8Array)&&(M=l.from(M,M.offset,M.byteLength)),!l.isBuffer(A)||!l.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(A===M)return 0;let Q=A.length,re=M.length;for(let ge=0,Ee=Math.min(Q,re);gere.length?(l.isBuffer(Ee)||(Ee=l.from(Ee)),Ee.copy(re,ge)):Uint8Array.prototype.set.call(re,Ee,ge);else if(l.isBuffer(Ee))Ee.copy(re,ge);else throw new TypeError('"list" argument must be an Array of Buffers');ge+=Ee.length}return re};function R(j,A){if(l.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||pe(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const M=j.length,Q=arguments.length>2&&arguments[2]===!0;if(!Q&&M===0)return 0;let re=!1;for(;;)switch(A){case"ascii":case"latin1":case"binary":return M;case"utf8":case"utf-8":return Tt(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M*2;case"hex":return M>>>1;case"base64":return Dt(j).length;default:if(re)return Q?-1:Tt(j).length;A=(""+A).toLowerCase(),re=!0}}l.byteLength=R;function k(j,A,M){let Q=!1;if((A===void 0||A<0)&&(A=0),A>this.length||((M===void 0||M>this.length)&&(M=this.length),M<=0)||(M>>>=0,A>>>=0,M<=A))return"";for(j||(j="utf8");;)switch(j){case"hex":return ie(this,A,M);case"utf8":case"utf-8":return be(this,A,M);case"ascii":return V(this,A,M);case"latin1":case"binary":return H(this,A,M);case"base64":return te(this,A,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,A,M);default:if(Q)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),Q=!0}}l.prototype._isBuffer=!0;function P(j,A,M){const Q=j[A];j[A]=j[M],j[M]=Q}l.prototype.swap16=function(){const A=this.length;if(A%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;MM&&(A+=" ... "),""},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(A,M,Q,re,ge){if(pe(A,Uint8Array)&&(A=l.from(A,A.offset,A.byteLength)),!l.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(M===void 0&&(M=0),Q===void 0&&(Q=A?A.length:0),re===void 0&&(re=0),ge===void 0&&(ge=this.length),M<0||Q>A.length||re<0||ge>this.length)throw new RangeError("out of range index");if(re>=ge&&M>=Q)return 0;if(re>=ge)return-1;if(M>=Q)return 1;if(M>>>=0,Q>>>=0,re>>>=0,ge>>>=0,this===A)return 0;let Ee=ge-re,rt=Q-M;const Wt=Math.min(Ee,rt),ae=this.slice(re,ge),ce=A.slice(M,Q);for(let nt=0;nt2147483647?M=2147483647:M<-2147483648&&(M=-2147483648),M=+M,ze(M)&&(M=re?0:j.length-1),M<0&&(M=j.length+M),M>=j.length){if(re)return-1;M=j.length-1}else if(M<0)if(re)M=0;else return-1;if(typeof A=="string"&&(A=l.from(A,Q)),l.isBuffer(A))return A.length===0?-1:F(j,A,M,Q,re);if(typeof A=="number")return A=A&255,typeof Uint8Array.prototype.indexOf=="function"?re?Uint8Array.prototype.indexOf.call(j,A,M):Uint8Array.prototype.lastIndexOf.call(j,A,M):F(j,[A],M,Q,re);throw new TypeError("val must be string, number or Buffer")}function F(j,A,M,Q,re){let ge=1,Ee=j.length,rt=A.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(j.length<2||A.length<2)return-1;ge=2,Ee/=2,rt/=2,M/=2}function Wt(ce,nt){return ge===1?ce[nt]:ce.readUInt16BE(nt*ge)}let ae;if(re){let ce=-1;for(ae=M;aeEe&&(M=Ee-rt),ae=M;ae>=0;ae--){let ce=!0;for(let nt=0;ntre&&(Q=re)):Q=re;const ge=A.length;Q>ge/2&&(Q=ge/2);let Ee;for(Ee=0;Ee>>0,isFinite(Q)?(Q=Q>>>0,re===void 0&&(re="utf8")):(re=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ge=this.length-M;if((Q===void 0||Q>ge)&&(Q=ge),A.length>0&&(Q<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");re||(re="utf8");let Ee=!1;for(;;)switch(re){case"hex":return q(this,A,M,Q);case"utf8":case"utf-8":return Y(this,A,M,Q);case"ascii":case"latin1":case"binary":return X(this,A,M,Q);case"base64":return ue(this,A,M,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,A,M,Q);default:if(Ee)throw new TypeError("Unknown encoding: "+re);re=(""+re).toLowerCase(),Ee=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(j,A,M){return A===0&&M===j.length?e.fromByteArray(j):e.fromByteArray(j.slice(A,M))}function be(j,A,M){M=Math.min(j.length,M);const Q=[];let re=A;for(;re239?4:ge>223?3:ge>191?2:1;if(re+rt<=M){let Wt,ae,ce,nt;switch(rt){case 1:ge<128&&(Ee=ge);break;case 2:Wt=j[re+1],(Wt&192)===128&&(nt=(ge&31)<<6|Wt&63,nt>127&&(Ee=nt));break;case 3:Wt=j[re+1],ae=j[re+2],(Wt&192)===128&&(ae&192)===128&&(nt=(ge&15)<<12|(Wt&63)<<6|ae&63,nt>2047&&(nt<55296||nt>57343)&&(Ee=nt));break;case 4:Wt=j[re+1],ae=j[re+2],ce=j[re+3],(Wt&192)===128&&(ae&192)===128&&(ce&192)===128&&(nt=(ge&15)<<18|(Wt&63)<<12|(ae&63)<<6|ce&63,nt>65535&&nt<1114112&&(Ee=nt))}}Ee===null?(Ee=65533,rt=1):Ee>65535&&(Ee-=65536,Q.push(Ee>>>10&1023|55296),Ee=56320|Ee&1023),Q.push(Ee),re+=rt}return B(Q)}const we=4096;function B(j){const A=j.length;if(A<=we)return String.fromCharCode.apply(String,j);let M="",Q=0;for(;QQ)&&(M=Q);let re="";for(let ge=A;geQ&&(A=Q),M<0?(M+=Q,M<0&&(M=0)):M>Q&&(M=Q),MM)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(A,M,Q){A=A>>>0,M=M>>>0,Q||J(A,M,this.length);let re=this[A],ge=1,Ee=0;for(;++Ee>>0,M=M>>>0,Q||J(A,M,this.length);let re=this[A+--M],ge=1;for(;M>0&&(ge*=256);)re+=this[A+--M]*ge;return re},l.prototype.readUint8=l.prototype.readUInt8=function(A,M){return A=A>>>0,M||J(A,1,this.length),this[A]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(A,M){return A=A>>>0,M||J(A,2,this.length),this[A]|this[A+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(A,M){return A=A>>>0,M||J(A,2,this.length),this[A]<<8|this[A+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(A,M){return A=A>>>0,M||J(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+this[A+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(A,M){return A=A>>>0,M||J(A,4,this.length),this[A]*16777216+(this[A+1]<<16|this[A+2]<<8|this[A+3])},l.prototype.readBigUInt64LE=Qe(function(A){A=A>>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=M+this[++A]*2**8+this[++A]*2**16+this[++A]*2**24,ge=this[++A]+this[++A]*2**8+this[++A]*2**16+Q*2**24;return BigInt(re)+(BigInt(ge)<>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=M*2**24+this[++A]*2**16+this[++A]*2**8+this[++A],ge=this[++A]*2**24+this[++A]*2**16+this[++A]*2**8+Q;return(BigInt(re)<>>0,M=M>>>0,Q||J(A,M,this.length);let re=this[A],ge=1,Ee=0;for(;++Ee=ge&&(re-=Math.pow(2,8*M)),re},l.prototype.readIntBE=function(A,M,Q){A=A>>>0,M=M>>>0,Q||J(A,M,this.length);let re=M,ge=1,Ee=this[A+--re];for(;re>0&&(ge*=256);)Ee+=this[A+--re]*ge;return ge*=128,Ee>=ge&&(Ee-=Math.pow(2,8*M)),Ee},l.prototype.readInt8=function(A,M){return A=A>>>0,M||J(A,1,this.length),this[A]&128?(255-this[A]+1)*-1:this[A]},l.prototype.readInt16LE=function(A,M){A=A>>>0,M||J(A,2,this.length);const Q=this[A]|this[A+1]<<8;return Q&32768?Q|4294901760:Q},l.prototype.readInt16BE=function(A,M){A=A>>>0,M||J(A,2,this.length);const Q=this[A+1]|this[A]<<8;return Q&32768?Q|4294901760:Q},l.prototype.readInt32LE=function(A,M){return A=A>>>0,M||J(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},l.prototype.readInt32BE=function(A,M){return A=A>>>0,M||J(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},l.prototype.readBigInt64LE=Qe(function(A){A=A>>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=this[A+4]+this[A+5]*2**8+this[A+6]*2**16+(Q<<24);return(BigInt(re)<>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=(M<<24)+this[++A]*2**16+this[++A]*2**8+this[++A];return(BigInt(re)<>>0,M||J(A,4,this.length),n.read(this,A,!0,23,4)},l.prototype.readFloatBE=function(A,M){return A=A>>>0,M||J(A,4,this.length),n.read(this,A,!1,23,4)},l.prototype.readDoubleLE=function(A,M){return A=A>>>0,M||J(A,8,this.length),n.read(this,A,!0,52,8)},l.prototype.readDoubleBE=function(A,M){return A=A>>>0,M||J(A,8,this.length),n.read(this,A,!1,52,8)};function he(j,A,M,Q,re,ge){if(!l.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(A>re||Aj.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(A,M,Q,re){if(A=+A,M=M>>>0,Q=Q>>>0,!re){const rt=Math.pow(2,8*Q)-1;he(this,A,M,Q,rt,0)}let ge=1,Ee=0;for(this[M]=A&255;++Ee>>0,Q=Q>>>0,!re){const rt=Math.pow(2,8*Q)-1;he(this,A,M,Q,rt,0)}let ge=Q-1,Ee=1;for(this[M+ge]=A&255;--ge>=0&&(Ee*=256);)this[M+ge]=A/Ee&255;return M+Q},l.prototype.writeUint8=l.prototype.writeUInt8=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,1,255,0),this[M]=A&255,M+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,65535,0),this[M]=A&255,this[M+1]=A>>>8,M+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,65535,0),this[M]=A>>>8,this[M+1]=A&255,M+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,4294967295,0),this[M+3]=A>>>24,this[M+2]=A>>>16,this[M+1]=A>>>8,this[M]=A&255,M+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,4294967295,0),this[M]=A>>>24,this[M+1]=A>>>16,this[M+2]=A>>>8,this[M+3]=A&255,M+4};function $e(j,A,M,Q,re){pt(A,Q,re,j,M,7);let ge=Number(A&BigInt(4294967295));j[M++]=ge,ge=ge>>8,j[M++]=ge,ge=ge>>8,j[M++]=ge,ge=ge>>8,j[M++]=ge;let Ee=Number(A>>BigInt(32)&BigInt(4294967295));return j[M++]=Ee,Ee=Ee>>8,j[M++]=Ee,Ee=Ee>>8,j[M++]=Ee,Ee=Ee>>8,j[M++]=Ee,M}function Ce(j,A,M,Q,re){pt(A,Q,re,j,M,7);let ge=Number(A&BigInt(4294967295));j[M+7]=ge,ge=ge>>8,j[M+6]=ge,ge=ge>>8,j[M+5]=ge,ge=ge>>8,j[M+4]=ge;let Ee=Number(A>>BigInt(32)&BigInt(4294967295));return j[M+3]=Ee,Ee=Ee>>8,j[M+2]=Ee,Ee=Ee>>8,j[M+1]=Ee,Ee=Ee>>8,j[M]=Ee,M+8}l.prototype.writeBigUInt64LE=Qe(function(A,M=0){return $e(this,A,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=Qe(function(A,M=0){return Ce(this,A,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(A,M,Q,re){if(A=+A,M=M>>>0,!re){const Wt=Math.pow(2,8*Q-1);he(this,A,M,Q,Wt-1,-Wt)}let ge=0,Ee=1,rt=0;for(this[M]=A&255;++ge>0)-rt&255;return M+Q},l.prototype.writeIntBE=function(A,M,Q,re){if(A=+A,M=M>>>0,!re){const Wt=Math.pow(2,8*Q-1);he(this,A,M,Q,Wt-1,-Wt)}let ge=Q-1,Ee=1,rt=0;for(this[M+ge]=A&255;--ge>=0&&(Ee*=256);)A<0&&rt===0&&this[M+ge+1]!==0&&(rt=1),this[M+ge]=(A/Ee>>0)-rt&255;return M+Q},l.prototype.writeInt8=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,1,127,-128),A<0&&(A=255+A+1),this[M]=A&255,M+1},l.prototype.writeInt16LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,32767,-32768),this[M]=A&255,this[M+1]=A>>>8,M+2},l.prototype.writeInt16BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,32767,-32768),this[M]=A>>>8,this[M+1]=A&255,M+2},l.prototype.writeInt32LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,2147483647,-2147483648),this[M]=A&255,this[M+1]=A>>>8,this[M+2]=A>>>16,this[M+3]=A>>>24,M+4},l.prototype.writeInt32BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[M]=A>>>24,this[M+1]=A>>>16,this[M+2]=A>>>8,this[M+3]=A&255,M+4},l.prototype.writeBigInt64LE=Qe(function(A,M=0){return $e(this,A,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=Qe(function(A,M=0){return Ce(this,A,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Be(j,A,M,Q,re,ge){if(M+Q>j.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("Index out of range")}function Ie(j,A,M,Q,re){return A=+A,M=M>>>0,re||Be(j,A,M,4),n.write(j,A,M,Q,23,4),M+4}l.prototype.writeFloatLE=function(A,M,Q){return Ie(this,A,M,!0,Q)},l.prototype.writeFloatBE=function(A,M,Q){return Ie(this,A,M,!1,Q)};function tt(j,A,M,Q,re){return A=+A,M=M>>>0,re||Be(j,A,M,8),n.write(j,A,M,Q,52,8),M+8}l.prototype.writeDoubleLE=function(A,M,Q){return tt(this,A,M,!0,Q)},l.prototype.writeDoubleBE=function(A,M,Q){return tt(this,A,M,!1,Q)},l.prototype.copy=function(A,M,Q,re){if(!l.isBuffer(A))throw new TypeError("argument should be a Buffer");if(Q||(Q=0),!re&&re!==0&&(re=this.length),M>=A.length&&(M=A.length),M||(M=0),re>0&&re=this.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("sourceEnd out of bounds");re>this.length&&(re=this.length),A.length-M>>0,Q=Q===void 0?this.length:Q>>>0,A||(A=0);let ge;if(typeof A=="number")for(ge=M;ge2**32?re=He(String(M)):typeof M=="bigint"&&(re=String(M),(M>BigInt(2)**BigInt(32)||M<-(BigInt(2)**BigInt(32)))&&(re=He(re)),re+="n"),Q+=` It must be ${A}. Received ${re}`,Q},RangeError);function He(j){let A="",M=j.length;const Q=j[0]==="-"?1:0;for(;M>=Q+4;M-=3)A=`_${j.slice(M-3,M)}${A}`;return`${j.slice(0,M)}${A}`}function ut(j,A,M){bt(A,"offset"),(j[A]===void 0||j[A+M]===void 0)&>(A,j.length-(M+1))}function pt(j,A,M,Q,re,ge){if(j>M||j= 0${Ee} and < 2${Ee} ** ${(ge+1)*8}${Ee}`:rt=`>= -(2${Ee} ** ${(ge+1)*8-1}${Ee}) and < 2 ** ${(ge+1)*8-1}${Ee}`,new ke.ERR_OUT_OF_RANGE("value",rt,j)}ut(Q,re,ge)}function bt(j,A){if(typeof j!="number")throw new ke.ERR_INVALID_ARG_TYPE(A,"number",j)}function gt(j,A,M){throw Math.floor(j)!==j?(bt(j,M),new ke.ERR_OUT_OF_RANGE("offset","an integer",j)):A<0?new ke.ERR_BUFFER_OUT_OF_BOUNDS:new ke.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${A}`,j)}const Ut=/[^+/0-9A-Za-z-_]/g;function Gt(j){if(j=j.split("=")[0],j=j.trim().replace(Ut,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function Tt(j,A){A=A||1/0;let M;const Q=j.length;let re=null;const ge=[];for(let Ee=0;Ee55295&&M<57344){if(!re){if(M>56319){(A-=3)>-1&&ge.push(239,191,189);continue}else if(Ee+1===Q){(A-=3)>-1&&ge.push(239,191,189);continue}re=M;continue}if(M<56320){(A-=3)>-1&&ge.push(239,191,189),re=M;continue}M=(re-55296<<10|M-56320)+65536}else re&&(A-=3)>-1&&ge.push(239,191,189);if(re=null,M<128){if((A-=1)<0)break;ge.push(M)}else if(M<2048){if((A-=2)<0)break;ge.push(M>>6|192,M&63|128)}else if(M<65536){if((A-=3)<0)break;ge.push(M>>12|224,M>>6&63|128,M&63|128)}else if(M<1114112){if((A-=4)<0)break;ge.push(M>>18|240,M>>12&63|128,M>>6&63|128,M&63|128)}else throw new Error("Invalid code point")}return ge}function en(j){const A=[];for(let M=0;M>8,re=M%256,ge.push(re),ge.push(Q);return ge}function Dt(j){return e.toByteArray(Gt(j))}function Pt(j,A,M,Q){let re;for(re=0;re=A.length||re>=j.length);++re)A[re+M]=j[re];return re}function pe(j,A){return j instanceof A||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===A.name}function ze(j){return j!==j}const Ge=(function(){const j="0123456789abcdef",A=new Array(256);for(let M=0;M<16;++M){const Q=M*16;for(let re=0;re<16;++re)A[Q+re]=j[M]+j[re]}return A})();function Qe(j){return typeof BigInt>"u"?ht:j}function ht(){throw new Error("BigInt not supported")}})(oE)),oE}Pue();const Iue=t=>{const{config:e}=T.useContext(WD);vn();const{placeholder:n,label:r,getInputRef:i,secureTextEntry:o,Icon:u,onChange:l,value:d,height:h,disabled:g,forceBasic:y,forceRich:w,focused:v=!1,autoFocus:C,...E}=t,[$,O]=T.useState(!1),_=T.useRef(),R=T.useRef(!1),[k,P]=T.useState("tinymce"),{upload:L}=_ue(),{directPath:F}=GV();T.useEffect(()=>{if(e.textEditorModule!=="tinymce")t.onReady&&t.onReady();else{const X=setTimeout(()=>{R.current===!1&&(P("textarea"),t.onReady&&t.onReady())},5e3);return()=>{clearTimeout(X)}}},[]);const q=async(X,ue)=>{const me=await L([new File([X.blob()],"filename")],!0)[0];return F({diskPath:me})},Y=window.matchMedia("(prefers-color-scheme: dark)").matches||document.getElementsByTagName("body")[0].classList.contains("dark-theme");return N.jsx(ES,{focused:$,...t,children:e.textEditorModule==="tinymce"&&!y||w?N.jsx(Oue,{onInit:(X,ue)=>{_.current=ue,setTimeout(()=>{ue.setContent(d||"",{format:"raw"})},0),t.onReady&&t.onReady()},onEditorChange:(X,ue)=>{l&&l(ue.getContent({format:"raw"}))},onLoadContent:()=>{R.current=!0},apiKey:"4dh1g4gxp1gbmxi3hnkro4wf9lfgmqr86khygey2bwb7ps74",onBlur:()=>O(!1),tinymceScriptSrc:Si.PUBLIC_URL+"plugins/js/tinymce/tinymce.min.js",onFocus:()=>O(!0),init:{menubar:!1,height:h||400,images_upload_handler:q,skin:Y?"oxide-dark":"oxide",content_css:Y?"dark":"default",plugins:["example","image","directionality","image"],toolbar:"undo redo | formatselect | example | image | rtl ltr | link | bullist numlist bold italic backcolor h2 h3 | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_style:"body {font-size:18px }"}}):N.jsx("textarea",{...E,value:d,placeholder:n,style:{minHeight:"140px"},autoFocus:C,className:Lo("form-control",t.errorMessage&&"is-invalid",t.validMessage&&"is-valid"),onChange:X=>l&&l(X.target.value),onBlur:()=>O(!1),onFocus:()=>O(!0)})})},zP=t=>{const{placeholder:e,label:n,getInputRef:r,secureTextEntry:i,Icon:o,onChange:u,value:l,disabled:d,focused:h=!1,errorMessage:g,autoFocus:y,...w}=t,[v,C]=T.useState(!1),E=T.useRef(null),$=T.useCallback(()=>{var O;(O=E.current)==null||O.focus()},[E.current]);return N.jsx(ES,{focused:v,onClick:$,...t,label:"",children:N.jsxs("label",{className:"form-label mr-2",children:[N.jsx("input",{...w,ref:E,checked:!!l,type:"checkbox",onChange:O=>u&&u(!l),onBlur:()=>C(!1),onFocus:()=>C(!0),className:"form-checkbox"}),n]})})},Nue=t=>[Si.SUPPORTED_LANGUAGES.includes("en")?{label:t.locale.englishWorldwide,value:"en"}:void 0,Si.SUPPORTED_LANGUAGES.includes("fa")?{label:t.locale.persianIran,value:"fa"}:void 0,Si.SUPPORTED_LANGUAGES.includes("ru")?{label:"Russian (Русский)",value:"ru"}:void 0,Si.SUPPORTED_LANGUAGES.includes("pl")?{label:t.locale.polishPoland,value:"pl"}:void 0,Si.SUPPORTED_LANGUAGES.includes("ua")?{label:"Ukrainain (українська)",value:"ua"}:void 0].filter(Boolean),Mue=({form:t,isEditing:e})=>{const n=vn(),{values:r,setValues:i,setFieldValue:o,errors:u}=t,l=Wn($M),d=Nue(n),h=hue(d);return N.jsxs(N.Fragment,{children:[N.jsxs("div",{className:"row",children:[N.jsx("div",{className:"col-md-12",children:N.jsx(Do,{value:r.firstName,onChange:g=>o(Tr.Fields.firstName,g,!1),errorMessage:u.firstName,label:n.wokspaces.invite.firstName,autoFocus:!e,hint:n.wokspaces.invite.firstNameHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Do,{value:r.lastName,onChange:g=>o(Tr.Fields.lastName,g,!1),errorMessage:u.lastName,label:n.wokspaces.invite.lastName,hint:n.wokspaces.invite.lastNameHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Ex,{keyExtractor:g=>g.value,formEffect:{form:t,field:Tr.Fields.targetUserLocale,beforeSet(g){return g.value}},errorMessage:t.errors.targetUserLocale,querySource:h,label:l.targetLocale,hint:l.targetLocaleHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Iue,{value:r.coverLetter,onChange:g=>o(Tr.Fields.coverLetter,g,!1),forceBasic:!0,errorMessage:u.coverLetter,label:l.coverLetter,placeholder:l.coverLetterHint,hint:l.coverLetterHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Ex,{formEffect:{field:Tr.Fields.role$,form:t},querySource:LS,label:n.wokspaces.invite.role,errorMessage:u.roleId,fnLabelFormat:g=>g.name,hint:n.wokspaces.invite.roleHint})})]}),N.jsxs("div",{className:"row",children:[N.jsx("div",{className:"col-md-12",children:N.jsx(Do,{value:r.email,onChange:g=>o(Tr.Fields.email,g,!1),errorMessage:u.email,label:n.wokspaces.invite.email,hint:n.wokspaces.invite.emailHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(zP,{value:r.forceEmailAddress,onChange:g=>o(Tr.Fields.forceEmailAddress,g),errorMessage:u.forceEmailAddress,label:l.forcedEmailAddress,hint:l.forcedEmailAddressHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Do,{value:r.phonenumber,onChange:g=>o(Tr.Fields.phonenumber,g,!1),errorMessage:u.phonenumber,type:"phonenumber",label:n.wokspaces.invite.phoneNumber,hint:n.wokspaces.invite.phoneNumberHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(zP,{value:r.forcePhoneNumber,onChange:g=>o(Tr.Fields.forcePhoneNumber,g),errorMessage:u.forcePhoneNumber,label:l.forcedPhone,hint:l.forcedPhoneHint})})]})]})},VP=({data:t})=>{const e=vn(),{router:n,uniqueId:r,queryClient:i,locale:o}=F1({data:t}),u=CM({query:{uniqueId:r},queryClient:i}),l=cue({queryClient:i}),d=lue({queryClient:i});return N.jsx(FO,{postHook:l,getSingleHook:u,patchHook:d,onCancel:()=>{n.goBackOrDefault(`/${o}/workspace-invites`)},onFinishUriResolver:(h,g)=>`/${g}/workspace-invites`,Form:Mue,onEditTitle:e.wokspaces.invite.editInvitation,onCreateTitle:e.wokspaces.invite.createInvitation,data:t})},kue=()=>{var u;const t=Ur(),e=vn(),n=t.query.uniqueId;Ci();const r=Wn($M),i=CM({query:{uniqueId:n}});var o=(u=i.query.data)==null?void 0:u.data;return bM((o==null?void 0:o.firstName)+" "+(o==null?void 0:o.lastName)||""),N.jsx(N.Fragment,{children:N.jsx(XO,{getSingleHook:i,editEntityHandler:()=>t.push(Tr.Navigation.edit(n)),children:N.jsx(ZO,{entity:o,fields:[{label:e.wokspaces.invite.firstName,elem:o==null?void 0:o.firstName},{label:e.wokspaces.invite.lastName,elem:o==null?void 0:o.lastName},{label:e.wokspaces.invite.email,elem:o==null?void 0:o.email},{label:e.wokspaces.invite.phoneNumber,elem:o==null?void 0:o.phonenumber},{label:r.forcedEmailAddress,elem:o==null?void 0:o.forceEmailAddress},{label:r.forcedPhone,elem:o==null?void 0:o.forcePhoneNumber},{label:r.targetLocale,elem:o==null?void 0:o.targetUserLocale}]})})})},Due=t=>[{name:Tr.Fields.uniqueId,title:t.table.uniqueId,width:100},{name:"firstName",title:t.wokspaces.invite.firstName,width:100},{name:"lastName",title:t.wokspaces.invite.lastName,width:100},{name:"phoneNumber",title:t.wokspaces.invite.phoneNumber,width:100},{name:"email",title:t.wokspaces.invite.email,width:100},{name:"role_id",title:t.wokspaces.invite.role,width:100,getCellValue:e=>{var n;return(n=e==null?void 0:e.role)==null?void 0:n.name}}];function OM({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var _,R,k;const{options:u,execFn:l}=T.useContext(yn),d=o?o(u):u,h=r?r(d):l?l(d):Lr(d);let y=`${"/workspace-invites".substr(1)}?${Wg.stringify(e)}`;const w=()=>h("GET",y),v=(_=d==null?void 0:d.headers)==null?void 0:_.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Bo(["*abac.WorkspaceInviteEntity",d,e],w,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),O=((k=(R=$.data)==null?void 0:R.data)==null?void 0:k.items)||[];return{query:$,items:O,keyExtractor:P=>P.uniqueId}}OM.UKEY="*abac.WorkspaceInviteEntity";function Fue(t){const{execFnOverride:e,queryClient:n,query:r}=t||{},{options:i,execFn:o}=T.useContext(yn),u=e?e(i):o?o(i):Lr(i);let d=`${"/workspace-invite".substr(1)}?${new URLSearchParams(la(r)).toString()}`;const g=Fr(v=>u("DELETE",d,v)),y=(v,C)=>v;return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(O){n==null||n.setQueryData("*abac.WorkspaceInviteEntity",_=>y(_)),n==null||n.invalidateQueries("*abac.WorkspaceInviteEntity"),E(O)},onError(O){C==null||C.setErrors(ks(O)),$(O)}})}),fnUpdater:y}}const Lue=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(qS,{columns:Due(t),queryHook:OM,uniqueIdHrefHandler:e=>Tr.Navigation.single(e),deleteHook:Fue})})},Uue=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(HS,{pageTitle:t.fbMenu.workspaceInvites,newEntityHandler:({locale:e,router:n})=>{n.push(Tr.Navigation.create())},children:N.jsx(Lue,{})})})};function jue(){return N.jsxs(N.Fragment,{children:[N.jsx(mn,{element:N.jsx(VP,{}),path:Tr.Navigation.Rcreate}),N.jsx(mn,{element:N.jsx(VP,{}),path:Tr.Navigation.Redit}),N.jsx(mn,{element:N.jsx(kue,{}),path:Tr.Navigation.Rsingle}),N.jsx(mn,{element:N.jsx(Uue,{}),path:Tr.Navigation.Rquery})]})}const Bue=()=>{const t=Wn($r);return N.jsxs(N.Fragment,{children:[N.jsx(wM,{title:t.home.title,description:t.home.description}),N.jsx("h2",{children:N.jsx(HE,{to:"passports",children:t.home.passportsTitle})}),N.jsx("p",{children:t.home.passportsDescription}),N.jsx(HE,{to:"passports",className:"btn btn-success btn-sm",children:t.home.passportsTitle})]})},dT=T.createContext({});function hT(t){const e=T.useRef(null);return e.current===null&&(e.current=t()),e.current}const pT=typeof window<"u",TM=pT?T.useLayoutEffect:T.useEffect,GS=T.createContext(null);function mT(t,e){t.indexOf(e)===-1&&t.push(e)}function gT(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Rl=(t,e,n)=>n>e?e:n{};const Pl={},_M=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function AM(t){return typeof t=="object"&&t!==null}const RM=t=>/^0[^.\s]+$/u.test(t);function vT(t){let e;return()=>(e===void 0&&(e=t()),e)}const jo=t=>t,que=(t,e)=>n=>e(t(n)),z1=(...t)=>t.reduce(que),S1=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r};class bT{constructor(){this.subscriptions=[]}add(e){return mT(this.subscriptions,e),()=>gT(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let o=0;ot*1e3,_u=t=>t/1e3;function PM(t,e){return e?t*(1e3/e):0}const IM=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Hue=1e-7,zue=12;function Vue(t,e,n,r,i){let o,u,l=0;do u=e+(n-e)/2,o=IM(u,r,i)-t,o>0?n=u:e=u;while(Math.abs(o)>Hue&&++lVue(o,0,1,t,n);return o=>o===0||o===1?o:IM(i(o),e,r)}const NM=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,MM=t=>e=>1-t(1-e),kM=V1(.33,1.53,.69,.99),wT=MM(kM),DM=NM(wT),FM=t=>(t*=2)<1?.5*wT(t):.5*(2-Math.pow(2,-10*(t-1))),ST=t=>1-Math.sin(Math.acos(t)),LM=MM(ST),UM=NM(ST),Gue=V1(.42,0,1,1),Wue=V1(0,0,.58,1),jM=V1(.42,0,.58,1),Kue=t=>Array.isArray(t)&&typeof t[0]!="number",BM=t=>Array.isArray(t)&&typeof t[0]=="number",Yue={linear:jo,easeIn:Gue,easeInOut:jM,easeOut:Wue,circIn:ST,circInOut:UM,circOut:LM,backIn:wT,backInOut:DM,backOut:kM,anticipate:FM},Que=t=>typeof t=="string",GP=t=>{if(BM(t)){yT(t.length===4);const[e,n,r,i]=t;return V1(e,n,r,i)}else if(Que(t))return Yue[t];return t},rw=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],WP={value:null};function Jue(t,e){let n=new Set,r=new Set,i=!1,o=!1;const u=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},d=0;function h(y){u.has(y)&&(g.schedule(y),t()),d++,y(l)}const g={schedule:(y,w=!1,v=!1)=>{const E=v&&i?n:r;return w&&u.add(y),E.has(y)||E.add(y),y},cancel:y=>{r.delete(y),u.delete(y)},process:y=>{if(l=y,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(h),e&&WP.value&&WP.value.frameloop[e].push(d),d=0,n.clear(),i=!1,o&&(o=!1,g.process(y))}};return g}const Xue=40;function qM(t,e){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,u=rw.reduce((R,k)=>(R[k]=Jue(o,e?k:void 0),R),{}),{setup:l,read:d,resolveKeyframes:h,preUpdate:g,update:y,preRender:w,render:v,postRender:C}=u,E=()=>{const R=Pl.useManualTiming?i.timestamp:performance.now();n=!1,Pl.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(R-i.timestamp,Xue),1)),i.timestamp=R,i.isProcessing=!0,l.process(i),d.process(i),h.process(i),g.process(i),y.process(i),w.process(i),v.process(i),C.process(i),i.isProcessing=!1,n&&e&&(r=!1,t(E))},$=()=>{n=!0,r=!0,i.isProcessing||t(E)};return{schedule:rw.reduce((R,k)=>{const P=u[k];return R[k]=(L,F=!1,q=!1)=>(n||$(),P.schedule(L,F,q)),R},{}),cancel:R=>{for(let k=0;k(Cw===void 0&&xa.set(gi.isProcessing||Pl.useManualTiming?gi.timestamp:performance.now()),Cw),set:t=>{Cw=t,queueMicrotask(Zue)}},HM=t=>e=>typeof e=="string"&&e.startsWith(t),CT=HM("--"),ele=HM("var(--"),$T=t=>ele(t)?tle.test(t.split("/*")[0].trim()):!1,tle=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,uy={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},C1={...uy,transform:t=>Rl(0,1,t)},iw={...uy,default:1},F0=t=>Math.round(t*1e5)/1e5,ET=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function nle(t){return t==null}const rle=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xT=(t,e)=>n=>!!(typeof n=="string"&&rle.test(n)&&n.startsWith(t)||e&&!nle(n)&&Object.prototype.hasOwnProperty.call(n,e)),zM=(t,e,n)=>r=>{if(typeof r!="string")return r;const[i,o,u,l]=r.match(ET);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(u),alpha:l!==void 0?parseFloat(l):1}},ile=t=>Rl(0,255,t),uE={...uy,transform:t=>Math.round(ile(t))},Pp={test:xT("rgb","red"),parse:zM("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+uE.transform(t)+", "+uE.transform(e)+", "+uE.transform(n)+", "+F0(C1.transform(r))+")"};function ale(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Fx={test:xT("#"),parse:ale,transform:Pp.transform},G1=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),bf=G1("deg"),Au=G1("%"),xt=G1("px"),ole=G1("vh"),sle=G1("vw"),KP={...Au,parse:t=>Au.parse(t)/100,transform:t=>Au.transform(t*100)},Pg={test:xT("hsl","hue"),parse:zM("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+Au.transform(F0(e))+", "+Au.transform(F0(n))+", "+F0(C1.transform(r))+")"},Or={test:t=>Pp.test(t)||Fx.test(t)||Pg.test(t),parse:t=>Pp.test(t)?Pp.parse(t):Pg.test(t)?Pg.parse(t):Fx.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Pp.transform(t):Pg.transform(t),getAnimatableNone:t=>{const e=Or.parse(t);return e.alpha=0,Or.transform(e)}},ule=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lle(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(ET))==null?void 0:e.length)||0)+(((n=t.match(ule))==null?void 0:n.length)||0)>0}const VM="number",GM="color",cle="var",fle="var(",YP="${}",dle=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function $1(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=e.replace(dle,d=>(Or.test(d)?(r.color.push(o),i.push(GM),n.push(Or.parse(d))):d.startsWith(fle)?(r.var.push(o),i.push(cle),n.push(d)):(r.number.push(o),i.push(VM),n.push(parseFloat(d))),++o,YP)).split(YP);return{values:n,split:l,indexes:r,types:i}}function WM(t){return $1(t).values}function KM(t){const{split:e,types:n}=$1(t),r=e.length;return i=>{let o="";for(let u=0;utypeof t=="number"?0:Or.test(t)?Or.getAnimatableNone(t):t;function ple(t){const e=WM(t);return KM(t)(e.map(hle))}const Pf={test:lle,parse:WM,createTransformer:KM,getAnimatableNone:ple};function lE(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function mle({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,o=0,u=0;if(!e)i=o=u=n;else{const l=n<.5?n*(1+e):n+e-n*e,d=2*n-l;i=lE(d,l,t+1/3),o=lE(d,l,t),u=lE(d,l,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(u*255),alpha:r}}function sS(t,e){return n=>n>0?e:t}const rr=(t,e,n)=>t+(e-t)*n,cE=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},gle=[Fx,Pp,Pg],yle=t=>gle.find(e=>e.test(t));function QP(t){const e=yle(t);if(!e)return!1;let n=e.parse(t);return e===Pg&&(n=mle(n)),n}const JP=(t,e)=>{const n=QP(t),r=QP(e);if(!n||!r)return sS(t,e);const i={...n};return o=>(i.red=cE(n.red,r.red,o),i.green=cE(n.green,r.green,o),i.blue=cE(n.blue,r.blue,o),i.alpha=rr(n.alpha,r.alpha,o),Pp.transform(i))},Lx=new Set(["none","hidden"]);function vle(t,e){return Lx.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function ble(t,e){return n=>rr(t,e,n)}function OT(t){return typeof t=="number"?ble:typeof t=="string"?$T(t)?sS:Or.test(t)?JP:Cle:Array.isArray(t)?YM:typeof t=="object"?Or.test(t)?JP:wle:sS}function YM(t,e){const n=[...t],r=n.length,i=t.map((o,u)=>OT(o)(o,e[u]));return o=>{for(let u=0;u{for(const o in r)n[o]=r[o](i);return n}}function Sle(t,e){const n=[],r={color:0,var:0,number:0};for(let i=0;i{const n=Pf.createTransformer(e),r=$1(t),i=$1(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Lx.has(t)&&!i.values.length||Lx.has(e)&&!r.values.length?vle(t,e):z1(YM(Sle(r,i),i.values),n):sS(t,e)};function QM(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?rr(t,e,n):OT(t)(t,e)}const $le=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>ir.update(e,n),stop:()=>Rf(e),now:()=>gi.isProcessing?gi.timestamp:xa.now()}},JM=(t,e,n=10)=>{let r="";const i=Math.max(Math.round(e/n),2);for(let o=0;o=uS?1/0:e}function Ele(t,e=100,n){const r=n({...t,keyframes:[0,e]}),i=Math.min(TT(r),uS);return{type:"keyframes",ease:o=>r.next(i*o).value/e,duration:_u(i)}}const xle=5;function XM(t,e,n){const r=Math.max(e-xle,0);return PM(n-t(r),e-r)}const cr={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},fE=.001;function Ole({duration:t=cr.duration,bounce:e=cr.bounce,velocity:n=cr.velocity,mass:r=cr.mass}){let i,o,u=1-e;u=Rl(cr.minDamping,cr.maxDamping,u),t=Rl(cr.minDuration,cr.maxDuration,_u(t)),u<1?(i=h=>{const g=h*u,y=g*t,w=g-n,v=Ux(h,u),C=Math.exp(-y);return fE-w/v*C},o=h=>{const y=h*u*t,w=y*n+n,v=Math.pow(u,2)*Math.pow(h,2)*t,C=Math.exp(-y),E=Ux(Math.pow(h,2),u);return(-i(h)+fE>0?-1:1)*((w-v)*C)/E}):(i=h=>{const g=Math.exp(-h*t),y=(h-n)*t+1;return-fE+g*y},o=h=>{const g=Math.exp(-h*t),y=(n-h)*(t*t);return g*y});const l=5/t,d=_le(i,o,l);if(t=Tu(t),isNaN(d))return{stiffness:cr.stiffness,damping:cr.damping,duration:t};{const h=Math.pow(d,2)*r;return{stiffness:h,damping:u*2*Math.sqrt(r*h),duration:t}}}const Tle=12;function _le(t,e,n){let r=n;for(let i=1;it[n]!==void 0)}function Ple(t){let e={velocity:cr.velocity,stiffness:cr.stiffness,damping:cr.damping,mass:cr.mass,isResolvedFromDuration:!1,...t};if(!XP(t,Rle)&&XP(t,Ale))if(t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*Rl(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:cr.mass,stiffness:i,damping:o}}else{const n=Ole(t);e={...e,...n,mass:cr.mass},e.isResolvedFromDuration=!0}return e}function lS(t=cr.visualDuration,e=cr.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:d,damping:h,mass:g,duration:y,velocity:w,isResolvedFromDuration:v}=Ple({...n,velocity:-_u(n.velocity||0)}),C=w||0,E=h/(2*Math.sqrt(d*g)),$=u-o,O=_u(Math.sqrt(d/g)),_=Math.abs($)<5;r||(r=_?cr.restSpeed.granular:cr.restSpeed.default),i||(i=_?cr.restDelta.granular:cr.restDelta.default);let R;if(E<1){const P=Ux(O,E);R=L=>{const F=Math.exp(-E*O*L);return u-F*((C+E*O*$)/P*Math.sin(P*L)+$*Math.cos(P*L))}}else if(E===1)R=P=>u-Math.exp(-O*P)*($+(C+O*$)*P);else{const P=O*Math.sqrt(E*E-1);R=L=>{const F=Math.exp(-E*O*L),q=Math.min(P*L,300);return u-F*((C+E*O*$)*Math.sinh(q)+P*$*Math.cosh(q))/P}}const k={calculatedDuration:v&&y||null,next:P=>{const L=R(P);if(v)l.done=P>=y;else{let F=P===0?C:0;E<1&&(F=P===0?Tu(C):XM(R,P,L));const q=Math.abs(F)<=r,Y=Math.abs(u-L)<=i;l.done=q&&Y}return l.value=l.done?u:L,l},toString:()=>{const P=Math.min(TT(k),uS),L=JM(F=>k.next(P*F).value,P,30);return P+"ms "+L},toTransition:()=>{}};return k}lS.applyToOptions=t=>{const e=Ele(t,100,lS);return t.ease=e.ease,t.duration=Tu(e.duration),t.type="keyframes",t};function jx({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:u,min:l,max:d,restDelta:h=.5,restSpeed:g}){const y=t[0],w={done:!1,value:y},v=q=>l!==void 0&&qd,C=q=>l===void 0?d:d===void 0||Math.abs(l-q)-E*Math.exp(-q/r),R=q=>O+_(q),k=q=>{const Y=_(q),X=R(q);w.done=Math.abs(Y)<=h,w.value=w.done?O:X};let P,L;const F=q=>{v(w.value)&&(P=q,L=lS({keyframes:[w.value,C(w.value)],velocity:XM(R,q,w.value),damping:i,stiffness:o,restDelta:h,restSpeed:g}))};return F(0),{calculatedDuration:null,next:q=>{let Y=!1;return!L&&P===void 0&&(Y=!0,k(q),F(q)),P!==void 0&&q>=P?L.next(q-P):(!Y&&k(q),w)}}}function Ile(t,e,n){const r=[],i=n||Pl.mix||QM,o=t.length-1;for(let u=0;ue[0];if(o===2&&e[0]===e[1])return()=>e[1];const u=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const l=Ile(e,r,i),d=l.length,h=g=>{if(u&&g1)for(;yh(Rl(t[0],t[o-1],g)):h}function Mle(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=S1(0,e,r);t.push(rr(n,1,i))}}function kle(t){const e=[0];return Mle(e,t.length-1),e}function Dle(t,e){return t.map(n=>n*e)}function Fle(t,e){return t.map(()=>e||jM).splice(0,t.length-1)}function L0({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=Kue(r)?r.map(GP):GP(r),o={done:!1,value:e[0]},u=Dle(n&&n.length===e.length?n:kle(e),t),l=Nle(u,e,{ease:Array.isArray(i)?i:Fle(e,i)});return{calculatedDuration:t,next:d=>(o.value=l(d),o.done=d>=t,o)}}const Lle=t=>t!==null;function _T(t,{repeat:e,repeatType:n="loop"},r,i=1){const o=t.filter(Lle),l=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!l||r===void 0?o[l]:r}const Ule={decay:jx,inertia:jx,tween:L0,keyframes:L0,spring:lS};function ZM(t){typeof t.type=="string"&&(t.type=Ule[t.type])}class AT{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const jle=t=>t/100;class RT extends AT{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==xa.now()&&this.tick(xa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;ZM(e);const{type:n=L0,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:u=0}=e;let{keyframes:l}=e;const d=n||L0;d!==L0&&typeof l[0]!="number"&&(this.mixKeyframes=z1(jle,QM(l[0],l[1])),l=[0,100]);const h=d({...e,keyframes:l});o==="mirror"&&(this.mirroredGenerator=d({...e,keyframes:[...l].reverse(),velocity:-u})),h.calculatedDuration===null&&(h.calculatedDuration=TT(h));const{calculatedDuration:g}=h;this.calculatedDuration=g,this.resolvedDuration=g+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=h}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:u,resolvedDuration:l,calculatedDuration:d}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:g,repeat:y,repeatType:w,repeatDelay:v,type:C,onUpdate:E,finalKeyframe:$}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const O=this.currentTime-h*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?O<0:O>i;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let R=this.currentTime,k=r;if(y){const q=Math.min(this.currentTime,i)/l;let Y=Math.floor(q),X=q%1;!X&&q>=1&&(X=1),X===1&&Y--,Y=Math.min(Y,y+1),!!(Y%2)&&(w==="reverse"?(X=1-X,v&&(X-=v/l)):w==="mirror"&&(k=u)),R=Rl(0,1,X)*l}const P=_?{done:!1,value:g[0]}:k.next(R);o&&(P.value=o(P.value));let{done:L}=P;!_&&d!==null&&(L=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return F&&C!==jx&&(P.value=_T(g,this.options,$,this.speed)),E&&E(P.value),F&&this.finish(),P}then(e,n){return this.finished.then(e,n)}get duration(){return _u(this.calculatedDuration)}get time(){return _u(this.currentTime)}set time(e){var n;e=Tu(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(xa.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=_u(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:e=$le,startTime:n}=this.options;this.driver||(this.driver=e(u=>this.tick(u))),(o=(i=this.options).onPlay)==null||o.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(xa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(e=this.options).onComplete)==null||n.call(e)}cancel(){var e,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(e=this.options).onCancel)==null||n.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),e.observe(this)}}function Ble(t){for(let e=1;et*180/Math.PI,Bx=t=>{const e=Ip(Math.atan2(t[1],t[0]));return qx(e)},qle={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Bx,rotateZ:Bx,skewX:t=>Ip(Math.atan(t[1])),skewY:t=>Ip(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},qx=t=>(t=t%360,t<0&&(t+=360),t),ZP=Bx,e5=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),t5=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Hle={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:e5,scaleY:t5,scale:t=>(e5(t)+t5(t))/2,rotateX:t=>qx(Ip(Math.atan2(t[6],t[5]))),rotateY:t=>qx(Ip(Math.atan2(-t[2],t[0]))),rotateZ:ZP,rotate:ZP,skewX:t=>Ip(Math.atan(t[4])),skewY:t=>Ip(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Hx(t){return t.includes("scale")?1:0}function zx(t,e){if(!t||t==="none")return Hx(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=Hle,i=n;else{const l=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=qle,i=l}if(!i)return Hx(e);const o=r[e],u=i[1].split(",").map(Vle);return typeof o=="function"?o(u):u[o]}const zle=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return zx(n,e)};function Vle(t){return parseFloat(t.trim())}const ly=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],cy=new Set(ly),n5=t=>t===uy||t===xt,Gle=new Set(["x","y","z"]),Wle=ly.filter(t=>!Gle.has(t));function Kle(t){const e=[];return Wle.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const kp={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>zx(e,"x"),y:(t,{transform:e})=>zx(e,"y")};kp.translateX=kp.x;kp.translateY=kp.y;const Dp=new Set;let Vx=!1,Gx=!1,Wx=!1;function ek(){if(Gx){const t=Array.from(Dp).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{const i=Kle(r);i.length&&(n.set(r,i),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,u])=>{var l;(l=r.getValue(o))==null||l.set(u)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Gx=!1,Vx=!1,Dp.forEach(t=>t.complete(Wx)),Dp.clear()}function tk(){Dp.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Gx=!0)})}function Yle(){Wx=!0,tk(),ek(),Wx=!1}class PT{constructor(e,n,r,i,o,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Dp.add(this),Vx||(Vx=!0,ir.read(tk),ir.resolveKeyframes(ek))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;if(e[0]===null){const o=i==null?void 0:i.get(),u=e[e.length-1];if(o!==void 0)e[0]=o;else if(r&&n){const l=r.readValue(n,u);l!=null&&(e[0]=l)}e[0]===void 0&&(e[0]=u),i&&o===void 0&&i.set(e[0])}Ble(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Dp.delete(this)}cancel(){this.state==="scheduled"&&(Dp.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Qle=t=>t.startsWith("--");function Jle(t,e,n){Qle(e)?t.style.setProperty(e,n):t.style[e]=n}const Xle=vT(()=>window.ScrollTimeline!==void 0),Zle={};function ece(t,e){const n=vT(t);return()=>Zle[e]??n()}const nk=ece(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),R0=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,r5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:R0([0,.65,.55,1]),circOut:R0([.55,0,1,.45]),backIn:R0([.31,.01,.66,-.59]),backOut:R0([.33,1.53,.69,.99])};function rk(t,e){if(t)return typeof t=="function"?nk()?JM(t,e):"ease-out":BM(t)?R0(t):Array.isArray(t)?t.map(n=>rk(n,e)||r5.easeOut):r5[t]}function tce(t,e,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:u="loop",ease:l="easeOut",times:d}={},h=void 0){const g={[e]:n};d&&(g.offset=d);const y=rk(l,i);Array.isArray(y)&&(g.easing=y);const w={delay:r,duration:i,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:o+1,direction:u==="reverse"?"alternate":"normal"};return h&&(w.pseudoElement=h),t.animate(g,w)}function ik(t){return typeof t=="function"&&"applyToOptions"in t}function nce({type:t,...e}){return ik(t)&&nk()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class rce extends AT{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:u=!1,finalKeyframe:l,onComplete:d}=e;this.isPseudoElement=!!o,this.allowFlatten=u,this.options=e,yT(typeof e.type!="string");const h=nce(e);this.animation=tce(n,r,i,h,o),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const g=_T(i,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(g):Jle(n,r,g),this.animation.cancel()}d==null||d(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,n;(n=(e=this.animation).finish)==null||n.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,n;this.isPseudoElement||(n=(e=this.animation).commitStyles)==null||n.call(e)}get duration(){var n,r;const e=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return _u(Number(e))}get time(){return _u(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Tu(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&Xle()?(this.animation.timeline=e,jo):n(this)}}const ak={anticipate:FM,backInOut:DM,circInOut:UM};function ice(t){return t in ak}function ace(t){typeof t.ease=="string"&&ice(t.ease)&&(t.ease=ak[t.ease])}const i5=10;class oce extends rce{constructor(e){ace(e),ZM(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...u}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const l=new RT({...u,autoplay:!1}),d=Tu(this.finishedTime??this.time);n.setWithVelocity(l.sample(d-i5).value,l.sample(d).value,i5),l.stop()}}const a5=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Pf.test(t)||t==="0")&&!t.startsWith("url("));function sce(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function fce(t){var h;const{motionValue:e,name:n,repeatDelay:r,repeatType:i,damping:o,type:u}=t;if(!IT((h=e==null?void 0:e.owner)==null?void 0:h.current))return!1;const{onUpdate:l,transformTemplate:d}=e.owner.getProps();return cce()&&n&&lce.has(n)&&(n!=="transform"||!d)&&!l&&!r&&i!=="mirror"&&o!==0&&u!=="inertia"}const dce=40;class hce extends AT{constructor({autoplay:e=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:u="loop",keyframes:l,name:d,motionValue:h,element:g,...y}){var C;super(),this.stop=()=>{var E,$;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),($=this.keyframeResolver)==null||$.cancel()},this.createdAt=xa.now();const w={autoplay:e,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:u,name:d,motionValue:h,element:g,...y},v=(g==null?void 0:g.KeyframeResolver)||PT;this.keyframeResolver=new v(l,(E,$,O)=>this.onKeyframesResolved(E,$,w,!O),d,h,g),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(e,n,r,i){this.keyframeResolver=void 0;const{name:o,type:u,velocity:l,delay:d,isHandoff:h,onUpdate:g}=r;this.resolvedAt=xa.now(),uce(e,o,u,l)||((Pl.instantAnimations||!d)&&(g==null||g(_T(e,r,n))),e[0]=e[e.length-1],r.duration=0,r.repeat=0);const w={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>dce?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:e},v=!h&&fce(w)?new oce({...w,element:w.motionValue.owner.current}):new RT(w);v.finished.then(()=>this.notifyFinished()).catch(jo),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),Yle()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const pce=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function mce(t){const e=pce.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}function ok(t,e,n=1){const[r,i]=mce(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const u=o.trim();return _M(u)?parseFloat(u):u}return $T(i)?ok(i,e,n+1):i}function NT(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}const sk=new Set(["width","height","top","left","right","bottom",...ly]),gce={test:t=>t==="auto",parse:t=>t},uk=t=>e=>e.test(t),lk=[uy,xt,Au,bf,sle,ole,gce],o5=t=>lk.find(uk(t));function yce(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||RM(t):!0}const vce=new Set(["brightness","contrast","saturate","opacity"]);function bce(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(ET)||[];if(!r)return t;const i=n.replace(r,"");let o=vce.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}const wce=/\b([a-z-]*)\(.*?\)/gu,Kx={...Pf,getAnimatableNone:t=>{const e=t.match(wce);return e?e.map(bce).join(" "):t}},s5={...uy,transform:Math.round},Sce={rotate:bf,rotateX:bf,rotateY:bf,rotateZ:bf,scale:iw,scaleX:iw,scaleY:iw,scaleZ:iw,skew:bf,skewX:bf,skewY:bf,distance:xt,translateX:xt,translateY:xt,translateZ:xt,x:xt,y:xt,z:xt,perspective:xt,transformPerspective:xt,opacity:C1,originX:KP,originY:KP,originZ:xt},MT={borderWidth:xt,borderTopWidth:xt,borderRightWidth:xt,borderBottomWidth:xt,borderLeftWidth:xt,borderRadius:xt,radius:xt,borderTopLeftRadius:xt,borderTopRightRadius:xt,borderBottomRightRadius:xt,borderBottomLeftRadius:xt,width:xt,maxWidth:xt,height:xt,maxHeight:xt,top:xt,right:xt,bottom:xt,left:xt,padding:xt,paddingTop:xt,paddingRight:xt,paddingBottom:xt,paddingLeft:xt,margin:xt,marginTop:xt,marginRight:xt,marginBottom:xt,marginLeft:xt,backgroundPositionX:xt,backgroundPositionY:xt,...Sce,zIndex:s5,fillOpacity:C1,strokeOpacity:C1,numOctaves:s5},Cce={...MT,color:Or,backgroundColor:Or,outlineColor:Or,fill:Or,stroke:Or,borderColor:Or,borderTopColor:Or,borderRightColor:Or,borderBottomColor:Or,borderLeftColor:Or,filter:Kx,WebkitFilter:Kx},ck=t=>Cce[t];function fk(t,e){let n=ck(t);return n!==Kx&&(n=Pf),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const $ce=new Set(["auto","none","0"]);function Ece(t,e,n){let r=0,i;for(;r{e.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function Oce(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const i=(n==null?void 0:n[t])??r.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const dk=(t,e)=>e&&typeof t=="number"?e.transform(t):t,u5=30,Tce=t=>!isNaN(parseFloat(t));class _ce{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{var u,l;const o=xa.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty();i&&((l=this.events.renderRequest)==null||l.notify(this.current))},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=xa.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Tce(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new bT);const r=this.events[e].add(n);return e==="change"?()=>{r(),ir.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=xa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>u5)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,u5);return PM(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,n;(e=this.dependents)==null||e.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Yg(t,e){return new _ce(t,e)}const{schedule:kT}=qM(queueMicrotask,!1),Rs={x:!1,y:!1};function hk(){return Rs.x||Rs.y}function Ace(t){return t==="x"||t==="y"?Rs[t]?null:(Rs[t]=!0,()=>{Rs[t]=!1}):Rs.x||Rs.y?null:(Rs.x=Rs.y=!0,()=>{Rs.x=Rs.y=!1})}function pk(t,e){const n=Oce(t),r=new AbortController,i={passive:!0,...e,signal:r.signal};return[n,i,()=>r.abort()]}function l5(t){return!(t.pointerType==="touch"||hk())}function Rce(t,e,n={}){const[r,i,o]=pk(t,n),u=l=>{if(!l5(l))return;const{target:d}=l,h=e(d,l);if(typeof h!="function"||!d)return;const g=y=>{l5(y)&&(h(y),d.removeEventListener("pointerleave",g))};d.addEventListener("pointerleave",g,i)};return r.forEach(l=>{l.addEventListener("pointerenter",u,i)}),o}const mk=(t,e)=>e?t===e?!0:mk(t,e.parentElement):!1,DT=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Pce=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Ice(t){return Pce.has(t.tagName)||t.tabIndex!==-1}const $w=new WeakSet;function c5(t){return e=>{e.key==="Enter"&&t(e)}}function dE(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Nce=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=c5(()=>{if($w.has(n))return;dE(n,"down");const i=c5(()=>{dE(n,"up")}),o=()=>dE(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function f5(t){return DT(t)&&!hk()}function Mce(t,e,n={}){const[r,i,o]=pk(t,n),u=l=>{const d=l.currentTarget;if(!f5(l))return;$w.add(d);const h=e(d,l),g=(v,C)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",w),$w.has(d)&&$w.delete(d),f5(v)&&typeof h=="function"&&h(v,{success:C})},y=v=>{g(v,d===window||d===document||n.useGlobalTarget||mk(d,v.target))},w=v=>{g(v,!1)};window.addEventListener("pointerup",y,i),window.addEventListener("pointercancel",w,i)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",u,i),IT(l)&&(l.addEventListener("focus",h=>Nce(h,i)),!Ice(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function gk(t){return AM(t)&&"ownerSVGElement"in t}function kce(t){return gk(t)&&t.tagName==="svg"}const ki=t=>!!(t&&t.getVelocity),Dce=[...lk,Or,Pf],Fce=t=>Dce.find(uk(t)),FT=T.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class Lce extends T.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=IT(r)&&r.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Uce({children:t,isPresent:e,anchorX:n}){const r=T.useId(),i=T.useRef(null),o=T.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=T.useContext(FT);return T.useInsertionEffect(()=>{const{width:l,height:d,top:h,left:g,right:y}=o.current;if(e||!i.current||!l||!d)return;const w=n==="left"?`left: ${g}`:`right: ${y}`;i.current.dataset.motionPopId=r;const v=document.createElement("style");return u&&(v.nonce=u),document.head.appendChild(v),v.sheet&&v.sheet.insertRule(` + [data-motion-pop-id="${r}"] { + position: absolute !important; + width: ${l}px !important; + height: ${d}px !important; + ${w}px !important; + top: ${h}px !important; + } + `),()=>{document.head.contains(v)&&document.head.removeChild(v)}},[e]),N.jsx(Lce,{isPresent:e,childRef:i,sizeRef:o,children:T.cloneElement(t,{ref:i})})}const jce=({children:t,initial:e,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:u,anchorX:l})=>{const d=hT(Bce),h=T.useId();let g=!0,y=T.useMemo(()=>(g=!1,{id:h,initial:e,isPresent:n,custom:i,onExitComplete:w=>{d.set(w,!0);for(const v of d.values())if(!v)return;r&&r()},register:w=>(d.set(w,!1),()=>d.delete(w))}),[n,d,r]);return o&&g&&(y={...y}),T.useMemo(()=>{d.forEach((w,v)=>d.set(v,!1))},[n]),T.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),u==="popLayout"&&(t=N.jsx(Uce,{isPresent:n,anchorX:l,children:t})),N.jsx(GS.Provider,{value:y,children:t})};function Bce(){return new Map}function yk(t=!0){const e=T.useContext(GS);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=T.useId();T.useEffect(()=>{if(t)return i(o)},[t]);const u=T.useCallback(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,u]:[!0]}const aw=t=>t.key||"";function d5(t){const e=[];return T.Children.forEach(t,n=>{T.isValidElement(n)&&e.push(n)}),e}const qce=({children:t,custom:e,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:u=!1,anchorX:l="left"})=>{const[d,h]=yk(u),g=T.useMemo(()=>d5(t),[t]),y=u&&!d?[]:g.map(aw),w=T.useRef(!0),v=T.useRef(g),C=hT(()=>new Map),[E,$]=T.useState(g),[O,_]=T.useState(g);TM(()=>{w.current=!1,v.current=g;for(let P=0;P{const L=aw(P),F=u&&!d?!1:g===O||y.includes(L),q=()=>{if(C.has(L))C.set(L,!0);else return;let Y=!0;C.forEach(X=>{X||(Y=!1)}),Y&&(k==null||k(),_(v.current),u&&(h==null||h()),r&&r())};return N.jsx(jce,{isPresent:F,initial:!w.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:o,onExitComplete:F?void 0:q,anchorX:l,children:P},L)})})},vk=T.createContext({strict:!1}),h5={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Qg={};for(const t in h5)Qg[t]={isEnabled:e=>h5[t].some(n=>!!e[n])};function Hce(t){for(const e in t)Qg[e]={...Qg[e],...t[e]}}const zce=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function cS(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||zce.has(t)}let bk=t=>!cS(t);function Vce(t){typeof t=="function"&&(bk=e=>e.startsWith("on")?!cS(e):t(e))}try{Vce(require("@emotion/is-prop-valid").default)}catch{}function Gce(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(bk(i)||n===!0&&cS(i)||!e&&!cS(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}function Wce(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...r)=>t(...r);return new Proxy(n,{get:(r,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}const WS=T.createContext({});function KS(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function E1(t){return typeof t=="string"||Array.isArray(t)}const LT=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],UT=["initial",...LT];function YS(t){return KS(t.animate)||UT.some(e=>E1(t[e]))}function wk(t){return!!(YS(t)||t.variants)}function Kce(t,e){if(YS(t)){const{initial:n,animate:r}=t;return{initial:n===!1||E1(n)?n:void 0,animate:E1(r)?r:void 0}}return t.inherit!==!1?e:{}}function Yce(t){const{initial:e,animate:n}=Kce(t,T.useContext(WS));return T.useMemo(()=>({initial:e,animate:n}),[p5(e),p5(n)])}function p5(t){return Array.isArray(t)?t.join(" "):t}const Qce=Symbol.for("motionComponentSymbol");function Ig(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Jce(t,e,n){return T.useCallback(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):Ig(n)&&(n.current=r))},[e])}const jT=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Xce="framerAppearId",Sk="data-"+jT(Xce),Ck=T.createContext({});function Zce(t,e,n,r,i){var E,$;const{visualElement:o}=T.useContext(WS),u=T.useContext(vk),l=T.useContext(GS),d=T.useContext(FT).reducedMotion,h=T.useRef(null);r=r||u.renderer,!h.current&&r&&(h.current=r(t,{visualState:e,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d}));const g=h.current,y=T.useContext(Ck);g&&!g.projection&&i&&(g.type==="html"||g.type==="svg")&&efe(h.current,n,i,y);const w=T.useRef(!1);T.useInsertionEffect(()=>{g&&w.current&&g.update(n,l)});const v=n[Sk],C=T.useRef(!!v&&!((E=window.MotionHandoffIsComplete)!=null&&E.call(window,v))&&(($=window.MotionHasOptimisedAnimation)==null?void 0:$.call(window,v)));return TM(()=>{g&&(w.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),kT.render(g.render),C.current&&g.animationState&&g.animationState.animateChanges())}),T.useEffect(()=>{g&&(!C.current&&g.animationState&&g.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var O;(O=window.MotionHandoffMarkAsComplete)==null||O.call(window,v)}),C.current=!1))}),g}function efe(t,e,n,r){const{layoutId:i,layout:o,drag:u,dragConstraints:l,layoutScroll:d,layoutRoot:h,layoutCrossfade:g}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:$k(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!u||l&&Ig(l),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:g,layoutScroll:d,layoutRoot:h})}function $k(t){if(t)return t.options.allowProjection!==!1?t.projection:$k(t.parent)}function tfe({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&Hce(t);function o(l,d){let h;const g={...T.useContext(FT),...l,layoutId:nfe(l)},{isStatic:y}=g,w=Yce(l),v=r(l,y);if(!y&&pT){rfe();const C=ife(g);h=C.MeasureLayout,w.visualElement=Zce(i,v,g,e,C.ProjectionNode)}return N.jsxs(WS.Provider,{value:w,children:[h&&w.visualElement?N.jsx(h,{visualElement:w.visualElement,...g}):null,n(i,l,Jce(v,w.visualElement,d),v,y,w.visualElement)]})}o.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const u=T.forwardRef(o);return u[Qce]=i,u}function nfe({layoutId:t}){const e=T.useContext(dT).id;return e&&t!==void 0?e+"-"+t:t}function rfe(t,e){T.useContext(vk).strict}function ife(t){const{drag:e,layout:n}=Qg;if(!e&&!n)return{};const r={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const x1={};function afe(t){for(const e in t)x1[e]=t[e],CT(e)&&(x1[e].isCSSVariable=!0)}function Ek(t,{layout:e,layoutId:n}){return cy.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!x1[t]||t==="opacity")}const ofe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sfe=ly.length;function ufe(t,e,n){let r="",i=!0;for(let o=0;o({style:{},transform:{},transformOrigin:{},vars:{}});function xk(t,e,n){for(const r in e)!ki(e[r])&&!Ek(r,n)&&(t[r]=e[r])}function lfe({transformTemplate:t},e){return T.useMemo(()=>{const n=qT();return BT(n,e,t),Object.assign({},n.vars,n.style)},[e])}function cfe(t,e){const n=t.style||{},r={};return xk(r,n,t),Object.assign(r,lfe(t,e)),r}function ffe(t,e){const n={},r=cfe(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}const dfe={offset:"stroke-dashoffset",array:"stroke-dasharray"},hfe={offset:"strokeDashoffset",array:"strokeDasharray"};function pfe(t,e,n=1,r=0,i=!0){t.pathLength=1;const o=i?dfe:hfe;t[o.offset]=xt.transform(-r);const u=xt.transform(e),l=xt.transform(n);t[o.array]=`${u} ${l}`}function Ok(t,{attrX:e,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:u=0,...l},d,h,g){if(BT(t,l,h),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:w}=t;y.transform&&(w.transform=y.transform,delete y.transform),(w.transform||y.transformOrigin)&&(w.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),w.transform&&(w.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete y.transformBox),e!==void 0&&(y.x=e),n!==void 0&&(y.y=n),r!==void 0&&(y.scale=r),i!==void 0&&pfe(y,i,o,u,!1)}const Tk=()=>({...qT(),attrs:{}}),_k=t=>typeof t=="string"&&t.toLowerCase()==="svg";function mfe(t,e,n,r){const i=T.useMemo(()=>{const o=Tk();return Ok(o,e,_k(r),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};xk(o,t.style,t),i.style={...o,...i.style}}return i}const gfe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function HT(t){return typeof t!="string"||t.includes("-")?!1:!!(gfe.indexOf(t)>-1||/[A-Z]/u.test(t))}function yfe(t=!1){return(n,r,i,{latestValues:o},u)=>{const d=(HT(n)?mfe:ffe)(r,o,u,n),h=Gce(r,typeof n=="string",t),g=n!==T.Fragment?{...h,...d,ref:i}:{},{children:y}=r,w=T.useMemo(()=>ki(y)?y.get():y,[y]);return T.createElement(n,{...g,children:w})}}function m5(t){const e=[{},{}];return t==null||t.values.forEach((n,r)=>{e[0][r]=n.get(),e[1][r]=n.getVelocity()}),e}function zT(t,e,n,r){if(typeof e=="function"){const[i,o]=m5(r);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=m5(r);e=e(n!==void 0?n:t.custom,i,o)}return e}function Ew(t){return ki(t)?t.get():t}function vfe({scrapeMotionValuesFromProps:t,createRenderState:e},n,r,i){return{latestValues:bfe(n,r,i,t),renderState:e()}}const Ak=t=>(e,n)=>{const r=T.useContext(WS),i=T.useContext(GS),o=()=>vfe(t,e,r,i);return n?o():hT(o)};function bfe(t,e,n,r){const i={},o=r(t,{});for(const w in o)i[w]=Ew(o[w]);let{initial:u,animate:l}=t;const d=YS(t),h=wk(t);e&&h&&!d&&t.inherit!==!1&&(u===void 0&&(u=e.initial),l===void 0&&(l=e.animate));let g=n?n.initial===!1:!1;g=g||u===!1;const y=g?l:u;if(y&&typeof y!="boolean"&&!KS(y)){const w=Array.isArray(y)?y:[y];for(let v=0;vArray.isArray(t);function $fe(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Yg(n))}function Efe(t){return Yx(t)?t[t.length-1]||0:t}function xfe(t,e){const n=O1(t,e);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const u in o){const l=Efe(o[u]);$fe(t,u,l)}}function Ofe(t){return!!(ki(t)&&t.add)}function Qx(t,e){const n=t.getValue("willChange");if(Ofe(n))return n.add(e);if(!n&&Pl.WillChange){const r=new Pl.WillChange("auto");t.addValue("willChange",r),r.add(e)}}function Pk(t){return t.props[Sk]}const Tfe=t=>t!==null;function _fe(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(Tfe),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[o]}const Afe={type:"spring",stiffness:500,damping:25,restSpeed:10},Rfe=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Pfe={type:"keyframes",duration:.8},Ife={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Nfe=(t,{keyframes:e})=>e.length>2?Pfe:cy.has(t)?t.startsWith("scale")?Rfe(e[1]):Afe:Ife;function Mfe({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:u,repeatDelay:l,from:d,elapsed:h,...g}){return!!Object.keys(g).length}const GT=(t,e,n,r={},i,o)=>u=>{const l=NT(r,t)||{},d=l.delay||r.delay||0;let{elapsed:h=0}=r;h=h-Tu(d);const g={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:w=>{e.set(w),l.onUpdate&&l.onUpdate(w)},onComplete:()=>{u(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:i};Mfe(l)||Object.assign(g,Nfe(t,g)),g.duration&&(g.duration=Tu(g.duration)),g.repeatDelay&&(g.repeatDelay=Tu(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(y=!0)),(Pl.instantAnimations||Pl.skipAnimations)&&(y=!0,g.duration=0,g.delay=0),g.allowFlatten=!l.type&&!l.ease,y&&!o&&e.get()!==void 0){const w=_fe(g.keyframes,l);if(w!==void 0){ir.update(()=>{g.onUpdate(w),g.onComplete()});return}}return l.isSync?new RT(g):new hce(g)};function kfe({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function Ik(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:u,...l}=e;r&&(o=r);const d=[],h=i&&t.animationState&&t.animationState.getState()[i];for(const g in l){const y=t.getValue(g,t.latestValues[g]??null),w=l[g];if(w===void 0||h&&kfe(h,g))continue;const v={delay:n,...NT(o||{},g)},C=y.get();if(C!==void 0&&!y.isAnimating&&!Array.isArray(w)&&w===C&&!v.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const O=Pk(t);if(O){const _=window.MotionHandoffAnimation(O,g,ir);_!==null&&(v.startTime=_,E=!0)}}Qx(t,g),y.start(GT(g,y,w,t.shouldReduceMotion&&sk.has(g)?{type:!1}:v,t,E));const $=y.animation;$&&d.push($)}return u&&Promise.all(d).then(()=>{ir.update(()=>{u&&xfe(t,u)})}),d}function Jx(t,e,n={}){var d;const r=O1(t,e,n.type==="exit"?(d=t.presenceContext)==null?void 0:d.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Ik(t,r,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(h=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:w}=i;return Dfe(t,e,g+h,y,w,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[h,g]=l==="beforeChildren"?[o,u]:[u,o];return h().then(()=>g())}else return Promise.all([o(),u(n.delay)])}function Dfe(t,e,n=0,r=0,i=1,o){const u=[],l=(t.variantChildren.size-1)*r,d=i===1?(h=0)=>h*r:(h=0)=>l-h*r;return Array.from(t.variantChildren).sort(Ffe).forEach((h,g)=>{h.notify("AnimationStart",e),u.push(Jx(h,e,{...o,delay:n+d(g)}).then(()=>h.notify("AnimationComplete",e)))}),Promise.all(u)}function Ffe(t,e){return t.sortNodePosition(e)}function Lfe(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(o=>Jx(t,o,n));r=Promise.all(i)}else if(typeof e=="string")r=Jx(t,e,n);else{const i=typeof e=="function"?O1(t,e,n.custom):e;r=Promise.all(Ik(t,i,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}function Nk(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;rPromise.all(e.map(({animation:n,options:r})=>Lfe(t,n,r)))}function Hfe(t){let e=qfe(t),n=g5(),r=!0;const i=d=>(h,g)=>{var w;const y=O1(t,g,d==="exit"?(w=t.presenceContext)==null?void 0:w.custom:void 0);if(y){const{transition:v,transitionEnd:C,...E}=y;h={...h,...E,...C}}return h};function o(d){e=d(t)}function u(d){const{props:h}=t,g=Mk(t.parent)||{},y=[],w=new Set;let v={},C=1/0;for(let $=0;$C&&k,Y=!1;const X=Array.isArray(R)?R:[R];let ue=X.reduce(i(O),{});P===!1&&(ue={});const{prevResolvedValues:me={}}=_,te={...me,...ue},be=V=>{q=!0,w.has(V)&&(Y=!0,w.delete(V)),_.needsAnimating[V]=!0;const H=t.getValue(V);H&&(H.liveStyle=!1)};for(const V in te){const H=ue[V],ie=me[V];if(v.hasOwnProperty(V))continue;let G=!1;Yx(H)&&Yx(ie)?G=!Nk(H,ie):G=H!==ie,G?H!=null?be(V):w.add(V):H!==void 0&&w.has(V)?be(V):_.protectedKeys[V]=!0}_.prevProp=R,_.prevResolvedValues=ue,_.isActive&&(v={...v,...ue}),r&&t.blockInitialAnimation&&(q=!1),q&&(!(L&&F)||Y)&&y.push(...X.map(V=>({animation:V,options:{type:O}})))}if(w.size){const $={};if(typeof h.initial!="boolean"){const O=O1(t,Array.isArray(h.initial)?h.initial[0]:h.initial);O&&O.transition&&($.transition=O.transition)}w.forEach(O=>{const _=t.getBaseTarget(O),R=t.getValue(O);R&&(R.liveStyle=!0),$[O]=_??null}),y.push({animation:$})}let E=!!y.length;return r&&(h.initial===!1||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(E=!1),r=!1,E?e(y):Promise.resolve()}function l(d,h){var y;if(n[d].isActive===h)return Promise.resolve();(y=t.variantChildren)==null||y.forEach(w=>{var v;return(v=w.animationState)==null?void 0:v.setActive(d,h)}),n[d].isActive=h;const g=u(d);for(const w in n)n[w].protectedKeys={};return g}return{animateChanges:u,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=g5(),r=!0}}}function zfe(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Nk(e,t):!1}function hp(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function g5(){return{animate:hp(!0),whileInView:hp(),whileHover:hp(),whileTap:hp(),whileDrag:hp(),whileFocus:hp(),exit:hp()}}class Yf{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Vfe extends Yf{constructor(e){super(e),e.animationState||(e.animationState=Hfe(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();KS(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let Gfe=0;class Wfe extends Yf{constructor(){super(...arguments),this.id=Gfe++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const Kfe={animation:{Feature:Vfe},exit:{Feature:Wfe}};function T1(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function W1(t){return{point:{x:t.pageX,y:t.pageY}}}const Yfe=t=>e=>DT(e)&&t(e,W1(e));function U0(t,e,n,r){return T1(t,e,Yfe(n),r)}function kk({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function Qfe({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Jfe(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}const Dk=1e-4,Xfe=1-Dk,Zfe=1+Dk,Fk=.01,ede=0-Fk,tde=0+Fk;function sa(t){return t.max-t.min}function nde(t,e,n){return Math.abs(t-e)<=n}function y5(t,e,n,r=.5){t.origin=r,t.originPoint=rr(e.min,e.max,t.origin),t.scale=sa(n)/sa(e),t.translate=rr(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Xfe&&t.scale<=Zfe||isNaN(t.scale))&&(t.scale=1),(t.translate>=ede&&t.translate<=tde||isNaN(t.translate))&&(t.translate=0)}function j0(t,e,n,r){y5(t.x,e.x,n.x,r?r.originX:void 0),y5(t.y,e.y,n.y,r?r.originY:void 0)}function v5(t,e,n){t.min=n.min+e.min,t.max=t.min+sa(e)}function rde(t,e,n){v5(t.x,e.x,n.x),v5(t.y,e.y,n.y)}function b5(t,e,n){t.min=e.min-n.min,t.max=t.min+sa(e)}function B0(t,e,n){b5(t.x,e.x,n.x),b5(t.y,e.y,n.y)}const w5=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ng=()=>({x:w5(),y:w5()}),S5=()=>({min:0,max:0}),br=()=>({x:S5(),y:S5()});function Io(t){return[t("x"),t("y")]}function hE(t){return t===void 0||t===1}function Xx({scale:t,scaleX:e,scaleY:n}){return!hE(t)||!hE(e)||!hE(n)}function gp(t){return Xx(t)||Lk(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Lk(t){return C5(t.x)||C5(t.y)}function C5(t){return t&&t!=="0%"}function fS(t,e,n){const r=t-n,i=e*r;return n+i}function $5(t,e,n,r,i){return i!==void 0&&(t=fS(t,i,r)),fS(t,n,r)+e}function Zx(t,e=0,n=1,r,i){t.min=$5(t.min,e,n,r,i),t.max=$5(t.max,e,n,r,i)}function Uk(t,{x:e,y:n}){Zx(t.x,e.translate,e.scale,e.originPoint),Zx(t.y,n.translate,n.scale,n.originPoint)}const E5=.999999999999,x5=1.0000000000001;function ide(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,u;for(let l=0;lE5&&(e.x=1),e.yE5&&(e.y=1)}function Mg(t,e){t.min=t.min+e,t.max=t.max+e}function O5(t,e,n,r,i=.5){const o=rr(t.min,t.max,i);Zx(t,e,n,o,r)}function kg(t,e){O5(t.x,e.x,e.scaleX,e.scale,e.originX),O5(t.y,e.y,e.scaleY,e.scale,e.originY)}function jk(t,e){return kk(Jfe(t.getBoundingClientRect(),e))}function ade(t,e,n){const r=jk(t,n),{scroll:i}=e;return i&&(Mg(r.x,i.offset.x),Mg(r.y,i.offset.y)),r}const Bk=({current:t})=>t?t.ownerDocument.defaultView:null,T5=(t,e)=>Math.abs(t-e);function ode(t,e){const n=T5(t.x,e.x),r=T5(t.y,e.y);return Math.sqrt(n**2+r**2)}class qk{constructor(e,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=mE(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,v=ode(y.offset,{x:0,y:0})>=3;if(!w&&!v)return;const{point:C}=y,{timestamp:E}=gi;this.history.push({...C,timestamp:E});const{onStart:$,onMove:O}=this.handlers;w||($&&$(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,y)},this.handlePointerMove=(y,w)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=pE(w,this.transformPagePoint),ir.update(this.updatePoint,!0)},this.handlePointerUp=(y,w)=>{this.end();const{onEnd:v,onSessionEnd:C,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const $=mE(y.type==="pointercancel"?this.lastMoveEventInfo:pE(w,this.transformPagePoint),this.history);this.startEvent&&v&&v(y,$),C&&C(y,$)},!DT(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const u=W1(e),l=pE(u,this.transformPagePoint),{point:d}=l,{timestamp:h}=gi;this.history=[{...d,timestamp:h}];const{onSessionStart:g}=n;g&&g(e,mE(l,this.history)),this.removeListeners=z1(U0(this.contextWindow,"pointermove",this.handlePointerMove),U0(this.contextWindow,"pointerup",this.handlePointerUp),U0(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Rf(this.updatePoint)}}function pE(t,e){return e?{point:e(t.point)}:t}function _5(t,e){return{x:t.x-e.x,y:t.y-e.y}}function mE({point:t},e){return{point:t,delta:_5(t,Hk(e)),offset:_5(t,sde(e)),velocity:ude(e,.1)}}function sde(t){return t[0]}function Hk(t){return t[t.length-1]}function ude(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=Hk(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>Tu(e)));)n--;if(!r)return{x:0,y:0};const o=_u(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const u={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function lde(t,{min:e,max:n},r){return e!==void 0&&tn&&(t=r?rr(n,t,r.max):Math.min(t,n)),t}function A5(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function cde(t,{top:e,left:n,bottom:r,right:i}){return{x:A5(t.x,n,i),y:A5(t.y,e,r)}}function R5(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.minr?n=S1(e.min,e.max-r,t.min):r>i&&(n=S1(t.min,t.max-i,e.min)),Rl(0,1,n)}function hde(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const eO=.35;function pde(t=eO){return t===!1?t=0:t===!0&&(t=eO),{x:P5(t,"left","right"),y:P5(t,"top","bottom")}}function P5(t,e,n){return{min:I5(t,e),max:I5(t,n)}}function I5(t,e){return typeof t=="number"?t:t[e]||0}const mde=new WeakMap;class gde{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=br(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=g=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(W1(g).point)},o=(g,y)=>{const{drag:w,dragPropagation:v,onDragStart:C}=this.getProps();if(w&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ace(w),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Io($=>{let O=this.getAxisMotionValue($).get()||0;if(Au.test(O)){const{projection:_}=this.visualElement;if(_&&_.layout){const R=_.layout.layoutBox[$];R&&(O=sa(R)*(parseFloat(O)/100))}}this.originPoint[$]=O}),C&&ir.postRender(()=>C(g,y)),Qx(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},u=(g,y)=>{const{dragPropagation:w,dragDirectionLock:v,onDirectionLock:C,onDrag:E}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:$}=y;if(v&&this.currentDirection===null){this.currentDirection=yde($),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",y.point,$),this.updateAxis("y",y.point,$),this.visualElement.render(),E&&E(g,y)},l=(g,y)=>this.stop(g,y),d=()=>Io(g=>{var y;return this.getAnimationState(g)==="paused"&&((y=this.getAxisMotionValue(g).animation)==null?void 0:y.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new qk(e,{onSessionStart:i,onStart:o,onMove:u,onSessionEnd:l,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:Bk(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&ir.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:i}=this.getProps();if(!r||!ow(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let u=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(u=lde(u,this.constraints[e],this.elastic[e])),o.set(u)}resolveConstraints(){var o;const{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;e&&Ig(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=cde(r.layoutBox,e):this.constraints=!1,this.elastic=pde(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Io(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=hde(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Ig(e))return!1;const r=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=ade(r,i.root,this.visualElement.getTransformPagePoint());let u=fde(i.layout.layoutBox,o);if(n){const l=n(Qfe(u));this.hasMutatedConstraints=!!l,l&&(u=kk(l))}return u}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:u,onDragTransitionEnd:l}=this.getProps(),d=this.constraints||{},h=Io(g=>{if(!ow(g,n,this.currentDirection))return;let y=d&&d[g]||{};u&&(y={min:0,max:0});const w=i?200:1e6,v=i?40:1e7,C={type:"inertia",velocity:r?e[g]:0,bounceStiffness:w,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...o,...y};return this.startAxisValueAnimation(g,C)});return Promise.all(h).then(l)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return Qx(this.visualElement,e),r.start(GT(e,r,0,n,this.visualElement,!1))}stopAnimation(){Io(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Io(e=>{var n;return(n=this.getAxisMotionValue(e).animation)==null?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)==null?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Io(n=>{const{drag:r}=this.getProps();if(!ow(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:u,max:l}=i.layout.layoutBox[n];o.set(e[n]-rr(u,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ig(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Io(u=>{const l=this.getAxisMotionValue(u);if(l&&this.constraints!==!1){const d=l.get();i[u]=dde({min:d,max:d},this.constraints[u])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Io(u=>{if(!ow(u,e,null))return;const l=this.getAxisMotionValue(u),{min:d,max:h}=this.constraints[u];l.set(rr(d,h,i[u]))})}addListeners(){if(!this.visualElement.current)return;mde.set(this.visualElement,this);const e=this.visualElement.current,n=U0(e,"pointerdown",d=>{const{drag:h,dragListener:g=!0}=this.getProps();h&&g&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();Ig(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ir.read(r);const u=T1(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:h})=>{this.isDragging&&h&&(Io(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=d[g].translate,y.set(y.get()+d[g].translate))}),this.visualElement.render())}));return()=>{u(),n(),o(),l&&l()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:u=eO,dragMomentum:l=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:u,dragMomentum:l}}}function ow(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function yde(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class vde extends Yf{constructor(e){super(e),this.removeGroupControls=jo,this.removeListeners=jo,this.controls=new gde(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jo}unmount(){this.removeGroupControls(),this.removeListeners()}}const N5=t=>(e,n)=>{t&&ir.postRender(()=>t(e,n))};class bde extends Yf{constructor(){super(...arguments),this.removePointerDownListener=jo}onPointerDown(e){this.session=new qk(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Bk(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:N5(e),onStart:N5(n),onMove:r,onEnd:(o,u)=>{delete this.session,i&&ir.postRender(()=>i(o,u))}}}mount(){this.removePointerDownListener=U0(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const xw={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function M5(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const E0={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(xt.test(t))t=parseFloat(t);else return t;const n=M5(t,e.target.x),r=M5(t,e.target.y);return`${n}% ${r}%`}},wde={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=Pf.parse(t);if(i.length>5)return r;const o=Pf.createTransformer(t),u=typeof i[0]!="number"?1:0,l=n.x.scale*e.x,d=n.y.scale*e.y;i[0+u]/=l,i[1+u]/=d;const h=rr(l,d,.5);return typeof i[2+u]=="number"&&(i[2+u]/=h),typeof i[3+u]=="number"&&(i[3+u]/=h),o(i)}};class Sde extends T.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=e;afe(Cde),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),xw.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:u}=r;return u&&(u.isPresent=o,i||e.layoutDependency!==n||n===void 0||e.isPresent!==o?u.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?u.promote():u.relegate()||ir.postRender(()=>{const l=u.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),kT.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function zk(t){const[e,n]=yk(),r=T.useContext(dT);return N.jsx(Sde,{...t,layoutGroup:r,switchLayoutGroup:T.useContext(Ck),isPresent:e,safeToRemove:n})}const Cde={borderRadius:{...E0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:E0,borderTopRightRadius:E0,borderBottomLeftRadius:E0,borderBottomRightRadius:E0,boxShadow:wde};function $de(t,e,n){const r=ki(t)?t:Yg(t);return r.start(GT("",r,e,n)),r.animation}const Ede=(t,e)=>t.depth-e.depth;class xde{constructor(){this.children=[],this.isDirty=!1}add(e){mT(this.children,e),this.isDirty=!0}remove(e){gT(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ede),this.isDirty=!1,this.children.forEach(e)}}function Ode(t,e){const n=xa.now(),r=({timestamp:i})=>{const o=i-n;o>=e&&(Rf(r),t(o-e))};return ir.setup(r,!0),()=>Rf(r)}const Vk=["TopLeft","TopRight","BottomLeft","BottomRight"],Tde=Vk.length,k5=t=>typeof t=="string"?parseFloat(t):t,D5=t=>typeof t=="number"||xt.test(t);function _de(t,e,n,r,i,o){i?(t.opacity=rr(0,n.opacity??1,Ade(r)),t.opacityExit=rr(e.opacity??1,0,Rde(r))):o&&(t.opacity=rr(e.opacity??1,n.opacity??1,r));for(let u=0;ure?1:n(S1(t,e,r))}function L5(t,e){t.min=e.min,t.max=e.max}function Ro(t,e){L5(t.x,e.x),L5(t.y,e.y)}function U5(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function j5(t,e,n,r,i){return t-=e,t=fS(t,1/n,r),i!==void 0&&(t=fS(t,1/i,r)),t}function Pde(t,e=0,n=1,r=.5,i,o=t,u=t){if(Au.test(e)&&(e=parseFloat(e),e=rr(u.min,u.max,e/100)-u.min),typeof e!="number")return;let l=rr(o.min,o.max,r);t===o&&(l-=e),t.min=j5(t.min,e,n,l,i),t.max=j5(t.max,e,n,l,i)}function B5(t,e,[n,r,i],o,u){Pde(t,e[n],e[r],e[i],e.scale,o,u)}const Ide=["x","scaleX","originX"],Nde=["y","scaleY","originY"];function q5(t,e,n,r){B5(t.x,e,Ide,n?n.x:void 0,r?r.x:void 0),B5(t.y,e,Nde,n?n.y:void 0,r?r.y:void 0)}function H5(t){return t.translate===0&&t.scale===1}function Wk(t){return H5(t.x)&&H5(t.y)}function z5(t,e){return t.min===e.min&&t.max===e.max}function Mde(t,e){return z5(t.x,e.x)&&z5(t.y,e.y)}function V5(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Kk(t,e){return V5(t.x,e.x)&&V5(t.y,e.y)}function G5(t){return sa(t.x)/sa(t.y)}function W5(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class kde{constructor(){this.members=[]}add(e){mT(this.members,e),e.scheduleRender()}remove(e){if(gT(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Dde(t,e,n){let r="";const i=t.x.translate/e.x,o=t.y.translate/e.y,u=(n==null?void 0:n.z)||0;if((i||o||u)&&(r=`translate3d(${i}px, ${o}px, ${u}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:h,rotate:g,rotateX:y,rotateY:w,skewX:v,skewY:C}=n;h&&(r=`perspective(${h}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),w&&(r+=`rotateY(${w}deg) `),v&&(r+=`skewX(${v}deg) `),C&&(r+=`skewY(${C}deg) `)}const l=t.x.scale*e.x,d=t.y.scale*e.y;return(l!==1||d!==1)&&(r+=`scale(${l}, ${d})`),r||"none"}const gE=["","X","Y","Z"],Fde={visibility:"hidden"},Lde=1e3;let Ude=0;function yE(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function Yk(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Pk(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",ir,!(i||o))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&Yk(r)}function Qk({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(u={},l=e==null?void 0:e()){this.id=Ude++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(qde),this.nodes.forEach(Gde),this.nodes.forEach(Wde),this.nodes.forEach(Hde)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let d=0;dthis.root.updateBlockedByResize=!1;t(u,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=Ode(y,250),xw.hasAnimatedSinceResize&&(xw.hasAnimatedSinceResize=!1,this.nodes.forEach(Q5))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&h&&(l||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:w,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||h.getDefaultTransition()||Xde,{onLayoutAnimationStart:E,onLayoutAnimationComplete:$}=h.getProps(),O=!this.targetLayout||!Kk(this.targetLayout,v),_=!y&&w;if(this.options.layoutRoot||this.resumeFrom||_||y&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...NT(C,"layout"),onPlay:E,onComplete:$};(h.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(g,_)}else y||Q5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Rf(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Kde),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Yk(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!sa(this.snapshot.measuredBox.x)&&!sa(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d{const P=k/1e3;J5(y.x,u.x,P),J5(y.y,u.y,P),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B0(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Qde(this.relativeTarget,this.relativeTargetOrigin,w,P),R&&Mde(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=br()),Ro(R,this.relativeTarget)),E&&(this.animationValues=g,_de(g,h,this.latestValues,P,_,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var l,d,h;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(h=(d=this.resumingFrom)==null?void 0:d.currentAnimation)==null||h.stop(),this.pendingAnimation&&(Rf(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ir.update(()=>{xw.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Yg(0)),this.currentAnimation=$de(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),u.onUpdate&&u.onUpdate(g)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Lde),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:l,target:d,layout:h,latestValues:g}=u;if(!(!l||!d||!h)){if(this!==u&&this.layout&&h&&Jk(this.options.animationType,this.layout.layoutBox,h.layoutBox)){d=this.target||br();const y=sa(this.layout.layoutBox.x);d.x.min=u.target.x.min,d.x.max=d.x.min+y;const w=sa(this.layout.layoutBox.y);d.y.min=u.target.y.min,d.y.max=d.y.min+w}Ro(l,d),kg(l,g),j0(this.projectionDeltaWithTransform,this.layoutCorrected,l,g)}}registerSharedNode(u,l){this.sharedNodes.has(u)||this.sharedNodes.set(u,new kde),this.sharedNodes.get(u).add(l);const h=l.options.initialPromotionConfig;l.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(l):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:l,preserveFollowOpacity:d}={}){const h=this.getStack();h&&h.promote(this,d),u&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let l=!1;const{latestValues:d}=u;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(l=!0),!l)return;const h={};d.z&&yE("z",u,h,this.animationValues);for(let g=0;g{var l;return(l=u.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(K5),this.root.sharedNodes.clear()}}}function jde(t){t.updateLayout()}function Bde(t){var n;const e=((n=t.resumeFrom)==null?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=t.layout,{animationType:o}=t.options,u=e.source!==t.layout.source;o==="size"?Io(y=>{const w=u?e.measuredBox[y]:e.layoutBox[y],v=sa(w);w.min=r[y].min,w.max=w.min+v}):Jk(o,e.layoutBox,r)&&Io(y=>{const w=u?e.measuredBox[y]:e.layoutBox[y],v=sa(r[y]);w.max=w.min+v,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+v)});const l=Ng();j0(l,r,e.layoutBox);const d=Ng();u?j0(d,t.applyTransform(i,!0),e.measuredBox):j0(d,r,e.layoutBox);const h=!Wk(l);let g=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:w,layout:v}=y;if(w&&v){const C=br();B0(C,e.layoutBox,w.layoutBox);const E=br();B0(E,r,v.layoutBox),Kk(C,E)||(g=!0),y.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=C,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:e,delta:d,layoutDelta:l,hasLayoutChanged:h,hasRelativeLayoutChanged:g})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function qde(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Hde(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function zde(t){t.clearSnapshot()}function K5(t){t.clearMeasurements()}function Y5(t){t.isLayoutDirty=!1}function Vde(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Q5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Gde(t){t.resolveTargetDelta()}function Wde(t){t.calcProjection()}function Kde(t){t.resetSkewAndRotation()}function Yde(t){t.removeLeadSnapshot()}function J5(t,e,n){t.translate=rr(e.translate,0,n),t.scale=rr(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function X5(t,e,n,r){t.min=rr(e.min,n.min,r),t.max=rr(e.max,n.max,r)}function Qde(t,e,n,r){X5(t.x,e.x,n.x,r),X5(t.y,e.y,n.y,r)}function Jde(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Xde={duration:.45,ease:[.4,0,.1,1]},Z5=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e9=Z5("applewebkit/")&&!Z5("chrome/")?Math.round:jo;function t9(t){t.min=e9(t.min),t.max=e9(t.max)}function Zde(t){t9(t.x),t9(t.y)}function Jk(t,e,n){return t==="position"||t==="preserve-aspect"&&!nde(G5(e),G5(n),.2)}function ehe(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}const the=Qk({attachResizeListener:(t,e)=>T1(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),vE={current:void 0},Xk=Qk({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!vE.current){const t=new the({});t.mount(window),t.setOptions({layoutScroll:!0}),vE.current=t}return vE.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),nhe={pan:{Feature:bde},drag:{Feature:vde,ProjectionNode:Xk,MeasureLayout:zk}};function n9(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ir.postRender(()=>o(e,W1(e)))}class rhe extends Yf{mount(){const{current:e}=this.node;e&&(this.unmount=Rce(e,(n,r)=>(n9(this.node,r,"Start"),i=>n9(this.node,i,"End"))))}unmount(){}}class ihe extends Yf{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=z1(T1(this.node.current,"focus",()=>this.onFocus()),T1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function r9(t,e,n){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&ir.postRender(()=>o(e,W1(e)))}class ahe extends Yf{mount(){const{current:e}=this.node;e&&(this.unmount=Mce(e,(n,r)=>(r9(this.node,r,"Start"),(i,{success:o})=>r9(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const tO=new WeakMap,bE=new WeakMap,ohe=t=>{const e=tO.get(t.target);e&&e(t)},she=t=>{t.forEach(ohe)};function uhe({root:t,...e}){const n=t||document;bE.has(n)||bE.set(n,{});const r=bE.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(she,{root:t,...e})),r[i]}function lhe(t,e,n){const r=uhe(e);return tO.set(t,n),r.observe(t),()=>{tO.delete(t),r.unobserve(t)}}const che={some:0,all:1};class fhe extends Yf{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=e,u={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:che[i]},l=d=>{const{isIntersecting:h}=d;if(this.isInView===h||(this.isInView=h,o&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),w=h?g:y;w&&w(d)};return lhe(this.node.current,u,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(dhe(e,n))&&this.startObserver()}unmount(){}}function dhe({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const hhe={inView:{Feature:fhe},tap:{Feature:ahe},focus:{Feature:ihe},hover:{Feature:rhe}},phe={layout:{ProjectionNode:Xk,MeasureLayout:zk}},nO={current:null},Zk={current:!1};function mhe(){if(Zk.current=!0,!!pT)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>nO.current=t.matches;t.addListener(e),e()}else nO.current=!1}const ghe=new WeakMap;function yhe(t,e,n){for(const r in e){const i=e[r],o=n[r];if(ki(i))t.addValue(r,i);else if(ki(o))t.addValue(r,Yg(i,{owner:t}));else if(o!==i)if(t.hasValue(r)){const u=t.getValue(r);u.liveStyle===!0?u.jump(i):u.hasAnimated||u.set(i)}else{const u=t.getStaticValue(r);t.addValue(r,Yg(u!==void 0?u:i,{owner:t}))}}for(const r in n)e[r]===void 0&&t.removeValue(r);return e}const i9=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class vhe{scrapeMotionValuesFromProps(e,n,r){return{}}constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:u},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=PT,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=xa.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Zk.current||mhe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:nO.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Rf(this.notifyUpdate),Rf(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const r=cy.has(e);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",l=>{this.latestValues[e]=l,this.props.onUpdate&&ir.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o(),u&&u(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Qg){const n=Qg[e];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):br()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(e)}addValue(e,n){const r=this.values.get(e);n!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=Yg(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(_M(r)||RM(r))?r=parseFloat(r):!Fce(r)&&Pf.test(n)&&(r=fk(e,n)),this.setBaseTarget(e,ki(r)?r.get():r)),ki(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const u=zT(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);u&&(r=u[e])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!ki(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new bT),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class eD extends vhe{constructor(){super(...arguments),this.KeyframeResolver=xce}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ki(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function tD(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}function bhe(t){return window.getComputedStyle(t)}class whe extends eD{constructor(){super(...arguments),this.type="html",this.renderInstance=tD}readValueFromInstance(e,n){var r;if(cy.has(n))return(r=this.projection)!=null&&r.isProjecting?Hx(n):zle(e,n);{const i=bhe(e),o=(CT(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return jk(e,n)}build(e,n,r){BT(e,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return VT(e,n,r)}}const nD=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function She(t,e,n,r){tD(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(nD.has(i)?i:jT(i),e.attrs[i])}class Che extends eD{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=br}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(cy.has(n)){const r=ck(n);return r&&r.default||0}return n=nD.has(n)?n:jT(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,r){return Rk(e,n,r)}build(e,n,r){Ok(e,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,n,r,i){She(e,n,r,i)}mount(e){this.isSVGTag=_k(e.tagName),super.mount(e)}}const $he=(t,e)=>HT(t)?new Che(e):new whe(e,{allowProjection:t!==T.Fragment}),Ehe=Cfe({...Kfe,...hhe,...nhe,...phe},$he),xhe=Wce(Ehe),Ohe={initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{x:"100%",opacity:0}};function The({children:t}){var r;const e=kl();return((r=e.state)==null?void 0:r.animated)?N.jsx(qce,{mode:"wait",children:N.jsx(xhe.div,{variants:Ohe,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15},style:{width:"100%"},children:t},e.pathname)}):N.jsx(N.Fragment,{children:t})}function _he(){return N.jsxs(N.Fragment,{children:[N.jsxs(mn,{path:"selfservice",children:[N.jsx(mn,{path:"welcome",element:N.jsx(mJ,{})}),N.jsx(mn,{path:"email",element:N.jsx(BR,{method:Ja.Email})}),N.jsx(mn,{path:"phone",element:N.jsx(BR,{method:Ja.Phone})}),N.jsx(mn,{path:"totp-setup",element:N.jsx(nX,{})}),N.jsx(mn,{path:"totp-enter",element:N.jsx(aX,{})}),N.jsx(mn,{path:"complete",element:N.jsx(gX,{})}),N.jsx(mn,{path:"password",element:N.jsx($X,{})}),N.jsx(mn,{path:"otp",element:N.jsx(RX,{})})]}),N.jsx(mn,{path:"*",element:N.jsx(jE,{to:"/en/selfservice/welcome",replace:!0})})]})}function Ahe(){const t=Ise(),e=Jse(),n=uue(),r=jue();return N.jsxs(mn,{path:"selfservice",children:[N.jsx(mn,{path:"passports",element:N.jsx(nG,{})}),N.jsx(mn,{path:"change-password/:uniqueId",element:N.jsx(iJ,{})}),t,e,n,r,N.jsx(mn,{path:"",element:N.jsx(The,{children:N.jsx(Bue,{})})})]})}const a9=Vz;function Rhe(){const t=T.useRef(LV),e=T.useRef(new hF);return N.jsx(wF,{client:e.current,children:N.jsx(GH,{mockServer:t,config:{},prefix:"",queryClient:e.current,children:N.jsx(Phe,{})})})}function Phe(){const t=_he(),e=Ahe(),{session:n,checked:r}=WV();return N.jsx(N.Fragment,{children:!n&&r?N.jsx(a9,{children:N.jsxs($_,{children:[N.jsx(mn,{path:":locale",children:t}),N.jsx(mn,{path:"*",element:N.jsx(jE,{to:"/en/selftservice",replace:!0})})]})}):N.jsx(a9,{children:N.jsxs($_,{children:[N.jsx(mn,{path:":locale",children:e}),N.jsx(mn,{path:"*",element:N.jsx(jE,{to:"/en/selfservice/passports",replace:!0})})]})})})}const Ihe=GD.createRoot(document.getElementById("root"));Ihe.render(N.jsx(Ae.StrictMode,{children:N.jsx(Rhe,{})}))});export default Nhe(); diff --git a/modules/fireback/codegen/selfservice/assets/index-C70Q3qZt.css b/modules/fireback/codegen/selfservice/assets/index-BPOS91Ib.css similarity index 96% rename from modules/fireback/codegen/selfservice/assets/index-C70Q3qZt.css rename to modules/fireback/codegen/selfservice/assets/index-BPOS91Ib.css index 68b54032d..efe13fed1 100644 --- a/modules/fireback/codegen/selfservice/assets/index-C70Q3qZt.css +++ b/modules/fireback/codegen/selfservice/assets/index-BPOS91Ib.css @@ -2,4 +2,4 @@ * Bootstrap v5.3.3 (https://getbootstrap.com/) * Copyright 2011-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width:1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media(min-width:1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media(min-width:1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media(min-width:1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media(min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media(min-width:576px){.container-sm,.container{max-width:540px}}@media(min-width:768px){.container-md,.container-sm,.container{max-width:720px}}@media(min-width:992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media(min-width:1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media(min-width:1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media(min-width:576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media(min-width:768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media(min-width:992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media(prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media(min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media(prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media(prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media(prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media(min-width:576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media(min-width:992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media(min-width:1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media(max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion:reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:575.98px)and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media(max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media(min-width:576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:767.98px)and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media(max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media(min-width:768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:991.98px)and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media(max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media(min-width:992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1199.98px)and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media(max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media(min-width:1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1399.98px)and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media(max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media(min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media(prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media(min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media(min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media(min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media(min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.react-tel-input{font-family:Roboto,sans-serif;font-size:15px;position:relative;width:100%}.react-tel-input :disabled{cursor:not-allowed}.react-tel-input .flag{width:16px;height:11px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACmCAMAAAACnqETAAADAFBMVEUAAAD30gQCKn0GJJ4MP4kMlD43WGf9/f329vcBAQHhAADx8vHvAwL8AQL7UlL4RUUzqDP2MjLp6un2Jyj0Ghn2PTr9fHvi5OJYuln7Xl75+UPpNzXUAQH29jH6cXC+AAIAJwBNtE/23Ff5aGdDr0TJAQHsZV3qR0IAOQB3x3fdRD/Z2NvuWFLkcG7fVlH4kI4AAlXO0M8BATsdS6MCagIBfQEASgPoKSc4VKL442q4xeQAigD46eetAABYd9jvf3nZMiwAAoD30zz55X5ng9tPbKZnwGXz8x77+lY7OTjzzikABGsenh72pKNPldEAWgHgGBgAACH88/Gqt95JR0OWAwP3uLd/qdr53kMBBJJ3d3XMPTpWer8NnAwABKPH1O1VVFIuLSz13NtZnlf2kEh9keLn7vfZ4vNkZGHzvwJIXZRfZLuDwfv4y8tvk79LlUblzsxorGcCBusFKuYCCcdmfq5jqvlxt/tzktEABLb8/HL2tlTAw8SLlMFpj/ZlpNhBZ81BYbQcGxuToN9SYdjXY2Lz7lD0dCQ6S9Dm0EUCYPdDlvWWvd2AnviXqc11eMZTqPc3cPMCRev16ZrRUE0Hf/tNT7HIJyTptDVTffSsTkvhtgQ0T4jigoFUx/g+hsX9/QUHzQY1dbJ7sHV02Pduvd0leiK1XmaTrfpCQPgELrrdsrY1NamgyPrh03iPxosvX92ysbCgoZzk5kP1YD7t6AILnu+45LykNS40qvXDdHnR6tBennz6u3TSxU1Or9Swz6wqzCsPZKzglJbIqEY8hDhyAgFzbJxuOC+Li4d9sJLFsnhwbvH2d1A3kzAqPZQITsN76nq2dzaZdKJf4F6RJkb078YFiM+tnWZGh2F+dDibykYoMcsnekdI1UhCAwWb25qVkEq43km9yBrclQMGwfyZ3/zZ2QK9gJxsJWCBUk32QwqOSYKRxh6Xdm3B4oMW22EPZzawnR72kgZltCqPxrdH1dkBkqDdWwwMwMO9O2sqKXHvipPGJkzlRVLhJjVIs9KrAAAAB3RSTlMA/v3+/Pn9Fk05qAAAUU9JREFUeNp0nAlYVNcVxzHazoroGBkXhAgCCjMsroDoKIgKdFABBwQUnSAoCqLRFBfcCBIM4kbqShO1hlSrCJqQQmNssVFqjBarsdjFJWlMTOLXJDZt8/X7+j/n3pk3vNq/bb8+3nbP79137/+dd954qTVt8uTJL73OMhqNer03ady4cWOhWbNmjV+0FfKGjMb36Y9/1fXUst9cb2y8/lpb797z5k2dOjXVD9Ljn59fcHBwQEDAgGch3l9on6feeeedn0r9kvT222+/sErRgvcDArwV8f5tN/rcvPnMZ22pqVFRSVGjR38k9Rsp9fLql/MXLj20VGjt2rVeak2Og/auI/kHBQ3We/tCo0ZNhwYNGj58/NaWlpbOyMhIX1//2/jTrICvckhXruQsWbJw4cL3tzhPORynSk5lZWVtglL9IkmdDQ05NqvVGhLwbKSUL+Tvb9yH/2sj+eN0IZZ3fvq3Hnp71ZtCOyofdnTYSzq9xX7UtsF9+/Y1FpeZT54sc2aUlq6Jy89YM/qj2oZaoeOkMR8dV/Tee++NWb04rrA5MRYKDAyc/NKCpwDIyKhE9LEzZ/r4DLQAAE6EyEeM6AcNH7m1pTMnB+fHX7tG9Bs0Xt+GwM/frqm5tz950aKDk6rsiA0xbUrbRAii/BDeV9bGhQsPRlyOCAuZ9GykZwT++n2RHPnVYQU+oaFDPQD8jEQAPiDdaLPaHGVXbn/O7YHQuIH9B/gYgzts1iqrtSopKWlNRkzS6I8arFaOFvTfew8AfiYil/rN6sWTKwtbArOzExISUl7+vwCuQNt8Bg71AQCcTwNpWeFbW3IIQEmJr08XgIzX2xDcvZrs7Jru5EWXwwKSwh2RkQ77w7Q0bXp6YRoDaKO+kZl8MCwsYpJ3pEf8liAAoPhDhqUMQ/wAkF+oqKiosJYA7HxotdnTtVe6Pr/S0h+AI90QffU3T9obGuwdD5PqkmJiMtbM+ajWI/60TX0COhoarAAE1dfXV80FgMmLi1oSKP7/B6ASAGyBV4YM7D/Bx8/bF7g5fgmgEwCCSiJtJQRgxEi9zZqVdYUu9pW0tLCIgOvxdR0dpxx5aWl7EzV7CYDV+tXnCzMzkzMvE4AFlTuhZaSf/OQny1L32RC+JcHikzJ06NAJoe+YNKRbsbG3xPlWZTxssNmdOP/J27ffudLJ60V7DAaT1lxRVvfwYe3Jlrq4uJiKjAwAcIWP+BkAhV/i7HA0uAG8BAIUf8qfzvwvgJcQf+XMK4GWi8OGTpgQ6uftzwC0LIM2WgcASwaXOBwlA7v6/YgAhFRt2pRGeu0/UyImbal77eHDo2kVAJAeKwE0fl6P63/5nSlTAKBCiR8AovbZEL9lf8I5AMD5booAE7OzY8X5fhGJi0/nTzTcMh+80iIBaF0APqvIu3EjqfRGcV3S4aSKYk8AaW4ADU4gOFlfn8sAXnoJBDpTCMDL87zU2kwATl+x1Nw+P2HChKHBBMDHFT8DwGjX11FSYu/f/aMf9XtOjwAacf2hmxRg7ywXDrr30kb7NVhDquo/z0y+nJs7ZUoYA5DxM4BFmcnJyV93PzjbvQhK3urqAYF7xflWVT5ssDaU4Ox7T9+6Ei4BaN0AUkvXJEExMTGHD9cdFgA2yfgZQAP1f0dJw0lrfS4BmIb4z5yZBgL/H8DibbehGROenQ0AQRhvZPwQAGDQ8wlqsFkmdP9ofr/n/OgK2ml1xxQECAAy/tdee++91wCA1mfWJy/KXUTr536T+O67764X2r9//T+3JkPdDx50f7qItDXfff+zeAxY1lYV0VCmPV1Ts5fGAGUYDbHpo0qT6vKTignAtWvXiuf0StwGZZPQybMPAYC8/xF/bj0AUPwvvzytKCdl6dMAvJxRuXjxkCHnL86YMXs2A8B4m4yWQTrdIp0uByMajcATJrwzXwCIiIjAFSrbJwGI+FlH00YH8/rQy5enQPsYgBK/BLCI1c0Afonhn/XjH8MNLP9o1Y4Pfg795N9hYQ23bt1q4fb07z+A/ITR2J8AFJnqOP7iuj7Fc35TK+9/bkPaM+NGiSnsB6wRIwGA4n/5T5Pzc5aeeAqAP1VCM4niWRqVgr1p1sEYlskNJQC4BQZbLJi0MAgCgBUKqYo3VEVEhIWFTZqXtYmVxiIAtB4QeDUAvMuSFBgAJCkwAKHlLAKw4wMIFG5URVgdLdwedEq6BuCgj1qzpi4uiVScYa6I0fWKJQVC2aRDY0eNWrlyECwMMIDDc2vZ6UF0F7z8tB5w4kTvtZ+ygklGkk4lvZ6sne45SDg8aJIQ2z+4Mmg0qcfauXPnfvPNN9XV/1S0VSWyf1Ls4FZ5aIHu/blGKb2UOM0ckq4PmsZ2b8yYMb2l4FbhX8ePHwmhuSPXkhaQ5q0tXzBvntdUUq9eSyFu9njXxpA74Leg198yktRWVI4OkAkymw2Q3WO90+nnN3u2H0QkHI6JpHHj2GvTYdsupd68GfVZ4yTJqJeUaNKhQ+rzCUvOMXEr//4vD3333XdLe+rRJx4iqumDnT2O5zW1HII1hPLy8pJGjz9GWgk9D61Al4fWkWay9VRbUa1GEVCYDRoonu0dr++n0ZQ0dMCNdDRYHVrtuImjWHQ80lvfl4WfhJetw1CFm6h+rkazd28iJHvyIe/IHt7ZOBY7o4GPH4smPqf7nRwz/sH6bmmi2HtvYiBUYPxEcZakt701PdsPAIhb3DBbYmIIAOK+F9HXJ6z7t799AwDI48+cOQRi66m2ogoAYVwIQEkQb8DrJza1azRWq9NpjUjXtg+aNXHU9EEQHW/YsGFD3toHMFZbgzUsDNPkPgAgpScG1vA4TgB8PZATAAoc6IasWPHhhwCQkyNCdwMIJCVqDabA8+cAAJFLYVD92dvpjvQe7ZcA7p0/350dEzNmy+iRAHBPrO9+AwB41Of4h2HoFdZYhsfL7ej7QmbSBdED/GkDXv+ju9Pv4i9mM+g09Rs1duKoQSQR/4whb7msbFhufHy8M2xup6AZ3sHzWOChaveIWQCtn00A7s/84MDuD4bd+fBDcYEukrVna5fwMQPAsqnQZOqqLtBzezysvHd6z/YLANndUELMGAmgXqzPfeON3+IE8PHbuL2YegYCAO+/fz/io2VMM+5HpR/BGXIPGCzix3oAaBo13aApK9Mahg8fNAo9ANsPGi7iB4BLZRUPH9advJGb6zx+3Jk7FwFtCNekNzQUabW3cAv0Ek9uUA0U+PGsY4NmzrxQVBS3e82wGQDA7bvI8SsAsgNP7y26HV4GALyeJzGaY5J18fZ4GT+3DwBK8/K2ZF/s7v46ZYwEsMJHrJ/gApBJ8QPAs9gh2BYBnT077OwUnvcBwB0/nCEAQPFBdADefv5dPEu3p2u18e39Bg2aPou2h9wNmP3wi7bGL9qsuVOcizoBgM/X0BBtamggK2wGABn+WSLw8awm9P4Du3ecys+aMWPGt6J9medF/EsBIBbxJxSFm4vM5moJAOGL+AHAO90jfglgy5bshO7uFAIQM2fkyhUr6sX6fW+MJQDYX1wvWI/+uOIc79mziJec4ESxDPGy6AF9RfzYHgBw02s7yswNhf1GDJ8+lvcfPgKrxfoAa0S9uP9HTV95LHdur8TzuF7W5OSqDdEGAFiaiIjk9U8hAMdw+1Ts3r37VPOMGR/K9l3k+CUA9P9b4c6y8LKC6upqAiDj3wpxD1Dix/m9Uku3KAD6xMx5DgC6xfrLYwnAEuw/jOJnAMHjpnvECwA8aK5YseK3EA2aogf0pQNIAIOaXI8S0/sBAPaHaLUEIOJHPmjUsWACACN7/qLVmoz2Zjabv3x8X+oBdP/DWeih94d9sHv3BzO+fOOND6l9C93xL00BgOy97dHo/ZHm6EcAwM8OHlZ+YLpFtF9eQAGA9+81pg8DQCzdU3D9Ef/YN3AC8OP4Z5D1DBg7XYmfAKitqYl7AA8AvDxxVLtGW1VVVhYRZjC0jhg/Tuzv3j6gCuEjfghGYd/cXrFk5BNqai4K633k938h/Zp15C8Tx68E7X7Dtm2b8QZEAH743j8gYQQwC8TGlp08Z7ZWC+k/4eFf6pc//Sje3+TZ/pFeqXkQ7hoIhhoAnve8ogRgCQZBMQsgTgBgXykpAoDKmpoIuJP/wMvzwaOKHkisVfUnDYZZ2J/k3n4ST/94UiHt2/d+Lx7yttFAXnP+60W6+X9ggQFzGDdeOJT791fQNAgAv/qHFFMAAJou7AWQBCAkKXzknW71bD96APnWQ4c+hthRsv1Ty2WNA4InwYYpzhJSW1MT+lmkxx9awyfNhQVmvf9+c9M4kVt1by8tsmuLub3I/in6er7URGkh1SZ1znfk/xR9o2oP7F8Pax1vbO8RgJcwhYp8BvpMcD1t+0GffPJ7xUo+CA54Yc+DPXv2vGA0vkBavfqIW+xeH3kr8iJ9QxJegQNpu/TMzZupnzXOkQ7+OkumeCCOU+Si2Sr7kR6RkQZ/iA0y62PWVKlUiLy8fsz1MSd6s+YhLz1vu0t7ILS4T1Rqn2cU9fF6YQdpMZIAG6dNmzZ5bX+7PZKGsXi0CM9xwZ+0DmuVnejxsHMDJu3Zu24vkrT+QTtYq4/8nvWHPzyeCa2HUySRbzMKAO9CGhZ15Pku67uGlaS7frzoeFat26uY2CpzijiIrbKfLdH2buy7eKLkR8oAaXWhQNLH8+qEKirKy0tLS6O8bXVZQpvg8dPmbV/O+jH0IvRClLY06hkPAcBGqLa19ckBzC0HVg+0R9rQFpqFtWER1oBPhr3+eutPocevPzIaBwTseTORAu/rQ7sd2AgA4g69T1PlfmGVsX9fn8ESALk4ER5Gsb/Mny2tbzGkPQwASH1s2iTDBwC2yhYeVdgq+yXODAwpCCzAozT7Dml12fqR8VGcOMtk9A0pkUvsI7YvR+DQrl2vQLtWpdbFPAVAq8lgMrcygKEEoKQsJKTMYQgLDQn4ZN3r60T43ngSrH5g1rBcWaINAoCMX1plXq8GoBUAXNYX4RcfPqzVXa8tqk3bpATAVtnCVpytsp8tsCBifcJVil8BoFhfu7OE5RCyGn0HWxweQLYvf/HF2tp1T568IgD0Gf2MJilKBSCrPf5Cc3h76e4zuwmAv8ZqQ5cLMwwNA4DWn+IfwoeqX3/8kQvAQC2rGQCU+NkqywuiAqAVACa6rO/hYsR/uBi3wKZd7wGA1gPAcEvfhAQAmEEA4DwLEgo4/tmzwyYdYqurWF+9zWKxhCKlTjnV2WEBxkhHX5/G8jSZEZoKALWJWbuyYgWBVRgA6vqk9hgDNh54YtI2t2jbn5wBgAl2m1XTYAmxhFoNU5DG/uRnHuG/d/yjEa0X7kID+99tgu6OxTytxK8A0KoAaCGexz+rWHPpUtKaG4e1hwnAhhNZlLtMhwyG+HhDGVvl0PXZ2fv7w3oMe8vPijuf4of2AQCyutDmzWdI1zcv0Psr8SOFF2As0Th8Qr84CiEzcjSKni09b4l5C+al4r9uAcCBA1nthuYKc3spA4i0hWgNdFazgbK8n3iEjzct380S1rd/f+mkAECJH87O21/2v76eALQM4MiRX0+MKqXsFXSYAei8/d3WXLHaoQNTUga4AYSGiesPTSEASvwEwCrin4D4GYAv4m9MS5M5yalGX1uixccntCDwKqf5n5FSboGNBw4caG03m1tbz5zZs3v1bAAAKvtJDAuzAeD1c0r4DEBY4f4DKH4C8AclfgYQxFl0etRWAAj+RwjA6DUyfuoC3xt02F6JnwDQ8UNpeQAB+DTY6op/HxJLU+au3jj5JYRPwvR5ZoFN3v12oVxjkE+oXbG+4o71WH5dJa9VALD7wBPMArvP7AEAfaTVgm3NZkzcszHoBCvhM4BvhTcfMOCB8OZH/sDxp0hrCwA8PvKjNqkaAPaL80sAyvU3fF+sU1tptspDaRkA3gKAEIoforwaAPhZ3f2de4RWeUvAARqDKH65ZDKE7/nxriexm17ZtO0JxvhXX1n1Q5UAYCMQTCsvn7ybEuYL9JE2q9jfZJoSBgADEP5xt757MJM0xMcHUUOfzr9Pywlua+vtThhJAOvdPYDc/LjRayC+CxiDTm2l2SpbeJmPHywzyhLDXH1ICI96wEAcAlIr4ABKSThuXt4c75ByyJ2Zj9qDWbD2SSJmAdaqBSp5CdPoB5frx9LDdEVDG6C5cKnB/xz1kdB3rAcP2Bb7+X0q9GtOXirWU7HGEgBSwI/CoehosrIT2f7pFKmtNFvlYF4W/jvAI6kMoX2y1kBIZKBHu1PDwfNI7A1ZbP+UIgPMAn08hFnAIOROal3P6pnlzSQlK8pHf4F2s+AwjSRNvDsCadl76bQif9tbqDBdNvzPfxcy8+nCw1OULDDrOukEi7PXnngo+IDLY8UZZMmGOmsMn09yPTI8VwjhWEUkXIY4mYVu2/7qq9tJXuqsLoxJj+XMZqEWUmdnskabf8olWOI9Rl9Ik07vqeh1id/EpqZRUGKOhksqxveuZGm0Idx3g//+BPrd734n793wXnuFEoUOXc+ClJcrC4wiI8rv0On4GNUbbh8TBRtwDOPVWerxv2P9SuiPukKcBwd0xRPusuLSH+/xUmd1r9dm5XsuZzZ35kBLxCt+ANBoihA5CY6YAODEmnS8KRpIr7cBgJp2uyDkahcmi+EAUE7SpvPQFRrw9yfcvk5nPHUyApDokQWPBQCOXN7DafPo+ABH1RN8fL0t6OrVq1X3eC7C8dVZ6vHu2P/4xz//WQDAQ44rnmhXFlrYYxeAW+mJ6bcSEyUAEFCyqJdPfkX6HLp8+fJXBEBTyAR2uAD0tWjSfbh9BGAUxX/1zi8HVXcpAHZq03m9BNBptXY4ET8DUOKXANJk/AxAFETYbO/ayJ3aACAwcH3gep/Qru4PUZ8w/nW8X9gWOMSdZR7bRG81jkOU1XjeDUArFOey4i++WFW1vr4NAMTLaFjLvekuAJvylYKIXIcvFcQItzLB9o5G44CzylcA+Pe1+GjS+fojwGDO4hbcOfuXX35bnZ0deIgB7Nyp1QqrygB+1Wb9lbOBAUQTAOV1XuwhdRZXI7Q3UVplfSKS45aEc0MH9p/yTveKkQCw7WrIXneWmYDMrD3++Mnx47x8Iqt8GiTs4+bJ8y6V3Xj4sOLkjV27qjA9AYCBvGJsQkLgXraKBAAEOsCdZPfLdbjjRwQAUOJvxy7t/BK+NKuPhqVYTX6PEHJ101+qq8MWLcrUqdf/ne5Pa+OvMLPRPB3dBw+ychaDSkers7gaFiAliv31sSHr14euv0o8n322XoeAHXhwOyuydsMYwJDax0+ePD5OywCA8NM4fAIwdWfdtIqKvKyMXbuKDPWFRS8wAG3r3lvtF0RBAveANuqv7K2Dc+3K9Z/g7gGtlKRja9sjPjSQF6/eqc7+9ttztKz3Z6uarl22BcqL+jvdo1URvyqzGbSUpOTX6XlkW0mvpaqzuBLA6dOxOD4DKMA7koRzaMyUf3+xczUCvlVgic+m+CWAIUNqjz95vEkBwJdfAniVhj6+/xuRjGyTAO42XRjVxJMfACjxE4CuveRlC2SO7d13NJD59yJFSQD0QRj+tPHu7flhpqv6y+pv/9lF7wn0QexZ4g1bBIBZBCAnIsJaEm+QAJT4f/Naqrmndd2wCFMPhuHTp3OWQDk6vS1hfcL+6v6I/iU8vgPAkAs1+5vPIn62zt6+56AsdNChjx49OqcvwsEQPx2OjwcAIv5d+YW5hfkSgNZ814wNGADHP0HEo58Q8PXe2Fjx/JkCxd7T8uXn+CUA3P4AILcPFu8NuqrDziF+lND4hfCjigAQsywKozQN0Esc8eJ89LTHLk8+7ZmV+LnBnJX2KNAA8KvVQ//9xWTYkDNnJq9VW2m5XF8vl2lSx/X3AMDhU35kee7yXS94mfh8St78RNZDOetAEwBAmaRjoS6t4a7M0TKFcWxNtfE+cvvgsWKCjs3U8jwFAGxd0w150DIAkHO0QSjaSPM3Pa6BI+RnVtojAPAErBRo6AeHtN1YDP8uRra1aiutXgYALTZ1H287pn+SxAAA0pFB0aQT7wuzKbOQwV93kfC/Qt13j/TI0k5kg2Yqox1YY0VBwlKdWXgx6VvLzKlRrPEjRU53Q7QQdpenE/bW7G7JBpZOpUmfLVi9arXQWkhtpdXLZP8WzFsQFx3Hh2vm/CjrBZaX9UbvmzenotZWWmpZ3AOJUgvCtkq/2u2Vy0lmbiOfZhxLqSWuyC/FpS5qbCyiW/6LUm/om2rv6mrvR9VGyCRkNErs6uOprS2bcpaZ91Bbd0CTmsTiPd/i8gtuzxGVPpoIebTY61qJ+aT9pJOytEnQ6NfiSBlxcbWsMTRG7LBtdFvJ8nxI9FAyKEhgkJRa4jqHpigjQxMZqamry/fV1Hk3eWRx198zmjTpmEZovSbe7tRGq4+ntraGnlY9nJfT47Wu5YAGVIKSZIEF7y8KOrg9R5C++r2iI6/W9myvF2p3/YNwyqQYcl/Fc14TkcNAk+r60AkPhBzg0wkA4GNi2fyDCMAg5VURKkfz4uwOzWJN0GBNuR0Qrnk3jTrrqlh68O1wvDlyNCBp6R+k0Tqq7ACgOp7K2koA6b7xSgFGeuTgvkElWBYAEDgidxVY8P5c0DGMrbLTgx908tVTPdo73uumw+4baW94WByTlp+fFuMCkJGhBqD1ACCeFP2pTg/WVzkgTpiXUV6GtCCeD4Li82N29vYGoDs1/Lrvy379ngcADaWtg0JwMAe8ufp46gIM+brdYnEKL4/lSF5fItqjFE6ms6/g/UVBB18Qb1xgeno4x7qqf/XUKdr81i2ZIfJaU1LR0YEsbUxMWmnFUQEgP5/sYFxceXlWn1XIGR6w0JzDWosGZ2SIBgeFwJvDeBBvtxWVz5Ior2Xle486i4KIO1fP3aEXkiv0QQ47pa9CQoTTnP304227d08ejwMsszRaylwAZIGDvwCw/RQ8ObRRaBUXcIiCDpwPAN6NvQoN5vgHngOA5XT7NDVJa+31WUXSjRsxa27EXEuLawGAo3HU/+OysnBjlpdmPeNnExkYV16+HO3NEKMQJjgrGizjl1a0MTLI4xL2vek9KrBg+IiuhBRUFhMAfrojiae74Kcf715m8j0+ngDgj/vBR9QOAyArUmj2njc5cJmkOLCKa5u5PTO4YMM7cR0REPELAMtxxA0bpDX3SsXYFwNdu5bWmZN0bc7RjNraOMSPHpBRCgCrKWcYKq//njNrp4kGmyCQCQlGg5X40WDZA3z6u3vAnUEjRtw5d+5LAJi/Qm9xcOstFht9JxHp9/TjDeteKJyd7AFhuVPKhFX39vcXXd4hssjbuQO4IGxkAD6iPZy1Rg9Yj/g5/IGPAGD58kJ42Q0bwnE8AUDG39mZl5eToyMAiL62Fok2AkD34O7QM26jlIcG14oui6sYEjymrpxeyuUJlaZuqViWnz5Y0x8AQpt7J6V6Hxs+4k4N2chD386f/6EeRseB9lso89oBY6I+3lhVAQYDSHfud5qEkUEWGftj574ii2xWUqJyPTqfKOjg/WlQ5P7v4wJwSguhoJEV7hW1huOHKO1xDQD45aJWWyoAUAPOhBEAgwtAbZ2YhC2haDA/bbkfNvKmxmRobJF5mgEDNL/Q2EPKU72nD7rPPhq5rwf9CIDdageAUK2hod4GAKrj/U8BRiQ/ju8/R/7UJ4Ssbl9HutbpL63uUws2RH/k5bKe1vrKq8td1nsflDsXAES5OXQY9da639SS6uQswAC0ByyTlR6QAQkbEgIBQNbicggY8qCpdRpb3M6dNAguS4rTWC4ZjwVCXIABCitgdZ2RGNBDMAs4bSUAoDre/xRgsCFYvx5hkbkVVjfIv6/L6j61YIMLOs7ysuvttdSRV+vcnqEecycAiFpbFtUbiEpbzpiy6NKsDlhL/pS1ZQuq6TZwkjCYJOtuSVNJpZ8nIQeaf/NmPlKyz9R+b4T++cj46JF+9iM9JK2un5+0uurjkX2T5Qsso5Df/7O6smCj5/a93oI+5eUjKu0JVpLMJK/r18PDZRaWq4i3k0ykcHbLKmcqaoVlCvcQtGjEjyZ6emF1Fre3CpDa6vKZhbHn8wdLueytnqU8n7CTFSllugeMik0WaJd6CrUZDTfmwep/cY3S5M/hmqjP73V9Mj0uKjnA7ZQtFebiRWiVt8x/yrHW6GE1SYf8Hraa2psUa2m0QWRlQ0QWd8FiUrkrL5XK+ytm13iiUog3mzZtQbANsrpL7CfpySCz+G8BXEChYRVAxj1vSsmCDVUBxTfFTq3zpDO+Li5/Q9OFlrg6tdX2MovZCn6MtXM7PS8LAPQ+HQA48IcPeardqFesJtf6HvL2bby97tat9unCCQIAz/ORkWKeBwB3PgafKWxOFVYXCYvjwuqe4NAlnpcIgIhcFkQAAAfOfwwNIwAALR4IkKEpMJp6ZrWj1QUUgx2Yde32G/hIB+VVx6LUVlsCcF2Dyt4MQBzvFQgAKP62pvA2CUBaTZmF/RjLEV+dn7nuVvuo4fQRFQBYoHRH31DKAgdX5EMSb0ZGXIy0uiU+JcLqEoBprvgZgBK/BKDEHxYBAIMEAG16NQDoJYAdO7QCQAKnL043N5+mbpB4qNEZ77CXlFRk5FMJfFOd/OyOxJ/deZ1A99+8Weue5gjALphFLL+yezcB2AhZmy5Y2Wnh9feSCGE1ET8DAM2D3WeHDKFuMGi80R/hl+CjqvgSBsBlc5V0vMpCqigRF4viN7AVXV252B3+S8jaKtdTZoH5q7IIaUUjJnEBhYHWxysA3ty4482Nb2r5+KyMuvw64fQqnBknT2aU7aQe0PX8MqoXaKUsaCvivWvQmiQA7qHQ5t7bkSt5RctWYzcD2MEAwsNDJICvFi7sewf6knRnIltPn8vdxGNYvGkcAPj42OPt9hJfTqpyAws1GRnaImRBXQAQf4mBG7i2snwnaxlp51R1FjnEYRfqgBo69nHO0YD1ngAKNxbiP7S9BFAXV1EhnN7D8KLw5riiirq4lXUHK47VIf6mC63tTU3trU3T78IJilJSpQcAwK5XeLlQAXCg6oMbVYife8DCep8RSqkpACD+e0hL70UPGD5S70/pLXQ6pyhY4BzfYi20uNDgBoD4Bxi4gQyQZnVZPK3OMquXOecIdgQA0vMGuPwbD+yg9RIA4o8T20+tAFvxlV59Te6y0Vh5wWQytLYaTOgBAFCp3KNiEPzxrldUADD8VV06/wUWfw4AZDUVqzoSy2GXHwyZiTGgHwGhLHGoj7Mk0jmUAVS4D54BxcVcr90E5fUfkJTGb36ox4gSDwg9hkthP4RQCDtu3Ic6dYEDF1CYPAHweowBwgqPbVoJyXJXfFCxrCgjDv8Jr4urO51bk1GBLDOUQ+IssxesKKlSqveeH7+iBnAAqo/YTTogsq49rOfB7m23brUOp2UGQNH4DJ1gEVnledP47pKvfLdEqd/9occo8TMAJX4CoFXilwBg+lQA5HoFAIcvviiZWsHXH4q5nVDzk9HqLLNXUaFLJlORqahuz4uQOCDPAkblUYvkx1bTw3oGt3Xi4ivLsoDBnVWeygNc3mYSsoQA4PnyFwDIMCglD8EjXc3/kAQAPbPE4Wx9PW6BF6RDkW1ci2+K+JsngQE9AB2QOwEudGNdRoU6y+zl/ohMmjWyf6uiyfduWEVSnJ0wZLw4UvkMTaebCCuqLOtVFQxKGasQdwSYZdcZPWweSykFFuKwlZxoOBdQXIiGmvUkVxJ5g5TaSivnHs3SqeQ1UZUl7Q1p9Bp3kQWvFicXNvvQfGX7cR8fmqs6oPozOp1KAqgClSyw1AKSnqVA/PbTXj3E7RWnn/81jrcb4loHme7+n/Pz5krWuu3GM5+hVnmOfAICAFVWtzdVE9g05VApHvNTPawnW8fLiYmPeXvofmCNztv2lRxRuG/p1AUXOl6rrDd6WFGyyqsXQ4oXnKe3sRIT2f5YAsY2PV4nNJPUS2nv/a9wQJ3yewPiW2OcP3wDN8LQvIHP3zO+7/kXJ8IvrYGuJBUDgEhqyruaAJSXa0I0eaSjRwGA1otw2DrqOs8HBt6hzb+tSbi4RAdn17jE/UI7UwJw+Po6xLOFjmsroj//fEMmr+eCCovl6lUfeqHu47d2scsG0WA5eSqMj1AovM/QiAB8JXZnnRvBul6u9k4/v9Ccmbzwn8ZIgROwwDPET6sxdeaEa5xOTfiSnHA+//OeWetce0cDVAzl5BwGgNb29lb570L73fZ+AFCqsWg4fgCIYuspLidbVxzwNgggzZOQ0o2AyNpG2JWHKQZgJ6sdycvR3CGdDbYyE6kFABD/+uyEgoFcUBHQEAHVV1XxZyNhcwUAy/r1FP+UiIBZo0zmY+2etcQc//3uzE5T54P1evSokvj4SB/w7I/jAUB4Z3N6ZF8f3/TmJRsYwMILraQLUOvwz8ocHR2ODlSo5V65sg8ANKx0B7IsJGGtLaraXXF+Nir0/r77fPb58wkXM1HAAACUpbZjvQJAfJY00EnLRt8gdPXPIyIuiwoRLqi4mlBQkFI9gQFQUWpDhNNZbwWAXADg+AMD9w8dOmVKaMAsg2FQ+3BYFs/2TL+/EIN4Z8qjgXqjf4kdpoP7kwCgMWkdMGNDI03hOD+11+xhrWWt8uHiwyfbGk+6AdjtjkhhPV3Fx2F0/tnyszixP9cCy8/UshP2y8/Q7Brg9sHeImvLX42JlLADy+E4HrxxZlhY8gSuEGGrjOrnagAg4wMA9RH4lCu+w5lLADpQ+mlxxm8LvFUytKTEcnCWofV5fOVzzAmVlDk7yAneP4/4M79GcSoBcJb4l8SHIH4+Hj8oNoeGLtv8kNojASjWGlnwS5eK16BMM6eidMlhFwBtpK/Bw3qGqqyn2J+SkASAPtM6fz7l62QG4O8RvwQQL95qOGnZDeCyLGaGVeYesL8ayxKANl6Lt125+/DV2CVTZZGzcrHZPDmvbPLm8O/RA4a39+uux+WQF2T6/ZZMxJ/yDbcHPcBGPYDjFwBM2lPL8jafyTCF4/zUXrOHlY7iStXDEDlUAPCNdzgdeHqz8z9Hwzx8SQoAR4/S6/yYo1FsPbUKADipewnZeMvxZcrS7q2LuNY3TMYPAQAUSfHbeDma/1xmtdIYYMYYQE5yYEFKyjdoLwMIC4sHAPzHSQAqKovi8L5w2uT8yrz8uPLiWStN7Su60COnkADg8fkWU2dmZkr/ZwWAoCCMAUEU/7M4np9BE57TrM3avLm8sHnhBkM0ffbX4S4mdoSNXiPiv3b7ypIlt2/rvNjaYnwXFQb99QRAO5QB4Fvio6PZeor4OAury7mYXfMtWeFvD/X6OpNqfbtkXpYLIkTBhX1w30gDA6D9Mfp2d/cTn6kZg7gQoLpaFlQsKH/J9Sj6p1/8Yktq76LFIDAtP39yXn5dXv4zs5DFqFB06Us8jYZn7v/GVRCBW4qrC4aKMQA9wJyzJFqbn2+IXrgkmgHkDqRV8nwE4DDU53DO7dt0C6gLCqZi+tdatHlyGhjN1lPL4vVbAwPvu2aVOyn7dd4h92ReVhREqAsuxk6XqyFplT0LMILXyklQUpiaVJlfWRkXt7g8P6M8I2Na1KyVpTt2vPjiRgjO/MAq3RKopsDd3lNFbuVDWTj/hmYTj3ctzQYCEIFRVzkfirUheRdcAwB1lpXsnyHAFOVyj2w9hdPk9UsPjVM+Oxv/9cdzx49VliF1wcVY1S84eBg9JavMLlyqeOrhw6mpl4qjooqfiSruM+sErLmHYP7++sijvduVYgfa7gX1+XV6Y48TzoF6WOFPDilfxZHUWWB1VlY+Fe12qTe0wCOIQKkE+SaAQcp6E1JvlZRSYaH+AyCPn1sTnxMqmq2SOsurXl5L6vUWnYFb4KXWJ3v39viFBXXWVFpT/EFY0wOiSjg//03Wmd5ZdRcSL9SJdyN4MRK4cuX69bHvtjWyLn4claHNqFCssfN/ACSSlF+MGKC8+fSFjHPbWOJ4Bw/+1VsldXvVy2sXQ+ug2Fgy108DwIHXPr4gfmHhs4fQDegL0g2dPhI20/2ISwA4B52fv5EeQncAwGk0/HReHj/u5qUGrny+oCBWNPhg48GuKK3GcMkKcR2DddI8IfQYIffvA8hfjEDBBklG4A8AHDj0DnTwr656mAApdZZXvcxWe+bM27e3bQujn/J6CoDH/FFkQs1dBnCiklL4izERbebSUmEMTE3HzOIzOQaw42+dnX/bCBGAFjS/heNXADQ27u+6eLHrIABkGOouKVmdsgyhiooMoU/58/ga1vnzNV/j9beUqB94v02JnwDopFxPzOqCCvUyAZi8rQa/d5f9fwAkcg/APXteApgGFWq0hZM9ANx9fkWTJ4CizOQiAWDBYnR8cf1BYHNq4PMAEAgACfsPgkBXVMWlS+gBso6lapJGqKVFI6T+BQpTz6ywuSzeKVVG6tCxtrZsdQPgeLu65C9W8LLyCxEAgFlm2+2IiHsAMOWpAKgHXKAe8AQE3j5BxMrp/NO4tJQBtFOKpp2sJAPYsTwuOTnuRQbwfcWNG5eEMLdc0kkABxMu7t+f0nWzK75nlrdMxpe8SAGgxA8fYVJlhf+nFpkVvUSn6RQAOCtd39WVi3gJQKS4f0R9bxAATAaAewUFADDlqQD+W9y1hkVRRmGyy+6ygrYleMVCM4sQoRvQKiFSBlG56CZiYYigEIgFlcJWhIJ0YUuUCLMbT1mhS4ClaRJPEQRElhbhpRD1qSyhInvq6f6e832zMzta/arebm4zOzvnnW9n3j3fOe9H8f/gev6HH57vpPZyMAbK0pESpAfz/YKA5YuWvb9skdnMBGCq6PO2lpbMz6l19pWhUZdg8h1ljvLHSOCiZUxASxyw/eM9F7Cbn1LHNGWugYHyv3pJgIcDhSRAla5B/zQCZNvdnj2y7U73/lAiYFVJ3/33980jJXkqAsDA84e+aaorq5MEYCaLlBjiVwgw73z//eadZgAEIAV3O6YB9qN4CASQ1t/KMkP82BEE4Mu/5+ieoyDA6pnVzd3G6Ni3r0P8aVqwNA94nJDcetfnWyRuB7Z80rqDvv8MPA+36y1M9W13escIEACVNW9eX9+8vyIghr0Fnq/r/IEdFnq/xP1fwbHjprFqZyYCvHDaYzRXGBkHJAoCArby5qtJa4KAGctAwIzqTR9/vP3j7Xu20whQ69gwAs7UgbPIfGyRRUYxs1LMCzy6tnWTGj8R8CkDnUfyDyc5WOiyxCtmQmTOGxcXd20cm7mdTIALI4DwvHBYGOopjceO9czaggDcA0TBA+4BIGCSsp1mr8YIAgKrqqs/BrbvOWr1lMa5egJ0WWQQAIhqXgAEqE9BQu+3OuilvL7W+FZKOAmHvYuBkwl4rV81WCB4CmNtgncag+XfKyr0bWyiq7kK2MDQdb2dPALUtzPWywznWolWoFcD/fv1Ul6pE1DKjVmkiloGPgMvPTh/qpGOWjsGoPeZUlF9+ypv//pVTspyLe5S3n/paR5YynvfweDt+qzzEAn5CWhkdySGR2NKMD4+1oH/c5WAsv9lO9qSqJZ5k5LbNgukKuerrxUmKrSXzyTQ2moSuJEgiiouIKBfAPBTpWO0IzJS9rAsWNAWPLR0ZQw9VyIisH1UQcnXnJVdSYjg/U/Twcdvl5/fewzejv0ZSlZ2SDmhsLs7t5w+I2yIozwjwwGxjFcZkflh+iz1L7VBtW+jzc3pzM8CwoyGUM7hBcjz5YIKqTSBaWrWWbTxcVZ6IHhgYNMAZ6Vv7ADEk4J9jgUBE1TpiConQzls5WJji2IHStN+8vErCEzzpSqlEVtnVG0dylnZEioQmMf7y7jnzXMTEDjBF/aHAG/n/YHD54us8xDE7WjurLVXuPDDlAjIiUzPyTcY8ImRKSBAZH0PHJAFF4+/jfDwd2wl5c5jw8xB9cSAzVeeL0tleZ8gpYik6yRlQp0KMSkrXb3uq2EXvpv8LmWluWNFEIAqBDcBqnSMTiQCEH7R/D2lu1ItkJZdBWm+aWkj0qq2YjtnZbkKawbvf4TQ39/d3d/Pf/TZFVjg+xID22l/jv6aiyYOP4DECBNQX9HgKMx3VRAB0Q5k9nNiiYCUICaA4p84ejTCp/25zQ21zCCgvHxmJUZAoYEJkOcLLzQMDE5fsRcaLDQ+BA5to8IwImCA4qcn7cePX6cSAG8zI0nj8WJ6fJQqHeMdiZH5dPk3IXyjOf/rkC5fhF9QUFp69jkoNOSsLBdIzOD9ScGcf+gio/GiQ+dfjxcYMV2SAN6O/YGJzcaJQuoSARXfFDkiwztiYjPzw8opNZcSaTBGRpYnwhwT+59/WEijfux/heI4URk+8+aamZWzzTKNPUyebxKZwRURwskLbSqatCj+nTsPCQJ8/Dyn35kAY27nV7VaAiZdDAjT03gUfdLl79rVbcxw5M+mvjykMEePSyutikPpKkvXEtkxzwQA2wzANv6jT0RBYJcggLfT/ofroKK2NSOi4ZOHOEBAaE650VEUkwkC+LGNf5SkJRFwzWiaGm08QbW+xxxZe/dWOvdmhs901EzP1BAgpO9UR74U4sBZbSYm4KNtOz8iIAlLSlGVSgoB/vUDQWb+bSAIGMnnTlL0ivgcXP62Tbu6zZE54bDW+toPI6CrNC6utPQcGgEsXRE/CGDlxe1Tt8Ay8NAtz9KffWBmtpXCv/NO1RFip9G80+hfh+MTAfmFFbGO0AUdMZnhsbPLUzLSMQjQ05kY5J8YGUv7L2scfaB/XOMLtH+8MysWU9tAT0tfX7gkwGgdIaWvvlZZEPAhj4DPQIDOoYIJ2GdsQFkiDDLcBJyvFjzE5+Dmtys7qDwW1ZIgAFJza0HaCIRf+v3XisMD1+IKAoRIsaRmp2/nP/pEzPAkgM3TcAecOFwc35Gf73C5CuubY9rDQQCMkVPgCms04kVkfvhs3v/9/nHj+hE/E1CE+LmYt69vtyQAOWSY1UkCZPyybQ7KkupCP9yG+ImAG2vUyXYyiLyCCfBvaPDXEGA8Xy14iM9v67Tj4u++dPduJiCgYF7p2WdXVZ177tenfT9CODzw58Wx9OQMlq/9ppvsvufSn/EVmAECKEGnOkIMP7TN/9A1fHwiIL+jor4+ph7FuUxAeUo+EwBvcBDA+7//Pp8PEyDiZ4AAPl8iQErfE4cPc8GSBNr4hDK/Wrb9ieOp8YGAffvEF078NmDpeI1a4DC1vjYxJ5YQDuArMCuwC4MItjaY7Kq6lmtz5VOApScr2DE3QcvjP4APPZ9fYpyyljdetMkWFnJ2lghIsVgc+UYjnoL+QeGz9ftP5cd/bCxYIJhk1tn6F7XC+qzzeP32K94ABAEXAyCApOONkwGRtT1rSLxaPQzAP4qwdKk34wvOEn/xKnDUmzBGB9477w4gj7frfX01hg8MvMbfYRZLmHAX4/35DfyOydjbo5pZJn1zvSXUUmEBVb4L6D+f/yMKQKYRvPKSBgeTUKp7gdT0c3XSNSlaZqzjo4upse0DAVFcDHytgmt3rwDqLNQXbekwAaLAwky1x3w8ofRVua/P4iImwwcGNQ198OBBLy2mMlQSnQGLF/vOnD5scyCjTPEpVnZhFjRtdkrbHX8U4JVUUVFfUeF4z2wjWHN9NtZ5SNFop8PBZXzF6dmjID0/ePjh4vLyYsXn4davd0mI/uKh8CWm2Wwz5uN2ki8xS1tRsMDHQy2ytnfzTn3tMLLQhocNAcETpOPEwaHeBz0IQLM5Q5ixzX4iIzVjZUZ2yr0ls8gQvEw6RNCdZm8+vmLjbXZjsGfbnTGdunBEgYa31/6KehdKS9dMkVlfH79JfdousCSnK7ANPviRlgBIz4TmDx7+xlUyq6T+vpkzUeM0EwSkKSil2l2y2AQBNTWoxiSLTZa2ggA+HipRAf65DxABOBN3HpMImGS42cClc+w4sXmoNfVlDwI4cDm7Ezt7UmpMQkRIRMLqEkYZHCJYOmeGH99xfDcISDWkTvHwPU7npplhskADBDhcaE5fY7EycimrmqvxCU5yBoIAZ0YqbEKH5W678VgFcsz7R4/u3MsIy7ZZFaQCtZMFAYsWGY3bXmACRgoCjGaWtg8h06Ma3N3+4Dlau/xRAd6CAJmCIQJsqanW0zUE5GjihxvdsOyYkEC/iLensB98SZl0iNiLG+bx3cczZ4832g1TZPxyBKRsYTM04XiBr0CM0+VyrrmYSwKmjB+6o2CS77qFC5WSl2hnW1tloiUE99yQoIuoDW3WrP19eAYMGwY16uuN2IDsXbtkSQwREGrYtuydDiLgHZNa22tmKawYQsRUiIIFs2cWOMgA3Ky+tuy2W63eY4d4jgCKX5qxPZFhD5oVaX9xeiPiBwGKQ0T4pszdxzcdnz0+WG2rpPoD5fMofiYgz4HLDygjYKhrfqDvsGTFwQEEVGbh8o84e5h950RuQ5vVtx8MjEP8RIA4YEJX6S7hQEG+xKGGmnfeWW5sJgLU2l4LZX0VApo3SkcIszZ+aeCw+D5gJq8Qcesv3t6bdyN9oBCwocKloKmpyTW4KmHx4mGLnVOyED9QdmxvZlvbk20gYNPu3cfDmQAZPxOwfosYfTTbRZ4kXhdQ/z6AEUfCYLz3QGDwsGS+/A8IAootCfh2+gUdIqlMI2B0H+KfQfFTZ6c6AjgLS77Eoc3L33lnUUcz+RKrtb0Wer86AmKE9jfrsrj06j5NQcMvYzdu5OsvQStKuGd3z8g0Bc7CzY/RyASobYAQckPCTdK3mJukqP6A70G4Aymf52W1EZRvsTWXtHM20hUSndEZVrQt4vKPFFJ58jdNfXPm9I07wZnJfaZt8maxU6D5PCKgbhkufkcz+RKTtJUE8PvlPeD55/kxcPfa0++RM/EA2d9ByRnuY8cV4RU2NSo1dcpULQHlhoxYEf4ZggAZ/jyE31g1NV+N/9iQ3aZp5Fs8nCDOn9sBRDl0SBSyxl5jgy/RZnWnQfunwdWcgPRG3NEgKviZkNs8XErJyW8coJo4jh+pWZNH29pVw88jX2I00eBGENRMvsQsRQUB/H4qxmasB2BuFp0jg+dmrefCxk4iAjhLTO5x08JgTD9pWpibAHiRWSIRvyDgSRDA8SN8ip8IcMdfXX0MBJBvscZHGN5iiJ8IyL5wTDYISLUB6n28FtpftrkxC0d98JCy+9e5peR57FEk8SkI0ElN8iVGaVxNjdFcCF9isV0QwNvXqklvgAjIkUOAAQImGW82KlVaIOACOKmOBwMqATnKUwA8yBEgKWACshQdn3kcbYDsW6w5v7UYeQSaqU6lEUBunLUCbxOGfr90A5qtjiqAYuqsu0yVkqjj9YBeatLmGmRlC4NCF7m3hwbR/zmPtq8FtPZm0bpaXsg/88sWNcuJ/81QGFCW01DA8k+iCsD+HrtwOhonqIh9pZgCYpghfIXF1RcNegLu1rVeb0+p2pDkmTcmWenO4QI2BXJIXRYVdUWS5h1508aqWXZAX2sszNDUz1uvgvXzKZf40MwX6R0puCXvVeC009T0uSZGL5aimlrgsbq2NdPARqFSAgp4++juYqdmsawwesRrpbPNs1Y4NcpiycbuLqcLv7OzKqfe8d6XG0UWF4Djg77WGFIaULPU6kQJpm0efXTtqZf4GFD8vkx6RwquRdYsEeI9aRSyppw2JYwHATiQphZ4rK5tDVnV6kt8gbQZcVuxHQEmInBgMyAIuIZqd6Ujg00bPhPgb8/KaiqrbGrLbNkNApAvp/dI5OprjSGllx9oKiiQWV8QgMB/+OabH14ngIBTLfGB0IXXGQjQOVLk0WSvcJTg/b1HjRmT3NWVfDWDCcDxNLXAcqkrV0y3UGKUVv4KS06k4a5IvsFGg82W4pTxny4IQPzI+E1sngil5yZABvhCtr2msrKsrL2sJbNpSWwYCHjpvQx1u77WGAQ0lXVtLaiSWV8i4BCmYcYJBtby8ckugn1ozf5iBHD8TIDekSKPJns1S4SMRU3pxStXagkAnZpaYNGuHjElLcIqCVhY2DCnetjWrajuRUbI2L1ypc3s3Mzxn75ZElDnP3L4yJ3NUHoKAcoVDsKZVFa2tcMvP65lScvUOx5JwdpRe1ezozwmS30CRslaY5WArtTcLrmEBxMw7hmgkVYgen2tCDg1JCRVU5w9wPEzAXpHCnah1SwRMgQP3ITkZDseusBz8V6cNVVrgQUBFYGrdwRWSHO0woVz6ue8m3z2OaVLUZxs6541q9uwsuH4McJxk5l+506sI9P+kcNJKofILyjPWI7CXB0IaI/tmUEE7G8JuyPSkIFs0XEpTVuJAG2tsSAgI7iKs54gAN/9ZwjjBAHpQnnWObOF9BZKEvFLAvSOFAoBSOLheIIAFDFnX6olQK4mp86vm8v37i2HYwET0DBnznx8P7efc24ptmMEVNhsIe4sKxFw/sSLzIdkgYM+CxtKBLS0NM3vw11uMBNfgUhaNkuugLYaI0CNX0rpAy1dUWVx4v0g4NFHrxUj4DUQcKcgIDUqCgSYFQIGZPyt75r0jhRUIHF/ibpECBEA45mNl3KPPAgQq8npCDBmwARItKlRre2cBvpl0Ps4B2zrtmVPkPFJApBTbTbX1TWPBAH6goWhWI+wMhMFUC0tRwaXbAYBuP4Z6nS5rtaYf0scaKqqKsX7FQLoHnBtx2uCAGVPbvNKZwKMRhl+77smvSPFipmo9OD4BQFGIDk7N5mPgQssaoU1tcB6H18QUN9O8QNzh3LACcPUggQmgB4AdTv9rxl+1clLbnh3pq3bvHl+S8sgsGTzbBCwyuJu6zHX6muNJ9MSH+/jAPx+IgC3vh8OH0b8TADf1QFaLg1marcyAQNMQG8rCNA7UqygUieO/1U+Ht+YduzINQv4i1phtRYYBEzx8PFFbW77EqXN7N2rva/tDtEvqWH+uyU3QMDqrErG5vDNRMBe7ZoarfpaY7HEh/r+9fT4B15nEAGA6LYGmACcungMAia9IwXXInMWex4fz6wWTwgChhJyGd6EC7QqDTB5ojVNV5BAVN+od3AANJP0c8NUeTo7r3U8jqsuqaGrNZZaW33/ep37WR5B02amb03TO1LQXis2cIGEPF8mxw0vo4TSO6lRngycm8f6c3mL895Tz2D7IGRuUvQR8i6Tvr46qXoGgAINLomYCgz19qw/GeMMv2l8uPNxxQhZ3/ZmtCkwQ1pbLM+6cQvDKODuHLuccBrjlFL6KkDbR6f3Fc5YzwVaAi7X3WshTRmyE9NUbFxsSHwPwJewweXaHw2dW78SSBPS9Ko6T6l6BrLHqATOEXg6zDvbZseyvAEy6zu2MiElISTFnuh0kt1g1lSeKFXPx6Jvw4MpitYW5Rb9+bO5GytfIX3VeISPsFqwIXyJ9b7C/kgZKVnrzrIyFwhwNyPj7rTMlFecQrGvATrLmpYhY5SV5YLUTGNpSgURNVqpCgJycvCDTVr0gQCbPcAOF6ULpZMUChsnTAAdYoa/CATgt4Z6PhabgWtm+bUgQLPuDlas0J0/CEBgmtXx1HiEj7BnBsq80+slt0cwrW35yB14g7L/fU1N5SBgUd225prmZvzT8QIIWJyBq4/w9zaVHXiBCWgX8Z+tFEQs12QYckHADcgv5CN+SUDqJVi2WcQPAi5IwHjxi9pRVNQCFE2FoUIGtxKuIkxPeiUxalSq36jixYziFZ9tOwQoo+DDZyUBLpdRIQAXViN9RTx3bdnyKKUh7lrrE8J1pAUFUqh54bHEEBO6L92xXsaP3ekNdxIBzc11zXUdy5mANcZVxmJx+V9A3osIcLnjv8SeS1ng5WrbSOhS/ZIYdlsCHtDSIv/C8UUJiVEbEzc6isKZgLAVM+1m+xrCQWBNdN4jAci8+zqJEJTu3qp+PTRSuK4C+dHl/BoE0Fp2Bw4I6QsCEM2WlIwMUPDoQyCACyZm4IRYamsJoCzFS3dgvh1QZpxLvkCWt3lnc0dH3aLlNcsQcF7kquJVuPxNB16QBLTL+M+eYIew4CzwIqVSDwREqPETAUNxBTTl9xfMjSzescNZviM8fMCR4ggHAZhtUOJ/GQQsDh6VGuI7cxURsMZNgHL8IL5gD3f+8ENPA7JMd93Jnz8aNSaHxep44oLiB3IK4gcBomAibdy4UsSvJ+AOEKAvOJisLqbGAa/A+HfSt5/iv4wIcHH8IwKy3W12y/3l+TEBFL+6GpzNMwucixHEX38QMLBsERGAG4wHAaHOmc7a6Rw/E6B9vyRgeWddTc+yh4gAWcDR3y+lr/ARvj09/faHeLuQ3jNQyS1Xm5u28WfCbwI/t+oLDkiaNjMKmwUBaxo6cfk5fiKggeIfRj/OcEtpvhxZ4EWaR23hkJynn0b80qP0uTAmQOMHEO1E/JVU4VS0bFlReNjcL38W+Jjwc+/4jW/nTg/FuuF8fuvmHpSOQwC7zrBP8H03d7bcdwNPtbEZm0b6Ch9h3Ai2KFNxbqXGaX0vvXRFAB7L0REBYt21ukV0xfPqcfkXyfiR9Y12pQ3zTbCiBubQRcOx/+XXLJqjdWgAAc/h+iN+JmC2TY2fgBGgVHjtxlK54WGn8AkOsEepr1es4tEB5AEHo0Wef0ts7O0iQM5Sq6vjgQB1KpK2mw3ysy2M0JPa5k7K8roNKd4hmOZ0lnVqV6ML2+Vn99/ZXDdyotj/suWeDg1UEIG7AB4CjNlmXe1wvJPL3ABRkPFPPsG3riIo3xEQIGcZRZhEgPoUoP312y93t/HJ1eZOMifTFRwAJi2ODr7g8frdd9+/6jLs7y5AMHmC5B+yzO4SB5Jz0gwil0ACkHPCEv/kE6zvslOFsgCXVyAHitU5dFJabscO2iy211kmT4zXFUioApyxoiF4UrCKKVfrs7TwRvFwJt7Rdvqxj4cc26Skvrm0gl0hNrAWlu+9SpGm+uONB7T11nkEFvj4B2jV7T958uPT5k4+7zvluumPZxZQzdSefEVncRHlKRXvhLXMI8WPKHeeFfWpU66+2I2bxuuztDeopjkPA2+dIWt9xSIwsWFsniYW1SA5PFYWSLg/T18wofcN5l+D5JPlqidtkGTq3OXx+ZM7MLkB++7QDp7BMZ3sU5zqB6td5TUIeH29RyelT9QkjfEuCPDw+gIBWEYZi2lLPL5dn6X9vkK7uvqun0St78bg2KL89vZYIgB5e9EoCCFABCRkB4waFSgelWVy9ThVCut9gykfkJ7TiQVPmnqK1tyfZJrfE9ilfj4I2LFxdce+jn3+b/ASG3x+2Zj/svtJn+JRtByesj8IwK+kyFSLgoU+fl1pJcDoRrqTNvanpKutuUBxvXVXdwgYUAjQL2xMxcvrqhcutNqruc3tmFzSIraoKbCqpWg2ETBTNEqyEPLB9Ugd5et2f6tkSyMH4AQc0eK5H1NREWHj43OOL316J9DUfpAIWNJXUqDWOk/uwFjZV7gv1PLGp5IAX7vdzzfAHjJB+BRnj4Kxsbrw8hkPbXvo0ewQBe9CKnaljR5dMoj4B68dfcTgqbUt9fVL2g3Z5yhfKzYsMDaT+dghiyQgrQWPgVBrbkvuu9W9+bLWt6ioottNADu9BUIOEwF2q93X94QEapI4feLOOhs5/u6KCmuMQkBDw/T0+9e0d7b3HLw/2tQQtHB/ybw0WTsMAlZvWr3vDf+gjn1MAElfu1+C1c8vdQJtlxdMXXj5jIefKXxw/c8+Er1QSl1bYex73eC4/bcNjpMEpNTUpIiChvr65x21BssxBXRArK6N+M+/iKRv647OzoUNDXMKl7TX7tmDEeBYwKvLhYe3NLWAAG7MdHG36BgmIISywr7utrloJ8evpt0pfuSpkaN2kfSFUnQ1dC5Ys6aop70FvxVMFqyEg4qVNFkLfB4TsG/fGxQ/pu9J+dl9rX7D7NZRtF1XOwwCHq149MEv8UoABPAIaBwcd+2rg9cyAXyNm2XBQkPnlztiUqBZBIbwCGCLjzp/MxPgKK+GCij0r9/elrO9N56qLlnptBw4MBg+m5e8cFH8IECt5j7BGH7iininev1PT9osa4PxiypGSGsQ0NlQ1g4CsEY6pDKPgMZ5aUoW+rw3Vg+sw7y1nL4XBASEWBP8Un1puz5r7XXWaw8+mNJtVbDQZ8LWNEUJv/pqY3+k+v0X94DumApHtLpiob5NjdvcPr7utsJaavOSBIQTAZktLWeFzz6dZmpcFH8ZF0EtjaCeYVmQgIWTk4o1M4+VWVPNuuODgPbOpibcAfct20cEzJ+zv0TMoigEVK/m+CUByDonJEwYAWfJS2i7LmsNAh5c/60GV/gEY4EkjVsc33SgvbDEHdTXqlvxFFgQPUSF3pzse9z+GVWEgp9AgIj/0ieBcNPp90xfsMDF/cJXEgEbIsoA8l0mxA3qzdN4Ieh3VOmNLG9WT1N7T0/PvmUvEwFL+maUqtIZBLy9eqMIXxKAeO2pVmvCKN6ul9pev6z/9lktAd471BwtcF6e6vIEHkBAyu54TfzxenMyOFMzygWGTOXHP0HU+t56j3ITdF0IoJbX8/N88MiWE0sEb/1C0LfiPJwNrsCypvY3yHHC1FMwSiOVQQAeg7J8AzD9g7TGCPiOcYWCabqCB9XxVqAt3mPR1l9MOkD+aZ2Jz9CW+tL205OAQV43mBPQemmql776haClFI6Pjxbo1e1vMs31qDn4J2ntpZeKVgzkB6y+7tetEr2M7b0vM2B6JrerWdbLTxzBB+qzynqCshT4BfAMvX7JjPjElKypUxMdiZI3xV3CIrPEdDlOkyDmXj1yhMsfFOxou/XYx0mQ3sBUQH98fbxeeql4jq1h/vwGm1153bpDwaZO16ae3pdp4QG4aSvb3W1uFzWW9KHAAQUNgFrQYFINHAmmLMMW+sv4ovimN5htFVjj62HCzcDp8UYkiOm2K+6Cs3k1OpRVKlnhvPe43oHTvlSQ8X7UykPyNWFpkpDexe4CjgqrrbvCUIG/u7u7K1z6eEWBREKC6sBgt7UvXDjfliBf66XpyzcXw4UX5dlyu2JudrgR1lq37R+k6WwOXRY0cIpN9SF+NWuLdCDBrDD8xqZYUHpbwfe8dEJkfEa6IyMyIzIofDM1SIAAIRttstY3773pq5TjkTna+4unf6M5/lLZZrfaXcBRERGD6CNKbLaIwLLGTindu7oUKcxS0Wq1qw4MCWBgznxriHgNy1as2vQmgMLNuI4hgoDp0y9Us8Bk7tXYuB/3wMHGfhCgncpae5pYKFlK3XlHs7YYHzM+Zn5sPY3LWeZCEFCyEi1jW7bwyh5vtX6ptAF+DFSblMXYbObuzs5uKwhYtQrF2qNJqpOP8WlEsOpzvEFI7417Kzcvwn0QBEBDlJQsdux9zzXuSFl3EMULFMxQpDCEiJ/Nb1jACOswxYEhwTZ/DjHAr/F+Q4qM/+mON0EA1ieFR+aFQkoyAbj8TXPQlHek8dAHTMBTMn5MZgqhk91gtIv9s7Y8Rlj/li8oP8dvndkaE2M1SpdReIzqsr6FICCCYMzo6Ww6UiEIOHzg8OETh6+l2uM8nqVIxwDiLHJSFknv4tq9mzfvq2letjnMaQx1BZY4sVNZo6sisZDPZ96M0aPj4s5mKQxlZLdhPCOppUhFMICCgCXWEHptaG7GIBDxPx3XEX36zewRugBnL9vi6PL34RnY19j45utrP3n4ecKbEpdCGAHGhiVGaoDfjnsALr/lQf8P+L6UXm+hiSCcvkShrna4cKkwWcFPIXNPj9koCDgwsbFxeP+1JJ3xGvEXrzlYnIEs2ZqkY85KVHdnEQF1ze+AgIxIgyHCFpy7uqy5OAMEsI0vjZcROH8mAPEGQCj5ZZ/rlooh1iW33bbEGoXXMRUx3Rkcf08cLWV98kLJB+jyX4fLX0fT16d5ZpVp/UASxsaL68XqcTwCHnzrg5eZQb/qG1J4+Ct4K10bv4YAY4WrtrY+NHSFGAEnTvQfuZZylnjN8R8EA5QjjHZL6X3LQMDs4sgUw7JAIqAx0uEPAvj8S5EWl1KYpKEd9Xw0Ia9KRTDwwAMLU6PO9jZ0d3P4lOmJewME6KTkVa6SPmigvsbDb74mCFDjJwIGXU3AEQX70Umi+qQGpba/fLNqsksE97KUdsO0IUa47GCuqbbWbAmlgFHwcWI4jk6lt71uvwdRshOfpfyU6Ozra9rMXWaNByqaWppccUGQ0uL8x20dgaSxJIDiDaH4tVIxxLrwgQfmpIZ466WpXkp+4VooLj8qWCQBavyvjtvwjOfrL/yy/ahVW3yDfAKqM/j+z4Crr6VQ5yvMBAQCZloMGgFQVrgEXYX9OBoRoD8fECB/SvUAggBzs6UszlVcaGYCeK0KavbD/kzAqaUixsB1ty1J9e5Vbsp7qvYgw3GStCQp3NdY8vzrDBCgPvUIG3y6BLYKeAepbFrS/f27XlZshm9gRF/h6SsMAuRTgN7DBOArII7feKqCjHihH+QwYAL487qRpmMC9FL4r6Virgmo7WVAYP7Ue0ppif+1/4sTH7izrm5jsA0C+v2nELhEpJrhr1teTilEUCCOcvRortxpxYqkJOXopyrI0LflWdxrTwicJIUf2GCaq5WGSTC4nzZtndvyIgzgo2G7B2SNw1VXjQw9R/N+/epzQZM1OWZgnhszGJfq8MckTbGtbdIfXv82TD0xAzs00jDJiaxncIIsY1s3Nyy/PMgRCTsouR0ODVF+qpPt2P66ukOWBPX9l9cp6CkoaEk7z2io+YaADlfCVaNHqEBKqErGHa4QkD3l92xeZZWqAX+fku31b8M0vy8QpbCKFGYCVq97e906tvYhAiLb2spRmy+2gwBEfoni4njJ2MGYi5ZftDNhgnw/CLhIunuPXJ6WVjMZN9FOrRSeN8LdIgkwAUVFOQtynAvuKSrCC4Ph1z9+tRm6ugw2/MFg8Pq3QVnVsq+q3VlSImAdCEhel2tMTU5uRYNCZnkbehPk9pBsuwLy6LzQ1BlxzfKROy3yfweDAMR/jSwrWT7ZuDLBMCBvgj/9tHU8CKDoq6q8CRczAU6MAAyBBQvwgi/879lRUfRvw39BgCuwqa9MWeh4jkkSkJycm1yLv0BAZmI59WZI6asvUKC8PFWLi6zGyCtAgDR3H3PObQ+keUfFzAqJql5XnZzMbnCt80Yg/LRzq6puSsPEEAgQGOjJFH8wEH4dExx8MS7/f0JA55KyOftlv8WGsj3JYi2L5GRj7eNvm0FAW2Ybxf+LlL46qUq+vX2B15xPFilw9Zl43uV1irm9IMAeMmuW3Sj5hRIUBFS99VZV2lg3AZkopJQMSJ/jm25KMPxHBPS0NO0vk+eHE5wWLK29UpPffhwjQC999W1uuIeU1cD1REwlnT8ZBMjhf+W5D4AAc8isAnM1H5L79ogA79KqHxdV/aQSgPjBQLgkgG8D+Ps/ImAJrv+c990LKU9bLU82udZci2puvfRtL9Sux19/namzERUFO/3FdGBklljiYqRKAHyWv8Is4k8//cQNGCDAG6iqajmGphVJQHgPCBhQRkAqf/v/s3vAEjV+QQDHT0DG7vFWvdTEkFduGDxiBiOoXWLxGqVgQV3i4qZzHzCVggBzzziNFJ43huMvrfqpCk07IICR2TMwHwNAfQoA/9VToM+15HzNQspz8fgHkiUNraeQvu48MGDqp6fgYnfFQrS6xMWFY667rdTbaK45wBBGF5fNGKN1uU0GAYz5bh1wCS484T/TAUdNk7ULKSuFvK0SJ0lfHS677MzyFZrV1NQlLi6Aj9dYb3+T55IXM9CxogAcV/3vSvC/Bj1utPD6n/EnnaQbrf6BCX0AAAAASUVORK5CYII=)}.react-tel-input .ad{background-position:-16px 0}.react-tel-input .ae{background-position:-32px 0}.react-tel-input .af{background-position:-48px 0}.react-tel-input .ag{background-position:-64px 0}.react-tel-input .ai{background-position:-80px 0}.react-tel-input .al{background-position:-96px 0}.react-tel-input .am{background-position:-112px 0}.react-tel-input .ao{background-position:-128px 0}.react-tel-input .ar{background-position:-144px 0}.react-tel-input .as{background-position:-160px 0}.react-tel-input .at{background-position:-176px 0}.react-tel-input .au{background-position:-192px 0}.react-tel-input .aw{background-position:-208px 0}.react-tel-input .az{background-position:-224px 0}.react-tel-input .ba{background-position:-240px 0}.react-tel-input .bb{background-position:0 -11px}.react-tel-input .bd{background-position:-16px -11px}.react-tel-input .be{background-position:-32px -11px}.react-tel-input .bf{background-position:-48px -11px}.react-tel-input .bg{background-position:-64px -11px}.react-tel-input .bh{background-position:-80px -11px}.react-tel-input .bi{background-position:-96px -11px}.react-tel-input .bj{background-position:-112px -11px}.react-tel-input .bm{background-position:-128px -11px}.react-tel-input .bn{background-position:-144px -11px}.react-tel-input .bo{background-position:-160px -11px}.react-tel-input .br{background-position:-176px -11px}.react-tel-input .bs{background-position:-192px -11px}.react-tel-input .bt{background-position:-208px -11px}.react-tel-input .bw{background-position:-224px -11px}.react-tel-input .by{background-position:-240px -11px}.react-tel-input .bz{background-position:0 -22px}.react-tel-input .ca{background-position:-16px -22px}.react-tel-input .cd{background-position:-32px -22px}.react-tel-input .cf{background-position:-48px -22px}.react-tel-input .cg{background-position:-64px -22px}.react-tel-input .ch{background-position:-80px -22px}.react-tel-input .ci{background-position:-96px -22px}.react-tel-input .ck{background-position:-112px -22px}.react-tel-input .cl{background-position:-128px -22px}.react-tel-input .cm{background-position:-144px -22px}.react-tel-input .cn{background-position:-160px -22px}.react-tel-input .co{background-position:-176px -22px}.react-tel-input .cr{background-position:-192px -22px}.react-tel-input .cu{background-position:-208px -22px}.react-tel-input .cv{background-position:-224px -22px}.react-tel-input .cw{background-position:-240px -22px}.react-tel-input .cy{background-position:0 -33px}.react-tel-input .cz{background-position:-16px -33px}.react-tel-input .de{background-position:-32px -33px}.react-tel-input .dj{background-position:-48px -33px}.react-tel-input .dk{background-position:-64px -33px}.react-tel-input .dm{background-position:-80px -33px}.react-tel-input .do{background-position:-96px -33px}.react-tel-input .dz{background-position:-112px -33px}.react-tel-input .ec{background-position:-128px -33px}.react-tel-input .ee{background-position:-144px -33px}.react-tel-input .eg{background-position:-160px -33px}.react-tel-input .er{background-position:-176px -33px}.react-tel-input .es{background-position:-192px -33px}.react-tel-input .et{background-position:-208px -33px}.react-tel-input .fi{background-position:-224px -33px}.react-tel-input .fj{background-position:-240px -33px}.react-tel-input .fk{background-position:0 -44px}.react-tel-input .fm{background-position:-16px -44px}.react-tel-input .fo{background-position:-32px -44px}.react-tel-input .fr,.react-tel-input .bl,.react-tel-input .mf{background-position:-48px -44px}.react-tel-input .ga{background-position:-64px -44px}.react-tel-input .gb{background-position:-80px -44px}.react-tel-input .gd{background-position:-96px -44px}.react-tel-input .ge{background-position:-112px -44px}.react-tel-input .gf{background-position:-128px -44px}.react-tel-input .gh{background-position:-144px -44px}.react-tel-input .gi{background-position:-160px -44px}.react-tel-input .gl{background-position:-176px -44px}.react-tel-input .gm{background-position:-192px -44px}.react-tel-input .gn{background-position:-208px -44px}.react-tel-input .gp{background-position:-224px -44px}.react-tel-input .gq{background-position:-240px -44px}.react-tel-input .gr{background-position:0 -55px}.react-tel-input .gt{background-position:-16px -55px}.react-tel-input .gu{background-position:-32px -55px}.react-tel-input .gw{background-position:-48px -55px}.react-tel-input .gy{background-position:-64px -55px}.react-tel-input .hk{background-position:-80px -55px}.react-tel-input .hn{background-position:-96px -55px}.react-tel-input .hr{background-position:-112px -55px}.react-tel-input .ht{background-position:-128px -55px}.react-tel-input .hu{background-position:-144px -55px}.react-tel-input .id{background-position:-160px -55px}.react-tel-input .ie{background-position:-176px -55px}.react-tel-input .il{background-position:-192px -55px}.react-tel-input .in{background-position:-208px -55px}.react-tel-input .io{background-position:-224px -55px}.react-tel-input .iq{background-position:-240px -55px}.react-tel-input .ir{background-position:0 -66px}.react-tel-input .is{background-position:-16px -66px}.react-tel-input .it{background-position:-32px -66px}.react-tel-input .je{background-position:-144px -154px}.react-tel-input .jm{background-position:-48px -66px}.react-tel-input .jo{background-position:-64px -66px}.react-tel-input .jp{background-position:-80px -66px}.react-tel-input .ke{background-position:-96px -66px}.react-tel-input .kg{background-position:-112px -66px}.react-tel-input .kh{background-position:-128px -66px}.react-tel-input .ki{background-position:-144px -66px}.react-tel-input .xk{background-position:-128px -154px}.react-tel-input .km{background-position:-160px -66px}.react-tel-input .kn{background-position:-176px -66px}.react-tel-input .kp{background-position:-192px -66px}.react-tel-input .kr{background-position:-208px -66px}.react-tel-input .kw{background-position:-224px -66px}.react-tel-input .ky{background-position:-240px -66px}.react-tel-input .kz{background-position:0 -77px}.react-tel-input .la{background-position:-16px -77px}.react-tel-input .lb{background-position:-32px -77px}.react-tel-input .lc{background-position:-48px -77px}.react-tel-input .li{background-position:-64px -77px}.react-tel-input .lk{background-position:-80px -77px}.react-tel-input .lr{background-position:-96px -77px}.react-tel-input .ls{background-position:-112px -77px}.react-tel-input .lt{background-position:-128px -77px}.react-tel-input .lu{background-position:-144px -77px}.react-tel-input .lv{background-position:-160px -77px}.react-tel-input .ly{background-position:-176px -77px}.react-tel-input .ma{background-position:-192px -77px}.react-tel-input .mc{background-position:-208px -77px}.react-tel-input .md{background-position:-224px -77px}.react-tel-input .me{background-position:-112px -154px;height:12px}.react-tel-input .mg{background-position:0 -88px}.react-tel-input .mh{background-position:-16px -88px}.react-tel-input .mk{background-position:-32px -88px}.react-tel-input .ml{background-position:-48px -88px}.react-tel-input .mm{background-position:-64px -88px}.react-tel-input .mn{background-position:-80px -88px}.react-tel-input .mo{background-position:-96px -88px}.react-tel-input .mp{background-position:-112px -88px}.react-tel-input .mq{background-position:-128px -88px}.react-tel-input .mr{background-position:-144px -88px}.react-tel-input .ms{background-position:-160px -88px}.react-tel-input .mt{background-position:-176px -88px}.react-tel-input .mu{background-position:-192px -88px}.react-tel-input .mv{background-position:-208px -88px}.react-tel-input .mw{background-position:-224px -88px}.react-tel-input .mx{background-position:-240px -88px}.react-tel-input .my{background-position:0 -99px}.react-tel-input .mz{background-position:-16px -99px}.react-tel-input .na{background-position:-32px -99px}.react-tel-input .nc{background-position:-48px -99px}.react-tel-input .ne{background-position:-64px -99px}.react-tel-input .nf{background-position:-80px -99px}.react-tel-input .ng{background-position:-96px -99px}.react-tel-input .ni{background-position:-112px -99px}.react-tel-input .nl,.react-tel-input .bq{background-position:-128px -99px}.react-tel-input .no{background-position:-144px -99px}.react-tel-input .np{background-position:-160px -99px}.react-tel-input .nr{background-position:-176px -99px}.react-tel-input .nu{background-position:-192px -99px}.react-tel-input .nz{background-position:-208px -99px}.react-tel-input .om{background-position:-224px -99px}.react-tel-input .pa{background-position:-240px -99px}.react-tel-input .pe{background-position:0 -110px}.react-tel-input .pf{background-position:-16px -110px}.react-tel-input .pg{background-position:-32px -110px}.react-tel-input .ph{background-position:-48px -110px}.react-tel-input .pk{background-position:-64px -110px}.react-tel-input .pl{background-position:-80px -110px}.react-tel-input .pm{background-position:-96px -110px}.react-tel-input .pr{background-position:-112px -110px}.react-tel-input .ps{background-position:-128px -110px}.react-tel-input .pt{background-position:-144px -110px}.react-tel-input .pw{background-position:-160px -110px}.react-tel-input .py{background-position:-176px -110px}.react-tel-input .qa{background-position:-192px -110px}.react-tel-input .re{background-position:-208px -110px}.react-tel-input .ro{background-position:-224px -110px}.react-tel-input .rs{background-position:-240px -110px}.react-tel-input .ru{background-position:0 -121px}.react-tel-input .rw{background-position:-16px -121px}.react-tel-input .sa{background-position:-32px -121px}.react-tel-input .sb{background-position:-48px -121px}.react-tel-input .sc{background-position:-64px -121px}.react-tel-input .sd{background-position:-80px -121px}.react-tel-input .se{background-position:-96px -121px}.react-tel-input .sg{background-position:-112px -121px}.react-tel-input .sh{background-position:-128px -121px}.react-tel-input .si{background-position:-144px -121px}.react-tel-input .sk{background-position:-160px -121px}.react-tel-input .sl{background-position:-176px -121px}.react-tel-input .sm{background-position:-192px -121px}.react-tel-input .sn{background-position:-208px -121px}.react-tel-input .so{background-position:-224px -121px}.react-tel-input .sr{background-position:-240px -121px}.react-tel-input .ss{background-position:0 -132px}.react-tel-input .st{background-position:-16px -132px}.react-tel-input .sv{background-position:-32px -132px}.react-tel-input .sx{background-position:-48px -132px}.react-tel-input .sy{background-position:-64px -132px}.react-tel-input .sz{background-position:-80px -132px}.react-tel-input .tc{background-position:-96px -132px}.react-tel-input .td{background-position:-112px -132px}.react-tel-input .tg{background-position:-128px -132px}.react-tel-input .th{background-position:-144px -132px}.react-tel-input .tj{background-position:-160px -132px}.react-tel-input .tk{background-position:-176px -132px}.react-tel-input .tl{background-position:-192px -132px}.react-tel-input .tm{background-position:-208px -132px}.react-tel-input .tn{background-position:-224px -132px}.react-tel-input .to{background-position:-240px -132px}.react-tel-input .tr{background-position:0 -143px}.react-tel-input .tt{background-position:-16px -143px}.react-tel-input .tv{background-position:-32px -143px}.react-tel-input .tw{background-position:-48px -143px}.react-tel-input .tz{background-position:-64px -143px}.react-tel-input .ua{background-position:-80px -143px}.react-tel-input .ug{background-position:-96px -143px}.react-tel-input .us{background-position:-112px -143px}.react-tel-input .uy{background-position:-128px -143px}.react-tel-input .uz{background-position:-144px -143px}.react-tel-input .va{background-position:-160px -143px}.react-tel-input .vc{background-position:-176px -143px}.react-tel-input .ve{background-position:-192px -143px}.react-tel-input .vg{background-position:-208px -143px}.react-tel-input .vi{background-position:-224px -143px}.react-tel-input .vn{background-position:-240px -143px}.react-tel-input .vu{background-position:0 -154px}.react-tel-input .wf{background-position:-16px -154px}.react-tel-input .ws{background-position:-32px -154px}.react-tel-input .ye{background-position:-48px -154px}.react-tel-input .za{background-position:-64px -154px}.react-tel-input .zm{background-position:-80px -154px}.react-tel-input .zw{background-position:-96px -154px}.react-tel-input *{box-sizing:border-box;-moz-box-sizing:border-box}.react-tel-input .hide{display:none}.react-tel-input .v-hide{visibility:hidden}.react-tel-input .form-control{position:relative;font-size:14px;letter-spacing:.01rem;margin-top:0!important;margin-bottom:0!important;padding-left:48px;margin-left:0;background:#fff;border:1px solid #CACACA;border-radius:5px;line-height:25px;height:35px;width:300px;outline:none}.react-tel-input .form-control.invalid-number{border:1px solid #d79f9f;background-color:#faf0f0;border-left-color:#cacaca}.react-tel-input .form-control.invalid-number:focus{border:1px solid #d79f9f;border-left-color:#cacaca;background-color:#faf0f0}.react-tel-input .flag-dropdown{position:absolute;top:0;bottom:0;padding:0;background-color:#f5f5f5;border:1px solid #cacaca;border-radius:3px 0 0 3px}.react-tel-input .flag-dropdown:hover,.react-tel-input .flag-dropdown:focus{cursor:pointer}.react-tel-input .flag-dropdown.invalid-number{border-color:#d79f9f}.react-tel-input .flag-dropdown.open{z-index:2;background:#fff;border-radius:3px 0 0}.react-tel-input .flag-dropdown.open .selected-flag{background:#fff;border-radius:3px 0 0}.react-tel-input input[disabled]+.flag-dropdown:hover{cursor:default}.react-tel-input input[disabled]+.flag-dropdown:hover .selected-flag{background-color:transparent}.react-tel-input .selected-flag{outline:none;position:relative;width:38px;height:100%;padding:0 0 0 8px;border-radius:3px 0 0 3px}.react-tel-input .selected-flag:hover,.react-tel-input .selected-flag:focus{background-color:#fff}.react-tel-input .selected-flag .flag{position:absolute;top:50%;margin-top:-5px}.react-tel-input .selected-flag .arrow{position:relative;top:50%;margin-top:-2px;left:20px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555}.react-tel-input .selected-flag .arrow.up{border-top:none;border-bottom:4px solid #555}.react-tel-input .country-list{outline:none;z-index:1;list-style:none;position:absolute;padding:0;margin:10px 0 10px -1px;box-shadow:1px 2px 10px #00000059;background-color:#fff;width:300px;max-height:200px;overflow-y:scroll;border-radius:0 0 3px 3px}.react-tel-input .country-list .flag{display:inline-block}.react-tel-input .country-list .divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #ccc}.react-tel-input .country-list .country{padding:7px 9px}.react-tel-input .country-list .country .dial-code{color:#6b6b6b}.react-tel-input .country-list .country:hover,.react-tel-input .country-list .country.highlight{background-color:#f1f1f1}.react-tel-input .country-list .flag{margin-right:7px;margin-top:2px}.react-tel-input .country-list .country-name{margin-right:6px}.react-tel-input .country-list .search{position:sticky;top:0;background-color:#fff;padding:10px 0 6px 10px}.react-tel-input .country-list .search-emoji{font-size:15px}.react-tel-input .country-list .search-box{border:1px solid #cacaca;border-radius:3px;font-size:15px;line-height:15px;margin-left:6px;padding:3px 8px 5px;outline:none}.react-tel-input .country-list .no-entries-message{padding:7px 10px 11px;opacity:.7}.react-tel-input .invalid-number-message{position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;color:#de0000}.react-tel-input .special-label{display:none;position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;white-space:nowrap}.form-login-ui{animation:fadein .15s;display:flex;flex-direction:row;margin:auto}@media only screen and (max-width:600px){.form-login-ui{flex-direction:column}}.signup-form .page-section{background-color:transparent!important}.login-form-section{max-width:500px;display:flex;flex-direction:column;margin:10px auto;border:1px solid #e9ecff;border-radius:4px;padding:30px}@media only screen and (max-width:600px){.login-form-section{padding:15px;margin:15px 0;border-radius:5px}}.auth-wrapper{margin:50px auto 0;max-width:320px}.signup-workspace-type{margin:15px 0;padding:30px;border:1px solid white}.signup-wrapper{margin:0;display:flex;overflow-y:auto;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.signup-wrapper h1{margin-top:30px}.signup-wrapper .page-section{overflow-y:auto;min-height:100vh;background:transparent;display:flex;align-items:center;justify-content:center;margin:auto}.signup-wrapper.wrapper-center-content .page-section{display:flex;justify-content:center;align-items:center}.signup-wrapper.wrapper-center-content fieldset{justify-content:center;display:flex}@media only screen and (max-width:500px){.signup-wrapper{margin:0;max-width:100%}}.go-to-the-app{font-size:20px;text-decoration:none}.signup-form{height:100vh;overflow-y:auto}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .page-section{background-color:#46414f}}.mac-theme.dark-theme .page-section{background-color:#46414f}.step-header{text-align:center;font-size:24px}.step-header span{width:40px;height:40px;font-size:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:100%;border:1px solid white;margin:5px}.otp-methods{list-style:none;padding:0}.otp-methods .otp-method{margin:5px auto;background:#fff;border-radius:5px;padding:3px 10px;cursor:pointer}.otp-methods .otp-method:hover{background-color:silver}.otp-methods img{width:30px;height:30px;margin:5px 15px}html,body{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.signin-form-container{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:20px;max-width:400px;margin:2rem auto}.signin-form-container .button-icon{width:16px;margin:0 3px}.signin-form-container .login-option-buttons button{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid silver;border-radius:10px;background-color:transparent;margin:10px 0;padding:10px}.signin-form-container .login-option-buttons button:disabled img{opacity:.3}.ptr-element{position:absolute;top:0;left:0;width:100%;color:#aaa;z-index:10;text-align:center;height:50px;transition:all}.ptr-element .genericon{opacity:.6;font-size:34px;width:auto;height:auto;transition:all .25s ease;transform:rotate(90deg);margin-top:5px}.ptr-refresh .ptr-element .genericon{transform:rotate(270deg)}.ptr-loading .ptr-element .genericon,.ptr-reset .ptr-element .genericon{display:none}.loading{display:inline-block;text-align:center;opacity:.4;margin:12px 0 0 5px;display:none}.ptr-loading .loading{display:block}.loading span{display:inline-block;vertical-align:middle;width:10px;height:10px;margin-right:3px;transform:scale(.3);border-radius:50%;animation:ptr-loading .4s infinite alternate}.loading-ptr-1{animation-delay:0!important}.loading-ptr-2{animation-delay:.2s!important}.loading-ptr-3{animation-delay:.4s!important}@keyframes ptr-loading{0%{transform:translateY(0) scale(.3);opacity:0}to{transform:scale(1);background-color:#333;opacity:1}}.ptr-loading .refresh-view,.ptr-reset .refresh-view,.ptr-loading .ptr-element,.ptr-reset .ptr-element{transition:all .25s ease}.ptr-reset .refresh-view{transform:translateZ(0)}.ptr-loading .refresh-view{transform:translate3d(0,30px,0)}body:not(.ptr-loading) .ptr-element{transform:translate3d(0,-50px,0)}.file-dropping-indicator{transition:backdrop-filter .2s;-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1);position:fixed;top:0;display:flex;align-items:center;justify-content:center;justify-items:center;left:0;right:0;bottom:0;font-size:30px;z-index:999}.file-dropping-indicator.show{-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1)}.dropin-files-hint{font-size:15px;color:orange;margin-bottom:30px}.tree-nav{margin:20px auto;left:60px;min-height:auto}.tree-nav li span label{display:flex}.tree-nav li span label input[type=checkbox]{margin:3px}.tree-nav ul.list,.tree-nav ul.list ul{margin:0;padding:0;list-style-type:none}.tree-nav ul.list ul{position:relative;margin-left:10px}.tree-nav ul.list ul:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;width:0;border-left:1px solid #ccc}.tree-nav ul.list li{position:relative;margin:0;padding:3px 12px;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:400;line-height:20px}.tree-nav ul.list li a{position:relative;text-decoration:none;text-transform:uppercase;font-size:14px;font-weight:700;line-height:20px}.tree-nav ul.list li a:hover,.tree-nav ul.list li a:hover+ul li a{color:#d5ebe3}.tree-nav ul.list ul li:before{content:"";display:block;position:absolute;top:10px;left:0;width:8px;height:0;border-top:1px solid #ccc}.tree-nav ul.list ul li:last-child:before{top:10px;bottom:0;height:1px;background:#003a61}html[dir=rtl] .tree-nav{left:auto;right:60px}html[dir=rtl] ul.list ul{margin-left:auto;margin-right:10px}html[dir=rtl] ul.list ul li:before{left:auto;right:0}html[dir=rtl] ul.list ul:before{left:auto;right:0}:root{--main-color: #111;--loader-color: blue;--back-color: lightblue;--time: 3s;--size: 2px}.loader__element{height:var(--size);width:100%;background:var(--back-color)}.loader__element:before{content:"";display:block;background-color:var(--loader-color);height:var(--size);width:0;animation:getWidth var(--time) ease-in infinite}@keyframes getWidth{to{width:100%}}@keyframes fadeOutOpacity{0%{opacity:1}to{opacity:0}}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}nav.navbar{background-color:#f1f5f9;height:55px;position:fixed;right:0;left:185px;z-index:9}@supports (-webkit-touch-callout: none){nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){nav.navbar{left:0}}html[dir=rtl] nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] nav.navbar{right:0}}.page-navigator button{border:none;background:transparent;max-width:40px}.page-navigator img{width:30px;height:30px}html[dir=rtl] .navigator-back-button img{transform:rotate(180deg)}.general-action-menu{display:flex}.general-action-menu .action-menu-item button{background:transparent;border:0}.general-action-menu.mobile-view{position:fixed;bottom:65px;right:10px;z-index:9999;padding:10px;align-items:flex-end}.general-action-menu.mobile-view .action-menu-item{background-color:#fff;width:40px;font-size:14px;height:40px;align-items:center;justify-content:center;justify-items:center;box-shadow:0 2px 6px 3px #c0c0c071;border-radius:100%;margin-left:15px}.general-action-menu.mobile-view .action-menu-item img{height:25px;width:25px}.general-action-menu.mobile-view .navbar-nav{justify-content:flex-end;flex-direction:row-reverse}@media only screen and (min-width:500px){.general-action-menu.mobile-view{display:none}}@media only screen and (max-width:499px){.general-action-menu.desktop-view{display:none}}html[dir=rtl] .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.left-handed .general-action-menu.mobile-view{right:initial;left:5px}.left-handed .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.sidebar-overlay{position:absolute;transition:.1s all cubic-bezier(.075,.82,.165,1);top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:99999}@media only screen and (min-width:501px){.sidebar-overlay{background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}}.sidebar-overlay:not(.open){background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.application-panels{height:100vh}.application-panels.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar{z-index:999;height:100vh;padding:10px;flex-direction:column;text-transform:capitalize;overflow-y:auto;transition:.1s all cubic-bezier(.075,.82,.165,1);display:flex}.sidebar span{color:#8a8fa4}.sidebar.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar .category{color:#000;margin-top:20px}.sidebar li .nav-link{padding:0}.sidebar li .nav-link:hover{background-color:#cce9ff}.sidebar li .nav-link.active span{color:#fff}.sidebar li .nav-link span{font-size:14px}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background-color:transparent}.sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.sidebar .category{font-size:12px}.sidebar .text-white,.sidebar .active{padding:8px 10px}.sidebar li{list-style-type:none;white-space:nowrap}.sidebar li img{width:20px;height:20px;margin:5px}.sidebar .sidebar-close{display:none;position:fixed;border:0;right:10px;background:transparent}.sidebar .sidebar-close img{width:20px;height:20px}@media only screen and (max-width:500px){.sidebar .sidebar-close{display:inline-block}}.sidebar .tag-circle{width:9px;height:9px;border-radius:100%;margin:3px 6px;display:inline-block}.sidebar ul ul{margin-top:5px;margin-left:8px}.sidebar ul ul li .nav-link{min-height:24px!important}.sidebar ul ul li .nav-link span{font-size:12px}html[dir=rtl] .sidebar{right:0;left:initial}@media only screen and (max-width:500px){html[dir=rtl] .sidebar{transform:translate(185px)}}html[dir=rtl] .sidebar.open{transform:translate(0)}html[dir=rtl] .sidebar ul ul{margin-right:8px;margin-left:0}html[dir=rtl] .sidebar ul ul li .nav-link span{padding-right:5px;font-size:12px}html[dir=rtl] .sidebar-overlay{left:0;right:185px}.content-area-loader{position:fixed;z-index:9999;top:55px;left:0;right:185px;bottom:0;background-color:#fff}.content-area-loader.fadeout{animation:fadeOutOpacity .5s ease-in-out;animation-fill-mode:forwards}@media only screen and (max-width:500px){.content-area-loader{right:0}}h2{font-size:19px}.page-section,.table-container{background:#fff;box-shadow:-1px 1px 15px #93d7ff24;margin-bottom:50px;padding:30px}.table-container{padding:15px}.content-section{margin-top:30px;flex:1}.content-section .content-container{padding:20px 25px;position:relative;max-width:calc(100vw - 155px);margin-top:55px;margin-top:calc(55px + constant(safe-area-inset-top));margin-top:calc(55px + env(safe-area-inset-top));max-width:calc(100vw - 245px)}.content-section .content-container .rdg-cell{width:100%}@media only screen and (max-width:500px){.content-section .content-container{padding:0 10px 60px}}html[dir=rtl] .content-section{margin-left:0}.page-title{margin:-20px -20px 20px;padding:40px 5px 20px 30px;background-color:#2b2b2b;border-left:2px solid orange;color:#fff}.page-title h1{opacity:1;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:.2s;height:50px}.unauthorized-forced-area{opacity:1;transition:opacity .5s ease-in-out;flex-direction:column;text-align:center;margin:auto;height:100vh;padding:60px 0;display:flex;justify-content:center;align-items:center;font-size:20px}.unauthorized-forced-area .btn{margin-top:30px}.unauthorized-forced-area.fade-out{opacity:0;pointer-events:none;animation:fadeOut .5s ease-out}@keyframes fadeOut{0%{transform:translateY(0)}to{transform:translateY(-20px)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}div[data-panel]{animation:fadeIn .5s ease-out}.anim-loader{width:64px;height:64px;display:inline-block;position:relative;color:#2b2b2b}.anim-loader:after,.anim-loader:before{content:"";box-sizing:border-box;width:64px;height:64px;border-radius:50%;border:2px solid #4099ff;position:absolute;left:0;top:0;animation:animloader 2s linear infinite}.anim-loader:after{animation-delay:1s}@keyframes animloader{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}.active-upload-box{position:fixed;bottom:0;right:30px;width:370px;height:180px;background-color:#fff;z-index:99999;display:flex;border:1px solid #4c90fe;flex-direction:column;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.active-upload-box .upload-header{padding:10px;background-color:#f7f9fc;display:flex;justify-content:space-between}.active-upload-box .upload-header .action-section button{display:inline;background:transparent;border:0}.active-upload-box .upload-header .action-section img{width:25px;height:25px}.active-upload-box .upload-file-item{word-break:break-all;padding:10px 15px;justify-content:space-between;display:flex;flex-direction:row}.active-upload-box .upload-file-item:hover{background-color:#ededed}.keybinding-combination{cursor:pointer}.keybinding-combination>span{text-transform:uppercase;font-size:14px;background-color:#fff;font-weight:700;padding:5px;border-radius:5px;margin:0 3px}.keybinding-combination:hover span{background-color:#161616;color:#fff}.table-activity-indicator{position:absolute;top:1px;opacity:0;animation:fadein .1s 1s;animation-fill-mode:forwards;right:0;left:0}.bottom-nav-tabbar{position:fixed;bottom:0;left:0;right:0;height:60px;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #ccc;background:#fff;z-index:1000}.bottom-nav-tabbar .nav-link{text-decoration:none;color:#777;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.bottom-nav-tabbar .nav-img{width:20px}.bottom-nav-tabbar .nav-link.active{color:#000;font-weight:700}.app-mock-version-notice{position:fixed;bottom:0;right:0;left:0;height:16px;background-color:#c25123a1;color:#fff;z-index:99999;font-size:10px;pointer-events:none}.headless-form-entity-manager{max-width:500px}body{background-color:#f1f5f9}.auto-card-list-item{text-decoration:none}.auto-card-list-item .col-7{color:#000}.auto-card-list-item .col-5{color:gray}@media only screen and (max-width:500px){.auto-card-list-item{font-size:13px;border-radius:0}}html[dir=rtl] .auto-card-list-item{direction:rtl;text-align:right}.form-phone-input{direction:ltr}.Toastify__toast-container--top-right{top:5em}.form-control-no-padding{padding:0!important}.pagination{margin:0}.pagination .page-item .page-link{font-size:14px;padding:0 8px}.navbar-brand{flex:1;align-items:center;display:flex;pointer-events:none;overflow:hidden}.navbar-brand span{font-size:16px}.navbar-nav{display:flex;flex-direction:row}.action-menu-item{align-items:center;display:flex}.action-menu-item img{width:30px;height:30px}.table-footer-actions{display:flex;margin-right:20px;margin-left:20px;margin-top:10px;overflow-x:auto}@media only screen and (max-width:500px){.table-footer-actions{flex-direction:column;align-items:center;justify-content:stretch;align-content:stretch}}.nestable-item-name{background-color:#e6dfe6;padding:5px 10px;border-radius:5px;max-width:400px;font-size:13px}.nestable{width:600px}.user-signin-section{text-decoration:none;color:#000;font-size:13px;display:flex;align-items:center}.user-signin-section img{width:30px}.auto-checked{color:#00b400;font-style:italic}@keyframes showerroranim{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}.date-picker-inline select{margin:5px 10px;min-width:60px}.basic-error-box{margin-top:15px;padding:10px 20px;border-radius:10px;background-color:#ffe5f8;animation:showerroranim .3s forwards}.auth-profile-card{margin:auto;text-align:center}.auth-profile-card h2{font-size:30px}.auth-profile-card .disclaimer{margin:30px auto}.auth-profile-card img{width:140px}html[dir=rtl] .otp-react-code-input *{border-radius:0}html[dir=rtl] .form-phone-input input{padding-left:65px}html[dir=rtl] .form-phone-input .selected-flag{margin-right:10px}html[dir=rtl] .modal-header .btn-close{margin:0}html[dir=rtl] .dropdown-menu{direction:rtl;text-align:revert}.remote-service-form{max-width:500px}.category{font-size:15px;color:#fff;margin-left:5px;margin-bottom:8px}#map-view{width:100%;height:400px}.react-tel-input{display:flex}.react-tel-input .form-control{width:auto!important;flex:1}html[dir=rtl] *{font-family:iransans}html[dir=rtl] ul{padding-right:0}html[dir=rtl] ul.pagination .page-item:first-child .page-link{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}html[dir=rtl] ul.pagination .page-item:last-child .page-link{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-top-right-radius:0;border-bottom-right-radius:0}.with-fade-in{animation:fadeInOpacity .15s}.modal-overlay{background-color:#0000006f}.modal-overlay.invisible{animation:fadeOutOpacity .4s}.in-capture-state{color:red}.action-menu li{padding:0 10px;cursor:pointer}.form-select-verbos{display:flex;flex-direction:column}.form-select-verbos>label{padding:5px 0}.form-select-verbos>label input{margin:0 5px}.form-checkbox{margin:5px}.app-onboarding{margin:60px}.product-logo{width:100px;margin:30px auto}.file-viewer-files{display:flex;flex-wrap:wrap;flex:1}.file-viewer-files .file-viewer-file{margin:3px;flex-direction:column;flex:1;text-align:center;display:flex;padding:5px;word-wrap:break-word;width:240px;height:200px;border:1px solid blue}.file-viewer-files .file-viewer-name{font-size:12px}.map-osm-container{position:relative}.map-osm-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container{position:relative}.form-map-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container .map-view-toolbar{z-index:999;position:absolute;right:60px;top:10px}.general-entity-view tbody tr>th{width:200px}.general-entity-view .entity-view-row{display:flex}.general-entity-view .entity-view-row .field-info,.general-entity-view .entity-view-row .field-value{position:relative;padding:10px}.general-entity-view .entity-view-row .field-info .table-btn,.general-entity-view .entity-view-row .field-value .table-btn{right:10px}.general-entity-view .entity-view-row .field-info:hover .table-btn,.general-entity-view .entity-view-row .field-value:hover .table-btn{opacity:1}.general-entity-view .entity-view-row .field-info{width:260px}.general-entity-view .entity-view-row .field-value{flex:1}.general-entity-view .entity-view-row.entity-view-body .field-value{background-color:#dee2e6}.general-entity-view pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.general-entity-view pre{white-space:break-spaces;word-break:break-word}@media only screen and (max-width:700px){.general-entity-view .entity-view-row{flex-direction:column;margin-bottom:20px}.general-entity-view .entity-view-head{display:none}}.simple-widget-wrapper{display:flex;place-content:center;flex:1;align-self:center;height:100%;justify-content:center;align-items:center;justify-items:center}pre{direction:ltr}.repeater-item{display:flex;flex-direction:row-reverse;border-bottom:1px solid silver;margin:15px 0}.repeater-item .repeater-element{flex:1}.repeater-actions{align-items:flex-start;justify-content:center;display:flex;margin:30px -10px 14px 10px}.repeater-actions .delete-btn{display:flex;align-items:center;justify-content:center;border:none;text-align:center;width:30px;margin:5px auto;height:30px;border-radius:50%}.repeater-actions .delete-btn img{margin:auto;width:20px;height:20px}.repeater-end-actions{text-align:center;margin:30px 0}html[dir=rtl] .repeater-actions{margin-right:10px;margin-left:-10px}.table-btn{font-size:9px;display:inline;position:absolute;cursor:pointer;opacity:1;transition:.3s opacity ease-in-out}.table-copy-btn{right:0}.cell-actions{position:absolute;display:none;right:-8px;top:-6px;align-items:center;justify-content:center;background-color:#fffffff2;height:33px;width:36px}.rdg-cell:hover .cell-actions{display:flex}.table-open-in-new-router{right:15px}.dx-g-bs4-table tbody tr:hover .table-btn{opacity:1}.focused-router{border:1px solid red}.focus-indicator{width:5px;height:5px;position:absolute;left:5px;top:5px;background:#0c68ef;z-index:9999;border-radius:100%;opacity:.5}.confirm-drawer-container{display:flex;justify-content:space-between;align-content:space-between;height:100%;justify-items:flex-start;flex-direction:column}@keyframes jumpFloat{0%{transform:translateY(0)}10%{transform:translateY(-8px)}to{transform:translateY(0)}}.empty-list-indicator,.not-found-pagex{text-align:center;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.empty-list-indicator img,.not-found-pagex img{width:80px;margin-bottom:20px;animation:jumpFloat 2.5s ease-out infinite}.code-viewer-container{position:relative}.copy-button{position:absolute;top:8px;right:8px;padding:4px 8px;font-size:12px;background-color:#e0e0e0;border:none;border-radius:4px;cursor:pointer}body.dark-theme .copy-button{background-color:#333;color:#fff}.swipe-enter{transform:translate(100%);opacity:0}.swipe-enter-active{transform:translate(0);opacity:1;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-exit{transform:translate(0);opacity:1}.swipe-exit-active{transform:translate(100%);opacity:0;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-wrapper{position:absolute;width:100%}.not-found-page{width:100%;height:100vh;background-color:#222;display:flex;justify-content:center;align-items:center}.not-found-page .content{width:460px;line-height:1.4;text-align:center}.not-found-page .content .font-404{height:158px;line-height:153px}.not-found-page .content .font-404 h1{font-family:Josefin Sans,sans-serif;color:#222;font-size:220px;letter-spacing:10px;margin:0;font-weight:700;text-shadow:2px 2px 0px #c9c9c9,-2px -2px 0px #c9c9c9}.not-found-page .content .font-404 h1>span{text-shadow:2px 2px 0px #0957ff,-2px -2px 0px #0957ff,0px 0px 8px #1150d6}.not-found-page .content p{font-family:Josefin Sans,sans-serif;color:#c9c9c9;font-size:16px;font-weight:400;margin-top:0;margin-bottom:15px}.not-found-page .content a{font-family:Josefin Sans,sans-serif;font-size:14px;text-decoration:none;text-transform:uppercase;background:transparent;color:#fff;border:2px solid #0957ff;border-radius:8px;display:inline-block;padding:10px 25px;font-weight:700;-webkit-transition:.2s all;transition:.3s all ease-in;background-color:#0957ff}.not-found-page .content a:hover{color:#fff;background-color:transparent}@media only screen and (max-width:480px){.not-found-page .content{padding:0 30px}.not-found-page .content .font-404{height:122px;line-height:122px}.not-found-page .content .font-404 h1{font-size:122px}}.data-table-filter-input{position:absolute;border-radius:0;margin:0;top:0;left:0;right:0;bottom:0;border:0;padding-left:8px;padding-right:8px}.data-table-sort-actions{position:absolute;top:0;z-index:9;right:0;bottom:0;display:flex;justify-content:center;align-items:center;margin-right:5px}.data-table-sort-actions button{border:0;background-color:transparent}.data-table-sort-actions .sort-icon{width:20px}@font-face{src:url(/selfservice/assets/SFNSDisplay-Semibold-XCkF6r2i.otf);font-family:mac-custom}@font-face{src:url(/selfservice/assets/SFNSDisplay-Medium-Cw8HtTFw.otf);font-family:mac-sidebar}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes closemenu{0%{opacity:1;max-height:300px}to{opacity:0;max-height:0}}@keyframes opensubmenu{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}.mac-theme,.ios-theme{background-color:#ffffffb3}.mac-theme .panel-resize-handle,.ios-theme .panel-resize-handle{width:8px;align-self:flex-end;height:100%;position:absolute;right:0;top:0;background:linear-gradient(90deg,#e0dee3,#cfcfce)}.mac-theme .panel-resize-handle.minimal,.ios-theme .panel-resize-handle.minimal{width:2px}.mac-theme .navbar-search-box,.ios-theme .navbar-search-box{display:flex;margin:0 0 0 15px!important}.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:220px}@media only screen and (max-width:500px){.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:100%}}.mac-theme .reactive-search-result ul,.ios-theme .reactive-search-result ul{list-style:none;padding:30px 0}.mac-theme .reactive-search-result a,.ios-theme .reactive-search-result a{text-decoration:none;display:block}.mac-theme .reactive-search-result .result-group-name,.ios-theme .reactive-search-result .result-group-name{text-transform:uppercase;font-weight:700}.mac-theme .reactive-search-result .result-icon,.ios-theme .reactive-search-result .result-icon{width:25px;height:25px;margin:10px}.mac-theme .data-node-values-list .table-responsive,.ios-theme .data-node-values-list .table-responsive{height:800px}.mac-theme .table-container,.ios-theme .table-container{background-color:none;box-shadow:none;margin-bottom:0;padding:0}.mac-theme .table-container .card-footer,.ios-theme .table-container .card-footer{margin-left:15px}.mac-theme .table.dto-view-table th:first-child,.ios-theme .table.dto-view-table th:first-child{width:300px}.mac-theme .table.dto-view-table .table-active,.ios-theme .table.dto-view-table .table-active{transition:.3s all ease-in-out}.mac-theme .user-signin-section,.ios-theme .user-signin-section{color:#3e3c3c}.mac-theme h1,.ios-theme h1{font-size:24px;margin-bottom:30px}.mac-theme .dropdown-menu,.ios-theme .dropdown-menu{position:fixed!important;left:10px!important;background-color:#ececed!important}.mac-theme .dropdown-menu *,.ios-theme .dropdown-menu *{color:#232323;font-size:15px}.mac-theme .dropdown-menu a,.ios-theme .dropdown-menu a{text-decoration:none;cursor:default}.mac-theme .dropdown-menu .dropdown-item:hover,.ios-theme .dropdown-menu .dropdown-item:hover{color:#000;background:#5ba1ff}.mac-theme p,.ios-theme p{font-weight:100}.mac-theme #navbarSupportedContent,.ios-theme #navbarSupportedContent{display:flex;align-items:center}.mac-theme .content-section,.ios-theme .content-section{margin-top:0;background-color:#fff}@media only screen and (max-width:500px){.mac-theme .content-section,.ios-theme .content-section{margin-left:0}}.mac-theme .table-container,.ios-theme .table-container{background:transparent;font-size:14px;margin:0 -14px}.mac-theme .table-container td,.mac-theme .table-container th,.ios-theme .table-container td,.ios-theme .table-container th{padding:3px}.mac-theme .table-container td,.ios-theme .table-container td{border:none}.mac-theme .table-container tbody tr:nth-child(2n),.ios-theme .table-container tbody tr:nth-child(2n){background:#f4f5f5}.mac-theme .table-container tbody tr,.ios-theme .table-container tbody tr{margin:10px}.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 100px)!important}@media only screen and (max-width:500px){.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 180px)!important}}.mac-theme .table-container .datatable-no-data,.ios-theme .table-container .datatable-no-data{padding:30px}.mac-theme nav.navbar,.ios-theme nav.navbar{background-color:#faf5f9!important;border-bottom:1px solid #dddddd;min-height:55px;height:auto;-webkit-user-select:none;user-select:none;position:initial;z-index:9}@supports (-webkit-touch-callout: none){.mac-theme nav.navbar,.ios-theme nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){.mac-theme nav.navbar,.ios-theme nav.navbar{left:0}}.mac-theme .page-section,.ios-theme .page-section{background-color:#f2f2f2;box-shadow:none;padding:20px;margin:15px 0}.mac-theme h2,.ios-theme h2{font-size:19px}.mac-theme .content-container,.ios-theme .content-container{background-color:transparent;box-shadow:none;height:calc(100vh - 55px + constant(safe-area-inset-top));height:calc(100vh - 55px + env(safe-area-inset-top));overflow:auto;margin-top:0;min-height:calc(100vh - 55px - constant(safe-area-inset-top));min-height:calc(100vh - 55px - env(safe-area-inset-top));overflow-y:auto;max-width:calc(100vw - 185px);max-width:100%;padding:0 15px 60px}@media only screen and (max-width:500px){.mac-theme .content-container,.ios-theme .content-container{max-width:100vw}}.mac-theme .sidebar,.ios-theme .sidebar{overflow-x:hidden!important}.mac-theme .sidebar,.ios-theme .sidebar{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:10px!important;background-color:#e0dee3;overflow:auto}.mac-theme .sidebar .current-user>a,.ios-theme .sidebar .current-user>a{padding:0 5px}.mac-theme .sidebar *,.ios-theme .sidebar *{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mac-theme .sidebar .sidebar-menu-particle.hide,.mac-theme .sidebar .nav-item.hide,.ios-theme .sidebar .sidebar-menu-particle.hide,.ios-theme .sidebar .nav-item.hide{max-height:0;animation:closemenu .3s forwards;overflow:hidden}.mac-theme .sidebar .nav-item,.ios-theme .sidebar .nav-item{animation:opensubmenu .3s forwards}.mac-theme .sidebar .category,.ios-theme .sidebar .category{font-size:12px;color:#a29e9e;margin:15px 0 0}.mac-theme .sidebar hr,.ios-theme .sidebar hr{display:none}.mac-theme .sidebar li .nav-link,.ios-theme .sidebar li .nav-link{padding:0;min-height:30px;display:flex;flex-direction:column;justify-content:center;cursor:default;color:#3e3c3c!important}.mac-theme .sidebar li .nav-link:hover,.ios-theme .sidebar li .nav-link:hover{background-color:initial}.mac-theme .sidebar li .nav-link.active:hover,.ios-theme .sidebar li .nav-link.active:hover{background-color:#cccacf}.mac-theme .sidebar li .nav-link span,.ios-theme .sidebar li .nav-link span{padding-left:5px;font-size:14px;color:#3e3c3c;align-items:center;display:flex}.mac-theme .sidebar li .nav-link .nav-link-text,.ios-theme .sidebar li .nav-link .nav-link-text{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:0;margin-left:0}.mac-theme .sidebar li .active,.ios-theme .sidebar li .active{background-color:#cccacf;color:#3e3c3c}.mac-theme .sidebar li img,.ios-theme .sidebar li img{width:20px;height:20px;margin-right:5px;margin-top:5px}.mac-theme .sidebar::-webkit-scrollbar,.ios-theme .sidebar::-webkit-scrollbar{width:8px}.mac-theme .sidebar::-webkit-scrollbar-track,.ios-theme .sidebar::-webkit-scrollbar-track{background-color:transparent}.mac-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme .sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.mac-theme .sidebar-extra-small .sidebar .nav-link-text,.ios-theme .sidebar-extra-small .sidebar .nav-link-text{display:none!important}.mac-theme .sidebar-extra-small,.ios-theme .sidebar-extra-small{justify-content:center;align-items:center}.mac-theme .content-container::-webkit-scrollbar,.mac-theme .table-responsive::-webkit-scrollbar,.mac-theme .scrollable-element::-webkit-scrollbar,.ios-theme .content-container::-webkit-scrollbar,.ios-theme .table-responsive::-webkit-scrollbar,.ios-theme .scrollable-element::-webkit-scrollbar{width:8px;height:8px}.mac-theme .content-container::-webkit-scrollbar-track,.mac-theme .table-responsive::-webkit-scrollbar-track,.mac-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme .content-container::-webkit-scrollbar-track,.ios-theme .table-responsive::-webkit-scrollbar-track,.ios-theme .scrollable-element::-webkit-scrollbar-track{background:#fafafa;border-left:1px solid #e8e8e8}.mac-theme .content-container::-webkit-scrollbar-thumb,.mac-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme .content-container::-webkit-scrollbar-thumb,.ios-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme .scrollable-element::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px}.mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,.ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{width:5px;border-right:1px solid silver;opacity:.8;cursor:ew-resize;height:20px;position:absolute;right:5px;top:4px}.mac-theme .dx-g-bs4-table .table-row-action,.ios-theme .dx-g-bs4-table .table-row-action{margin:0 5px;text-transform:uppercase;font-size:10px;font-weight:700;cursor:pointer;border:0;border-radius:5px}.mac-theme .dx-g-bs4-table .table-row-action:hover,.ios-theme .dx-g-bs4-table .table-row-action:hover{background-color:#b9ffb9}.mac-theme .dx-g-bs4-table thead .input-group input,.ios-theme .dx-g-bs4-table thead .input-group input{font-size:13px;padding:0;border:0}.mac-theme .dx-g-bs4-table tbody .form-control,.ios-theme .dx-g-bs4-table tbody .form-control{font-size:14px;padding:0 5px;border:0;background-color:#e9e9e9}.mac-theme .dx-g-bs4-table tbody .form-control.is-invalid,.ios-theme .dx-g-bs4-table tbody .form-control.is-invalid{border:1px solid #dc3545}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .bottom-nav-tabbar,.ios-theme:not(.light-theme) .bottom-nav-tabbar{background:#46414f}.mac-theme:not(.light-theme) .panel-resize-handle,.ios-theme:not(.light-theme) .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme:not(.light-theme) .Toastify__toast-theme--light,.ios-theme:not(.light-theme) .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme:not(.light-theme) .login-form-section,.ios-theme:not(.light-theme) .login-form-section{background-color:#46414f}.mac-theme:not(.light-theme),.ios-theme:not(.light-theme){background-color:#0a0a0ab3}.mac-theme:not(.light-theme) nav.navbar,.ios-theme:not(.light-theme) nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme:not(.light-theme) nav.navbar .navbar-brand,.ios-theme:not(.light-theme) nav.navbar .navbar-brand{color:#dad6d8}.mac-theme:not(.light-theme) select,.ios-theme:not(.light-theme) select{background-color:#4c454e}.mac-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item,.ios-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme:not(.light-theme) .sidebar,.ios-theme:not(.light-theme) .sidebar{background-color:#5a565e}.mac-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text,.ios-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme:not(.light-theme) .sidebar li .active,.ios-theme:not(.light-theme) .sidebar li .active{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar li .nav-link.active:hover,.ios-theme:not(.light-theme) .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar .current-user a strong,.mac-theme:not(.light-theme) .sidebar .current-user a:after,.ios-theme:not(.light-theme) .sidebar .current-user a strong,.ios-theme:not(.light-theme) .sidebar .current-user a:after{color:#dad6d8}.mac-theme:not(.light-theme) select.form-select,.mac-theme:not(.light-theme) textarea,.ios-theme:not(.light-theme) select.form-select,.ios-theme:not(.light-theme) textarea{background-color:#615956}.mac-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option,.ios-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme:not(.light-theme) .css-b62m3t-container .form-control,.mac-theme:not(.light-theme) .react-select-menu-area,.mac-theme:not(.light-theme) ul.dropdown-menu,.ios-theme:not(.light-theme) .css-b62m3t-container .form-control,.ios-theme:not(.light-theme) .react-select-menu-area,.ios-theme:not(.light-theme) ul.dropdown-menu{background-color:#615956!important}.mac-theme:not(.light-theme) .css-1p3m7a8-multiValue,.ios-theme:not(.light-theme) .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme:not(.light-theme) .react-select-menu-area>div>div:hover,.ios-theme:not(.light-theme) .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme:not(.light-theme) .menu-icon,.mac-theme:not(.light-theme) .action-menu-item img,.mac-theme:not(.light-theme) .page-navigator img,.ios-theme:not(.light-theme) .menu-icon,.ios-theme:not(.light-theme) .action-menu-item img,.ios-theme:not(.light-theme) .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme:not(.light-theme) .pagination a,.mac-theme:not(.light-theme) .modal-content,.ios-theme:not(.light-theme) .pagination a,.ios-theme:not(.light-theme) .modal-content{background-color:#625765}.mac-theme:not(.light-theme) .pagination .active button.page-link,.ios-theme:not(.light-theme) .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme:not(.light-theme) .keybinding-combination>span,.ios-theme:not(.light-theme) .keybinding-combination>span{background-color:#625765}.mac-theme:not(.light-theme) .keybinding-combination:hover span,.ios-theme:not(.light-theme) .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme:not(.light-theme) .form-control,.ios-theme:not(.light-theme) .form-control{background-color:#6c6c6c}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme:not(.light-theme) .content-container,.ios-theme:not(.light-theme) .content-container{background-color:#2e2836}.mac-theme:not(.light-theme) .pagination,.ios-theme:not(.light-theme) .pagination{margin:0}.mac-theme:not(.light-theme) .pagination .page-item .page-link,.ios-theme:not(.light-theme) .pagination .page-item .page-link{background-color:#2e2836}.mac-theme:not(.light-theme) .table-container tbody tr:nth-child(2n),.ios-theme:not(.light-theme) .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table td,.mac-theme:not(.light-theme) .dx-g-bs4-table th,.ios-theme:not(.light-theme) .dx-g-bs4-table td,.ios-theme:not(.light-theme) .dx-g-bs4-table th{background-color:transparent}.mac-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme:not(.light-theme) .card,.mac-theme:not(.light-theme) .section-title,.ios-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme:not(.light-theme) .card,.ios-theme:not(.light-theme) .section-title{background-color:#5a565e}.mac-theme:not(.light-theme) .basic-error-box,.ios-theme:not(.light-theme) .basic-error-box{background-color:#760002}.mac-theme:not(.light-theme) .page-section,.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) .page-section,.ios-theme:not(.light-theme) input{background-color:#5a565e}.mac-theme:not(.light-theme) *:not(.invalid-feedback),.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) *:not(.invalid-feedback),.ios-theme:not(.light-theme) input{color:#dad6d8;border-color:#46414f}.mac-theme:not(.light-theme) .styles_react-code-input__CRulA input,.ios-theme:not(.light-theme) .styles_react-code-input__CRulA input{color:#fff}.mac-theme:not(.light-theme) .content-area-loader,.ios-theme:not(.light-theme) .content-area-loader{background-color:#46414f}.mac-theme:not(.light-theme) .diagram-fxfx .area-box,.ios-theme:not(.light-theme) .diagram-fxfx .area-box{background:#1e3249}.mac-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.mac-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle,.ios-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme:not(.light-theme) .react-flow__node.selected .area-box,.ios-theme:not(.light-theme) .react-flow__node.selected .area-box{background-color:#373737}.mac-theme:not(.light-theme) .upload-header,.ios-theme:not(.light-theme) .upload-header{background-color:#152231}.mac-theme:not(.light-theme) .active-upload-box,.ios-theme:not(.light-theme) .active-upload-box{background-color:#333}.mac-theme:not(.light-theme) .upload-file-item:hover,.ios-theme:not(.light-theme) .upload-file-item:hover{background-color:#1e3249}}.mac-theme.dark-theme .bottom-nav-tabbar,.ios-theme.dark-theme .bottom-nav-tabbar{background:#46414f}.mac-theme.dark-theme .panel-resize-handle,.ios-theme.dark-theme .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme.dark-theme .Toastify__toast-theme--light,.ios-theme.dark-theme .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme.dark-theme .login-form-section,.ios-theme.dark-theme .login-form-section{background-color:#46414f}.mac-theme.dark-theme,.ios-theme.dark-theme{background-color:#0a0a0ab3}.mac-theme.dark-theme nav.navbar,.ios-theme.dark-theme nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme.dark-theme nav.navbar .navbar-brand,.ios-theme.dark-theme nav.navbar .navbar-brand{color:#dad6d8}.mac-theme.dark-theme select,.ios-theme.dark-theme select{background-color:#4c454e}.mac-theme.dark-theme .general-action-menu.mobile-view .action-menu-item,.ios-theme.dark-theme .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme.dark-theme .sidebar,.ios-theme.dark-theme .sidebar{background-color:#5a565e}.mac-theme.dark-theme .sidebar li .nav-link .nav-link-text,.ios-theme.dark-theme .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme.dark-theme .sidebar li .active,.ios-theme.dark-theme .sidebar li .active,.mac-theme.dark-theme .sidebar li .nav-link.active:hover,.ios-theme.dark-theme .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme.dark-theme .sidebar .current-user a strong,.mac-theme.dark-theme .sidebar .current-user a:after,.ios-theme.dark-theme .sidebar .current-user a strong,.ios-theme.dark-theme .sidebar .current-user a:after{color:#dad6d8}.mac-theme.dark-theme select.form-select,.mac-theme.dark-theme textarea,.ios-theme.dark-theme select.form-select,.ios-theme.dark-theme textarea{background-color:#615956}.mac-theme.dark-theme .react-select-menu-area .css-d7l1ni-option,.ios-theme.dark-theme .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme.dark-theme .css-b62m3t-container .form-control,.mac-theme.dark-theme .react-select-menu-area,.mac-theme.dark-theme ul.dropdown-menu,.ios-theme.dark-theme .css-b62m3t-container .form-control,.ios-theme.dark-theme .react-select-menu-area,.ios-theme.dark-theme ul.dropdown-menu{background-color:#615956!important}.mac-theme.dark-theme .css-1p3m7a8-multiValue,.ios-theme.dark-theme .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme.dark-theme .react-select-menu-area>div>div:hover,.ios-theme.dark-theme .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme.dark-theme .menu-icon,.mac-theme.dark-theme .action-menu-item img,.mac-theme.dark-theme .page-navigator img,.ios-theme.dark-theme .menu-icon,.ios-theme.dark-theme .action-menu-item img,.ios-theme.dark-theme .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme.dark-theme .pagination a,.mac-theme.dark-theme .modal-content,.ios-theme.dark-theme .pagination a,.ios-theme.dark-theme .modal-content{background-color:#625765}.mac-theme.dark-theme .pagination .active button.page-link,.ios-theme.dark-theme .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme.dark-theme .keybinding-combination>span,.ios-theme.dark-theme .keybinding-combination>span{background-color:#625765}.mac-theme.dark-theme .keybinding-combination:hover span,.ios-theme.dark-theme .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme.dark-theme .form-control,.ios-theme.dark-theme .form-control{background-color:#6c6c6c}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-track,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.mac-theme.dark-theme .content-container::-webkit-scrollbar-track,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-track,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.ios-theme.dark-theme .content-container::-webkit-scrollbar-track,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme.dark-theme .content-container,.ios-theme.dark-theme .content-container{background-color:#2e2836}.mac-theme.dark-theme .pagination,.ios-theme.dark-theme .pagination{margin:0}.mac-theme.dark-theme .pagination .page-item .page-link,.ios-theme.dark-theme .pagination .page-item .page-link{background-color:#2e2836}.mac-theme.dark-theme .table-container tbody tr:nth-child(2n),.ios-theme.dark-theme .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme.dark-theme .dx-g-bs4-table td,.mac-theme.dark-theme .dx-g-bs4-table th,.ios-theme.dark-theme .dx-g-bs4-table td,.ios-theme.dark-theme .dx-g-bs4-table th{background-color:transparent}.mac-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme.dark-theme .card,.mac-theme.dark-theme .section-title,.ios-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme.dark-theme .card,.ios-theme.dark-theme .section-title{background-color:#5a565e}.mac-theme.dark-theme .basic-error-box,.ios-theme.dark-theme .basic-error-box{background-color:#760002}.mac-theme.dark-theme .page-section,.mac-theme.dark-theme input,.ios-theme.dark-theme .page-section,.ios-theme.dark-theme input{background-color:#5a565e}.mac-theme.dark-theme *:not(.invalid-feedback),.mac-theme.dark-theme input,.ios-theme.dark-theme *:not(.invalid-feedback),.ios-theme.dark-theme input{color:#dad6d8;border-color:#46414f}.mac-theme.dark-theme .styles_react-code-input__CRulA input,.ios-theme.dark-theme .styles_react-code-input__CRulA input{color:#fff}.mac-theme.dark-theme .content-area-loader,.ios-theme.dark-theme .content-area-loader{background-color:#46414f}.mac-theme.dark-theme .diagram-fxfx .area-box,.ios-theme.dark-theme .diagram-fxfx .area-box{background:#1e3249}.mac-theme.dark-theme .diagram-fxfx .area-box input.form-control,.mac-theme.dark-theme .diagram-fxfx .area-box textarea.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box input.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle,.ios-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme.dark-theme .react-flow__node.selected .area-box,.ios-theme.dark-theme .react-flow__node.selected .area-box{background-color:#373737}.mac-theme.dark-theme .upload-header,.ios-theme.dark-theme .upload-header{background-color:#152231}.mac-theme.dark-theme .active-upload-box,.ios-theme.dark-theme .active-upload-box{background-color:#333}.mac-theme.dark-theme .upload-file-item:hover,.ios-theme.dark-theme .upload-file-item:hover{background-color:#1e3249}html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-left:0;margin-right:185px}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-right:0}}html[dir=rtl] .mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,html[dir=rtl] .ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{right:initial;left:5px}html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:0}}a{text-decoration:none}:root{--PhoneInput-color--focus: #03b2cb;--PhoneInputInternationalIconPhone-opacity: .8;--PhoneInputInternationalIconGlobe-opacity: .65;--PhoneInputCountrySelect-marginRight: .35em;--PhoneInputCountrySelectArrow-width: .3em;--PhoneInputCountrySelectArrow-marginLeft: var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth: 1px;--PhoneInputCountrySelectArrow-opacity: .45;--PhoneInputCountrySelectArrow-color: currentColor;--PhoneInputCountrySelectArrow-color--focus: var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform: rotate(45deg);--PhoneInputCountryFlag-aspectRatio: 1.5;--PhoneInputCountryFlag-height: 1em;--PhoneInputCountryFlag-borderWidth: 1px;--PhoneInputCountryFlag-borderColor: rgba(0,0,0,.5);--PhoneInputCountryFlag-borderColor--focus: var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading: rgba(0,0,0,.1)}.PhoneInput{display:flex;align-items:center}.PhoneInputInput{flex:1;min-width:0}.PhoneInputCountryIcon{width:calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));height:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--square{width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{display:block;width:100%;height:100%}.PhoneInputInternationalIconPhone{opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{position:relative;align-self:stretch;display:flex;align-items:center;margin-right:var(--PhoneInputCountrySelect-marginRight)}.PhoneInputCountrySelect{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1;border:0;opacity:0;cursor:pointer}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{display:block;content:"";width:var(--PhoneInputCountrySelectArrow-width);height:var(--PhoneInputCountrySelectArrow-width);margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);border-style:solid;border-color:var(--PhoneInputCountrySelectArrow-color);border-top-width:0;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-left-width:0;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);transform:var(--PhoneInputCountrySelectArrow-transform);opacity:var(--PhoneInputCountrySelectArrow-opacity)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}@keyframes appear{0%{max-height:0}to{max-height:100px}}.otp-react-code-input{margin:30px auto}#loader-4{max-height:0;animation:appear .3s forwards;overflow:hidden}#loader-4 span{display:inline-block;width:20px;height:20px;border-radius:100%;background-color:#3498db;margin:35px 5px;opacity:0}#loader-4 span:nth-child(1){animation:opacitychange 1s ease-in-out infinite}#loader-4 span:nth-child(2){animation:opacitychange 1s ease-in-out .33s infinite}#loader-4 span:nth-child(3){animation:opacitychange 1s ease-in-out .66s infinite}@keyframes opacitychange{0%,to{opacity:0}60%{opacity:1}}.EZDrawer .EZDrawer__checkbox{display:none}.EZDrawer .EZDrawer__checkbox:checked~.EZDrawer__overlay{display:block;opacity:1}.EZDrawer .EZDrawer__checkbox:checked~.EZDrawer__container{visibility:visible;transform:translateZ(0)!important}.EZDrawer .EZDrawer__overlay{display:none;height:100vh;left:0;position:fixed;top:0;width:100%}.EZDrawer .EZDrawer__container{position:fixed;visibility:hidden;background:#fff;transition:all;box-shadow:0 0 10px 5px #0000001a}@layer rdg{@layer Defaults,FocusSink,CheckboxInput,CheckboxIcon,CheckboxLabel,Cell,HeaderCell,SummaryCell,EditCell,Row,HeaderRow,SummaryRow,GroupedRow,Root;}@layer rdg.MeasuringCell{.mlln6zg7-0-0-beta-51{contain:strict;grid-row:1;visibility:hidden}}@layer rdg.Cell{.cj343x07-0-0-beta-51{position:relative;padding-block:0;padding-inline:8px;border-inline-end:1px solid var(--rdg-border-color);border-block-end:1px solid var(--rdg-border-color);grid-row-start:var(--rdg-grid-row-start);align-content:center;background-color:inherit;white-space:nowrap;overflow:clip;text-overflow:ellipsis;outline:none}.cj343x07-0-0-beta-51[aria-selected=true]{outline:2px solid var(--rdg-selection-color);outline-offset:-2px}}@layer rdg.Cell{.csofj7r7-0-0-beta-51{position:sticky;z-index:1}.csofj7r7-0-0-beta-51:nth-last-child(1 of.csofj7r7-0-0-beta-51){box-shadow:var(--rdg-cell-frozen-box-shadow)}}@layer rdg.CheckboxInput{.c1bn88vv7-0-0-beta-51{display:block;margin:auto;inline-size:20px;block-size:20px}.c1bn88vv7-0-0-beta-51:focus-visible{outline:2px solid var(--rdg-checkbox-focus-color);outline-offset:-3px}.c1bn88vv7-0-0-beta-51:enabled{cursor:pointer}}@layer rdg.GroupCellContent{.g1s9ylgp7-0-0-beta-51{outline:none}}@layer rdg.GroupCellCaret{.cz54e4y7-0-0-beta-51{margin-inline-start:4px;stroke:currentColor;stroke-width:1.5px;fill:transparent;vertical-align:middle}.cz54e4y7-0-0-beta-51>path{transition:d .1s}}@layer rdg.SortableHeaderCell{.h44jtk67-0-0-beta-51{display:flex}}@layer rdg.SortableHeaderCellName{.hcgkhxz7-0-0-beta-51{flex-grow:1;overflow:clip;text-overflow:ellipsis}}@layer rdg.Cell{.c6ra8a37-0-0-beta-51{background-color:#ccf}}@layer rdg.Cell{.cq910m07-0-0-beta-51{background-color:#ccf}.cq910m07-0-0-beta-51.c6ra8a37-0-0-beta-51{background-color:#99f}}@layer rdg.DragHandle{.c1w9bbhr7-0-0-beta-51{--rdg-drag-handle-size: 8px;z-index:0;cursor:move;inline-size:var(--rdg-drag-handle-size);block-size:var(--rdg-drag-handle-size);background-color:var(--rdg-selection-color);place-self:end}.c1w9bbhr7-0-0-beta-51:hover{--rdg-drag-handle-size: 16px;border:2px solid var(--rdg-selection-color);background-color:var(--rdg-background-color)}}@layer rdg.DragHandle{.c1creorc7-0-0-beta-51{z-index:1;position:sticky}}@layer rdg.EditCell{.cis5rrm7-0-0-beta-51{padding:0}}@layer rdg.HeaderCell{.c6l2wv17-0-0-beta-51{cursor:pointer}}@layer rdg.HeaderCell{.c1kqdw7y7-0-0-beta-51{touch-action:none}}@layer rdg.HeaderCell{.r1y6ywlx7-0-0-beta-51{cursor:col-resize;position:absolute;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inline-size:10px}}.c1bezg5o7-0-0-beta-51{opacity:.5}.c1vc96037-0-0-beta-51{background-color:var(--rdg-header-draggable-background-color)}@layer rdg.Row{.r1upfr807-0-0-beta-51{display:contents;background-color:var(--rdg-background-color)}.r1upfr807-0-0-beta-51:hover{background-color:var(--rdg-row-hover-background-color)}.r1upfr807-0-0-beta-51[aria-selected=true]{background-color:var(--rdg-row-selected-background-color)}.r1upfr807-0-0-beta-51[aria-selected=true]:hover{background-color:var(--rdg-row-selected-hover-background-color)}}@layer rdg.FocusSink{.r190mhd37-0-0-beta-51{outline:2px solid var(--rdg-selection-color);outline-offset:-2px}}@layer rdg.FocusSink{.r139qu9m7-0-0-beta-51:before{content:"";display:inline-block;block-size:100%;position:sticky;inset-inline-start:0;border-inline-start:2px solid var(--rdg-selection-color)}}@layer rdg.HeaderRow{.h10tskcx7-0-0-beta-51{display:contents;background-color:var(--rdg-header-background-color);font-weight:700}.h10tskcx7-0-0-beta-51>.cj343x07-0-0-beta-51{z-index:2;position:sticky}.h10tskcx7-0-0-beta-51>.csofj7r7-0-0-beta-51{z-index:3}}@layer rdg.SortIcon{.a3ejtar7-0-0-beta-51{fill:currentColor}.a3ejtar7-0-0-beta-51>path{transition:d .1s}}@layer rdg.Defaults{.rnvodz57-0-0-beta-51 *,.rnvodz57-0-0-beta-51 *:before,.rnvodz57-0-0-beta-51 *:after{box-sizing:inherit}}@layer rdg.Root{.rnvodz57-0-0-beta-51{--rdg-color: #000;--rdg-border-color: #ddd;--rdg-summary-border-color: #aaa;--rdg-background-color: hsl(0deg 0% 100%);--rdg-header-background-color: hsl(0deg 0% 97.5%);--rdg-header-draggable-background-color: hsl(0deg 0% 90.5%);--rdg-row-hover-background-color: hsl(0deg 0% 96%);--rdg-row-selected-background-color: hsl(207deg 76% 92%);--rdg-row-selected-hover-background-color: hsl(207deg 76% 88%);--rdg-checkbox-focus-color: hsl(207deg 100% 69%);--rdg-selection-color: #66afe9;--rdg-font-size: 14px;--rdg-cell-frozen-box-shadow: 2px 0 5px -2px rgba(136, 136, 136, .3);display:grid;color-scheme:var(--rdg-color-scheme, light dark);accent-color:light-dark(hsl(207deg 100% 29%),hsl(207deg 100% 79%));contain:content;content-visibility:auto;block-size:350px;border:1px solid var(--rdg-border-color);box-sizing:border-box;overflow:auto;background-color:var(--rdg-background-color);color:var(--rdg-color);font-size:var(--rdg-font-size)}.rnvodz57-0-0-beta-51:dir(rtl){--rdg-cell-frozen-box-shadow: -2px 0 5px -2px rgba(136, 136, 136, .3)}.rnvodz57-0-0-beta-51:before{content:"";grid-column:1/-1;grid-row:1/-1}.rnvodz57-0-0-beta-51.rdg-dark{--rdg-color-scheme: dark;--rdg-color: #ddd;--rdg-border-color: #444;--rdg-summary-border-color: #555;--rdg-background-color: hsl(0deg 0% 13%);--rdg-header-background-color: hsl(0deg 0% 10.5%);--rdg-header-draggable-background-color: hsl(0deg 0% 17.5%);--rdg-row-hover-background-color: hsl(0deg 0% 9%);--rdg-row-selected-background-color: hsl(207deg 76% 42%);--rdg-row-selected-hover-background-color: hsl(207deg 76% 38%);--rdg-checkbox-focus-color: hsl(207deg 100% 89%)}.rnvodz57-0-0-beta-51.rdg-light{--rdg-color-scheme: light}@media(prefers-color-scheme:dark){.rnvodz57-0-0-beta-51:not(.rdg-light){--rdg-color: #ddd;--rdg-border-color: #444;--rdg-summary-border-color: #555;--rdg-background-color: hsl(0deg 0% 13%);--rdg-header-background-color: hsl(0deg 0% 10.5%);--rdg-header-draggable-background-color: hsl(0deg 0% 17.5%);--rdg-row-hover-background-color: hsl(0deg 0% 9%);--rdg-row-selected-background-color: hsl(207deg 76% 42%);--rdg-row-selected-hover-background-color: hsl(207deg 76% 38%);--rdg-checkbox-focus-color: hsl(207deg 100% 89%)}}.rnvodz57-0-0-beta-51>:nth-last-child(1 of.rdg-top-summary-row)>.cj343x07-0-0-beta-51{border-block-end:2px solid var(--rdg-summary-border-color)}.rnvodz57-0-0-beta-51>:nth-child(1 of.rdg-bottom-summary-row)>.cj343x07-0-0-beta-51{border-block-start:2px solid var(--rdg-summary-border-color)}}@layer rdg.Root{.vlqv91k7-0-0-beta-51{-webkit-user-select:none;user-select:none}.vlqv91k7-0-0-beta-51 .r1upfr807-0-0-beta-51{cursor:move}}@layer rdg.FocusSink{.f1lsfrzw7-0-0-beta-51{grid-column:1/-1;pointer-events:none;z-index:1}}@layer rdg.FocusSink{.f1cte0lg7-0-0-beta-51{z-index:3}}@layer rdg.SummaryCell{.s8wc6fl7-0-0-beta-51{inset-block-start:var(--rdg-summary-row-top);inset-block-end:var(--rdg-summary-row-bottom)}}@layer rdg.SummaryRow{.skuhp557-0-0-beta-51>.cj343x07-0-0-beta-51{position:sticky}}@layer rdg.SummaryRow{.tf8l5ub7-0-0-beta-51>.cj343x07-0-0-beta-51{z-index:2}.tf8l5ub7-0-0-beta-51>.csofj7r7-0-0-beta-51{z-index:3}}@layer rdg.GroupedRow{.g1yxluv37-0-0-beta-51:not([aria-selected=true]){background-color:var(--rdg-header-background-color)}.g1yxluv37-0-0-beta-51>.cj343x07-0-0-beta-51:not(:last-child,.csofj7r7-0-0-beta-51),.g1yxluv37-0-0-beta-51>:nth-last-child(n+2 of.csofj7r7-0-0-beta-51){border-inline-end:none}}@layer rdg.TextEditor{.t7vyx3i7-0-0-beta-51{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;inline-size:100%;block-size:100%;padding-block:0;padding-inline:6px;border:2px solid #ccc;vertical-align:top;color:var(--rdg-color);background-color:var(--rdg-background-color);font-family:inherit;font-size:var(--rdg-font-size)}.t7vyx3i7-0-0-beta-51:focus{border-color:var(--rdg-selection-color);outline:none}.t7vyx3i7-0-0-beta-51::placeholder{color:#999;opacity:1}} + */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width:1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media(min-width:1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media(min-width:1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media(min-width:1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media(min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media(min-width:576px){.container-sm,.container{max-width:540px}}@media(min-width:768px){.container-md,.container-sm,.container{max-width:720px}}@media(min-width:992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media(min-width:1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media(min-width:1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media(prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media(min-width:576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media(min-width:768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media(min-width:992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media(min-width:1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media(prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media(min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media(min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media(prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media(prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media(prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media(prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media(prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media(min-width:576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media(min-width:992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media(min-width:1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media(max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion:reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:575.98px)and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media(max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media(min-width:576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:767.98px)and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media(max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media(min-width:768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:991.98px)and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media(max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media(min-width:992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1199.98px)and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media(max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media(min-width:1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media(max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width:1399.98px)and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media(max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media(min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media(prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media(min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media(min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media(min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media(min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media(min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media(min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media(min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media(min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.react-tel-input{font-family:Roboto,sans-serif;font-size:15px;position:relative;width:100%}.react-tel-input :disabled{cursor:not-allowed}.react-tel-input .flag{width:16px;height:11px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACmCAMAAAACnqETAAADAFBMVEUAAAD30gQCKn0GJJ4MP4kMlD43WGf9/f329vcBAQHhAADx8vHvAwL8AQL7UlL4RUUzqDP2MjLp6un2Jyj0Ghn2PTr9fHvi5OJYuln7Xl75+UPpNzXUAQH29jH6cXC+AAIAJwBNtE/23Ff5aGdDr0TJAQHsZV3qR0IAOQB3x3fdRD/Z2NvuWFLkcG7fVlH4kI4AAlXO0M8BATsdS6MCagIBfQEASgPoKSc4VKL442q4xeQAigD46eetAABYd9jvf3nZMiwAAoD30zz55X5ng9tPbKZnwGXz8x77+lY7OTjzzikABGsenh72pKNPldEAWgHgGBgAACH88/Gqt95JR0OWAwP3uLd/qdr53kMBBJJ3d3XMPTpWer8NnAwABKPH1O1VVFIuLSz13NtZnlf2kEh9keLn7vfZ4vNkZGHzvwJIXZRfZLuDwfv4y8tvk79LlUblzsxorGcCBusFKuYCCcdmfq5jqvlxt/tzktEABLb8/HL2tlTAw8SLlMFpj/ZlpNhBZ81BYbQcGxuToN9SYdjXY2Lz7lD0dCQ6S9Dm0EUCYPdDlvWWvd2AnviXqc11eMZTqPc3cPMCRev16ZrRUE0Hf/tNT7HIJyTptDVTffSsTkvhtgQ0T4jigoFUx/g+hsX9/QUHzQY1dbJ7sHV02Pduvd0leiK1XmaTrfpCQPgELrrdsrY1NamgyPrh03iPxosvX92ysbCgoZzk5kP1YD7t6AILnu+45LykNS40qvXDdHnR6tBennz6u3TSxU1Or9Swz6wqzCsPZKzglJbIqEY8hDhyAgFzbJxuOC+Li4d9sJLFsnhwbvH2d1A3kzAqPZQITsN76nq2dzaZdKJf4F6RJkb078YFiM+tnWZGh2F+dDibykYoMcsnekdI1UhCAwWb25qVkEq43km9yBrclQMGwfyZ3/zZ2QK9gJxsJWCBUk32QwqOSYKRxh6Xdm3B4oMW22EPZzawnR72kgZltCqPxrdH1dkBkqDdWwwMwMO9O2sqKXHvipPGJkzlRVLhJjVIs9KrAAAAB3RSTlMA/v3+/Pn9Fk05qAAAUU9JREFUeNp0nAlYVNcVxzHazoroGBkXhAgCCjMsroDoKIgKdFABBwQUnSAoCqLRFBfcCBIM4kbqShO1hlSrCJqQQmNssVFqjBarsdjFJWlMTOLXJDZt8/X7+j/n3pk3vNq/bb8+3nbP79137/+dd954qTVt8uTJL73OMhqNer03ady4cWOhWbNmjV+0FfKGjMb36Y9/1fXUst9cb2y8/lpb797z5k2dOjXVD9Ljn59fcHBwQEDAgGch3l9on6feeeedn0r9kvT222+/sErRgvcDArwV8f5tN/rcvPnMZ22pqVFRSVGjR38k9Rsp9fLql/MXLj20VGjt2rVeak2Og/auI/kHBQ3We/tCo0ZNhwYNGj58/NaWlpbOyMhIX1//2/jTrICvckhXruQsWbJw4cL3tzhPORynSk5lZWVtglL9IkmdDQ05NqvVGhLwbKSUL+Tvb9yH/2sj+eN0IZZ3fvq3Hnp71ZtCOyofdnTYSzq9xX7UtsF9+/Y1FpeZT54sc2aUlq6Jy89YM/qj2oZaoeOkMR8dV/Tee++NWb04rrA5MRYKDAyc/NKCpwDIyKhE9LEzZ/r4DLQAAE6EyEeM6AcNH7m1pTMnB+fHX7tG9Bs0Xt+GwM/frqm5tz950aKDk6rsiA0xbUrbRAii/BDeV9bGhQsPRlyOCAuZ9GykZwT++n2RHPnVYQU+oaFDPQD8jEQAPiDdaLPaHGVXbn/O7YHQuIH9B/gYgzts1iqrtSopKWlNRkzS6I8arFaOFvTfew8AfiYil/rN6sWTKwtbArOzExISUl7+vwCuQNt8Bg71AQCcTwNpWeFbW3IIQEmJr08XgIzX2xDcvZrs7Jru5EWXwwKSwh2RkQ77w7Q0bXp6YRoDaKO+kZl8MCwsYpJ3pEf8liAAoPhDhqUMQ/wAkF+oqKiosJYA7HxotdnTtVe6Pr/S0h+AI90QffU3T9obGuwdD5PqkmJiMtbM+ajWI/60TX0COhoarAAE1dfXV80FgMmLi1oSKP7/B6ASAGyBV4YM7D/Bx8/bF7g5fgmgEwCCSiJtJQRgxEi9zZqVdYUu9pW0tLCIgOvxdR0dpxx5aWl7EzV7CYDV+tXnCzMzkzMvE4AFlTuhZaSf/OQny1L32RC+JcHikzJ06NAJoe+YNKRbsbG3xPlWZTxssNmdOP/J27ffudLJ60V7DAaT1lxRVvfwYe3Jlrq4uJiKjAwAcIWP+BkAhV/i7HA0uAG8BAIUf8qfzvwvgJcQf+XMK4GWi8OGTpgQ6uftzwC0LIM2WgcASwaXOBwlA7v6/YgAhFRt2pRGeu0/UyImbal77eHDo2kVAJAeKwE0fl6P63/5nSlTAKBCiR8AovbZEL9lf8I5AMD5booAE7OzY8X5fhGJi0/nTzTcMh+80iIBaF0APqvIu3EjqfRGcV3S4aSKYk8AaW4ADU4gOFlfn8sAXnoJBDpTCMDL87zU2kwATl+x1Nw+P2HChKHBBMDHFT8DwGjX11FSYu/f/aMf9XtOjwAacf2hmxRg7ywXDrr30kb7NVhDquo/z0y+nJs7ZUoYA5DxM4BFmcnJyV93PzjbvQhK3urqAYF7xflWVT5ssDaU4Ox7T9+6Ei4BaN0AUkvXJEExMTGHD9cdFgA2yfgZQAP1f0dJw0lrfS4BmIb4z5yZBgL/H8DibbehGROenQ0AQRhvZPwQAGDQ8wlqsFkmdP9ofr/n/OgK2ml1xxQECAAy/tdee++91wCA1mfWJy/KXUTr536T+O67764X2r9//T+3JkPdDx50f7qItDXfff+zeAxY1lYV0VCmPV1Ts5fGAGUYDbHpo0qT6vKTignAtWvXiuf0StwGZZPQybMPAYC8/xF/bj0AUPwvvzytKCdl6dMAvJxRuXjxkCHnL86YMXs2A8B4m4yWQTrdIp0uByMajcATJrwzXwCIiIjAFSrbJwGI+FlH00YH8/rQy5enQPsYgBK/BLCI1c0Afonhn/XjH8MNLP9o1Y4Pfg795N9hYQ23bt1q4fb07z+A/ITR2J8AFJnqOP7iuj7Fc35TK+9/bkPaM+NGiSnsB6wRIwGA4n/5T5Pzc5aeeAqAP1VCM4niWRqVgr1p1sEYlskNJQC4BQZbLJi0MAgCgBUKqYo3VEVEhIWFTZqXtYmVxiIAtB4QeDUAvMuSFBgAJCkwAKHlLAKw4wMIFG5URVgdLdwedEq6BuCgj1qzpi4uiVScYa6I0fWKJQVC2aRDY0eNWrlyECwMMIDDc2vZ6UF0F7z8tB5w4kTvtZ+ygklGkk4lvZ6sne45SDg8aJIQ2z+4Mmg0qcfauXPnfvPNN9XV/1S0VSWyf1Ls4FZ5aIHu/blGKb2UOM0ckq4PmsZ2b8yYMb2l4FbhX8ePHwmhuSPXkhaQ5q0tXzBvntdUUq9eSyFu9njXxpA74Leg198yktRWVI4OkAkymw2Q3WO90+nnN3u2H0QkHI6JpHHj2GvTYdsupd68GfVZ4yTJqJeUaNKhQ+rzCUvOMXEr//4vD3333XdLe+rRJx4iqumDnT2O5zW1HII1hPLy8pJGjz9GWgk9D61Al4fWkWay9VRbUa1GEVCYDRoonu0dr++n0ZQ0dMCNdDRYHVrtuImjWHQ80lvfl4WfhJetw1CFm6h+rkazd28iJHvyIe/IHt7ZOBY7o4GPH4smPqf7nRwz/sH6bmmi2HtvYiBUYPxEcZakt701PdsPAIhb3DBbYmIIAOK+F9HXJ6z7t799AwDI48+cOQRi66m2ogoAYVwIQEkQb8DrJza1azRWq9NpjUjXtg+aNXHU9EEQHW/YsGFD3toHMFZbgzUsDNPkPgAgpScG1vA4TgB8PZATAAoc6IasWPHhhwCQkyNCdwMIJCVqDabA8+cAAJFLYVD92dvpjvQe7ZcA7p0/350dEzNmy+iRAHBPrO9+AwB41Of4h2HoFdZYhsfL7ej7QmbSBdED/GkDXv+ju9Pv4i9mM+g09Rs1duKoQSQR/4whb7msbFhufHy8M2xup6AZ3sHzWOChaveIWQCtn00A7s/84MDuD4bd+fBDcYEukrVna5fwMQPAsqnQZOqqLtBzezysvHd6z/YLANndUELMGAmgXqzPfeON3+IE8PHbuL2YegYCAO+/fz/io2VMM+5HpR/BGXIPGCzix3oAaBo13aApK9Mahg8fNAo9ANsPGi7iB4BLZRUPH9advJGb6zx+3Jk7FwFtCNekNzQUabW3cAv0Ek9uUA0U+PGsY4NmzrxQVBS3e82wGQDA7bvI8SsAsgNP7y26HV4GALyeJzGaY5J18fZ4GT+3DwBK8/K2ZF/s7v46ZYwEsMJHrJ/gApBJ8QPAs9gh2BYBnT077OwUnvcBwB0/nCEAQPFBdADefv5dPEu3p2u18e39Bg2aPou2h9wNmP3wi7bGL9qsuVOcizoBgM/X0BBtamggK2wGABn+WSLw8awm9P4Du3ecys+aMWPGt6J9medF/EsBIBbxJxSFm4vM5moJAOGL+AHAO90jfglgy5bshO7uFAIQM2fkyhUr6sX6fW+MJQDYX1wvWI/+uOIc79mziJec4ESxDPGy6AF9RfzYHgBw02s7yswNhf1GDJ8+lvcfPgKrxfoAa0S9uP9HTV95LHdur8TzuF7W5OSqDdEGAFiaiIjk9U8hAMdw+1Ts3r37VPOMGR/K9l3k+CUA9P9b4c6y8LKC6upqAiDj3wpxD1Dix/m9Uku3KAD6xMx5DgC6xfrLYwnAEuw/jOJnAMHjpnvECwA8aK5YseK3EA2aogf0pQNIAIOaXI8S0/sBAPaHaLUEIOJHPmjUsWACACN7/qLVmoz2Zjabv3x8X+oBdP/DWeih94d9sHv3BzO+fOOND6l9C93xL00BgOy97dHo/ZHm6EcAwM8OHlZ+YLpFtF9eQAGA9+81pg8DQCzdU3D9Ef/YN3AC8OP4Z5D1DBg7XYmfAKitqYl7AA8AvDxxVLtGW1VVVhYRZjC0jhg/Tuzv3j6gCuEjfghGYd/cXrFk5BNqai4K633k938h/Zp15C8Tx68E7X7Dtm2b8QZEAH743j8gYQQwC8TGlp08Z7ZWC+k/4eFf6pc//Sje3+TZ/pFeqXkQ7hoIhhoAnve8ogRgCQZBMQsgTgBgXykpAoDKmpoIuJP/wMvzwaOKHkisVfUnDYZZ2J/k3n4ST/94UiHt2/d+Lx7yttFAXnP+60W6+X9ggQFzGDdeOJT791fQNAgAv/qHFFMAAJou7AWQBCAkKXzknW71bD96APnWQ4c+hthRsv1Ty2WNA4InwYYpzhJSW1MT+lmkxx9awyfNhQVmvf9+c9M4kVt1by8tsmuLub3I/in6er7URGkh1SZ1znfk/xR9o2oP7F8Pax1vbO8RgJcwhYp8BvpMcD1t+0GffPJ7xUo+CA54Yc+DPXv2vGA0vkBavfqIW+xeH3kr8iJ9QxJegQNpu/TMzZupnzXOkQ7+OkumeCCOU+Si2Sr7kR6RkQZ/iA0y62PWVKlUiLy8fsz1MSd6s+YhLz1vu0t7ILS4T1Rqn2cU9fF6YQdpMZIAG6dNmzZ5bX+7PZKGsXi0CM9xwZ+0DmuVnejxsHMDJu3Zu24vkrT+QTtYq4/8nvWHPzyeCa2HUySRbzMKAO9CGhZ15Pku67uGlaS7frzoeFat26uY2CpzijiIrbKfLdH2buy7eKLkR8oAaXWhQNLH8+qEKirKy0tLS6O8bXVZQpvg8dPmbV/O+jH0IvRClLY06hkPAcBGqLa19ckBzC0HVg+0R9rQFpqFtWER1oBPhr3+eutPocevPzIaBwTseTORAu/rQ7sd2AgA4g69T1PlfmGVsX9fn8ESALk4ER5Gsb/Mny2tbzGkPQwASH1s2iTDBwC2yhYeVdgq+yXODAwpCCzAozT7Dml12fqR8VGcOMtk9A0pkUvsI7YvR+DQrl2vQLtWpdbFPAVAq8lgMrcygKEEoKQsJKTMYQgLDQn4ZN3r60T43ngSrH5g1rBcWaINAoCMX1plXq8GoBUAXNYX4RcfPqzVXa8tqk3bpATAVtnCVpytsp8tsCBifcJVil8BoFhfu7OE5RCyGn0HWxweQLYvf/HF2tp1T568IgD0Gf2MJilKBSCrPf5Cc3h76e4zuwmAv8ZqQ5cLMwwNA4DWn+IfwoeqX3/8kQvAQC2rGQCU+NkqywuiAqAVACa6rO/hYsR/uBi3wKZd7wGA1gPAcEvfhAQAmEEA4DwLEgo4/tmzwyYdYqurWF+9zWKxhCKlTjnV2WEBxkhHX5/G8jSZEZoKALWJWbuyYgWBVRgA6vqk9hgDNh54YtI2t2jbn5wBgAl2m1XTYAmxhFoNU5DG/uRnHuG/d/yjEa0X7kID+99tgu6OxTytxK8A0KoAaCGexz+rWHPpUtKaG4e1hwnAhhNZlLtMhwyG+HhDGVvl0PXZ2fv7w3oMe8vPijuf4of2AQCyutDmzWdI1zcv0Psr8SOFF2As0Th8Qr84CiEzcjSKni09b4l5C+al4r9uAcCBA1nthuYKc3spA4i0hWgNdFazgbK8n3iEjzct380S1rd/f+mkAECJH87O21/2v76eALQM4MiRX0+MKqXsFXSYAei8/d3WXLHaoQNTUga4AYSGiesPTSEASvwEwCrin4D4GYAv4m9MS5M5yalGX1uixccntCDwKqf5n5FSboGNBw4caG03m1tbz5zZs3v1bAAAKvtJDAuzAeD1c0r4DEBY4f4DKH4C8AclfgYQxFl0etRWAAj+RwjA6DUyfuoC3xt02F6JnwDQ8UNpeQAB+DTY6op/HxJLU+au3jj5JYRPwvR5ZoFN3v12oVxjkE+oXbG+4o71WH5dJa9VALD7wBPMArvP7AEAfaTVgm3NZkzcszHoBCvhM4BvhTcfMOCB8OZH/sDxp0hrCwA8PvKjNqkaAPaL80sAyvU3fF+sU1tptspDaRkA3gKAEIoforwaAPhZ3f2de4RWeUvAARqDKH65ZDKE7/nxriexm17ZtO0JxvhXX1n1Q5UAYCMQTCsvn7ybEuYL9JE2q9jfZJoSBgADEP5xt757MJM0xMcHUUOfzr9Pywlua+vtThhJAOvdPYDc/LjRayC+CxiDTm2l2SpbeJmPHywzyhLDXH1ICI96wEAcAlIr4ABKSThuXt4c75ByyJ2Zj9qDWbD2SSJmAdaqBSp5CdPoB5frx9LDdEVDG6C5cKnB/xz1kdB3rAcP2Bb7+X0q9GtOXirWU7HGEgBSwI/CoehosrIT2f7pFKmtNFvlYF4W/jvAI6kMoX2y1kBIZKBHu1PDwfNI7A1ZbP+UIgPMAn08hFnAIOROal3P6pnlzSQlK8pHf4F2s+AwjSRNvDsCadl76bQif9tbqDBdNvzPfxcy8+nCw1OULDDrOukEi7PXnngo+IDLY8UZZMmGOmsMn09yPTI8VwjhWEUkXIY4mYVu2/7qq9tJXuqsLoxJj+XMZqEWUmdnskabf8olWOI9Rl9Ik07vqeh1id/EpqZRUGKOhksqxveuZGm0Idx3g//+BPrd734n793wXnuFEoUOXc+ClJcrC4wiI8rv0On4GNUbbh8TBRtwDOPVWerxv2P9SuiPukKcBwd0xRPusuLSH+/xUmd1r9dm5XsuZzZ35kBLxCt+ANBoihA5CY6YAODEmnS8KRpIr7cBgJp2uyDkahcmi+EAUE7SpvPQFRrw9yfcvk5nPHUyApDokQWPBQCOXN7DafPo+ABH1RN8fL0t6OrVq1X3eC7C8dVZ6vHu2P/4xz//WQDAQ44rnmhXFlrYYxeAW+mJ6bcSEyUAEFCyqJdPfkX6HLp8+fJXBEBTyAR2uAD0tWjSfbh9BGAUxX/1zi8HVXcpAHZq03m9BNBptXY4ET8DUOKXANJk/AxAFETYbO/ayJ3aACAwcH3gep/Qru4PUZ8w/nW8X9gWOMSdZR7bRG81jkOU1XjeDUArFOey4i++WFW1vr4NAMTLaFjLvekuAJvylYKIXIcvFcQItzLB9o5G44CzylcA+Pe1+GjS+fojwGDO4hbcOfuXX35bnZ0deIgB7Nyp1QqrygB+1Wb9lbOBAUQTAOV1XuwhdRZXI7Q3UVplfSKS45aEc0MH9p/yTveKkQCw7WrIXneWmYDMrD3++Mnx47x8Iqt8GiTs4+bJ8y6V3Xj4sOLkjV27qjA9AYCBvGJsQkLgXraKBAAEOsCdZPfLdbjjRwQAUOJvxy7t/BK+NKuPhqVYTX6PEHJ101+qq8MWLcrUqdf/ne5Pa+OvMLPRPB3dBw+ychaDSkers7gaFiAliv31sSHr14euv0o8n322XoeAHXhwOyuydsMYwJDax0+ePD5OywCA8NM4fAIwdWfdtIqKvKyMXbuKDPWFRS8wAG3r3lvtF0RBAveANuqv7K2Dc+3K9Z/g7gGtlKRja9sjPjSQF6/eqc7+9ttztKz3Z6uarl22BcqL+jvdo1URvyqzGbSUpOTX6XlkW0mvpaqzuBLA6dOxOD4DKMA7koRzaMyUf3+xczUCvlVgic+m+CWAIUNqjz95vEkBwJdfAniVhj6+/xuRjGyTAO42XRjVxJMfACjxE4CuveRlC2SO7d13NJD59yJFSQD0QRj+tPHu7flhpqv6y+pv/9lF7wn0QexZ4g1bBIBZBCAnIsJaEm+QAJT4f/Naqrmndd2wCFMPhuHTp3OWQDk6vS1hfcL+6v6I/iU8vgPAkAs1+5vPIn62zt6+56AsdNChjx49OqcvwsEQPx2OjwcAIv5d+YW5hfkSgNZ814wNGADHP0HEo58Q8PXe2Fjx/JkCxd7T8uXn+CUA3P4AILcPFu8NuqrDziF+lND4hfCjigAQsywKozQN0Esc8eJ89LTHLk8+7ZmV+LnBnJX2KNAA8KvVQ//9xWTYkDNnJq9VW2m5XF8vl2lSx/X3AMDhU35kee7yXS94mfh8St78RNZDOetAEwBAmaRjoS6t4a7M0TKFcWxNtfE+cvvgsWKCjs3U8jwFAGxd0w150DIAkHO0QSjaSPM3Pa6BI+RnVtojAPAErBRo6AeHtN1YDP8uRra1aiutXgYALTZ1H287pn+SxAAA0pFB0aQT7wuzKbOQwV93kfC/Qt13j/TI0k5kg2Yqox1YY0VBwlKdWXgx6VvLzKlRrPEjRU53Q7QQdpenE/bW7G7JBpZOpUmfLVi9arXQWkhtpdXLZP8WzFsQFx3Hh2vm/CjrBZaX9UbvmzenotZWWmpZ3AOJUgvCtkq/2u2Vy0lmbiOfZhxLqSWuyC/FpS5qbCyiW/6LUm/om2rv6mrvR9VGyCRkNErs6uOprS2bcpaZ91Bbd0CTmsTiPd/i8gtuzxGVPpoIebTY61qJ+aT9pJOytEnQ6NfiSBlxcbWsMTRG7LBtdFvJ8nxI9FAyKEhgkJRa4jqHpigjQxMZqamry/fV1Hk3eWRx198zmjTpmEZovSbe7tRGq4+ntraGnlY9nJfT47Wu5YAGVIKSZIEF7y8KOrg9R5C++r2iI6/W9myvF2p3/YNwyqQYcl/Fc14TkcNAk+r60AkPhBzg0wkA4GNi2fyDCMAg5VURKkfz4uwOzWJN0GBNuR0Qrnk3jTrrqlh68O1wvDlyNCBp6R+k0Tqq7ACgOp7K2koA6b7xSgFGeuTgvkElWBYAEDgidxVY8P5c0DGMrbLTgx908tVTPdo73uumw+4baW94WByTlp+fFuMCkJGhBqD1ACCeFP2pTg/WVzkgTpiXUV6GtCCeD4Li82N29vYGoDs1/Lrvy379ngcADaWtg0JwMAe8ufp46gIM+brdYnEKL4/lSF5fItqjFE6ms6/g/UVBB18Qb1xgeno4x7qqf/XUKdr81i2ZIfJaU1LR0YEsbUxMWmnFUQEgP5/sYFxceXlWn1XIGR6w0JzDWosGZ2SIBgeFwJvDeBBvtxWVz5Ior2Xle486i4KIO1fP3aEXkiv0QQ47pa9CQoTTnP304227d08ejwMsszRaylwAZIGDvwCw/RQ8ObRRaBUXcIiCDpwPAN6NvQoN5vgHngOA5XT7NDVJa+31WUXSjRsxa27EXEuLawGAo3HU/+OysnBjlpdmPeNnExkYV16+HO3NEKMQJjgrGizjl1a0MTLI4xL2vek9KrBg+IiuhBRUFhMAfrojiae74Kcf715m8j0+ngDgj/vBR9QOAyArUmj2njc5cJmkOLCKa5u5PTO4YMM7cR0REPELAMtxxA0bpDX3SsXYFwNdu5bWmZN0bc7RjNraOMSPHpBRCgCrKWcYKq//njNrp4kGmyCQCQlGg5X40WDZA3z6u3vAnUEjRtw5d+5LAJi/Qm9xcOstFht9JxHp9/TjDeteKJyd7AFhuVPKhFX39vcXXd4hssjbuQO4IGxkAD6iPZy1Rg9Yj/g5/IGPAGD58kJ42Q0bwnE8AUDG39mZl5eToyMAiL62Fok2AkD34O7QM26jlIcG14oui6sYEjymrpxeyuUJlaZuqViWnz5Y0x8AQpt7J6V6Hxs+4k4N2chD386f/6EeRseB9lso89oBY6I+3lhVAQYDSHfud5qEkUEWGftj574ii2xWUqJyPTqfKOjg/WlQ5P7v4wJwSguhoJEV7hW1huOHKO1xDQD45aJWWyoAUAPOhBEAgwtAbZ2YhC2haDA/bbkfNvKmxmRobJF5mgEDNL/Q2EPKU72nD7rPPhq5rwf9CIDdageAUK2hod4GAKrj/U8BRiQ/ju8/R/7UJ4Ssbl9HutbpL63uUws2RH/k5bKe1vrKq8td1nsflDsXAES5OXQY9da639SS6uQswAC0ByyTlR6QAQkbEgIBQNbicggY8qCpdRpb3M6dNAguS4rTWC4ZjwVCXIABCitgdZ2RGNBDMAs4bSUAoDre/xRgsCFYvx5hkbkVVjfIv6/L6j61YIMLOs7ysuvttdSRV+vcnqEecycAiFpbFtUbiEpbzpiy6NKsDlhL/pS1ZQuq6TZwkjCYJOtuSVNJpZ8nIQeaf/NmPlKyz9R+b4T++cj46JF+9iM9JK2un5+0uurjkX2T5Qsso5Df/7O6smCj5/a93oI+5eUjKu0JVpLMJK/r18PDZRaWq4i3k0ykcHbLKmcqaoVlCvcQtGjEjyZ6emF1Fre3CpDa6vKZhbHn8wdLueytnqU8n7CTFSllugeMik0WaJd6CrUZDTfmwep/cY3S5M/hmqjP73V9Mj0uKjnA7ZQtFebiRWiVt8x/yrHW6GE1SYf8Hraa2psUa2m0QWRlQ0QWd8FiUrkrL5XK+ytm13iiUog3mzZtQbANsrpL7CfpySCz+G8BXEChYRVAxj1vSsmCDVUBxTfFTq3zpDO+Li5/Q9OFlrg6tdX2MovZCn6MtXM7PS8LAPQ+HQA48IcPeardqFesJtf6HvL2bby97tat9unCCQIAz/ORkWKeBwB3PgafKWxOFVYXCYvjwuqe4NAlnpcIgIhcFkQAAAfOfwwNIwAALR4IkKEpMJp6ZrWj1QUUgx2Yde32G/hIB+VVx6LUVlsCcF2Dyt4MQBzvFQgAKP62pvA2CUBaTZmF/RjLEV+dn7nuVvuo4fQRFQBYoHRH31DKAgdX5EMSb0ZGXIy0uiU+JcLqEoBprvgZgBK/BKDEHxYBAIMEAG16NQDoJYAdO7QCQAKnL043N5+mbpB4qNEZ77CXlFRk5FMJfFOd/OyOxJ/deZ1A99+8Weue5gjALphFLL+yezcB2AhZmy5Y2Wnh9feSCGE1ET8DAM2D3WeHDKFuMGi80R/hl+CjqvgSBsBlc5V0vMpCqigRF4viN7AVXV252B3+S8jaKtdTZoH5q7IIaUUjJnEBhYHWxysA3ty4482Nb2r5+KyMuvw64fQqnBknT2aU7aQe0PX8MqoXaKUsaCvivWvQmiQA7qHQ5t7bkSt5RctWYzcD2MEAwsNDJICvFi7sewf6knRnIltPn8vdxGNYvGkcAPj42OPt9hJfTqpyAws1GRnaImRBXQAQf4mBG7i2snwnaxlp51R1FjnEYRfqgBo69nHO0YD1ngAKNxbiP7S9BFAXV1EhnN7D8KLw5riiirq4lXUHK47VIf6mC63tTU3trU3T78IJilJSpQcAwK5XeLlQAXCg6oMbVYife8DCep8RSqkpACD+e0hL70UPGD5S70/pLXQ6pyhY4BzfYi20uNDgBoD4Bxi4gQyQZnVZPK3OMquXOecIdgQA0vMGuPwbD+yg9RIA4o8T20+tAFvxlV59Te6y0Vh5wWQytLYaTOgBAFCp3KNiEPzxrldUADD8VV06/wUWfw4AZDUVqzoSy2GXHwyZiTGgHwGhLHGoj7Mk0jmUAVS4D54BxcVcr90E5fUfkJTGb36ox4gSDwg9hkthP4RQCDtu3Ic6dYEDF1CYPAHweowBwgqPbVoJyXJXfFCxrCgjDv8Jr4urO51bk1GBLDOUQ+IssxesKKlSqveeH7+iBnAAqo/YTTogsq49rOfB7m23brUOp2UGQNH4DJ1gEVnledP47pKvfLdEqd/9occo8TMAJX4CoFXilwBg+lQA5HoFAIcvviiZWsHXH4q5nVDzk9HqLLNXUaFLJlORqahuz4uQOCDPAkblUYvkx1bTw3oGt3Xi4ivLsoDBnVWeygNc3mYSsoQA4PnyFwDIMCglD8EjXc3/kAQAPbPE4Wx9PW6BF6RDkW1ci2+K+JsngQE9AB2QOwEudGNdRoU6y+zl/ohMmjWyf6uiyfduWEVSnJ0wZLw4UvkMTaebCCuqLOtVFQxKGasQdwSYZdcZPWweSykFFuKwlZxoOBdQXIiGmvUkVxJ5g5TaSivnHs3SqeQ1UZUl7Q1p9Bp3kQWvFicXNvvQfGX7cR8fmqs6oPozOp1KAqgClSyw1AKSnqVA/PbTXj3E7RWnn/81jrcb4loHme7+n/Pz5krWuu3GM5+hVnmOfAICAFVWtzdVE9g05VApHvNTPawnW8fLiYmPeXvofmCNztv2lRxRuG/p1AUXOl6rrDd6WFGyyqsXQ4oXnKe3sRIT2f5YAsY2PV4nNJPUS2nv/a9wQJ3yewPiW2OcP3wDN8LQvIHP3zO+7/kXJ8IvrYGuJBUDgEhqyruaAJSXa0I0eaSjRwGA1otw2DrqOs8HBt6hzb+tSbi4RAdn17jE/UI7UwJw+Po6xLOFjmsroj//fEMmr+eCCovl6lUfeqHu47d2scsG0WA5eSqMj1AovM/QiAB8JXZnnRvBul6u9k4/v9Ccmbzwn8ZIgROwwDPET6sxdeaEa5xOTfiSnHA+//OeWetce0cDVAzl5BwGgNb29lb570L73fZ+AFCqsWg4fgCIYuspLidbVxzwNgggzZOQ0o2AyNpG2JWHKQZgJ6sdycvR3CGdDbYyE6kFABD/+uyEgoFcUBHQEAHVV1XxZyNhcwUAy/r1FP+UiIBZo0zmY+2etcQc//3uzE5T54P1evSokvj4SB/w7I/jAUB4Z3N6ZF8f3/TmJRsYwMILraQLUOvwz8ocHR2ODlSo5V65sg8ANKx0B7IsJGGtLaraXXF+Nir0/r77fPb58wkXM1HAAACUpbZjvQJAfJY00EnLRt8gdPXPIyIuiwoRLqi4mlBQkFI9gQFQUWpDhNNZbwWAXADg+AMD9w8dOmVKaMAsg2FQ+3BYFs/2TL+/EIN4Z8qjgXqjf4kdpoP7kwCgMWkdMGNDI03hOD+11+xhrWWt8uHiwyfbGk+6AdjtjkhhPV3Fx2F0/tnyszixP9cCy8/UshP2y8/Q7Brg9sHeImvLX42JlLADy+E4HrxxZlhY8gSuEGGrjOrnagAg4wMA9RH4lCu+w5lLADpQ+mlxxm8LvFUytKTEcnCWofV5fOVzzAmVlDk7yAneP4/4M79GcSoBcJb4l8SHIH4+Hj8oNoeGLtv8kNojASjWGlnwS5eK16BMM6eidMlhFwBtpK/Bw3qGqqyn2J+SkASAPtM6fz7l62QG4O8RvwQQL95qOGnZDeCyLGaGVeYesL8ayxKANl6Lt125+/DV2CVTZZGzcrHZPDmvbPLm8O/RA4a39+uux+WQF2T6/ZZMxJ/yDbcHPcBGPYDjFwBM2lPL8jafyTCF4/zUXrOHlY7iStXDEDlUAPCNdzgdeHqz8z9Hwzx8SQoAR4/S6/yYo1FsPbUKADipewnZeMvxZcrS7q2LuNY3TMYPAQAUSfHbeDma/1xmtdIYYMYYQE5yYEFKyjdoLwMIC4sHAPzHSQAqKovi8L5w2uT8yrz8uPLiWStN7Su60COnkADg8fkWU2dmZkr/ZwWAoCCMAUEU/7M4np9BE57TrM3avLm8sHnhBkM0ffbX4S4mdoSNXiPiv3b7ypIlt2/rvNjaYnwXFQb99QRAO5QB4Fvio6PZeor4OAury7mYXfMtWeFvD/X6OpNqfbtkXpYLIkTBhX1w30gDA6D9Mfp2d/cTn6kZg7gQoLpaFlQsKH/J9Sj6p1/8Yktq76LFIDAtP39yXn5dXv4zs5DFqFB06Us8jYZn7v/GVRCBW4qrC4aKMQA9wJyzJFqbn2+IXrgkmgHkDqRV8nwE4DDU53DO7dt0C6gLCqZi+tdatHlyGhjN1lPL4vVbAwPvu2aVOyn7dd4h92ReVhREqAsuxk6XqyFplT0LMILXyklQUpiaVJlfWRkXt7g8P6M8I2Na1KyVpTt2vPjiRgjO/MAq3RKopsDd3lNFbuVDWTj/hmYTj3ctzQYCEIFRVzkfirUheRdcAwB1lpXsnyHAFOVyj2w9hdPk9UsPjVM+Oxv/9cdzx49VliF1wcVY1S84eBg9JavMLlyqeOrhw6mpl4qjooqfiSruM+sErLmHYP7++sijvduVYgfa7gX1+XV6Y48TzoF6WOFPDilfxZHUWWB1VlY+Fe12qTe0wCOIQKkE+SaAQcp6E1JvlZRSYaH+AyCPn1sTnxMqmq2SOsurXl5L6vUWnYFb4KXWJ3v39viFBXXWVFpT/EFY0wOiSjg//03Wmd5ZdRcSL9SJdyN4MRK4cuX69bHvtjWyLn4claHNqFCssfN/ACSSlF+MGKC8+fSFjHPbWOJ4Bw/+1VsldXvVy2sXQ+ug2Fgy108DwIHXPr4gfmHhs4fQDegL0g2dPhI20/2ISwA4B52fv5EeQncAwGk0/HReHj/u5qUGrny+oCBWNPhg48GuKK3GcMkKcR2DddI8IfQYIffvA8hfjEDBBklG4A8AHDj0DnTwr656mAApdZZXvcxWe+bM27e3bQujn/J6CoDH/FFkQs1dBnCiklL4izERbebSUmEMTE3HzOIzOQaw42+dnX/bCBGAFjS/heNXADQ27u+6eLHrIABkGOouKVmdsgyhiooMoU/58/ga1vnzNV/j9beUqB94v02JnwDopFxPzOqCCvUyAZi8rQa/d5f9fwAkcg/APXteApgGFWq0hZM9ANx9fkWTJ4CizOQiAWDBYnR8cf1BYHNq4PMAEAgACfsPgkBXVMWlS+gBso6lapJGqKVFI6T+BQpTz6ywuSzeKVVG6tCxtrZsdQPgeLu65C9W8LLyCxEAgFlm2+2IiHsAMOWpAKgHXKAe8AQE3j5BxMrp/NO4tJQBtFOKpp2sJAPYsTwuOTnuRQbwfcWNG5eEMLdc0kkABxMu7t+f0nWzK75nlrdMxpe8SAGgxA8fYVJlhf+nFpkVvUSn6RQAOCtd39WVi3gJQKS4f0R9bxAATAaAewUFADDlqQD+W9y1hkVRRmGyy+6ygrYleMVCM4sQoRvQKiFSBlG56CZiYYigEIgFlcJWhIJ0YUuUCLMbT1mhS4ClaRJPEQRElhbhpRD1qSyhInvq6f6e832zMzta/arebm4zOzvnnW9n3j3fOe9H8f/gev6HH57vpPZyMAbK0pESpAfz/YKA5YuWvb9skdnMBGCq6PO2lpbMz6l19pWhUZdg8h1ljvLHSOCiZUxASxyw/eM9F7Cbn1LHNGWugYHyv3pJgIcDhSRAla5B/zQCZNvdnj2y7U73/lAiYFVJ3/33980jJXkqAsDA84e+aaorq5MEYCaLlBjiVwgw73z//eadZgAEIAV3O6YB9qN4CASQ1t/KMkP82BEE4Mu/5+ieoyDA6pnVzd3G6Ni3r0P8aVqwNA94nJDcetfnWyRuB7Z80rqDvv8MPA+36y1M9W13escIEACVNW9eX9+8vyIghr0Fnq/r/IEdFnq/xP1fwbHjprFqZyYCvHDaYzRXGBkHJAoCArby5qtJa4KAGctAwIzqTR9/vP3j7Xu20whQ69gwAs7UgbPIfGyRRUYxs1LMCzy6tnWTGj8R8CkDnUfyDyc5WOiyxCtmQmTOGxcXd20cm7mdTIALI4DwvHBYGOopjceO9czaggDcA0TBA+4BIGCSsp1mr8YIAgKrqqs/BrbvOWr1lMa5egJ0WWQQAIhqXgAEqE9BQu+3OuilvL7W+FZKOAmHvYuBkwl4rV81WCB4CmNtgncag+XfKyr0bWyiq7kK2MDQdb2dPALUtzPWywznWolWoFcD/fv1Ul6pE1DKjVmkiloGPgMvPTh/qpGOWjsGoPeZUlF9+ypv//pVTspyLe5S3n/paR5YynvfweDt+qzzEAn5CWhkdySGR2NKMD4+1oH/c5WAsv9lO9qSqJZ5k5LbNgukKuerrxUmKrSXzyTQ2moSuJEgiiouIKBfAPBTpWO0IzJS9rAsWNAWPLR0ZQw9VyIisH1UQcnXnJVdSYjg/U/Twcdvl5/fewzejv0ZSlZ2SDmhsLs7t5w+I2yIozwjwwGxjFcZkflh+iz1L7VBtW+jzc3pzM8CwoyGUM7hBcjz5YIKqTSBaWrWWbTxcVZ6IHhgYNMAZ6Vv7ADEk4J9jgUBE1TpiConQzls5WJji2IHStN+8vErCEzzpSqlEVtnVG0dylnZEioQmMf7y7jnzXMTEDjBF/aHAG/n/YHD54us8xDE7WjurLVXuPDDlAjIiUzPyTcY8ImRKSBAZH0PHJAFF4+/jfDwd2wl5c5jw8xB9cSAzVeeL0tleZ8gpYik6yRlQp0KMSkrXb3uq2EXvpv8LmWluWNFEIAqBDcBqnSMTiQCEH7R/D2lu1ItkJZdBWm+aWkj0qq2YjtnZbkKawbvf4TQ39/d3d/Pf/TZFVjg+xID22l/jv6aiyYOP4DECBNQX9HgKMx3VRAB0Q5k9nNiiYCUICaA4p84ejTCp/25zQ21zCCgvHxmJUZAoYEJkOcLLzQMDE5fsRcaLDQ+BA5to8IwImCA4qcn7cePX6cSAG8zI0nj8WJ6fJQqHeMdiZH5dPk3IXyjOf/rkC5fhF9QUFp69jkoNOSsLBdIzOD9ScGcf+gio/GiQ+dfjxcYMV2SAN6O/YGJzcaJQuoSARXfFDkiwztiYjPzw8opNZcSaTBGRpYnwhwT+59/WEijfux/heI4URk+8+aamZWzzTKNPUyebxKZwRURwskLbSqatCj+nTsPCQJ8/Dyn35kAY27nV7VaAiZdDAjT03gUfdLl79rVbcxw5M+mvjykMEePSyutikPpKkvXEtkxzwQA2wzANv6jT0RBYJcggLfT/ofroKK2NSOi4ZOHOEBAaE650VEUkwkC+LGNf5SkJRFwzWiaGm08QbW+xxxZe/dWOvdmhs901EzP1BAgpO9UR74U4sBZbSYm4KNtOz8iIAlLSlGVSgoB/vUDQWb+bSAIGMnnTlL0ivgcXP62Tbu6zZE54bDW+toPI6CrNC6utPQcGgEsXRE/CGDlxe1Tt8Ay8NAtz9KffWBmtpXCv/NO1RFip9G80+hfh+MTAfmFFbGO0AUdMZnhsbPLUzLSMQjQ05kY5J8YGUv7L2scfaB/XOMLtH+8MysWU9tAT0tfX7gkwGgdIaWvvlZZEPAhj4DPQIDOoYIJ2GdsQFkiDDLcBJyvFjzE5+Dmtys7qDwW1ZIgAFJza0HaCIRf+v3XisMD1+IKAoRIsaRmp2/nP/pEzPAkgM3TcAecOFwc35Gf73C5CuubY9rDQQCMkVPgCms04kVkfvhs3v/9/nHj+hE/E1CE+LmYt69vtyQAOWSY1UkCZPyybQ7KkupCP9yG+ImAG2vUyXYyiLyCCfBvaPDXEGA8Xy14iM9v67Tj4u++dPduJiCgYF7p2WdXVZ177tenfT9CODzw58Wx9OQMlq/9ppvsvufSn/EVmAECKEGnOkIMP7TN/9A1fHwiIL+jor4+ph7FuUxAeUo+EwBvcBDA+7//Pp8PEyDiZ4AAPl8iQErfE4cPc8GSBNr4hDK/Wrb9ieOp8YGAffvEF078NmDpeI1a4DC1vjYxJ5YQDuArMCuwC4MItjaY7Kq6lmtz5VOApScr2DE3QcvjP4APPZ9fYpyyljdetMkWFnJ2lghIsVgc+UYjnoL+QeGz9ftP5cd/bCxYIJhk1tn6F7XC+qzzeP32K94ABAEXAyCApOONkwGRtT1rSLxaPQzAP4qwdKk34wvOEn/xKnDUmzBGB9477w4gj7frfX01hg8MvMbfYRZLmHAX4/35DfyOydjbo5pZJn1zvSXUUmEBVb4L6D+f/yMKQKYRvPKSBgeTUKp7gdT0c3XSNSlaZqzjo4upse0DAVFcDHytgmt3rwDqLNQXbekwAaLAwky1x3w8ofRVua/P4iImwwcGNQ198OBBLy2mMlQSnQGLF/vOnD5scyCjTPEpVnZhFjRtdkrbHX8U4JVUUVFfUeF4z2wjWHN9NtZ5SNFop8PBZXzF6dmjID0/ePjh4vLyYsXn4davd0mI/uKh8CWm2Wwz5uN2ki8xS1tRsMDHQy2ytnfzTn3tMLLQhocNAcETpOPEwaHeBz0IQLM5Q5ixzX4iIzVjZUZ2yr0ls8gQvEw6RNCdZm8+vmLjbXZjsGfbnTGdunBEgYa31/6KehdKS9dMkVlfH79JfdousCSnK7ANPviRlgBIz4TmDx7+xlUyq6T+vpkzUeM0EwSkKSil2l2y2AQBNTWoxiSLTZa2ggA+HipRAf65DxABOBN3HpMImGS42cClc+w4sXmoNfVlDwI4cDm7Ezt7UmpMQkRIRMLqEkYZHCJYOmeGH99xfDcISDWkTvHwPU7npplhskADBDhcaE5fY7EycimrmqvxCU5yBoIAZ0YqbEKH5W678VgFcsz7R4/u3MsIy7ZZFaQCtZMFAYsWGY3bXmACRgoCjGaWtg8h06Ma3N3+4Dlau/xRAd6CAJmCIQJsqanW0zUE5GjihxvdsOyYkEC/iLensB98SZl0iNiLG+bx3cczZ4832g1TZPxyBKRsYTM04XiBr0CM0+VyrrmYSwKmjB+6o2CS77qFC5WSl2hnW1tloiUE99yQoIuoDW3WrP19eAYMGwY16uuN2IDsXbtkSQwREGrYtuydDiLgHZNa22tmKawYQsRUiIIFs2cWOMgA3Ky+tuy2W63eY4d4jgCKX5qxPZFhD5oVaX9xeiPiBwGKQ0T4pszdxzcdnz0+WG2rpPoD5fMofiYgz4HLDygjYKhrfqDvsGTFwQEEVGbh8o84e5h950RuQ5vVtx8MjEP8RIA4YEJX6S7hQEG+xKGGmnfeWW5sJgLU2l4LZX0VApo3SkcIszZ+aeCw+D5gJq8Qcesv3t6bdyN9oBCwocKloKmpyTW4KmHx4mGLnVOyED9QdmxvZlvbk20gYNPu3cfDmQAZPxOwfosYfTTbRZ4kXhdQ/z6AEUfCYLz3QGDwsGS+/A8IAootCfh2+gUdIqlMI2B0H+KfQfFTZ6c6AjgLS77Eoc3L33lnUUcz+RKrtb0Wer86AmKE9jfrsrj06j5NQcMvYzdu5OsvQStKuGd3z8g0Bc7CzY/RyASobYAQckPCTdK3mJukqP6A70G4Aymf52W1EZRvsTWXtHM20hUSndEZVrQt4vKPFFJ58jdNfXPm9I07wZnJfaZt8maxU6D5PCKgbhkufkcz+RKTtJUE8PvlPeD55/kxcPfa0++RM/EA2d9ByRnuY8cV4RU2NSo1dcpULQHlhoxYEf4ZggAZ/jyE31g1NV+N/9iQ3aZp5Fs8nCDOn9sBRDl0SBSyxl5jgy/RZnWnQfunwdWcgPRG3NEgKviZkNs8XErJyW8coJo4jh+pWZNH29pVw88jX2I00eBGENRMvsQsRQUB/H4qxmasB2BuFp0jg+dmrefCxk4iAjhLTO5x08JgTD9pWpibAHiRWSIRvyDgSRDA8SN8ip8IcMdfXX0MBJBvscZHGN5iiJ8IyL5wTDYISLUB6n28FtpftrkxC0d98JCy+9e5peR57FEk8SkI0ElN8iVGaVxNjdFcCF9isV0QwNvXqklvgAjIkUOAAQImGW82KlVaIOACOKmOBwMqATnKUwA8yBEgKWACshQdn3kcbYDsW6w5v7UYeQSaqU6lEUBunLUCbxOGfr90A5qtjiqAYuqsu0yVkqjj9YBeatLmGmRlC4NCF7m3hwbR/zmPtq8FtPZm0bpaXsg/88sWNcuJ/81QGFCW01DA8k+iCsD+HrtwOhonqIh9pZgCYpghfIXF1RcNegLu1rVeb0+p2pDkmTcmWenO4QI2BXJIXRYVdUWS5h1508aqWXZAX2sszNDUz1uvgvXzKZf40MwX6R0puCXvVeC009T0uSZGL5aimlrgsbq2NdPARqFSAgp4++juYqdmsawwesRrpbPNs1Y4NcpiycbuLqcLv7OzKqfe8d6XG0UWF4Djg77WGFIaULPU6kQJpm0efXTtqZf4GFD8vkx6RwquRdYsEeI9aRSyppw2JYwHATiQphZ4rK5tDVnV6kt8gbQZcVuxHQEmInBgMyAIuIZqd6Ujg00bPhPgb8/KaiqrbGrLbNkNApAvp/dI5OprjSGllx9oKiiQWV8QgMB/+OabH14ngIBTLfGB0IXXGQjQOVLk0WSvcJTg/b1HjRmT3NWVfDWDCcDxNLXAcqkrV0y3UGKUVv4KS06k4a5IvsFGg82W4pTxny4IQPzI+E1sngil5yZABvhCtr2msrKsrL2sJbNpSWwYCHjpvQx1u77WGAQ0lXVtLaiSWV8i4BCmYcYJBtby8ckugn1ozf5iBHD8TIDekSKPJns1S4SMRU3pxStXagkAnZpaYNGuHjElLcIqCVhY2DCnetjWrajuRUbI2L1ypc3s3Mzxn75ZElDnP3L4yJ3NUHoKAcoVDsKZVFa2tcMvP65lScvUOx5JwdpRe1ezozwmS30CRslaY5WArtTcLrmEBxMw7hmgkVYgen2tCDg1JCRVU5w9wPEzAXpHCnah1SwRMgQP3ITkZDseusBz8V6cNVVrgQUBFYGrdwRWSHO0woVz6ue8m3z2OaVLUZxs6541q9uwsuH4McJxk5l+506sI9P+kcNJKofILyjPWI7CXB0IaI/tmUEE7G8JuyPSkIFs0XEpTVuJAG2tsSAgI7iKs54gAN/9ZwjjBAHpQnnWObOF9BZKEvFLAvSOFAoBSOLheIIAFDFnX6olQK4mp86vm8v37i2HYwET0DBnznx8P7efc24ptmMEVNhsIe4sKxFw/sSLzIdkgYM+CxtKBLS0NM3vw11uMBNfgUhaNkuugLYaI0CNX0rpAy1dUWVx4v0g4NFHrxUj4DUQcKcgIDUqCgSYFQIGZPyt75r0jhRUIHF/ibpECBEA45mNl3KPPAgQq8npCDBmwARItKlRre2cBvpl0Ps4B2zrtmVPkPFJApBTbTbX1TWPBAH6goWhWI+wMhMFUC0tRwaXbAYBuP4Z6nS5rtaYf0scaKqqKsX7FQLoHnBtx2uCAGVPbvNKZwKMRhl+77smvSPFipmo9OD4BQFGIDk7N5mPgQssaoU1tcB6H18QUN9O8QNzh3LACcPUggQmgB4AdTv9rxl+1clLbnh3pq3bvHl+S8sgsGTzbBCwyuJu6zHX6muNJ9MSH+/jAPx+IgC3vh8OH0b8TADf1QFaLg1marcyAQNMQG8rCNA7UqygUieO/1U+Ht+YduzINQv4i1phtRYYBEzx8PFFbW77EqXN7N2rva/tDtEvqWH+uyU3QMDqrErG5vDNRMBe7ZoarfpaY7HEh/r+9fT4B15nEAGA6LYGmACcungMAia9IwXXInMWex4fz6wWTwgChhJyGd6EC7QqDTB5ojVNV5BAVN+od3AANJP0c8NUeTo7r3U8jqsuqaGrNZZaW33/ep37WR5B02amb03TO1LQXis2cIGEPF8mxw0vo4TSO6lRngycm8f6c3mL895Tz2D7IGRuUvQR8i6Tvr46qXoGgAINLomYCgz19qw/GeMMv2l8uPNxxQhZ3/ZmtCkwQ1pbLM+6cQvDKODuHLuccBrjlFL6KkDbR6f3Fc5YzwVaAi7X3WshTRmyE9NUbFxsSHwPwJewweXaHw2dW78SSBPS9Ko6T6l6BrLHqATOEXg6zDvbZseyvAEy6zu2MiElISTFnuh0kt1g1lSeKFXPx6Jvw4MpitYW5Rb9+bO5GytfIX3VeISPsFqwIXyJ9b7C/kgZKVnrzrIyFwhwNyPj7rTMlFecQrGvATrLmpYhY5SV5YLUTGNpSgURNVqpCgJycvCDTVr0gQCbPcAOF6ULpZMUChsnTAAdYoa/CATgt4Z6PhabgWtm+bUgQLPuDlas0J0/CEBgmtXx1HiEj7BnBsq80+slt0cwrW35yB14g7L/fU1N5SBgUd225prmZvzT8QIIWJyBq4/w9zaVHXiBCWgX8Z+tFEQs12QYckHADcgv5CN+SUDqJVi2WcQPAi5IwHjxi9pRVNQCFE2FoUIGtxKuIkxPeiUxalSq36jixYziFZ9tOwQoo+DDZyUBLpdRIQAXViN9RTx3bdnyKKUh7lrrE8J1pAUFUqh54bHEEBO6L92xXsaP3ekNdxIBzc11zXUdy5mANcZVxmJx+V9A3osIcLnjv8SeS1ng5WrbSOhS/ZIYdlsCHtDSIv/C8UUJiVEbEzc6isKZgLAVM+1m+xrCQWBNdN4jAci8+zqJEJTu3qp+PTRSuK4C+dHl/BoE0Fp2Bw4I6QsCEM2WlIwMUPDoQyCACyZm4IRYamsJoCzFS3dgvh1QZpxLvkCWt3lnc0dH3aLlNcsQcF7kquJVuPxNB16QBLTL+M+eYIew4CzwIqVSDwREqPETAUNxBTTl9xfMjSzescNZviM8fMCR4ggHAZhtUOJ/GQQsDh6VGuI7cxURsMZNgHL8IL5gD3f+8ENPA7JMd93Jnz8aNSaHxep44oLiB3IK4gcBomAibdy4UsSvJ+AOEKAvOJisLqbGAa/A+HfSt5/iv4wIcHH8IwKy3W12y/3l+TEBFL+6GpzNMwucixHEX38QMLBsERGAG4wHAaHOmc7a6Rw/E6B9vyRgeWddTc+yh4gAWcDR3y+lr/ARvj09/faHeLuQ3jNQyS1Xm5u28WfCbwI/t+oLDkiaNjMKmwUBaxo6cfk5fiKggeIfRj/OcEtpvhxZ4EWaR23hkJynn0b80qP0uTAmQOMHEO1E/JVU4VS0bFlReNjcL38W+Jjwc+/4jW/nTg/FuuF8fuvmHpSOQwC7zrBP8H03d7bcdwNPtbEZm0b6Ch9h3Ai2KFNxbqXGaX0vvXRFAB7L0REBYt21ukV0xfPqcfkXyfiR9Y12pQ3zTbCiBubQRcOx/+XXLJqjdWgAAc/h+iN+JmC2TY2fgBGgVHjtxlK54WGn8AkOsEepr1es4tEB5AEHo0Wef0ts7O0iQM5Sq6vjgQB1KpK2mw3ysy2M0JPa5k7K8roNKd4hmOZ0lnVqV6ML2+Vn99/ZXDdyotj/suWeDg1UEIG7AB4CjNlmXe1wvJPL3ABRkPFPPsG3riIo3xEQIGcZRZhEgPoUoP312y93t/HJ1eZOMifTFRwAJi2ODr7g8frdd9+/6jLs7y5AMHmC5B+yzO4SB5Jz0gwil0ACkHPCEv/kE6zvslOFsgCXVyAHitU5dFJabscO2iy211kmT4zXFUioApyxoiF4UrCKKVfrs7TwRvFwJt7Rdvqxj4cc26Skvrm0gl0hNrAWlu+9SpGm+uONB7T11nkEFvj4B2jV7T958uPT5k4+7zvluumPZxZQzdSefEVncRHlKRXvhLXMI8WPKHeeFfWpU66+2I2bxuuztDeopjkPA2+dIWt9xSIwsWFsniYW1SA5PFYWSLg/T18wofcN5l+D5JPlqidtkGTq3OXx+ZM7MLkB++7QDp7BMZ3sU5zqB6td5TUIeH29RyelT9QkjfEuCPDw+gIBWEYZi2lLPL5dn6X9vkK7uvqun0St78bg2KL89vZYIgB5e9EoCCFABCRkB4waFSgelWVy9ThVCut9gykfkJ7TiQVPmnqK1tyfZJrfE9ilfj4I2LFxdce+jn3+b/ASG3x+2Zj/svtJn+JRtByesj8IwK+kyFSLgoU+fl1pJcDoRrqTNvanpKutuUBxvXVXdwgYUAjQL2xMxcvrqhcutNqruc3tmFzSIraoKbCqpWg2ETBTNEqyEPLB9Ugd5et2f6tkSyMH4AQc0eK5H1NREWHj43OOL316J9DUfpAIWNJXUqDWOk/uwFjZV7gv1PLGp5IAX7vdzzfAHjJB+BRnj4Kxsbrw8hkPbXvo0ewQBe9CKnaljR5dMoj4B68dfcTgqbUt9fVL2g3Z5yhfKzYsMDaT+dghiyQgrQWPgVBrbkvuu9W9+bLWt6ioottNADu9BUIOEwF2q93X94QEapI4feLOOhs5/u6KCmuMQkBDw/T0+9e0d7b3HLw/2tQQtHB/ybw0WTsMAlZvWr3vDf+gjn1MAElfu1+C1c8vdQJtlxdMXXj5jIefKXxw/c8+Er1QSl1bYex73eC4/bcNjpMEpNTUpIiChvr65x21BssxBXRArK6N+M+/iKRv647OzoUNDXMKl7TX7tmDEeBYwKvLhYe3NLWAAG7MdHG36BgmIISywr7utrloJ8evpt0pfuSpkaN2kfSFUnQ1dC5Ys6aop70FvxVMFqyEg4qVNFkLfB4TsG/fGxQ/pu9J+dl9rX7D7NZRtF1XOwwCHq149MEv8UoABPAIaBwcd+2rg9cyAXyNm2XBQkPnlztiUqBZBIbwCGCLjzp/MxPgKK+GCij0r9/elrO9N56qLlnptBw4MBg+m5e8cFH8IECt5j7BGH7iininev1PT9osa4PxiypGSGsQ0NlQ1g4CsEY6pDKPgMZ5aUoW+rw3Vg+sw7y1nL4XBASEWBP8Un1puz5r7XXWaw8+mNJtVbDQZ8LWNEUJv/pqY3+k+v0X94DumApHtLpiob5NjdvcPr7utsJaavOSBIQTAZktLWeFzz6dZmpcFH8ZF0EtjaCeYVmQgIWTk4o1M4+VWVPNuuODgPbOpibcAfct20cEzJ+zv0TMoigEVK/m+CUByDonJEwYAWfJS2i7LmsNAh5c/60GV/gEY4EkjVsc33SgvbDEHdTXqlvxFFgQPUSF3pzse9z+GVWEgp9AgIj/0ieBcNPp90xfsMDF/cJXEgEbIsoA8l0mxA3qzdN4Ieh3VOmNLG9WT1N7T0/PvmUvEwFL+maUqtIZBLy9eqMIXxKAeO2pVmvCKN6ul9pev6z/9lktAd471BwtcF6e6vIEHkBAyu54TfzxenMyOFMzygWGTOXHP0HU+t56j3ITdF0IoJbX8/N88MiWE0sEb/1C0LfiPJwNrsCypvY3yHHC1FMwSiOVQQAeg7J8AzD9g7TGCPiOcYWCabqCB9XxVqAt3mPR1l9MOkD+aZ2Jz9CW+tL205OAQV43mBPQemmql776haClFI6Pjxbo1e1vMs31qDn4J2ntpZeKVgzkB6y+7tetEr2M7b0vM2B6JrerWdbLTxzBB+qzynqCshT4BfAMvX7JjPjElKypUxMdiZI3xV3CIrPEdDlOkyDmXj1yhMsfFOxou/XYx0mQ3sBUQH98fbxeeql4jq1h/vwGm1153bpDwaZO16ae3pdp4QG4aSvb3W1uFzWW9KHAAQUNgFrQYFINHAmmLMMW+sv4ovimN5htFVjj62HCzcDp8UYkiOm2K+6Cs3k1OpRVKlnhvPe43oHTvlSQ8X7UykPyNWFpkpDexe4CjgqrrbvCUIG/u7u7K1z6eEWBREKC6sBgt7UvXDjfliBf66XpyzcXw4UX5dlyu2JudrgR1lq37R+k6WwOXRY0cIpN9SF+NWuLdCDBrDD8xqZYUHpbwfe8dEJkfEa6IyMyIzIofDM1SIAAIRttstY3773pq5TjkTna+4unf6M5/lLZZrfaXcBRERGD6CNKbLaIwLLGTindu7oUKcxS0Wq1qw4MCWBgznxriHgNy1as2vQmgMLNuI4hgoDp0y9Us8Bk7tXYuB/3wMHGfhCgncpae5pYKFlK3XlHs7YYHzM+Zn5sPY3LWeZCEFCyEi1jW7bwyh5vtX6ptAF+DFSblMXYbObuzs5uKwhYtQrF2qNJqpOP8WlEsOpzvEFI7417Kzcvwn0QBEBDlJQsdux9zzXuSFl3EMULFMxQpDCEiJ/Nb1jACOswxYEhwTZ/DjHAr/F+Q4qM/+mON0EA1ieFR+aFQkoyAbj8TXPQlHek8dAHTMBTMn5MZgqhk91gtIv9s7Y8Rlj/li8oP8dvndkaE2M1SpdReIzqsr6FICCCYMzo6Ww6UiEIOHzg8OETh6+l2uM8nqVIxwDiLHJSFknv4tq9mzfvq2letjnMaQx1BZY4sVNZo6sisZDPZ96M0aPj4s5mKQxlZLdhPCOppUhFMICCgCXWEHptaG7GIBDxPx3XEX36zewRugBnL9vi6PL34RnY19j45utrP3n4ecKbEpdCGAHGhiVGaoDfjnsALr/lQf8P+L6UXm+hiSCcvkShrna4cKkwWcFPIXNPj9koCDgwsbFxeP+1JJ3xGvEXrzlYnIEs2ZqkY85KVHdnEQF1ze+AgIxIgyHCFpy7uqy5OAMEsI0vjZcROH8mAPEGQCj5ZZ/rlooh1iW33bbEGoXXMRUx3Rkcf08cLWV98kLJB+jyX4fLX0fT16d5ZpVp/UASxsaL68XqcTwCHnzrg5eZQb/qG1J4+Ct4K10bv4YAY4WrtrY+NHSFGAEnTvQfuZZylnjN8R8EA5QjjHZL6X3LQMDs4sgUw7JAIqAx0uEPAvj8S5EWl1KYpKEd9Xw0Ia9KRTDwwAMLU6PO9jZ0d3P4lOmJewME6KTkVa6SPmigvsbDb74mCFDjJwIGXU3AEQX70Umi+qQGpba/fLNqsksE97KUdsO0IUa47GCuqbbWbAmlgFHwcWI4jk6lt71uvwdRshOfpfyU6Ozra9rMXWaNByqaWppccUGQ0uL8x20dgaSxJIDiDaH4tVIxxLrwgQfmpIZ466WpXkp+4VooLj8qWCQBavyvjtvwjOfrL/yy/ahVW3yDfAKqM/j+z4Crr6VQ5yvMBAQCZloMGgFQVrgEXYX9OBoRoD8fECB/SvUAggBzs6UszlVcaGYCeK0KavbD/kzAqaUixsB1ty1J9e5Vbsp7qvYgw3GStCQp3NdY8vzrDBCgPvUIG3y6BLYKeAepbFrS/f27XlZshm9gRF/h6SsMAuRTgN7DBOArII7feKqCjHihH+QwYAL487qRpmMC9FL4r6Virgmo7WVAYP7Ue0ppif+1/4sTH7izrm5jsA0C+v2nELhEpJrhr1teTilEUCCOcvRortxpxYqkJOXopyrI0LflWdxrTwicJIUf2GCaq5WGSTC4nzZtndvyIgzgo2G7B2SNw1VXjQw9R/N+/epzQZM1OWZgnhszGJfq8MckTbGtbdIfXv82TD0xAzs00jDJiaxncIIsY1s3Nyy/PMgRCTsouR0ODVF+qpPt2P66ukOWBPX9l9cp6CkoaEk7z2io+YaADlfCVaNHqEBKqErGHa4QkD3l92xeZZWqAX+fku31b8M0vy8QpbCKFGYCVq97e906tvYhAiLb2spRmy+2gwBEfoni4njJ2MGYi5ZftDNhgnw/CLhIunuPXJ6WVjMZN9FOrRSeN8LdIgkwAUVFOQtynAvuKSrCC4Ph1z9+tRm6ugw2/MFg8Pq3QVnVsq+q3VlSImAdCEhel2tMTU5uRYNCZnkbehPk9pBsuwLy6LzQ1BlxzfKROy3yfweDAMR/jSwrWT7ZuDLBMCBvgj/9tHU8CKDoq6q8CRczAU6MAAyBBQvwgi/879lRUfRvw39BgCuwqa9MWeh4jkkSkJycm1yLv0BAZmI59WZI6asvUKC8PFWLi6zGyCtAgDR3H3PObQ+keUfFzAqJql5XnZzMbnCt80Yg/LRzq6puSsPEEAgQGOjJFH8wEH4dExx8MS7/f0JA55KyOftlv8WGsj3JYi2L5GRj7eNvm0FAW2Ybxf+LlL46qUq+vX2B15xPFilw9Zl43uV1irm9IMAeMmuW3Sj5hRIUBFS99VZV2lg3AZkopJQMSJ/jm25KMPxHBPS0NO0vk+eHE5wWLK29UpPffhwjQC999W1uuIeU1cD1REwlnT8ZBMjhf+W5D4AAc8isAnM1H5L79ogA79KqHxdV/aQSgPjBQLgkgG8D+Ps/ImAJrv+c990LKU9bLU82udZci2puvfRtL9Sux19/namzERUFO/3FdGBklljiYqRKAHyWv8Is4k8//cQNGCDAG6iqajmGphVJQHgPCBhQRkAqf/v/s3vAEjV+QQDHT0DG7vFWvdTEkFduGDxiBiOoXWLxGqVgQV3i4qZzHzCVggBzzziNFJ43huMvrfqpCk07IICR2TMwHwNAfQoA/9VToM+15HzNQspz8fgHkiUNraeQvu48MGDqp6fgYnfFQrS6xMWFY667rdTbaK45wBBGF5fNGKN1uU0GAYz5bh1wCS484T/TAUdNk7ULKSuFvK0SJ0lfHS677MzyFZrV1NQlLi6Aj9dYb3+T55IXM9CxogAcV/3vSvC/Bj1utPD6n/EnnaQbrf6BCX0AAAAASUVORK5CYII=)}.react-tel-input .ad{background-position:-16px 0}.react-tel-input .ae{background-position:-32px 0}.react-tel-input .af{background-position:-48px 0}.react-tel-input .ag{background-position:-64px 0}.react-tel-input .ai{background-position:-80px 0}.react-tel-input .al{background-position:-96px 0}.react-tel-input .am{background-position:-112px 0}.react-tel-input .ao{background-position:-128px 0}.react-tel-input .ar{background-position:-144px 0}.react-tel-input .as{background-position:-160px 0}.react-tel-input .at{background-position:-176px 0}.react-tel-input .au{background-position:-192px 0}.react-tel-input .aw{background-position:-208px 0}.react-tel-input .az{background-position:-224px 0}.react-tel-input .ba{background-position:-240px 0}.react-tel-input .bb{background-position:0 -11px}.react-tel-input .bd{background-position:-16px -11px}.react-tel-input .be{background-position:-32px -11px}.react-tel-input .bf{background-position:-48px -11px}.react-tel-input .bg{background-position:-64px -11px}.react-tel-input .bh{background-position:-80px -11px}.react-tel-input .bi{background-position:-96px -11px}.react-tel-input .bj{background-position:-112px -11px}.react-tel-input .bm{background-position:-128px -11px}.react-tel-input .bn{background-position:-144px -11px}.react-tel-input .bo{background-position:-160px -11px}.react-tel-input .br{background-position:-176px -11px}.react-tel-input .bs{background-position:-192px -11px}.react-tel-input .bt{background-position:-208px -11px}.react-tel-input .bw{background-position:-224px -11px}.react-tel-input .by{background-position:-240px -11px}.react-tel-input .bz{background-position:0 -22px}.react-tel-input .ca{background-position:-16px -22px}.react-tel-input .cd{background-position:-32px -22px}.react-tel-input .cf{background-position:-48px -22px}.react-tel-input .cg{background-position:-64px -22px}.react-tel-input .ch{background-position:-80px -22px}.react-tel-input .ci{background-position:-96px -22px}.react-tel-input .ck{background-position:-112px -22px}.react-tel-input .cl{background-position:-128px -22px}.react-tel-input .cm{background-position:-144px -22px}.react-tel-input .cn{background-position:-160px -22px}.react-tel-input .co{background-position:-176px -22px}.react-tel-input .cr{background-position:-192px -22px}.react-tel-input .cu{background-position:-208px -22px}.react-tel-input .cv{background-position:-224px -22px}.react-tel-input .cw{background-position:-240px -22px}.react-tel-input .cy{background-position:0 -33px}.react-tel-input .cz{background-position:-16px -33px}.react-tel-input .de{background-position:-32px -33px}.react-tel-input .dj{background-position:-48px -33px}.react-tel-input .dk{background-position:-64px -33px}.react-tel-input .dm{background-position:-80px -33px}.react-tel-input .do{background-position:-96px -33px}.react-tel-input .dz{background-position:-112px -33px}.react-tel-input .ec{background-position:-128px -33px}.react-tel-input .ee{background-position:-144px -33px}.react-tel-input .eg{background-position:-160px -33px}.react-tel-input .er{background-position:-176px -33px}.react-tel-input .es{background-position:-192px -33px}.react-tel-input .et{background-position:-208px -33px}.react-tel-input .fi{background-position:-224px -33px}.react-tel-input .fj{background-position:-240px -33px}.react-tel-input .fk{background-position:0 -44px}.react-tel-input .fm{background-position:-16px -44px}.react-tel-input .fo{background-position:-32px -44px}.react-tel-input .fr,.react-tel-input .bl,.react-tel-input .mf{background-position:-48px -44px}.react-tel-input .ga{background-position:-64px -44px}.react-tel-input .gb{background-position:-80px -44px}.react-tel-input .gd{background-position:-96px -44px}.react-tel-input .ge{background-position:-112px -44px}.react-tel-input .gf{background-position:-128px -44px}.react-tel-input .gh{background-position:-144px -44px}.react-tel-input .gi{background-position:-160px -44px}.react-tel-input .gl{background-position:-176px -44px}.react-tel-input .gm{background-position:-192px -44px}.react-tel-input .gn{background-position:-208px -44px}.react-tel-input .gp{background-position:-224px -44px}.react-tel-input .gq{background-position:-240px -44px}.react-tel-input .gr{background-position:0 -55px}.react-tel-input .gt{background-position:-16px -55px}.react-tel-input .gu{background-position:-32px -55px}.react-tel-input .gw{background-position:-48px -55px}.react-tel-input .gy{background-position:-64px -55px}.react-tel-input .hk{background-position:-80px -55px}.react-tel-input .hn{background-position:-96px -55px}.react-tel-input .hr{background-position:-112px -55px}.react-tel-input .ht{background-position:-128px -55px}.react-tel-input .hu{background-position:-144px -55px}.react-tel-input .id{background-position:-160px -55px}.react-tel-input .ie{background-position:-176px -55px}.react-tel-input .il{background-position:-192px -55px}.react-tel-input .in{background-position:-208px -55px}.react-tel-input .io{background-position:-224px -55px}.react-tel-input .iq{background-position:-240px -55px}.react-tel-input .ir{background-position:0 -66px}.react-tel-input .is{background-position:-16px -66px}.react-tel-input .it{background-position:-32px -66px}.react-tel-input .je{background-position:-144px -154px}.react-tel-input .jm{background-position:-48px -66px}.react-tel-input .jo{background-position:-64px -66px}.react-tel-input .jp{background-position:-80px -66px}.react-tel-input .ke{background-position:-96px -66px}.react-tel-input .kg{background-position:-112px -66px}.react-tel-input .kh{background-position:-128px -66px}.react-tel-input .ki{background-position:-144px -66px}.react-tel-input .xk{background-position:-128px -154px}.react-tel-input .km{background-position:-160px -66px}.react-tel-input .kn{background-position:-176px -66px}.react-tel-input .kp{background-position:-192px -66px}.react-tel-input .kr{background-position:-208px -66px}.react-tel-input .kw{background-position:-224px -66px}.react-tel-input .ky{background-position:-240px -66px}.react-tel-input .kz{background-position:0 -77px}.react-tel-input .la{background-position:-16px -77px}.react-tel-input .lb{background-position:-32px -77px}.react-tel-input .lc{background-position:-48px -77px}.react-tel-input .li{background-position:-64px -77px}.react-tel-input .lk{background-position:-80px -77px}.react-tel-input .lr{background-position:-96px -77px}.react-tel-input .ls{background-position:-112px -77px}.react-tel-input .lt{background-position:-128px -77px}.react-tel-input .lu{background-position:-144px -77px}.react-tel-input .lv{background-position:-160px -77px}.react-tel-input .ly{background-position:-176px -77px}.react-tel-input .ma{background-position:-192px -77px}.react-tel-input .mc{background-position:-208px -77px}.react-tel-input .md{background-position:-224px -77px}.react-tel-input .me{background-position:-112px -154px;height:12px}.react-tel-input .mg{background-position:0 -88px}.react-tel-input .mh{background-position:-16px -88px}.react-tel-input .mk{background-position:-32px -88px}.react-tel-input .ml{background-position:-48px -88px}.react-tel-input .mm{background-position:-64px -88px}.react-tel-input .mn{background-position:-80px -88px}.react-tel-input .mo{background-position:-96px -88px}.react-tel-input .mp{background-position:-112px -88px}.react-tel-input .mq{background-position:-128px -88px}.react-tel-input .mr{background-position:-144px -88px}.react-tel-input .ms{background-position:-160px -88px}.react-tel-input .mt{background-position:-176px -88px}.react-tel-input .mu{background-position:-192px -88px}.react-tel-input .mv{background-position:-208px -88px}.react-tel-input .mw{background-position:-224px -88px}.react-tel-input .mx{background-position:-240px -88px}.react-tel-input .my{background-position:0 -99px}.react-tel-input .mz{background-position:-16px -99px}.react-tel-input .na{background-position:-32px -99px}.react-tel-input .nc{background-position:-48px -99px}.react-tel-input .ne{background-position:-64px -99px}.react-tel-input .nf{background-position:-80px -99px}.react-tel-input .ng{background-position:-96px -99px}.react-tel-input .ni{background-position:-112px -99px}.react-tel-input .nl,.react-tel-input .bq{background-position:-128px -99px}.react-tel-input .no{background-position:-144px -99px}.react-tel-input .np{background-position:-160px -99px}.react-tel-input .nr{background-position:-176px -99px}.react-tel-input .nu{background-position:-192px -99px}.react-tel-input .nz{background-position:-208px -99px}.react-tel-input .om{background-position:-224px -99px}.react-tel-input .pa{background-position:-240px -99px}.react-tel-input .pe{background-position:0 -110px}.react-tel-input .pf{background-position:-16px -110px}.react-tel-input .pg{background-position:-32px -110px}.react-tel-input .ph{background-position:-48px -110px}.react-tel-input .pk{background-position:-64px -110px}.react-tel-input .pl{background-position:-80px -110px}.react-tel-input .pm{background-position:-96px -110px}.react-tel-input .pr{background-position:-112px -110px}.react-tel-input .ps{background-position:-128px -110px}.react-tel-input .pt{background-position:-144px -110px}.react-tel-input .pw{background-position:-160px -110px}.react-tel-input .py{background-position:-176px -110px}.react-tel-input .qa{background-position:-192px -110px}.react-tel-input .re{background-position:-208px -110px}.react-tel-input .ro{background-position:-224px -110px}.react-tel-input .rs{background-position:-240px -110px}.react-tel-input .ru{background-position:0 -121px}.react-tel-input .rw{background-position:-16px -121px}.react-tel-input .sa{background-position:-32px -121px}.react-tel-input .sb{background-position:-48px -121px}.react-tel-input .sc{background-position:-64px -121px}.react-tel-input .sd{background-position:-80px -121px}.react-tel-input .se{background-position:-96px -121px}.react-tel-input .sg{background-position:-112px -121px}.react-tel-input .sh{background-position:-128px -121px}.react-tel-input .si{background-position:-144px -121px}.react-tel-input .sk{background-position:-160px -121px}.react-tel-input .sl{background-position:-176px -121px}.react-tel-input .sm{background-position:-192px -121px}.react-tel-input .sn{background-position:-208px -121px}.react-tel-input .so{background-position:-224px -121px}.react-tel-input .sr{background-position:-240px -121px}.react-tel-input .ss{background-position:0 -132px}.react-tel-input .st{background-position:-16px -132px}.react-tel-input .sv{background-position:-32px -132px}.react-tel-input .sx{background-position:-48px -132px}.react-tel-input .sy{background-position:-64px -132px}.react-tel-input .sz{background-position:-80px -132px}.react-tel-input .tc{background-position:-96px -132px}.react-tel-input .td{background-position:-112px -132px}.react-tel-input .tg{background-position:-128px -132px}.react-tel-input .th{background-position:-144px -132px}.react-tel-input .tj{background-position:-160px -132px}.react-tel-input .tk{background-position:-176px -132px}.react-tel-input .tl{background-position:-192px -132px}.react-tel-input .tm{background-position:-208px -132px}.react-tel-input .tn{background-position:-224px -132px}.react-tel-input .to{background-position:-240px -132px}.react-tel-input .tr{background-position:0 -143px}.react-tel-input .tt{background-position:-16px -143px}.react-tel-input .tv{background-position:-32px -143px}.react-tel-input .tw{background-position:-48px -143px}.react-tel-input .tz{background-position:-64px -143px}.react-tel-input .ua{background-position:-80px -143px}.react-tel-input .ug{background-position:-96px -143px}.react-tel-input .us{background-position:-112px -143px}.react-tel-input .uy{background-position:-128px -143px}.react-tel-input .uz{background-position:-144px -143px}.react-tel-input .va{background-position:-160px -143px}.react-tel-input .vc{background-position:-176px -143px}.react-tel-input .ve{background-position:-192px -143px}.react-tel-input .vg{background-position:-208px -143px}.react-tel-input .vi{background-position:-224px -143px}.react-tel-input .vn{background-position:-240px -143px}.react-tel-input .vu{background-position:0 -154px}.react-tel-input .wf{background-position:-16px -154px}.react-tel-input .ws{background-position:-32px -154px}.react-tel-input .ye{background-position:-48px -154px}.react-tel-input .za{background-position:-64px -154px}.react-tel-input .zm{background-position:-80px -154px}.react-tel-input .zw{background-position:-96px -154px}.react-tel-input *{box-sizing:border-box;-moz-box-sizing:border-box}.react-tel-input .hide{display:none}.react-tel-input .v-hide{visibility:hidden}.react-tel-input .form-control{position:relative;font-size:14px;letter-spacing:.01rem;margin-top:0!important;margin-bottom:0!important;padding-left:48px;margin-left:0;background:#fff;border:1px solid #CACACA;border-radius:5px;line-height:25px;height:35px;width:300px;outline:none}.react-tel-input .form-control.invalid-number{border:1px solid #d79f9f;background-color:#faf0f0;border-left-color:#cacaca}.react-tel-input .form-control.invalid-number:focus{border:1px solid #d79f9f;border-left-color:#cacaca;background-color:#faf0f0}.react-tel-input .flag-dropdown{position:absolute;top:0;bottom:0;padding:0;background-color:#f5f5f5;border:1px solid #cacaca;border-radius:3px 0 0 3px}.react-tel-input .flag-dropdown:hover,.react-tel-input .flag-dropdown:focus{cursor:pointer}.react-tel-input .flag-dropdown.invalid-number{border-color:#d79f9f}.react-tel-input .flag-dropdown.open{z-index:2;background:#fff;border-radius:3px 0 0}.react-tel-input .flag-dropdown.open .selected-flag{background:#fff;border-radius:3px 0 0}.react-tel-input input[disabled]+.flag-dropdown:hover{cursor:default}.react-tel-input input[disabled]+.flag-dropdown:hover .selected-flag{background-color:transparent}.react-tel-input .selected-flag{outline:none;position:relative;width:38px;height:100%;padding:0 0 0 8px;border-radius:3px 0 0 3px}.react-tel-input .selected-flag:hover,.react-tel-input .selected-flag:focus{background-color:#fff}.react-tel-input .selected-flag .flag{position:absolute;top:50%;margin-top:-5px}.react-tel-input .selected-flag .arrow{position:relative;top:50%;margin-top:-2px;left:20px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555}.react-tel-input .selected-flag .arrow.up{border-top:none;border-bottom:4px solid #555}.react-tel-input .country-list{outline:none;z-index:1;list-style:none;position:absolute;padding:0;margin:10px 0 10px -1px;box-shadow:1px 2px 10px #00000059;background-color:#fff;width:300px;max-height:200px;overflow-y:scroll;border-radius:0 0 3px 3px}.react-tel-input .country-list .flag{display:inline-block}.react-tel-input .country-list .divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #ccc}.react-tel-input .country-list .country{padding:7px 9px}.react-tel-input .country-list .country .dial-code{color:#6b6b6b}.react-tel-input .country-list .country:hover,.react-tel-input .country-list .country.highlight{background-color:#f1f1f1}.react-tel-input .country-list .flag{margin-right:7px;margin-top:2px}.react-tel-input .country-list .country-name{margin-right:6px}.react-tel-input .country-list .search{position:sticky;top:0;background-color:#fff;padding:10px 0 6px 10px}.react-tel-input .country-list .search-emoji{font-size:15px}.react-tel-input .country-list .search-box{border:1px solid #cacaca;border-radius:3px;font-size:15px;line-height:15px;margin-left:6px;padding:3px 8px 5px;outline:none}.react-tel-input .country-list .no-entries-message{padding:7px 10px 11px;opacity:.7}.react-tel-input .invalid-number-message{position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;color:#de0000}.react-tel-input .special-label{display:none;position:absolute;z-index:1;font-size:13px;left:46px;top:-8px;background:#fff;padding:0 2px;white-space:nowrap}.form-login-ui{animation:fadein .15s;display:flex;flex-direction:row;margin:auto}@media only screen and (max-width:600px){.form-login-ui{flex-direction:column}}.signup-form .page-section{background-color:transparent!important}.login-form-section{max-width:500px;display:flex;flex-direction:column;margin:10px auto;border:1px solid #e9ecff;border-radius:4px;padding:30px}@media only screen and (max-width:600px){.login-form-section{padding:15px;margin:15px 0;border-radius:5px}}.auth-wrapper{margin:50px auto 0;max-width:320px}.signup-workspace-type{margin:15px 0;padding:30px;border:1px solid white}.signup-wrapper{margin:0;display:flex;overflow-y:auto;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.signup-wrapper h1{margin-top:30px}.signup-wrapper .page-section{overflow-y:auto;min-height:100vh;background:transparent;display:flex;align-items:center;justify-content:center;margin:auto}.signup-wrapper.wrapper-center-content .page-section{display:flex;justify-content:center;align-items:center}.signup-wrapper.wrapper-center-content fieldset{justify-content:center;display:flex}@media only screen and (max-width:500px){.signup-wrapper{margin:0;max-width:100%}}.go-to-the-app{font-size:20px;text-decoration:none}.signup-form{height:100vh;overflow-y:auto}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .page-section{background-color:#46414f}}.mac-theme.dark-theme .page-section{background-color:#46414f}.step-header{text-align:center;font-size:24px}.step-header span{width:40px;height:40px;font-size:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:100%;border:1px solid white;margin:5px}.otp-methods{list-style:none;padding:0}.otp-methods .otp-method{margin:5px auto;background:#fff;border-radius:5px;padding:3px 10px;cursor:pointer}.otp-methods .otp-method:hover{background-color:silver}.otp-methods img{width:30px;height:30px;margin:5px 15px}html,body{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.signin-form-container{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:20px;max-width:400px;margin:2rem auto}.signin-form-container .button-icon{width:16px;margin:0 3px}.signin-form-container .login-option-buttons button{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid silver;border-radius:10px;background-color:transparent;margin:10px 0;padding:10px}.signin-form-container .login-option-buttons button:disabled img{opacity:.3}.ptr-element{position:absolute;top:0;left:0;width:100%;color:#aaa;z-index:10;text-align:center;height:50px;transition:all}.ptr-element .genericon{opacity:.6;font-size:34px;width:auto;height:auto;transition:all .25s ease;transform:rotate(90deg);margin-top:5px}.ptr-refresh .ptr-element .genericon{transform:rotate(270deg)}.ptr-loading .ptr-element .genericon,.ptr-reset .ptr-element .genericon{display:none}.loading{display:inline-block;text-align:center;opacity:.4;margin:12px 0 0 5px;display:none}.ptr-loading .loading{display:block}.loading span{display:inline-block;vertical-align:middle;width:10px;height:10px;margin-right:3px;transform:scale(.3);border-radius:50%;animation:ptr-loading .4s infinite alternate}.loading-ptr-1{animation-delay:0!important}.loading-ptr-2{animation-delay:.2s!important}.loading-ptr-3{animation-delay:.4s!important}@keyframes ptr-loading{0%{transform:translateY(0) scale(.3);opacity:0}to{transform:scale(1);background-color:#333;opacity:1}}.ptr-loading .refresh-view,.ptr-reset .refresh-view,.ptr-loading .ptr-element,.ptr-reset .ptr-element{transition:all .25s ease}.ptr-reset .refresh-view{transform:translateZ(0)}.ptr-loading .refresh-view{transform:translate3d(0,30px,0)}body:not(.ptr-loading) .ptr-element{transform:translate3d(0,-50px,0)}.file-dropping-indicator{transition:backdrop-filter .2s;-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1);position:fixed;top:0;display:flex;align-items:center;justify-content:center;justify-items:center;left:0;right:0;bottom:0;font-size:30px;z-index:999}.file-dropping-indicator.show{-webkit-backdrop-filter:blur(10px) opacity(1);backdrop-filter:blur(10px) opacity(1)}.dropin-files-hint{font-size:15px;color:orange;margin-bottom:30px}.tree-nav{margin:20px auto;left:60px;min-height:auto}.tree-nav li span label{display:flex}.tree-nav li span label input[type=checkbox]{margin:3px}.tree-nav ul.list,.tree-nav ul.list ul{margin:0;padding:0;list-style-type:none}.tree-nav ul.list ul{position:relative;margin-left:10px}.tree-nav ul.list ul:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;width:0;border-left:1px solid #ccc}.tree-nav ul.list li{position:relative;margin:0;padding:3px 12px;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:400;line-height:20px}.tree-nav ul.list li a{position:relative;text-decoration:none;text-transform:uppercase;font-size:14px;font-weight:700;line-height:20px}.tree-nav ul.list li a:hover,.tree-nav ul.list li a:hover+ul li a{color:#d5ebe3}.tree-nav ul.list ul li:before{content:"";display:block;position:absolute;top:10px;left:0;width:8px;height:0;border-top:1px solid #ccc}.tree-nav ul.list ul li:last-child:before{top:10px;bottom:0;height:1px;background:#003a61}html[dir=rtl] .tree-nav{left:auto;right:60px}html[dir=rtl] ul.list ul{margin-left:auto;margin-right:10px}html[dir=rtl] ul.list ul li:before{left:auto;right:0}html[dir=rtl] ul.list ul:before{left:auto;right:0}:root{--main-color: #111;--loader-color: blue;--back-color: lightblue;--time: 3s;--size: 2px}.loader__element{height:var(--size);width:100%;background:var(--back-color)}.loader__element:before{content:"";display:block;background-color:var(--loader-color);height:var(--size);width:0;animation:getWidth var(--time) ease-in infinite}@keyframes getWidth{to{width:100%}}@keyframes fadeOutOpacity{0%{opacity:1}to{opacity:0}}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}nav.navbar{background-color:#f1f5f9;height:55px;position:fixed;right:0;left:185px;z-index:9}@supports (-webkit-touch-callout: none){nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){nav.navbar{left:0}}html[dir=rtl] nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] nav.navbar{right:0}}.page-navigator button{border:none;background:transparent;max-width:40px}.page-navigator img{width:30px;height:30px}html[dir=rtl] .navigator-back-button img{transform:rotate(180deg)}.general-action-menu{display:flex}.general-action-menu .action-menu-item button{background:transparent;border:0}.general-action-menu.mobile-view{position:fixed;bottom:65px;right:10px;z-index:9999;padding:10px;align-items:flex-end}.general-action-menu.mobile-view .action-menu-item{background-color:#fff;width:40px;font-size:14px;height:40px;align-items:center;justify-content:center;justify-items:center;box-shadow:0 2px 6px 3px #c0c0c071;border-radius:100%;margin-left:15px}.general-action-menu.mobile-view .action-menu-item img{height:25px;width:25px}.general-action-menu.mobile-view .navbar-nav{justify-content:flex-end;flex-direction:row-reverse}@media only screen and (min-width:500px){.general-action-menu.mobile-view{display:none}}@media only screen and (max-width:499px){.general-action-menu.desktop-view{display:none}}html[dir=rtl] .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.left-handed .general-action-menu.mobile-view{right:initial;left:5px}.left-handed .general-action-menu.mobile-view .navbar-nav{flex-direction:row}.sidebar-overlay{position:absolute;transition:.1s all cubic-bezier(.075,.82,.165,1);top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:99999}@media only screen and (min-width:501px){.sidebar-overlay{background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}}.sidebar-overlay:not(.open){background:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.application-panels{height:100vh}.application-panels.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar{z-index:999;height:100vh;padding:10px;flex-direction:column;text-transform:capitalize;overflow-y:auto;transition:.1s all cubic-bezier(.075,.82,.165,1);display:flex}.sidebar span{color:#8a8fa4}.sidebar.has-bottom-tab{height:calc(100vh - 60px)!important}.sidebar .category{color:#000;margin-top:20px}.sidebar li .nav-link{padding:0}.sidebar li .nav-link:hover{background-color:#cce9ff}.sidebar li .nav-link.active span{color:#fff}.sidebar li .nav-link span{font-size:14px}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background-color:transparent}.sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.sidebar .category{font-size:12px}.sidebar .text-white,.sidebar .active{padding:8px 10px}.sidebar li{list-style-type:none;white-space:nowrap}.sidebar li img{width:20px;height:20px;margin:5px}.sidebar .sidebar-close{display:none;position:fixed;border:0;right:10px;background:transparent}.sidebar .sidebar-close img{width:20px;height:20px}@media only screen and (max-width:500px){.sidebar .sidebar-close{display:inline-block}}.sidebar .tag-circle{width:9px;height:9px;border-radius:100%;margin:3px 6px;display:inline-block}.sidebar ul ul{margin-top:5px;margin-left:8px}.sidebar ul ul li .nav-link{min-height:24px!important}.sidebar ul ul li .nav-link span{font-size:12px}html[dir=rtl] .sidebar{right:0;left:initial}@media only screen and (max-width:500px){html[dir=rtl] .sidebar{transform:translate(185px)}}html[dir=rtl] .sidebar.open{transform:translate(0)}html[dir=rtl] .sidebar ul ul{margin-right:8px;margin-left:0}html[dir=rtl] .sidebar ul ul li .nav-link span{padding-right:5px;font-size:12px}html[dir=rtl] .sidebar-overlay{left:0;right:185px}.content-area-loader{position:fixed;z-index:9999;top:55px;left:0;right:185px;bottom:0;background-color:#fff}.content-area-loader.fadeout{animation:fadeOutOpacity .5s ease-in-out;animation-fill-mode:forwards}@media only screen and (max-width:500px){.content-area-loader{right:0}}h2{font-size:19px}.page-section,.table-container{background:#fff;box-shadow:-1px 1px 15px #93d7ff24;margin-bottom:50px;padding:30px}.table-container{padding:15px}.content-section{margin-top:30px;flex:1}.content-section .content-container{padding:20px 25px;position:relative;max-width:calc(100vw - 155px);margin-top:55px;margin-top:calc(55px + constant(safe-area-inset-top));margin-top:calc(55px + env(safe-area-inset-top));max-width:calc(100vw - 245px)}.content-section .content-container .rdg-cell{width:100%}@media only screen and (max-width:500px){.content-section .content-container{padding:0 10px 60px}}html[dir=rtl] .content-section{margin-left:0}.page-title{margin:-20px -20px 20px;padding:40px 5px 20px 30px;background-color:#2b2b2b;border-left:2px solid orange;color:#fff}.page-title h1{opacity:1;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:.2s;height:50px}.unauthorized-forced-area{opacity:1;transition:opacity .5s ease-in-out;flex-direction:column;text-align:center;margin:auto;height:100vh;padding:60px 0;display:flex;justify-content:center;align-items:center;font-size:20px}.unauthorized-forced-area .btn{margin-top:30px}.unauthorized-forced-area.fade-out{opacity:0;pointer-events:none;animation:fadeOut .5s ease-out}@keyframes fadeOut{0%{transform:translateY(0)}to{transform:translateY(-20px)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}div[data-panel]{animation:fadeIn .5s ease-out}.anim-loader{width:64px;height:64px;display:inline-block;position:relative;color:#2b2b2b}.anim-loader:after,.anim-loader:before{content:"";box-sizing:border-box;width:64px;height:64px;border-radius:50%;border:2px solid #4099ff;position:absolute;left:0;top:0;animation:animloader 2s linear infinite}.anim-loader:after{animation-delay:1s}@keyframes animloader{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}.active-upload-box{position:fixed;bottom:0;right:30px;width:370px;height:180px;background-color:#fff;z-index:99999;display:flex;border:1px solid #4c90fe;flex-direction:column;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.active-upload-box .upload-header{padding:10px;background-color:#f7f9fc;display:flex;justify-content:space-between}.active-upload-box .upload-header .action-section button{display:inline;background:transparent;border:0}.active-upload-box .upload-header .action-section img{width:25px;height:25px}.active-upload-box .upload-file-item{word-break:break-all;padding:10px 15px;justify-content:space-between;display:flex;flex-direction:row}.active-upload-box .upload-file-item:hover{background-color:#ededed}.keybinding-combination{cursor:pointer}.keybinding-combination>span{text-transform:uppercase;font-size:14px;background-color:#fff;font-weight:700;padding:5px;border-radius:5px;margin:0 3px}.keybinding-combination:hover span{background-color:#161616;color:#fff}.table-activity-indicator{position:absolute;top:1px;opacity:0;animation:fadein .1s 1s;animation-fill-mode:forwards;right:0;left:0}.bottom-nav-tabbar{position:fixed;bottom:0;left:0;right:0;height:60px;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #ccc;background:#fff;z-index:1000}.bottom-nav-tabbar .nav-link{text-decoration:none;color:#777;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.bottom-nav-tabbar .nav-img{width:20px}.bottom-nav-tabbar .nav-link.active{color:#000;font-weight:700}.app-mock-version-notice{position:fixed;bottom:0;right:0;left:0;height:16px;background-color:#c25123a1;color:#fff;z-index:99999;font-size:10px;pointer-events:none}.headless-form-entity-manager{max-width:500px}body{background-color:#f1f5f9}.auto-card-list-item{text-decoration:none}.auto-card-list-item .col-7{color:#000}.auto-card-list-item .col-5{color:gray}@media only screen and (max-width:500px){.auto-card-list-item{font-size:13px;border-radius:0}}html[dir=rtl] .auto-card-list-item{direction:rtl;text-align:right}.form-phone-input{direction:ltr}.Toastify__toast-container--top-right{top:5em}.form-control-no-padding{padding:0!important}.pagination{margin:0}.pagination .page-item .page-link{font-size:14px;padding:0 8px}.navbar-brand{flex:1;align-items:center;display:flex;pointer-events:none;overflow:hidden}.navbar-brand span{font-size:16px}.navbar-nav{display:flex;flex-direction:row}.action-menu-item{align-items:center;display:flex}.action-menu-item img{width:30px;height:30px}.table-footer-actions{display:flex;margin-right:20px;margin-left:20px;margin-top:10px;overflow-x:auto}@media only screen and (max-width:500px){.table-footer-actions{flex-direction:column;align-items:center;justify-content:stretch;align-content:stretch}}.nestable-item-name{background-color:#e6dfe6;padding:5px 10px;border-radius:5px;max-width:400px;font-size:13px}.nestable{width:600px}.user-signin-section{text-decoration:none;color:#000;font-size:13px;display:flex;align-items:center}.user-signin-section img{width:30px}.auto-checked{color:#00b400;font-style:italic}@keyframes showerroranim{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}.date-picker-inline select{margin:5px 10px;min-width:60px}.basic-error-box{margin-top:15px;padding:10px 20px;border-radius:10px;background-color:#ffe5f8;animation:showerroranim .3s forwards}.auth-profile-card{margin:auto;text-align:center}.auth-profile-card h2{font-size:30px}.auth-profile-card .disclaimer{margin:30px auto}.auth-profile-card img{width:140px}html[dir=rtl] .otp-react-code-input *{border-radius:0}html[dir=rtl] .form-phone-input input{padding-left:65px}html[dir=rtl] .form-phone-input .selected-flag{margin-right:10px}html[dir=rtl] .modal-header .btn-close{margin:0}html[dir=rtl] .dropdown-menu{direction:rtl;text-align:revert}.remote-service-form{max-width:500px}.category{font-size:15px;color:#fff;margin-left:5px;margin-bottom:8px}#map-view{width:100%;height:400px}.react-tel-input{display:flex}.react-tel-input .form-control{width:auto!important;flex:1}html[dir=rtl] *{font-family:iransans}html[dir=rtl] ul{padding-right:0}html[dir=rtl] ul.pagination .page-item:first-child .page-link{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}html[dir=rtl] ul.pagination .page-item:last-child .page-link{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-top-right-radius:0;border-bottom-right-radius:0}.with-fade-in{animation:fadeInOpacity .15s}.modal-overlay{background-color:#0000006f}.modal-overlay.invisible{animation:fadeOutOpacity .4s}.in-capture-state{color:red}.action-menu li{padding:0 10px;cursor:pointer}.form-select-verbos{display:flex;flex-direction:column}.form-select-verbos>label{padding:5px 0}.form-select-verbos>label input{margin:0 5px}.form-checkbox{margin:5px}.app-onboarding{margin:60px}.product-logo{width:100px;margin:30px auto}.file-viewer-files{display:flex;flex-wrap:wrap;flex:1}.file-viewer-files .file-viewer-file{margin:3px;flex-direction:column;flex:1;text-align:center;display:flex;padding:5px;word-wrap:break-word;width:240px;height:200px;border:1px solid blue}.file-viewer-files .file-viewer-name{font-size:12px}.map-osm-container{position:relative}.map-osm-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container{position:relative}.form-map-container .map-center-marker{z-index:999;width:50px;height:50px;left:calc(50% - 25px);top:calc(50% - 50px);position:absolute}.form-map-container .map-view-toolbar{z-index:999;position:absolute;right:60px;top:10px}.general-entity-view tbody tr>th{width:200px}.general-entity-view .entity-view-row{display:flex}.general-entity-view .entity-view-row .field-info,.general-entity-view .entity-view-row .field-value{position:relative;padding:10px}.general-entity-view .entity-view-row .field-info .table-btn,.general-entity-view .entity-view-row .field-value .table-btn{right:10px}.general-entity-view .entity-view-row .field-info:hover .table-btn,.general-entity-view .entity-view-row .field-value:hover .table-btn{opacity:1}.general-entity-view .entity-view-row .field-info{width:260px}.general-entity-view .entity-view-row .field-value{flex:1}.general-entity-view .entity-view-row.entity-view-body .field-value{background-color:#dee2e6}.general-entity-view pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.general-entity-view pre{white-space:break-spaces;word-break:break-word}@media only screen and (max-width:700px){.general-entity-view .entity-view-row{flex-direction:column;margin-bottom:20px}.general-entity-view .entity-view-head{display:none}}.simple-widget-wrapper{display:flex;place-content:center;flex:1;align-self:center;height:100%;justify-content:center;align-items:center;justify-items:center}pre{direction:ltr}.repeater-item{display:flex;flex-direction:row-reverse;border-bottom:1px solid silver;margin:15px 0}.repeater-item .repeater-element{flex:1}.repeater-actions{align-items:flex-start;justify-content:center;display:flex;margin:30px -10px 14px 10px}.repeater-actions .delete-btn{display:flex;align-items:center;justify-content:center;border:none;text-align:center;width:30px;margin:5px auto;height:30px;border-radius:50%}.repeater-actions .delete-btn img{margin:auto;width:20px;height:20px}.repeater-end-actions{text-align:center;margin:30px 0}html[dir=rtl] .repeater-actions{margin-right:10px;margin-left:-10px}.table-btn{font-size:9px;display:inline;position:absolute;cursor:pointer;opacity:1;transition:.3s opacity ease-in-out}.table-copy-btn{right:0}.cell-actions{position:absolute;display:none;right:-8px;top:-6px;align-items:center;justify-content:center;background-color:#fffffff2;height:33px;width:36px}.rdg-cell:hover .cell-actions{display:flex}.table-open-in-new-router{right:15px}.dx-g-bs4-table tbody tr:hover .table-btn{opacity:1}.focused-router{border:1px solid red}.focus-indicator{width:5px;height:5px;position:absolute;left:5px;top:5px;background:#0c68ef;z-index:9999;border-radius:100%;opacity:.5}.confirm-drawer-container{display:flex;justify-content:space-between;align-content:space-between;height:100%;justify-items:flex-start;flex-direction:column}@keyframes jumpFloat{0%{transform:translateY(0)}10%{transform:translateY(-8px)}to{transform:translateY(0)}}.empty-list-indicator,.not-found-pagex{text-align:center;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.empty-list-indicator img,.not-found-pagex img{width:80px;margin-bottom:20px;animation:jumpFloat 2.5s ease-out infinite}.code-viewer-container{position:relative}.copy-button{position:absolute;top:8px;right:8px;padding:4px 8px;font-size:12px;background-color:#e0e0e0;border:none;border-radius:4px;cursor:pointer}body.dark-theme .copy-button{background-color:#333;color:#fff}.swipe-enter{transform:translate(100%);opacity:0}.swipe-enter-active{transform:translate(0);opacity:1;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-exit{transform:translate(0);opacity:1}.swipe-exit-active{transform:translate(100%);opacity:0;transition:transform .3s ease-out,opacity .3s ease-out}.swipe-wrapper{position:absolute;width:100%}.not-found-page{width:100%;height:100vh;background-color:#222;display:flex;justify-content:center;align-items:center}.not-found-page .content{width:460px;line-height:1.4;text-align:center}.not-found-page .content .font-404{height:158px;line-height:153px}.not-found-page .content .font-404 h1{font-family:Josefin Sans,sans-serif;color:#222;font-size:220px;letter-spacing:10px;margin:0;font-weight:700;text-shadow:2px 2px 0px #c9c9c9,-2px -2px 0px #c9c9c9}.not-found-page .content .font-404 h1>span{text-shadow:2px 2px 0px #0957ff,-2px -2px 0px #0957ff,0px 0px 8px #1150d6}.not-found-page .content p{font-family:Josefin Sans,sans-serif;color:#c9c9c9;font-size:16px;font-weight:400;margin-top:0;margin-bottom:15px}.not-found-page .content a{font-family:Josefin Sans,sans-serif;font-size:14px;text-decoration:none;text-transform:uppercase;background:transparent;color:#fff;border:2px solid #0957ff;border-radius:8px;display:inline-block;padding:10px 25px;font-weight:700;-webkit-transition:.2s all;transition:.3s all ease-in;background-color:#0957ff}.not-found-page .content a:hover{color:#fff;background-color:transparent}@media only screen and (max-width:480px){.not-found-page .content{padding:0 30px}.not-found-page .content .font-404{height:122px;line-height:122px}.not-found-page .content .font-404 h1{font-size:122px}}.data-table-filter-input{position:absolute;border-radius:0;margin:0;top:0;left:0;right:0;bottom:0;border:0;padding-left:8px;padding-right:8px}.data-table-sort-actions{position:absolute;top:0;z-index:9;right:0;bottom:0;display:flex;justify-content:center;align-items:center;margin-right:5px}.data-table-sort-actions button{border:0;background-color:transparent}.data-table-sort-actions .sort-icon{width:20px}@font-face{src:url(/selfservice/assets/SFNSDisplay-Semibold-XCkF6r2i.otf);font-family:mac-custom}@font-face{src:url(/selfservice/assets/SFNSDisplay-Medium-Cw8HtTFw.otf);font-family:mac-sidebar}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes closemenu{0%{opacity:1;max-height:300px}to{opacity:0;max-height:0}}@keyframes opensubmenu{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}.mac-theme,.ios-theme{background-color:#ffffffb3}.mac-theme .panel-resize-handle,.ios-theme .panel-resize-handle{width:8px;align-self:flex-end;height:100%;position:absolute;right:0;top:0;background:linear-gradient(90deg,#e0dee3,#cfcfce)}.mac-theme .panel-resize-handle.minimal,.ios-theme .panel-resize-handle.minimal{width:2px}.mac-theme .navbar-search-box,.ios-theme .navbar-search-box{display:flex;margin:0 0 0 15px!important}.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:220px}@media only screen and (max-width:500px){.mac-theme .navbar-search-box input,.ios-theme .navbar-search-box input{width:100%}}.mac-theme .reactive-search-result ul,.ios-theme .reactive-search-result ul{list-style:none;padding:30px 0}.mac-theme .reactive-search-result a,.ios-theme .reactive-search-result a{text-decoration:none;display:block}.mac-theme .reactive-search-result .result-group-name,.ios-theme .reactive-search-result .result-group-name{text-transform:uppercase;font-weight:700}.mac-theme .reactive-search-result .result-icon,.ios-theme .reactive-search-result .result-icon{width:25px;height:25px;margin:10px}.mac-theme .data-node-values-list .table-responsive,.ios-theme .data-node-values-list .table-responsive{height:800px}.mac-theme .table-container,.ios-theme .table-container{background-color:none;box-shadow:none;margin-bottom:0;padding:0}.mac-theme .table-container .card-footer,.ios-theme .table-container .card-footer{margin-left:15px}.mac-theme .table.dto-view-table th:first-child,.ios-theme .table.dto-view-table th:first-child{width:300px}.mac-theme .table.dto-view-table .table-active,.ios-theme .table.dto-view-table .table-active{transition:.3s all ease-in-out}.mac-theme .user-signin-section,.ios-theme .user-signin-section{color:#3e3c3c}.mac-theme h1,.ios-theme h1{font-size:24px;margin-bottom:30px}.mac-theme .dropdown-menu,.ios-theme .dropdown-menu{position:fixed!important;left:10px!important;background-color:#ececed!important}.mac-theme .dropdown-menu *,.ios-theme .dropdown-menu *{color:#232323;font-size:15px}.mac-theme .dropdown-menu a,.ios-theme .dropdown-menu a{text-decoration:none;cursor:default}.mac-theme .dropdown-menu .dropdown-item:hover,.ios-theme .dropdown-menu .dropdown-item:hover{color:#000;background:#5ba1ff}.mac-theme p,.ios-theme p{font-weight:100}.mac-theme #navbarSupportedContent,.ios-theme #navbarSupportedContent{display:flex;align-items:center}.mac-theme .content-section,.ios-theme .content-section{margin-top:0;background-color:#fff}@media only screen and (max-width:500px){.mac-theme .content-section,.ios-theme .content-section{margin-left:0}}.mac-theme .table-container,.ios-theme .table-container{background:transparent;font-size:14px;margin:0 -14px}.mac-theme .table-container td,.mac-theme .table-container th,.ios-theme .table-container td,.ios-theme .table-container th{padding:3px}.mac-theme .table-container td,.ios-theme .table-container td{border:none}.mac-theme .table-container tbody tr:nth-child(2n),.ios-theme .table-container tbody tr:nth-child(2n){background:#f4f5f5}.mac-theme .table-container tbody tr,.ios-theme .table-container tbody tr{margin:10px}.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 100px)!important}@media only screen and (max-width:500px){.mac-theme .table-container .table-responsive,.ios-theme .table-container .table-responsive{height:calc(100vh - 180px)!important}}.mac-theme .table-container .datatable-no-data,.ios-theme .table-container .datatable-no-data{padding:30px}.mac-theme nav.navbar,.ios-theme nav.navbar{background-color:#faf5f9!important;border-bottom:1px solid #dddddd;min-height:55px;height:auto;-webkit-user-select:none;user-select:none;position:initial;z-index:9}@supports (-webkit-touch-callout: none){.mac-theme nav.navbar,.ios-theme nav.navbar{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}@media only screen and (max-width:500px){.mac-theme nav.navbar,.ios-theme nav.navbar{left:0}}.mac-theme .page-section,.ios-theme .page-section{background-color:#f2f2f2;box-shadow:none;padding:20px;margin:15px 0}.mac-theme h2,.ios-theme h2{font-size:19px}.mac-theme .content-container,.ios-theme .content-container{background-color:transparent;box-shadow:none;height:calc(100vh - 55px + constant(safe-area-inset-top));height:calc(100vh - 55px + env(safe-area-inset-top));overflow:auto;margin-top:0;min-height:calc(100vh - 55px - constant(safe-area-inset-top));min-height:calc(100vh - 55px - env(safe-area-inset-top));overflow-y:auto;max-width:calc(100vw - 185px);max-width:100%;padding:0 15px 60px}@media only screen and (max-width:500px){.mac-theme .content-container,.ios-theme .content-container{max-width:100vw}}.mac-theme .sidebar,.ios-theme .sidebar{overflow-x:hidden!important}.mac-theme .sidebar,.ios-theme .sidebar{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:10px!important;background-color:#e0dee3;overflow:auto}.mac-theme .sidebar .current-user>a,.ios-theme .sidebar .current-user>a{padding:0 5px}.mac-theme .sidebar *,.ios-theme .sidebar *{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mac-theme .sidebar .sidebar-menu-particle.hide,.mac-theme .sidebar .nav-item.hide,.ios-theme .sidebar .sidebar-menu-particle.hide,.ios-theme .sidebar .nav-item.hide{max-height:0;animation:closemenu .3s forwards;overflow:hidden}.mac-theme .sidebar .nav-item,.ios-theme .sidebar .nav-item{animation:opensubmenu .3s forwards}.mac-theme .sidebar .category,.ios-theme .sidebar .category{font-size:12px;color:#a29e9e;margin:15px 0 0}.mac-theme .sidebar hr,.ios-theme .sidebar hr{display:none}.mac-theme .sidebar li .nav-link,.ios-theme .sidebar li .nav-link{padding:0;min-height:30px;display:flex;flex-direction:column;justify-content:center;cursor:default;color:#3e3c3c!important}.mac-theme .sidebar li .nav-link:hover,.ios-theme .sidebar li .nav-link:hover{background-color:initial}.mac-theme .sidebar li .nav-link.active:hover,.ios-theme .sidebar li .nav-link.active:hover{background-color:#cccacf}.mac-theme .sidebar li .nav-link span,.ios-theme .sidebar li .nav-link span{padding-left:5px;font-size:14px;color:#3e3c3c;align-items:center;display:flex}.mac-theme .sidebar li .nav-link .nav-link-text,.ios-theme .sidebar li .nav-link .nav-link-text{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:0;margin-left:0}.mac-theme .sidebar li .active,.ios-theme .sidebar li .active{background-color:#cccacf;color:#3e3c3c}.mac-theme .sidebar li img,.ios-theme .sidebar li img{width:20px;height:20px;margin-right:5px;margin-top:5px}.mac-theme .sidebar::-webkit-scrollbar,.ios-theme .sidebar::-webkit-scrollbar{width:8px}.mac-theme .sidebar::-webkit-scrollbar-track,.ios-theme .sidebar::-webkit-scrollbar-track{background-color:transparent}.mac-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme .sidebar::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px;margin-right:2px;right:2px}.mac-theme .sidebar-extra-small .sidebar .nav-link-text,.ios-theme .sidebar-extra-small .sidebar .nav-link-text{display:none!important}.mac-theme .sidebar-extra-small,.ios-theme .sidebar-extra-small{justify-content:center;align-items:center}.mac-theme .content-container::-webkit-scrollbar,.mac-theme .table-responsive::-webkit-scrollbar,.mac-theme .scrollable-element::-webkit-scrollbar,.ios-theme .content-container::-webkit-scrollbar,.ios-theme .table-responsive::-webkit-scrollbar,.ios-theme .scrollable-element::-webkit-scrollbar{width:8px;height:8px}.mac-theme .content-container::-webkit-scrollbar-track,.mac-theme .table-responsive::-webkit-scrollbar-track,.mac-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme .content-container::-webkit-scrollbar-track,.ios-theme .table-responsive::-webkit-scrollbar-track,.ios-theme .scrollable-element::-webkit-scrollbar-track{background:#fafafa;border-left:1px solid #e8e8e8}.mac-theme .content-container::-webkit-scrollbar-thumb,.mac-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme .content-container::-webkit-scrollbar-thumb,.ios-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme .scrollable-element::-webkit-scrollbar-thumb{background:#b8b5b9;border-radius:5px}.mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,.ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{width:5px;border-right:1px solid silver;opacity:.8;cursor:ew-resize;height:20px;position:absolute;right:5px;top:4px}.mac-theme .dx-g-bs4-table .table-row-action,.ios-theme .dx-g-bs4-table .table-row-action{margin:0 5px;text-transform:uppercase;font-size:10px;font-weight:700;cursor:pointer;border:0;border-radius:5px}.mac-theme .dx-g-bs4-table .table-row-action:hover,.ios-theme .dx-g-bs4-table .table-row-action:hover{background-color:#b9ffb9}.mac-theme .dx-g-bs4-table thead .input-group input,.ios-theme .dx-g-bs4-table thead .input-group input{font-size:13px;padding:0;border:0}.mac-theme .dx-g-bs4-table tbody .form-control,.ios-theme .dx-g-bs4-table tbody .form-control{font-size:14px;padding:0 5px;border:0;background-color:#e9e9e9}.mac-theme .dx-g-bs4-table tbody .form-control.is-invalid,.ios-theme .dx-g-bs4-table tbody .form-control.is-invalid{border:1px solid #dc3545}@media(prefers-color-scheme:dark){.mac-theme:not(.light-theme) .bottom-nav-tabbar,.ios-theme:not(.light-theme) .bottom-nav-tabbar{background:#46414f}.mac-theme:not(.light-theme) .panel-resize-handle,.ios-theme:not(.light-theme) .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme:not(.light-theme) .Toastify__toast-theme--light,.ios-theme:not(.light-theme) .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme:not(.light-theme) .login-form-section,.ios-theme:not(.light-theme) .login-form-section{background-color:#46414f}.mac-theme:not(.light-theme),.ios-theme:not(.light-theme){background-color:#0a0a0ab3}.mac-theme:not(.light-theme) nav.navbar,.ios-theme:not(.light-theme) nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme:not(.light-theme) nav.navbar .navbar-brand,.ios-theme:not(.light-theme) nav.navbar .navbar-brand{color:#dad6d8}.mac-theme:not(.light-theme) select,.ios-theme:not(.light-theme) select{background-color:#4c454e}.mac-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item,.ios-theme:not(.light-theme) .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme:not(.light-theme) .sidebar,.ios-theme:not(.light-theme) .sidebar{background-color:#5a565e}.mac-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text,.ios-theme:not(.light-theme) .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme:not(.light-theme) .sidebar li .active,.ios-theme:not(.light-theme) .sidebar li .active{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar li .nav-link.active:hover,.ios-theme:not(.light-theme) .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme:not(.light-theme) .sidebar .current-user a strong,.mac-theme:not(.light-theme) .sidebar .current-user a:after,.ios-theme:not(.light-theme) .sidebar .current-user a strong,.ios-theme:not(.light-theme) .sidebar .current-user a:after{color:#dad6d8}.mac-theme:not(.light-theme) select.form-select,.mac-theme:not(.light-theme) textarea,.ios-theme:not(.light-theme) select.form-select,.ios-theme:not(.light-theme) textarea{background-color:#615956}.mac-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option,.ios-theme:not(.light-theme) .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme:not(.light-theme) .css-b62m3t-container .form-control,.mac-theme:not(.light-theme) .react-select-menu-area,.mac-theme:not(.light-theme) ul.dropdown-menu,.ios-theme:not(.light-theme) .css-b62m3t-container .form-control,.ios-theme:not(.light-theme) .react-select-menu-area,.ios-theme:not(.light-theme) ul.dropdown-menu{background-color:#615956!important}.mac-theme:not(.light-theme) .css-1p3m7a8-multiValue,.ios-theme:not(.light-theme) .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme:not(.light-theme) .react-select-menu-area>div>div:hover,.ios-theme:not(.light-theme) .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme:not(.light-theme) .menu-icon,.mac-theme:not(.light-theme) .action-menu-item img,.mac-theme:not(.light-theme) .page-navigator img,.ios-theme:not(.light-theme) .menu-icon,.ios-theme:not(.light-theme) .action-menu-item img,.ios-theme:not(.light-theme) .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme:not(.light-theme) .pagination a,.mac-theme:not(.light-theme) .modal-content,.ios-theme:not(.light-theme) .pagination a,.ios-theme:not(.light-theme) .modal-content{background-color:#625765}.mac-theme:not(.light-theme) .pagination .active button.page-link,.ios-theme:not(.light-theme) .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme:not(.light-theme) .keybinding-combination>span,.ios-theme:not(.light-theme) .keybinding-combination>span{background-color:#625765}.mac-theme:not(.light-theme) .keybinding-combination:hover span,.ios-theme:not(.light-theme) .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme:not(.light-theme) .form-control,.ios-theme:not(.light-theme) .form-control{background-color:#6c6c6c}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-track,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.mac-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .sidebar::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .table-responsive::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .content-container::-webkit-scrollbar-thumb,.ios-theme:not(.light-theme) .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme:not(.light-theme) .content-container,.ios-theme:not(.light-theme) .content-container{background-color:#2e2836}.mac-theme:not(.light-theme) .pagination,.ios-theme:not(.light-theme) .pagination{margin:0}.mac-theme:not(.light-theme) .pagination .page-item .page-link,.ios-theme:not(.light-theme) .pagination .page-item .page-link{background-color:#2e2836}.mac-theme:not(.light-theme) .table-container tbody tr:nth-child(2n),.ios-theme:not(.light-theme) .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme:not(.light-theme) .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme:not(.light-theme) .dx-g-bs4-table td,.mac-theme:not(.light-theme) .dx-g-bs4-table th,.ios-theme:not(.light-theme) .dx-g-bs4-table td,.ios-theme:not(.light-theme) .dx-g-bs4-table th{background-color:transparent}.mac-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme:not(.light-theme) .card,.mac-theme:not(.light-theme) .section-title,.ios-theme:not(.light-theme) .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme:not(.light-theme) .card,.ios-theme:not(.light-theme) .section-title{background-color:#5a565e}.mac-theme:not(.light-theme) .basic-error-box,.ios-theme:not(.light-theme) .basic-error-box{background-color:#760002}.mac-theme:not(.light-theme) .page-section,.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) .page-section,.ios-theme:not(.light-theme) input{background-color:#5a565e}.mac-theme:not(.light-theme) *:not(.invalid-feedback),.mac-theme:not(.light-theme) input,.ios-theme:not(.light-theme) *:not(.invalid-feedback),.ios-theme:not(.light-theme) input{color:#dad6d8;border-color:#46414f}.mac-theme:not(.light-theme) .styles_react-code-input__CRulA input,.ios-theme:not(.light-theme) .styles_react-code-input__CRulA input{color:#fff}.mac-theme:not(.light-theme) .content-area-loader,.ios-theme:not(.light-theme) .content-area-loader{background-color:#46414f}.mac-theme:not(.light-theme) .diagram-fxfx .area-box,.ios-theme:not(.light-theme) .diagram-fxfx .area-box{background:#1e3249}.mac-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.mac-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box input.form-control,.ios-theme:not(.light-theme) .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle,.ios-theme:not(.light-theme) .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme:not(.light-theme) .react-flow__node.selected .area-box,.ios-theme:not(.light-theme) .react-flow__node.selected .area-box{background-color:#373737}.mac-theme:not(.light-theme) .upload-header,.ios-theme:not(.light-theme) .upload-header{background-color:#152231}.mac-theme:not(.light-theme) .active-upload-box,.ios-theme:not(.light-theme) .active-upload-box{background-color:#333}.mac-theme:not(.light-theme) .upload-file-item:hover,.ios-theme:not(.light-theme) .upload-file-item:hover{background-color:#1e3249}}.mac-theme.dark-theme .bottom-nav-tabbar,.ios-theme.dark-theme .bottom-nav-tabbar{background:#46414f}.mac-theme.dark-theme .panel-resize-handle,.ios-theme.dark-theme .panel-resize-handle{background:linear-gradient(90deg,#5a565e,#464646)}.mac-theme.dark-theme .Toastify__toast-theme--light,.ios-theme.dark-theme .Toastify__toast-theme--light{background-color:#46414f!important}.mac-theme.dark-theme .login-form-section,.ios-theme.dark-theme .login-form-section{background-color:#46414f}.mac-theme.dark-theme,.ios-theme.dark-theme{background-color:#0a0a0ab3}.mac-theme.dark-theme nav.navbar,.ios-theme.dark-theme nav.navbar{background-color:#38333c!important;border-bottom-color:#46414f}.mac-theme.dark-theme nav.navbar .navbar-brand,.ios-theme.dark-theme nav.navbar .navbar-brand{color:#dad6d8}.mac-theme.dark-theme select,.ios-theme.dark-theme select{background-color:#4c454e}.mac-theme.dark-theme .general-action-menu.mobile-view .action-menu-item,.ios-theme.dark-theme .general-action-menu.mobile-view .action-menu-item{background-color:#5a565e;color:#dad6d8}.mac-theme.dark-theme .sidebar,.ios-theme.dark-theme .sidebar{background-color:#5a565e}.mac-theme.dark-theme .sidebar li .nav-link .nav-link-text,.ios-theme.dark-theme .sidebar li .nav-link .nav-link-text{color:#dad6d8}.mac-theme.dark-theme .sidebar li .active,.ios-theme.dark-theme .sidebar li .active,.mac-theme.dark-theme .sidebar li .nav-link.active:hover,.ios-theme.dark-theme .sidebar li .nav-link.active:hover{background-color:#4c454e}.mac-theme.dark-theme .sidebar .current-user a strong,.mac-theme.dark-theme .sidebar .current-user a:after,.ios-theme.dark-theme .sidebar .current-user a strong,.ios-theme.dark-theme .sidebar .current-user a:after{color:#dad6d8}.mac-theme.dark-theme select.form-select,.mac-theme.dark-theme textarea,.ios-theme.dark-theme select.form-select,.ios-theme.dark-theme textarea{background-color:#615956}.mac-theme.dark-theme .react-select-menu-area .css-d7l1ni-option,.ios-theme.dark-theme .react-select-menu-area .css-d7l1ni-option{background-color:#446ca8}.mac-theme.dark-theme .css-b62m3t-container .form-control,.mac-theme.dark-theme .react-select-menu-area,.mac-theme.dark-theme ul.dropdown-menu,.ios-theme.dark-theme .css-b62m3t-container .form-control,.ios-theme.dark-theme .react-select-menu-area,.ios-theme.dark-theme ul.dropdown-menu{background-color:#615956!important}.mac-theme.dark-theme .css-1p3m7a8-multiValue,.ios-theme.dark-theme .css-1p3m7a8-multiValue{background-color:#4c454e}.mac-theme.dark-theme .react-select-menu-area>div>div:hover,.ios-theme.dark-theme .react-select-menu-area>div>div:hover{background-color:#4c454e!important}.mac-theme.dark-theme .menu-icon,.mac-theme.dark-theme .action-menu-item img,.mac-theme.dark-theme .page-navigator img,.ios-theme.dark-theme .menu-icon,.ios-theme.dark-theme .action-menu-item img,.ios-theme.dark-theme .page-navigator img{filter:invert(.5) sepia(1) saturate(5) hue-rotate(157deg)}.mac-theme.dark-theme .pagination a,.mac-theme.dark-theme .modal-content,.ios-theme.dark-theme .pagination a,.ios-theme.dark-theme .modal-content{background-color:#625765}.mac-theme.dark-theme .pagination .active button.page-link,.ios-theme.dark-theme .pagination .active button.page-link{background-color:#00beff;color:#615956}.mac-theme.dark-theme .keybinding-combination>span,.ios-theme.dark-theme .keybinding-combination>span{background-color:#625765}.mac-theme.dark-theme .keybinding-combination:hover span,.ios-theme.dark-theme .keybinding-combination:hover span{background-color:#dad6d8;color:#625765}.mac-theme.dark-theme .form-control,.ios-theme.dark-theme .form-control{background-color:#6c6c6c}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-track,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.mac-theme.dark-theme .content-container::-webkit-scrollbar-track,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-track,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-track,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-track,.ios-theme.dark-theme .content-container::-webkit-scrollbar-track,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.mac-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.mac-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.mac-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.mac-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb,.ios-theme.dark-theme .sidebar::-webkit-scrollbar-thumb,.ios-theme.dark-theme .table-responsive::-webkit-scrollbar-thumb,.ios-theme.dark-theme .content-container::-webkit-scrollbar-thumb,.ios-theme.dark-theme .scrollable-element::-webkit-scrollbar-thumb{background:#76707d}.mac-theme.dark-theme .content-container,.ios-theme.dark-theme .content-container{background-color:#2e2836}.mac-theme.dark-theme .pagination,.ios-theme.dark-theme .pagination{margin:0}.mac-theme.dark-theme .pagination .page-item .page-link,.ios-theme.dark-theme .pagination .page-item .page-link{background-color:#2e2836}.mac-theme.dark-theme .table-container tbody tr:nth-child(2n),.ios-theme.dark-theme .table-container tbody tr:nth-child(2n){background:#382b29}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input{background-color:transparent;color:#fff}.mac-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder,.ios-theme.dark-theme .dx-g-bs4-table thead .input-group input::placeholder{color:#fff}.mac-theme.dark-theme .dx-g-bs4-table td,.mac-theme.dark-theme .dx-g-bs4-table th,.ios-theme.dark-theme .dx-g-bs4-table td,.ios-theme.dark-theme .dx-g-bs4-table th{background-color:transparent}.mac-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.mac-theme.dark-theme .card,.mac-theme.dark-theme .section-title,.ios-theme.dark-theme .general-entity-view .entity-view-row.entity-view-body .field-value,.ios-theme.dark-theme .card,.ios-theme.dark-theme .section-title{background-color:#5a565e}.mac-theme.dark-theme .basic-error-box,.ios-theme.dark-theme .basic-error-box{background-color:#760002}.mac-theme.dark-theme .page-section,.mac-theme.dark-theme input,.ios-theme.dark-theme .page-section,.ios-theme.dark-theme input{background-color:#5a565e}.mac-theme.dark-theme *:not(.invalid-feedback),.mac-theme.dark-theme input,.ios-theme.dark-theme *:not(.invalid-feedback),.ios-theme.dark-theme input{color:#dad6d8;border-color:#46414f}.mac-theme.dark-theme .styles_react-code-input__CRulA input,.ios-theme.dark-theme .styles_react-code-input__CRulA input{color:#fff}.mac-theme.dark-theme .content-area-loader,.ios-theme.dark-theme .content-area-loader{background-color:#46414f}.mac-theme.dark-theme .diagram-fxfx .area-box,.ios-theme.dark-theme .diagram-fxfx .area-box{background:#1e3249}.mac-theme.dark-theme .diagram-fxfx .area-box input.form-control,.mac-theme.dark-theme .diagram-fxfx .area-box textarea.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box input.form-control,.ios-theme.dark-theme .diagram-fxfx .area-box textarea.form-control{background-color:#152231}.mac-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle,.ios-theme.dark-theme .diagram-fxfx .area-box .react-flow__handle{background-color:#fff}.mac-theme.dark-theme .react-flow__node.selected .area-box,.ios-theme.dark-theme .react-flow__node.selected .area-box{background-color:#373737}.mac-theme.dark-theme .upload-header,.ios-theme.dark-theme .upload-header{background-color:#152231}.mac-theme.dark-theme .active-upload-box,.ios-theme.dark-theme .active-upload-box{background-color:#333}.mac-theme.dark-theme .upload-file-item:hover,.ios-theme.dark-theme .upload-file-item:hover{background-color:#1e3249}html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-left:0}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme .content-section,html[dir=rtl] .ios-theme .content-section{margin-right:0}}html[dir=rtl] .mac-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper,html[dir=rtl] .ios-theme .dx-g-bs4-table .dx-g-bs4-resizing-control-wrapper{right:initial;left:5px}html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:185px;left:0}@media only screen and (max-width:500px){html[dir=rtl] .mac-theme nav.navbar,html[dir=rtl] .ios-theme nav.navbar{right:0}}a{text-decoration:none}:root{--PhoneInput-color--focus: #03b2cb;--PhoneInputInternationalIconPhone-opacity: .8;--PhoneInputInternationalIconGlobe-opacity: .65;--PhoneInputCountrySelect-marginRight: .35em;--PhoneInputCountrySelectArrow-width: .3em;--PhoneInputCountrySelectArrow-marginLeft: var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth: 1px;--PhoneInputCountrySelectArrow-opacity: .45;--PhoneInputCountrySelectArrow-color: currentColor;--PhoneInputCountrySelectArrow-color--focus: var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform: rotate(45deg);--PhoneInputCountryFlag-aspectRatio: 1.5;--PhoneInputCountryFlag-height: 1em;--PhoneInputCountryFlag-borderWidth: 1px;--PhoneInputCountryFlag-borderColor: rgba(0,0,0,.5);--PhoneInputCountryFlag-borderColor--focus: var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading: rgba(0,0,0,.1)}.PhoneInput{display:flex;align-items:center}.PhoneInputInput{flex:1;min-width:0}.PhoneInputCountryIcon{width:calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));height:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--square{width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{display:block;width:100%;height:100%}.PhoneInputInternationalIconPhone{opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{position:relative;align-self:stretch;display:flex;align-items:center;margin-right:var(--PhoneInputCountrySelect-marginRight)}.PhoneInputCountrySelect{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1;border:0;opacity:0;cursor:pointer}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{display:block;content:"";width:var(--PhoneInputCountrySelectArrow-width);height:var(--PhoneInputCountrySelectArrow-width);margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);border-style:solid;border-color:var(--PhoneInputCountrySelectArrow-color);border-top-width:0;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-left-width:0;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);transform:var(--PhoneInputCountrySelectArrow-transform);opacity:var(--PhoneInputCountrySelectArrow-opacity)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}@keyframes appear{0%{max-height:0}to{max-height:100px}}.otp-react-code-input{margin:30px auto}#loader-4{max-height:0;animation:appear .3s forwards;overflow:hidden}#loader-4 span{display:inline-block;width:20px;height:20px;border-radius:100%;background-color:#3498db;margin:35px 5px;opacity:0}#loader-4 span:nth-child(1){animation:opacitychange 1s ease-in-out infinite}#loader-4 span:nth-child(2){animation:opacitychange 1s ease-in-out .33s infinite}#loader-4 span:nth-child(3){animation:opacitychange 1s ease-in-out .66s infinite}@keyframes opacitychange{0%,to{opacity:0}60%{opacity:1}}.EZDrawer .EZDrawer__checkbox{display:none}.EZDrawer .EZDrawer__checkbox:checked~.EZDrawer__overlay{display:block;opacity:1}.EZDrawer .EZDrawer__checkbox:checked~.EZDrawer__container{visibility:visible;transform:translateZ(0)!important}.EZDrawer .EZDrawer__overlay{display:none;height:100vh;left:0;position:fixed;top:0;width:100%}.EZDrawer .EZDrawer__container{position:fixed;visibility:hidden;background:#fff;transition:all;box-shadow:0 0 10px 5px #0000001a}@layer rdg{@layer Defaults,FocusSink,CheckboxInput,CheckboxIcon,CheckboxLabel,Cell,HeaderCell,SummaryCell,EditCell,Row,HeaderRow,SummaryRow,GroupedRow,Root;}@layer rdg.MeasuringCell{.mlln6zg7-0-0-beta-51{contain:strict;grid-row:1;visibility:hidden}}@layer rdg.Cell{.cj343x07-0-0-beta-51{position:relative;padding-block:0;padding-inline:8px;border-inline-end:1px solid var(--rdg-border-color);border-block-end:1px solid var(--rdg-border-color);grid-row-start:var(--rdg-grid-row-start);align-content:center;background-color:inherit;white-space:nowrap;overflow:clip;text-overflow:ellipsis;outline:none}.cj343x07-0-0-beta-51[aria-selected=true]{outline:2px solid var(--rdg-selection-color);outline-offset:-2px}}@layer rdg.Cell{.csofj7r7-0-0-beta-51{position:sticky;z-index:1}.csofj7r7-0-0-beta-51:nth-last-child(1 of.csofj7r7-0-0-beta-51){box-shadow:var(--rdg-cell-frozen-box-shadow)}}@layer rdg.CheckboxInput{.c1bn88vv7-0-0-beta-51{display:block;margin:auto;inline-size:20px;block-size:20px}.c1bn88vv7-0-0-beta-51:focus-visible{outline:2px solid var(--rdg-checkbox-focus-color);outline-offset:-3px}.c1bn88vv7-0-0-beta-51:enabled{cursor:pointer}}@layer rdg.GroupCellContent{.g1s9ylgp7-0-0-beta-51{outline:none}}@layer rdg.GroupCellCaret{.cz54e4y7-0-0-beta-51{margin-inline-start:4px;stroke:currentColor;stroke-width:1.5px;fill:transparent;vertical-align:middle}.cz54e4y7-0-0-beta-51>path{transition:d .1s}}@layer rdg.SortableHeaderCell{.h44jtk67-0-0-beta-51{display:flex}}@layer rdg.SortableHeaderCellName{.hcgkhxz7-0-0-beta-51{flex-grow:1;overflow:clip;text-overflow:ellipsis}}@layer rdg.Cell{.c6ra8a37-0-0-beta-51{background-color:#ccf}}@layer rdg.Cell{.cq910m07-0-0-beta-51{background-color:#ccf}.cq910m07-0-0-beta-51.c6ra8a37-0-0-beta-51{background-color:#99f}}@layer rdg.DragHandle{.c1w9bbhr7-0-0-beta-51{--rdg-drag-handle-size: 8px;z-index:0;cursor:move;inline-size:var(--rdg-drag-handle-size);block-size:var(--rdg-drag-handle-size);background-color:var(--rdg-selection-color);place-self:end}.c1w9bbhr7-0-0-beta-51:hover{--rdg-drag-handle-size: 16px;border:2px solid var(--rdg-selection-color);background-color:var(--rdg-background-color)}}@layer rdg.DragHandle{.c1creorc7-0-0-beta-51{z-index:1;position:sticky}}@layer rdg.EditCell{.cis5rrm7-0-0-beta-51{padding:0}}@layer rdg.HeaderCell{.c6l2wv17-0-0-beta-51{cursor:pointer}}@layer rdg.HeaderCell{.c1kqdw7y7-0-0-beta-51{touch-action:none}}@layer rdg.HeaderCell{.r1y6ywlx7-0-0-beta-51{cursor:col-resize;position:absolute;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inline-size:10px}}.c1bezg5o7-0-0-beta-51{opacity:.5}.c1vc96037-0-0-beta-51{background-color:var(--rdg-header-draggable-background-color)}@layer rdg.Row{.r1upfr807-0-0-beta-51{display:contents;background-color:var(--rdg-background-color)}.r1upfr807-0-0-beta-51:hover{background-color:var(--rdg-row-hover-background-color)}.r1upfr807-0-0-beta-51[aria-selected=true]{background-color:var(--rdg-row-selected-background-color)}.r1upfr807-0-0-beta-51[aria-selected=true]:hover{background-color:var(--rdg-row-selected-hover-background-color)}}@layer rdg.FocusSink{.r190mhd37-0-0-beta-51{outline:2px solid var(--rdg-selection-color);outline-offset:-2px}}@layer rdg.FocusSink{.r139qu9m7-0-0-beta-51:before{content:"";display:inline-block;block-size:100%;position:sticky;inset-inline-start:0;border-inline-start:2px solid var(--rdg-selection-color)}}@layer rdg.HeaderRow{.h10tskcx7-0-0-beta-51{display:contents;background-color:var(--rdg-header-background-color);font-weight:700}.h10tskcx7-0-0-beta-51>.cj343x07-0-0-beta-51{z-index:2;position:sticky}.h10tskcx7-0-0-beta-51>.csofj7r7-0-0-beta-51{z-index:3}}@layer rdg.SortIcon{.a3ejtar7-0-0-beta-51{fill:currentColor}.a3ejtar7-0-0-beta-51>path{transition:d .1s}}@layer rdg.Defaults{.rnvodz57-0-0-beta-51 *,.rnvodz57-0-0-beta-51 *:before,.rnvodz57-0-0-beta-51 *:after{box-sizing:inherit}}@layer rdg.Root{.rnvodz57-0-0-beta-51{--rdg-color: #000;--rdg-border-color: #ddd;--rdg-summary-border-color: #aaa;--rdg-background-color: hsl(0deg 0% 100%);--rdg-header-background-color: hsl(0deg 0% 97.5%);--rdg-header-draggable-background-color: hsl(0deg 0% 90.5%);--rdg-row-hover-background-color: hsl(0deg 0% 96%);--rdg-row-selected-background-color: hsl(207deg 76% 92%);--rdg-row-selected-hover-background-color: hsl(207deg 76% 88%);--rdg-checkbox-focus-color: hsl(207deg 100% 69%);--rdg-selection-color: #66afe9;--rdg-font-size: 14px;--rdg-cell-frozen-box-shadow: 2px 0 5px -2px rgba(136, 136, 136, .3);display:grid;color-scheme:var(--rdg-color-scheme, light dark);accent-color:light-dark(hsl(207deg 100% 29%),hsl(207deg 100% 79%));contain:content;content-visibility:auto;block-size:350px;border:1px solid var(--rdg-border-color);box-sizing:border-box;overflow:auto;background-color:var(--rdg-background-color);color:var(--rdg-color);font-size:var(--rdg-font-size)}.rnvodz57-0-0-beta-51:dir(rtl){--rdg-cell-frozen-box-shadow: -2px 0 5px -2px rgba(136, 136, 136, .3)}.rnvodz57-0-0-beta-51:before{content:"";grid-column:1/-1;grid-row:1/-1}.rnvodz57-0-0-beta-51.rdg-dark{--rdg-color-scheme: dark;--rdg-color: #ddd;--rdg-border-color: #444;--rdg-summary-border-color: #555;--rdg-background-color: hsl(0deg 0% 13%);--rdg-header-background-color: hsl(0deg 0% 10.5%);--rdg-header-draggable-background-color: hsl(0deg 0% 17.5%);--rdg-row-hover-background-color: hsl(0deg 0% 9%);--rdg-row-selected-background-color: hsl(207deg 76% 42%);--rdg-row-selected-hover-background-color: hsl(207deg 76% 38%);--rdg-checkbox-focus-color: hsl(207deg 100% 89%)}.rnvodz57-0-0-beta-51.rdg-light{--rdg-color-scheme: light}@media(prefers-color-scheme:dark){.rnvodz57-0-0-beta-51:not(.rdg-light){--rdg-color: #ddd;--rdg-border-color: #444;--rdg-summary-border-color: #555;--rdg-background-color: hsl(0deg 0% 13%);--rdg-header-background-color: hsl(0deg 0% 10.5%);--rdg-header-draggable-background-color: hsl(0deg 0% 17.5%);--rdg-row-hover-background-color: hsl(0deg 0% 9%);--rdg-row-selected-background-color: hsl(207deg 76% 42%);--rdg-row-selected-hover-background-color: hsl(207deg 76% 38%);--rdg-checkbox-focus-color: hsl(207deg 100% 89%)}}.rnvodz57-0-0-beta-51>:nth-last-child(1 of.rdg-top-summary-row)>.cj343x07-0-0-beta-51{border-block-end:2px solid var(--rdg-summary-border-color)}.rnvodz57-0-0-beta-51>:nth-child(1 of.rdg-bottom-summary-row)>.cj343x07-0-0-beta-51{border-block-start:2px solid var(--rdg-summary-border-color)}}@layer rdg.Root{.vlqv91k7-0-0-beta-51{-webkit-user-select:none;user-select:none}.vlqv91k7-0-0-beta-51 .r1upfr807-0-0-beta-51{cursor:move}}@layer rdg.FocusSink{.f1lsfrzw7-0-0-beta-51{grid-column:1/-1;pointer-events:none;z-index:1}}@layer rdg.FocusSink{.f1cte0lg7-0-0-beta-51{z-index:3}}@layer rdg.SummaryCell{.s8wc6fl7-0-0-beta-51{inset-block-start:var(--rdg-summary-row-top);inset-block-end:var(--rdg-summary-row-bottom)}}@layer rdg.SummaryRow{.skuhp557-0-0-beta-51>.cj343x07-0-0-beta-51{position:sticky}}@layer rdg.SummaryRow{.tf8l5ub7-0-0-beta-51>.cj343x07-0-0-beta-51{z-index:2}.tf8l5ub7-0-0-beta-51>.csofj7r7-0-0-beta-51{z-index:3}}@layer rdg.GroupedRow{.g1yxluv37-0-0-beta-51:not([aria-selected=true]){background-color:var(--rdg-header-background-color)}.g1yxluv37-0-0-beta-51>.cj343x07-0-0-beta-51:not(:last-child,.csofj7r7-0-0-beta-51),.g1yxluv37-0-0-beta-51>:nth-last-child(n+2 of.csofj7r7-0-0-beta-51){border-inline-end:none}}@layer rdg.TextEditor{.t7vyx3i7-0-0-beta-51{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;inline-size:100%;block-size:100%;padding-block:0;padding-inline:6px;border:2px solid #ccc;vertical-align:top;color:var(--rdg-color);background-color:var(--rdg-background-color);font-family:inherit;font-size:var(--rdg-font-size)}.t7vyx3i7-0-0-beta-51:focus{border-color:var(--rdg-selection-color);outline:none}.t7vyx3i7-0-0-beta-51::placeholder{color:#999;opacity:1}} diff --git a/modules/fireback/codegen/selfservice/assets/index-BSIH_rIU.js b/modules/fireback/codegen/selfservice/assets/index-BSIH_rIU.js deleted file mode 100644 index bb975b97b..000000000 --- a/modules/fireback/codegen/selfservice/assets/index-BSIH_rIU.js +++ /dev/null @@ -1,456 +0,0 @@ -var KD=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Mde=KD((Xa,Za)=>{function YD(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function QD(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var w3={exports:{}},Tv={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var uO;function JD(){if(uO)return Tv;uO=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,i,o){var u=null;if(o!==void 0&&(u=""+o),i.key!==void 0&&(u=""+i.key),"key"in i){o={};for(var c in i)c!=="key"&&(o[c]=i[c])}else o=i;return i=o.ref,{$$typeof:t,type:r,key:u,ref:i!==void 0?i:null,props:o}}return Tv.Fragment=e,Tv.jsx=n,Tv.jsxs=n,Tv}var lO;function XD(){return lO||(lO=1,w3.exports=JD()),w3.exports}var N=XD(),S3={exports:{}},Lt={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var cO;function ZD(){if(cO)return Lt;cO=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function b(G){return G===null||typeof G!="object"?null:(G=y&&G[y]||G["@@iterator"],typeof G=="function"?G:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function $(G,J,he){this.props=G,this.context=J,this.refs=E,this.updater=he||v}$.prototype.isReactComponent={},$.prototype.setState=function(G,J){if(typeof G!="object"&&typeof G!="function"&&G!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,G,J,"setState")},$.prototype.forceUpdate=function(G){this.updater.enqueueForceUpdate(this,G,"forceUpdate")};function x(){}x.prototype=$.prototype;function O(G,J,he){this.props=G,this.context=J,this.refs=E,this.updater=he||v}var R=O.prototype=new x;R.constructor=O,C(R,$.prototype),R.isPureReactComponent=!0;var D=Array.isArray,P={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function F(G,J,he,$e,Ce,Be){return he=Be.ref,{$$typeof:t,type:G,key:J,ref:he!==void 0?he:null,props:Be}}function H(G,J){return F(G.type,J,void 0,void 0,void 0,G.props)}function Y(G){return typeof G=="object"&&G!==null&&G.$$typeof===t}function X(G){var J={"=":"=0",":":"=2"};return"$"+G.replace(/[=:]/g,function(he){return J[he]})}var ue=/\/+/g;function me(G,J){return typeof G=="object"&&G!==null&&G.key!=null?X(""+G.key):J.toString(36)}function te(){}function be(G){switch(G.status){case"fulfilled":return G.value;case"rejected":throw G.reason;default:switch(typeof G.status=="string"?G.then(te,te):(G.status="pending",G.then(function(J){G.status==="pending"&&(G.status="fulfilled",G.value=J)},function(J){G.status==="pending"&&(G.status="rejected",G.reason=J)})),G.status){case"fulfilled":return G.value;case"rejected":throw G.reason}}throw G}function we(G,J,he,$e,Ce){var Be=typeof G;(Be==="undefined"||Be==="boolean")&&(G=null);var Ie=!1;if(G===null)Ie=!0;else switch(Be){case"bigint":case"string":case"number":Ie=!0;break;case"object":switch(G.$$typeof){case t:case e:Ie=!0;break;case g:return Ie=G._init,we(Ie(G._payload),J,he,$e,Ce)}}if(Ie)return Ce=Ce(G),Ie=$e===""?"."+me(G,0):$e,D(Ce)?(he="",Ie!=null&&(he=Ie.replace(ue,"$&/")+"/"),we(Ce,J,he,"",function(Ke){return Ke})):Ce!=null&&(Y(Ce)&&(Ce=H(Ce,he+(Ce.key==null||G&&G.key===Ce.key?"":(""+Ce.key).replace(ue,"$&/")+"/")+Ie)),J.push(Ce)),1;Ie=0;var tt=$e===""?".":$e+":";if(D(G))for(var De=0;De>>1,G=B[ie];if(0>>1;iei($e,q))Cei(Be,$e)?(B[ie]=Be,B[Ce]=q,ie=Ce):(B[ie]=$e,B[he]=q,ie=he);else if(Cei(Be,q))B[ie]=Be,B[Ce]=q,ie=Ce;else break e}}return V}function i(B,V){var q=B.sortIndex-V.sortIndex;return q!==0?q:B.id-V.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,c=u.now();t.unstable_now=function(){return u.now()-c}}var d=[],h=[],g=1,y=null,b=3,v=!1,C=!1,E=!1,$=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function R(B){for(var V=n(h);V!==null;){if(V.callback===null)r(h);else if(V.startTime<=B)r(h),V.sortIndex=V.expirationTime,e(d,V);else break;V=n(h)}}function D(B){if(E=!1,R(B),!C)if(n(d)!==null)C=!0,be();else{var V=n(h);V!==null&&we(D,V.startTime-B)}}var P=!1,L=-1,F=5,H=-1;function Y(){return!(t.unstable_now()-HB&&Y());){var ie=y.callback;if(typeof ie=="function"){y.callback=null,b=y.priorityLevel;var G=ie(y.expirationTime<=B);if(B=t.unstable_now(),typeof G=="function"){y.callback=G,R(B),V=!0;break t}y===n(d)&&r(d),R(B)}else r(d);y=n(d)}if(y!==null)V=!0;else{var J=n(h);J!==null&&we(D,J.startTime-B),V=!1}}break e}finally{y=null,b=q,v=!1}V=void 0}}finally{V?ue():P=!1}}}var ue;if(typeof O=="function")ue=function(){O(X)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,te=me.port2;me.port1.onmessage=X,ue=function(){te.postMessage(null)}}else ue=function(){$(X,0)};function be(){P||(P=!0,ue())}function we(B,V){L=$(function(){B(t.unstable_now())},V)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(B){B.callback=null},t.unstable_continueExecution=function(){C||v||(C=!0,be())},t.unstable_forceFrameRate=function(B){0>B||125ie?(B.sortIndex=q,e(h,B),n(d)===null&&B===n(h)&&(E?(x(L),L=-1):E=!0,we(D,q-ie))):(B.sortIndex=G,e(d,B),C||v||(C=!0,be())),B},t.unstable_shouldYield=Y,t.unstable_wrapCallback=function(B){var V=b;return function(){var q=b;b=V;try{return B.apply(this,arguments)}finally{b=q}}}})(E3)),E3}var hO;function tk(){return hO||(hO=1,$3.exports=ek()),$3.exports}var x3={exports:{}},Pi={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var pO;function nk(){if(pO)return Pi;pO=1;var t=mx();function e(d){var h="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),x3.exports=nk(),x3.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var gO;function rk(){if(gO)return Ov;gO=1;var t=tk(),e=mx(),n=b5();function r(a){var s="https://react.dev/errors/"+a;if(1)":-1w||Z[m]!==se[w]){var _e=` -`+Z[m].replace(" at new "," at ");return a.displayName&&_e.includes("")&&(_e=_e.replace("",a.displayName)),_e}while(1<=m&&0<=w);break}}}finally{be=!1,Error.prepareStackTrace=l}return(l=a?a.displayName||a.name:"")?te(l):""}function B(a){switch(a.tag){case 26:case 27:case 5:return te(a.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 15:return a=we(a.type,!1),a;case 11:return a=we(a.type.render,!1),a;case 1:return a=we(a.type,!0),a;default:return""}}function V(a){try{var s="";do s+=B(a),a=a.return;while(a);return s}catch(l){return` -Error generating stack: `+l.message+` -`+l.stack}}function q(a){var s=a,l=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(l=s.return),a=s.return;while(a)}return s.tag===3?l:null}function ie(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function G(a){if(q(a)!==a)throw Error(r(188))}function J(a){var s=a.alternate;if(!s){if(s=q(a),s===null)throw Error(r(188));return s!==a?null:a}for(var l=a,m=s;;){var w=l.return;if(w===null)break;var T=w.alternate;if(T===null){if(m=w.return,m!==null){l=m;continue}break}if(w.child===T.child){for(T=w.child;T;){if(T===l)return G(w),a;if(T===m)return G(w),s;T=T.sibling}throw Error(r(188))}if(l.return!==m.return)l=w,m=T;else{for(var k=!1,W=w.child;W;){if(W===l){k=!0,l=w,m=T;break}if(W===m){k=!0,m=w,l=T;break}W=W.sibling}if(!k){for(W=T.child;W;){if(W===l){k=!0,l=T,m=w;break}if(W===m){k=!0,m=T,l=w;break}W=W.sibling}if(!k)throw Error(r(189))}}if(l.alternate!==m)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?a:s}function he(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=he(a),s!==null)return s;a=a.sibling}return null}var $e=Array.isArray,Ce=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Be={pending:!1,data:null,method:null,action:null},Ie=[],tt=-1;function De(a){return{current:a}}function Ke(a){0>tt||(a.current=Ie[tt],Ie[tt]=null,tt--)}function qe(a,s){tt++,Ie[tt]=a.current,a.current=s}var ut=De(null),pt=De(null),bt=De(null),gt=De(null);function Ut(a,s){switch(qe(bt,s),qe(pt,a),qe(ut,null),a=s.nodeType,a){case 9:case 11:s=(s=s.documentElement)&&(s=s.namespaceURI)?Nb(s):0;break;default:if(a=a===8?s.parentNode:s,s=a.tagName,a=a.namespaceURI)a=Nb(a),s=Mb(a,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}Ke(ut),qe(ut,s)}function Gt(){Ke(ut),Ke(pt),Ke(bt)}function Ot(a){a.memoizedState!==null&&qe(gt,a);var s=ut.current,l=Mb(s,a.type);s!==l&&(qe(pt,a),qe(ut,l))}function tn(a){pt.current===a&&(Ke(ut),Ke(pt)),gt.current===a&&(Ke(gt),Md._currentValue=Be)}var xn=Object.prototype.hasOwnProperty,kt=t.unstable_scheduleCallback,Pt=t.unstable_cancelCallback,pe=t.unstable_shouldYield,ze=t.unstable_requestPaint,Ge=t.unstable_now,Qe=t.unstable_getCurrentPriorityLevel,ht=t.unstable_ImmediatePriority,j=t.unstable_UserBlockingPriority,A=t.unstable_NormalPriority,M=t.unstable_LowPriority,Q=t.unstable_IdlePriority,re=t.log,ge=t.unstable_setDisableYieldValue,Ee=null,rt=null;function Wt(a){if(rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(Ee,a,void 0,(a.current.flags&128)===128)}catch{}}function ae(a){if(typeof re=="function"&&ge(a),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode(Ee,a)}catch{}}var ce=Math.clz32?Math.clz32:cn,nt=Math.log,qt=Math.LN2;function cn(a){return a>>>=0,a===0?32:31-(nt(a)/qt|0)|0}var wt=128,Ur=4194304;function nn(a){var s=a&42;if(s!==0)return s;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function er(a,s){var l=a.pendingLanes;if(l===0)return 0;var m=0,w=a.suspendedLanes,T=a.pingedLanes,k=a.warmLanes;a=a.finishedLanes!==0;var W=l&134217727;return W!==0?(l=W&~w,l!==0?m=nn(l):(T&=W,T!==0?m=nn(T):a||(k=W&~k,k!==0&&(m=nn(k))))):(W=l&~w,W!==0?m=nn(W):T!==0?m=nn(T):a||(k=l&~k,k!==0&&(m=nn(k)))),m===0?0:s!==0&&s!==m&&(s&w)===0&&(w=m&-m,k=s&-s,w>=k||w===32&&(k&4194176)!==0)?s:m}function Tn(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function Fi(a,s){switch(a){case 1:case 2:case 4:case 8:return s+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function la(){var a=wt;return wt<<=1,(wt&4194176)===0&&(wt=128),a}function Ar(){var a=Ur;return Ur<<=1,(Ur&62914560)===0&&(Ur=4194304),a}function As(a){for(var s=[],l=0;31>l;l++)s.push(a);return s}function to(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Rs(a,s,l,m,w,T){var k=a.pendingLanes;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=l,a.entangledLanes&=l,a.errorRecoveryDisabledLanes&=l,a.shellSuspendCounter=0;var W=a.entanglements,Z=a.expirationTimes,se=a.hiddenUpdates;for(l=k&~l;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Al=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Op={},jf={};function kg(a){return xn.call(jf,a)?!0:xn.call(Op,a)?!1:Al.test(a)?jf[a]=!0:(Op[a]=!0,!1)}function Eu(a,s,l){if(kg(s))if(l===null)a.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":a.removeAttribute(s);return;case"boolean":var m=s.toLowerCase().slice(0,5);if(m!=="data-"&&m!=="aria-"){a.removeAttribute(s);return}}a.setAttribute(s,""+l)}}function Ti(a,s,l){if(l===null)a.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(s);return}a.setAttribute(s,""+l)}}function ca(a,s,l,m){if(m===null)a.removeAttribute(l);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttributeNS(s,l,""+m)}}function Zr(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Rl(a){var s=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Ns(a){var s=Rl(a)?"checked":"value",l=Object.getOwnPropertyDescriptor(a.constructor.prototype,s),m=""+a[s];if(!a.hasOwnProperty(s)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var w=l.get,T=l.set;return Object.defineProperty(a,s,{configurable:!0,get:function(){return w.call(this)},set:function(k){m=""+k,T.call(this,k)}}),Object.defineProperty(a,s,{enumerable:l.enumerable}),{getValue:function(){return m},setValue:function(k){m=""+k},stopTracking:function(){a._valueTracker=null,delete a[s]}}}}function io(a){a._valueTracker||(a._valueTracker=Ns(a))}function ao(a){if(!a)return!1;var s=a._valueTracker;if(!s)return!0;var l=s.getValue(),m="";return a&&(m=Rl(a)?a.checked?"true":"false":a.value),a=m,a!==l?(s.setValue(a),!0):!1}function xu(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Fg=/[\n"\\]/g;function ei(a){return a.replace(Fg,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Pl(a,s,l,m,w,T,k,W){a.name="",k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?a.type=k:a.removeAttribute("type"),s!=null?k==="number"?(s===0&&a.value===""||a.value!=s)&&(a.value=""+Zr(s)):a.value!==""+Zr(s)&&(a.value=""+Zr(s)):k!=="submit"&&k!=="reset"||a.removeAttribute("value"),s!=null?Bf(a,k,Zr(s)):l!=null?Bf(a,k,Zr(l)):m!=null&&a.removeAttribute("value"),w==null&&T!=null&&(a.defaultChecked=!!T),w!=null&&(a.checked=w&&typeof w!="function"&&typeof w!="symbol"),W!=null&&typeof W!="function"&&typeof W!="symbol"&&typeof W!="boolean"?a.name=""+Zr(W):a.removeAttribute("name")}function Il(a,s,l,m,w,T,k,W){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(a.type=T),s!=null||l!=null){if(!(T!=="submit"&&T!=="reset"||s!=null))return;l=l!=null?""+Zr(l):"",s=s!=null?""+Zr(s):l,W||s===a.value||(a.value=s),a.defaultValue=s}m=m??w,m=typeof m!="function"&&typeof m!="symbol"&&!!m,a.checked=W?a.checked:!!m,a.defaultChecked=!!m,k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"&&(a.name=k)}function Bf(a,s,l){s==="number"&&xu(a.ownerDocument)===a||a.defaultValue===""+l||(a.defaultValue=""+l)}function zo(a,s,l,m){if(a=a.options,s){s={};for(var w=0;w=Hl),kp=" ",Hg=!1;function m1(a,s){switch(a){case"keyup":return Bl.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fp(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Fs=!1;function wS(a,s){switch(a){case"compositionend":return Fp(s);case"keypress":return s.which!==32?null:(Hg=!0,kp);case"textInput":return a=s.data,a===kp&&Hg?null:a;default:return null}}function g1(a,s){if(Fs)return a==="compositionend"||!Bg&&m1(a,s)?(a=Rp(),oo=ks=Aa=null,Fs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1=s)return{node:l,offset:s-a};a=m}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=da(l)}}function C1(a,s){return a&&s?a===s?!0:a&&a.nodeType===3?!1:s&&s.nodeType===3?C1(a,s.parentNode):"contains"in a?a.contains(s):a.compareDocumentPosition?!!(a.compareDocumentPosition(s)&16):!1:!1}function $1(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var s=xu(a.document);s instanceof a.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)a=s.contentWindow;else break;s=xu(a.document)}return s}function Vg(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s&&(s==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||s==="textarea"||a.contentEditable==="true")}function ES(a,s){var l=$1(s);s=a.focusedElem;var m=a.selectionRange;if(l!==s&&s&&s.ownerDocument&&C1(s.ownerDocument.documentElement,s)){if(m!==null&&Vg(s)){if(a=m.start,l=m.end,l===void 0&&(l=a),"selectionStart"in s)s.selectionStart=a,s.selectionEnd=Math.min(l,s.value.length);else if(l=(a=s.ownerDocument||document)&&a.defaultView||window,l.getSelection){l=l.getSelection();var w=s.textContent.length,T=Math.min(m.start,w);m=m.end===void 0?T:Math.min(m.end,w),!l.extend&&T>m&&(w=m,m=T,T=w),w=zg(s,T);var k=zg(s,m);w&&k&&(l.rangeCount!==1||l.anchorNode!==w.node||l.anchorOffset!==w.offset||l.focusNode!==k.node||l.focusOffset!==k.offset)&&(a=a.createRange(),a.setStart(w.node,w.offset),l.removeAllRanges(),T>m?(l.addRange(a),l.extend(k.node,k.offset)):(a.setEnd(k.node,k.offset),l.addRange(a)))}}for(a=[],l=s;l=l.parentNode;)l.nodeType===1&&a.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s=document.documentMode,Ra=null,le=null,xe=null,Se=!1;function Xe(a,s,l){var m=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Se||Ra==null||Ra!==xu(m)||(m=Ra,"selectionStart"in m&&Vg(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),xe&&lo(xe,m)||(xe=m,m=Em(le,"onSelect"),0>=k,w-=k,ga=1<<32-ce(s)+w|l<vt?(ln=st,st=null):ln=st.sibling;var Zt=ve(de,st,ye[vt],Ne);if(Zt===null){st===null&&(st=ln);break}a&&st&&Zt.alternate===null&&s(de,st),oe=T(Zt,oe,vt),jt===null?et=Zt:jt.sibling=Zt,jt=Zt,st=ln}if(vt===ye.length)return l(de,st),$t&&Jo(de,vt),et;if(st===null){for(;vtvt?(ln=st,st=null):ln=st.sibling;var lu=ve(de,st,Zt.value,Ne);if(lu===null){st===null&&(st=ln);break}a&&st&&lu.alternate===null&&s(de,st),oe=T(lu,oe,vt),jt===null?et=lu:jt.sibling=lu,jt=lu,st=ln}if(Zt.done)return l(de,st),$t&&Jo(de,vt),et;if(st===null){for(;!Zt.done;vt++,Zt=ye.next())Zt=Le(de,Zt.value,Ne),Zt!==null&&(oe=T(Zt,oe,vt),jt===null?et=Zt:jt.sibling=Zt,jt=Zt);return $t&&Jo(de,vt),et}for(st=m(st);!Zt.done;vt++,Zt=ye.next())Zt=Te(st,de,vt,Zt.value,Ne),Zt!==null&&(a&&Zt.alternate!==null&&st.delete(Zt.key===null?vt:Zt.key),oe=T(Zt,oe,vt),jt===null?et=Zt:jt.sibling=Zt,jt=Zt);return a&&st.forEach(function(m3){return s(de,m3)}),$t&&Jo(de,vt),et}function zn(de,oe,ye,Ne){if(typeof ye=="object"&&ye!==null&&ye.type===d&&ye.key===null&&(ye=ye.props.children),typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case u:e:{for(var et=ye.key;oe!==null;){if(oe.key===et){if(et=ye.type,et===d){if(oe.tag===7){l(de,oe.sibling),Ne=w(oe,ye.props.children),Ne.return=de,de=Ne;break e}}else if(oe.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===O&&Xf(et)===oe.type){l(de,oe.sibling),Ne=w(oe,ye.props),z(Ne,ye),Ne.return=de,de=Ne;break e}l(de,oe);break}else s(de,oe);oe=oe.sibling}ye.type===d?(Ne=qu(ye.props.children,de.mode,Ne,ye.key),Ne.return=de,de=Ne):(Ne=Sd(ye.type,ye.key,ye.props,null,de.mode,Ne),z(Ne,ye),Ne.return=de,de=Ne)}return k(de);case c:e:{for(et=ye.key;oe!==null;){if(oe.key===et)if(oe.tag===4&&oe.stateNode.containerInfo===ye.containerInfo&&oe.stateNode.implementation===ye.implementation){l(de,oe.sibling),Ne=w(oe,ye.children||[]),Ne.return=de,de=Ne;break e}else{l(de,oe);break}else s(de,oe);oe=oe.sibling}Ne=Uy(ye,de.mode,Ne),Ne.return=de,de=Ne}return k(de);case O:return et=ye._init,ye=et(ye._payload),zn(de,oe,ye,Ne)}if($e(ye))return at(de,oe,ye,Ne);if(L(ye)){if(et=L(ye),typeof et!="function")throw Error(r(150));return ye=et.call(ye),Et(de,oe,ye,Ne)}if(typeof ye.then=="function")return zn(de,oe,Jf(ye),Ne);if(ye.$$typeof===v)return zn(de,oe,hm(de,ye),Ne);ns(de,ye)}return typeof ye=="string"&&ye!==""||typeof ye=="number"||typeof ye=="bigint"?(ye=""+ye,oe!==null&&oe.tag===6?(l(de,oe.sibling),Ne=w(oe,ye),Ne.return=de,de=Ne):(l(de,oe),Ne=Ly(ye,de.mode,Ne),Ne.return=de,de=Ne),k(de)):l(de,oe)}return function(de,oe,ye,Ne){try{ts=0;var et=zn(de,oe,ye,Ne);return es=null,et}catch(st){if(st===Zo)throw st;var jt=ea(29,st,null,de.mode);return jt.lanes=Ne,jt.return=de,jt}finally{}}}var At=Wi(!0),R1=Wi(!1),Yl=De(null),Kp=De(0);function Bs(a,s){a=hs,qe(Kp,a),qe(Yl,s),hs=a|s.baseLanes}function Qg(){qe(Kp,hs),qe(Yl,Yl.current)}function Jg(){hs=Kp.current,Ke(Yl),Ke(Kp)}var va=De(null),go=null;function Hs(a){var s=a.alternate;qe(pr,pr.current&1),qe(va,a),go===null&&(s===null||Yl.current!==null||s.memoizedState!==null)&&(go=a)}function yo(a){if(a.tag===22){if(qe(pr,pr.current),qe(va,a),go===null){var s=a.alternate;s!==null&&s.memoizedState!==null&&(go=a)}}else qs()}function qs(){qe(pr,pr.current),qe(va,va.current)}function rs(a){Ke(va),go===a&&(go=null),Ke(pr)}var pr=De(0);function Yp(a){for(var s=a;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var OS=typeof AbortController<"u"?AbortController:function(){var a=[],s=this.signal={aborted:!1,addEventListener:function(l,m){a.push(m)}};this.abort=function(){s.aborted=!0,a.forEach(function(l){return l()})}},is=t.unstable_scheduleCallback,_S=t.unstable_NormalPriority,mr={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xg(){return{controller:new OS,data:new Map,refCount:0}}function Zf(a){a.refCount--,a.refCount===0&&is(_S,function(){a.controller.abort()})}var ed=null,as=0,Ql=0,Jl=null;function Na(a,s){if(ed===null){var l=ed=[];as=0,Ql=nv(),Jl={status:"pending",value:void 0,then:function(m){l.push(m)}}}return as++,s.then(P1,P1),s}function P1(){if(--as===0&&ed!==null){Jl!==null&&(Jl.status="fulfilled");var a=ed;ed=null,Ql=0,Jl=null;for(var s=0;sT?T:8;var k=Y.T,W={};Y.T=W,ac(a,!1,s,l);try{var Z=w(),se=Y.S;if(se!==null&&se(W,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var _e=AS(Z,m);sd(a,s,_e,na(a))}else sd(a,s,m,na(a))}catch(Le){sd(a,s,{then:function(){},status:"rejected",reason:Le},na())}finally{Ce.p=T,Y.T=k}}function PS(){}function od(a,s,l,m){if(a.tag!==5)throw Error(r(476));var w=Mt(a).queue;im(a,w,s,Be,l===null?PS:function(){return V1(a),l(m)})}function Mt(a){var s=a.memoizedState;if(s!==null)return s;s={memoizedState:Be,baseState:Be,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:Be},next:null};var l={};return s.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:l},next:null},a.memoizedState=s,a=a.alternate,a!==null&&(a.memoizedState=s),s}function V1(a){var s=Mt(a).next.queue;sd(a,s,{},na())}function py(){return Vr(Md)}function ic(){return nr().memoizedState}function my(){return nr().memoizedState}function IS(a){for(var s=a.return;s!==null;){switch(s.tag){case 24:case 3:var l=na();a=Ua(l);var m=Qi(s,a,l);m!==null&&(Wr(m,s,l),lt(m,s,l)),s={cache:Xg()},a.payload=s;return}s=s.return}}function NS(a,s,l){var m=na();l={lane:m,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},oc(a)?gy(s,l):(l=co(a,s,l,m),l!==null&&(Wr(l,a,m),yy(l,s,m)))}function Yi(a,s,l){var m=na();sd(a,s,l,m)}function sd(a,s,l,m){var w={lane:m,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(oc(a))gy(s,w);else{var T=a.alternate;if(a.lanes===0&&(T===null||T.lanes===0)&&(T=s.lastRenderedReducer,T!==null))try{var k=s.lastRenderedState,W=T(k,l);if(w.hasEagerState=!0,w.eagerState=W,Vi(W,k))return _u(a,s,w,0),$n===null&&qp(),!1}catch{}finally{}if(l=co(a,s,w,m),l!==null)return Wr(l,a,m),yy(l,s,m),!0}return!1}function ac(a,s,l,m){if(m={lane:2,revertLane:nv(),action:m,hasEagerState:!1,eagerState:null,next:null},oc(a)){if(s)throw Error(r(479))}else s=co(a,l,m,2),s!==null&&Wr(s,a,2)}function oc(a){var s=a.alternate;return a===Ft||s!==null&&s===Ft}function gy(a,s){Xl=Fu=!0;var l=a.pending;l===null?s.next=s:(s.next=l.next,l.next=s),a.pending=s}function yy(a,s,l){if((l&4194176)!==0){var m=s.lanes;m&=a.pendingLanes,l|=m,s.lanes=l,Xr(a,l)}}var Kn={readContext:Vr,use:nd,useCallback:on,useContext:on,useEffect:on,useImperativeHandle:on,useLayoutEffect:on,useInsertionEffect:on,useMemo:on,useReducer:on,useRef:on,useState:on,useDebugValue:on,useDeferredValue:on,useTransition:on,useSyncExternalStore:on,useId:on};Kn.useCacheRefresh=on,Kn.useMemoCache=on,Kn.useHostTransitionStatus=on,Kn.useFormState=on,Kn.useActionState=on,Kn.useOptimistic=on;var _i={readContext:Vr,use:nd,useCallback:function(a,s){return Oi().memoizedState=[a,s===void 0?null:s],a},useContext:Vr,useEffect:uy,useImperativeHandle:function(a,s,l){l=l!=null?l.concat([a]):null,rc(4194308,4,ly.bind(null,s,a),l)},useLayoutEffect:function(a,s){return rc(4194308,4,a,s)},useInsertionEffect:function(a,s){rc(4,2,a,s)},useMemo:function(a,s){var l=Oi();s=s===void 0?null:s;var m=a();if(Vs){ae(!0);try{a()}finally{ae(!1)}}return l.memoizedState=[m,s],m},useReducer:function(a,s,l){var m=Oi();if(l!==void 0){var w=l(s);if(Vs){ae(!0);try{l(s)}finally{ae(!1)}}}else w=s;return m.memoizedState=m.baseState=w,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:w},m.queue=a,a=a.dispatch=NS.bind(null,Ft,a),[m.memoizedState,a]},useRef:function(a){var s=Oi();return a={current:a},s.memoizedState=a},useState:function(a){a=iy(a);var s=a.queue,l=Yi.bind(null,Ft,s);return s.dispatch=l,[a.memoizedState,l]},useDebugValue:fy,useDeferredValue:function(a,s){var l=Oi();return ad(l,a,s)},useTransition:function(){var a=iy(!1);return a=im.bind(null,Ft,a.queue,!0,!1),Oi().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,s,l){var m=Ft,w=Oi();if($t){if(l===void 0)throw Error(r(407));l=l()}else{if(l=s(),$n===null)throw Error(r(349));(Xt&60)!==0||em(m,s,l)}w.memoizedState=l;var T={value:l,getSnapshot:s};return w.queue=T,uy(M1.bind(null,m,T,a),[a]),m.flags|=2048,Ks(9,N1.bind(null,m,T,l,s),{destroy:void 0},null),l},useId:function(){var a=Oi(),s=$n.identifierPrefix;if($t){var l=ya,m=ga;l=(m&~(1<<32-ce(m)-1)).toString(32)+l,s=":"+s+"R"+l,l=Qp++,0 title"))),Nr(T,m,l),T[Nn]=a,Mn(T),m=T;break e;case"link":var k=jb("link","href",w).get(m+(l.href||""));if(k){for(var W=0;W<\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof m.is=="string"?w.createElement("select",{is:m.is}):w.createElement("select"),m.multiple?a.multiple=!0:m.size&&(a.size=m.size);break;default:a=typeof m.is=="string"?w.createElement(l,{is:m.is}):w.createElement(l)}}a[Nn]=s,a[An]=m;e:for(w=s.child;w!==null;){if(w.tag===5||w.tag===6)a.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===s)break e;for(;w.sibling===null;){if(w.return===null||w.return===s)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}s.stateNode=a;e:switch(Nr(a,l,m),l){case"button":case"input":case"select":case"textarea":a=!!m.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&fs(s)}}return Bn(s),s.flags&=-16777217,null;case 6:if(a&&s.stateNode!=null)a.memoizedProps!==m&&fs(s);else{if(typeof m!="string"&&s.stateNode===null)throw Error(r(166));if(a=bt.current,Du(s)){if(a=s.stateNode,l=s.memoizedProps,m=null,w=ri,w!==null)switch(w.tag){case 27:case 5:m=w.memoizedProps}a[Nn]=s,a=!!(a.nodeValue===l||m!==null&&m.suppressHydrationWarning===!0||Tt(a.nodeValue,l)),a||Mu(s)}else a=Tm(a).createTextNode(m),a[Nn]=s,s.stateNode=a}return Bn(s),null;case 13:if(m=s.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(w=Du(s),m!==null&&m.dehydrated!==null){if(a===null){if(!w)throw Error(r(318));if(w=s.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(r(317));w[Nn]=s}else mo(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Bn(s),w=!1}else Ia!==null&&(wc(Ia),Ia=null),w=!0;if(!w)return s.flags&256?(rs(s),s):(rs(s),null)}if(rs(s),(s.flags&128)!==0)return s.lanes=l,s;if(l=m!==null,a=a!==null&&a.memoizedState!==null,l){m=s.child,w=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(w=m.alternate.memoizedState.cachePool.pool);var T=null;m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(T=m.memoizedState.cachePool.pool),T!==w&&(m.flags|=2048)}return l!==a&&l&&(s.child.flags|=8192),oi(s,s.updateQueue),Bn(s),null;case 4:return Gt(),a===null&&sv(s.stateNode.containerInfo),Bn(s),null;case 10:return bo(s.type),Bn(s),null;case 19:if(Ke(pr),w=s.memoizedState,w===null)return Bn(s),null;if(m=(s.flags&128)!==0,T=w.rendering,T===null)if(m)Cd(w,!1);else{if(Qn!==0||a!==null&&(a.flags&128)!==0)for(a=s.child;a!==null;){if(T=Yp(a),T!==null){for(s.flags|=128,Cd(w,!1),a=T.updateQueue,s.updateQueue=a,oi(s,a),s.subtreeFlags=0,a=l,l=s.child;l!==null;)cb(l,a),l=l.sibling;return qe(pr,pr.current&1|2),s.child}a=a.sibling}w.tail!==null&&Ge()>vm&&(s.flags|=128,m=!0,Cd(w,!1),s.lanes=4194304)}else{if(!m)if(a=Yp(T),a!==null){if(s.flags|=128,m=!0,a=a.updateQueue,s.updateQueue=a,oi(s,a),Cd(w,!0),w.tail===null&&w.tailMode==="hidden"&&!T.alternate&&!$t)return Bn(s),null}else 2*Ge()-w.renderingStartTime>vm&&l!==536870912&&(s.flags|=128,m=!0,Cd(w,!1),s.lanes=4194304);w.isBackwards?(T.sibling=s.child,s.child=T):(a=w.last,a!==null?a.sibling=T:s.child=T,w.last=T)}return w.tail!==null?(s=w.tail,w.rendering=s,w.tail=s.sibling,w.renderingStartTime=Ge(),s.sibling=null,a=pr.current,qe(pr,m?a&1|2:a&1),s):(Bn(s),null);case 22:case 23:return rs(s),Jg(),m=s.memoizedState!==null,a!==null?a.memoizedState!==null!==m&&(s.flags|=8192):m&&(s.flags|=8192),m?(l&536870912)!==0&&(s.flags&128)===0&&(Bn(s),s.subtreeFlags&6&&(s.flags|=8192)):Bn(s),l=s.updateQueue,l!==null&&oi(s,l.retryQueue),l=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),m=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),m!==l&&(s.flags|=2048),a!==null&&Ke(ku),null;case 24:return l=null,a!==null&&(l=a.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),bo(mr),Bn(s),null;case 25:return null}throw Error(r(156,s.tag))}function hb(a,s){switch(Yg(s),s.tag){case 1:return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 3:return bo(mr),Gt(),a=s.flags,(a&65536)!==0&&(a&128)===0?(s.flags=a&-65537|128,s):null;case 26:case 27:case 5:return tn(s),null;case 13:if(rs(s),a=s.memoizedState,a!==null&&a.dehydrated!==null){if(s.alternate===null)throw Error(r(340));mo()}return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 19:return Ke(pr),null;case 4:return Gt(),null;case 10:return bo(s.type),null;case 22:case 23:return rs(s),Jg(),a!==null&&Ke(ku),a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 24:return bo(mr),null;case 25:return null;default:return null}}function pb(a,s){switch(Yg(s),s.tag){case 3:bo(mr),Gt();break;case 26:case 27:case 5:tn(s);break;case 4:Gt();break;case 13:rs(s);break;case 19:Ke(pr);break;case 10:bo(s.type);break;case 22:case 23:rs(s),Jg(),a!==null&&Ke(ku);break;case 24:bo(mr)}}var FS={getCacheForType:function(a){var s=Vr(mr),l=s.data.get(a);return l===void 0&&(l=a(),s.data.set(a,l)),l}},LS=typeof WeakMap=="function"?WeakMap:Map,Hn=0,$n=null,Ht=null,Xt=0,Pn=0,ta=null,ds=!1,vc=!1,jy=!1,hs=0,Qn=0,ru=0,zu=0,By=0,wa=0,bc=0,$d=null,Eo=null,Hy=!1,qy=0,vm=1/0,bm=null,xo=null,Ed=!1,Vu=null,xd=0,zy=0,Vy=null,Td=0,Gy=null;function na(){if((Hn&2)!==0&&Xt!==0)return Xt&-Xt;if(Y.T!==null){var a=Ql;return a!==0?a:nv()}return Li()}function mb(){wa===0&&(wa=(Xt&536870912)===0||$t?la():536870912);var a=va.current;return a!==null&&(a.flags|=32),wa}function Wr(a,s,l){(a===$n&&Pn===2||a.cancelPendingCommit!==null)&&(Sc(a,0),ps(a,Xt,wa,!1)),to(a,l),((Hn&2)===0||a!==$n)&&(a===$n&&((Hn&2)===0&&(zu|=l),Qn===4&&ps(a,Xt,wa,!1)),Ha(a))}function gb(a,s,l){if((Hn&6)!==0)throw Error(r(327));var m=!l&&(s&60)===0&&(s&a.expiredLanes)===0||Tn(a,s),w=m?BS(a,s):Yy(a,s,!0),T=m;do{if(w===0){vc&&!m&&ps(a,s,0,!1);break}else if(w===6)ps(a,s,0,!ds);else{if(l=a.current.alternate,T&&!US(l)){w=Yy(a,s,!1),T=!1;continue}if(w===2){if(T=s,a.errorRecoveryDisabledLanes&T)var k=0;else k=a.pendingLanes&-536870913,k=k!==0?k:k&536870912?536870912:0;if(k!==0){s=k;e:{var W=a;w=$d;var Z=W.current.memoizedState.isDehydrated;if(Z&&(Sc(W,k).flags|=256),k=Yy(W,k,!1),k!==2){if(jy&&!Z){W.errorRecoveryDisabledLanes|=T,zu|=T,w=4;break e}T=Eo,Eo=w,T!==null&&wc(T)}w=k}if(T=!1,w!==2)continue}}if(w===1){Sc(a,0),ps(a,s,0,!0);break}e:{switch(m=a,w){case 0:case 1:throw Error(r(345));case 4:if((s&4194176)===s){ps(m,s,wa,!ds);break e}break;case 2:Eo=null;break;case 3:case 5:break;default:throw Error(r(329))}if(m.finishedWork=l,m.finishedLanes=s,(s&62914560)===s&&(T=qy+300-Ge(),10l?32:l,Y.T=null,Vu===null)var T=!1;else{l=Vy,Vy=null;var k=Vu,W=xd;if(Vu=null,xd=0,(Hn&6)!==0)throw Error(r(331));var Z=Hn;if(Hn|=4,ub(k.current),ab(k,k.current,W,l),Hn=Z,Ku(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(Ee,k)}catch{}T=!0}return T}finally{Ce.p=w,Y.T=m,xb(a,s)}}return!1}function Tb(a,s,l){s=ni(l,s),s=ld(a.stateNode,s,2),a=Qi(a,s,2),a!==null&&(to(a,2),Ha(a))}function On(a,s,l){if(a.tag===3)Tb(a,a,l);else for(;s!==null;){if(s.tag===3){Tb(s,a,l);break}else if(s.tag===1){var m=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(xo===null||!xo.has(m))){a=ni(l,a),l=W1(2),m=Qi(s,l,2),m!==null&&(K1(l,m,s,a),to(m,2),Ha(m));break}}s=s.return}}function Qy(a,s,l){var m=a.pingCache;if(m===null){m=a.pingCache=new LS;var w=new Set;m.set(s,w)}else w=m.get(s),w===void 0&&(w=new Set,m.set(s,w));w.has(l)||(jy=!0,w.add(l),a=zS.bind(null,a,s,l),s.then(a,a))}function zS(a,s,l){var m=a.pingCache;m!==null&&m.delete(s),a.pingedLanes|=a.suspendedLanes&l,a.warmLanes&=~l,$n===a&&(Xt&l)===l&&(Qn===4||Qn===3&&(Xt&62914560)===Xt&&300>Ge()-qy?(Hn&2)===0&&Sc(a,0):By|=l,bc===Xt&&(bc=0)),Ha(a)}function Ob(a,s){s===0&&(s=Ar()),a=Pa(a,s),a!==null&&(to(a,s),Ha(a))}function VS(a){var s=a.memoizedState,l=0;s!==null&&(l=s.retryLane),Ob(a,l)}function GS(a,s){var l=0;switch(a.tag){case 13:var m=a.stateNode,w=a.memoizedState;w!==null&&(l=w.retryLane);break;case 19:m=a.stateNode;break;case 22:m=a.stateNode._retryCache;break;default:throw Error(r(314))}m!==null&&m.delete(s),Ob(a,l)}function WS(a,s){return kt(a,s)}var Sm=null,Cc=null,Jy=!1,Wu=!1,Xy=!1,iu=0;function Ha(a){a!==Cc&&a.next===null&&(Cc===null?Sm=Cc=a:Cc=Cc.next=a),Wu=!0,Jy||(Jy=!0,KS(_b))}function Ku(a,s){if(!Xy&&Wu){Xy=!0;do for(var l=!1,m=Sm;m!==null;){if(a!==0){var w=m.pendingLanes;if(w===0)var T=0;else{var k=m.suspendedLanes,W=m.pingedLanes;T=(1<<31-ce(42|a)+1)-1,T&=w&~(k&~W),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(l=!0,tv(m,T))}else T=Xt,T=er(m,m===$n?T:0),(T&3)===0||Tn(m,T)||(l=!0,tv(m,T));m=m.next}while(l);Xy=!1}}function _b(){Wu=Jy=!1;var a=0;iu!==0&&(gs()&&(a=iu),iu=0);for(var s=Ge(),l=null,m=Sm;m!==null;){var w=m.next,T=Zy(m,s);T===0?(m.next=null,l===null?Sm=w:l.next=w,w===null&&(Cc=l)):(l=m,(a!==0||(T&3)!==0)&&(Wu=!0)),m=w}Ku(a)}function Zy(a,s){for(var l=a.suspendedLanes,m=a.pingedLanes,w=a.expirationTimes,T=a.pendingLanes&-62914561;0"u"?null:document;function Fb(a,s,l){var m=za;if(m&&typeof s=="string"&&s){var w=ei(s);w='link[rel="'+a+'"][href="'+w+'"]',typeof l=="string"&&(w+='[crossorigin="'+l+'"]'),_m.has(w)||(_m.add(w),a={rel:a,crossOrigin:l,href:s},m.querySelector(w)===null&&(s=m.createElement("link"),Nr(s,"link",a),Mn(s),m.head.appendChild(s)))}}function e3(a){To.D(a),Fb("dns-prefetch",a,null)}function t3(a,s){To.C(a,s),Fb("preconnect",a,s)}function n3(a,s,l){To.L(a,s,l);var m=za;if(m&&a&&s){var w='link[rel="preload"][as="'+ei(s)+'"]';s==="image"&&l&&l.imageSrcSet?(w+='[imagesrcset="'+ei(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(w+='[imagesizes="'+ei(l.imageSizes)+'"]')):w+='[href="'+ei(a)+'"]';var T=w;switch(s){case"style":T=Mr(a);break;case"script":T=xc(a)}Kr.has(T)||(a=X({rel:"preload",href:s==="image"&&l&&l.imageSrcSet?void 0:a,as:s},l),Kr.set(T,a),m.querySelector(w)!==null||s==="style"&&m.querySelector(Ec(T))||s==="script"&&m.querySelector(Tc(T))||(s=m.createElement("link"),Nr(s,"link",a),Mn(s),m.head.appendChild(s)))}}function r3(a,s){To.m(a,s);var l=za;if(l&&a){var m=s&&typeof s.as=="string"?s.as:"script",w='link[rel="modulepreload"][as="'+ei(m)+'"][href="'+ei(a)+'"]',T=w;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=xc(a)}if(!Kr.has(T)&&(a=X({rel:"modulepreload",href:a},s),Kr.set(T,a),l.querySelector(w)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Tc(T)))return}m=l.createElement("link"),Nr(m,"link",a),Mn(m),l.head.appendChild(m)}}}function Lb(a,s,l){To.S(a,s,l);var m=za;if(m&&a){var w=Is(m).hoistableStyles,T=Mr(a);s=s||"default";var k=w.get(T);if(!k){var W={loading:0,preload:null};if(k=m.querySelector(Ec(T)))W.loading=5;else{a=X({rel:"stylesheet",href:a,"data-precedence":s},l),(l=Kr.get(T))&&yv(a,l);var Z=k=m.createElement("link");Mn(Z),Nr(Z,"link",a),Z._p=new Promise(function(se,_e){Z.onload=se,Z.onerror=_e}),Z.addEventListener("load",function(){W.loading|=1}),Z.addEventListener("error",function(){W.loading|=2}),W.loading|=4,Pm(k,s,m)}k={type:"stylesheet",instance:k,count:1,state:W},w.set(T,k)}}}function ys(a,s){To.X(a,s);var l=za;if(l&&a){var m=Is(l).hoistableScripts,w=xc(a),T=m.get(w);T||(T=l.querySelector(Tc(w)),T||(a=X({src:a,async:!0},s),(s=Kr.get(w))&&vv(a,s),T=l.createElement("script"),Mn(T),Nr(T,"link",a),l.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},m.set(w,T))}}function Nt(a,s){To.M(a,s);var l=za;if(l&&a){var m=Is(l).hoistableScripts,w=xc(a),T=m.get(w);T||(T=l.querySelector(Tc(w)),T||(a=X({src:a,async:!0,type:"module"},s),(s=Kr.get(w))&&vv(a,s),T=l.createElement("script"),Mn(T),Nr(T,"link",a),l.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},m.set(w,T))}}function gv(a,s,l,m){var w=(w=bt.current)?Am(w):null;if(!w)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(s=Mr(l.href),l=Is(w).hoistableStyles,m=l.get(s),m||(m={type:"style",instance:null,count:0,state:null},l.set(s,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){a=Mr(l.href);var T=Is(w).hoistableStyles,k=T.get(a);if(k||(w=w.ownerDocument||w,k={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(a,k),(T=w.querySelector(Ec(a)))&&!T._p&&(k.instance=T,k.state.loading=5),Kr.has(a)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Kr.set(a,l),T||pn(w,a,l,k.state))),s&&m===null)throw Error(r(528,""));return k}if(s&&m!==null)throw Error(r(529,""));return null;case"script":return s=l.async,l=l.src,typeof l=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=xc(l),l=Is(w).hoistableScripts,m=l.get(s),m||(m={type:"script",instance:null,count:0,state:null},l.set(s,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Mr(a){return'href="'+ei(a)+'"'}function Ec(a){return'link[rel="stylesheet"]['+a+"]"}function Ub(a){return X({},a,{"data-precedence":a.precedence,precedence:null})}function pn(a,s,l,m){a.querySelector('link[rel="preload"][as="style"]['+s+"]")?m.loading=1:(s=a.createElement("link"),m.preload=s,s.addEventListener("load",function(){return m.loading|=1}),s.addEventListener("error",function(){return m.loading|=2}),Nr(s,"link",l),Mn(s),a.head.appendChild(s))}function xc(a){return'[src="'+ei(a)+'"]'}function Tc(a){return"script[async]"+a}function Id(a,s,l){if(s.count++,s.instance===null)switch(s.type){case"style":var m=a.querySelector('style[data-href~="'+ei(l.href)+'"]');if(m)return s.instance=m,Mn(m),m;var w=X({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return m=(a.ownerDocument||a).createElement("style"),Mn(m),Nr(m,"style",w),Pm(m,l.precedence,a),s.instance=m;case"stylesheet":w=Mr(l.href);var T=a.querySelector(Ec(w));if(T)return s.state.loading|=4,s.instance=T,Mn(T),T;m=Ub(l),(w=Kr.get(w))&&yv(m,w),T=(a.ownerDocument||a).createElement("link"),Mn(T);var k=T;return k._p=new Promise(function(W,Z){k.onload=W,k.onerror=Z}),Nr(T,"link",m),s.state.loading|=4,Pm(T,l.precedence,a),s.instance=T;case"script":return T=xc(l.src),(w=a.querySelector(Tc(T)))?(s.instance=w,Mn(w),w):(m=l,(w=Kr.get(T))&&(m=X({},l),vv(m,w)),a=a.ownerDocument||a,w=a.createElement("script"),Mn(w),Nr(w,"link",m),a.head.appendChild(w),s.instance=w);case"void":return null;default:throw Error(r(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(m=s.instance,s.state.loading|=4,Pm(m,l.precedence,a));return s.instance}function Pm(a,s,l){for(var m=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),w=m.length?m[m.length-1]:null,T=w,k=0;k title"):null)}function i3(a,s,l){if(l===1||s.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return a=s.disabled,typeof s.precedence=="string"&&a==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Hb(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}var Nd=null;function a3(){}function o3(a,s,l){if(Nd===null)throw Error(r(475));var m=Nd;if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var w=Mr(l.href),T=a.querySelector(Ec(w));if(T){a=T._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(m.count++,m=Nm.bind(m),a.then(m,m)),s.state.loading|=4,s.instance=T,Mn(T);return}T=a.ownerDocument||a,l=Ub(l),(w=Kr.get(w))&&yv(l,w),T=T.createElement("link"),Mn(T);var k=T;k._p=new Promise(function(W,Z){k.onload=W,k.onerror=Z}),Nr(T,"link",l),s.instance=T}m.stylesheets===null&&(m.stylesheets=new Map),m.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(m.count++,s=Nm.bind(m),a.addEventListener("load",s),a.addEventListener("error",s))}}function s3(){if(Nd===null)throw Error(r(475));var a=Nd;return a.stylesheets&&a.count===0&&bv(a,a.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),C3.exports=rk(),C3.exports}var ak=ik();const ok=wf(ak),sk=Ae.createContext({patchConfig(){},config:{}});function uk(){const t=localStorage.getItem("app_config2");if(t){try{const e=JSON.parse(t);return e?{...e}:{}}catch{}return{}}}uk();function z2(t,e){return z2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},z2(t,e)}function vp(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,z2(t,e)}var Cg=(function(){function t(){this.listeners=[]}var e=t.prototype;return e.subscribe=function(r){var i=this,o=r||function(){};return this.listeners.push(o),this.onSubscribe(),function(){i.listeners=i.listeners.filter(function(u){return u!==o}),i.onUnsubscribe()}},e.hasListeners=function(){return this.listeners.length>0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t})();function Ve(){return Ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u";function yi(){}function lk(t,e){return typeof t=="function"?t(e):t}function I$(t){return typeof t=="number"&&t>=0&&t!==1/0}function G2(t){return Array.isArray(t)?t:[t]}function w5(t,e){return Math.max(t+(e||0)-Date.now(),0)}function x2(t,e,n){return K0(t)?typeof e=="function"?Ve({},n,{queryKey:t,queryFn:e}):Ve({},e,{queryKey:t}):t}function ck(t,e,n){return K0(t)?Ve({},e,{mutationKey:t}):typeof t=="function"?Ve({},e,{mutationFn:t}):Ve({},t)}function ff(t,e,n){return K0(t)?[Ve({},e,{queryKey:t}),n]:[t||{},e]}function fk(t,e){if(t===!0&&e===!0||t==null&&e==null)return"all";if(t===!1&&e===!1)return"none";var n=t??!e;return n?"active":"inactive"}function vO(t,e){var n=t.active,r=t.exact,i=t.fetching,o=t.inactive,u=t.predicate,c=t.queryKey,d=t.stale;if(K0(c)){if(r){if(e.queryHash!==gx(c,e.options))return!1}else if(!W2(e.queryKey,c))return!1}var h=fk(n,o);if(h==="none")return!1;if(h!=="all"){var g=e.isActive();if(h==="active"&&!g||h==="inactive"&&g)return!1}return!(typeof d=="boolean"&&e.isStale()!==d||typeof i=="boolean"&&e.isFetching()!==i||u&&!u(e))}function bO(t,e){var n=t.exact,r=t.fetching,i=t.predicate,o=t.mutationKey;if(K0(o)){if(!e.options.mutationKey)return!1;if(n){if(Kh(e.options.mutationKey)!==Kh(o))return!1}else if(!W2(e.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&e.state.status==="loading"!==r||i&&!i(e))}function gx(t,e){var n=(e==null?void 0:e.queryKeyHashFn)||Kh;return n(t)}function Kh(t){var e=G2(t);return dk(e)}function dk(t){return JSON.stringify(t,function(e,n){return N$(n)?Object.keys(n).sort().reduce(function(r,i){return r[i]=n[i],r},{}):n})}function W2(t,e){return S5(G2(t),G2(e))}function S5(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?!Object.keys(e).some(function(n){return!S5(t[n],e[n])}):!1}function K2(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||N$(t)&&N$(e)){for(var r=n?t.length:Object.keys(t).length,i=n?e:Object.keys(e),o=i.length,u=n?[]:{},c=0,d=0;d"u")return!0;var n=e.prototype;return!(!wO(n)||!n.hasOwnProperty("isPrototypeOf"))}function wO(t){return Object.prototype.toString.call(t)==="[object Object]"}function K0(t){return typeof t=="string"||Array.isArray(t)}function pk(t){return new Promise(function(e){setTimeout(e,t)})}function SO(t){Promise.resolve().then(t).catch(function(e){return setTimeout(function(){throw e})})}function C5(){if(typeof AbortController=="function")return new AbortController}var mk=(function(t){vp(e,t);function e(){var r;return r=t.call(this)||this,r.setup=function(i){var o;if(!V2&&((o=window)!=null&&o.addEventListener)){var u=function(){return i()};return window.addEventListener("visibilitychange",u,!1),window.addEventListener("focus",u,!1),function(){window.removeEventListener("visibilitychange",u),window.removeEventListener("focus",u)}}},r}var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}},n.setEventListener=function(i){var o,u=this;this.setup=i,(o=this.cleanup)==null||o.call(this),this.cleanup=i(function(c){typeof c=="boolean"?u.setFocused(c):u.onFocus()})},n.setFocused=function(i){this.focused=i,i&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(i){i()})},n.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},e})(Cg),t0=new mk,gk=(function(t){vp(e,t);function e(){var r;return r=t.call(this)||this,r.setup=function(i){var o;if(!V2&&((o=window)!=null&&o.addEventListener)){var u=function(){return i()};return window.addEventListener("online",u,!1),window.addEventListener("offline",u,!1),function(){window.removeEventListener("online",u),window.removeEventListener("offline",u)}}},r}var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}},n.setEventListener=function(i){var o,u=this;this.setup=i,(o=this.cleanup)==null||o.call(this),this.cleanup=i(function(c){typeof c=="boolean"?u.setOnline(c):u.onOnline()})},n.setOnline=function(i){this.online=i,i&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(i){i()})},n.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},e})(Cg),T2=new gk;function yk(t){return Math.min(1e3*Math.pow(2,t),3e4)}function Y2(t){return typeof(t==null?void 0:t.cancel)=="function"}var $5=function(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent};function O2(t){return t instanceof $5}var E5=function(e){var n=this,r=!1,i,o,u,c;this.abort=e.abort,this.cancel=function(b){return i==null?void 0:i(b)},this.cancelRetry=function(){r=!0},this.continueRetry=function(){r=!1},this.continue=function(){return o==null?void 0:o()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(b,v){u=b,c=v});var d=function(v){n.isResolved||(n.isResolved=!0,e.onSuccess==null||e.onSuccess(v),o==null||o(),u(v))},h=function(v){n.isResolved||(n.isResolved=!0,e.onError==null||e.onError(v),o==null||o(),c(v))},g=function(){return new Promise(function(v){o=v,n.isPaused=!0,e.onPause==null||e.onPause()}).then(function(){o=void 0,n.isPaused=!1,e.onContinue==null||e.onContinue()})},y=function b(){if(!n.isResolved){var v;try{v=e.fn()}catch(C){v=Promise.reject(C)}i=function(E){if(!n.isResolved&&(h(new $5(E)),n.abort==null||n.abort(),Y2(v)))try{v.cancel()}catch{}},n.isTransportCancelable=Y2(v),Promise.resolve(v).then(d).catch(function(C){var E,$;if(!n.isResolved){var x=(E=e.retry)!=null?E:3,O=($=e.retryDelay)!=null?$:yk,R=typeof O=="function"?O(n.failureCount,C):O,D=x===!0||typeof x=="number"&&n.failureCount"u"&&(c.exact=!0),this.queries.find(function(d){return vO(c,d)})},n.findAll=function(i,o){var u=ff(i,o),c=u[0];return Object.keys(c).length>0?this.queries.filter(function(d){return vO(c,d)}):this.queries},n.notify=function(i){var o=this;Zn.batch(function(){o.listeners.forEach(function(u){u(i)})})},n.onFocus=function(){var i=this;Zn.batch(function(){i.queries.forEach(function(o){o.onFocus()})})},n.onOnline=function(){var i=this;Zn.batch(function(){i.queries.forEach(function(o){o.onOnline()})})},e})(Cg),Ck=(function(){function t(n){this.options=Ve({},n.defaultOptions,n.options),this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.observers=[],this.state=n.state||T5(),this.meta=n.meta}var e=t.prototype;return e.setState=function(r){this.dispatch({type:"setState",state:r})},e.addObserver=function(r){this.observers.indexOf(r)===-1&&this.observers.push(r)},e.removeObserver=function(r){this.observers=this.observers.filter(function(i){return i!==r})},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(yi).catch(yi)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var r=this,i,o=this.state.status==="loading",u=Promise.resolve();return o||(this.dispatch({type:"loading",variables:this.options.variables}),u=u.then(function(){r.mutationCache.config.onMutate==null||r.mutationCache.config.onMutate(r.state.variables,r)}).then(function(){return r.options.onMutate==null?void 0:r.options.onMutate(r.state.variables)}).then(function(c){c!==r.state.context&&r.dispatch({type:"loading",context:c,variables:r.state.variables})})),u.then(function(){return r.executeMutation()}).then(function(c){i=c,r.mutationCache.config.onSuccess==null||r.mutationCache.config.onSuccess(i,r.state.variables,r.state.context,r)}).then(function(){return r.options.onSuccess==null?void 0:r.options.onSuccess(i,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(i,null,r.state.variables,r.state.context)}).then(function(){return r.dispatch({type:"success",data:i}),i}).catch(function(c){return r.mutationCache.config.onError==null||r.mutationCache.config.onError(c,r.state.variables,r.state.context,r),Q2().error(c),Promise.resolve().then(function(){return r.options.onError==null?void 0:r.options.onError(c,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(void 0,c,r.state.variables,r.state.context)}).then(function(){throw r.dispatch({type:"error",error:c}),c})})},e.executeMutation=function(){var r=this,i;return this.retryer=new E5({fn:function(){return r.options.mutationFn?r.options.mutationFn(r.state.variables):Promise.reject("No mutationFn found")},onFail:function(){r.dispatch({type:"failed"})},onPause:function(){r.dispatch({type:"pause"})},onContinue:function(){r.dispatch({type:"continue"})},retry:(i=this.options.retry)!=null?i:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(r){var i=this;this.state=$k(this.state,r),Zn.batch(function(){i.observers.forEach(function(o){o.onMutationUpdate(r)}),i.mutationCache.notify(i)})},t})();function T5(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function $k(t,e){switch(e.type){case"failed":return Ve({},t,{failureCount:t.failureCount+1});case"pause":return Ve({},t,{isPaused:!0});case"continue":return Ve({},t,{isPaused:!1});case"loading":return Ve({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return Ve({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Ve({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return Ve({},t,e.state);default:return t}}var Ek=(function(t){vp(e,t);function e(r){var i;return i=t.call(this)||this,i.config=r||{},i.mutations=[],i.mutationId=0,i}var n=e.prototype;return n.build=function(i,o,u){var c=new Ck({mutationCache:this,mutationId:++this.mutationId,options:i.defaultMutationOptions(o),state:u,defaultOptions:o.mutationKey?i.getMutationDefaults(o.mutationKey):void 0,meta:o.meta});return this.add(c),c},n.add=function(i){this.mutations.push(i),this.notify(i)},n.remove=function(i){this.mutations=this.mutations.filter(function(o){return o!==i}),i.cancel(),this.notify(i)},n.clear=function(){var i=this;Zn.batch(function(){i.mutations.forEach(function(o){i.remove(o)})})},n.getAll=function(){return this.mutations},n.find=function(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(function(o){return bO(i,o)})},n.findAll=function(i){return this.mutations.filter(function(o){return bO(i,o)})},n.notify=function(i){var o=this;Zn.batch(function(){o.listeners.forEach(function(u){u(i)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var i=this.mutations.filter(function(o){return o.state.isPaused});return Zn.batch(function(){return i.reduce(function(o,u){return o.then(function(){return u.continue().catch(yi)})},Promise.resolve())})},e})(Cg);function xk(){return{onFetch:function(e){e.fetchFn=function(){var n,r,i,o,u,c,d=(n=e.fetchOptions)==null||(r=n.meta)==null?void 0:r.refetchPage,h=(i=e.fetchOptions)==null||(o=i.meta)==null?void 0:o.fetchMore,g=h==null?void 0:h.pageParam,y=(h==null?void 0:h.direction)==="forward",b=(h==null?void 0:h.direction)==="backward",v=((u=e.state.data)==null?void 0:u.pages)||[],C=((c=e.state.data)==null?void 0:c.pageParams)||[],E=C5(),$=E==null?void 0:E.signal,x=C,O=!1,R=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},D=function(be,we,B,V){return x=V?[we].concat(x):[].concat(x,[we]),V?[B].concat(be):[].concat(be,[B])},P=function(be,we,B,V){if(O)return Promise.reject("Cancelled");if(typeof B>"u"&&!we&&be.length)return Promise.resolve(be);var q={queryKey:e.queryKey,signal:$,pageParam:B,meta:e.meta},ie=R(q),G=Promise.resolve(ie).then(function(he){return D(be,B,he,V)});if(Y2(ie)){var J=G;J.cancel=ie.cancel}return G},L;if(!v.length)L=P([]);else if(y){var F=typeof g<"u",H=F?g:CO(e.options,v);L=P(v,F,H)}else if(b){var Y=typeof g<"u",X=Y?g:Tk(e.options,v);L=P(v,Y,X,!0)}else(function(){x=[];var te=typeof e.options.getNextPageParam>"u",be=d&&v[0]?d(v[0],0,v):!0;L=be?P([],te,C[0]):Promise.resolve(D([],C[0],v[0]));for(var we=function(q){L=L.then(function(ie){var G=d&&v[q]?d(v[q],q,v):!0;if(G){var J=te?C[q]:CO(e.options,ie);return P(ie,te,J)}return Promise.resolve(D(ie,C[q],v[q]))})},B=1;B"u"&&(g.revert=!0);var y=Zn.batch(function(){return u.queryCache.findAll(d).map(function(b){return b.cancel(g)})});return Promise.all(y).then(yi).catch(yi)},e.invalidateQueries=function(r,i,o){var u,c,d,h=this,g=ff(r,i,o),y=g[0],b=g[1],v=Ve({},y,{active:(u=(c=y.refetchActive)!=null?c:y.active)!=null?u:!0,inactive:(d=y.refetchInactive)!=null?d:!1});return Zn.batch(function(){return h.queryCache.findAll(y).forEach(function(C){C.invalidate()}),h.refetchQueries(v,b)})},e.refetchQueries=function(r,i,o){var u=this,c=ff(r,i,o),d=c[0],h=c[1],g=Zn.batch(function(){return u.queryCache.findAll(d).map(function(b){return b.fetch(void 0,Ve({},h,{meta:{refetchPage:d==null?void 0:d.refetchPage}}))})}),y=Promise.all(g).then(yi);return h!=null&&h.throwOnError||(y=y.catch(yi)),y},e.fetchQuery=function(r,i,o){var u=x2(r,i,o),c=this.defaultQueryOptions(u);typeof c.retry>"u"&&(c.retry=!1);var d=this.queryCache.build(this,c);return d.isStaleByTime(c.staleTime)?d.fetch(c):Promise.resolve(d.state.data)},e.prefetchQuery=function(r,i,o){return this.fetchQuery(r,i,o).then(yi).catch(yi)},e.fetchInfiniteQuery=function(r,i,o){var u=x2(r,i,o);return u.behavior=xk(),this.fetchQuery(u)},e.prefetchInfiniteQuery=function(r,i,o){return this.fetchInfiniteQuery(r,i,o).then(yi).catch(yi)},e.cancelMutations=function(){var r=this,i=Zn.batch(function(){return r.mutationCache.getAll().map(function(o){return o.cancel()})});return Promise.all(i).then(yi).catch(yi)},e.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},e.executeMutation=function(r){return this.mutationCache.build(this,r).execute()},e.getQueryCache=function(){return this.queryCache},e.getMutationCache=function(){return this.mutationCache},e.getDefaultOptions=function(){return this.defaultOptions},e.setDefaultOptions=function(r){this.defaultOptions=r},e.setQueryDefaults=function(r,i){var o=this.queryDefaults.find(function(u){return Kh(r)===Kh(u.queryKey)});o?o.defaultOptions=i:this.queryDefaults.push({queryKey:r,defaultOptions:i})},e.getQueryDefaults=function(r){var i;return r?(i=this.queryDefaults.find(function(o){return W2(r,o.queryKey)}))==null?void 0:i.defaultOptions:void 0},e.setMutationDefaults=function(r,i){var o=this.mutationDefaults.find(function(u){return Kh(r)===Kh(u.mutationKey)});o?o.defaultOptions=i:this.mutationDefaults.push({mutationKey:r,defaultOptions:i})},e.getMutationDefaults=function(r){var i;return r?(i=this.mutationDefaults.find(function(o){return W2(r,o.mutationKey)}))==null?void 0:i.defaultOptions:void 0},e.defaultQueryOptions=function(r){if(r!=null&&r._defaulted)return r;var i=Ve({},this.defaultOptions.queries,this.getQueryDefaults(r==null?void 0:r.queryKey),r,{_defaulted:!0});return!i.queryHash&&i.queryKey&&(i.queryHash=gx(i.queryKey,i)),i},e.defaultQueryObserverOptions=function(r){return this.defaultQueryOptions(r)},e.defaultMutationOptions=function(r){return r!=null&&r._defaulted?r:Ve({},this.defaultOptions.mutations,this.getMutationDefaults(r==null?void 0:r.mutationKey),r,{_defaulted:!0})},e.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},t})(),_k=(function(t){vp(e,t);function e(r,i){var o;return o=t.call(this)||this,o.client=r,o.options=i,o.trackedProps=[],o.selectError=null,o.bindMethods(),o.setOptions(i),o}var n=e.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),$O(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return M$(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return M$(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(i,o){var u=this.options,c=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(i),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=u.queryKey),this.updateQuery();var d=this.hasListeners();d&&EO(this.currentQuery,c,this.options,u)&&this.executeFetch(),this.updateResult(o),d&&(this.currentQuery!==c||this.options.enabled!==u.enabled||this.options.staleTime!==u.staleTime)&&this.updateStaleTimeout();var h=this.computeRefetchInterval();d&&(this.currentQuery!==c||this.options.enabled!==u.enabled||h!==this.currentRefetchInterval)&&this.updateRefetchInterval(h)},n.getOptimisticResult=function(i){var o=this.client.defaultQueryObserverOptions(i),u=this.client.getQueryCache().build(this.client,o);return this.createResult(u,o)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(i,o){var u=this,c={},d=function(g){u.trackedProps.includes(g)||u.trackedProps.push(g)};return Object.keys(i).forEach(function(h){Object.defineProperty(c,h,{configurable:!1,enumerable:!0,get:function(){return d(h),i[h]}})}),(o.useErrorBoundary||o.suspense)&&d("error"),c},n.getNextResult=function(i){var o=this;return new Promise(function(u,c){var d=o.subscribe(function(h){h.isFetching||(d(),h.isError&&(i!=null&&i.throwOnError)?c(h.error):u(h))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(i){return this.fetch(Ve({},i,{meta:{refetchPage:i==null?void 0:i.refetchPage}}))},n.fetchOptimistic=function(i){var o=this,u=this.client.defaultQueryObserverOptions(i),c=this.client.getQueryCache().build(this.client,u);return c.fetch().then(function(){return o.createResult(c,u)})},n.fetch=function(i){var o=this;return this.executeFetch(i).then(function(){return o.updateResult(),o.currentResult})},n.executeFetch=function(i){this.updateQuery();var o=this.currentQuery.fetch(this.options,i);return i!=null&&i.throwOnError||(o=o.catch(yi)),o},n.updateStaleTimeout=function(){var i=this;if(this.clearStaleTimeout(),!(V2||this.currentResult.isStale||!I$(this.options.staleTime))){var o=w5(this.currentResult.dataUpdatedAt,this.options.staleTime),u=o+1;this.staleTimeoutId=setTimeout(function(){i.currentResult.isStale||i.updateResult()},u)}},n.computeRefetchInterval=function(){var i;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(i=this.options.refetchInterval)!=null?i:!1},n.updateRefetchInterval=function(i){var o=this;this.clearRefetchInterval(),this.currentRefetchInterval=i,!(V2||this.options.enabled===!1||!I$(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(o.options.refetchIntervalInBackground||t0.isFocused())&&o.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(i,o){var u=this.currentQuery,c=this.options,d=this.currentResult,h=this.currentResultState,g=this.currentResultOptions,y=i!==u,b=y?i.state:this.currentQueryInitialState,v=y?this.currentResult:this.previousQueryResult,C=i.state,E=C.dataUpdatedAt,$=C.error,x=C.errorUpdatedAt,O=C.isFetching,R=C.status,D=!1,P=!1,L;if(o.optimisticResults){var F=this.hasListeners(),H=!F&&$O(i,o),Y=F&&EO(i,u,o,c);(H||Y)&&(O=!0,E||(R="loading"))}if(o.keepPreviousData&&!C.dataUpdateCount&&(v!=null&&v.isSuccess)&&R!=="error")L=v.data,E=v.dataUpdatedAt,R=v.status,D=!0;else if(o.select&&typeof C.data<"u")if(d&&C.data===(h==null?void 0:h.data)&&o.select===this.selectFn)L=this.selectResult;else try{this.selectFn=o.select,L=o.select(C.data),o.structuralSharing!==!1&&(L=K2(d==null?void 0:d.data,L)),this.selectResult=L,this.selectError=null}catch(me){Q2().error(me),this.selectError=me}else L=C.data;if(typeof o.placeholderData<"u"&&typeof L>"u"&&(R==="loading"||R==="idle")){var X;if(d!=null&&d.isPlaceholderData&&o.placeholderData===(g==null?void 0:g.placeholderData))X=d.data;else if(X=typeof o.placeholderData=="function"?o.placeholderData():o.placeholderData,o.select&&typeof X<"u")try{X=o.select(X),o.structuralSharing!==!1&&(X=K2(d==null?void 0:d.data,X)),this.selectError=null}catch(me){Q2().error(me),this.selectError=me}typeof X<"u"&&(R="success",L=X,P=!0)}this.selectError&&($=this.selectError,L=this.selectResult,x=Date.now(),R="error");var ue={status:R,isLoading:R==="loading",isSuccess:R==="success",isError:R==="error",isIdle:R==="idle",data:L,dataUpdatedAt:E,error:$,errorUpdatedAt:x,failureCount:C.fetchFailureCount,errorUpdateCount:C.errorUpdateCount,isFetched:C.dataUpdateCount>0||C.errorUpdateCount>0,isFetchedAfterMount:C.dataUpdateCount>b.dataUpdateCount||C.errorUpdateCount>b.errorUpdateCount,isFetching:O,isRefetching:O&&R!=="loading",isLoadingError:R==="error"&&C.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:D,isRefetchError:R==="error"&&C.dataUpdatedAt!==0,isStale:yx(i,o),refetch:this.refetch,remove:this.remove};return ue},n.shouldNotifyListeners=function(i,o){if(!o)return!0;var u=this.options,c=u.notifyOnChangeProps,d=u.notifyOnChangePropsExclusions;if(!c&&!d||c==="tracked"&&!this.trackedProps.length)return!0;var h=c==="tracked"?this.trackedProps:c;return Object.keys(i).some(function(g){var y=g,b=i[y]!==o[y],v=h==null?void 0:h.some(function(E){return E===g}),C=d==null?void 0:d.some(function(E){return E===g});return b&&!C&&(!h||v)})},n.updateResult=function(i){var o=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!hk(this.currentResult,o)){var u={cache:!0};(i==null?void 0:i.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,o)&&(u.listeners=!0),this.notify(Ve({},u,i))}},n.updateQuery=function(){var i=this.client.getQueryCache().build(this.client,this.options);if(i!==this.currentQuery){var o=this.currentQuery;this.currentQuery=i,this.currentQueryInitialState=i.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(o==null||o.removeObserver(this),i.addObserver(this))}},n.onQueryUpdate=function(i){var o={};i.type==="success"?o.onSuccess=!0:i.type==="error"&&!O2(i.error)&&(o.onError=!0),this.updateResult(o),this.hasListeners()&&this.updateTimers()},n.notify=function(i){var o=this;Zn.batch(function(){i.onSuccess?(o.options.onSuccess==null||o.options.onSuccess(o.currentResult.data),o.options.onSettled==null||o.options.onSettled(o.currentResult.data,null)):i.onError&&(o.options.onError==null||o.options.onError(o.currentResult.error),o.options.onSettled==null||o.options.onSettled(void 0,o.currentResult.error)),i.listeners&&o.listeners.forEach(function(u){u(o.currentResult)}),i.cache&&o.client.getQueryCache().notify({query:o.currentQuery,type:"observerResultsUpdated"})})},e})(Cg);function Ak(t,e){return e.enabled!==!1&&!t.state.dataUpdatedAt&&!(t.state.status==="error"&&e.retryOnMount===!1)}function $O(t,e){return Ak(t,e)||t.state.dataUpdatedAt>0&&M$(t,e,e.refetchOnMount)}function M$(t,e,n){if(e.enabled!==!1){var r=typeof n=="function"?n(t):n;return r==="always"||r!==!1&&yx(t,e)}return!1}function EO(t,e,n,r){return n.enabled!==!1&&(t!==e||r.enabled===!1)&&(!n.suspense||t.state.status!=="error")&&yx(t,n)}function yx(t,e){return t.isStaleByTime(e.staleTime)}var Rk=(function(t){vp(e,t);function e(r,i){var o;return o=t.call(this)||this,o.client=r,o.setOptions(i),o.bindMethods(),o.updateResult(),o}var n=e.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(i){this.options=this.client.defaultMutationOptions(i)},n.onUnsubscribe=function(){if(!this.listeners.length){var i;(i=this.currentMutation)==null||i.removeObserver(this)}},n.onMutationUpdate=function(i){this.updateResult();var o={listeners:!0};i.type==="success"?o.onSuccess=!0:i.type==="error"&&(o.onError=!0),this.notify(o)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(i,o){return this.mutateOptions=o,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,Ve({},this.options,{variables:typeof i<"u"?i:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var i=this.currentMutation?this.currentMutation.state:T5(),o=Ve({},i,{isLoading:i.status==="loading",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=o},n.notify=function(i){var o=this;Zn.batch(function(){o.mutateOptions&&(i.onSuccess?(o.mutateOptions.onSuccess==null||o.mutateOptions.onSuccess(o.currentResult.data,o.currentResult.variables,o.currentResult.context),o.mutateOptions.onSettled==null||o.mutateOptions.onSettled(o.currentResult.data,null,o.currentResult.variables,o.currentResult.context)):i.onError&&(o.mutateOptions.onError==null||o.mutateOptions.onError(o.currentResult.error,o.currentResult.variables,o.currentResult.context),o.mutateOptions.onSettled==null||o.mutateOptions.onSettled(void 0,o.currentResult.error,o.currentResult.variables,o.currentResult.context))),i.listeners&&o.listeners.forEach(function(u){u(o.currentResult)})})},e})(Cg),yu=b5();const Pk=wf(yu);var Ik=Pk.unstable_batchedUpdates;Zn.setBatchNotifyFunction(Ik);var Nk=console;bk(Nk);var xO=Ae.createContext(void 0),O5=Ae.createContext(!1);function _5(t){return t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=xO),window.ReactQueryClientContext):xO}var Sf=function(){var e=Ae.useContext(_5(Ae.useContext(O5)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Mk=function(e){var n=e.client,r=e.contextSharing,i=r===void 0?!1:r,o=e.children;Ae.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var u=_5(i);return Ae.createElement(O5.Provider,{value:i},Ae.createElement(u.Provider,{value:n},o))};function Dk(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var kk=Ae.createContext(Dk()),Fk=function(){return Ae.useContext(kk)};function A5(t,e,n){return typeof e=="function"?e.apply(void 0,n):typeof e=="boolean"?e:!!t}function Fr(t,e,n){var r=Ae.useRef(!1),i=Ae.useState(0),o=i[1],u=ck(t,e),c=Sf(),d=Ae.useRef();d.current?d.current.setOptions(u):d.current=new Rk(c,u);var h=d.current.getCurrentResult();Ae.useEffect(function(){r.current=!0;var y=d.current.subscribe(Zn.batchCalls(function(){r.current&&o(function(b){return b+1})}));return function(){r.current=!1,y()}},[]);var g=Ae.useCallback(function(y,b){d.current.mutate(y,b).catch(yi)},[]);if(h.error&&A5(void 0,d.current.options.useErrorBoundary,[h.error]))throw h.error;return Ve({},h,{mutate:g,mutateAsync:h.mutate})}function Lk(t,e){var n=Ae.useRef(!1),r=Ae.useState(0),i=r[1],o=Sf(),u=Fk(),c=o.defaultQueryObserverOptions(t);c.optimisticResults=!0,c.onError&&(c.onError=Zn.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=Zn.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=Zn.batchCalls(c.onSettled)),c.suspense&&(typeof c.staleTime!="number"&&(c.staleTime=1e3),c.cacheTime===0&&(c.cacheTime=1)),(c.suspense||c.useErrorBoundary)&&(u.isReset()||(c.retryOnMount=!1));var d=Ae.useState(function(){return new e(o,c)}),h=d[0],g=h.getOptimisticResult(c);if(Ae.useEffect(function(){n.current=!0,u.clearReset();var y=h.subscribe(Zn.batchCalls(function(){n.current&&i(function(b){return b+1})}));return h.updateResult(),function(){n.current=!1,y()}},[u,h]),Ae.useEffect(function(){h.setOptions(c,{listeners:!1})},[c,h]),c.suspense&&g.isLoading)throw h.fetchOptimistic(c).then(function(y){var b=y.data;c.onSuccess==null||c.onSuccess(b),c.onSettled==null||c.onSettled(b,null)}).catch(function(y){u.clearReset(),c.onError==null||c.onError(y),c.onSettled==null||c.onSettled(void 0,y)});if(g.isError&&!u.isReset()&&!g.isFetching&&A5(c.suspense,c.useErrorBoundary,[g.error,h.getCurrentQuery()]))throw g.error;return c.notifyOnChangeProps==="tracked"&&(g=h.trackResult(g,c)),g}function Uo(t,e,n){var r=x2(t,e,n);return Lk(r,_k)}var Yv={exports:{}};/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */var Uk=Yv.exports,TO;function jk(){return TO||(TO=1,(function(t,e){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,g="__lodash_placeholder__",y=1,b=2,v=4,C=1,E=2,$=1,x=2,O=4,R=8,D=16,P=32,L=64,F=128,H=256,Y=512,X=30,ue="...",me=800,te=16,be=1,we=2,B=3,V=1/0,q=9007199254740991,ie=17976931348623157e292,G=NaN,J=4294967295,he=J-1,$e=J>>>1,Ce=[["ary",F],["bind",$],["bindKey",x],["curry",R],["curryRight",D],["flip",Y],["partial",P],["partialRight",L],["rearg",H]],Be="[object Arguments]",Ie="[object Array]",tt="[object AsyncFunction]",De="[object Boolean]",Ke="[object Date]",qe="[object DOMException]",ut="[object Error]",pt="[object Function]",bt="[object GeneratorFunction]",gt="[object Map]",Ut="[object Number]",Gt="[object Null]",Ot="[object Object]",tn="[object Promise]",xn="[object Proxy]",kt="[object RegExp]",Pt="[object Set]",pe="[object String]",ze="[object Symbol]",Ge="[object Undefined]",Qe="[object WeakMap]",ht="[object WeakSet]",j="[object ArrayBuffer]",A="[object DataView]",M="[object Float32Array]",Q="[object Float64Array]",re="[object Int8Array]",ge="[object Int16Array]",Ee="[object Int32Array]",rt="[object Uint8Array]",Wt="[object Uint8ClampedArray]",ae="[object Uint16Array]",ce="[object Uint32Array]",nt=/\b__p \+= '';/g,qt=/\b(__p \+=) '' \+/g,cn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,Ur=/[&<>"']/g,nn=RegExp(wt.source),er=RegExp(Ur.source),Tn=/<%-([\s\S]+?)%>/g,Fi=/<%([\s\S]+?)%>/g,la=/<%=([\s\S]+?)%>/g,Ar=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,As=/^\w*$/,to=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rs=/[\\^$.*+?()[\]{}|]/g,$i=RegExp(Rs.source),Xr=/^\s+/,no=/\s/,Li=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bo=/\{\n\/\* \[wrapped with (.+)\] \*/,In=/,? & /,Nn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,An=/[()=,{}\[\]\/\s]/,Ze=/\\(\\)?/g,Ei=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ps=/\w*$/,Ho=/^[-+]0x[0-9a-f]+$/i,ro=/^0b[01]+$/i,jr=/^\[object .+?Constructor\]$/,Oa=/^0o[0-7]+$/i,xi=/^(?:0|[1-9]\d*)$/,Ui=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_a=/($^)/,Is=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",Uf="\\u0300-\\u036f",Tp="\\ufe20-\\ufe2f",qo="\\u20d0-\\u20ff",ji=Uf+Tp+qo,Br="\\u2700-\\u27bf",Al="a-z\\xdf-\\xf6\\xf8-\\xff",Op="\\xac\\xb1\\xd7\\xf7",jf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",kg="\\u2000-\\u206f",Eu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",ca="\\ufe0e\\ufe0f",Zr=Op+jf+kg+Eu,Rl="['’]",Ns="["+Mn+"]",io="["+Zr+"]",ao="["+ji+"]",xu="\\d+",Fg="["+Br+"]",ei="["+Al+"]",Pl="[^"+Mn+Zr+xu+Br+Al+Ti+"]",Il="\\ud83c[\\udffb-\\udfff]",Bf="(?:"+ao+"|"+Il+")",zo="[^"+Mn+"]",Nl="(?:\\ud83c[\\udde6-\\uddff]){2}",Ml="[\\ud800-\\udbff][\\udc00-\\udfff]",Bi="["+Ti+"]",Dl="\\u200d",kl="(?:"+ei+"|"+Pl+")",Fl="(?:"+Bi+"|"+Pl+")",Ms="(?:"+Rl+"(?:d|ll|m|re|s|t|ve))?",_p="(?:"+Rl+"(?:D|LL|M|RE|S|T|VE))?",Hf=Bf+"?",Tu="["+ca+"]?",qf="(?:"+Dl+"(?:"+[zo,Nl,Ml].join("|")+")"+Tu+Hf+")*",Ds="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Vo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Go=Tu+Hf+qf,Ap="(?:"+[Fg,Nl,Ml].join("|")+")"+Go,zf="(?:"+[zo+ao+"?",ao,Nl,Ml,Ns].join("|")+")",Vf=RegExp(Rl,"g"),Hi=RegExp(ao,"g"),Wo=RegExp(Il+"(?="+Il+")|"+zf+Go,"g"),Ou=RegExp([Bi+"?"+ei+"+"+Ms+"(?="+[io,Bi,"$"].join("|")+")",Fl+"+"+_p+"(?="+[io,Bi+kl,"$"].join("|")+")",Bi+"?"+kl+"+"+Ms,Bi+"+"+_p,Vo,Ds,xu,Ap].join("|"),"g"),Aa=RegExp("["+Dl+Mn+ji+ca+"]"),ks=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,sn={};sn[M]=sn[Q]=sn[re]=sn[ge]=sn[Ee]=sn[rt]=sn[Wt]=sn[ae]=sn[ce]=!0,sn[Be]=sn[Ie]=sn[j]=sn[De]=sn[A]=sn[Ke]=sn[ut]=sn[pt]=sn[gt]=sn[Ut]=sn[Ot]=sn[kt]=sn[Pt]=sn[pe]=sn[Qe]=!1;var un={};un[Be]=un[Ie]=un[j]=un[A]=un[De]=un[Ke]=un[M]=un[Q]=un[re]=un[ge]=un[Ee]=un[gt]=un[Ut]=un[Ot]=un[kt]=un[Pt]=un[pe]=un[ze]=un[rt]=un[Wt]=un[ae]=un[ce]=!0,un[ut]=un[pt]=un[Qe]=!1;var Pp={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Hr={"&":"&","<":"<",">":">",'"':""","'":"'"},qi={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ll={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},so=parseFloat,Gf=parseInt,ke=typeof df=="object"&&df&&df.Object===Object&&df,He=typeof self=="object"&&self&&self.Object===Object&&self,We=ke||He||Function("return this")(),it=e&&!e.nodeType&&e,_t=it&&!0&&t&&!t.nodeType&&t,fn=_t&&_t.exports===it,Rn=fn&&ke.process,rn=(function(){try{var le=_t&&_t.require&&_t.require("util").types;return le||Rn&&Rn.binding&&Rn.binding("util")}catch{}})(),hr=rn&&rn.isArrayBuffer,Rr=rn&&rn.isDate,Ko=rn&&rn.isMap,Ip=rn&&rn.isRegExp,Ul=rn&&rn.isSet,jl=rn&&rn.isTypedArray;function qr(le,xe,Se){switch(Se.length){case 0:return le.call(xe);case 1:return le.call(xe,Se[0]);case 2:return le.call(xe,Se[0],Se[1]);case 3:return le.call(xe,Se[0],Se[1],Se[2])}return le.apply(xe,Se)}function pS(le,xe,Se,Xe){for(var yt=-1,zt=le==null?0:le.length;++yt-1}function Lg(le,xe,Se){for(var Xe=-1,yt=le==null?0:le.length;++Xe-1;);return Se}function Vl(le,xe){for(var Se=le.length;Se--&&Bl(xe,le[Se],0)>-1;);return Se}function SS(le,xe){for(var Se=le.length,Xe=0;Se--;)le[Se]===xe&&++Xe;return Xe}var Up=kp(Pp),y1=kp(Hr);function v1(le){return"\\"+Ll[le]}function qg(le,xe){return le==null?n:le[xe]}function Ls(le){return Aa.test(le)}function b1(le){return ks.test(le)}function w1(le){for(var xe,Se=[];!(xe=le.next()).done;)Se.push(xe.value);return Se}function jp(le){var xe=-1,Se=Array(le.size);return le.forEach(function(Xe,yt){Se[++xe]=[yt,Xe]}),Se}function S1(le,xe){return function(Se){return le(xe(Se))}}function Us(le,xe){for(var Se=-1,Xe=le.length,yt=0,zt=[];++Se-1}function OS(f,p){var S=this.__data__,I=Fu(S,f);return I<0?(++this.size,S.push([f,p])):S[I][1]=p,this}yo.prototype.clear=qs,yo.prototype.delete=rs,yo.prototype.get=pr,yo.prototype.has=Yp,yo.prototype.set=OS;function is(f){var p=-1,S=f==null?0:f.length;for(this.clear();++p=p?f:p)),f}function on(f,p,S,I,U,K){var ee,ne=p&y,fe=p&b,Pe=p&v;if(S&&(ee=U?S(f,I,U,K):S(f)),ee!==n)return ee;if(!Ln(f))return f;var Me=Tt(f);if(Me){if(ee=Hu(f),!ne)return ii(f,ee)}else{var je=sr(f),Ye=je==pt||je==bt;if(ou(f))return by(f,ne);if(je==Ot||je==Be||Ye&&!U){if(ee=fe||Ye?{}:Ai(f),!ne)return fe?cd(f,Qp(ee,f)):Y1(f,Vs(ee,f))}else{if(!un[je])return U?f:{};ee=J1(f,je,ne)}}K||(K=new Na);var ot=K.get(f);if(ot)return ot;K.set(f,ee),To(f)?f.forEach(function(Ct){ee.add(on(Ct,p,S,Ct,f,K))}):Db(f)&&f.forEach(function(Ct,Qt){ee.set(Qt,on(Ct,p,S,Qt,f,K))});var St=Pe?fe?hd:So:fe?si:yr,Bt=Me?n:St(f);return fa(Bt||f,function(Ct,Qt){Bt&&(Qt=Ct,Ct=f[Qt]),kn(ee,Qt,on(Ct,p,S,Qt,f,K))}),ee}function ty(f){var p=yr(f);return function(S){return Jp(S,f,p)}}function Jp(f,p,S){var I=S.length;if(f==null)return!I;for(f=Cn(f);I--;){var U=S[I],K=p[U],ee=f[U];if(ee===n&&!(U in f)||!K(ee))return!1}return!0}function ny(f,p,S){if(typeof f!="function")throw new Gi(u);return Gr(function(){f.apply(n,S)},p)}function Zl(f,p,S,I){var U=-1,K=Np,ee=!0,ne=f.length,fe=[],Pe=p.length;if(!ne)return fe;S&&(p=Dn(p,zi(S))),I?(K=Lg,ee=!1):p.length>=i&&(K=ql,ee=!1,p=new as(p));e:for(;++UU?0:U+S),I=I===n||I>U?U:Nt(I),I<0&&(I+=U),I=S>I?0:gv(I);S0&&S(ne)?p>1?or(ne,p-1,S,I,U):Yo(U,ne):I||(U[U.length]=ne)}return U}var Uu=Ey(),nd=Ey(!0);function ba(f,p){return f&&Uu(f,p,yr)}function Ma(f,p){return f&&nd(f,p,yr)}function ju(f,p){return uo(p,function(S){return gs(f[S])})}function os(f,p){p=us(p,f);for(var S=0,I=p.length;f!=null&&Sp}function N1(f,p){return f!=null&&dn.call(f,p)}function M1(f,p){return f!=null&&p in Cn(f)}function D1(f,p,S){return f>=$t(p,S)&&f=120&&Me.length>=120)?new as(ee&&Me):n}Me=f[0];var je=-1,Ye=ne[0];e:for(;++je-1;)ne!==f&&ni.call(ne,fe,1),ni.call(f,fe,1);return f}function hy(f,p){for(var S=f?p.length:0,I=S-1;S--;){var U=p[S];if(S==I||U!==K){var K=U;Ba(U)?ni.call(f,U,1):vo(f,U)}}return f}function im(f,p){return f+ya(Vp()*(p-f+1))}function PS(f,p,S,I){for(var U=-1,K=Kt(ga((p-f)/(S||1)),0),ee=Se(K);K--;)ee[I?K:++U]=f,f+=S;return ee}function od(f,p){var S="";if(!f||p<1||p>q)return S;do p%2&&(S+=f),p=ya(p/2),p&&(f+=f);while(p);return S}function Mt(f,p){return Xi(Co(f,p,ln),f+"")}function V1(f){return ey(ia(f))}function py(f,p){var S=ia(f);return yd(S,Lu(p,0,S.length))}function ic(f,p,S,I){if(!Ln(f))return f;p=us(p,f);for(var U=-1,K=p.length,ee=K-1,ne=f;ne!=null&&++UU?0:U+p),S=S>U?U:S,S<0&&(S+=U),U=p>S?0:S-p>>>0,p>>>=0;for(var K=Se(U);++I>>1,ee=f[K];ee!==null&&!ra(ee)&&(S?ee<=p:ee=i){var Pe=p?null:Xs(f);if(Pe)return Bp(Pe);ee=!1,U=ql,fe=new as}else fe=p?[]:ne;e:for(;++I=I?f:Yi(f,p,S)}var ud=pa||function(f){return We.clearTimeout(f)};function by(f,p){if(p)return f.slice();var S=f.length,I=Wg?Wg(S):new f.constructor(S);return f.copy(I),I}function ld(f){var p=new f.constructor(f.byteLength);return new Pa(p).set(new Pa(f)),p}function W1(f,p){var S=p?ld(f.buffer):f.buffer;return new f.constructor(S,f.byteOffset,f.byteLength)}function K1(f){var p=new f.constructor(f.source,Ps.exec(f));return p.lastIndex=f.lastIndex,p}function MS(f){return ts?Cn(ts.call(f)):{}}function wy(f,p){var S=p?ld(f.buffer):f.buffer;return new f.constructor(S,f.byteOffset,f.length)}function gr(f,p){if(f!==p){var S=f!==n,I=f===null,U=f===f,K=ra(f),ee=p!==n,ne=p===null,fe=p===p,Pe=ra(p);if(!ne&&!Pe&&!K&&f>p||K&&ee&&fe&&!ne&&!Pe||I&&ee&&fe||!S&&fe||!U)return 1;if(!I&&!K&&!Pe&&f=ne)return fe;var Pe=S[I];return fe*(Pe=="desc"?-1:1)}}return f.index-p.index}function Sy(f,p,S,I){for(var U=-1,K=f.length,ee=S.length,ne=-1,fe=p.length,Pe=Kt(K-ee,0),Me=Se(fe+Pe),je=!I;++ne1?S[U-1]:n,ee=U>2?S[2]:n;for(K=f.length>3&&typeof K=="function"?(U--,K):n,ee&&Ir(S[0],S[1],ee)&&(K=U<3?n:K,U=1),p=Cn(p);++I-1?U[K?p[ee]:ee]:n}}function lm(f){return wo(function(p){var S=p.length,I=S,U=Wi.prototype.thru;for(f&&p.reverse();I--;){var K=p[I];if(typeof K!="function")throw new Gi(u);if(U&&!ee&&Ua(K)=="wrapper")var ee=new Wi([],!0)}for(I=ee?I:S;++I1&&an.reverse(),Me&&fene))return!1;var Pe=K.get(f),Me=K.get(p);if(Pe&&Me)return Pe==p&&Me==f;var je=-1,Ye=!0,ot=S&E?new as:n;for(K.set(f,p),K.set(p,f);++je1?"& ":"")+p[I],p=p.join(S>2?", ":" "),f.replace(Li,`{ -/* [wrapped with `+p+`] */ -`)}function Z1(f){return Tt(f)||au(f)||!!(Pu&&f&&f[Pu])}function Ba(f,p){var S=typeof f;return p=p??q,!!p&&(S=="number"||S!="symbol"&&xi.test(f))&&f>-1&&f%1==0&&f0){if(++p>=me)return arguments[0]}else p=0;return f.apply(n,arguments)}}function yd(f,p){var S=-1,I=f.length,U=I-1;for(p=p===n?I:p;++S1?f[p-1]:n;return S=typeof S=="function"?(f.pop(),S):n,Ed(f,S)});function Wr(f){var p=z(f);return p.__chain__=!0,p}function gb(f,p){return p(f),f}function wc(f,p){return p(f)}var yb=wo(function(f){var p=f.length,S=p?f[0]:0,I=this.__wrapped__,U=function(K){return Gs(K,f)};return p>1||this.__actions__.length||!(I instanceof At)||!Ba(S)?this.thru(U):(I=I.slice(S,+S+(p?1:0)),I.__actions__.push({func:wc,args:[U],thisArg:n}),new Wi(I,this.__chain__).thru(function(K){return p&&!K.length&&K.push(n),K}))});function US(){return Wr(this)}function ps(){return new Wi(this.value(),this.__chain__)}function wm(){this.__values__===n&&(this.__values__=Lb(this.value()));var f=this.__index__>=this.__values__.length,p=f?n:this.__values__[this.__index__++];return{done:f,value:p}}function Wy(){return this}function Sc(f){for(var p,S=this;S instanceof Xf;){var I=gm(S);I.__index__=0,I.__values__=n,p?U.__wrapped__=I:p=I;var U=I;S=S.__wrapped__}return U.__wrapped__=f,p}function vb(){var f=this.__wrapped__;if(f instanceof At){var p=f;return this.__actions__.length&&(p=new At(this)),p=p.reverse(),p.__actions__.push({func:wc,args:[$n],thisArg:n}),new Wi(p,this.__chain__)}return this.thru($n)}function bb(){return am(this.__wrapped__,this.__actions__)}var wb=lc(function(f,p,S){dn.call(f,S)?++f[S]:Ki(f,S,1)});function Ky(f,p,S){var I=Tt(f)?d1:ry;return S&&Ir(f,p,S)&&(p=n),I(f,lt(p,3))}function Yy(f,p){var S=Tt(f)?uo:nr;return S(f,lt(p,3))}var jS=um(ky),BS=um(lb);function HS(f,p){return or(ms(f,p),1)}function Sb(f,p){return or(ms(f,p),V)}function Cb(f,p,S){return S=S===n?1:Nt(S),or(ms(f,p),S)}function Gu(f,p){var S=Tt(f)?fa:Ws;return S(f,lt(p,3))}function Od(f,p){var S=Tt(f)?mS:Xp;return S(f,lt(p,3))}var $b=lc(function(f,p,S){dn.call(f,S)?f[S].push(p):Ki(f,S,[p])});function Eb(f,p,S,I){f=It(f)?f:ia(f),S=S&&!I?Nt(S):0;var U=f.length;return S<0&&(S=Kt(U+S,0)),Rm(f)?S<=U&&f.indexOf(p,S)>-1:!!U&&Bl(f,p,S)>-1}var qS=Mt(function(f,p,S){var I=-1,U=typeof p=="function",K=It(f)?Se(f.length):[];return Ws(f,function(ee){K[++I]=U?qr(p,ee,S):tc(ee,p,S)}),K}),xb=lc(function(f,p,S){Ki(f,S,p)});function ms(f,p){var S=Tt(f)?Dn:rd;return S(f,lt(p,3))}function Tb(f,p,S,I){return f==null?[]:(Tt(p)||(p=p==null?[]:[p]),S=I?n:S,Tt(S)||(S=S==null?[]:[S]),cy(f,p,S))}var On=lc(function(f,p,S){f[S?0:1].push(p)},function(){return[[],[]]});function Qy(f,p,S){var I=Tt(f)?Ug:Hg,U=arguments.length<3;return I(f,lt(p,4),S,U,Ws)}function zS(f,p,S){var I=Tt(f)?gS:Hg,U=arguments.length<3;return I(f,lt(p,4),S,U,Xp)}function Ob(f,p){var S=Tt(f)?uo:nr;return S(f,Cm(lt(p,3)))}function VS(f){var p=Tt(f)?ey:V1;return p(f)}function GS(f,p,S){(S?Ir(f,p,S):p===n)?p=1:p=Nt(p);var I=Tt(f)?zs:py;return I(f,p)}function WS(f){var p=Tt(f)?Ft:NS;return p(f)}function Sm(f){if(f==null)return 0;if(It(f))return Rm(f)?lo(f):f.length;var p=sr(f);return p==gt||p==Pt?f.size:Ks(f).length}function Cc(f,p,S){var I=Tt(f)?jg:sd;return S&&Ir(f,p,S)&&(p=n),I(f,lt(p,3))}var Jy=Mt(function(f,p){if(f==null)return[];var S=p.length;return S>1&&Ir(f,p[0],p[1])?p=[]:S>2&&Ir(p[0],p[1],p[2])&&(p=[p[0]]),cy(f,or(p,1),[])}),Wu=ma||function(){return We.Date.now()};function Xy(f,p){if(typeof p!="function")throw new Gi(u);return f=Nt(f),function(){if(--f<1)return p.apply(this,arguments)}}function iu(f,p,S){return p=S?n:p,p=f&&p==null?f.length:p,La(f,F,n,n,n,n,p)}function Ha(f,p){var S;if(typeof p!="function")throw new Gi(u);return f=Nt(f),function(){return--f>0&&(S=p.apply(this,arguments)),f<=1&&(p=n),S}}var Ku=Mt(function(f,p,S){var I=$;if(S.length){var U=Us(S,Qi(Ku));I|=P}return La(f,I,p,S,U)}),_b=Mt(function(f,p,S){var I=$|x;if(S.length){var U=Us(S,Qi(_b));I|=P}return La(p,I,f,S,U)});function Zy(f,p,S){p=S?n:p;var I=La(f,R,n,n,n,n,n,p);return I.placeholder=Zy.placeholder,I}function ev(f,p,S){p=S?n:p;var I=La(f,D,n,n,n,n,n,p);return I.placeholder=ev.placeholder,I}function tv(f,p,S){var I,U,K,ee,ne,fe,Pe=0,Me=!1,je=!1,Ye=!0;if(typeof f!="function")throw new Gi(u);p=Mr(p)||0,Ln(S)&&(Me=!!S.leading,je="maxWait"in S,K=je?Kt(Mr(S.maxWait)||0,p):K,Ye="trailing"in S?!!S.trailing:Ye);function ot(vr){var bs=I,Yu=U;return I=U=n,Pe=vr,ee=f.apply(Yu,bs),ee}function St(vr){return Pe=vr,ne=Gr(Qt,p),Me?ot(vr):ee}function Bt(vr){var bs=vr-fe,Yu=vr-Pe,sO=p-bs;return je?$t(sO,K-Yu):sO}function Ct(vr){var bs=vr-fe,Yu=vr-Pe;return fe===n||bs>=p||bs<0||je&&Yu>=K}function Qt(){var vr=Wu();if(Ct(vr))return an(vr);ne=Gr(Qt,Bt(vr))}function an(vr){return ne=n,Ye&&I?ot(vr):(I=U=n,ee)}function Va(){ne!==n&&ud(ne),Pe=0,I=fe=U=ne=n}function aa(){return ne===n?ee:an(Wu())}function Ga(){var vr=Wu(),bs=Ct(vr);if(I=arguments,U=this,fe=vr,bs){if(ne===n)return St(fe);if(je)return ud(ne),ne=Gr(Qt,p),ot(fe)}return ne===n&&(ne=Gr(Qt,p)),ee}return Ga.cancel=Va,Ga.flush=aa,Ga}var KS=Mt(function(f,p){return ny(f,1,p)}),nv=Mt(function(f,p,S){return ny(f,Mr(p)||0,S)});function Ab(f){return La(f,Y)}function _d(f,p){if(typeof f!="function"||p!=null&&typeof p!="function")throw new Gi(u);var S=function(){var I=arguments,U=p?p.apply(this,I):I[0],K=S.cache;if(K.has(U))return K.get(U);var ee=f.apply(this,I);return S.cache=K.set(U,ee)||K,ee};return S.cache=new(_d.Cache||is),S}_d.Cache=is;function Cm(f){if(typeof f!="function")throw new Gi(u);return function(){var p=arguments;switch(p.length){case 0:return!f.call(this);case 1:return!f.call(this,p[0]);case 2:return!f.call(this,p[0],p[1]);case 3:return!f.call(this,p[0],p[1],p[2])}return!f.apply(this,p)}}function rv(f){return Ha(2,f)}var iv=G1(function(f,p){p=p.length==1&&Tt(p[0])?Dn(p[0],zi(lt())):Dn(or(p,1),zi(lt()));var S=p.length;return Mt(function(I){for(var U=-1,K=$t(I.length,S);++U=p}),au=k1((function(){return arguments})())?k1:function(f){return Jn(f)&&dn.call(f,"callee")&&!Kg.call(f,"callee")},Tt=Se.isArray,xm=hr?zi(hr):F1;function It(f){return f!=null&&Om(f.length)&&!gs(f)}function qn(f){return Jn(f)&&It(f)}function Nr(f){return f===!0||f===!1||Jn(f)&&zr(f)==De}var ou=T1||b3,lv=Rr?zi(Rr):L1;function cv(f){return Jn(f)&&f.nodeType===1&&!Kr(f)}function Tm(f){if(f==null)return!0;if(It(f)&&(Tt(f)||typeof f=="string"||typeof f.splice=="function"||ou(f)||za(f)||au(f)))return!f.length;var p=sr(f);if(p==gt||p==Pt)return!f.size;if(Yn(f))return!Ks(f).length;for(var S in f)if(dn.call(f,S))return!1;return!0}function Nb(f,p){return nc(f,p)}function Mb(f,p,S){S=typeof S=="function"?S:n;var I=S?S(f,p):n;return I===n?nc(f,p,n,S):!!I}function Pd(f){if(!Jn(f))return!1;var p=zr(f);return p==ut||p==qe||typeof f.message=="string"&&typeof f.name=="string"&&!Kr(f)}function fv(f){return typeof f=="number"&&zp(f)}function gs(f){if(!Ln(f))return!1;var p=zr(f);return p==pt||p==bt||p==tt||p==xn}function dv(f){return typeof f=="number"&&f==Nt(f)}function Om(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=q}function Ln(f){var p=typeof f;return f!=null&&(p=="object"||p=="function")}function Jn(f){return f!=null&&typeof f=="object"}var Db=Ko?zi(Ko):U1;function hv(f,p){return f===p||nm(f,p,md(p))}function pv(f,p,S){return S=typeof S=="function"?S:n,nm(f,p,md(p),S)}function XS(f){return mv(f)&&f!=+f}function ZS(f){if(eb(f))throw new yt(o);return oy(f)}function qa(f){return f===null}function kb(f){return f==null}function mv(f){return typeof f=="number"||Jn(f)&&zr(f)==Ut}function Kr(f){if(!Jn(f)||zr(f)!=Ot)return!1;var p=Au(f);if(p===null)return!0;var S=dn.call(p,"constructor")&&p.constructor;return typeof S=="function"&&S instanceof S&&Kf.call(S)==Wl}var _m=Ip?zi(Ip):j1;function Am(f){return dv(f)&&f>=-q&&f<=q}var To=Ul?zi(Ul):B1;function Rm(f){return typeof f=="string"||!Tt(f)&&Jn(f)&&zr(f)==pe}function ra(f){return typeof f=="symbol"||Jn(f)&&zr(f)==ze}var za=jl?zi(jl):RS;function Fb(f){return f===n}function e3(f){return Jn(f)&&sr(f)==Qe}function t3(f){return Jn(f)&&zr(f)==ht}var n3=dc(rc),r3=dc(function(f,p){return f<=p});function Lb(f){if(!f)return[];if(It(f))return Rm(f)?da(f):ii(f);if(fo&&f[fo])return w1(f[fo]());var p=sr(f),S=p==gt?jp:p==Pt?Bp:ia;return S(f)}function ys(f){if(!f)return f===0?f:0;if(f=Mr(f),f===V||f===-V){var p=f<0?-1:1;return p*ie}return f===f?f:0}function Nt(f){var p=ys(f),S=p%1;return p===p?S?p-S:p:0}function gv(f){return f?Lu(Nt(f),0,J):0}function Mr(f){if(typeof f=="number")return f;if(ra(f))return G;if(Ln(f)){var p=typeof f.valueOf=="function"?f.valueOf():f;f=Ln(p)?p+"":p}if(typeof f!="string")return f===0?f:+f;f=g1(f);var S=ro.test(f);return S||Oa.test(f)?Gf(f.slice(2),S?2:8):Ho.test(f)?G:+f}function Ec(f){return Da(f,si(f))}function Ub(f){return f?Lu(Nt(f),-q,q):f===0?f:0}function pn(f){return f==null?"":Kn(f)}var xc=Bu(function(f,p){if(Yn(p)||It(p)){Da(p,yr(p),f);return}for(var S in p)dn.call(p,S)&&kn(f,S,p[S])}),Tc=Bu(function(f,p){Da(p,si(p),f)}),Id=Bu(function(f,p,S,I){Da(p,si(p),f,I)}),Pm=Bu(function(f,p,S,I){Da(p,yr(p),f,I)}),yv=wo(Gs);function vv(f,p){var S=ns(f);return p==null?S:Vs(S,p)}var Im=Mt(function(f,p){f=Cn(f);var S=-1,I=p.length,U=I>2?p[2]:n;for(U&&Ir(p[0],p[1],U)&&(I=1);++S1),K}),Da(f,hd(f),S),I&&(S=on(S,y|b|v,dm));for(var U=p.length;U--;)vo(S,p[U]);return S});function c3(f,p){return Mm(f,Cm(lt(p)))}var Cv=wo(function(f,p){return f==null?{}:fy(f,p)});function Mm(f,p){if(f==null)return{};var S=Dn(hd(f),function(I){return[I]});return p=lt(p),dy(f,S,function(I,U){return p(I,U[0])})}function Dm(f,p,S){p=us(p,f);var I=-1,U=p.length;for(U||(U=1,f=n);++Ip){var I=f;f=p,p=I}if(S||f%1||p%1){var U=Vp();return $t(f+U*(p-f+so("1e-"+((U+"").length-1))),p)}return im(f,p)}var Kb=Qs(function(f,p,S){return p=p.toLowerCase(),f+(S?Ud(p):p)});function Ud(f){return Et(pn(f).toLowerCase())}function Ev(f){return f=pn(f),f&&f.replace(Ui,Up).replace(Hi,"")}function h3(f,p,S){f=pn(f),p=Kn(p);var I=f.length;S=S===n?I:Lu(Nt(S),0,I);var U=S;return S-=p.length,S>=0&&f.slice(S,U)==p}function Fm(f){return f=pn(f),f&&er.test(f)?f.replace(Ur,y1):f}function Lm(f){return f=pn(f),f&&$i.test(f)?f.replace(Rs,"\\$&"):f}var Yb=Qs(function(f,p,S){return f+(S?"-":"")+p.toLowerCase()}),jd=Qs(function(f,p,S){return f+(S?" ":"")+p.toLowerCase()}),xv=sm("toLowerCase");function Um(f,p,S){f=pn(f),p=Nt(p);var I=p?lo(f):0;if(!p||I>=p)return f;var U=(p-I)/2;return fc(ya(U),S)+f+fc(ga(U),S)}function Qb(f,p,S){f=pn(f),p=Nt(p);var I=p?lo(f):0;return p&&I>>0,S?(f=pn(f),f&&(typeof p=="string"||p!=null&&!_m(p))&&(p=Kn(p),!p&&Ls(f))?ls(da(f),0,S):f.split(p,S)):[]}var w=Qs(function(f,p,S){return f+(S?" ":"")+Et(p)});function T(f,p,S){return f=pn(f),S=S==null?0:Lu(Nt(S),0,f.length),p=Kn(p),f.slice(S,S+p.length)==p}function k(f,p,S){var I=z.templateSettings;S&&Ir(f,p,S)&&(p=n),f=pn(f),p=Id({},p,I,fm);var U=Id({},p.imports,I.imports,fm),K=yr(U),ee=Lp(U,K),ne,fe,Pe=0,Me=p.interpolate||_a,je="__p += '",Ye=Qo((p.escape||_a).source+"|"+Me.source+"|"+(Me===la?Ei:_a).source+"|"+(p.evaluate||_a).source+"|$","g"),ot="//# sourceURL="+(dn.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` -`;f.replace(Ye,function(Ct,Qt,an,Va,aa,Ga){return an||(an=Va),je+=f.slice(Pe,Ga).replace(Is,v1),Qt&&(ne=!0,je+=`' + -__e(`+Qt+`) + -'`),aa&&(fe=!0,je+=`'; -`+aa+`; -__p += '`),an&&(je+=`' + -((__t = (`+an+`)) == null ? '' : __t) + -'`),Pe=Ga+Ct.length,Ct}),je+=`'; -`;var St=dn.call(p,"variable")&&p.variable;if(!St)je=`with (obj) { -`+je+` -} -`;else if(An.test(St))throw new yt(c);je=(fe?je.replace(nt,""):je).replace(qt,"$1").replace(cn,"$1;"),je="function("+(St||"obj")+`) { -`+(St?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(fe?`, __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -`:`; -`)+je+`return __p -}`;var Bt=de(function(){return zt(K,ot+"return "+je).apply(n,ee)});if(Bt.source=je,Pd(Bt))throw Bt;return Bt}function W(f){return pn(f).toLowerCase()}function Z(f){return pn(f).toUpperCase()}function se(f,p,S){if(f=pn(f),f&&(S||p===n))return g1(f);if(!f||!(p=Kn(p)))return f;var I=da(f),U=da(p),K=zl(I,U),ee=Vl(I,U)+1;return ls(I,K,ee).join("")}function _e(f,p,S){if(f=pn(f),f&&(S||p===n))return f.slice(0,zg(f)+1);if(!f||!(p=Kn(p)))return f;var I=da(f),U=Vl(I,da(p))+1;return ls(I,0,U).join("")}function Le(f,p,S){if(f=pn(f),f&&(S||p===n))return f.replace(Xr,"");if(!f||!(p=Kn(p)))return f;var I=da(f),U=zl(I,da(p));return ls(I,U).join("")}function ve(f,p){var S=X,I=ue;if(Ln(p)){var U="separator"in p?p.separator:U;S="length"in p?Nt(p.length):S,I="omission"in p?Kn(p.omission):I}f=pn(f);var K=f.length;if(Ls(f)){var ee=da(f);K=ee.length}if(S>=K)return f;var ne=S-lo(I);if(ne<1)return I;var fe=ee?ls(ee,0,ne).join(""):f.slice(0,ne);if(U===n)return fe+I;if(ee&&(ne+=fe.length-ne),_m(U)){if(f.slice(ne).search(U)){var Pe,Me=fe;for(U.global||(U=Qo(U.source,pn(Ps.exec(U))+"g")),U.lastIndex=0;Pe=U.exec(Me);)var je=Pe.index;fe=fe.slice(0,je===n?ne:je)}}else if(f.indexOf(Kn(U),ne)!=ne){var Ye=fe.lastIndexOf(U);Ye>-1&&(fe=fe.slice(0,Ye))}return fe+I}function Te(f){return f=pn(f),f&&nn.test(f)?f.replace(wt,C1):f}var at=Qs(function(f,p,S){return f+(S?" ":"")+p.toUpperCase()}),Et=sm("toUpperCase");function zn(f,p,S){return f=pn(f),p=S?n:p,p===n?b1(f)?ES(f):bS(f):f.match(p)||[]}var de=Mt(function(f,p){try{return qr(f,n,p)}catch(S){return Pd(S)?S:new yt(S)}}),oe=wo(function(f,p){return fa(p,function(S){S=ai(S),Ki(f,S,Ku(f[S],f))}),f});function ye(f){var p=f==null?0:f.length,S=lt();return f=p?Dn(f,function(I){if(typeof I[1]!="function")throw new Gi(u);return[S(I[0]),I[1]]}):[],Mt(function(I){for(var U=-1;++Uq)return[];var S=J,I=$t(f,J);p=lt(p),f-=J;for(var U=Fs(I,p);++S0||p<0)?new At(S):(f<0?S=S.takeRight(-f):f&&(S=S.drop(f)),p!==n&&(p=Nt(p),S=p<0?S.dropRight(-p):S.take(p-f)),S)},At.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},At.prototype.toArray=function(){return this.take(J)},ba(At.prototype,function(f,p){var S=/^(?:filter|find|map|reject)|While$/.test(p),I=/^(?:head|last)$/.test(p),U=z[I?"take"+(p=="last"?"Right":""):p],K=I||/^find/.test(p);U&&(z.prototype[p]=function(){var ee=this.__wrapped__,ne=I?[1]:arguments,fe=ee instanceof At,Pe=ne[0],Me=fe||Tt(ee),je=function(Qt){var an=U.apply(z,Yo([Qt],ne));return I&&Ye?an[0]:an};Me&&S&&typeof Pe=="function"&&Pe.length!=1&&(fe=Me=!1);var Ye=this.__chain__,ot=!!this.__actions__.length,St=K&&!Ye,Bt=fe&&!ot;if(!K&&Me){ee=Bt?ee:new At(this);var Ct=f.apply(ee,ne);return Ct.__actions__.push({func:wc,args:[je],thisArg:n}),new Wi(Ct,Ye)}return St&&Bt?f.apply(this,ne):(Ct=this.thru(je),St?I?Ct.value()[0]:Ct.value():Ct)})}),fa(["pop","push","shift","sort","splice","unshift"],function(f){var p=Wf[f],S=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",I=/^(?:pop|shift)$/.test(f);z.prototype[f]=function(){var U=arguments;if(I&&!this.__chain__){var K=this.value();return p.apply(Tt(K)?K:[],U)}return this[S](function(ee){return p.apply(Tt(ee)?ee:[],U)})}}),ba(At.prototype,function(f,p){var S=z[p];if(S){var I=S.name+"";dn.call(js,I)||(js[I]=[]),js[I].push({name:p,func:S})}}),js[fd(n,x).name]=[{name:"wrapper",func:n}],At.prototype.clone=R1,At.prototype.reverse=Yl,At.prototype.value=Kp,z.prototype.at=yb,z.prototype.chain=US,z.prototype.commit=ps,z.prototype.next=wm,z.prototype.plant=Sc,z.prototype.reverse=vb,z.prototype.toJSON=z.prototype.valueOf=z.prototype.value=bb,z.prototype.first=z.prototype.head,fo&&(z.prototype[fo]=Wy),z}),Ra=xS();_t?((_t.exports=Ra)._=Ra,it._=Ra):We._=Ra}).call(Uk)})(Yv,Yv.exports)),Yv.exports}var Sr=jk();function Ta(t){var n,r,i,o,u,c,d,h;const e={};if(t.error&&Array.isArray((n=t.error)==null?void 0:n.errors))for(const g of(r=t.error)==null?void 0:r.errors)Sr.set(e,g.location,g.messageTranslated||g.message);return t.status&&t.ok===!1?{form:`${t.status}`}:((i=t==null?void 0:t.error)!=null&&i.code&&(e.form=(o=t==null?void 0:t.error)==null?void 0:o.code),(u=t==null?void 0:t.error)!=null&&u.message&&(e.form=(c=t==null?void 0:t.error)==null?void 0:c.message),(d=t==null?void 0:t.error)!=null&&d.messageTranslated&&(e.form=(h=t==null?void 0:t.error)==null?void 0:h.messageTranslated),t.message?{form:`${t.message}`}:e)}const ar=t=>(e,n,r)=>{const i=t.prefix+n;return fetch(i,{method:e,headers:{Accept:"application/json","Content-Type":"application/json",...t.headers||{}},body:JSON.stringify(r)}).then(o=>{const u=o.headers.get("content-type");if(u&&u.indexOf("application/json")!==-1)return o.json().then(c=>{if(o.ok)return c;throw c});throw o})};var Bk=function(e){return Hk(e)&&!qk(e)};function Hk(t){return!!t&&typeof t=="object"}function qk(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Gk(t)}var zk=typeof Symbol=="function"&&Symbol.for,Vk=zk?Symbol.for("react.element"):60103;function Gk(t){return t.$$typeof===Vk}function Wk(t){return Array.isArray(t)?[]:{}}function J2(t,e){return e.clone!==!1&&e.isMergeableObject(t)?d0(Wk(t),t,e):t}function Kk(t,e,n){return t.concat(e).map(function(r){return J2(r,n)})}function Yk(t,e,n){var r={};return n.isMergeableObject(t)&&Object.keys(t).forEach(function(i){r[i]=J2(t[i],n)}),Object.keys(e).forEach(function(i){!n.isMergeableObject(e[i])||!t[i]?r[i]=J2(e[i],n):r[i]=d0(t[i],e[i],n)}),r}function d0(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Kk,n.isMergeableObject=n.isMergeableObject||Bk;var r=Array.isArray(e),i=Array.isArray(t),o=r===i;return o?r?n.arrayMerge(t,e,n):Yk(t,e,n):J2(e,n)}d0.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return d0(r,i,n)},{})};var D$=d0,R5=typeof global=="object"&&global&&global.Object===Object&&global,Qk=typeof self=="object"&&self&&self.Object===Object&&self,Cu=R5||Qk||Function("return this")(),yf=Cu.Symbol,P5=Object.prototype,Jk=P5.hasOwnProperty,Xk=P5.toString,_v=yf?yf.toStringTag:void 0;function Zk(t){var e=Jk.call(t,_v),n=t[_v];try{t[_v]=void 0;var r=!0}catch{}var i=Xk.call(t);return r&&(e?t[_v]=n:delete t[_v]),i}var eF=Object.prototype,tF=eF.toString;function nF(t){return tF.call(t)}var rF="[object Null]",iF="[object Undefined]",OO=yf?yf.toStringTag:void 0;function bp(t){return t==null?t===void 0?iF:rF:OO&&OO in Object(t)?Zk(t):nF(t)}function I5(t,e){return function(n){return t(e(n))}}var vx=I5(Object.getPrototypeOf,Object);function wp(t){return t!=null&&typeof t=="object"}var aF="[object Object]",oF=Function.prototype,sF=Object.prototype,N5=oF.toString,uF=sF.hasOwnProperty,lF=N5.call(Object);function _O(t){if(!wp(t)||bp(t)!=aF)return!1;var e=vx(t);if(e===null)return!0;var n=uF.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&N5.call(n)==lF}function cF(){this.__data__=[],this.size=0}function M5(t,e){return t===e||t!==t&&e!==e}function Rw(t,e){for(var n=t.length;n--;)if(M5(t[n][0],e))return n;return-1}var fF=Array.prototype,dF=fF.splice;function hF(t){var e=this.__data__,n=Rw(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():dF.call(e,n,1),--this.size,!0}function pF(t){var e=this.__data__,n=Rw(e,t);return n<0?void 0:e[n][1]}function mF(t){return Rw(this.__data__,t)>-1}function gF(t,e){var n=this.__data__,r=Rw(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Cl(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=gL}var yL="[object Arguments]",vL="[object Array]",bL="[object Boolean]",wL="[object Date]",SL="[object Error]",CL="[object Function]",$L="[object Map]",EL="[object Number]",xL="[object Object]",TL="[object RegExp]",OL="[object Set]",_L="[object String]",AL="[object WeakMap]",RL="[object ArrayBuffer]",PL="[object DataView]",IL="[object Float32Array]",NL="[object Float64Array]",ML="[object Int8Array]",DL="[object Int16Array]",kL="[object Int32Array]",FL="[object Uint8Array]",LL="[object Uint8ClampedArray]",UL="[object Uint16Array]",jL="[object Uint32Array]",Gn={};Gn[IL]=Gn[NL]=Gn[ML]=Gn[DL]=Gn[kL]=Gn[FL]=Gn[LL]=Gn[UL]=Gn[jL]=!0;Gn[yL]=Gn[vL]=Gn[RL]=Gn[bL]=Gn[PL]=Gn[wL]=Gn[SL]=Gn[CL]=Gn[$L]=Gn[EL]=Gn[xL]=Gn[TL]=Gn[OL]=Gn[_L]=Gn[AL]=!1;function BL(t){return wp(t)&&B5(t.length)&&!!Gn[bp(t)]}function bx(t){return function(e){return t(e)}}var H5=typeof Xa=="object"&&Xa&&!Xa.nodeType&&Xa,n0=H5&&typeof Za=="object"&&Za&&!Za.nodeType&&Za,HL=n0&&n0.exports===H5,O3=HL&&R5.process,mg=(function(){try{var t=n0&&n0.require&&n0.require("util").types;return t||O3&&O3.binding&&O3.binding("util")}catch{}})(),MO=mg&&mg.isTypedArray,qL=MO?bx(MO):BL,zL=Object.prototype,VL=zL.hasOwnProperty;function q5(t,e){var n=Q0(t),r=!n&&lL(t),i=!n&&!r&&j5(t),o=!n&&!r&&!i&&qL(t),u=n||r||i||o,c=u?aL(t.length,String):[],d=c.length;for(var h in t)(e||VL.call(t,h))&&!(u&&(h=="length"||i&&(h=="offset"||h=="parent")||o&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||mL(h,d)))&&c.push(h);return c}var GL=Object.prototype;function wx(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||GL;return t===n}var WL=I5(Object.keys,Object),KL=Object.prototype,YL=KL.hasOwnProperty;function QL(t){if(!wx(t))return WL(t);var e=[];for(var n in Object(t))YL.call(t,n)&&n!="constructor"&&e.push(n);return e}function z5(t){return t!=null&&B5(t.length)&&!D5(t)}function Sx(t){return z5(t)?q5(t):QL(t)}function JL(t,e){return t&&Iw(e,Sx(e),t)}function XL(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var ZL=Object.prototype,eU=ZL.hasOwnProperty;function tU(t){if(!Y0(t))return XL(t);var e=wx(t),n=[];for(var r in t)r=="constructor"&&(e||!eU.call(t,r))||n.push(r);return n}function Cx(t){return z5(t)?q5(t,!0):tU(t)}function nU(t,e){return t&&Iw(e,Cx(e),t)}var V5=typeof Xa=="object"&&Xa&&!Xa.nodeType&&Xa,DO=V5&&typeof Za=="object"&&Za&&!Za.nodeType&&Za,rU=DO&&DO.exports===V5,kO=rU?Cu.Buffer:void 0,FO=kO?kO.allocUnsafe:void 0;function iU(t,e){if(e)return t.slice();var n=t.length,r=FO?FO(n):new t.constructor(n);return t.copy(r),r}function G5(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n=0)&&(n[i]=t[i]);return n}var Nw=_.createContext(void 0);Nw.displayName="FormikContext";var Gj=Nw.Provider;Nw.Consumer;function Wj(){var t=_.useContext(Nw);return t}var Ao=function(e){return typeof e=="function"},Mw=function(e){return e!==null&&typeof e=="object"},Kj=function(e){return String(Math.floor(Number(e)))===e},P3=function(e){return Object.prototype.toString.call(e)==="[object String]"},Yj=function(e){return _.Children.count(e)===0},I3=function(e){return Mw(e)&&Ao(e.then)};function Ka(t,e,n,r){r===void 0&&(r=0);for(var i=n9(e);t&&r=0?[]:{}}}return(o===0?t:i)[u[o]]===n?t:(n===void 0?delete i[u[o]]:i[u[o]]=n,o===0&&n===void 0&&delete r[u[o]],r)}function i9(t,e,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(t);i0?ze.map(function(Qe){return X(Qe,Ka(pe,Qe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ge).then(function(Qe){return Qe.reduce(function(ht,j,A){return j==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||j&&(ht=ap(ht,ze[A],j)),ht},{})})},[X]),me=_.useCallback(function(pe){return Promise.all([ue(pe),b.validationSchema?Y(pe):{},b.validate?H(pe):{}]).then(function(ze){var Ge=ze[0],Qe=ze[1],ht=ze[2],j=D$.all([Ge,Qe,ht],{arrayMerge:eB});return j})},[b.validate,b.validationSchema,ue,H,Y]),te=Oo(function(pe){return pe===void 0&&(pe=L.values),F({type:"SET_ISVALIDATING",payload:!0}),me(pe).then(function(ze){return x.current&&(F({type:"SET_ISVALIDATING",payload:!1}),F({type:"SET_ERRORS",payload:ze})),ze})});_.useEffect(function(){u&&x.current===!0&&Vh(v.current,b.initialValues)&&te(v.current)},[u,te]);var be=_.useCallback(function(pe){var ze=pe&&pe.values?pe.values:v.current,Ge=pe&&pe.errors?pe.errors:C.current?C.current:b.initialErrors||{},Qe=pe&&pe.touched?pe.touched:E.current?E.current:b.initialTouched||{},ht=pe&&pe.status?pe.status:$.current?$.current:b.initialStatus;v.current=ze,C.current=Ge,E.current=Qe,$.current=ht;var j=function(){F({type:"RESET_FORM",payload:{isSubmitting:!!pe&&!!pe.isSubmitting,errors:Ge,touched:Qe,status:ht,values:ze,isValidating:!!pe&&!!pe.isValidating,submitCount:pe&&pe.submitCount&&typeof pe.submitCount=="number"?pe.submitCount:0}})};if(b.onReset){var A=b.onReset(L.values,bt);I3(A)?A.then(j):j()}else j()},[b.initialErrors,b.initialStatus,b.initialTouched,b.onReset]);_.useEffect(function(){x.current===!0&&!Vh(v.current,b.initialValues)&&h&&(v.current=b.initialValues,be(),u&&te(v.current))},[h,b.initialValues,be,u,te]),_.useEffect(function(){h&&x.current===!0&&!Vh(C.current,b.initialErrors)&&(C.current=b.initialErrors||Bd,F({type:"SET_ERRORS",payload:b.initialErrors||Bd}))},[h,b.initialErrors]),_.useEffect(function(){h&&x.current===!0&&!Vh(E.current,b.initialTouched)&&(E.current=b.initialTouched||Xb,F({type:"SET_TOUCHED",payload:b.initialTouched||Xb}))},[h,b.initialTouched]),_.useEffect(function(){h&&x.current===!0&&!Vh($.current,b.initialStatus)&&($.current=b.initialStatus,F({type:"SET_STATUS",payload:b.initialStatus}))},[h,b.initialStatus,b.initialTouched]);var we=Oo(function(pe){if(O.current[pe]&&Ao(O.current[pe].validate)){var ze=Ka(L.values,pe),Ge=O.current[pe].validate(ze);return I3(Ge)?(F({type:"SET_ISVALIDATING",payload:!0}),Ge.then(function(Qe){return Qe}).then(function(Qe){F({type:"SET_FIELD_ERROR",payload:{field:pe,value:Qe}}),F({type:"SET_ISVALIDATING",payload:!1})})):(F({type:"SET_FIELD_ERROR",payload:{field:pe,value:Ge}}),Promise.resolve(Ge))}else if(b.validationSchema)return F({type:"SET_ISVALIDATING",payload:!0}),Y(L.values,pe).then(function(Qe){return Qe}).then(function(Qe){F({type:"SET_FIELD_ERROR",payload:{field:pe,value:Ka(Qe,pe)}}),F({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),B=_.useCallback(function(pe,ze){var Ge=ze.validate;O.current[pe]={validate:Ge}},[]),V=_.useCallback(function(pe){delete O.current[pe]},[]),q=Oo(function(pe,ze){F({type:"SET_TOUCHED",payload:pe});var Ge=ze===void 0?i:ze;return Ge?te(L.values):Promise.resolve()}),ie=_.useCallback(function(pe){F({type:"SET_ERRORS",payload:pe})},[]),G=Oo(function(pe,ze){var Ge=Ao(pe)?pe(L.values):pe;F({type:"SET_VALUES",payload:Ge});var Qe=ze===void 0?n:ze;return Qe?te(Ge):Promise.resolve()}),J=_.useCallback(function(pe,ze){F({type:"SET_FIELD_ERROR",payload:{field:pe,value:ze}})},[]),he=Oo(function(pe,ze,Ge){F({type:"SET_FIELD_VALUE",payload:{field:pe,value:ze}});var Qe=Ge===void 0?n:Ge;return Qe?te(ap(L.values,pe,ze)):Promise.resolve()}),$e=_.useCallback(function(pe,ze){var Ge=ze,Qe=pe,ht;if(!P3(pe)){pe.persist&&pe.persist();var j=pe.target?pe.target:pe.currentTarget,A=j.type,M=j.name,Q=j.id,re=j.value,ge=j.checked;j.outerHTML;var Ee=j.options,rt=j.multiple;Ge=ze||M||Q,Qe=/number|range/.test(A)?(ht=parseFloat(re),isNaN(ht)?"":ht):/checkbox/.test(A)?nB(Ka(L.values,Ge),ge,re):Ee&&rt?tB(Ee):re}Ge&&he(Ge,Qe)},[he,L.values]),Ce=Oo(function(pe){if(P3(pe))return function(ze){return $e(ze,pe)};$e(pe)}),Be=Oo(function(pe,ze,Ge){ze===void 0&&(ze=!0),F({type:"SET_FIELD_TOUCHED",payload:{field:pe,value:ze}});var Qe=Ge===void 0?i:Ge;return Qe?te(L.values):Promise.resolve()}),Ie=_.useCallback(function(pe,ze){pe.persist&&pe.persist();var Ge=pe.target,Qe=Ge.name,ht=Ge.id;Ge.outerHTML;var j=ze||Qe||ht;Be(j,!0)},[Be]),tt=Oo(function(pe){if(P3(pe))return function(ze){return Ie(ze,pe)};Ie(pe)}),De=_.useCallback(function(pe){Ao(pe)?F({type:"SET_FORMIK_STATE",payload:pe}):F({type:"SET_FORMIK_STATE",payload:function(){return pe}})},[]),Ke=_.useCallback(function(pe){F({type:"SET_STATUS",payload:pe})},[]),qe=_.useCallback(function(pe){F({type:"SET_ISSUBMITTING",payload:pe})},[]),ut=Oo(function(){return F({type:"SUBMIT_ATTEMPT"}),te().then(function(pe){var ze=pe instanceof Error,Ge=!ze&&Object.keys(pe).length===0;if(Ge){var Qe;try{if(Qe=gt(),Qe===void 0)return}catch(ht){throw ht}return Promise.resolve(Qe).then(function(ht){return x.current&&F({type:"SUBMIT_SUCCESS"}),ht}).catch(function(ht){if(x.current)throw F({type:"SUBMIT_FAILURE"}),ht})}else if(x.current&&(F({type:"SUBMIT_FAILURE"}),ze))throw pe})}),pt=Oo(function(pe){pe&&pe.preventDefault&&Ao(pe.preventDefault)&&pe.preventDefault(),pe&&pe.stopPropagation&&Ao(pe.stopPropagation)&&pe.stopPropagation(),ut().catch(function(ze){console.warn("Warning: An unhandled error was caught from submitForm()",ze)})}),bt={resetForm:be,validateForm:te,validateField:we,setErrors:ie,setFieldError:J,setFieldTouched:Be,setFieldValue:he,setStatus:Ke,setSubmitting:qe,setTouched:q,setValues:G,setFormikState:De,submitForm:ut},gt=Oo(function(){return g(L.values,bt)}),Ut=Oo(function(pe){pe&&pe.preventDefault&&Ao(pe.preventDefault)&&pe.preventDefault(),pe&&pe.stopPropagation&&Ao(pe.stopPropagation)&&pe.stopPropagation(),be()}),Gt=_.useCallback(function(pe){return{value:Ka(L.values,pe),error:Ka(L.errors,pe),touched:!!Ka(L.touched,pe),initialValue:Ka(v.current,pe),initialTouched:!!Ka(E.current,pe),initialError:Ka(C.current,pe)}},[L.errors,L.touched,L.values]),Ot=_.useCallback(function(pe){return{setValue:function(Ge,Qe){return he(pe,Ge,Qe)},setTouched:function(Ge,Qe){return Be(pe,Ge,Qe)},setError:function(Ge){return J(pe,Ge)}}},[he,Be,J]),tn=_.useCallback(function(pe){var ze=Mw(pe),Ge=ze?pe.name:pe,Qe=Ka(L.values,Ge),ht={name:Ge,value:Qe,onChange:Ce,onBlur:tt};if(ze){var j=pe.type,A=pe.value,M=pe.as,Q=pe.multiple;j==="checkbox"?A===void 0?ht.checked=!!Qe:(ht.checked=!!(Array.isArray(Qe)&&~Qe.indexOf(A)),ht.value=A):j==="radio"?(ht.checked=Qe===A,ht.value=A):M==="select"&&Q&&(ht.value=ht.value||[],ht.multiple=!0)}return ht},[tt,Ce,L.values]),xn=_.useMemo(function(){return!Vh(v.current,L.values)},[v.current,L.values]),kt=_.useMemo(function(){return typeof c<"u"?xn?L.errors&&Object.keys(L.errors).length===0:c!==!1&&Ao(c)?c(b):c:L.errors&&Object.keys(L.errors).length===0},[c,xn,L.errors,b]),Pt=Yr({},L,{initialValues:v.current,initialErrors:C.current,initialTouched:E.current,initialStatus:$.current,handleBlur:tt,handleChange:Ce,handleReset:Ut,handleSubmit:pt,resetForm:be,setErrors:ie,setFormikState:De,setFieldTouched:Be,setFieldValue:he,setFieldError:J,setStatus:Ke,setSubmitting:qe,setTouched:q,setValues:G,submitForm:ut,validateForm:te,validateField:we,isValid:kt,dirty:xn,unregisterField:V,registerField:B,getFieldProps:tn,getFieldMeta:Gt,getFieldHelpers:Ot,validateOnBlur:i,validateOnChange:n,validateOnMount:u});return Pt}function Jj(t){var e=$l(t),n=t.component,r=t.children,i=t.render,o=t.innerRef;return _.useImperativeHandle(o,function(){return e}),_.createElement(Gj,{value:e},n?_.createElement(n,e):i?i(e):r?Ao(r)?r(e):Yj(r)?null:_.Children.only(r):null)}function Xj(t){var e={};if(t.inner){if(t.inner.length===0)return ap(e,t.path,t.message);for(var i=t.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var u=o;Ka(e,u.path)||(e=ap(e,u.path,u.message))}}return e}function Zj(t,e,n,r){n===void 0&&(n=!1);var i=j$(t);return e[n?"validateSync":"validate"](i,{abortEarly:!1,context:i})}function j$(t){var e=Array.isArray(t)?[]:{};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=String(n);Array.isArray(t[r])===!0?e[r]=t[r].map(function(i){return Array.isArray(i)===!0||_O(i)?j$(i):i!==""?i:void 0}):_O(t[r])?e[r]=j$(t[r]):e[r]=t[r]!==""?t[r]:void 0}return e}function eB(t,e,n){var r=t.slice();return e.forEach(function(o,u){if(typeof r[u]>"u"){var c=n.clone!==!1,d=c&&n.isMergeableObject(o);r[u]=d?D$(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[u]=D$(t[u],o,n):t.indexOf(o)===-1&&r.push(o)}),r}function tB(t){return Array.from(t).filter(function(e){return e.selected}).map(function(e){return e.value})}function nB(t,e,n){if(typeof t=="boolean")return!!e;var r=[],i=!1,o=-1;if(Array.isArray(t))r=t,o=t.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return!!e;return e&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var rB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?_.useLayoutEffect:_.useEffect;function Oo(t){var e=_.useRef(t);return rB(function(){e.current=t}),_.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i(t.NewEntity="new_entity",t.SidebarToggle="sidebarToggle",t.NewChildEntity="new_child_entity",t.EditEntity="edit_entity",t.ViewQuestions="view_questions",t.ExportTable="export_table",t.CommonBack="common_back",t.StopStart="StopStart",t.Delete="delete",t.Select1Index="select1_index",t.Select2Index="select2_index",t.Select3Index="select3_index",t.Select4Index="select4_index",t.Select5Index="select5_index",t.Select6Index="select6_index",t.Select7Index="select7_index",t.Select8Index="select8_index",t.Select9Index="select9_index",t.ToggleLock="l",t))(jn||{});function aB(t,e){const n=Sr.flatMapDeep(e,(r,i,o)=>{let u=[],c=i;if(r&&typeof r=="object"&&!r.value){const d=Object.keys(r);if(d.length)for(let h of d)u.push({name:`${c}.${h}`,filter:r[h]})}else u.push({name:c,filter:r});return u});return t.filter((r,i)=>{for(let o of n){const u=Sr.get(r,o.name);if(u)switch(o.filter.operation){case"equal":if(u!==o.filter.value)return!1;break;case"contains":if(!u.includes(o.filter.value))return!1;break;case"notContains":if(u.includes(o.filter.value))return!1;break;case"endsWith":if(!u.endsWith(o.filter.value))return!1;break;case"startsWith":if(!u.startsWith(o.filter.value))return!1;break;case"greaterThan":if(uo.filter.value)return!1;break;case"lessThanOrEqual":if(u>=o.filter.value)return!1;break;case"notEqual":if(u===o.filter.value)return!1;break}}return!0})}async function $f(t,e,n){let r=t.toString(),i=e||{},o,u=fetch;return n&&([r,i]=await n.apply(r,i),n.fetchOverrideFn&&(u=n.fetchOverrideFn)),o=await u(r,i),n&&(o=await n.handle(o)),o}function oB(t){return typeof t=="function"&&t.prototype&&t.prototype.constructor===t}async function Ef(t,e,n,r){const i=t.headers.get("content-type")||"",o=t.headers.get("content-disposition")||"";if(i.includes("text/event-stream"))return sB(t,n,r);if(o.includes("attachment")||!i.includes("json")&&!i.startsWith("text/"))t.result=t.body;else if(i.includes("application/json")){const u=await t.json();e?oB(e)?t.result=new e(u):t.result=e(u):t.result=u}else t.result=await t.text();return{done:Promise.resolve(),response:t}}const sB=(t,e,n)=>{if(!t.body)throw new Error("SSE requires readable body");const r=t.body.getReader(),i=new TextDecoder;let o="";const u=new Promise((c,d)=>{function h(){r.read().then(({done:g,value:y})=>{if(n!=null&&n.aborted)return r.cancel(),c();if(g)return c();o+=i.decode(y,{stream:!0});const b=o.split(` - -`);o=b.pop()||"";for(const v of b){let C="",E="message";if(v.split(` -`).forEach($=>{$.startsWith("data:")?C+=$.slice(5).trim():$.startsWith("event:")&&(E=$.slice(6).trim())}),C){if(C==="[DONE]")return c();e==null||e(new MessageEvent(E,{data:C}))}}h()}).catch(g=>{g.name==="AbortError"?c():d(g)})}h()});return{response:t,done:u}};class Ox{constructor(e="",n={},r,i,o=null){this.baseUrl=e,this.defaultHeaders=n,this.requestInterceptor=r,this.responseInterceptor=i,this.fetchOverrideFn=o}async apply(e,n){return/^https?:\/\//.test(e)||(e=this.baseUrl+e),n.headers={...this.defaultHeaders,...n.headers||{}},this.requestInterceptor?this.requestInterceptor(e,n):[e,n]}async handle(e){return this.responseInterceptor?this.responseInterceptor(e):e}clone(e){return new Ox((e==null?void 0:e.baseUrl)??this.baseUrl,{...this.defaultHeaders,...(e==null?void 0:e.defaultHeaders)||{}},(e==null?void 0:e.requestInterceptor)??this.requestInterceptor,(e==null?void 0:e.responseInterceptor)??this.responseInterceptor)}}var uB={VITE_REMOTE_SERVICE:"/",PUBLIC_URL:"/selfservice/",VITE_DEFAULT_ROUTE:"/{locale}/passports",VITE_SUPPORTED_LANGUAGES:"fa,en"};const Av=uB,wi={REMOTE_SERVICE:Av.VITE_REMOTE_SERVICE,PUBLIC_URL:Av.PUBLIC_URL,DEFAULT_ROUTE:Av.VITE_DEFAULT_ROUTE,SUPPORTED_LANGUAGES:Av.VITE_SUPPORTED_LANGUAGES,FORCED_LOCALE:Av.VITE_FORCED_LOCALE};var Hd={},_c={},Bm={},r4;function lB(){if(r4)return Bm;r4=1,Bm.__esModule=!0,Bm.getAllMatches=t,Bm.escapeRegExp=e,Bm.escapeSource=n;function t(r,i){for(var o=void 0,u=[];o=r.exec(i);)u.push(o);return u}function e(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function n(r){return e(r).replace(/\/+/g,"/+")}return Bm}var cu={},i4;function cB(){if(i4)return cu;i4=1,cu.__esModule=!0,cu.string=t,cu.greedySplat=e,cu.splat=n,cu.any=r,cu.int=i,cu.uuid=o,cu.createRule=u;function t(){var c=arguments.length<=0||arguments[0]===void 0?{}:arguments[0],d=c.maxLength,h=c.minLength,g=c.length;return u({validate:function(b){return!(d&&b.length>d||h&&b.lengthd||h&&v=H.length)break;Y=H[F++]}else{if(F=H.next(),F.done)break;Y=F.value}var X=Y[0],ue=Y[1],me=void 0;ue?me=$[ue]||n.string():X=="**"?(me=n.greedySplat(),ue="splat"):X=="*"?(me=n.splat(),ue="splat"):X==="("?D+="(?:":X===")"?D+=")?":D+=e.escapeSource(X),ue&&(D+=me.regex,R.push({paramName:ue,rule:me})),O.push(X)}var te=O[O.length-1]!=="*",be=te?"":"$";return D=new RegExp("^"+D+"/*"+be,"i"),{tokens:O,regexpSource:D,params:R,paramNames:R.map(function(we){return we.paramName})}}function d(C,E){return C.every(function($,x){return E[x].rule.validate($)})}function h(C){return typeof C=="string"&&(C={pattern:C,rules:{}}),i.default(C.pattern,"you cannot use an empty route pattern"),C.rules=C.rules||{},C}function g(C){return C=h(C),o[C.pattern]||(o[C.pattern]=c(C)),o[C.pattern]}function y(C,E){E.charAt(0)!=="/"&&(E="/"+E);var $=g(C),x=$.regexpSource,O=$.params,R=$.paramNames,D=E.match(x);if(D!=null){var P=E.slice(D[0].length);if(!(P[0]=="/"||D[0][D[0].length])){var L=D.slice(1).map(function(F){return F!=null?decodeURIComponent(F):F});if(d(L,O))return L=L.map(function(F,H){return O[H].rule.convert(F)}),{remainingPathname:P,paramValues:L,paramNames:R}}}}function b(C,E){E=E||{};for(var $=g(C),x=$.tokens,O=0,R="",D=0,P=void 0,L=void 0,F=void 0,H=0,Y=x.length;H0,'Missing splat #%s for path "%s"',D,C.pattern),F!=null&&(R+=encodeURI(F))):P==="("?O+=1:P===")"?O-=1:P.charAt(0)===":"?(L=P.substring(1),F=E[L],i.default(F!=null||O>0,'Missing "%s" parameter for path "%s"',L,C.pattern),F!=null&&(R+=encodeURIComponent(F))):R+=P;return R.replace(/\/+/g,"/")}function v(C,E){var $=y(C,E)||{},x=$.paramNames,O=$.paramValues,R=[];if(!x)return null;for(var D=0;D1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(gB(this,e),r=yB(this,e,[n]),r.originalRequest=o,r.originalResponse=u,r.causingError=i,i!=null&&(n+=", caused by ".concat(i.toString())),o!=null){var c=o.getHeader("X-Request-ID")||"n/a",d=o.getMethod(),h=o.getURL(),g=u?u.getStatus():"n/a",y=u?u.getBody()||"":"n/a";n+=", originated from request (method: ".concat(d,", url: ").concat(h,", response code: ").concat(g,", response text: ").concat(y,", request id: ").concat(c,")")}return r.message=n,r}return wB(e,t),mB(e)})(H$(Error));function y0(t){"@babel/helpers - typeof";return y0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y0(t)}function $B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function EB(t,e){for(var n=0;n{let e={};return t.forEach((n,r)=>e[n]=r),e})(Qv),PB=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,vi=String.fromCharCode.bind(String),c4=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),o9=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),s9=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),u9=t=>{let e,n,r,i,o="";const u=t.length%3;for(let c=0;c255||(r=t.charCodeAt(c++))>255||(i=t.charCodeAt(c++))>255)throw new TypeError("invalid character found");e=n<<16|r<<8|i,o+=Qv[e>>18&63]+Qv[e>>12&63]+Qv[e>>6&63]+Qv[e&63]}return u?o.slice(0,u-3)+"===".substring(u):o},Ax=typeof btoa=="function"?t=>btoa(t):Eg?t=>Buffer.from(t,"binary").toString("base64"):u9,q$=Eg?t=>Buffer.from(t).toString("base64"):t=>{let n=[];for(let r=0,i=t.length;re?o9(q$(t)):q$(t),IB=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?vi(192|e>>>6)+vi(128|e&63):vi(224|e>>>12&15)+vi(128|e>>>6&63)+vi(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return vi(240|e>>>18&7)+vi(128|e>>>12&63)+vi(128|e>>>6&63)+vi(128|e&63)}},NB=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l9=t=>t.replace(NB,IB),f4=Eg?t=>Buffer.from(t,"utf8").toString("base64"):l4?t=>q$(l4.encode(t)):t=>Ax(l9(t)),ug=(t,e=!1)=>e?o9(f4(t)):f4(t),d4=t=>ug(t,!0),MB=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,DB=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return vi((n>>>10)+55296)+vi((n&1023)+56320);case 3:return vi((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return vi((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},c9=t=>t.replace(MB,DB),f9=t=>{if(t=t.replace(/\s+/g,""),!PB.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(t.length&3));let e,n="",r,i;for(let o=0;o>16&255):i===64?vi(e>>16&255,e>>8&255):vi(e>>16&255,e>>8&255,e&255);return n},Rx=typeof atob=="function"?t=>atob(s9(t)):Eg?t=>Buffer.from(t,"base64").toString("binary"):f9,d9=Eg?t=>c4(Buffer.from(t,"base64")):t=>c4(Rx(t).split("").map(e=>e.charCodeAt(0))),h9=t=>d9(p9(t)),kB=Eg?t=>Buffer.from(t,"base64").toString("utf8"):u4?t=>u4.decode(d9(t)):t=>c9(Rx(t)),p9=t=>s9(t.replace(/[-_]/g,e=>e=="-"?"+":"/")),z$=t=>kB(p9(t)),FB=t=>{if(typeof t!="string")return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},m9=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),g9=function(){const t=(e,n)=>Object.defineProperty(String.prototype,e,m9(n));t("fromBase64",function(){return z$(this)}),t("toBase64",function(e){return ug(this,e)}),t("toBase64URI",function(){return ug(this,!0)}),t("toBase64URL",function(){return ug(this,!0)}),t("toUint8Array",function(){return h9(this)})},y9=function(){const t=(e,n)=>Object.defineProperty(Uint8Array.prototype,e,m9(n));t("toBase64",function(e){return _2(this,e)}),t("toBase64URI",function(){return _2(this,!0)}),t("toBase64URL",function(){return _2(this,!0)})},LB=()=>{g9(),y9()},UB={version:a9,VERSION:AB,atob:Rx,atobPolyfill:f9,btoa:Ax,btoaPolyfill:u9,fromBase64:z$,toBase64:ug,encode:ug,encodeURI:d4,encodeURL:d4,utob:l9,btou:c9,decode:z$,isValid:FB,fromUint8Array:_2,toUint8Array:h9,extendString:g9,extendUint8Array:y9,extendBuiltins:LB};var M3,h4;function jB(){return h4||(h4=1,M3=function(e,n){if(n=n.split(":")[0],e=+e,!e)return!1;switch(n){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}),M3}var t2={},p4;function BB(){if(p4)return t2;p4=1;var t=Object.prototype.hasOwnProperty,e;function n(u){try{return decodeURIComponent(u.replace(/\+/g," "))}catch{return null}}function r(u){try{return encodeURIComponent(u)}catch{return null}}function i(u){for(var c=/([^=?#&]+)=?([^&]*)/g,d={},h;h=c.exec(u);){var g=n(h[1]),y=n(h[2]);g===null||y===null||g in d||(d[g]=y)}return d}function o(u,c){c=c||"";var d=[],h,g;typeof c!="string"&&(c="?");for(g in u)if(t.call(u,g)){if(h=u[g],!h&&(h===null||h===e||isNaN(h))&&(h=""),g=r(g),h=r(h),g===null||h===null)continue;d.push(g+"="+h)}return d.length?c+d.join("&"):""}return t2.stringify=o,t2.parse=i,t2}var D3,m4;function HB(){if(m4)return D3;m4=1;var t=jB(),e=BB(),n=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,r=/[\n\r\t]/g,i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,o=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function d(O){return(O||"").toString().replace(n,"")}var h=[["#","hash"],["?","query"],function(R,D){return b(D.protocol)?R.replace(/\\/g,"/"):R},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],g={hash:1,query:1};function y(O){var R;typeof window<"u"?R=window:typeof df<"u"?R=df:typeof self<"u"?R=self:R={};var D=R.location||{};O=O||D;var P={},L=typeof O,F;if(O.protocol==="blob:")P=new E(unescape(O.pathname),{});else if(L==="string"){P=new E(O,{});for(F in g)delete P[F]}else if(L==="object"){for(F in O)F in g||(P[F]=O[F]);P.slashes===void 0&&(P.slashes=i.test(O.href))}return P}function b(O){return O==="file:"||O==="ftp:"||O==="http:"||O==="https:"||O==="ws:"||O==="wss:"}function v(O,R){O=d(O),O=O.replace(r,""),R=R||{};var D=u.exec(O),P=D[1]?D[1].toLowerCase():"",L=!!D[2],F=!!D[3],H=0,Y;return L?F?(Y=D[2]+D[3]+D[4],H=D[2].length+D[3].length):(Y=D[2]+D[4],H=D[2].length):F?(Y=D[3]+D[4],H=D[3].length):Y=D[4],P==="file:"?H>=2&&(Y=Y.slice(2)):b(P)?Y=D[4]:P?L&&(Y=Y.slice(2)):H>=2&&b(R.protocol)&&(Y=D[4]),{protocol:P,slashes:L||b(P),slashesCount:H,rest:Y}}function C(O,R){if(O==="")return R;for(var D=(R||"/").split("/").slice(0,-1).concat(O.split("/")),P=D.length,L=D[P-1],F=!1,H=0;P--;)D[P]==="."?D.splice(P,1):D[P]===".."?(D.splice(P,1),H++):H&&(P===0&&(F=!0),D.splice(P,1),H--);return F&&D.unshift(""),(L==="."||L==="..")&&D.push(""),D.join("/")}function E(O,R,D){if(O=d(O),O=O.replace(r,""),!(this instanceof E))return new E(O,R,D);var P,L,F,H,Y,X,ue=h.slice(),me=typeof R,te=this,be=0;for(me!=="object"&&me!=="string"&&(D=R,R=null),D&&typeof D!="function"&&(D=e.parse),R=y(R),L=v(O||"",R),P=!L.protocol&&!L.slashes,te.slashes=L.slashes||P&&R.slashes,te.protocol=L.protocol||R.protocol||"",O=L.rest,(L.protocol==="file:"&&(L.slashesCount!==2||c.test(O))||!L.slashes&&(L.protocol||L.slashesCount<2||!b(te.protocol)))&&(ue[3]=[/(.*)/,"pathname"]);be=0;--G){var J=this.tryEntries[G],he=J.completion;if(J.tryLoc==="root")return ie("end");if(J.tryLoc<=this.prev){var $e=r.call(J,"catchLoc"),Ce=r.call(J,"finallyLoc");if($e&&Ce){if(this.prev=0;--ie){var G=this.tryEntries[ie];if(G.tryLoc<=this.prev&&r.call(G,"finallyLoc")&&this.prev=0;--q){var ie=this.tryEntries[q];if(ie.finallyLoc===V)return this.complete(ie.completion,ie.afterLoc),te(ie),$}},catch:function(V){for(var q=this.tryEntries.length-1;q>=0;--q){var ie=this.tryEntries[q];if(ie.tryLoc===V){var G=ie.completion;if(G.type==="throw"){var J=G.arg;te(ie)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,q,ie){return this.delegate={iterator:we(V),resultName:q,nextLoc:ie},this.method==="next"&&(this.arg=t),$}},e}function g4(t,e,n,r,i,o,u){try{var c=t[o](u),d=c.value}catch(h){n(h);return}c.done?e(d):Promise.resolve(d).then(r,i)}function GB(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function u(d){g4(o,r,i,u,c,"next",d)}function c(d){g4(o,r,i,u,c,"throw",d)}u(void 0)})}}function v9(t,e){return YB(t)||KB(t,e)||b9(t,e)||WB()}function WB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KB(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,o,u,c=[],d=!0,h=!1;try{if(o=(n=n.call(t)).next,e!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==e);d=!0);}catch(g){h=!0,i=g}finally{try{if(!d&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(h)throw i}}return c}}function YB(t){if(Array.isArray(t))return t}function cp(t){"@babel/helpers - typeof";return cp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cp(t)}function QB(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=b9(t))||e){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(h){throw h},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,u=!1,c;return{s:function(){n=n.call(t)},n:function(){var h=n.next();return o=h.done,h},e:function(h){u=!0,c=h},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(u)throw c}}}}function b9(t,e){if(t){if(typeof t=="string")return y4(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y4(t,e)}}function y4(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1)for(var o=0,u=["uploadUrl","uploadSize","uploadLengthDeferred"];o1||n._parallelUploadUrls!=null?n._startParallelUpload():n._startSingleUpload()}).catch(function(d){n._emitError(d)})}},{key:"_startParallelUpload",value:function(){var n,r=this,i=this._size,o=0;this._parallelUploads=[];var u=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,c=(n=this.options.parallelUploadBoundaries)!==null&&n!==void 0?n:rH(this._source.size,u);this._parallelUploadUrls&&c.forEach(function(g,y){g.uploadUrl=r._parallelUploadUrls[y]||null}),this._parallelUploadUrls=new Array(c.length);var d=c.map(function(g,y){var b=0;return r._source.slice(g.start,g.end).then(function(v){var C=v.value;return new Promise(function(E,$){var x=Hm(Hm({},r.options),{},{uploadUrl:g.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:r.options.metadataForPartialUploads,headers:Hm(Hm({},r.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:E,onError:$,onProgress:function(D){o=o-b+D,b=D,r._emitProgress(o,i)},onUploadUrlAvailable:function(){r._parallelUploadUrls[y]=O.url,r._parallelUploadUrls.filter(function(D){return!!D}).length===c.length&&r._saveUploadInUrlStorage()}}),O=new t(C,x);O.start(),r._parallelUploads.push(O)})})}),h;Promise.all(d).then(function(){h=r._openRequest("POST",r.options.endpoint),h.setHeader("Upload-Concat","final;".concat(r._parallelUploadUrls.join(" ")));var g=w4(r.options.metadata);return g!==""&&h.setHeader("Upload-Metadata",g),r._sendRequest(h,null)}).then(function(g){if(!Jm(g.getStatus(),200)){r._emitHttpError(h,g,"tus: unexpected response while creating upload");return}var y=g.getHeader("Location");if(y==null){r._emitHttpError(h,g,"tus: invalid or missing Location header");return}r.url=E4(r.options.endpoint,y),"Created upload at ".concat(r.url),r._emitSuccess(g)}).catch(function(g){r._emitError(g)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){"Resuming upload from previous URL: ".concat(this.url),this._resumeUpload();return}if(this.options.uploadUrl!=null){"Resuming upload from provided URL: ".concat(this.options.uploadUrl),this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(n){var r=this;if(this._parallelUploads!=null){var i=QB(this._parallelUploads),o;try{for(i.s();!(o=i.n()).done;){var u=o.value;u.abort(n)}}catch(c){i.e(c)}finally{i.f()}}return this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!n||this.url==null?Promise.resolve():t.terminate(this.url,this.options).then(function(){return r._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(n,r,i,o){this._emitError(new Zb(i,o,n,r))}},{key:"_emitError",value:function(n){var r=this;if(!this._aborted){if(this.options.retryDelays!=null){var i=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(i&&(this._retryAttempt=0),$4(n,this._retryAttempt,this.options)){var o=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){r.start()},o);return}}if(typeof this.options.onError=="function")this.options.onError(n);else throw n}}},{key:"_emitSuccess",value:function(n){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess({lastResponse:n})}},{key:"_emitProgress",value:function(n,r){typeof this.options.onProgress=="function"&&this.options.onProgress(n,r)}},{key:"_emitChunkComplete",value:function(n,r,i){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(n,r,i)}},{key:"_createUpload",value:function(){var n=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var r=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?r.setHeader("Upload-Defer-Length","1"):r.setHeader("Upload-Length","".concat(this._size));var i=w4(this.options.metadata);i!==""&&r.setHeader("Upload-Metadata",i);var o;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,o=this._addChunkToRequest(r)):((this.options.protocol===R2||this.options.protocol===Jv)&&r.setHeader("Upload-Complete","?0"),o=this._sendRequest(r,null)),o.then(function(u){if(!Jm(u.getStatus(),200)){n._emitHttpError(r,u,"tus: unexpected response while creating upload");return}var c=u.getHeader("Location");if(c==null){n._emitHttpError(r,u,"tus: invalid or missing Location header");return}if(n.url=E4(n.options.endpoint,c),"Created upload at ".concat(n.url),typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._size===0){n._emitSuccess(u),n._source.close();return}n._saveUploadInUrlStorage().then(function(){n.options.uploadDataDuringCreation?n._handleUploadResponse(r,u):(n._offset=0,n._performUpload())})}).catch(function(u){n._emitHttpError(r,null,"tus: failed to create upload",u)})}},{key:"_resumeUpload",value:function(){var n=this,r=this._openRequest("HEAD",this.url),i=this._sendRequest(r,null);i.then(function(o){var u=o.getStatus();if(!Jm(u,200)){if(u===423){n._emitHttpError(r,o,"tus: upload is currently locked; retry later");return}if(Jm(u,400)&&n._removeFromUrlStorage(),!n.options.endpoint){n._emitHttpError(r,o,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}n.url=null,n._createUpload();return}var c=Number.parseInt(o.getHeader("Upload-Offset"),10);if(Number.isNaN(c)){n._emitHttpError(r,o,"tus: invalid or missing offset value");return}var d=Number.parseInt(o.getHeader("Upload-Length"),10);if(Number.isNaN(d)&&!n.options.uploadLengthDeferred&&n.options.protocol===A2){n._emitHttpError(r,o,"tus: invalid or missing length value");return}typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._saveUploadInUrlStorage().then(function(){if(c===d){n._emitProgress(d,d),n._emitSuccess(o);return}n._offset=c,n._performUpload()})}).catch(function(o){n._emitHttpError(r,null,"tus: failed to resume upload",o)})}},{key:"_performUpload",value:function(){var n=this;if(!this._aborted){var r;this.options.overridePatchMethod?(r=this._openRequest("POST",this.url),r.setHeader("X-HTTP-Method-Override","PATCH")):r=this._openRequest("PATCH",this.url),r.setHeader("Upload-Offset","".concat(this._offset));var i=this._addChunkToRequest(r);i.then(function(o){if(!Jm(o.getStatus(),200)){n._emitHttpError(r,o,"tus: unexpected response while uploading chunk");return}n._handleUploadResponse(r,o)}).catch(function(o){n._aborted||n._emitHttpError(r,null,"tus: failed to upload chunk at offset ".concat(n._offset),o)})}}},{key:"_addChunkToRequest",value:function(n){var r=this,i=this._offset,o=this._offset+this.options.chunkSize;return n.setProgressHandler(function(u){r._emitProgress(i+u,r._size)}),this.options.protocol===A2?n.setHeader("Content-Type","application/offset+octet-stream"):this.options.protocol===Jv&&n.setHeader("Content-Type","application/partial-upload"),(o===Number.POSITIVE_INFINITY||o>this._size)&&!this.options.uploadLengthDeferred&&(o=this._size),this._source.slice(i,o).then(function(u){var c=u.value,d=u.done,h=c!=null&&c.size?c.size:0;r.options.uploadLengthDeferred&&d&&(r._size=r._offset+h,n.setHeader("Upload-Length","".concat(r._size)));var g=r._offset+h;return!r.options.uploadLengthDeferred&&d&&g!==r._size?Promise.reject(new Error("upload was configured with a size of ".concat(r._size," bytes, but the source is done after ").concat(g," bytes"))):c===null?r._sendRequest(n):((r.options.protocol===R2||r.options.protocol===Jv)&&n.setHeader("Upload-Complete",d?"?1":"?0"),r._emitProgress(r._offset,r._size),r._sendRequest(n,c))})}},{key:"_handleUploadResponse",value:function(n,r){var i=Number.parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(i)){this._emitHttpError(n,r,"tus: invalid or missing offset value");return}if(this._emitProgress(i,this._size),this._emitChunkComplete(i-this._offset,i,this._size),this._offset=i,i===this._size){this._emitSuccess(r),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(n,r){var i=S4(n,r,this.options);return this._req=i,i}},{key:"_removeFromUrlStorage",value:function(){var n=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(r){n._emitError(r)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var n=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var r={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?r.parallelUploadUrls=this._parallelUploadUrls:r.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,r).then(function(i){n._urlStorageKey=i})}},{key:"_sendRequest",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return C4(n,r,this.options)}}],[{key:"terminate",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=S4("DELETE",n,r);return C4(i,null,r).then(function(o){if(o.getStatus()!==204)throw new Zb("tus: unexpected response while terminating upload",null,i,o)}).catch(function(o){if(o instanceof Zb||(o=new Zb("tus: failed to terminate upload",o,i,null)),!$4(o,0,r))throw o;var u=r.retryDelays[0],c=r.retryDelays.slice(1),d=Hm(Hm({},r),{},{retryDelays:c});return new Promise(function(h){return setTimeout(h,u)}).then(function(){return t.terminate(n,d)})})}}])})();function w4(t){return Object.entries(t).map(function(e){var n=v9(e,2),r=n[0],i=n[1];return"".concat(r," ").concat(UB.encode(String(i)))}).join(",")}function Jm(t,e){return t>=e&&t=n.retryDelays.length||t.originalRequest==null?!1:n&&typeof n.onShouldRetry=="function"?n.onShouldRetry(t,e,n):S9(t)}function S9(t){var e=t.originalResponse?t.originalResponse.getStatus():0;return(!Jm(e,400)||e===409||e===423)&&nH()}function E4(t,e){return new zB(e,t).toString()}function rH(t,e){for(var n=Math.floor(t/e),r=[],i=0;i=this.size;return Promise.resolve({value:i,done:o})}},{key:"close",value:function(){}}])})();function b0(t){"@babel/helpers - typeof";return b0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b0(t)}function dH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hH(t,e){for(var n=0;nthis._bufferOffset&&(this._buffer=this._buffer.slice(n-this._bufferOffset),this._bufferOffset=n);var i=T4(this._buffer)===0;return this._done&&i?null:this._buffer.slice(0,r-n)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])})();function fp(t){"@babel/helpers - typeof";return fp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fp(t)}function W$(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */W$=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(B,V,q){B[V]=q.value},o=typeof Symbol=="function"?Symbol:{},u=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",d=o.toStringTag||"@@toStringTag";function h(B,V,q){return Object.defineProperty(B,V,{value:q,enumerable:!0,configurable:!0,writable:!0}),B[V]}try{h({},"")}catch{h=function(q,ie,G){return q[ie]=G}}function g(B,V,q,ie){var G=V&&V.prototype instanceof x?V:x,J=Object.create(G.prototype),he=new be(ie||[]);return i(J,"_invoke",{value:X(B,q,he)}),J}function y(B,V,q){try{return{type:"normal",arg:B.call(V,q)}}catch(ie){return{type:"throw",arg:ie}}}e.wrap=g;var b="suspendedStart",v="suspendedYield",C="executing",E="completed",$={};function x(){}function O(){}function R(){}var D={};h(D,u,function(){return this});var P=Object.getPrototypeOf,L=P&&P(P(we([])));L&&L!==n&&r.call(L,u)&&(D=L);var F=R.prototype=x.prototype=Object.create(D);function H(B){["next","throw","return"].forEach(function(V){h(B,V,function(q){return this._invoke(V,q)})})}function Y(B,V){function q(G,J,he,$e){var Ce=y(B[G],B,J);if(Ce.type!=="throw"){var Be=Ce.arg,Ie=Be.value;return Ie&&fp(Ie)=="object"&&r.call(Ie,"__await")?V.resolve(Ie.__await).then(function(tt){q("next",tt,he,$e)},function(tt){q("throw",tt,he,$e)}):V.resolve(Ie).then(function(tt){Be.value=tt,he(Be)},function(tt){return q("throw",tt,he,$e)})}$e(Ce.arg)}var ie;i(this,"_invoke",{value:function(J,he){function $e(){return new V(function(Ce,Be){q(J,he,Ce,Be)})}return ie=ie?ie.then($e,$e):$e()}})}function X(B,V,q){var ie=b;return function(G,J){if(ie===C)throw Error("Generator is already running");if(ie===E){if(G==="throw")throw J;return{value:t,done:!0}}for(q.method=G,q.arg=J;;){var he=q.delegate;if(he){var $e=ue(he,q);if($e){if($e===$)continue;return $e}}if(q.method==="next")q.sent=q._sent=q.arg;else if(q.method==="throw"){if(ie===b)throw ie=E,q.arg;q.dispatchException(q.arg)}else q.method==="return"&&q.abrupt("return",q.arg);ie=C;var Ce=y(B,V,q);if(Ce.type==="normal"){if(ie=q.done?E:v,Ce.arg===$)continue;return{value:Ce.arg,done:q.done}}Ce.type==="throw"&&(ie=E,q.method="throw",q.arg=Ce.arg)}}}function ue(B,V){var q=V.method,ie=B.iterator[q];if(ie===t)return V.delegate=null,q==="throw"&&B.iterator.return&&(V.method="return",V.arg=t,ue(B,V),V.method==="throw")||q!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+q+"' method")),$;var G=y(ie,B.iterator,V.arg);if(G.type==="throw")return V.method="throw",V.arg=G.arg,V.delegate=null,$;var J=G.arg;return J?J.done?(V[B.resultName]=J.value,V.next=B.nextLoc,V.method!=="return"&&(V.method="next",V.arg=t),V.delegate=null,$):J:(V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,$)}function me(B){var V={tryLoc:B[0]};1 in B&&(V.catchLoc=B[1]),2 in B&&(V.finallyLoc=B[2],V.afterLoc=B[3]),this.tryEntries.push(V)}function te(B){var V=B.completion||{};V.type="normal",delete V.arg,B.completion=V}function be(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(me,this),this.reset(!0)}function we(B){if(B||B===""){var V=B[u];if(V)return V.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var q=-1,ie=function G(){for(;++q=0;--G){var J=this.tryEntries[G],he=J.completion;if(J.tryLoc==="root")return ie("end");if(J.tryLoc<=this.prev){var $e=r.call(J,"catchLoc"),Ce=r.call(J,"finallyLoc");if($e&&Ce){if(this.prev=0;--ie){var G=this.tryEntries[ie];if(G.tryLoc<=this.prev&&r.call(G,"finallyLoc")&&this.prev=0;--q){var ie=this.tryEntries[q];if(ie.finallyLoc===V)return this.complete(ie.completion,ie.afterLoc),te(ie),$}},catch:function(V){for(var q=this.tryEntries.length-1;q>=0;--q){var ie=this.tryEntries[q];if(ie.tryLoc===V){var G=ie.completion;if(G.type==="throw"){var J=G.arg;te(ie)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,q,ie){return this.delegate={iterator:we(V),resultName:q,nextLoc:ie},this.method==="next"&&(this.arg=t),$}},e}function O4(t,e,n,r,i,o,u){try{var c=t[o](u),d=c.value}catch(h){n(h);return}c.done?e(d):Promise.resolve(d).then(r,i)}function bH(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function u(d){O4(o,r,i,u,c,"next",d)}function c(d){O4(o,r,i,u,c,"throw",d)}u(void 0)})}}function wH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SH(t,e){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(i,o){n._xhr.onload=function(){i(new MH(n._xhr))},n._xhr.onerror=function(u){o(u)},n._xhr.send(r)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})(),MH=(function(){function t(e){Px(this,t),this._xhr=e}return Ix(t,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(n){return this._xhr.getResponseHeader(n)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})();function S0(t){"@babel/helpers - typeof";return S0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S0(t)}function DH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kH(t,e){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return HH(this,e),r=Xm(Xm({},R4),r),VH(this,e,[n,r])}return KH(e,t),zH(e,null,[{key:"terminate",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return i=Xm(Xm({},R4),i),X2.terminate(r,i)}}])})(X2);const en=Ae.createContext({setSession(t){},options:{}});class XH{async setItem(e,n){return localStorage.setItem(e,n)}async getItem(e){return localStorage.getItem(e)}async removeItem(e){return localStorage.removeItem(e)}}async function ZH(t,e,n){n.setItem("fb_microservice_"+t,JSON.stringify(e))}function eq(t,e,n){n.setItem("fb_selected_workspace_"+t,JSON.stringify(e))}async function tq(t,e){let n=null;try{n=JSON.parse(await e.getItem("fb_microservice_"+t))}catch{}return n}async function nq(t,e){let n=null;try{n=JSON.parse(await e.getItem("fb_selected_workspace_"+t))}catch{}return n}function rq({children:t,remote:e,selectedUrw:n,identifier:r,token:i,preferredAcceptLanguage:o,queryClient:u,defaultExecFn:c,socketEnabled:d,socket:h,credentialStorage:g,prefix:y}){var V;const[b,v]=_.useState(!1),[C,E]=_.useState(),[$,x]=_.useState(""),[O,R]=_.useState(),D=_.useRef(g||new XH),P=async()=>{const q=await nq(r,D.current),ie=await tq(r,D.current);R(q),E(ie),v(!0)};_.useEffect(()=>{P()},[]);const[L,F]=_.useState([]),[H,Y]=_.useState(c),X=!!C,ue=q=>{eq(r,q,D.current),R(q)},me=q=>{E(()=>(ZH(r,q,D.current),q))},te={headers:{authorization:i||(C==null?void 0:C.token)},prefix:($||e)+(y||"")};if(O)te.headers["workspace-id"]=O.workspaceId,te.headers["role-id"]=O.roleId;else if(n)te.headers["workspace-id"]=n.workspaceId,te.headers["role-id"]=n.roleId;else if(C!=null&&C.userWorkspaces&&C.userWorkspaces.length>0){const q=C.userWorkspaces[0];te.headers["workspace-id"]=q.workspaceId,te.headers["role-id"]=q.roleId}o&&(te.headers["accept-language"]=o),_.useEffect(()=>{i&&E({...C||{},token:i})},[i]);const be=()=>{var q;E(null),(q=D.current)==null||q.removeItem("fb_microservice_"+r),ue(void 0)},we=()=>{F([])},{socketState:B}=iq(e,(V=te.headers)==null?void 0:V.authorization,te.headers["workspace-id"],u,d);return N.jsx(en.Provider,{value:{options:te,signout:be,setOverrideRemoteUrl:x,overrideRemoteUrl:$,setSession:me,socketState:B,checked:b,selectedUrw:O,selectUrw:ue,session:C,preferredAcceptLanguage:o,activeUploads:L,setActiveUploads:F,execFn:H,setExecFn:Y,discardActiveUploads:we,isAuthenticated:X},children:t})}function iq(t,e,n,r,i=!0){const[o,u]=_.useState({state:"unknown"});return _.useEffect(()=>{if(!t||!e||e==="undefined"||i===!1)return;const c=t.replace("https","wss").replace("http","ws");let d;try{d=new WebSocket(`${c}ws?token=${e}&workspaceId=${n}`),d.onerror=function(h){u({state:"error"})},d.onclose=function(h){u({state:"closed"})},d.onmessage=function(h){try{const g=JSON.parse(h.data);g!=null&&g.cacheKey&&r.invalidateQueries(g==null?void 0:g.cacheKey)}catch{console.error("Socket message parsing error",h)}},d.onopen=function(h){u({state:"connected"})}}catch{}return()=>{(d==null?void 0:d.readyState)===1&&d.close()}},[e,n]),{socketState:o}}function Jr(t){if(!t)return{};const e={};return t.startIndex&&(e.startIndex=t.startIndex),t.itemsPerPage&&(e.itemsPerPage=t.itemsPerPage),t.query&&(e.query=t.query),t.deep&&(e.deep=t.deep),t.jsonQuery&&(e.jsonQuery=JSON.stringify(t.jsonQuery)),t.withPreloads&&(e.withPreloads=t.withPreloads),t.uniqueId&&(e.uniqueId=t.uniqueId),t.sort&&(e.sort=t.sort),e}const x9=_.createContext(null),aq=x9.Provider;function xf(){return _.useContext(x9)}function oq({children:t,queryClient:e,prefix:n,mockServer:r,config:i,locale:o}){return N.jsx(rq,{socket:!0,preferredAcceptLanguage:o||i.interfaceLanguage,identifier:"fireback",prefix:n,queryClient:e,remote:wi.REMOTE_SERVICE,defaultExecFn:void 0,children:N.jsx(sq,{children:t,mockServer:r})})}const sq=({children:t,mockServer:e})=>{var o;const{options:n,session:r}=_.useContext(en),i=_.useRef(new Ox((o=wi.REMOTE_SERVICE)==null?void 0:o.replace(/\/$/,"")));return i.current.defaultHeaders={authorization:r==null?void 0:r.token,"workspace-id":n==null?void 0:n.headers["workspace-id"]},N.jsx(aq,{value:i.current,children:t})};/** - * @remix-run/router v1.23.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function C0(){return C0=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function Nx(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function lq(){return Math.random().toString(36).substr(2,8)}function I4(t,e){return{usr:t.state,key:t.key,idx:e}}function Q$(t,e,n,r){return n===void 0&&(n=null),C0({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?$p(e):e,{state:n,key:e&&e.key||r||lq()})}function ew(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function $p(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function cq(t,e,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,u=i.history,c=hf.Pop,d=null,h=g();h==null&&(h=0,u.replaceState(C0({},u.state,{idx:h}),""));function g(){return(u.state||{idx:null}).idx}function y(){c=hf.Pop;let $=g(),x=$==null?null:$-h;h=$,d&&d({action:c,location:E.location,delta:x})}function b($,x){c=hf.Push;let O=Q$(E.location,$,x);n&&n(O,$),h=g()+1;let R=I4(O,h),D=E.createHref(O);try{u.pushState(R,"",D)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(D)}o&&d&&d({action:c,location:E.location,delta:1})}function v($,x){c=hf.Replace;let O=Q$(E.location,$,x);n&&n(O,$),h=g();let R=I4(O,h),D=E.createHref(O);u.replaceState(R,"",D),o&&d&&d({action:c,location:E.location,delta:0})}function C($){let x=i.location.origin!=="null"?i.location.origin:i.location.href,O=typeof $=="string"?$:ew($);return O=O.replace(/ $/,"%20"),Cr(x,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,x)}let E={get action(){return c},get location(){return t(i,u)},listen($){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(P4,y),d=$,()=>{i.removeEventListener(P4,y),d=null}},createHref($){return e(i,$)},createURL:C,encodeLocation($){let x=C($);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:b,replace:v,go($){return u.go($)}};return E}var N4;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(N4||(N4={}));function fq(t,e,n){return n===void 0&&(n="/"),dq(t,e,n)}function dq(t,e,n,r){let i=typeof e=="string"?$p(e):e,o=Mx(i.pathname||"/",n);if(o==null)return null;let u=T9(t);hq(u);let c=null;for(let d=0;c==null&&d{let d={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:u,route:o};d.relativePath.startsWith("/")&&(Cr(d.relativePath.startsWith(r),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(r.length));let h=gf([r,d.relativePath]),g=n.concat(d);o.children&&o.children.length>0&&(Cr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),T9(o.children,e,g,h)),!(o.path==null&&!o.index)&&e.push({path:h,score:wq(h,o.index),routesMeta:g})};return t.forEach((o,u)=>{var c;if(o.path===""||!((c=o.path)!=null&&c.includes("?")))i(o,u);else for(let d of O9(o.path))i(o,u,d)}),e}function O9(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let u=O9(r.join("/")),c=[];return c.push(...u.map(d=>d===""?o:[o,d].join("/"))),i&&c.push(...u),c.map(d=>t.startsWith("/")&&d===""?"/":d)}function hq(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Sq(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const pq=/^:[\w-]+$/,mq=3,gq=2,yq=1,vq=10,bq=-2,M4=t=>t==="*";function wq(t,e){let n=t.split("/"),r=n.length;return n.some(M4)&&(r+=bq),e&&(r+=gq),n.filter(i=>!M4(i)).reduce((i,o)=>i+(pq.test(o)?mq:o===""?yq:vq),r)}function Sq(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function Cq(t,e,n){let{routesMeta:r}=t,i={},o="/",u=[];for(let c=0;c{let{paramName:b,isOptional:v}=g;if(b==="*"){let E=c[y]||"";u=o.slice(0,o.length-E.length).replace(/(.)\/+$/,"$1")}const C=c[y];return v&&!C?h[b]=void 0:h[b]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:u,pattern:t}}function Eq(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Nx(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,c,d)=>(r.push({paramName:c,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function xq(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Nx(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Mx(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function Tq(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?$p(t):t;return{pathname:n?n.startsWith("/")?n:Oq(n,e):e,search:Rq(r),hash:Pq(i)}}function Oq(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function F3(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function _q(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Dx(t,e){let n=_q(t);return e?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kx(t,e,n,r){r===void 0&&(r=!1);let i;typeof t=="string"?i=$p(t):(i=C0({},t),Cr(!i.pathname||!i.pathname.includes("?"),F3("?","pathname","search",i)),Cr(!i.pathname||!i.pathname.includes("#"),F3("#","pathname","hash",i)),Cr(!i.search||!i.search.includes("#"),F3("#","search","hash",i)));let o=t===""||i.pathname==="",u=o?"/":i.pathname,c;if(u==null)c=n;else{let y=e.length-1;if(!r&&u.startsWith("..")){let b=u.split("/");for(;b[0]==="..";)b.shift(),y-=1;i.pathname=b.join("/")}c=y>=0?e[y]:"/"}let d=Tq(i,c),h=u&&u!=="/"&&u.endsWith("/"),g=(o||u===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(h||g)&&(d.pathname+="/"),d}const gf=t=>t.join("/").replace(/\/\/+/g,"/"),Aq=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Rq=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Pq=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function Iq(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const _9=["post","put","patch","delete"];new Set(_9);const Nq=["get",..._9];new Set(Nq);/** - * React Router v6.30.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function $0(){return $0=Object.assign?Object.assign.bind():function(t){for(var e=1;e{c.current=!0}),_.useCallback(function(h,g){if(g===void 0&&(g={}),!c.current)return;if(typeof h=="number"){r.go(h);return}let y=kx(h,JSON.parse(u),o,g.relative==="path");t==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:gf([e,y.pathname])),(g.replace?r.replace:r.push)(y,g.state,g)},[e,r,u,o,t])}function Fq(){let{matches:t}=_.useContext(El),e=t[t.length-1];return e?e.params:{}}function P9(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=_.useContext(Tf),{matches:i}=_.useContext(El),{pathname:o}=xl(),u=JSON.stringify(Dx(i,r.v7_relativeSplatPath));return _.useMemo(()=>kx(t,JSON.parse(u),o,n==="path"),[t,u,o,n])}function Lq(t,e){return Uq(t,e)}function Uq(t,e,n,r){xg()||Cr(!1);let{navigator:i,static:o}=_.useContext(Tf),{matches:u}=_.useContext(El),c=u[u.length-1],d=c?c.params:{};c&&c.pathname;let h=c?c.pathnameBase:"/";c&&c.route;let g=xl(),y;if(e){var b;let x=typeof e=="string"?$p(e):e;h==="/"||(b=x.pathname)!=null&&b.startsWith(h)||Cr(!1),y=x}else y=g;let v=y.pathname||"/",C=v;if(h!=="/"){let x=h.replace(/^\//,"").split("/");C="/"+v.replace(/^\//,"").split("/").slice(x.length).join("/")}let E=fq(t,{pathname:C}),$=zq(E&&E.map(x=>Object.assign({},x,{params:Object.assign({},d,x.params),pathname:gf([h,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?h:gf([h,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),u,n,r);return e&&$?_.createElement(Dw.Provider,{value:{location:$0({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:hf.Pop}},$):$}function jq(){let t=Kq(),e=Iq(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},e),n?_.createElement("pre",{style:i},n):null,null)}const Bq=_.createElement(jq,null);class Hq extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?_.createElement(El.Provider,{value:this.props.routeContext},_.createElement(A9.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function qq(t){let{routeContext:e,match:n,children:r}=t,i=_.useContext(Fx);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(El.Provider,{value:e},r)}function zq(t,e,n,r){var i;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var o;if(!n)return null;if(n.errors)t=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let u=t,c=(i=n)==null?void 0:i.errors;if(c!=null){let g=u.findIndex(y=>y.route.id&&(c==null?void 0:c[y.route.id])!==void 0);g>=0||Cr(!1),u=u.slice(0,Math.min(u.length,g+1))}let d=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let g=0;g=0?u=u.slice(0,h+1):u=[u[0]];break}}}return u.reduceRight((g,y,b)=>{let v,C=!1,E=null,$=null;n&&(v=c&&y.route.id?c[y.route.id]:void 0,E=y.route.errorElement||Bq,d&&(h<0&&b===0?(Qq("route-fallback"),C=!0,$=null):h===b&&(C=!0,$=y.route.hydrateFallbackElement||null)));let x=e.concat(u.slice(0,b+1)),O=()=>{let R;return v?R=E:C?R=$:y.route.Component?R=_.createElement(y.route.Component,null):y.route.element?R=y.route.element:R=g,_.createElement(qq,{match:y,routeContext:{outlet:g,matches:x,isDataRoute:n!=null},children:R})};return n&&(y.route.ErrorBoundary||y.route.errorElement||b===0)?_.createElement(Hq,{location:n.location,revalidation:n.revalidation,component:E,error:v,children:O(),routeContext:{outlet:null,matches:x,isDataRoute:!0}}):O()},null)}var I9=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(I9||{}),N9=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(N9||{});function Vq(t){let e=_.useContext(Fx);return e||Cr(!1),e}function Gq(t){let e=_.useContext(Mq);return e||Cr(!1),e}function Wq(t){let e=_.useContext(El);return e||Cr(!1),e}function M9(t){let e=Wq(),n=e.matches[e.matches.length-1];return n.route.id||Cr(!1),n.route.id}function Kq(){var t;let e=_.useContext(A9),n=Gq(),r=M9();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function Yq(){let{router:t}=Vq(I9.UseNavigateStable),e=M9(N9.UseNavigateStable),n=_.useRef(!1);return R9(()=>{n.current=!0}),_.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,$0({fromRouteId:e},o)))},[t,e])}const D4={};function Qq(t,e,n){D4[t]||(D4[t]=!0)}function Jq(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function J$(t){let{to:e,replace:n,state:r,relative:i}=t;xg()||Cr(!1);let{future:o,static:u}=_.useContext(Tf),{matches:c}=_.useContext(El),{pathname:d}=xl(),h=Lx(),g=kx(e,Dx(c,o.v7_relativeSplatPath),d,i==="path"),y=JSON.stringify(g);return _.useEffect(()=>h(JSON.parse(y),{replace:n,state:r,relative:i}),[h,y,i,n,r]),null}function gn(t){Cr(!1)}function Xq(t){let{basename:e="/",children:n=null,location:r,navigationType:i=hf.Pop,navigator:o,static:u=!1,future:c}=t;xg()&&Cr(!1);let d=e.replace(/^\/*/,"/"),h=_.useMemo(()=>({basename:d,navigator:o,static:u,future:$0({v7_relativeSplatPath:!1},c)}),[d,c,o,u]);typeof r=="string"&&(r=$p(r));let{pathname:g="/",search:y="",hash:b="",state:v=null,key:C="default"}=r,E=_.useMemo(()=>{let $=Mx(g,d);return $==null?null:{location:{pathname:$,search:y,hash:b,state:v,key:C},navigationType:i}},[d,g,y,b,v,C,i]);return E==null?null:_.createElement(Tf.Provider,{value:h},_.createElement(Dw.Provider,{children:n,value:E}))}function k4(t){let{children:e,location:n}=t;return Lq(X$(e),n)}new Promise(()=>{});function X$(t,e){e===void 0&&(e=[]);let n=[];return _.Children.forEach(t,(r,i)=>{if(!_.isValidElement(r))return;let o=[...e,i];if(r.type===_.Fragment){n.push.apply(n,X$(r.props.children,o));return}r.type!==gn&&Cr(!1),!r.props.index||!r.props.children||Cr(!1);let u={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(u.children=X$(r.props.children,o)),n.push(u)}),n}/** - * React Router DOM v6.30.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Z$(){return Z$=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function ez(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function tz(t,e){return t.button===0&&(!e||e==="_self")&&!ez(t)}const nz=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],rz="6";try{window.__reactRouterVersion=rz}catch{}const iz="startTransition",F4=P$[iz];function az(t){let{basename:e,children:n,future:r,window:i}=t,o=_.useRef();o.current==null&&(o.current=uq({window:i,v5Compat:!0}));let u=o.current,[c,d]=_.useState({action:u.action,location:u.location}),{v7_startTransition:h}=r||{},g=_.useCallback(y=>{h&&F4?F4(()=>d(y)):d(y)},[d,h]);return _.useLayoutEffect(()=>u.listen(g),[u,g]),_.useEffect(()=>Jq(r),[r]),_.createElement(Xq,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:u,future:r})}const oz=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",sz=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,eE=_.forwardRef(function(e,n){let{onClick:r,relative:i,reloadDocument:o,replace:u,state:c,target:d,to:h,preventScrollReset:g,viewTransition:y}=e,b=Zq(e,nz),{basename:v}=_.useContext(Tf),C,E=!1;if(typeof h=="string"&&sz.test(h)&&(C=h,oz))try{let R=new URL(window.location.href),D=h.startsWith("//")?new URL(R.protocol+h):new URL(h),P=Mx(D.pathname,v);D.origin===R.origin&&P!=null?h=P+D.search+D.hash:E=!0}catch{}let $=Dq(h,{relative:i}),x=uz(h,{replace:u,state:c,target:d,preventScrollReset:g,relative:i,viewTransition:y});function O(R){r&&r(R),R.defaultPrevented||x(R)}return _.createElement("a",Z$({},b,{href:C||$,onClick:E||o?r:O,ref:n,target:d}))});var L4;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(L4||(L4={}));var U4;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(U4||(U4={}));function uz(t,e){let{target:n,replace:r,state:i,preventScrollReset:o,relative:u,viewTransition:c}=e===void 0?{}:e,d=Lx(),h=xl(),g=P9(t,{relative:u});return _.useCallback(y=>{if(tz(y,n)){y.preventDefault();let b=r!==void 0?r:ew(h)===ew(g);d(t,{replace:b,state:i,preventScrollReset:o,relative:u,viewTransition:c})}},[h,d,g,r,i,n,t,o,u,c])}class Vt{constructor(...e){this.visibility=null,this.parentId=null,this.linkerId=null,this.workspaceId=null,this.linkedId=null,this.uniqueId=null,this.userId=null,this.updated=null,this.created=null,this.createdFormatted=null,this.updatedFormatted=null}}Vt.Fields={visibility:"visibility",parentId:"parentId",linkerId:"linkerId",workspaceId:"workspaceId",linkedId:"linkedId",uniqueId:"uniqueId",userId:"userId",updated:"updated",created:"created",updatedFormatted:"updatedFormatted",createdFormatted:"createdFormatted"};class kw extends Vt{constructor(...e){super(...e),this.children=void 0,this.type=void 0,this.apiKey=void 0}}kw.Navigation={edit(t,e){return`${e?"/"+e:".."}/email-provider/edit/${t}`},create(t){return`${t?"/"+t:".."}/email-provider/new`},single(t,e){return`${e?"/"+e:".."}/email-provider/${t}`},query(t={},e){return`${e?"/"+e:".."}/email-providers`},Redit:"email-provider/edit/:uniqueId",Rcreate:"email-provider/new",Rsingle:"email-provider/:uniqueId",Rquery:"email-providers"};kw.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"emailProvider",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"type",type:"enum",validate:"required",of:[{k:"terminal"},{k:"sendgrid"}],computedType:'"terminal" | "sendgrid"',gormMap:{}},{name:"apiKey",type:"string",computedType:"string",gormMap:{}}],description:"Thirdparty services which will send email, allows each workspace graphically configure their token without the need of restarting servers"};kw.Fields={...Vt.Fields,type:"type",apiKey:"apiKey"};class Fw extends Vt{constructor(...e){super(...e),this.children=void 0,this.apiKey=void 0,this.mainSenderNumber=void 0,this.type=void 0,this.invokeUrl=void 0,this.invokeBody=void 0}}Fw.Navigation={edit(t,e){return`${e?"/"+e:".."}/gsm-provider/edit/${t}`},create(t){return`${t?"/"+t:".."}/gsm-provider/new`},single(t,e){return`${e?"/"+e:".."}/gsm-provider/${t}`},query(t={},e){return`${e?"/"+e:".."}/gsm-providers`},Redit:"gsm-provider/edit/:uniqueId",Rcreate:"gsm-provider/new",Rsingle:"gsm-provider/:uniqueId",Rquery:"gsm-providers"};Fw.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"gsmProvider",features:{},gormMap:{},fields:[{name:"apiKey",type:"string",computedType:"string",gormMap:{}},{name:"mainSenderNumber",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"type",type:"enum",validate:"required",of:[{k:"url"},{k:"terminal"},{k:"mediana"}],computedType:'"url" | "terminal" | "mediana"',gormMap:{}},{name:"invokeUrl",type:"string",computedType:"string",gormMap:{}},{name:"invokeBody",type:"string",computedType:"string",gormMap:{}}]};Fw.Fields={...Vt.Fields,apiKey:"apiKey",mainSenderNumber:"mainSenderNumber",type:"type",invokeUrl:"invokeUrl",invokeBody:"invokeBody"};class dp extends Vt{constructor(...e){super(...e),this.children=void 0,this.firstName=void 0,this.lastName=void 0,this.photo=void 0,this.gender=void 0,this.title=void 0,this.birthDate=void 0,this.avatar=void 0,this.lastIpAddress=void 0,this.primaryAddress=void 0}}dp.Navigation={edit(t,e){return`${e?"/"+e:".."}/user/edit/${t}`},create(t){return`${t?"/"+t:".."}/user/new`},single(t,e){return`${e?"/"+e:".."}/user/${t}`},query(t={},e){return`${e?"/"+e:".."}/users`},Redit:"user/edit/:uniqueId",Rcreate:"user/new",Rsingle:"user/:uniqueId",Rquery:"users",rPrimaryAddressCreate:"user/:linkerId/primary_address/new",rPrimaryAddressEdit:"user/:linkerId/primary_address/edit/:uniqueId",editPrimaryAddress(t,e,n){return`${n?"/"+n:""}/user/${t}/primary_address/edit/${e}`},createPrimaryAddress(t,e){return`${e?"/"+e:""}/user/${t}/primary_address/new`}};dp.definition={events:[{name:"Googoli2",description:"Googlievent",payload:{fields:[{name:"entity",type:"string",computedType:"string",gormMap:{}}]}}],rpc:{query:{qs:[{name:"withImages",type:"bool?",gormMap:{}}]}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"user",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"firstName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"lastName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"photo",type:"string",computedType:"string",gormMap:{}},{name:"gender",type:"int?",computedType:"number",gormMap:{}},{name:"title",type:"string",computedType:"string",gormMap:{}},{name:"birthDate",type:"date",computedType:"Date",gormMap:{}},{name:"avatar",type:"string",computedType:"string",gormMap:{}},{name:"lastIpAddress",description:"User last connecting ip address",type:"string",computedType:"string",gormMap:{}},{name:"primaryAddress",description:"User primary address location. Can be useful for simple projects that a user is associated with a single address.",type:"embed",computedType:"UserPrimaryAddress",gormMap:{},"-":"UserPrimaryAddress",fields:[{name:"addressLine1",description:"Street address, building number",type:"string",computedType:"string",gormMap:{}},{name:"addressLine2",description:"Apartment, suite, floor (optional)",type:"string?",computedType:"string",gormMap:{}},{name:"city",description:"City or locality",type:"string?",computedType:"string",gormMap:{}},{name:"stateOrProvince",description:"State, region, or province",type:"string?",computedType:"string",gormMap:{}},{name:"postalCode",description:"ZIP or postal code",type:"string?",computedType:"string",gormMap:{}},{name:"countryCode",description:'ISO 3166-1 alpha-2 (e.g., \\"US\\", \\"DE\\")',type:"string?",computedType:"string",gormMap:{}}],linkedTo:"UserEntity"}],description:"Manage the users who are in the current app (root only)"};dp.Fields={...Vt.Fields,firstName:"firstName",lastName:"lastName",photo:"photo",gender:"gender",title:"title",birthDate:"birthDate",avatar:"avatar",lastIpAddress:"lastIpAddress",primaryAddress$:"primaryAddress",primaryAddress:{...Vt.Fields,addressLine1:"primaryAddress.addressLine1",addressLine2:"primaryAddress.addressLine2",city:"primaryAddress.city",stateOrProvince:"primaryAddress.stateOrProvince",postalCode:"primaryAddress.postalCode",countryCode:"primaryAddress.countryCode"}};class E0 extends Vt{constructor(...e){super(...e),this.children=void 0,this.thirdPartyVerifier=void 0,this.type=void 0,this.user=void 0,this.value=void 0,this.totpSecret=void 0,this.totpConfirmed=void 0,this.password=void 0,this.confirmed=void 0,this.accessToken=void 0}}E0.Navigation={edit(t,e){return`${e?"/"+e:".."}/passport/edit/${t}`},create(t){return`${t?"/"+t:".."}/passport/new`},single(t,e){return`${e?"/"+e:".."}/passport/${t}`},query(t={},e){return`${e?"/"+e:".."}/passports`},Redit:"passport/edit/:uniqueId",Rcreate:"passport/new",Rsingle:"passport/:uniqueId",Rquery:"passports"};E0.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"passport",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"thirdPartyVerifier",description:"When user creates account via oauth services such as google, it's essential to set the provider and do not allow passwordless logins if it's not via that specific provider.",type:"string",default:!1,computedType:"string",gormMap:{}},{name:"type",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"user",type:"one",target:"UserEntity",computedType:"UserEntity",gormMap:{}},{name:"value",type:"string",validate:"required",computedType:"string",gorm:"unique",gormMap:{}},{name:"totpSecret",description:"Store the secret of 2FA using time based dual factor authentication here for this specific passport. If set, during authorization will be asked.",type:"string",computedType:"string",gormMap:{}},{name:"totpConfirmed",description:"Regardless of the secret, user needs to confirm his secret. There is an extra action to confirm user totp, could be used after signup or prior to login.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"password",type:"string",json:"-",yaml:"-",computedType:"string",gormMap:{}},{name:"confirmed",type:"bool?",computedType:"boolean",gormMap:{}},{name:"accessToken",type:"string",computedType:"string",gormMap:{}}],description:"Represent a mean to login in into the system, each user could have multiple passport (email, phone) and authenticate into the system."};E0.Fields={...Vt.Fields,thirdPartyVerifier:"thirdPartyVerifier",type:"type",user$:"user",user:dp.Fields,value:"value",totpSecret:"totpSecret",totpConfirmed:"totpConfirmed",password:"password",confirmed:"confirmed",accessToken:"accessToken"};class J0 extends Vt{constructor(...e){super(...e),this.children=void 0,this.name=void 0,this.description=void 0}}J0.Navigation={edit(t,e){return`${e?"/"+e:".."}/capability/edit/${t}`},create(t){return`${t?"/"+t:".."}/capability/new`},single(t,e){return`${e?"/"+e:".."}/capability/${t}`},query(t={},e){return`${e?"/"+e:".."}/capabilities`},Redit:"capability/edit/:uniqueId",Rcreate:"capability/new",Rsingle:"capability/:uniqueId",Rquery:"capabilities"};J0.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"capability",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"name",type:"string",computedType:"string",gormMap:{}},{name:"description",type:"string",translate:!0,computedType:"string",gormMap:{}}],cliShort:"cap",description:"Manage the capabilities inside the application, both builtin to core and custom defined ones"};J0.Fields={...Vt.Fields,name:"name",description:"description"};class Dr extends Vt{constructor(...e){super(...e),this.children=void 0,this.name=void 0,this.capabilities=void 0,this.capabilitiesListId=void 0}}Dr.Navigation={edit(t,e){return`${e?"/"+e:".."}/role/edit/${t}`},create(t){return`${t?"/"+t:".."}/role/new`},single(t,e){return`${e?"/"+e:".."}/role/${t}`},query(t={},e){return`${e?"/"+e:".."}/roles`},Redit:"role/edit/:uniqueId",Rcreate:"role/new",Rsingle:"role/:uniqueId",Rquery:"roles"};Dr.definition={rpc:{query:{}},name:"role",features:{},messages:{roleNeedsOneCapability:{en:"Role atleast needs one capability to be selected."}},gormMap:{},fields:[{name:"name",type:"string",validate:"required,omitempty,min=1,max=200",computedType:"string",gormMap:{}},{name:"capabilities",type:"collection",target:"CapabilityEntity",module:"fireback",computedType:"CapabilityEntity[]",gormMap:{}}],description:"Manage roles within the workspaces, or root configuration"};Dr.Fields={...Vt.Fields,name:"name",capabilitiesListId:"capabilitiesListId",capabilities$:"capabilities",capabilities:J0.Fields};class Lw extends Vt{constructor(...e){super(...e),this.children=void 0,this.title=void 0,this.description=void 0,this.slug=void 0,this.role=void 0,this.roleId=void 0}}Lw.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace-type/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace-type/new`},single(t,e){return`${e?"/"+e:".."}/workspace-type/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspace-types`},Redit:"workspace-type/edit/:uniqueId",Rcreate:"workspace-type/new",Rsingle:"workspace-type/:uniqueId",Rquery:"workspace-types"};Lw.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspaceType",features:{mock:!1,msync:!1},security:{writeOnRoot:!0,readOnRoot:!0},messages:{cannotCreateWorkspaceType:{en:"You cannot create workspace type due to some validation errors."},cannotModifyWorkspaceType:{en:"You cannot modify workspace type due to some validation errors."},onlyRootRoleIsAccepted:{en:"You can only select a role which is created or belong to 'root' workspace."},roleIsNecessary:{en:"Role needs to be defined and exist."},roleIsNotAccessible:{en:"Role is not accessible unfortunately. Make sure you the role chose exists."},roleNeedsToHaveCapabilities:{en:"Role needs to have at least one capability before could be assigned."}},gormMap:{},fields:[{name:"title",type:"string",validate:"required,omitempty,min=1,max=250",translate:!0,computedType:"string",gormMap:{}},{name:"description",type:"string",translate:!0,computedType:"string",gormMap:{}},{name:"slug",type:"string",validate:"required,omitempty,min=2,max=50",computedType:"string",gormMap:{}},{name:"role",description:"The role which will be used to define the functionality of this workspace, Role needs to be created before hand, and only roles which belong to root workspace are possible to be selected",type:"one",target:"RoleEntity",validate:"required",computedType:"RoleEntity",gormMap:{}}],cliName:"type",description:"Defines a type for workspace, and the role which it can have as a whole. In systems with multiple types of services, e.g. student, teachers, schools this is useful to set those default types and limit the access of the users."};Lw.Fields={...Vt.Fields,title:"title",description:"description",slug:"slug",roleId:"roleId",role$:"role",role:Dr.Fields};class Tg extends Vt{constructor(...e){super(...e),this.children=void 0,this.description=void 0,this.name=void 0,this.type=void 0,this.typeId=void 0}}Tg.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace/new`},single(t,e){return`${e?"/"+e:".."}/workspace/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspaces`},Redit:"workspace/edit/:uniqueId",Rcreate:"workspace/new",Rsingle:"workspace/:uniqueId",Rquery:"workspaces"};Tg.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0},gormMap:{},fields:[{name:"description",type:"string",computedType:"string",gormMap:{}},{name:"name",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"type",type:"one",target:"WorkspaceTypeEntity",validate:"required",computedType:"WorkspaceTypeEntity",gormMap:{}}],cliName:"ws",description:"Fireback general user role, workspaces services.",cte:!0};Tg.Fields={...Vt.Fields,description:"description",name:"name",typeId:"typeId",type$:"type",type:Lw.Fields};class lg extends Vt{constructor(...e){super(...e),this.children=void 0,this.user=void 0,this.workspace=void 0,this.userPermissions=void 0,this.rolePermission=void 0,this.workspacePermissions=void 0}}lg.Navigation={edit(t,e){return`${e?"/"+e:".."}/user-workspace/edit/${t}`},create(t){return`${t?"/"+t:".."}/user-workspace/new`},single(t,e){return`${e?"/"+e:".."}/user-workspace/${t}`},query(t={},e){return`${e?"/"+e:".."}/user-workspaces`},Redit:"user-workspace/edit/:uniqueId",Rcreate:"user-workspace/new",Rsingle:"user-workspace/:uniqueId",Rquery:"user-workspaces"};lg.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"userWorkspace",features:{},security:{resolveStrategy:"user"},gormMap:{workspaceId:"index:userworkspace_idx,unique",userId:"index:userworkspace_idx,unique"},fields:[{name:"user",type:"one",target:"UserEntity",computedType:"UserEntity",gormMap:{}},{name:"workspace",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}},{name:"userPermissions",type:"arrayP",primitive:"string",computedType:"string[]",gorm:"-",gormMap:{},sql:"-"},{name:"rolePermission",type:"arrayP",primitive:"UserRoleWorkspaceDto",computedType:"unknown[]",gorm:"-",gormMap:{},sql:"-"},{name:"workspacePermissions",type:"arrayP",primitive:"string",computedType:"string[]",gorm:"-",gormMap:{},sql:"-"}],cliShort:"user",description:"Manage the workspaces that user belongs to (either its himselves or adding by invitation)"};lg.Fields={...Vt.Fields,user$:"user",user:dp.Fields,workspace$:"workspace",workspace:Tg.Fields,userPermissions:"userPermissions",rolePermission:"rolePermission",workspacePermissions:"workspacePermissions"};function hp(t,e){const n={};for(const[r,i]of Object.entries(e))typeof i=="string"?n[r]=`${t}.${i}`:typeof i=="object"&&i!==null&&(n[r]=i);return n}function lr(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var lz=0;function Ep(t){return"__private_"+lz+++"_"+t}var Qu=Ep("passport"),qd=Ep("token"),zd=Ep("exchangeKey"),Ju=Ep("userWorkspaces"),Xu=Ep("user"),Vd=Ep("userId"),L3=Ep("isJsonAppliable");class Si{get passport(){return lr(this,Qu)[Qu]}set passport(e){e instanceof E0?lr(this,Qu)[Qu]=e:lr(this,Qu)[Qu]=new E0(e)}setPassport(e){return this.passport=e,this}get token(){return lr(this,qd)[qd]}set token(e){lr(this,qd)[qd]=String(e)}setToken(e){return this.token=e,this}get exchangeKey(){return lr(this,zd)[zd]}set exchangeKey(e){lr(this,zd)[zd]=String(e)}setExchangeKey(e){return this.exchangeKey=e,this}get userWorkspaces(){return lr(this,Ju)[Ju]}set userWorkspaces(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof lg?lr(this,Ju)[Ju]=e:lr(this,Ju)[Ju]=e.map(n=>new lg(n)))}setUserWorkspaces(e){return this.userWorkspaces=e,this}get user(){return lr(this,Xu)[Xu]}set user(e){e instanceof dp?lr(this,Xu)[Xu]=e:lr(this,Xu)[Xu]=new dp(e)}setUser(e){return this.user=e,this}get userId(){return lr(this,Vd)[Vd]}set userId(e){const n=typeof e=="string"||e===void 0||e===null;lr(this,Vd)[Vd]=n?e:String(e)}setUserId(e){return this.userId=e,this}constructor(e=void 0){if(Object.defineProperty(this,L3,{value:cz}),Object.defineProperty(this,Qu,{writable:!0,value:void 0}),Object.defineProperty(this,qd,{writable:!0,value:""}),Object.defineProperty(this,zd,{writable:!0,value:""}),Object.defineProperty(this,Ju,{writable:!0,value:[]}),Object.defineProperty(this,Xu,{writable:!0,value:void 0}),Object.defineProperty(this,Vd,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(lr(this,L3)[L3](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.passport!==void 0&&(this.passport=n.passport),n.token!==void 0&&(this.token=n.token),n.exchangeKey!==void 0&&(this.exchangeKey=n.exchangeKey),n.userWorkspaces!==void 0&&(this.userWorkspaces=n.userWorkspaces),n.user!==void 0&&(this.user=n.user),n.userId!==void 0&&(this.userId=n.userId)}toJSON(){return{passport:lr(this,Qu)[Qu],token:lr(this,qd)[qd],exchangeKey:lr(this,zd)[zd],userWorkspaces:lr(this,Ju)[Ju],user:lr(this,Xu)[Xu],userId:lr(this,Vd)[Vd]}}toString(){return JSON.stringify(this)}static get Fields(){return{passport:"passport",token:"token",exchangeKey:"exchangeKey",userWorkspaces$:"userWorkspaces",get userWorkspaces(){return hp("userWorkspaces[:i]",lg.Fields)},user:"user",userId:"userId"}}static from(e){return new Si(e)}static with(e){return new Si(e)}copyWith(e){return new Si({...this.toJSON(),...e})}clone(){return new Si(this.toJSON())}}function cz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}class Uw{constructor(){this.password=void 0,this.uniqueId=void 0}}Uw.Fields={password:"password",uniqueId:"uniqueId"};class Ux{constructor(){this.value=void 0,this.password=void 0,this.totpCode=void 0}}Ux.Fields={value:"value",password:"password",totpCode:"totpCode"};function tE(t,e){const n={};for(const[r,i]of Object.entries(e))typeof i=="string"?n[r]=`${t}.${i}`:typeof i=="object"&&i!==null&&(n[r]=i);return n}var xr,Ac,Rc,Pc,Ic,Nc,Mc,Dc,kc,Fc,Lc,Uc,jc,Bc,Hc,qc,zc,Vc,Gc,n2,r2,Wc,Kc,Yc,fu,i2,Qc,Jc,Xc,Zc,ef,tf,nf,rf,a2;function Re(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var fz=0;function Dt(t){return"__private_"+fz+++"_"+t}var Gd=Dt("apiVersion"),Wd=Dt("context"),Kd=Dt("id"),Yd=Dt("method"),Qd=Dt("params"),Zu=Dt("data"),el=Dt("error"),U3=Dt("isJsonAppliable"),Rv=Dt("lateInitFields");class oa{get apiVersion(){return Re(this,Gd)[Gd]}set apiVersion(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Gd)[Gd]=n?e:String(e)}setApiVersion(e){return this.apiVersion=e,this}get context(){return Re(this,Wd)[Wd]}set context(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Wd)[Wd]=n?e:String(e)}setContext(e){return this.context=e,this}get id(){return Re(this,Kd)[Kd]}set id(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Kd)[Kd]=n?e:String(e)}setId(e){return this.id=e,this}get method(){return Re(this,Yd)[Yd]}set method(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Yd)[Yd]=n?e:String(e)}setMethod(e){return this.method=e,this}get params(){return Re(this,Qd)[Qd]}set params(e){Re(this,Qd)[Qd]=e}setParams(e){return this.params=e,this}get data(){return Re(this,Zu)[Zu]}set data(e){e instanceof oa.Data?Re(this,Zu)[Zu]=e:Re(this,Zu)[Zu]=new oa.Data(e)}setData(e){return this.data=e,this}get error(){return Re(this,el)[el]}set error(e){e instanceof oa.Error?Re(this,el)[el]=e:Re(this,el)[el]=new oa.Error(e)}setError(e){return this.error=e,this}constructor(e=void 0){if(Object.defineProperty(this,Rv,{value:hz}),Object.defineProperty(this,U3,{value:dz}),Object.defineProperty(this,Gd,{writable:!0,value:void 0}),Object.defineProperty(this,Wd,{writable:!0,value:void 0}),Object.defineProperty(this,Kd,{writable:!0,value:void 0}),Object.defineProperty(this,Yd,{writable:!0,value:void 0}),Object.defineProperty(this,Qd,{writable:!0,value:null}),Object.defineProperty(this,Zu,{writable:!0,value:void 0}),Object.defineProperty(this,el,{writable:!0,value:void 0}),e==null){Re(this,Rv)[Rv]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,U3)[U3](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.apiVersion!==void 0&&(this.apiVersion=n.apiVersion),n.context!==void 0&&(this.context=n.context),n.id!==void 0&&(this.id=n.id),n.method!==void 0&&(this.method=n.method),n.params!==void 0&&(this.params=n.params),n.data!==void 0&&(this.data=n.data),n.error!==void 0&&(this.error=n.error),Re(this,Rv)[Rv](e)}toJSON(){return{apiVersion:Re(this,Gd)[Gd],context:Re(this,Wd)[Wd],id:Re(this,Kd)[Kd],method:Re(this,Yd)[Yd],params:Re(this,Qd)[Qd],data:Re(this,Zu)[Zu],error:Re(this,el)[el]}}toString(){return JSON.stringify(this)}static get Fields(){return{apiVersion:"apiVersion",context:"context",id:"id",method:"method",params:"params",data$:"data",get data(){return tE("data",oa.Data.Fields)},error$:"error",get error(){return tE("error",oa.Error.Fields)}}}static from(e){return new oa(e)}static with(e){return new oa(e)}copyWith(e){return new oa({...this.toJSON(),...e})}clone(){return new oa(this.toJSON())}}xr=oa;function dz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function hz(t={}){const e=t;e.data instanceof xr.Data||(this.data=new xr.Data(e.data||{})),e.error instanceof xr.Error||(this.error=new xr.Error(e.error||{}))}oa.Data=(Ac=Dt("item"),Rc=Dt("items"),Pc=Dt("editLink"),Ic=Dt("selfLink"),Nc=Dt("kind"),Mc=Dt("fields"),Dc=Dt("etag"),kc=Dt("cursor"),Fc=Dt("id"),Lc=Dt("lang"),Uc=Dt("updated"),jc=Dt("currentItemCount"),Bc=Dt("itemsPerPage"),Hc=Dt("startIndex"),qc=Dt("totalItems"),zc=Dt("totalAvailableItems"),Vc=Dt("pageIndex"),Gc=Dt("totalPages"),n2=Dt("isJsonAppliable"),class{get item(){return Re(this,Ac)[Ac]}set item(e){Re(this,Ac)[Ac]=e}setItem(e){return this.item=e,this}get items(){return Re(this,Rc)[Rc]}set items(e){Re(this,Rc)[Rc]=e}setItems(e){return this.items=e,this}get editLink(){return Re(this,Pc)[Pc]}set editLink(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Pc)[Pc]=n?e:String(e)}setEditLink(e){return this.editLink=e,this}get selfLink(){return Re(this,Ic)[Ic]}set selfLink(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Ic)[Ic]=n?e:String(e)}setSelfLink(e){return this.selfLink=e,this}get kind(){return Re(this,Nc)[Nc]}set kind(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Nc)[Nc]=n?e:String(e)}setKind(e){return this.kind=e,this}get fields(){return Re(this,Mc)[Mc]}set fields(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Mc)[Mc]=n?e:String(e)}setFields(e){return this.fields=e,this}get etag(){return Re(this,Dc)[Dc]}set etag(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Dc)[Dc]=n?e:String(e)}setEtag(e){return this.etag=e,this}get cursor(){return Re(this,kc)[kc]}set cursor(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,kc)[kc]=n?e:String(e)}setCursor(e){return this.cursor=e,this}get id(){return Re(this,Fc)[Fc]}set id(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Fc)[Fc]=n?e:String(e)}setId(e){return this.id=e,this}get lang(){return Re(this,Lc)[Lc]}set lang(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Lc)[Lc]=n?e:String(e)}setLang(e){return this.lang=e,this}get updated(){return Re(this,Uc)[Uc]}set updated(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Uc)[Uc]=n?e:String(e)}setUpdated(e){return this.updated=e,this}get currentItemCount(){return Re(this,jc)[jc]}set currentItemCount(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,jc)[jc]=r)}setCurrentItemCount(e){return this.currentItemCount=e,this}get itemsPerPage(){return Re(this,Bc)[Bc]}set itemsPerPage(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Bc)[Bc]=r)}setItemsPerPage(e){return this.itemsPerPage=e,this}get startIndex(){return Re(this,Hc)[Hc]}set startIndex(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Hc)[Hc]=r)}setStartIndex(e){return this.startIndex=e,this}get totalItems(){return Re(this,qc)[qc]}set totalItems(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,qc)[qc]=r)}setTotalItems(e){return this.totalItems=e,this}get totalAvailableItems(){return Re(this,zc)[zc]}set totalAvailableItems(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,zc)[zc]=r)}setTotalAvailableItems(e){return this.totalAvailableItems=e,this}get pageIndex(){return Re(this,Vc)[Vc]}set pageIndex(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Vc)[Vc]=r)}setPageIndex(e){return this.pageIndex=e,this}get totalPages(){return Re(this,Gc)[Gc]}set totalPages(e){const r=typeof e=="number"||e===void 0||e===null?e:Number(e);Number.isNaN(r)||(Re(this,Gc)[Gc]=r)}setTotalPages(e){return this.totalPages=e,this}constructor(e=void 0){if(Object.defineProperty(this,n2,{value:pz}),Object.defineProperty(this,Ac,{writable:!0,value:null}),Object.defineProperty(this,Rc,{writable:!0,value:null}),Object.defineProperty(this,Pc,{writable:!0,value:void 0}),Object.defineProperty(this,Ic,{writable:!0,value:void 0}),Object.defineProperty(this,Nc,{writable:!0,value:void 0}),Object.defineProperty(this,Mc,{writable:!0,value:void 0}),Object.defineProperty(this,Dc,{writable:!0,value:void 0}),Object.defineProperty(this,kc,{writable:!0,value:void 0}),Object.defineProperty(this,Fc,{writable:!0,value:void 0}),Object.defineProperty(this,Lc,{writable:!0,value:void 0}),Object.defineProperty(this,Uc,{writable:!0,value:void 0}),Object.defineProperty(this,jc,{writable:!0,value:void 0}),Object.defineProperty(this,Bc,{writable:!0,value:void 0}),Object.defineProperty(this,Hc,{writable:!0,value:void 0}),Object.defineProperty(this,qc,{writable:!0,value:void 0}),Object.defineProperty(this,zc,{writable:!0,value:void 0}),Object.defineProperty(this,Vc,{writable:!0,value:void 0}),Object.defineProperty(this,Gc,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,n2)[n2](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.item!==void 0&&(this.item=n.item),n.items!==void 0&&(this.items=n.items),n.editLink!==void 0&&(this.editLink=n.editLink),n.selfLink!==void 0&&(this.selfLink=n.selfLink),n.kind!==void 0&&(this.kind=n.kind),n.fields!==void 0&&(this.fields=n.fields),n.etag!==void 0&&(this.etag=n.etag),n.cursor!==void 0&&(this.cursor=n.cursor),n.id!==void 0&&(this.id=n.id),n.lang!==void 0&&(this.lang=n.lang),n.updated!==void 0&&(this.updated=n.updated),n.currentItemCount!==void 0&&(this.currentItemCount=n.currentItemCount),n.itemsPerPage!==void 0&&(this.itemsPerPage=n.itemsPerPage),n.startIndex!==void 0&&(this.startIndex=n.startIndex),n.totalItems!==void 0&&(this.totalItems=n.totalItems),n.totalAvailableItems!==void 0&&(this.totalAvailableItems=n.totalAvailableItems),n.pageIndex!==void 0&&(this.pageIndex=n.pageIndex),n.totalPages!==void 0&&(this.totalPages=n.totalPages)}toJSON(){return{item:Re(this,Ac)[Ac],items:Re(this,Rc)[Rc],editLink:Re(this,Pc)[Pc],selfLink:Re(this,Ic)[Ic],kind:Re(this,Nc)[Nc],fields:Re(this,Mc)[Mc],etag:Re(this,Dc)[Dc],cursor:Re(this,kc)[kc],id:Re(this,Fc)[Fc],lang:Re(this,Lc)[Lc],updated:Re(this,Uc)[Uc],currentItemCount:Re(this,jc)[jc],itemsPerPage:Re(this,Bc)[Bc],startIndex:Re(this,Hc)[Hc],totalItems:Re(this,qc)[qc],totalAvailableItems:Re(this,zc)[zc],pageIndex:Re(this,Vc)[Vc],totalPages:Re(this,Gc)[Gc]}}toString(){return JSON.stringify(this)}static get Fields(){return{item:"item",items:"items",editLink:"editLink",selfLink:"selfLink",kind:"kind",fields:"fields",etag:"etag",cursor:"cursor",id:"id",lang:"lang",updated:"updated",currentItemCount:"currentItemCount",itemsPerPage:"itemsPerPage",startIndex:"startIndex",totalItems:"totalItems",totalAvailableItems:"totalAvailableItems",pageIndex:"pageIndex",totalPages:"totalPages"}}static from(e){return new xr.Data(e)}static with(e){return new xr.Data(e)}copyWith(e){return new xr.Data({...this.toJSON(),...e})}clone(){return new xr.Data(this.toJSON())}});function pz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}oa.Error=(Wc=Dt("code"),Kc=Dt("message"),Yc=Dt("messageTranslated"),fu=Dt("errors"),i2=Dt("isJsonAppliable"),r2=class D9{get code(){return Re(this,Wc)[Wc]}set code(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Re(this,Wc)[Wc]=r)}setCode(e){return this.code=e,this}get message(){return Re(this,Kc)[Kc]}set message(e){Re(this,Kc)[Kc]=String(e)}setMessage(e){return this.message=e,this}get messageTranslated(){return Re(this,Yc)[Yc]}set messageTranslated(e){Re(this,Yc)[Yc]=String(e)}setMessageTranslated(e){return this.messageTranslated=e,this}get errors(){return Re(this,fu)[fu]}set errors(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof xr.Error.Errors?Re(this,fu)[fu]=e:Re(this,fu)[fu]=e.map(n=>new xr.Error.Errors(n)))}setErrors(e){return this.errors=e,this}constructor(e=void 0){if(Object.defineProperty(this,i2,{value:gz}),Object.defineProperty(this,Wc,{writable:!0,value:0}),Object.defineProperty(this,Kc,{writable:!0,value:""}),Object.defineProperty(this,Yc,{writable:!0,value:""}),Object.defineProperty(this,fu,{writable:!0,value:[]}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,i2)[i2](e))this.applyFromObject(e);else throw new D9("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.code!==void 0&&(this.code=n.code),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.errors!==void 0&&(this.errors=n.errors)}toJSON(){return{code:Re(this,Wc)[Wc],message:Re(this,Kc)[Kc],messageTranslated:Re(this,Yc)[Yc],errors:Re(this,fu)[fu]}}toString(){return JSON.stringify(this)}static get Fields(){return{code:"code",message:"message",messageTranslated:"messageTranslated",errors$:"errors",get errors(){return tE("error.errors[:i]",xr.Error.Errors.Fields)}}}static from(e){return new xr.Error(e)}static with(e){return new xr.Error(e)}copyWith(e){return new xr.Error({...this.toJSON(),...e})}clone(){return new xr.Error(this.toJSON())}},r2.Errors=(Qc=Dt("domain"),Jc=Dt("reason"),Xc=Dt("message"),Zc=Dt("messageTranslated"),ef=Dt("location"),tf=Dt("locationType"),nf=Dt("extendedHelp"),rf=Dt("sendReport"),a2=Dt("isJsonAppliable"),class{get domain(){return Re(this,Qc)[Qc]}set domain(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Qc)[Qc]=n?e:String(e)}setDomain(e){return this.domain=e,this}get reason(){return Re(this,Jc)[Jc]}set reason(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Jc)[Jc]=n?e:String(e)}setReason(e){return this.reason=e,this}get message(){return Re(this,Xc)[Xc]}set message(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Xc)[Xc]=n?e:String(e)}setMessage(e){return this.message=e,this}get messageTranslated(){return Re(this,Zc)[Zc]}set messageTranslated(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,Zc)[Zc]=n?e:String(e)}setMessageTranslated(e){return this.messageTranslated=e,this}get location(){return Re(this,ef)[ef]}set location(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,ef)[ef]=n?e:String(e)}setLocation(e){return this.location=e,this}get locationType(){return Re(this,tf)[tf]}set locationType(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,tf)[tf]=n?e:String(e)}setLocationType(e){return this.locationType=e,this}get extendedHelp(){return Re(this,nf)[nf]}set extendedHelp(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,nf)[nf]=n?e:String(e)}setExtendedHelp(e){return this.extendedHelp=e,this}get sendReport(){return Re(this,rf)[rf]}set sendReport(e){const n=typeof e=="string"||e===void 0||e===null;Re(this,rf)[rf]=n?e:String(e)}setSendReport(e){return this.sendReport=e,this}constructor(e=void 0){if(Object.defineProperty(this,a2,{value:mz}),Object.defineProperty(this,Qc,{writable:!0,value:void 0}),Object.defineProperty(this,Jc,{writable:!0,value:void 0}),Object.defineProperty(this,Xc,{writable:!0,value:void 0}),Object.defineProperty(this,Zc,{writable:!0,value:void 0}),Object.defineProperty(this,ef,{writable:!0,value:void 0}),Object.defineProperty(this,tf,{writable:!0,value:void 0}),Object.defineProperty(this,nf,{writable:!0,value:void 0}),Object.defineProperty(this,rf,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Re(this,a2)[a2](e))this.applyFromObject(e);else throw new r2("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.domain!==void 0&&(this.domain=n.domain),n.reason!==void 0&&(this.reason=n.reason),n.message!==void 0&&(this.message=n.message),n.messageTranslated!==void 0&&(this.messageTranslated=n.messageTranslated),n.location!==void 0&&(this.location=n.location),n.locationType!==void 0&&(this.locationType=n.locationType),n.extendedHelp!==void 0&&(this.extendedHelp=n.extendedHelp),n.sendReport!==void 0&&(this.sendReport=n.sendReport)}toJSON(){return{domain:Re(this,Qc)[Qc],reason:Re(this,Jc)[Jc],message:Re(this,Xc)[Xc],messageTranslated:Re(this,Zc)[Zc],location:Re(this,ef)[ef],locationType:Re(this,tf)[tf],extendedHelp:Re(this,nf)[nf],sendReport:Re(this,rf)[rf]}}toString(){return JSON.stringify(this)}static get Fields(){return{domain:"domain",reason:"reason",message:"message",messageTranslated:"messageTranslated",location:"location",locationType:"locationType",extendedHelp:"extendedHelp",sendReport:"sendReport"}}static from(e){return new xr.Error.Errors(e)}static with(e){return new xr.Error.Errors(e)}copyWith(e){return new xr.Error.Errors({...this.toJSON(),...e})}clone(){return new xr.Error.Errors(this.toJSON())}}),r2);function mz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function gz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}class Tl extends oa{constructor(e){super(e),this.creator=void 0}setCreator(e){return this.creator=e,this}inject(e){var n,r,i,o,u,c,d,h;return this.applyFromObject(e),e!=null&&e.data&&(this.data||this.setData({}),Array.isArray(e==null?void 0:e.data.items)&&typeof this.creator<"u"&&this.creator!==null?(i=this.data)==null||i.setItems((r=(n=e==null?void 0:e.data)==null?void 0:n.items)==null?void 0:r.map(g=>{var y;return(y=this.creator)==null?void 0:y.call(this,g)})):typeof((o=e==null?void 0:e.data)==null?void 0:o.item)=="object"&&typeof this.creator<"u"&&this.creator!==null?(c=this.data)==null||c.setItem(this.creator((u=e==null?void 0:e.data)==null?void 0:u.item)):(h=this.data)==null||h.setItem((d=e==null?void 0:e.data)==null?void 0:d.item)),this}}function Of(t,e,n){if(n&&n instanceof URLSearchParams)t+=`?${n.toString()}`;else if(n&&Object.keys(n).length){const r=new URLSearchParams(Object.entries(n).map(([i,o])=>[i,String(o)])).toString();t+=`?${r}`}return t}var x0;function Vn(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var yz=0;function Ol(t){return"__private_"+yz+++"_"+t}const k9=t=>{const e=xf(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=_.useState(!1),[o,u]=_.useState(),c=()=>(i(!1),hl.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Uo({queryKey:[hl.NewUrl(t==null?void 0:t.qs)],queryFn:c,...t||{}}),isCompleted:r,response:o}};class hl{}x0=hl;hl.URL="/passports/available-methods";hl.NewUrl=t=>Of(x0.URL,void 0,t);hl.Method="get";hl.Fetch$=async(t,e,n,r)=>$f(r??x0.NewUrl(t),{method:x0.Method,...n||{}},e);hl.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new pf(u)})=>{e=e||(c=>new pf(c));const u=await x0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};hl.Definition={name:"CheckPassportMethods",cliName:"check-passport-methods",url:"/passports/available-methods",method:"get",description:"Publicly available information to create the authentication form, and show users how they can signin or signup to the system. Based on the PassportMethod entities, it will compute the available methods for the user, considering their region (IP for example)",out:{envelope:"GResponse",fields:[{name:"email",type:"bool",default:!1},{name:"phone",type:"bool",default:!1},{name:"google",type:"bool",default:!1},{name:"facebook",type:"bool",default:!1},{name:"googleOAuthClientKey",type:"string"},{name:"facebookAppId",type:"string"},{name:"enabledRecaptcha2",type:"bool",default:!1},{name:"recaptcha2ClientKey",type:"string"}]}};var Jd=Ol("email"),Xd=Ol("phone"),Zd=Ol("google"),eh=Ol("facebook"),th=Ol("googleOAuthClientKey"),nh=Ol("facebookAppId"),rh=Ol("enabledRecaptcha2"),ih=Ol("recaptcha2ClientKey"),j3=Ol("isJsonAppliable");class pf{get email(){return Vn(this,Jd)[Jd]}set email(e){Vn(this,Jd)[Jd]=!!e}setEmail(e){return this.email=e,this}get phone(){return Vn(this,Xd)[Xd]}set phone(e){Vn(this,Xd)[Xd]=!!e}setPhone(e){return this.phone=e,this}get google(){return Vn(this,Zd)[Zd]}set google(e){Vn(this,Zd)[Zd]=!!e}setGoogle(e){return this.google=e,this}get facebook(){return Vn(this,eh)[eh]}set facebook(e){Vn(this,eh)[eh]=!!e}setFacebook(e){return this.facebook=e,this}get googleOAuthClientKey(){return Vn(this,th)[th]}set googleOAuthClientKey(e){Vn(this,th)[th]=String(e)}setGoogleOAuthClientKey(e){return this.googleOAuthClientKey=e,this}get facebookAppId(){return Vn(this,nh)[nh]}set facebookAppId(e){Vn(this,nh)[nh]=String(e)}setFacebookAppId(e){return this.facebookAppId=e,this}get enabledRecaptcha2(){return Vn(this,rh)[rh]}set enabledRecaptcha2(e){Vn(this,rh)[rh]=!!e}setEnabledRecaptcha2(e){return this.enabledRecaptcha2=e,this}get recaptcha2ClientKey(){return Vn(this,ih)[ih]}set recaptcha2ClientKey(e){Vn(this,ih)[ih]=String(e)}setRecaptcha2ClientKey(e){return this.recaptcha2ClientKey=e,this}constructor(e=void 0){if(Object.defineProperty(this,j3,{value:vz}),Object.defineProperty(this,Jd,{writable:!0,value:!1}),Object.defineProperty(this,Xd,{writable:!0,value:!1}),Object.defineProperty(this,Zd,{writable:!0,value:!1}),Object.defineProperty(this,eh,{writable:!0,value:!1}),Object.defineProperty(this,th,{writable:!0,value:""}),Object.defineProperty(this,nh,{writable:!0,value:""}),Object.defineProperty(this,rh,{writable:!0,value:!1}),Object.defineProperty(this,ih,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Vn(this,j3)[j3](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.email!==void 0&&(this.email=n.email),n.phone!==void 0&&(this.phone=n.phone),n.google!==void 0&&(this.google=n.google),n.facebook!==void 0&&(this.facebook=n.facebook),n.googleOAuthClientKey!==void 0&&(this.googleOAuthClientKey=n.googleOAuthClientKey),n.facebookAppId!==void 0&&(this.facebookAppId=n.facebookAppId),n.enabledRecaptcha2!==void 0&&(this.enabledRecaptcha2=n.enabledRecaptcha2),n.recaptcha2ClientKey!==void 0&&(this.recaptcha2ClientKey=n.recaptcha2ClientKey)}toJSON(){return{email:Vn(this,Jd)[Jd],phone:Vn(this,Xd)[Xd],google:Vn(this,Zd)[Zd],facebook:Vn(this,eh)[eh],googleOAuthClientKey:Vn(this,th)[th],facebookAppId:Vn(this,nh)[nh],enabledRecaptcha2:Vn(this,rh)[rh],recaptcha2ClientKey:Vn(this,ih)[ih]}}toString(){return JSON.stringify(this)}static get Fields(){return{email:"email",phone:"phone",google:"google",facebook:"facebook",googleOAuthClientKey:"googleOAuthClientKey",facebookAppId:"facebookAppId",enabledRecaptcha2:"enabledRecaptcha2",recaptcha2ClientKey:"recaptcha2ClientKey"}}static from(e){return new pf(e)}static with(e){return new pf(e)}copyWith(e){return new pf({...this.toJSON(),...e})}clone(){return new pf(this.toJSON())}}function vz(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}class Or extends Vt{constructor(...e){super(...e),this.children=void 0,this.publicKey=void 0,this.coverLetter=void 0,this.targetUserLocale=void 0,this.email=void 0,this.phonenumber=void 0,this.workspace=void 0,this.firstName=void 0,this.lastName=void 0,this.forceEmailAddress=void 0,this.forcePhoneNumber=void 0,this.role=void 0,this.roleId=void 0}}Or.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace-invite/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace-invite/new`},single(t,e){return`${e?"/"+e:".."}/workspace-invite/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspace-invites`},Redit:"workspace-invite/edit/:uniqueId",Rcreate:"workspace-invite/new",Rsingle:"workspace-invite/:uniqueId",Rquery:"workspace-invites"};Or.definition={rpc:{query:{}},name:"workspaceInvite",features:{},gormMap:{},fields:[{name:"publicKey",description:"A long hash to get the user into the confirm or signup page without sending the email or phone number, for example if an administrator wants to copy the link.",type:"string",computedType:"string",gormMap:{}},{name:"coverLetter",description:"The content that user will receive to understand the reason of the letter.",type:"string",computedType:"string",gormMap:{}},{name:"targetUserLocale",description:"If the invited person has a different language, then you can define that so the interface for him will be automatically translated.",type:"string",computedType:"string",gormMap:{}},{name:"email",description:"The email address of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"phonenumber",description:"The phone number of the person which is invited.",type:"string",computedType:"string",gormMap:{}},{name:"workspace",description:"Workspace which user is being invite to.",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}},{name:"firstName",description:"First name of the person which is invited",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"lastName",description:"Last name of the person which is invited.",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"forceEmailAddress",description:"If forced, the email address cannot be changed by the user which has been invited.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePhoneNumber",description:"If forced, user cannot change the phone number and needs to complete signup.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"role",description:"The role which invitee get if they accept the request.",type:"one",target:"RoleEntity",validate:"required",computedType:"RoleEntity",gormMap:{}}],cliShort:"invite",description:"Active invitations for non-users or already users to join an specific workspace, created by administration of the workspace"};Or.Fields={...Vt.Fields,publicKey:"publicKey",coverLetter:"coverLetter",targetUserLocale:"targetUserLocale",email:"email",phonenumber:"phonenumber",workspace$:"workspace",workspace:Tg.Fields,firstName:"firstName",lastName:"lastName",forceEmailAddress:"forceEmailAddress",forcePhoneNumber:"forcePhoneNumber",roleId:"roleId",role$:"role",role:Dr.Fields};var j4,B4,H4,q4,z4,V4,G4,W4,K4,Y4,Q4,J4,X4,Z4,e_,t_,n_,r_,i_,a_,mn;function du(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}const Pv={data:{user:{firstName:"Ali",lastName:"Torabi"},exchangeKey:"key1",token:"token"}};let bz=(j4=ft("passport/authorizeOs"),B4=dt("post"),H4=ft("users/invitations"),q4=dt("get"),z4=ft("passports/signin/classic"),V4=dt("post"),G4=ft("passport/request-reset-mail-password"),W4=dt("post"),K4=ft("passports/available-methods"),Y4=dt("get"),Q4=ft("workspace/passport/check"),J4=dt("post"),X4=ft("passports/signup/classic"),Z4=dt("post"),e_=ft("passport/totp/confirm"),t_=dt("post"),n_=ft("workspace/passport/otp"),r_=dt("post"),i_=ft("workspace/public/types"),a_=dt("get"),mn=class{async passportAuthroizeOs(e){return Pv}async getUserInvites(e){return pB}async postSigninClassic(e){return Pv}async postRequestResetMail(e){return Pv}async getAvailableMethods(e){return{data:{item:{email:!0,enabledRecaptcha2:!1,google:null,phone:!0,recaptcha2ClientKey:"6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"}}}}async postWorkspacePassportCheck(e){var r;return((r=e==null?void 0:e.body)==null?void 0:r.value.includes("@"))?{data:{next:["otp","create-with-password"],flags:["enable-totp","force-totp"],otpInfo:null}}:{data:{next:["otp"],flags:["enable-totp","force-totp"],otpInfo:null}}}async postPassportSignupClassic(e){var n;return(n=e==null?void 0:e.body)==null||n.value.includes("@"),{data:{session:null,totpUrl:"otpauth://totp/Fireback:ali@ali.com?algorithm=SHA1&digits=6&issuer=Fireback&period=30&secret=R2AQ4NPS7FKECL3ZVTF3JMTLBYGDAAVU",continueToTotp:!0,forcedTotp:!0}}}async postConfirm(e){return{data:{session:Pv.data}}}async postOtp(e){return{data:{session:Pv.data}}}async getWorkspaceTypes(e){return{data:{items:[{description:null,slug:"customer",title:"customer",uniqueId:"nG012z7VNyYKMJPqWjV04"}],itemsPerPage:20,startIndex:0,totalItems:2}}}},du(mn.prototype,"passportAuthroizeOs",[j4,B4],Object.getOwnPropertyDescriptor(mn.prototype,"passportAuthroizeOs"),mn.prototype),du(mn.prototype,"getUserInvites",[H4,q4],Object.getOwnPropertyDescriptor(mn.prototype,"getUserInvites"),mn.prototype),du(mn.prototype,"postSigninClassic",[z4,V4],Object.getOwnPropertyDescriptor(mn.prototype,"postSigninClassic"),mn.prototype),du(mn.prototype,"postRequestResetMail",[G4,W4],Object.getOwnPropertyDescriptor(mn.prototype,"postRequestResetMail"),mn.prototype),du(mn.prototype,"getAvailableMethods",[K4,Y4],Object.getOwnPropertyDescriptor(mn.prototype,"getAvailableMethods"),mn.prototype),du(mn.prototype,"postWorkspacePassportCheck",[Q4,J4],Object.getOwnPropertyDescriptor(mn.prototype,"postWorkspacePassportCheck"),mn.prototype),du(mn.prototype,"postPassportSignupClassic",[X4,Z4],Object.getOwnPropertyDescriptor(mn.prototype,"postPassportSignupClassic"),mn.prototype),du(mn.prototype,"postConfirm",[e_,t_],Object.getOwnPropertyDescriptor(mn.prototype,"postConfirm"),mn.prototype),du(mn.prototype,"postOtp",[n_,r_],Object.getOwnPropertyDescriptor(mn.prototype,"postOtp"),mn.prototype),du(mn.prototype,"getWorkspaceTypes",[i_,a_],Object.getOwnPropertyDescriptor(mn.prototype,"getWorkspaceTypes"),mn.prototype),mn);class jx extends Vt{constructor(...e){super(...e),this.children=void 0,this.name=void 0,this.operationId=void 0,this.diskPath=void 0,this.size=void 0,this.virtualPath=void 0,this.type=void 0,this.variations=void 0}}jx.Navigation={edit(t,e){return`${e?"/"+e:".."}/file/edit/${t}`},create(t){return`${t?"/"+t:".."}/file/new`},single(t,e){return`${e?"/"+e:".."}/file/${t}`},query(t={},e){return`${e?"/"+e:".."}/files`},Redit:"file/edit/:uniqueId",Rcreate:"file/new",Rsingle:"file/:uniqueId",Rquery:"files",rVariationsCreate:"file/:linkerId/variations/new",rVariationsEdit:"file/:linkerId/variations/edit/:uniqueId",editVariations(t,e,n){return`${n?"/"+n:""}/file/${t}/variations/edit/${e}`},createVariations(t,e){return`${e?"/"+e:""}/file/${t}/variations/new`}};jx.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"file",features:{},gormMap:{},fields:[{name:"name",type:"string",computedType:"string",gormMap:{}},{name:"operationId",description:"For each upload, we need to assign a operation id, so if the operation has been cancelled, it would be cleared automatically, and there won't be orphant files in the database.",type:"string",computedType:"string",gormMap:{}},{name:"diskPath",type:"string",computedType:"string",gormMap:{}},{name:"size",type:"int64",computedType:"number",gormMap:{}},{name:"virtualPath",type:"string",computedType:"string",gormMap:{}},{name:"type",type:"string",computedType:"string",gormMap:{}},{name:"variations",type:"array",computedType:"FileVariations[]",gormMap:{},"-":"FileVariations",fields:[{name:"name",type:"string",computedType:"string",gormMap:{}}],linkedTo:"FileEntity"}],description:"Tus file uploading reference of the content. Every files being uploaded using tus will be stored in this table."};jx.Fields={...Vt.Fields,name:"name",operationId:"operationId",diskPath:"diskPath",size:"size",virtualPath:"virtualPath",type:"type",variations$:"variations",variationsAt:t=>({$:`variations[${t}]`,...Vt.Fields,name:`variations[${t}].name`})};function F9(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;etypeof t=="number"&&!isNaN(t),pp=t=>typeof t=="string",$a=t=>typeof t=="function",P2=t=>pp(t)||$a(t)?t:null,B3=t=>_.isValidElement(t)||pp(t)||$a(t)||i0(t);function wz(t,e,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=t;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(e,n)})})}function jw(t){let{enter:e,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=t;return function(u){let{children:c,position:d,preventExitTransition:h,done:g,nodeRef:y,isIn:b}=u;const v=r?`${e}--${d}`:e,C=r?`${n}--${d}`:n,E=_.useRef(0);return _.useLayoutEffect(()=>{const $=y.current,x=v.split(" "),O=R=>{R.target===y.current&&($.dispatchEvent(new Event("d")),$.removeEventListener("animationend",O),$.removeEventListener("animationcancel",O),E.current===0&&R.type!=="animationcancel"&&$.classList.remove(...x))};$.classList.add(...x),$.addEventListener("animationend",O),$.addEventListener("animationcancel",O)},[]),_.useEffect(()=>{const $=y.current,x=()=>{$.removeEventListener("animationend",x),i?wz($,g,o):g()};b||(h?x():(E.current=1,$.className+=` ${C}`,$.addEventListener("animationend",x)))},[b]),Ae.createElement(Ae.Fragment,null,c)}}function o_(t,e){return t!=null?{content:t.content,containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,status:e}:{}}const Po={list:new Map,emitQueue:new Map,on(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off(t,e){if(e){const n=this.list.get(t).filter(r=>r!==e);return this.list.set(t,n),this}return this.list.delete(t),this},cancelEmit(t){const e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit(t){this.list.has(t)&&this.list.get(t).forEach(e=>{const n=setTimeout(()=>{e(...[].slice.call(arguments,1))},0);this.emitQueue.has(t)||this.emitQueue.set(t,[]),this.emitQueue.get(t).push(n)})}},o2=t=>{let{theme:e,type:n,...r}=t;return Ae.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...r})},H3={info:function(t){return Ae.createElement(o2,{...t},Ae.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return Ae.createElement(o2,{...t},Ae.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return Ae.createElement(o2,{...t},Ae.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return Ae.createElement(o2,{...t},Ae.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return Ae.createElement("div",{className:"Toastify__spinner"})}};function Sz(t){const[,e]=_.useReducer(v=>v+1,0),[n,r]=_.useState([]),i=_.useRef(null),o=_.useRef(new Map).current,u=v=>n.indexOf(v)!==-1,c=_.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:u,getToast:v=>o.get(v)}).current;function d(v){let{containerId:C}=v;const{limit:E}=c.props;!E||C&&c.containerId!==C||(c.count-=c.queue.length,c.queue=[])}function h(v){r(C=>v==null?[]:C.filter(E=>E!==v))}function g(){const{toastContent:v,toastProps:C,staleId:E}=c.queue.shift();b(v,C,E)}function y(v,C){let{delay:E,staleId:$,...x}=C;if(!B3(v)||(function(me){return!i.current||c.props.enableMultiContainer&&me.containerId!==c.props.containerId||o.has(me.toastId)&&me.updateId==null})(x))return;const{toastId:O,updateId:R,data:D}=x,{props:P}=c,L=()=>h(O),F=R==null;F&&c.count++;const H={...P,style:P.toastStyle,key:c.toastKey++,...Object.fromEntries(Object.entries(x).filter(me=>{let[te,be]=me;return be!=null})),toastId:O,updateId:R,data:D,closeToast:L,isIn:!1,className:P2(x.className||P.toastClassName),bodyClassName:P2(x.bodyClassName||P.bodyClassName),progressClassName:P2(x.progressClassName||P.progressClassName),autoClose:!x.isLoading&&(Y=x.autoClose,X=P.autoClose,Y===!1||i0(Y)&&Y>0?Y:X),deleteToast(){const me=o_(o.get(O),"removed");o.delete(O),Po.emit(4,me);const te=c.queue.length;if(c.count=O==null?c.count-c.displayedToast:c.count-1,c.count<0&&(c.count=0),te>0){const be=O==null?c.props.limit:1;if(te===1||be===1)c.displayedToast++,g();else{const we=be>te?te:be;c.displayedToast=we;for(let B=0;Bie in H3)(be)&&(V=H3[be](q))),V})(H),$a(x.onOpen)&&(H.onOpen=x.onOpen),$a(x.onClose)&&(H.onClose=x.onClose),H.closeButton=P.closeButton,x.closeButton===!1||B3(x.closeButton)?H.closeButton=x.closeButton:x.closeButton===!0&&(H.closeButton=!B3(P.closeButton)||P.closeButton);let ue=v;_.isValidElement(v)&&!pp(v.type)?ue=_.cloneElement(v,{closeToast:L,toastProps:H,data:D}):$a(v)&&(ue=v({closeToast:L,toastProps:H,data:D})),P.limit&&P.limit>0&&c.count>P.limit&&F?c.queue.push({toastContent:ue,toastProps:H,staleId:$}):i0(E)?setTimeout(()=>{b(ue,H,$)},E):b(ue,H,$)}function b(v,C,E){const{toastId:$}=C;E&&o.delete(E);const x={content:v,props:C};o.set($,x),r(O=>[...O,$].filter(R=>R!==E)),Po.emit(4,o_(x,x.props.updateId==null?"added":"updated"))}return _.useEffect(()=>(c.containerId=t.containerId,Po.cancelEmit(3).on(0,y).on(1,v=>i.current&&h(v)).on(5,d).emit(2,c),()=>{o.clear(),Po.emit(3,c)}),[]),_.useEffect(()=>{c.props=t,c.isToastActive=u,c.displayedToast=n.length}),{getToastToRender:function(v){const C=new Map,E=Array.from(o.values());return t.newestOnTop&&E.reverse(),E.forEach($=>{const{position:x}=$.props;C.has(x)||C.set(x,[]),C.get(x).push($)}),Array.from(C,$=>v($[0],$[1]))},containerRef:i,isToastActive:u}}function s_(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function u_(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function Cz(t){const[e,n]=_.useState(!1),[r,i]=_.useState(!1),o=_.useRef(null),u=_.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=_.useRef(t),{autoClose:d,pauseOnHover:h,closeToast:g,onClick:y,closeOnClick:b}=t;function v(D){if(t.draggable){D.nativeEvent.type==="touchstart"&&D.nativeEvent.preventDefault(),u.didMove=!1,document.addEventListener("mousemove",x),document.addEventListener("mouseup",O),document.addEventListener("touchmove",x),document.addEventListener("touchend",O);const P=o.current;u.canCloseOnClick=!0,u.canDrag=!0,u.boundingRect=P.getBoundingClientRect(),P.style.transition="",u.x=s_(D.nativeEvent),u.y=u_(D.nativeEvent),t.draggableDirection==="x"?(u.start=u.x,u.removalDistance=P.offsetWidth*(t.draggablePercent/100)):(u.start=u.y,u.removalDistance=P.offsetHeight*(t.draggablePercent===80?1.5*t.draggablePercent:t.draggablePercent/100))}}function C(D){if(u.boundingRect){const{top:P,bottom:L,left:F,right:H}=u.boundingRect;D.nativeEvent.type!=="touchend"&&t.pauseOnHover&&u.x>=F&&u.x<=H&&u.y>=P&&u.y<=L?$():E()}}function E(){n(!0)}function $(){n(!1)}function x(D){const P=o.current;u.canDrag&&P&&(u.didMove=!0,e&&$(),u.x=s_(D),u.y=u_(D),u.delta=t.draggableDirection==="x"?u.x-u.start:u.y-u.start,u.start!==u.x&&(u.canCloseOnClick=!1),P.style.transform=`translate${t.draggableDirection}(${u.delta}px)`,P.style.opacity=""+(1-Math.abs(u.delta/u.removalDistance)))}function O(){document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",O),document.removeEventListener("touchmove",x),document.removeEventListener("touchend",O);const D=o.current;if(u.canDrag&&u.didMove&&D){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance)return i(!0),void t.closeToast();D.style.transition="transform 0.2s, opacity 0.2s",D.style.transform=`translate${t.draggableDirection}(0)`,D.style.opacity="1"}}_.useEffect(()=>{c.current=t}),_.useEffect(()=>(o.current&&o.current.addEventListener("d",E,{once:!0}),$a(t.onOpen)&&t.onOpen(_.isValidElement(t.children)&&t.children.props),()=>{const D=c.current;$a(D.onClose)&&D.onClose(_.isValidElement(D.children)&&D.children.props)}),[]),_.useEffect(()=>(t.pauseOnFocusLoss&&(document.hasFocus()||$(),window.addEventListener("focus",E),window.addEventListener("blur",$)),()=>{t.pauseOnFocusLoss&&(window.removeEventListener("focus",E),window.removeEventListener("blur",$))}),[t.pauseOnFocusLoss]);const R={onMouseDown:v,onTouchStart:v,onMouseUp:C,onTouchEnd:C};return d&&h&&(R.onMouseEnter=$,R.onMouseLeave=E),b&&(R.onClick=D=>{y&&y(D),u.canCloseOnClick&&g()}),{playToast:E,pauseToast:$,isRunning:e,preventExitTransition:r,toastRef:o,eventHandlers:R}}function L9(t){let{closeToast:e,theme:n,ariaLabel:r="close"}=t;return Ae.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:i=>{i.stopPropagation(),e(i)},"aria-label":r},Ae.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Ae.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function $z(t){let{delay:e,isRunning:n,closeToast:r,type:i="default",hide:o,className:u,style:c,controlledProgress:d,progress:h,rtl:g,isIn:y,theme:b}=t;const v=o||d&&h===0,C={...c,animationDuration:`${e}ms`,animationPlayState:n?"running":"paused",opacity:v?0:1};d&&(C.transform=`scaleX(${h})`);const E=mf("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${b}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":g}),$=$a(u)?u({rtl:g,type:i,defaultClassName:E}):mf(E,u);return Ae.createElement("div",{role:"progressbar","aria-hidden":v?"true":"false","aria-label":"notification timer",className:$,style:C,[d&&h>=1?"onTransitionEnd":"onAnimationEnd"]:d&&h<1?null:()=>{y&&r()}})}const Ez=t=>{const{isRunning:e,preventExitTransition:n,toastRef:r,eventHandlers:i}=Cz(t),{closeButton:o,children:u,autoClose:c,onClick:d,type:h,hideProgressBar:g,closeToast:y,transition:b,position:v,className:C,style:E,bodyClassName:$,bodyStyle:x,progressClassName:O,progressStyle:R,updateId:D,role:P,progress:L,rtl:F,toastId:H,deleteToast:Y,isIn:X,isLoading:ue,iconOut:me,closeOnClick:te,theme:be}=t,we=mf("Toastify__toast",`Toastify__toast-theme--${be}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":F},{"Toastify__toast--close-on-click":te}),B=$a(C)?C({rtl:F,position:v,type:h,defaultClassName:we}):mf(we,C),V=!!L||!c,q={closeToast:y,type:h,theme:be};let ie=null;return o===!1||(ie=$a(o)?o(q):_.isValidElement(o)?_.cloneElement(o,q):L9(q)),Ae.createElement(b,{isIn:X,done:Y,position:v,preventExitTransition:n,nodeRef:r},Ae.createElement("div",{id:H,onClick:d,className:B,...i,style:E,ref:r},Ae.createElement("div",{...X&&{role:P},className:$a($)?$({type:h}):mf("Toastify__toast-body",$),style:x},me!=null&&Ae.createElement("div",{className:mf("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!ue})},me),Ae.createElement("div",null,u)),ie,Ae.createElement($z,{...D&&!V?{key:`pb-${D}`}:{},rtl:F,theme:be,delay:c,isRunning:e,isIn:X,closeToast:y,hide:g,type:h,style:R,className:O,controlledProgress:V,progress:L||0})))},Bw=function(t,e){return e===void 0&&(e=!1),{enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}},xz=jw(Bw("bounce",!0));jw(Bw("slide",!0));jw(Bw("zoom"));jw(Bw("flip"));const l_=_.forwardRef((t,e)=>{const{getToastToRender:n,containerRef:r,isToastActive:i}=Sz(t),{className:o,style:u,rtl:c,containerId:d}=t;function h(g){const y=mf("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":c});return $a(o)?o({position:g,rtl:c,defaultClassName:y}):mf(y,P2(o))}return _.useEffect(()=>{e&&(e.current=r.current)},[]),Ae.createElement("div",{ref:r,className:"Toastify",id:d},n((g,y)=>{const b=y.length?{...u}:{...u,pointerEvents:"none"};return Ae.createElement("div",{className:h(g),style:b,key:`container-${g}`},y.map((v,C)=>{let{content:E,props:$}=v;return Ae.createElement(Ez,{...$,isIn:i($.toastId),style:{...$.style,"--nth":C+1,"--len":y.length},key:`toast-${$.key}`},E)}))}))});l_.displayName="ToastContainer",l_.defaultProps={position:"top-right",transition:xz,autoClose:5e3,closeButton:L9,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let q3,Gh=new Map,Xv=[],Tz=1;function U9(){return""+Tz++}function Oz(t){return t&&(pp(t.toastId)||i0(t.toastId))?t.toastId:U9()}function a0(t,e){return Gh.size>0?Po.emit(0,t,e):Xv.push({content:t,options:e}),e.toastId}function tw(t,e){return{...e,type:e&&e.type||t,toastId:Oz(e)}}function s2(t){return(e,n)=>a0(e,tw(t,n))}function Xn(t,e){return a0(t,tw("default",e))}Xn.loading=(t,e)=>a0(t,tw("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),Xn.promise=function(t,e,n){let r,{pending:i,error:o,success:u}=e;i&&(r=pp(i)?Xn.loading(i,n):Xn.loading(i.render,{...n,...i}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},d=(g,y,b)=>{if(y==null)return void Xn.dismiss(r);const v={type:g,...c,...n,data:b},C=pp(y)?{render:y}:y;return r?Xn.update(r,{...v,...C}):Xn(C.render,{...v,...C}),b},h=$a(t)?t():t;return h.then(g=>d("success",u,g)).catch(g=>d("error",o,g)),h},Xn.success=s2("success"),Xn.info=s2("info"),Xn.error=s2("error"),Xn.warning=s2("warning"),Xn.warn=Xn.warning,Xn.dark=(t,e)=>a0(t,tw("default",{theme:"dark",...e})),Xn.dismiss=t=>{Gh.size>0?Po.emit(1,t):Xv=Xv.filter(e=>t!=null&&e.options.toastId!==t)},Xn.clearWaitingQueue=function(t){return t===void 0&&(t={}),Po.emit(5,t)},Xn.isActive=t=>{let e=!1;return Gh.forEach(n=>{n.isToastActive&&n.isToastActive(t)&&(e=!0)}),e},Xn.update=function(t,e){e===void 0&&(e={}),setTimeout(()=>{const n=(function(r,i){let{containerId:o}=i;const u=Gh.get(o||q3);return u&&u.getToast(r)})(t,e);if(n){const{props:r,content:i}=n,o={delay:100,...r,...e,toastId:e.toastId||t,updateId:U9()};o.toastId!==t&&(o.staleId=t);const u=o.render||i;delete o.render,a0(u,o)}},0)},Xn.done=t=>{Xn.update(t,{progress:1})},Xn.onChange=t=>(Po.on(4,t),()=>{Po.off(4,t)}),Xn.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Xn.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},Po.on(2,t=>{q3=t.containerId||t,Gh.set(q3,t),Xv.forEach(e=>{Po.emit(0,e.content,e.options)}),Xv=[]}).on(3,t=>{Gh.delete(t.containerId||t),Gh.size===0&&Po.off(0).off(1).off(5)});let Iv=null;const c_=2500;function _z(t,e){if((Iv==null?void 0:Iv.content)==t)return;const n=Xn(t,{hideProgressBar:!0,autoClose:c_,...e});Iv={content:t,key:n},setTimeout(()=>{Iv=null},c_)}const j9={onlyOnRoot:"This feature is only available for root access, please ask your administrator for more details",productName:"Fireback",orders:{archiveTitle:"Orders",discountCode:"Discount code",discountCodeHint:"Discount code",editOrder:"Edit order",invoiceNumber:"Invoice number",invoiceNumberHint:"Invoice number",items:"Items",itemsHint:"Items",newOrder:"New order",orderStatus:"Order status",orderStatusHint:"Order status",paymentStatus:"Payment status",paymentStatusHint:"Payment status",shippingAddress:"Shipping address",shippingAddressHint:"Shipping address",totalPrice:"Total price",totalPriceHint:"Total price"},shoppingCarts:{archiveTitle:"Shopping carts",editShoppingCart:"Edit shopping cart",items:"Items",itemsHint:"Items",newShoppingCart:"New shopping cart",product:"Product",productHint:"Select the product item",quantity:"Quantity",quantityHint:"How many products do you want"},discountCodes:{appliedCategories:"Applied categories",appliedCategoriesHint:"Applied categories",appliedProducts:"Applied products",appliedProductsHint:"Applied products",archiveTitle:"Discount codes",editDiscountCode:"Edit discount code",excludedCategories:"Excluded categories",excludedCategoriesHint:"Excluded categories",excludedProducts:"Excluded products",excludedProductsHint:"Excluded products",limit:"Limit",limitHint:"Limit",newDiscountCode:"New discount code",series:"Series",seriesHint:"Series",validFrom:"Valid from",validFromHint:"Valid from",validUntil:"Valid until",validUntilHint:"Valid until"},postcategories:{archiveTitle:"Post Category",editpostCategory:"Edit Post category",name:"Name",nameHint:"Name",newpostCategory:"Newpost category"},pagecategories:{archiveTitle:"Page category",editpageCategory:"Edit page category",name:"Name",nameHint:"Name",newpageCategory:"New page category"},posttags:{archiveTitle:"Post tag",editpostTag:"Edit post tag",name:"Name",nameHint:"Name",newpostTag:"New post tag"},pagetags:{archiveTitle:"Page tag",editpageTag:"Edit page tag",name:"Name",nameHint:"Name",newpageTag:"New page tag"},posts:{archiveTitle:"Posts",category:"Category",categoryHint:"Category",content:"Content",contentHint:"content",editpost:"Edit post",newpost:"New post",tags:"Tags",tagsHint:"Tags",title:"Title",titleHint:"Title"},pages:{archiveTitle:"Pages",category:"Category",categoryHint:"Page category",content:"Content",contentHint:"",editpage:"Edit page",newpage:"New page",tags:"Tags",tagsHint:"Page tags",title:"Title",titleHint:"Page title"},components:{currency:"Currency",currencyHint:"Currency type",amount:"Amount",amountHint:"Amount in numbers, separated by . for cents"},brands:{archiveTitle:"Brand",editBrand:"Edit brand",name:"Name",nameHint:"Brand's name",newBrand:"New brand"},tags:{archiveTitle:"Tags",editTag:"Edit tag",name:"Name",nameHint:"Tag name",newTag:"Name of the tag"},productsubmissions:{name:"Name",nameHint:"Name of the product",archiveTitle:"Product Inventory",brand:"Brand",brandHint:"If the product belongs to an specific brand",category:"Category",categoryHint:"Product category",description:"Description",descriptionHint:"Product description",editproductSubmission:"Edit product submission",newproductSubmission:"Newproduct submission",price:"Price",priceHint:"Set the price tag for the product",product:"Product",productHint:"Select the product type",sku:"SKU",skuHint:"SKU code for the product",tags:"Tags",tagsHint:"Product tags"},products:{archiveTitle:"product",description:"Description",descriptionHint:"Describe the product form",editproduct:"Edit product",fields:"fields",fieldsHint:"fields hint",jsonSchema:"json schema",jsonSchemaHint:"json schema hint",name:"Form name",nameHint:"Name the type of products which this form represents",newproduct:"New product",uiSchema:"ui schema",uiSchemaHint:"ui schema hint"},categories:{archiveTitle:"Categories",editCategory:"Edit category",name:"Name",nameHint:"Name of the category",newCategory:"New category",parent:"Parent category",parentHint:"This category would be under the parent category in display or search"},abac:{backToApp:"Go back to the app",email:"Email",emailAddress:"Email address",firstName:"First name",lastName:"Last name",otpOrDifferent:"Or try a different account instead",otpResetMethod:"Reset method",otpTitle:"One time password",otpTitleHint:`Login to your account via a 6-8 digit pins, which we will - send by phone or email. You can change your password later - in account center.`,password:"Password",remember:"Remember my credentials",signin:"Sign in",signout:"Sign out",signup:"Sign up",signupType:"Signup Type",signupTypeHint:"Select how do you want to use software",viaEmail:"Send pin via email address",viaSms:"Phone number (SMS)"},about:"About",acChecks:{moduleName:"Checks"},acbankbranches:{acBankBranchArchiveTitle:"Bank Branches",bank:"Bank",bankHint:"The bank that this branch belongs to",bankId:"Bank",city:"City",cityHint:"City that this bank branch is located",cityId:"City",editAcBank:"Edit Bank Branch",editAcBankBranch:"Edit Bank Branch",locaitonHint:"Physical location of the branch",location:"Location",name:"Bank Branch Name",nameHint:"The branch name of the bank, town may be included",newAcBankBranch:"New Bank Branch",province:"Province",provinceHint:"Province that this bank branch is located"},acbanks:{acBankArchiveTitle:"Banks",editAcBank:"Edit Bank",name:"Bank name",nameHint:"The national name of the bank to make it easier recognize",newAcBank:"New Bank"},accesibility:{leftHand:"Left handed",rightHand:"Right handed"},acchecks:{acCheckArchiveTitle:"Checks",amount:"Amount",amountFormatted:"Amount",amountHint:"Amount of this check",bankBranch:"Bank Branch",bankBranchCityName:"City name",bankBranchHint:"The branch which has issued this check",bankBranchId:"Bank Branch",bankBranchName:"Branch name",currency:"Currency",currencyHint:"The currency which this check is written in",customer:"Customer",customerHint:"The customer that this check is from or belongs to",customerId:"Customer",dueDate:"Due Date",dueDateFormatted:"Due Date",dueDateHint:"The date that this check should be passed",editAcCheck:"Edit Check",identifier:"Identifier",identifierHint:"Identifier is special code for this check or unique id",issueDate:"Issue date",issueDateFormatted:"Issue Date",issueDateHint:"The date that check has been issued",newAcCheck:"New Check",recipientBankBranch:"Recipient Bank Branch",recipientBankBranchHint:"The bank which this check has been taken to",recipientCustomer:"Recipient Customer",recipientCustomerHint:"The customer who has this check",status:"Status",statusHint:"The status of this check"},accheckstatuses:{acCheckStatusArchiveTitle:"Check Statuses",editAcCheckStatus:"Edit Check Status",name:"Status Name",nameHint:"Status name which will be assigned to a check in workflow",newAcCheckStatus:"New Check Status"},accountcollections:{archiveTitle:"Account Collections",editAccountCollection:"Edit Collection",name:"Collection Name",nameHint:"Name the account collection",newAccountCollection:"New Account Collection"},accounting:{account:{currency:"Currency",name:"Name"},accountCollections:"Account Collections",accountCollectionsHint:"Account Collections",amount:"Amount",legalUnit:{name:"Name"},settlementDate:"Settlement Date",summary:"summary",title:"Title",transactionDate:"Transaction Date"},actions:{addJob:"+ Add job",back:"Back",edit:"Edit",new:"New"},addLocation:"Add location",alreadyHaveAnAccount:"Already have an account? Sign in instead",answerSheet:{grammarProgress:"Grammar %",listeningProgress:"Listening %",readingProgress:"Reading %",sourceExam:"Source exam",speakingProgress:"Speaking %",takerFullname:"Student fullname",writingProgress:"Writing %"},authenticatedOnly:"This section requires you to login before viewing or editing of any kind.",backup:{generateAndDownload:"Generate & Download",generateDescription:`You can create a backup of the system here. It's important to remember - you will generate back from data which are visible to you. Making - backups must be done using administrative accounts to ensure coverage - for all data available in system.`,generateTitle:"Generate Backup",restoreDescription:`You can here import backup files into the system, or data that you - have migrated from another installation.`,restoreTitle:"Restore Backups",uploadAndRestore:"Update & Restore"},banks:{title:"Banks"},close:"Close",cloudProjects:{clientId:"Client Id",name:"Name",secret:"Secret"},common:{cancel:"Cancel",no:"No",isNUll:"Not specified",noaccess:"You do not have access to this part of the app. Contact your supervisor for consultation",parent:"Parent Record",parentHint:"Select the parent entity which this belogns to",save:"Save",yes:"Yes"},commonProfile:{},confirm:"Confirm",continue:"Continue",createAccount:"Create Account",created:"Created Time",currentUser:{editProfile:"Edit profile",profile:"Profile",signin:"Sign in",signout:"Sign out"},dashboards:"Dashboards",datepicker:{day:"Day",month:"Month",year:"Year"},debugInfo:"Show debug information",deleteAction:"Delete",deleteConfirmMessage:"Are you sure to delete the selected items?",deleteConfirmation:"Are you sure?",diagram:"Diagram",drive:{attachFile:"Attach file",driveTitle:"Drive",menu:"Drive & Files",name:"Name",size:"Size",title:"Title",type:"Type",viewPath:"View Path",virtualPath:"Virtual Path"},dropNFiles:"Drop {n} file(s) to begin the upload",edit:"Edit",errors:{UNKOWN_ERRROR:"Unknown error occured"},exam:{startInstruction:"Start a new exam by clicking on the button, we keep track of your progress so you can come back later.",startNew:"Start a new exam",title:"Exam"},examSession:{highlightMissing:"Highlight Missing",showAnswers:"Show answers"},fb:{commonProfile:"Edit your profile",editMailProvider:"Email provider",editMailSender:"Edit Email sender",editPublicJoinKey:"Edit Public Join Key",editRole:"Edit role",editWorkspaceType:"Edit Workspace Type",newMailProvider:"New Email provider",newMailSender:"New Email sender",newPublicJoinKey:"New Public Join Key",newRole:"New role",newWorkspaceType:"New Workspace Type",publicJoinKey:"Public Join Key"},fbMenu:{emailProvider:"Email Provider",emailProviders:"Email Providers",emailSender:"Email Sender",emailSenders:"Email Senders",gsmProvider:"GSM Provider",keyboardShortcuts:"Shortcuts",myInvitations:"My Invitations",publicJoinKey:"Public join keys",roles:"Roles",title:"System",users:"Users",workspaceInvites:"Invites",workspaceTypes:"Workspace Types",workspaces:"Workspaces"},featureNotAvailableOnMock:"Not available on the mock server. The version you are using is basically a demo, and runs without a real server. Things are not being saved, or do not represent a real flow.",firstTime:"First time in the app, or lost password?",forcedLayout:{forcedLayoutGeneralMessage:"You need to login before accessing this section",checkingSession:"Checking tokens and authentication..."},forgotPassword:"Forgot password",generalSettings:{accessibility:{description:"Handle the accessibility settings",title:"Accessibility"},debugSettings:{description:"See the debug information of the app, for developers or help desks",title:"Debug Settings"},grpcMethod:"Over grpc",hostAddress:"Host address",httpMethod:"Over http",interfaceLang:{description:"Here you can change your software interface langauge settings",title:"Language & Region"},port:"Port",remoteDescripton:"Remote service, is the place that all data, logics, and services are installed there. It could be cloud, or locally. Only advanced users, changing it to wrong address might cause inaccessibility.",remoteTitle:"Remote service",richTextEditor:{description:"Manage how you want to edit textual content in the app",title:"Text Editor"},theme:{description:"Change the interface theme color",title:"Theme"}},jalaliMonths:{0:"Farvardin",1:"Ordibehesht",2:"Khordad",3:"Tir",4:"Mordad",5:"Shahrivar",6:"Mehr",7:"Aban",8:"Azar",9:"Dey",10:"Bahman",11:"Isfand"},katexPlugin:{body:"Formula",cancel:"Cancel",insert:"Insert",title:"Katex Plugin",toolbarName:"Insert Formula"},keyboardShortcut:{action:"Action",defaultBinding:"Default Key Binding",keyboardShortcut:"Keyboard Shortcuts",pressToDefine:"Press to define",userDefinedBinding:"User Defined Bindings"},lackOfPermission:"You need more permissions, in order to access this part of the software.",locale:{englishWorldwide:"English (Worldwide)",persianIran:"Persian (Iran)",polishPoland:"Polish (Polski)"},loginButton:"Login",loginButtonOs:"Login With OS",mailProvider:{apiKey:"Api Key",apiKeyHint:"The API key related to the mail service provider, if applicable",fromEmailAddress:"From email address",fromEmailAddressHint:"The address you are sending from, generally it needs to be registered in mail service",fromName:"From name",fromNameHint:"Sender name",nickName:"Nick name",nickNameHint:"Email sender nick name, usually the sales person or customer support",replyTo:"Reply to",replyToHint:"The address which receipent is gonna reply to. (noreply@domain) for example",senderAddress:"Sender address",senderName:"Sender name",type:"Service Type",typeHint:"Select the mail provider from list. Under the list you can find all providers we support."},menu:{answerSheets:"Answer Sheets",classRooms:"Classrooms",courses:"Courses",exams:"Exams",personal:"Personalize",questionBanks:"Question Banks",questions:"Questions",quizzes:"Quizzes",settings:"Settings",title:"Actions",units:"Units"},meta:{titleAffix:"PixelPlux"},misc:{currencies:"Currencies",currency:{editCurrency:"Edit currency",name:"Name",nameHint:"Name of the currrency",newCurrency:"New currency",symbol:"Symbol",symbolHint:"Symbol of the currency, usually the unicode character",symbolNative:"Symbol Native",symbolNativeHint:"The symbol of the currency, which is used in the local country"},title:"Misc"},mockNotice:"This is a demo version of the app. There is no backend, nothing is being stored, or should not work properly",networkError:"You are not connected to the network, getting data failed. Check your network connection. If you have connection, it's possible that our server is temporarily offline or on maintenance",noOptions:"No Options",noPendingInvite:"There are no pending invitation for you.",noSignupType:"Creating account is not available now. Contact the administration",not_found_404:"The page you are looking for might have been removed, its URL changed or is temporarily unavailable.",notfound:"Resource you are looking for is not available on this version of the api.",payments:{approve:"Approve",reject:"Reject"},priceTag:{add:"Add price variation",priceTag:"Price Tag",priceTagHint:"Definition of the price in different regions, when user wants to purchase"},reactiveSearch:{noResults:"There are no results :)",placeholder:"Search (Press S)..."},requestReset:"Request Reset",role:{name:"Name",permissions:"Permissions"},saveChanges:"Apply",scenariolanguages:{archiveTitle:"Scenario Languages",editScenarioLanguage:"Edit Scenario Language",name:"Scenario Language",nameHint:"The name of the scenario",newScenarioLanguage:"New Scenario Language"},scenariooperationtypes:{archiveTitle:"Operation Types",editScenarioOperationType:"Edit Operation Type",name:"Operation Type Name",nameHint:"Name of the operation type",newScenarioOperationType:"New Operation Type"},searchplaceholder:"Search...",selectPlaceholder:"- Select an option -",settings:{title:"Settings",apply:"Apply",inaccessibleRemote:"In accessible remote.",interfaceLanguage:"Interface language",interfaceLanguageHint:"The language that you like the interface to be shown to you",preferredHand:"Prefered hand",preferredHandHint:"Select which hand you are most often using phone so some options would be closer to your primary hand",remoteAddress:"Remote address",serverConnected:"Server is connected successfully",textEditorModule:"Text Editor Module",textEditorModuleHint:"You can select between different text editors we provide, and use the one you are more comfortable with",theme:"Theme",themeHint:"Select the interface theme"},signinInstead:"Sign in",signup:{continueAs:"Continue as {currentUser}",continueAsHint:`By logging in as {currentUser}, all your information, - will be stored offline inside your computer, under this user - permissions.`,defaultDescription:"In order to create an account, please fill out the fields below",mobileAuthentication:"In order to login with mobile enter your phone number",signupToWorkspace:"In order to signup as {roleName}, fill the fields below"},signupButton:"Signup",simpleTextEditor:"System simple text editor",table:{updated:"Updated",created:"Created",workspaceId:"Workspace Id",userId:"User Id",filter:{contains:"Contains",endsWith:"Ends With",equal:"Equal",filterPlaceholder:"Filter...",greaterThan:"Greater Than",greaterThanOrEqual:"Greater or equal",lessThan:"Less Than",lessThanOrEqual:"Less or equal",notContains:"Not Contains",notEqual:"Not Equal",startsWith:"Starts With"},info:"Info",next:"Next",noRecords:"There are no records available to show. To create one, press on Plus button.",previous:"Previous",uniqueId:"id",value:"Value"},tempControlWidget:{decrese:"Decrease",increase:"Increase"},tinymceeditor:"TinyMCE Editor",tuyaDevices:{cloudProjectId:"Cloud Project Id",name:"Tuya device name"},unit:{editUnit:"Edit unit",newUnit:"New unit",title:"Title"},units:{content:"Content",editUnit:"Edit Unit",newUnit:"New Unit",parentId:"Parent Id",subUnits:"Sub units"},unnamedRole:"Unknown role",unnamedWorkspace:"Unnamed workspace",user:{editUser:"Edit User",newUser:"New User"},users:{firstName:"First name",lastName:"Last name"},webrtcconfig:"WebRTC Configuration",widgetPicker:{instructions:"Press Arrows from keyboard to change slide
",instructionsFlat:`Press Arrows from keyboard to change slide
- Press Ctrl + Arrows from keyboard to switch to - flat mode`,widgets:"Widgets"},widgets:{noItems:"There are no widgets in this dashboard"},wokspaces:{body:"Body",typeDescription:"Description",typeDescriptionHint:"Describe the workspace type, when user tries to signup will see.",cascadeNotificationConfig:"Cascade notification config to the sub workspaces",cascadeNotificationConfigHint:"By checking this, all subsequent workspaces will be using this email provider, for sending emails. For products which run online as service, usually you want the parent workspace to configurate the mail server. You might uncheck this in larger products, which run globally, and each workspaces need to have their own subspaces, and email configuration",config:"Workspace Config",configurateWorkspaceNotification:"Configurate notification services",confirmEmailSender:"User signup confirm account email",createNewWorkspace:"New workspace",customizedTemplate:"Customize template",disablePublicSignup:"Disable public passports registeration",disablePublicSignupHint:"If checked, no one can signup for this passport or its sub-fireback. Basically, signup screen would be disabled for public",editWorkspae:"Edit workspace",emailSendingConfig:"Email Sending Configuration",emailSendingConfigHint:"Control how the system emails are being sent, customize the message, etc.",emailSendingConfiguration:"Email Sending Configuration",emailSendingConfigurationHint:"Control how the system emails are being sent, customize the message, etc.",forceEmailConfigToSubWorkspaces:"Force the sub workspaces to use these email configurations",forceEmailConfigToSubWorkspacesHint:"By checking this option, all sub workspaces, will be using this configuration, and their admins are not allowed to edit this. Choose this option on products which are running unknown clients in cloud. Do not add personalized content for this workspace in such scenarios",forceSubWorkspaceUseConfig:"Force the sub workspaces to use this provider configuration",forgetPasswordSender:"Forget password instructions",generalMailProvider:"General service that sends emails",invite:{createInvitation:"Create invitation",editInvitation:"Edit invitation",email:"Email address",emailHint:"Invitee email address, they will get the link using this email",firstName:"First name",firstNameHint:"Write the first name of invitee",forcePassport:"Force user to only signup or join with defined email or phone number",lastName:"Last name",lastNameHint:"Write the last name of inviteee",name:"Name",phoneNumber:"Phone number",phoneNumberHint:"Invitee phone number, they will get invitation using sms if you provide their number as well",role:"Role",roleHint:"Select the role(s) you want to give the user when they join the workspace. This can be changed later as well.",roleName:"Role name"},inviteToWorkspace:"Invite to workspace",joinKeyWorkspace:"Workspace",joinKeyWorkspaceHint:"The workspace which will be publicly avaialble",mailServerConfiguration:"Mail server configuration",name:"Name",notification:{dialogTitle:"Edit the mail template"},publicSignup:"Public user signup & Join Keys",publicSignupHint:`This software allows to public users join to this workspace and - it's - subsequent workspaces, by registering via email, phone number or other - types of the passports. - In this section you can enable, disable, and make some other - configurations.`,resetToDefault:"Reset to default",role:"role",roleHint:"Select role",sender:"Sender",sidetitle:"Workspaces",slug:"Slug",title:"Title",type:"Type",workspaceName:"Workspace name",workspaceNameHint:"Enter the workspace name",workspaceTypeSlug:"Slug address",workspaceTypeSlugHint:"The path that publicly will be available to users, if they signup through this account this role would be assigned to them.",workspaceTypeTitle:"Title",workspaceTypeUniqueId:"Unique Id",workspaceTypeUniqueIdHint:"Unique id can be used to redirect user to direct signin",workspaceTypeTitleHint:"The title of the Workspace"}};function Og(t){var n,r,i,o;const e={};if(t.error&&Array.isArray((n=t.error)==null?void 0:n.errors))for(const u of(r=t.error)==null?void 0:r.errors)e[u.location]=u.message;return t.status&&t.ok===!1?{form:`${t.status}`}:((i=t==null?void 0:t.error)!=null&&i.message&&(e.form=(o=t==null?void 0:t.error)==null?void 0:o.message),t.message?{form:`${t.message}`}:e)}function Az(){return("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16))}function B9(t,e="",n={}){for(const r in t)if(t.hasOwnProperty(r)){const i=e?`${e}.${r}`:r;typeof t[r]=="object"&&!Array.isArray(t[r])&&!t[r].operation?B9(t[r],i,n):n[i]=t[r]}return n}function f_(t){const e={ł:"l",Ł:"L"};return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[aeiouAEIOU]/g,"").replace(/[łŁ]/g,n=>e[n]||n).toLowerCase()}function Rz(t,e){const n=B9(e);return t.filter(r=>Object.keys(n).every(i=>{let{operation:o,value:u}=n[i];u=f_(u||"");const c=f_(Sr.get(r,i)||"");if(!c)return!1;switch(o){case"contains":return c.includes(u);case"equals":return c===u;case"startsWith":return c.startsWith(u);case"endsWith":return c.endsWith(u);default:return!1}}))}class fl{constructor(e){this.content=e}items(e){let n={};try{n=JSON.parse(e.jsonQuery)}catch{}return Rz(this.content,n).filter((i,o)=>!(oe.startIndex+e.itemsPerPage-1))}total(){return this.content.length}create(e){const n={...e,uniqueId:Az().substr(0,12)};return this.content.push(n),n}getOne(e){return this.content.find(n=>n.uniqueId===e)}deletes(e){return this.content=this.content.filter(n=>!e.includes(n.uniqueId)),!0}patchOne(e){return this.content=this.content.map(n=>n.uniqueId===e.uniqueId?{...n,...e}:n),e}}const _f=t=>t.split(" or ").map(e=>e.split(" = ")[1].trim()),d_=new fl([]);var h_,p_,Nv;function Pz(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Iz=(h_=ft("files"),p_=dt("get"),Nv=class{async getFiles(e){return{data:{items:d_.items(e),itemsPerPage:e.itemsPerPage,totalItems:d_.total()}}}},Pz(Nv.prototype,"getFiles",[h_,p_],Object.getOwnPropertyDescriptor(Nv.prototype,"getFiles"),Nv.prototype),Nv);class Bx extends Vt{constructor(...e){super(...e),this.children=void 0,this.fromName=void 0,this.fromEmailAddress=void 0,this.replyTo=void 0,this.nickName=void 0}}Bx.Navigation={edit(t,e){return`${e?"/"+e:".."}/email-sender/edit/${t}`},create(t){return`${t?"/"+t:".."}/email-sender/new`},single(t,e){return`${e?"/"+e:".."}/email-sender/${t}`},query(t={},e){return`${e?"/"+e:".."}/email-senders`},Redit:"email-sender/edit/:uniqueId",Rcreate:"email-sender/new",Rsingle:"email-sender/:uniqueId",Rquery:"email-senders"};Bx.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"emailSender",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"fromName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"fromEmailAddress",type:"string",validate:"required",computedType:"string",gorm:"unique",gormMap:{}},{name:"replyTo",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"nickName",type:"string",validate:"required",computedType:"string",gormMap:{}}],description:"All emails going from the system need to have a virtual sender (nick name, email address, etc)"};Bx.Fields={...Vt.Fields,fromName:"fromName",fromEmailAddress:"fromEmailAddress",replyTo:"replyTo",nickName:"nickName"};class Ja extends Vt{constructor(...e){super(...e),this.children=void 0,this.role=void 0,this.roleId=void 0,this.workspace=void 0}}Ja.Navigation={edit(t,e){return`${e?"/"+e:".."}/public-join-key/edit/${t}`},create(t){return`${t?"/"+t:".."}/public-join-key/new`},single(t,e){return`${e?"/"+e:".."}/public-join-key/${t}`},query(t={},e){return`${e?"/"+e:".."}/public-join-keys`},Redit:"public-join-key/edit/:uniqueId",Rcreate:"public-join-key/new",Rsingle:"public-join-key/:uniqueId",Rquery:"public-join-keys"};Ja.definition={rpc:{query:{}},name:"publicJoinKey",features:{},gormMap:{},fields:[{name:"role",type:"one",target:"RoleEntity",computedType:"RoleEntity",gormMap:{}},{name:"workspace",type:"one",target:"WorkspaceEntity",computedType:"WorkspaceEntity",gormMap:{}}],description:"Joining to different workspaces using a public link directly"};Ja.Fields={...Vt.Fields,roleId:"roleId",role$:"role",role:Dr.Fields,workspace$:"workspace",workspace:Tg.Fields};const yn={emailProvider:new fl([]),emailSender:new fl([]),workspaceInvite:new fl([]),publicJoinKey:new fl([]),workspaces:new fl([])};var m_,g_,y_,v_,b_,w_,S_,C_,$_,E_,ui;function Mv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Nz=(m_=ft("email-providers"),g_=dt("get"),y_=ft("email-provider/:uniqueId"),v_=dt("get"),b_=ft("email-provider"),w_=dt("patch"),S_=ft("email-provider"),C_=dt("post"),$_=ft("email-provider"),E_=dt("delete"),ui=class{async getEmailProviders(e){return{data:{items:yn.emailProvider.items(e),itemsPerPage:e.itemsPerPage,totalItems:yn.emailProvider.total()}}}async getEmailProviderByUniqueId(e){return{data:yn.emailProvider.getOne(e.paramValues[0])}}async patchEmailProviderByUniqueId(e){return{data:yn.emailProvider.patchOne(e.body)}}async postRole(e){return{data:yn.emailProvider.create(e.body)}}async deleteRole(e){return yn.emailProvider.deletes(_f(e.body.query)),{data:{}}}},Mv(ui.prototype,"getEmailProviders",[m_,g_],Object.getOwnPropertyDescriptor(ui.prototype,"getEmailProviders"),ui.prototype),Mv(ui.prototype,"getEmailProviderByUniqueId",[y_,v_],Object.getOwnPropertyDescriptor(ui.prototype,"getEmailProviderByUniqueId"),ui.prototype),Mv(ui.prototype,"patchEmailProviderByUniqueId",[b_,w_],Object.getOwnPropertyDescriptor(ui.prototype,"patchEmailProviderByUniqueId"),ui.prototype),Mv(ui.prototype,"postRole",[S_,C_],Object.getOwnPropertyDescriptor(ui.prototype,"postRole"),ui.prototype),Mv(ui.prototype,"deleteRole",[$_,E_],Object.getOwnPropertyDescriptor(ui.prototype,"deleteRole"),ui.prototype),ui);var x_,T_,O_,__,A_,R_,P_,I_,N_,M_,li;function Dv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Mz=(x_=ft("email-senders"),T_=dt("get"),O_=ft("email-sender/:uniqueId"),__=dt("get"),A_=ft("email-sender"),R_=dt("patch"),P_=ft("email-sender"),I_=dt("post"),N_=ft("email-sender"),M_=dt("delete"),li=class{async getEmailSenders(e){return{data:{items:yn.emailSender.items(e),itemsPerPage:e.itemsPerPage,totalItems:yn.emailSender.total()}}}async getEmailSenderByUniqueId(e){return{data:yn.emailSender.getOne(e.paramValues[0])}}async patchEmailSenderByUniqueId(e){return{data:yn.emailSender.patchOne(e.body)}}async postRole(e){return{data:yn.emailSender.create(e.body)}}async deleteRole(e){return yn.emailSender.deletes(_f(e.body.query)),{data:{}}}},Dv(li.prototype,"getEmailSenders",[x_,T_],Object.getOwnPropertyDescriptor(li.prototype,"getEmailSenders"),li.prototype),Dv(li.prototype,"getEmailSenderByUniqueId",[O_,__],Object.getOwnPropertyDescriptor(li.prototype,"getEmailSenderByUniqueId"),li.prototype),Dv(li.prototype,"patchEmailSenderByUniqueId",[A_,R_],Object.getOwnPropertyDescriptor(li.prototype,"patchEmailSenderByUniqueId"),li.prototype),Dv(li.prototype,"postRole",[P_,I_],Object.getOwnPropertyDescriptor(li.prototype,"postRole"),li.prototype),Dv(li.prototype,"deleteRole",[N_,M_],Object.getOwnPropertyDescriptor(li.prototype,"deleteRole"),li.prototype),li);var D_,k_,F_,L_,U_,j_,B_,H_,q_,z_,ci;function kv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Dz=(D_=ft("public-join-keys"),k_=dt("get"),F_=ft("public-join-key/:uniqueId"),L_=dt("get"),U_=ft("public-join-key"),j_=dt("patch"),B_=ft("public-join-key"),H_=dt("post"),q_=ft("public-join-key"),z_=dt("delete"),ci=class{async getPublicJoinKeys(e){return{data:{items:yn.publicJoinKey.items(e),itemsPerPage:e.itemsPerPage,totalItems:yn.publicJoinKey.total()}}}async getPublicJoinKeyByUniqueId(e){return{data:yn.publicJoinKey.getOne(e.paramValues[0])}}async patchPublicJoinKeyByUniqueId(e){return{data:yn.publicJoinKey.patchOne(e.body)}}async postPublicJoinKey(e){return{data:yn.publicJoinKey.create(e.body)}}async deletePublicJoinKey(e){return yn.publicJoinKey.deletes(_f(e.body.query)),{data:{}}}},kv(ci.prototype,"getPublicJoinKeys",[D_,k_],Object.getOwnPropertyDescriptor(ci.prototype,"getPublicJoinKeys"),ci.prototype),kv(ci.prototype,"getPublicJoinKeyByUniqueId",[F_,L_],Object.getOwnPropertyDescriptor(ci.prototype,"getPublicJoinKeyByUniqueId"),ci.prototype),kv(ci.prototype,"patchPublicJoinKeyByUniqueId",[U_,j_],Object.getOwnPropertyDescriptor(ci.prototype,"patchPublicJoinKeyByUniqueId"),ci.prototype),kv(ci.prototype,"postPublicJoinKey",[B_,H_],Object.getOwnPropertyDescriptor(ci.prototype,"postPublicJoinKey"),ci.prototype),kv(ci.prototype,"deletePublicJoinKey",[q_,z_],Object.getOwnPropertyDescriptor(ci.prototype,"deletePublicJoinKey"),ci.prototype),ci);const qm=new fl([{name:"Administrator",uniqueId:"administrator"}]);var V_,G_,W_,K_,Y_,Q_,J_,X_,Z_,e8,fi;function Fv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let kz=(V_=ft("roles"),G_=dt("get"),W_=ft("role/:uniqueId"),K_=dt("get"),Y_=ft("role"),Q_=dt("patch"),J_=ft("role"),X_=dt("delete"),Z_=ft("role"),e8=dt("post"),fi=class{async getRoles(e){return{data:{items:qm.items(e),itemsPerPage:e.itemsPerPage,totalItems:qm.total()}}}async getRoleByUniqueId(e){return{data:qm.getOne(e.paramValues[0])}}async patchRoleByUniqueId(e){return{data:qm.patchOne(e.body)}}async deleteRole(e){return qm.deletes(_f(e.body.query)),{data:{}}}async postRole(e){return{data:qm.create(e.body)}}},Fv(fi.prototype,"getRoles",[V_,G_],Object.getOwnPropertyDescriptor(fi.prototype,"getRoles"),fi.prototype),Fv(fi.prototype,"getRoleByUniqueId",[W_,K_],Object.getOwnPropertyDescriptor(fi.prototype,"getRoleByUniqueId"),fi.prototype),Fv(fi.prototype,"patchRoleByUniqueId",[Y_,Q_],Object.getOwnPropertyDescriptor(fi.prototype,"patchRoleByUniqueId"),fi.prototype),Fv(fi.prototype,"deleteRole",[J_,X_],Object.getOwnPropertyDescriptor(fi.prototype,"deleteRole"),fi.prototype),Fv(fi.prototype,"postRole",[Z_,e8],Object.getOwnPropertyDescriptor(fi.prototype,"postRole"),fi.prototype),fi);class Hx extends Vt{constructor(...e){super(...e),this.children=void 0,this.label=void 0,this.href=void 0,this.icon=void 0,this.activeMatcher=void 0,this.capability=void 0,this.capabilityId=void 0}}Hx.Navigation={edit(t,e){return`${e?"/"+e:".."}/app-menu/edit/${t}`},create(t){return`${t?"/"+t:".."}/app-menu/new`},single(t,e){return`${e?"/"+e:".."}/app-menu/${t}`},query(t={},e){return`${e?"/"+e:".."}/app-menus`},Redit:"app-menu/edit/:uniqueId",Rcreate:"app-menu/new",Rsingle:"app-menu/:uniqueId",Rquery:"app-menus"};Hx.definition={rpc:{query:{}},name:"appMenu",features:{},gormMap:{},fields:[{name:"label",recommended:!0,description:"Label that will be visible to user",type:"string",translate:!0,computedType:"string",gormMap:{}},{name:"href",recommended:!0,description:"Location that will be navigated in case of click or selection on ui",type:"string",computedType:"string",gormMap:{}},{name:"icon",recommended:!0,description:"Icon string address which matches the resources on the front-end apps.",type:"string",computedType:"string",gormMap:{}},{name:"activeMatcher",description:"Custom window location url matchers, for inner screens.",type:"string",computedType:"string",gormMap:{}},{name:"capability",description:"The permission which is required for the menu to be visible.",type:"one",target:"CapabilityEntity",module:"fireback",computedType:"CapabilityEntity",gormMap:{}}],description:"Manages the menus in the app, (for example tab views, sidebar items, etc.)",cte:!0};Hx.Fields={...Vt.Fields,label:"label",href:"href",icon:"icon",activeMatcher:"activeMatcher",capabilityId:"capabilityId",capability$:"capability",capability:J0.Fields};const Fz=[{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/workspace/invite(s)?",capability:null,capabilityId:null,created:1711043161316914e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/workspace-invites",icon:"common/workspaceinvite.svg",label:"Invites",parentId:"fireback",uniqueId:"invites",updated:1711043161316914e3,visibility:"A"},{activeMatcher:"publicjoinkey",capability:null,capabilityId:null,created:171104316131093e4,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/public-join-keys",icon:"common/joinkey.svg",label:"Public join keys",parentId:"fireback",uniqueId:"publicjoinkey",updated:171104316131093e4,visibility:"A"},{activeMatcher:"/role/",capability:null,capabilityId:null,created:1711043161314546e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/roles",icon:"common/role.svg",label:"Roles",parentId:"fireback",uniqueId:"roles",updated:1711043161314546e3,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Workspace",uniqueId:"fireback",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"drives",capability:null,capabilityId:null,created:1711043161320805e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/drives",icon:"common/drive.svg",label:"Drive & Files",parentId:"root",uniqueId:"drive_files",updated:1711043161320805e3,visibility:"A"},{activeMatcher:"email-provider",capability:null,capabilityId:null,created:1711043161309663e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-providers",icon:"common/emailprovider.svg",label:"Email Provider",parentId:"root",uniqueId:"email_provider",updated:1711043161309663e3,visibility:"A"},{activeMatcher:"email-sender",capability:null,capabilityId:null,created:171104316131211e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/email-senders",icon:"common/mail.svg",label:"Email Sender",parentId:"root",uniqueId:"email_sender",updated:171104316131211e4,visibility:"A"},{activeMatcher:"/user/",capability:null,capabilityId:null,created:1711043161318088e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/users",icon:"common/user.svg",label:"Users",parentId:"root",uniqueId:"users",updated:1711043161318088e3,visibility:"A"},{activeMatcher:"/workspace/config",capability:null,capabilityId:null,created:17110431613157e5,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-config",icon:"ios-theme/icons/settings.svg",label:"Workspace Config",parentId:"root",uniqueId:"workspace_config",updated:17110431613157e5,visibility:"A"},{activeMatcher:"workspace-type",capability:null,capabilityId:null,created:1711043161313308e3,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspace-types",icon:"ios-theme/icons/settings.svg",label:"Workspace Types",parentId:"root",uniqueId:"workspace_types",updated:1711043161313308e3,visibility:"A"},{activeMatcher:"/workspaces/|workspace/new",capability:null,capabilityId:null,created:171104316132216e4,createdFormatted:"2024/03/21 18:46:01",href:"/manage/workspaces",icon:"common/workspace.svg",label:"Workspaces",parentId:"root",uniqueId:"workspaces",updated:171104316132216e4,visibility:"A"}],created:1711043161319555e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Root",uniqueId:"root",updated:1711043161319555e3,visibility:"A"},{activeMatcher:null,capability:null,capabilityId:null,children:[{activeMatcher:"/invites/",capability:null,capabilityId:null,created:1711043161328479e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice/user-invitations",icon:"common/workspaceinvite.svg",label:"My Invitations",parentId:"personal",uniqueId:"my_invitation",updated:1711043161328479e3,visibility:"A"},{activeMatcher:"/settings",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/settings",icon:"ios-theme/icons/settings.svg",label:"Settings",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"},{activeMatcher:"/selfservice",capability:null,capabilityId:null,created:1711043161325229e3,createdFormatted:"2024/03/21 18:46:01",href:"/selfservice",icon:"ios-theme/icons/settings.svg",label:"Account & Profile",parentId:"personal",uniqueId:"settings",updated:1711043161325229e3,visibility:"A"}],created:1711043161323813e3,createdFormatted:"2024/03/21 18:46:01",href:null,icon:null,label:"Personal",uniqueId:"personal",updated:1711043161323813e3,visibility:"A"}];var t8,n8,Lv;function Lz(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Uz=(t8=ft("cte-app-menus"),n8=dt("get"),Lv=class{async getAppMenu(e){return{data:{items:Fz}}}},Lz(Lv.prototype,"getAppMenu",[t8,n8],Object.getOwnPropertyDescriptor(Lv.prototype,"getAppMenu"),Lv.prototype),Lv);const jz=()=>{if(Math.random()>.5)switch(Math.floor(Math.random()*3)){case 0:return`10.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 1:return`172.${Math.floor(16+Math.random()*16)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;case 2:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`;default:return`192.168.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`}else return`${Math.floor(Math.random()*223)+1}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}.${Math.floor(Math.random()*256)}`},Bz=["Ali","Behnaz","Carlos","Daniela","Ethan","Fatima","Gustavo","Helena","Isla","Javad","Kamila","Leila","Mateo","Nasim","Omid","Parisa","Rania","Saeed","Tomas","Ursula","Vali","Wojtek","Zara","Alice","Bob","Charlie","Diana","George","Mohammed","Julia","Khalid","Lena","Mohammad","Nina","Oscar","Quentin","Rosa","Sam","Tina","Umar","Vera","Waleed","Xenia","Yara","Ziad","Maxim","Johann","Krzysztof","Baris","Mehmet"],Hz=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson","Thomas","Taylor","Moore","Jackson","Martin","Lee","Perez","Thompson","White","Harris","Sanchez","Clark","Ramirez","Lewis","Robinson","Walker","Young","Allen","King","Wright","Scott","Torres","Nguyen","Hill","Flores","Green","Adams","Nelson","Baker","Hall","Rivera","Campbell","Mitchell","Carter","Roberts","Kowalski","Nowak","Jankowski","Zieliński","Wiśniewski","Lewandowski","Kaczmarek","Bąk","Pereira","Altıntaş"],qz=[{addressLine1:"123 Main St",addressLine2:"Apt 4",city:"Berlin",stateOrProvince:"Berlin",postalCode:"10115",countryCode:"DE"},{addressLine1:"456 Elm St",addressLine2:"Apt 23",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75001",countryCode:"FR"},{addressLine1:"789 Oak Dr",addressLine2:"Apt 9",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"01010",countryCode:"PL"},{addressLine1:"101 Maple Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"11365",countryCode:"IR"},{addressLine1:"202 Pine St",addressLine2:"Apt 7",city:"Madrid",stateOrProvince:"Community of Madrid",postalCode:"28001",countryCode:"ES"},{addressLine1:"456 Park Ave",addressLine2:"Suite 5",city:"New York",stateOrProvince:"NY",postalCode:"10001",countryCode:"US"},{addressLine1:"789 Sunset Blvd",addressLine2:"Unit 32",city:"Los Angeles",stateOrProvince:"CA",postalCode:"90001",countryCode:"US"},{addressLine1:"12 Hauptstrasse",addressLine2:"Apt 2",city:"Munich",stateOrProvince:"Bavaria",postalCode:"80331",countryCode:"DE"},{addressLine1:"75 Taksim Square",addressLine2:"Apt 12",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"321 Wierzbowa",addressLine2:"",city:"Kraków",stateOrProvince:"Małopolskie",postalCode:"31000",countryCode:"PL"},{addressLine1:"55 Rue de Rivoli",addressLine2:"Apt 10",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75004",countryCode:"FR"},{addressLine1:"1001 Tehran Ave",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"14155",countryCode:"IR"},{addressLine1:"9 Calle de Alcalá",addressLine2:"Apt 6",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28009",countryCode:"ES"},{addressLine1:"222 King St",addressLine2:"Suite 1B",city:"London",stateOrProvince:"London",postalCode:"E1 6AN",countryCode:"GB"},{addressLine1:"15 St. Peters Rd",addressLine2:"",city:"Toronto",stateOrProvince:"Ontario",postalCode:"M5A 1A2",countryCode:"CA"},{addressLine1:"1340 Via Roma",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00100",countryCode:"IT"},{addressLine1:"42 Nevsky Prospekt",addressLine2:"Apt 1",city:"Saint Petersburg",stateOrProvince:"Leningradskaya",postalCode:"190000",countryCode:"RU"},{addressLine1:"3 Rüdesheimer Str.",addressLine2:"Apt 9",city:"Frankfurt",stateOrProvince:"Hessen",postalCode:"60326",countryCode:"DE"},{addressLine1:"271 Süleyman Demirel Bulvarı",addressLine2:"Apt 45",city:"Ankara",stateOrProvince:"Ankara",postalCode:"06100",countryCode:"TR"},{addressLine1:"7 Avenues des Champs-Élysées",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75008",countryCode:"FR"},{addressLine1:"125 E. 9th St.",addressLine2:"Apt 12",city:"Chicago",stateOrProvince:"IL",postalCode:"60606",countryCode:"US"},{addressLine1:"30 Rue de la Paix",addressLine2:"",city:"Paris",stateOrProvince:"Île-de-France",postalCode:"75002",countryCode:"FR"},{addressLine1:"16 Zlote Tarasy",addressLine2:"Apt 18",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-510",countryCode:"PL"},{addressLine1:"120 Váci utca",addressLine2:"",city:"Budapest",stateOrProvince:"Budapest",postalCode:"1056",countryCode:"HU"},{addressLine1:"22 Sukhbaatar Sq.",addressLine2:"",city:"Ulaanbaatar",stateOrProvince:"Central",postalCode:"14190",countryCode:"MN"},{addressLine1:"34 Princes Street",addressLine2:"Flat 1",city:"Edinburgh",stateOrProvince:"Scotland",postalCode:"EH2 4AY",countryCode:"GB"},{addressLine1:"310 Alzaibiyah",addressLine2:"",city:"Amman",stateOrProvince:"Amman",postalCode:"11183",countryCode:"JO"},{addressLine1:"401 Taksim Caddesi",addressLine2:"Apt 25",city:"Istanbul",stateOrProvince:"Istanbul",postalCode:"34430",countryCode:"TR"},{addressLine1:"203 High Street",addressLine2:"Unit 3",city:"London",stateOrProvince:"London",postalCode:"W1T 2LQ",countryCode:"GB"},{addressLine1:"58 Via Nazionale",addressLine2:"",city:"Rome",stateOrProvince:"Lazio",postalCode:"00184",countryCode:"IT"},{addressLine1:"47 Gloucester Road",addressLine2:"",city:"London",stateOrProvince:"London",postalCode:"SW7 4QA",countryCode:"GB"},{addressLine1:"98 Calle de Bravo Murillo",addressLine2:"",city:"Madrid",stateOrProvince:"Madrid",postalCode:"28039",countryCode:"ES"},{addressLine1:"57 Mirza Ghalib Street",addressLine2:"",city:"Tehran",stateOrProvince:"تهران",postalCode:"15996",countryCode:"IR"},{addressLine1:"35 Królewska St",addressLine2:"",city:"Warszawa",stateOrProvince:"Mazowieckie",postalCode:"00-065",countryCode:"PL"},{addressLine1:"12 5th Ave",addressLine2:"",city:"New York",stateOrProvince:"NY",postalCode:"10128",countryCode:"US"}],zz=()=>{const t=new Uint8Array(18);window.crypto.getRandomValues(t);const e=Array.from(t).map(r=>r.toString(36).padStart(2,"0")).join(""),n=Date.now().toString(36);return n+e.slice(0,30-n.length)},Vz=()=>({uniqueId:zz(),firstName:Sr.sample(Bz),lastName:Sr.sample(Hz),photo:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,birthDate:new Date().getDate()+"/"+new Date().getMonth()+"/"+new Date().getFullYear(),gender:Math.random()>.5?1:0,title:Math.random()>.5?"Mr.":"Ms.",avatar:`https://randomuser.me/api/portraits/men/${Math.floor(Math.random()*100)}.jpg`,lastIpAddress:jz(),primaryAddress:Sr.sample(qz)}),zm=new fl(Sr.times(1e4,()=>Vz()));var r8,i8,a8,o8,s8,u8,l8,c8,f8,d8,di;function Uv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Gz=(r8=ft("users"),i8=dt("get"),a8=ft("user"),o8=dt("delete"),s8=ft("user/:uniqueId"),u8=dt("get"),l8=ft("user"),c8=dt("patch"),f8=ft("user"),d8=dt("post"),di=class{async getUsers(e){return{data:{items:zm.items(e),itemsPerPage:e.itemsPerPage,totalItems:zm.total()}}}async deleteUser(e){return zm.deletes(_f(e.body.query)),{data:{}}}async getUserByUniqueId(e){return{data:zm.getOne(e.paramValues[0])}}async patchUserByUniqueId(e){return{data:zm.patchOne(e.body)}}async postUser(e){return{data:zm.create(e.body)}}},Uv(di.prototype,"getUsers",[r8,i8],Object.getOwnPropertyDescriptor(di.prototype,"getUsers"),di.prototype),Uv(di.prototype,"deleteUser",[a8,o8],Object.getOwnPropertyDescriptor(di.prototype,"deleteUser"),di.prototype),Uv(di.prototype,"getUserByUniqueId",[s8,u8],Object.getOwnPropertyDescriptor(di.prototype,"getUserByUniqueId"),di.prototype),Uv(di.prototype,"patchUserByUniqueId",[l8,c8],Object.getOwnPropertyDescriptor(di.prototype,"patchUserByUniqueId"),di.prototype),Uv(di.prototype,"postUser",[f8,d8],Object.getOwnPropertyDescriptor(di.prototype,"postUser"),di.prototype),di);class Wz{}var h8,p8,m8,g8,y8,v8,b8,w8,S8,C8,hi;function jv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Kz=(h8=ft("workspace-invites"),p8=dt("get"),m8=ft("workspace-invite/:uniqueId"),g8=dt("get"),y8=ft("workspace-invite"),v8=dt("patch"),b8=ft("workspace/invite"),w8=dt("post"),S8=ft("workspace-invite"),C8=dt("delete"),hi=class{async getWorkspaceInvites(e){return{data:{items:yn.workspaceInvite.items(e),itemsPerPage:e.itemsPerPage,totalItems:yn.workspaceInvite.total()}}}async getWorkspaceInviteByUniqueId(e){return{data:yn.workspaceInvite.getOne(e.paramValues[0])}}async patchWorkspaceInviteByUniqueId(e){return{data:yn.workspaceInvite.patchOne(e.body)}}async postWorkspaceInvite(e){return{data:yn.workspaceInvite.create(e.body)}}async deleteWorkspaceInvite(e){return yn.workspaceInvite.deletes(_f(e.body.query)),{data:{}}}},jv(hi.prototype,"getWorkspaceInvites",[h8,p8],Object.getOwnPropertyDescriptor(hi.prototype,"getWorkspaceInvites"),hi.prototype),jv(hi.prototype,"getWorkspaceInviteByUniqueId",[m8,g8],Object.getOwnPropertyDescriptor(hi.prototype,"getWorkspaceInviteByUniqueId"),hi.prototype),jv(hi.prototype,"patchWorkspaceInviteByUniqueId",[y8,v8],Object.getOwnPropertyDescriptor(hi.prototype,"patchWorkspaceInviteByUniqueId"),hi.prototype),jv(hi.prototype,"postWorkspaceInvite",[b8,w8],Object.getOwnPropertyDescriptor(hi.prototype,"postWorkspaceInvite"),hi.prototype),jv(hi.prototype,"deleteWorkspaceInvite",[S8,C8],Object.getOwnPropertyDescriptor(hi.prototype,"deleteWorkspaceInvite"),hi.prototype),hi);const Vm=new fl([{title:"Student workspace type",uniqueId:"1",slug:"/student"}]);var $8,E8,x8,T8,O8,_8,A8,R8,P8,I8,pi;function Bv(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Yz=($8=ft("workspace-types"),E8=dt("get"),x8=ft("workspace-type/:uniqueId"),T8=dt("get"),O8=ft("workspace-type"),_8=dt("patch"),A8=ft("workspace-type"),R8=dt("delete"),P8=ft("workspace-type"),I8=dt("post"),pi=class{async getWorkspaceTypes(e){return{data:{items:Vm.items(e),itemsPerPage:e.itemsPerPage,totalItems:Vm.total()}}}async getWorkspaceTypeByUniqueId(e){return{data:Vm.getOne(e.paramValues[0])}}async patchWorkspaceTypeByUniqueId(e){return{data:Vm.patchOne(e.body)}}async deleteWorkspaceType(e){return Vm.deletes(_f(e.body.query)),{data:{}}}async postWorkspaceType(e){return{data:Vm.create(e.body)}}},Bv(pi.prototype,"getWorkspaceTypes",[$8,E8],Object.getOwnPropertyDescriptor(pi.prototype,"getWorkspaceTypes"),pi.prototype),Bv(pi.prototype,"getWorkspaceTypeByUniqueId",[x8,T8],Object.getOwnPropertyDescriptor(pi.prototype,"getWorkspaceTypeByUniqueId"),pi.prototype),Bv(pi.prototype,"patchWorkspaceTypeByUniqueId",[O8,_8],Object.getOwnPropertyDescriptor(pi.prototype,"patchWorkspaceTypeByUniqueId"),pi.prototype),Bv(pi.prototype,"deleteWorkspaceType",[A8,R8],Object.getOwnPropertyDescriptor(pi.prototype,"deleteWorkspaceType"),pi.prototype),Bv(pi.prototype,"postWorkspaceType",[P8,I8],Object.getOwnPropertyDescriptor(pi.prototype,"postWorkspaceType"),pi.prototype),pi);var N8,M8,D8,k8,F8,L8,U8,j8,B8,H8,q8,z8,Er;function Gm(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Qz=(N8=ft("workspaces"),M8=dt("get"),D8=ft("cte-workspaces"),k8=dt("get"),F8=ft("workspace/:uniqueId"),L8=dt("get"),U8=ft("workspace"),j8=dt("patch"),B8=ft("workspace"),H8=dt("delete"),q8=ft("workspace"),z8=dt("post"),Er=class{async getWorkspaces(e){return{data:{items:yn.workspaces.items(e),itemsPerPage:e.itemsPerPage,totalItems:yn.workspaces.total()}}}async getWorkspacesCte(e){return{data:{items:yn.workspaces.items(e),itemsPerPage:e.itemsPerPage,totalItems:yn.workspaces.total()}}}async getWorkspaceByUniqueId(e){return{data:yn.workspaces.getOne(e.paramValues[0])}}async patchWorkspaceByUniqueId(e){return{data:yn.workspaces.patchOne(e.body)}}async deleteWorkspace(e){return yn.workspaces.deletes(_f(e.body.query)),{data:{}}}async postWorkspace(e){return{data:yn.workspaces.create(e.body)}}},Gm(Er.prototype,"getWorkspaces",[N8,M8],Object.getOwnPropertyDescriptor(Er.prototype,"getWorkspaces"),Er.prototype),Gm(Er.prototype,"getWorkspacesCte",[D8,k8],Object.getOwnPropertyDescriptor(Er.prototype,"getWorkspacesCte"),Er.prototype),Gm(Er.prototype,"getWorkspaceByUniqueId",[F8,L8],Object.getOwnPropertyDescriptor(Er.prototype,"getWorkspaceByUniqueId"),Er.prototype),Gm(Er.prototype,"patchWorkspaceByUniqueId",[U8,j8],Object.getOwnPropertyDescriptor(Er.prototype,"patchWorkspaceByUniqueId"),Er.prototype),Gm(Er.prototype,"deleteWorkspace",[B8,H8],Object.getOwnPropertyDescriptor(Er.prototype,"deleteWorkspace"),Er.prototype),Gm(Er.prototype,"postWorkspace",[q8,z8],Object.getOwnPropertyDescriptor(Er.prototype,"postWorkspace"),Er.prototype),Er);class cg extends Vt{constructor(...e){super(...e),this.children=void 0,this.content=void 0,this.contentExcerpt=void 0,this.region=void 0,this.title=void 0,this.languageId=void 0,this.keyGroup=void 0}}cg.Navigation={edit(t,e){return`${e?"/"+e:".."}/regional-content/edit/${t}`},create(t){return`${t?"/"+t:".."}/regional-content/new`},single(t,e){return`${e?"/"+e:".."}/regional-content/${t}`},query(t={},e){return`${e?"/"+e:".."}/regional-contents`},Redit:"regional-content/edit/:uniqueId",Rcreate:"regional-content/new",Rsingle:"regional-content/:uniqueId",Rquery:"regional-contents"};cg.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"regionalContent",features:{},security:{writeOnRoot:!0},gormMap:{},fields:[{name:"content",type:"html",validate:"required",computedType:"string",gormMap:{}},{name:"region",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"title",type:"string",computedType:"string",gormMap:{}},{name:"languageId",type:"string",validate:"required",computedType:"string",gorm:"index:regional_content_index,unique",gormMap:{}},{name:"keyGroup",type:"enum",validate:"required",of:[{k:"SMS_OTP",description:"Used when an email would be sent with one time password"},{k:"EMAIL_OTP",description:"Used when an sms would be sent with one time password"}],computedType:'"SMS_OTP" | "EMAIL_OTP"',gorm:"index:regional_content_index,unique",gormMap:{}}],cliShort:"rc",description:"Email templates, sms templates or other textual content which can be accessed."};cg.Fields={...Vt.Fields,content:"content",region:"region",title:"title",languageId:"languageId",keyGroup:"keyGroup"};class qx extends Vt{constructor(...e){super(...e),this.children=void 0,this.enableRecaptcha2=void 0,this.enableOtp=void 0,this.requireOtpOnSignup=void 0,this.requireOtpOnSignin=void 0,this.recaptcha2ServerKey=void 0,this.recaptcha2ClientKey=void 0,this.enableTotp=void 0,this.forceTotp=void 0,this.forcePasswordOnPhone=void 0,this.forcePersonNameOnPhone=void 0,this.generalEmailProvider=void 0,this.generalEmailProviderId=void 0,this.generalGsmProvider=void 0,this.generalGsmProviderId=void 0,this.inviteToWorkspaceContent=void 0,this.inviteToWorkspaceContentId=void 0,this.emailOtpContent=void 0,this.emailOtpContentId=void 0,this.smsOtpContent=void 0,this.smsOtpContentId=void 0}}qx.Navigation={edit(t,e){return`${e?"/"+e:".."}/workspace-config/edit/${t}`},create(t){return`${t?"/"+t:".."}/workspace-config/new`},single(t,e){return`${e?"/"+e:".."}/workspace-config/${t}`},query(t={},e){return`${e?"/"+e:".."}/workspace-configs`},Redit:"workspace-config/edit/:uniqueId",Rcreate:"workspace-config/new",Rsingle:"workspace-config/:uniqueId",Rquery:"workspace-configs"};qx.definition={rpc:{query:{}},permRewrite:{replace:"root.modules",with:"root.manage"},name:"workspaceConfig",distinctBy:"workspace",features:{},security:{writeOnRoot:!0,readOnRoot:!0,resolveStrategy:"workspace"},gormMap:{},fields:[{name:"enableRecaptcha2",description:"Enables the recaptcha2 for authentication flow.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"enableOtp",recommended:!0,description:"Enables the otp option. It's not forcing it, so user can choose if they want otp or password.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignup",recommended:!0,description:"Forces the user to have otp verification before can create an account. They can define their password still.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"requireOtpOnSignin",recommended:!0,description:"Forces the user to use otp when signing in. Even if they have password set, they won't use it and only will be able to signin using that otp.",type:"bool?",default:!1,computedType:"boolean",gormMap:{}},{name:"recaptcha2ServerKey",description:"Secret which would be used to decrypt if the recaptcha is correct. Should not be available publicly.",type:"string",computedType:"string",gormMap:{}},{name:"recaptcha2ClientKey",description:"Secret which would be used for recaptcha2 on the client side. Can be publicly visible, and upon authenticating users it would be sent to front-end.",type:"string",computedType:"string",gormMap:{}},{name:"enableTotp",recommended:!0,description:"Enables user to make 2FA using apps such as google authenticator or microsoft authenticator.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forceTotp",recommended:!0,description:"Forces the user to setup a 2FA in order to access their account. Users which did not setup this won't be affected.",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePasswordOnPhone",description:"Forces users who want to create account using phone number to also set a password on their account",type:"bool?",computedType:"boolean",gormMap:{}},{name:"forcePersonNameOnPhone",description:"Forces the creation of account using phone number to ask for user first name and last name",type:"bool?",computedType:"boolean",gormMap:{}},{name:"generalEmailProvider",description:"Email provider service, which will be used to send the messages using it's service. It doesn't affect the message content, rather, you can choose via which third-party service, or even your own smtp service to send emails.",type:"one",target:"EmailProviderEntity",computedType:"EmailProviderEntity",gormMap:{}},{name:"generalGsmProvider",description:"General service which would be used to send text messages (sms) using it's services or API.",type:"one",target:"GsmProviderEntity",computedType:"GsmProviderEntity",gormMap:{}},{name:"inviteToWorkspaceContent",description:"This template would be used, as default when a user is inviting a third-party into their own workspace.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"emailOtpContent",description:"Upon one time password request for email, the content will be read to fill the message which will go to user.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}},{name:"smsOtpContent",description:"Upon OTP text messages, this template will be used to create such text message, including the one time password code.",type:"one",target:"RegionalContentEntity",computedType:"RegionalContentEntity",gormMap:{}}],cliName:"config",description:"Contains configuration which would be necessary for application environment to be running. At the moment, a single record is allowed, and only for root workspace. But in theory it could be configured per each workspace independently. For sub projects do not touch this, rather create a custom config entity if workspaces in the product need extra config."};qx.Fields={...Vt.Fields,enableRecaptcha2:"enableRecaptcha2",enableOtp:"enableOtp",requireOtpOnSignup:"requireOtpOnSignup",requireOtpOnSignin:"requireOtpOnSignin",recaptcha2ServerKey:"recaptcha2ServerKey",recaptcha2ClientKey:"recaptcha2ClientKey",enableTotp:"enableTotp",forceTotp:"forceTotp",forcePasswordOnPhone:"forcePasswordOnPhone",forcePersonNameOnPhone:"forcePersonNameOnPhone",generalEmailProviderId:"generalEmailProviderId",generalEmailProvider$:"generalEmailProvider",generalEmailProvider:kw.Fields,generalGsmProviderId:"generalGsmProviderId",generalGsmProvider$:"generalGsmProvider",generalGsmProvider:Fw.Fields,inviteToWorkspaceContentId:"inviteToWorkspaceContentId",inviteToWorkspaceContent$:"inviteToWorkspaceContent",inviteToWorkspaceContent:cg.Fields,emailOtpContentId:"emailOtpContentId",emailOtpContent$:"emailOtpContent",emailOtpContent:cg.Fields,smsOtpContentId:"smsOtpContentId",smsOtpContent$:"smsOtpContent",smsOtpContent:cg.Fields};var V8,G8,W8,K8,af;function Y8(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(u){o[u]=r[u]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(u,c){return c(t,e,u)||u},o),i&&o.initializer!==void 0&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),o.initializer===void 0?(Object.defineProperty(t,e,o),null):o}let Jz=(V8=ft("workspace-config"),G8=dt("get"),W8=ft("workspace-wconfig/distiwnct"),K8=dt("patch"),af=class{async getWorkspaceConfig(e){return{data:{enableOtp:!0,forcePasswordOnPhone:!0}}}async setWorkspaceConfig(e){return{data:e.body}}},Y8(af.prototype,"getWorkspaceConfig",[V8,G8],Object.getOwnPropertyDescriptor(af.prototype,"getWorkspaceConfig"),af.prototype),Y8(af.prototype,"setWorkspaceConfig",[W8,K8],Object.getOwnPropertyDescriptor(af.prototype,"setWorkspaceConfig"),af.prototype),af);const Xz=[new bz,new kz,new Uz,new Gz,new Yz,new Iz,new Nz,new Mz,new Kz,new Dz,new Wz,new Qz,new Jz];var z3={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/var Q8;function Zz(){return Q8||(Q8=1,(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var o="",u=0;uN.jsx(eE,{...t,to:t.href,children:t.children});function Lr(){const t=Lx(),e=Fq(),n=xl(),r=(o,u,c,d=!1)=>{const h=tV(window.location.pathname);let g=o.replace("{locale}",h);t(g,{replace:d,state:c})},i=(o,u,c)=>{r(o,u,c,!0)};return{asPath:n.pathname,state:n.state,pathname:"",query:e,push:r,goBack:()=>t(-1),goBackOrDefault:o=>t(-1),goForward:()=>t(1),replace:i}}function rV(t){let e="en";const n=t.match(/^\/(fa|en|ar|pl|de)\//);return n&&n[1]&&(e=n[1]),e}function Ci(){const t=Lr();let e="en",n="us",r="ltr";return wi.FORCED_LOCALE?e=wi.FORCED_LOCALE:t.query.locale?e=`${t.query.locale}`:e=rV(t.asPath),e==="fa"&&(n="ir",r="rtl"),{locale:e,asPath:t.asPath,region:n,dir:r}}const iV={onlyOnRoot:"این بخش فقط برای دسترسی روت قابل مشاهده است. در صورت نیاز به اطلاعات بیشتر با مدیر سیستم خود تماس بگیرید.",abac:{backToApp:"رفتن به صفحات داخلی",email:"ایمیل",emailAddress:"آدرس ایمیل",firstName:"نام",lastName:"نام خانوادگی",otpOrDifferent:"یا یه حساب کاربری دیگه را امتحان کنید",otpResetMethod:"روش ریست کردن رمز",otpTitle:"رمز یک بار ورود",otpTitleHint:"برای ورود یک کد ۶ رقمی به وسیله یکی از روش های ارتباطی دریافت میکنید. بعدا میتوانید رمز خود را از طریق تنظیمات عوض کنید.",password:"کلمه عبور",remember:"مرا به یاد بسپار",signin:"ورود",signout:"خروج",signup:"ثبت نام",signupType:"نوع ثبت نام",signupTypeHint:"نوع حساب کاربری خود را مشخص کنید.",viaEmail:"از طریق ایمیل",viaSms:"از طریق پیامک"},about:"درباره",acChecks:{moduleName:"چک ها"},acbankbranches:{acBankBranchArchiveTitle:"شعب بانک",bank:"بانک",bankHint:"بانکی که این شعبه به آن تعلق دارد",bankId:"بانک",city:"شهر",cityHint:"شهری که این بانک در آن وجود دارد",cityId:"شهر",editAcBank:"ویرایش شعبه",editAcBankBranch:"ویرایش شعبه",locaitonHint:"شهر، استان و یا ناحیه ای که این شعبه در آن است",location:"مکان",name:"نام شعبه",nameHint:"نام این شعبه بانک، کد یا اسم محل یا شهر هم مجاز است",newAcBankBranch:"شعبه جدید بانک",province:"استان",provinceHint:"استانی که این بانک در آن قرار دارد"},acbanks:{acBankArchiveTitle:"بانک ها",editAcBank:"ویرایش بانک",name:"نام بانک",nameHint:"نام بانک را به صورت کلی برای شناسایی راحت تر وارد کنید",newAcBank:"بانک جدید"},accesibility:{leftHand:"چپ دست",rightHand:"راست دست"},accheck:{acCheckArchiveTitle:"چک ها"},acchecks:{acCheckArchiveTitle:"چک ها",amount:"مبلغ",amountFormatted:"مبلغ",amountHint:"مبلغ قابل پرداخت چک",bankBranch:"شعبه بانک",bankBranchCityName:"نام شهر",bankBranchHint:"شعبه بانکی که این چک را صادر کرده است",bankBranchId:"شعبه بانک",bankBranchName:"ن",currency:"واحد پول",currencyHint:"واحد پولی که این چک دارد",customer:"مشتری",customerHint:"مشتری یا شخصی که این چک به او مربوط است",customerId:"مشتری",dueDate:"تاریخ سررسید",dueDateFormatted:"تاریخ سررسید",dueDateHint:"زمانی که چک قابل نقد شدن در بانک باشد",editAcCheck:"ویرایش چک",identifier:"شناسه چک",identifierHint:"شناسه یا کد مخصوص این چک",issueDate:"تاریخ صدور",issueDateFormatted:"تاریخ صدور",issueDateHint:"تاریخی که چک صادر شده است",newAcCheck:"چک جدید",recipientBankBranch:"بانک دریافت کننده",recipientBankBranchHint:"بانکی که این چک برای نقد شدن به آن ارسال شده",recipientCustomer:"مشتری دریافت کننده",recipientCustomerHint:"مشتری که این چک را دریافت کرده است",status:"وضعیت",statusHint:"وضعیت نهایی این چک"},accheckstatuses:{acCheckStatusArchiveTitle:"وضعیت چک",editAcCheckStatus:"ویرایش وضعیت چک",name:"نام وضعیت",nameHint:"نام وضعیتی که به چک ها اختصاص داده میشود",newAcCheckStatus:"وضعیت جدید چک"},accountcollections:{archiveTitle:"سرفصل های حسابداری",editAccountCollection:"ویرایش سرفصل",name:"نام سرفصل",nameHint:"نامی که برای این سرفصل حسابداری در نظر گرفته شده",newAccountCollection:"سرفصل جدید"},accounting:{account:{currency:"واحد پول",name:"نام"},accountCollections:"سرفصل های حسابداری",accountCollectionsHint:"سرفصل های حسابداری",amount:"میزان",legalUnit:{name:"نام"},settlementDate:"تاریخ حل و فصل",summary:"خلاصه",title:"عنوان",transactionDate:"تاریخ معامله"},actions:{addJob:"+ اضافه کردن شغل",back:"Back",edit:"ویرایش",new:"جدید"},addLocation:"اضافه کردن لوکیشن",alreadyHaveAnAccount:"از قبل حساب کاربری دارید؟ به جای آن وارد شوید",answerSheet:{grammarProgress:"گرامر %",listeningProgress:"استماع ٪",readingProgress:"خواندن %",sourceExam:"آزمون منبع",speakingProgress:"صحبت كردن ٪",takerFullname:"نام کامل دانش آموز",writingProgress:"% نوشتن"},authenticatedOnly:"این بخش شما را ملزم می کند که قبل از مشاهده یا ویرایش هر نوع وارد شوید.",b1PolishSample:{b12018:"2018 B1 Sample",grammar:"گرامر",listenning:"شنیدار",reading:"خواندن",speaking:"صحبت",writing:"نوشتار"},backup:{generateAndDownload:"ایجاد و دانلود",generateDescription:`در اینجا می توانید یک نسخه پشتیبان از سیستم ایجاد کنید. مهم است که به خاطر داشته باشید - شما از داده هایی که برای شما قابل مشاهده است تولید خواهید کرد. پشتیبان‌گیری باید با استفاده از حساب‌های مدیریتی انجام شود تا از پوشش - همه داده‌های موجود در سیستم اطمینان حاصل شود.`,generateTitle:"ایجاد پشتیبان",restoreDescription:"در اینجا می‌توانید فایل‌های پشتیبان یا داده‌هایی را که از نصب دیگری منتقل کرده‌اید، وارد سیستم کنید.",restoreTitle:"بازیابی نسخه های پشتیبان",uploadAndRestore:"آپلود و بازیابی"},banks:{title:"بانک ها"},classroom:{classRoomName:"نام کلاس درس",classRoomNameHint:"عنوان کلاس را وارد کنید، به عنوان مثال: اسپانیایی گروه A1.1",description:"شرح",descriptionHint:"با چند کلمه توضیح دهید که این کلاس درس در مورد چیست، تا دانش آموزان آن را به راحتی پیدا کنند",editClassRoom:"ویرایش کلاس درس",gogoleMeetUrlHint:"آدرس اینترنتی را که زبان آموزان برای دسترسی به کلاس باز می کنند قرار دهید",googleMeetUrl:"آدرس اینترنتی Google Meet",members:"اعضا",membersHint:"دانش آموزان (اعضایی) را که می توانند به این محتوای کلاس دسترسی داشته باشند انتخاب کنید و شرکت کنید",newClassroom:"کلاس درس جدید",provider:"ارائه دهنده را انتخاب کنید",providerHint:"ارائه دهندگان نرم افزارهایی هستند که می توانید جلسه تماس ویدیویی خود را در بالای آن میزبانی کنید",providers:{googleMeet:"Google Meet",zoom:"بزرگنمایی"},title:"کلاس درس"},close:"بستن",cloudProjects:{clientId:"شناسه مشتری",name:"نام",secret:"راز"},common:{isNUll:"تعیین نشده",cancel:"لغو",no:"خیر",noaccess:"شما به این بخش از برنامه دسترسی ندارید. برای مشاوره با سرپرست خود تماس بگیرید",parent:"رکورد مادر",parentHint:"اگر این رکورد دارای سر مجموعه است آن را انتخاب کنید",save:"ذخیره",yes:"بله"},commonProfile:{},confirm:"تایید",continue:"ادامه",controlsheets:{active:"فعال",archiveTitle:"کنترل شیت",editControlSheet:"ویرایش کنترل شیت",inactive:"غیرفعال",isRunning:"درحال اجرا",name:"نام",nameHint:"نام کنترل شیت برای دسترسی بهتر",newControlSheet:"کنترل شیت جدید"},course:{availableCourses:"دوره های موجود",courseDescription:"شرح دوره",courseDescriptionHint:"در مورد دوره به طور کامل توضیح دهید تا افراد بتوانند قبل از ثبت نام در مورد آن مطالعه کنند",courseExcerpt:"گزیده دوره",courseExcerptHint:"شرح دوره را در 1 یا 2 خط خلاصه کنید",courseId:"Course Id",courseTitle:"عنوان دوره",courseTitleHint:"عنوان دوره را وارد کنید، مانند الگوریتم در C++",editCourse:"ویرایش دوره",myCourses:"دوره های من",name:"Ali",newCourse:"دوره جدید",noCourseAvailable:"هیچ دوره ای در اینجا موجود نیست. برای دیدن دوره های اختصاصی ممکن است لازم باشد با حساب دیگری وارد شوید",noCourseEnrolled:"شما در حال حاضر در هیچ دوره ای ثبت نام نکرده اید. دوره زیر را پیدا کنید و ثبت نام کنید.",title:"عنوان"},createAccount:"ایجاد حساب کاربری",created:"زمان ایجاد شد",currentUser:{editProfile:"ویرایش نمایه",profile:"مشخصات",signin:"ورود",signout:"خروج از سیستم"},dashboards:"محیط کار",datanodes:{addReader:"اضافه کردن خواننده",addWriter:"اضافه کردن نویسنده",archiveTitle:"دیتا نود ها",dataType:"نوع دیتا",expanderFunction:"Expander function",expanderFunctionHint:"How to cast the content into value array",filePath:"File Path",filePathHint:"File address on the system",key:"Data key",keyHint:"Data key is the sub key of a data node",keyReadable:"Readable",keyReadableHint:"If this sub key is readable",keyWritable:"Writable",keyWritableHint:"If this sub key is writable",modbusRtuAddress:"Address",modbusRtuAddressHint:"Address",modbusRtuDataBits:"DataBits",modbusRtuDataBitsHint:"DataBits",modbusRtuParity:"Parity",modbusRtuParityHint:"Parity",modbusRtuSlaveId:"SlaveId",modbusRtuSlaveIdHint:"SlaveId",modbusRtuStopBits:"StopBits",modbusRtuStopBitsHint:"StopBits",modbusRtuTimeout:"Timeout",modbusRtuTimeoutHint:"Timeout",modbusTcpHost:"Host",modbusTcpHostHint:"Host",modbusTcpPort:"Port",modbusTcpPortHint:"Port",modbusTcpSlaveId:"Slave id",modbusTcpSlaveIdHint:"Slave id",modbusTcpTimeout:"Timeout",modbusTcpTimeoutHint:"Timeout",mode:"حالت",modeHint:"حالت دیتا نود",mqttBody:"بدنه پیام",mqttBodyHInt:"پیامی که ارسال خواهد شد",mqttTopic:"عنوان پیام",mqttTopicHint:"موضوع پیام که به MQTT ارسال خواهد شد",nodeReader:"خواننده نود",nodeReaderConfig:"تنظیم نود",nodeReaderConfigHint:"تنظیمات مربوط به نحوه خواندن اطلاعات",nodeReaderHint:"نوع خواننده اطلاعات از روی نود مشخص کنید",nodeWriter:"نویسنده نود",nodeWriterHint:"نوع نویسنده که اطلاعات را بر روی نود مینویسد مشخص کنید",serialPort:"سریال پورت",serialPortHint:"انتخاب سریال پورت های موجود و متصل به سیستم",type:"نوع دیتا",typeHint:"نوع دیتایی که این نوع نگهداری یا منتقل میکند.",udpHost:"Host",udpHostHint:"UDP Host Address",udpPort:"Port",udpPortHint:"UDP Port Number"},datepicker:{day:"روز",month:"ماه",year:"سال"},debugInfo:"نمایش اطلاعات دیباگ",deleteAction:"حذف",deleteConfirmMessage:"آیا از حذف کردن این آیتم ها مطمین هستید؟",deleteConfirmation:"مطمئنی؟",devices:{deviceModbusConfig:"تنظیمات مدباس دستگاه",deviceModbusConfigHint:"تنظیمات مربوط به نوع دستگاه مدباس مانند آدرس ها و رجیستر ها",devicetemplateArchiveTitle:"دستگاه ها",editDevice:"ویرایش دستگاه",ip:"IP",ipHint:"آدرس دستگاه به صورت آی پی ۴",model:"مدل",modelHint:"مدل یا سریال دستگاه",name:"نام دستگاه",nameHint:"نامی که برای دستگاه در سطح نرم افزار گذاشته میشود",newDevice:"دستگاه جدید",securityType:"نوع امنیت بی سیم",securityTypeHint:"نوع رمزگذاری هنگام اتصال به این شبکه وایرلس",type:"نوع دستگاه",typeHint:"نوع فیزیکی دستگاه ",typeId:"نوع",typeIdHint:"نوع دستگاه",wifiPassword:"رمز وای فای",wifiPasswordHint:"رمز هنگام اتصال به وای فای (خالی هم مورد قبول است)",wifiSSID:"شناسه وای فای",wifiSSIDHint:"نام شبکه وای فای یا همان SSID"},devicetype:{archiveTitle:"انواع دستگاه",editDeviceType:"ویرایش نوع دستگاه",name:"نام نوع دستگاه",nameHint:"نوع دستگاه را نام گذاری کنید",newDeviceType:"نوع دستگاه جدید"},diagram:"دیاگرام",drive:{attachFile:"اضافه کردن فایل پیوست",driveTitle:"درایو",menu:"فایل ها",name:"نام",size:"اندازه",title:"عنوان",type:"تایپ کنید",viewPath:"آدرس نمایش",virtualPath:"مسیر مجازی"},dropNFiles:"برای شروع آپلود، {n} فایل را رها کنید",edit:"ویرایش",errors:{UNKOWN_ERRROR:"خطای ناشناخته ای رخ داده است"},exam:{startInstruction:"امتحان جدیدی را با کلیک کردن روی دکمه شروع کنید، ما پیشرفت شما را پیگیری می کنیم تا بتوانید بعداً بازگردید.",startNew:"امتحان جدیدی را شروع کنید",title:"امتحان"},examProgress:{grammarProgress:"پیشرفت گرامر:",listeningProgress:"پیشرفت گوش دادن:",readingProgress:"پیشرفت خواندن:",speakingProgress:"پیشرفت صحبت کردن:",writingProgress:"پیشرفت نوشتن:"},examSession:{highlightMissing:"برجسته کردن از دست رفته",showAnswers:"نمایش پاسخ ها"},fb:{commonProfile:"پروفایل خودت را ویرایش کن",editMailProvider:"ارائه دهنده ایمیل",editMailSender:"فرستنده ایمیل را ویرایش کنید",editPublicJoinKey:"کلید پیوستن عمومی را ویرایش کنید",editRole:"نقش را ویرایش کنید",editWorkspaceType:"ویرایش نوع تیم",newMailProvider:"ارائه دهنده ایمیل جدید",newMailSender:"فرستنده ایمیل جدید",newPublicJoinKey:"کلید پیوستن عمومی جدید",newRole:"نقش جدید",newWorkspaceType:"تیم جدید",publicJoinKey:"کلید پیوستن عمومی"},fbMenu:{emailProvider:"ارائه دهنده ایمیل",emailProviders:"ارائه دهندگان ایمیل",emailSender:"فرستنده ایمیل",emailSenders:"ارسال کنندگان ایمیل",gsmProvider:"سرویس های تماس",keyboardShortcuts:"میانبرها",myInvitations:"دعوتنامه های من",publicJoinKey:"کلیدهای پیوستن عمومی",roles:"نقش ها",title:"سیستم",users:"کاربران",workspaceInvites:"دعوت نامه ها",workspaceTypes:"انواع تیم ها",workspaces:"فضاهای کاری"},featureNotAvailableOnMock:"این بخش در نسخه دمو وجود ندارد. دقت فرمایید که نسخه ای از نرم افزار که شما با آن کار میکنید صرفا برای نمایش بوده و سرور واقعی ارتباط نمی گیرد. بنابراین هیچ اطلاعاتی ذخیره نمیشوند.",financeMenu:{accountName:"نام کیف پول",accountNameHint:"نامی که کیف پول را از بقیه متمایز میکند",amount:"میزان",amountHint:"مبلغ پرداختی را وارد کنید",currency:"واحد پول",currencyHint:"ارزی که این حساب باید در آن باشد را انتخاب کنید",editPaymentRequest:"درخواست پرداخت را ویرایش کنید",editVirtualAccount:"ویرایش حساب مجازی",newPaymentRequest:"درخواست پرداخت جدید",newVirtualAccount:"اکانت مجازی جدید",paymentMethod:"روش پرداخت",paymentMethodHint:"مکانیزم روش پرداخت را انتخاب کنید",paymentRequest:"درخواست پرداخت",paymentRequests:"درخواست های پرداخت",paymentStatus:"وضعیت پرداخت",subject:"موضوع",summary:"مانده",title:"امور مالی",transaction:{amount:"مقدار",subject:"موضوع",summary:"مانده"},virtualAccount:"حساب کاربری مجازی",virtualAccountHint:"حساب مجازی را انتخاب کنید که پرداخت به آن انجام می شود",virtualAccounts:"حساب های مجازی"},firstTime:"اولین بار در برنامه، یا رمز عبور را گم کرده اید؟",forcedLayout:{forcedLayoutGeneralMessage:"دسترسی به این بخش نیازمند حساب کاربری و ورود به سیستم است"},forgotPassword:"رمز عبور را فراموش کرده اید",generalSettings:{accessibility:{description:"تنظیماتی که مربوط به توانایی های فیزیکی و یا شرایط ویژه جسمانی مرتبط هستند",title:"دسترسی بهتر"},debugSettings:{description:"اطلاعات اشکال زدایی برنامه را برای توسعه دهندگان یا میزهای راهنمایی ببینید",title:"تنظیمات اشکال زدایی"},grpcMethod:"بیش از grpc",hostAddress:"نشانی میزبان",httpMethod:"بیش از http",interfaceLang:{description:"در اینجا می توانید تنظیمات زبان رابط نرم افزار خود را تغییر دهید",title:"زبان و منطقه"},port:"بندر",remoteDescripton:"سرویس از راه دور، مکانی است که تمامی داده ها، منطق ها و سرویس ها در آن نصب می شوند. ممکن است ابری یا محلی باشد. فقط کاربران پیشرفته، تغییر آن به آدرس اشتباه ممکن است باعث عدم دسترسی شود.",remoteTitle:"سرویس از راه دور",richTextEditor:{description:"نحوه ویرایش محتوای متنی را در برنامه مدیریت کنید",title:"ویرایشگر متن"},theme:{description:"رنگ تم رابط را تغییر دهید",title:"قالب"}},geo:{geocities:{country:"کشور",countryHint:"کشوری که این شهر در آن قرار داده شده",editGeoCity:"ویرایش شهر",geoCityArchiveTitle:"شهرها",menu:"شهرها",name:"نام شهر",nameHint:"نام شهر",newGeoCity:"شهر جدید",province:"استان",provinceHint:"استانی که این شهر در آن قرار دارد."},geocountries:{editGeoCountry:"ویرایش کشور",geoCountryArchiveTitle:"کشورها",menu:"کشورها",name:"نام کشور",nameHint:"نام کشور",newGeoCountry:"کشور جدید"},geoprovinces:{country:"کشور",editGeoProvince:"ویرایش استان",geoProvinceArchiveTitle:"استان ها",menu:"استان ها",name:"نام استان",nameHint:"نام استان",newGeoProvince:"استان جدید"},lat:"افقی",lng:"عمودی",menu:"ابزار جغرافیایی"},geolocations:{archiveTitle:"مکان ها",children:"children",childrenHint:"children Hint",code:"کد",codeHint:"کد دسترسی",editGeoLocation:"ویرایش",flag:"پرچم",flagHint:"پرچم مکان",name:"نام",nameHint:"نام عمومی مکان",newGeoLocation:"مکان جدید",officialName:"نام رسمی",officialNameHint:"",status:"وضعیت",statusHint:"وضعیت مکان (معمولا کشور)",type:"نوع",typeHint:"نوع مکان"},gpiomodes:{archiveTitle:"حالت های پایه",description:"توضیحات",descriptionHint:"جزیات بیشتر در مورد عملکرد این پایه",editGpioMode:"ویرایش حالت پایه",index:"ایندکس عددی",indexHint:"مقدار عددی این پایه هنگام تنظیمات پایه در ابتدای نرم افزار",key:"کلید عددی",keyHint:"کلید عددی این پایه",newGpioMode:"حالت پایه جدید"},gpios:{analogFunction:"تابع آنالوگ",analogFunctionHint:"جزیات در مورد تابع آنالوگ",archiveTitle:"پایه ها",comments:"توضیحات",commentsHint:"توضیحات بیشتر یا قابلیت های این پایه",editGpio:"ویرایش پایه",index:"ایندکس این پایه",indexHint:"شماره عددی این پایه در قطعه که میتوان با آن مقدار پایه را کنترل کرد",modeId:"حالت پایه",modeIdHint:"انتخاب حالت استفاده پایه مانند ورودی یا خروجی",name:"عنوان پایه",nameHint:"اسم پایه مانند GPIO_1",newGpio:"پایه جدید",rtcGpio:"پایه RTC",rtcGpioHint:"اطلاعات پایه RTC در صورت موجود بودن"},gpiostates:{archiveTitle:"وضعیت پایه ها",editGpioState:"ویرایش وضعیت پایه",gpio:"پایه",gpioHint:"پایه را از لیست پایه های موجود این قطعه انتخاب کنید",gpioMode:"حالت",gpioModeHint:"حالتی که پایه باید تنظیم شود را انتخاب کنید",high:"بالا (روشن)",low:"پایین (خاموش)",newGpioState:"حالت جدید پایه",value:"مقدار",valueHint:"وضعیت فعلی پین"},gsmproviders:{apiKey:"کلید API",apiKeyHint:"کلید دسترسی به سرویس فراهم کننده پیامکی یا تماس",editGsmProvider:"ویرایش GSM",gsmProviderArchiveTitle:"سرویس های GSM",invokeBody:"بدنه درخواست",invokeBodyHint:"اطلاعاتی که به صورت متد پست به سرویس ارسال میشوند",invokeUrl:"آدرس API",invokeUrlHint:"آدرسی که باید برای ارسال پیامک از آن استفاده شود.",mainSenderNumber:"شماره ارسال کننده",mainSenderNumberHint:"شماره تلفنی که برای پیامک یا تماس استفاده میشوند",newGsmProvider:"سرویس GSM جدید",terminal:"ترمینال",type:"نوع سرویس",typeHint:"نوع سرویس فراهم کننده GSM (امکانات مختلف نصبت به نوع سرویس موجود است)",url:"وب سرویس"},hmi:{archiveTitle:"Hmis",editHmi:"Edit Hmi",name:"Hmi Name",nameHint:"Name of the hmi to recognize",newHmi:"New Hmi"},hmiComponents:{archiveTitle:"Hmi Components",editHmiComponent:"Edit HmiComponent",hmi:"hmi",hmiHint:"hmi Hint",hmiId:"hmiId",hmiIdHint:"hmiId Hint",icon:"icon",iconHint:"icon Hint",label:"label",labelHint:"label Hint",layoutMode:"layoutMode",layoutModeHint:"layoutMode Hint",newHmiComponent:"New HmiComponent",position:"position",positionHint:"position Hint",read:"read",readHint:"read Hint",readId:"readId",readIdHint:"readId Hint",states:"states",statesHint:"states Hint",type:"type",typeHint:"type Hint",write:"write",writeHint:"write Hint",writeId:"writeId",writeIdHint:"writeId Hint"},hmicomponents:{archiveTitle:"Hmi Components",editHmiComponent:"Edit HmiComponent",hmi:"hmi",hmiHint:"hmi Hint",hmiId:"hmiId",hmiIdHint:"hmiId Hint",icon:"icon",iconHint:"icon Hint",label:"label",labelHint:"label Hint",layoutMode:"layoutMode",layoutModeHint:"layoutMode Hint",newHmiComponent:"New HmiComponent",position:"position",positionHint:"position Hint",read:"read",readHint:"read Hint",readId:"readId",readIdHint:"readId Hint",states:"states",statesHint:"states Hint",type:"type",typeHint:"type Hint",write:"write",writeHint:"write Hint",writeId:"writeId",writeIdHint:"writeId Hint"},hmis:{archiveTitle:"Hmis",editHmi:"Edit Hmi",name:"Hmi Name",nameHint:"Name of the hmi to recognize",newHmi:"New Hmi"},home:{line1:"{username}، به dEIA خوش آمدید",line2:"ابزار ارزیابی اثرات زیست محیطی PixelPlux",title:"GADM"},intacodes:{description:"شرح فعالیت",descriptionHint:"شرح فعالیت در مورد این اینتاکد",editIntacode:"ویرایش اینتاکد",intacodeArchiveTitle:"اینتاکدها",margin:"حاشیه سود",marginHint:"میزان سودی که برای این نوع از اینتاکد در نظر گرفته شده است (درصد)",newIntacode:"اینتاکد جدید",note:"ملاحضات",noteHint:"نکات اضافی در مورد محاسبات این نوع اینتاکد",year:"سال",yearHint:"سالی که این اینتاکد برای آن معتبر است"},iot:{dataNodeDatum:"تاریخچه تغییرات",dataNodeName:"نام دیتانود",dataNodeNameHint:"نام ویژه این دیتانود که از بقیه دیتا ها متمایز شناخته شود",dataNodes:"دیتانود ها",editDataNode:"ویرایش دیتانود",ingestedAt:"ساخته شده",newDataNode:"دیتانود جدید",title:"هوشمند",valueFloat64:"مقدار اعشاری",valueInt64:"مقدار عددی",valueString:"مقدار متنی"},jalaliMonths:{0:"فروردین",1:"اردیبهشت",2:"خرداد",3:"تیر",4:"مرداد",5:"شهریور",6:"مهر",7:"آبان",8:"آذر",9:"دی",10:"بهمن",11:"اسفند"},jobsList:{completionDate:"تاریخ تکمیل",consumerId:"شناسه مصرف کننده",projectCode:"کد پروژه",projectName:"نام پروژه",result:"نتیجه",status:"وضعیت",submissionDate:"تاریخ ارسال"},katexPlugin:{body:"فرمول",cancel:"لغپ",insert:"افزودن",title:"پلاگین فرمول",toolbarName:"افزودن فرمول"},keyboardShortcut:{action:"عملکرد",defaultBinding:"کلید های پیش فرض",keyboardShortcut:"میانبرهای صفحه کلید",pressToDefine:"برای ثبت کلید ها را فشار دهید",userDefinedBinding:"کلید های تعیین شده کاربر"},lackOfPermission:"برای دسترسی به این بخش از نرم افزار به مجوزهای بیشتری نیاز دارید.",learningMenu:{answerSheets:"پاسخنامه",enrolledCourses:"دوره های ثبت نام شده",myClassRooms:"کلاس ها",myCourses:"دوره های آموزشی",myExams:"امتحانات",practiseBoard:"چرک نویس",title:"یادگیری"},licenses:{activationKeySeries:"سلسله",activationKeys:"کلیدهای فعال سازی",code:"Code",duration:"مدت زمان (روزها)",durationHint:"طول دوره فعال سازی برای مجوز یک آن فعال می شود",editActivationKey:"ویرایش کلید فعال سازی",editLicensableProduct:"ویرایش محصول دارای مجوز",editLicense:"ویرایش مجوز",editProductPlan:"ویرایش طرح محصول",endDate:"End Date",licensableProducts:"محصولات قابل مجوز",licenseName:"نام مجوز",licenseNameHint:"نام مجوز، می تواند ترکیبی از چیزهای مختلف باشد",licenses:"مجوزها",menuActivationKey:"کلیدهای فعال سازی",menuLicenses:"مجوزها",menuProductPlans:"طرح ها",menuProducts:"محصولات",newActivationKey:"کلید فعال سازی جدید",newLicensableProduct:"محصول جدید دارای مجوز",newLicense:"مجوز جدید",newProductPlan:"طرح محصول جدید",planName:"طرح",planNameHint:"کلید فعال سازی آن طرح خاص را انتخاب کنید",planProductName:"محصول پلان",planProductNameHint:"محصولی را که می خواهید این طرح برای آن باشد انتخاب کنید.",privateKey:"کلید خصوصی",privateKeyHint:"کلید خصوصی مجوز که برای صدور گواهی استفاده می شود",productName:"نام محصول",productNameHint:"نام محصول می تواند هر چیزی باشد که مشتریان آن را تشخیص دهند",productPlanName:"نام طرح",productPlanNameHint:"یک نام برای این طرح تعیین کنید، به عنوان مثال شروع کننده یا حرفه ای",productPlans:"طرح های محصول",publicKey:"کلید عمومی",publicKeyHint:"کلید عمومی مجوز که برای صدور گواهی استفاده می شود",series:"سلسله",seriesHint:"یک برچسب را به عنوان سری تنظیم کنید، به عنوان مثال first_1000_codes تا بتوانید تشخیص دهید که چه زمانی آنها را ایجاد کرده اید",startDate:"تاریخ شروع"},locale:{englishWorldwide:"انگلیسی (English)",persianIran:"فارسی - ایران (Persian WorldWide)",polishPoland:"لهستانی (Polski)"},loginButton:"وارد شدن",loginButtonOs:"ورود با سیستم عامل",mailProvider:{apiKey:"کلید ای پی ای",apiKeyHint:"کلید دسترسی به API در صورتی که مورد نیاز باشد.",fromEmailAddress:"از آدرس ایمیل",fromEmailAddressHint:"آدرسی که از آن ارسال می کنید، معمولاً باید در سرویس پستی ثبت شود",fromName:"از نام",fromNameHint:"نام فرستنده",nickName:"نام مستعار",nickNameHint:"نام مستعار فرستنده ایمیل، معمولاً فروشنده یا پشتیبانی مشتری",replyTo:"پاسخ دادن به",replyToHint:"آدرسی که گیرنده قرار است به آن پاسخ دهد. (noreply@domain) به عنوان مثال",senderAddress:"آدرس فرستنده",senderName:"نام فرستنده",type:"نوع سرویس",typeHint:"سرویس ایمیلی که توسط آن ایمیل ها ارسال میشوند"},menu:{answerSheets:"برگه های پاسخ",classRooms:"کلاس های درس",courses:"دوره های آموزشی",exams:"امتحانات",personal:"شخصی سازی کنید",questionBanks:"بانک سوالات",questions:"سوالات",quizzes:"آزمون ها",settings:"تنظیمات",title:"اقدامات",units:"واحدها"},meta:{titleAffix:"PixelPlux"},misc:{currencies:"ارز ها",currency:{editCurrency:"ویرایش ارز",name:"نام ارز",nameHint:"نام بازاری ارز که واحد آن نیز میباشد",newCurrency:"ارز جدید",symbol:"علامت یا سمبل",symbolHint:"کاراکتری که معمولا واحد پول را مشخص میکند. برخی واحد ها سمبل ندارند",symbolNative:"سمبل داخلی",symbolNativeHint:"سمبل یا علامتی از ارز که در کشور استفاده میشود"},title:"سرویس های مخلوط"},mockNotice:"شما در حال دیدن نسخه نمایشی هستید. این نسخه دارای بک اند نیست، اطلاعات شما ذخیره نمیشوند و هیچ گارانتی نسبت به کارکردن ماژول ها وجود ندارد.",myClassrooms:{availableClassrooms:"کلاس های درس موجود",noCoursesAvailable:"هیچ دوره ای در اینجا موجود نیست. ممکن است لازم باشد با حساب دیگری وارد شوید تا انحصاری را ببینید",title:"کلاس های درس من",youHaveNoClasses:"شما به هیچ کلاسی اضافه نمی شوید."},networkError:"شما به شبکه متصل نیستید، دریافت داده انجام نشد. اتصال شبکه خود را بررسی کنید",noOptions:"هیچ گزینه نیست، جستجو کنید",noPendingInvite:"شما هیچ دعوت نامه ای برای پیوستن به تیم های دیگری ندارید.",noSignupType:"ساختن اکانت در حال حاضر ممکن نیست، لطفا با مدیریت تماس بگیرید",node:{Oddeven:"زوج/فرد",average:"میانگین",circularInput:"گردی",color:"رنگ",containerLevelValue:"Container",cron:"کرون",delay:"تاخیری",digital:"دیجیتال",interpolate:"اینترپولیت",run:"اجرا",source:"مبدا",start:"شروع",stop:"توقف",switch:"دگمه",target:"مقصد",timer:"تایمر",value:"مقدار",valueGauge:"گیج"},not_found_404:"صفحه ای که به دنبال آن هستید وجود ندارد. ممکن است این قسمت در زبان فارسی موجود نباشد و یا حذف شده باشد.",notfound:"اطلاعات یا ماژول مورد نظر شما در این نسخه از سرور وجود ندارد.",pages:{catalog:"کاتالوگ",feedback:"بازخورد",jobs:"مشاغل من"},payments:{approve:"تایید",reject:"ریجکت"},priceTag:{add:"اضافه کردن قیمت",priceTag:"برچسب قیمتی",priceTagHint:"نوع قیمت گذاری با توجه منطقه یا نوع ارز"},question:{editQuestion:"سوال جدید",newQuestion:"سوال جدید"},questionBank:{editEntity:"بانک سوالات را ویرایش کنید",editQuestion:"ویرایش سوال",name:"نام بانک",newEntity:"بانک سوالات جدید",newQuestion:"سوال جدید",title:"عنوان بانک سوال",titleHint:'بانک سوالات را نام ببرید، مانند "504 سوال برای طراحی برق"'},questionSemester:{editQuestionSemester:"ویرایش دوره سوال",menu:"دوره های سوال",name:"نام دوره",nameHint:"نام دوره سوال معمولا با ماه آزمون یا سوال مرتبط است، مانند تیرماه یا نیم فصل اول",newQuestionSemester:"دوره جدید",questionSemesterArchiveTitle:"دوره های سوال"},questionlevels:{editQuestionLevel:"ویرایش سطح سوال",name:"سطح سوال",nameHint:"نامی که برای سطح سوال انتخاب میکنید، مانند (کشوری، استانی)",newQuestionLevel:"سطح سوال جدید",questionLevelArchiveTitle:"سطوح سوالات"},questions:{addAnswerHint:"برای اضافه کردن پاسخ کلیک کنید",addQuestion:"اضافه کردن سوال",answer:"پاسخ",answerHint:"یکی از پاسخ های سوال و یا تنها پاسخ",durationInSeconds:"زمان پاسخ (ثانیه)",durationInSecondsHint:"مدت زمانی که دانش آموز باید به این سوال پاسخ بدهد.",province:"استان",provinceHint:"استان یا استان هایی که این سوال به آن مربوط است",question:"سوال",questionBank:"بانک سوالات",questionBankHint:"بانک سوالاتی که این سوال به آن تعلق دارد",questionDifficulityLevel:"سطح دشواری",questionDifficulityLevelHint:"درجه سختی حل این سوال برای دانش آموز",questionLevel:"تیپ سوال",questionLevelHint:"سطح سوال به صورت کشوری یا استانی - منطقه ای",questionSchoolType:"نوع مدرسه",questionSchoolTypeHint:"نوع مدرسه ای که این سوالات در آن نشان داده شده اند.",questionSemester:"دوره سوال",questionSemesterHint:"مانند تیر یا دو نوبت کنکور",questionTitle:"صورت سوال",questionTitleHint:"صورت سوال همان چیزی است که باید به آن جواب داده شود.",questions:"سوالات",studyYear:"سال تحصیلی",studyYearHint:"سال تحصیلی که این سوال وارد شده است"},quiz:{editQuiz:"ویرایش مسابقه",name:"نام",newQuiz:"آزمون جدید"},reactiveSearch:{noResults:"جستجو هیچ نتیجه ای نداشت",placeholder:"جستجو (کلید S)..."},requestReset:"درخواست تنظیم مجدد",resume:{clientLocation:"مکان مشتری:",companyLocation:"مکان شرکت فعالیت:",jobCountry:"کشوری که کار در آن انجام شده:",keySkills:"توانایی های کلیدی",level:"سطح",level_1:"آشنایی",level_2:"متوسط",level_3:"کاربر روزمره",level_4:"حرفه ای",level_5:"معمار",noScreenMessage1:"به نسخه چاپی رزومه من خوش آمدید. برای ایجاد تغیرات و اطلاعات بیشتر حتما ادامه رزومه را در گیت هاب به آدرس",noScreenMessage2:"مشاهده کنید. در نسخه گیت هاب میتوانید اصل پروژه ها، ویدیو ها و حتی امکان دسته بندی یا تغییر در رزومه را داشته باشید",preferredPositions:"مشاغل و پروژ های مورد علاقه",products:"محصولات",projectDescription:"توضیحات پروژه",projects:"پروژه ها",services:"توانایی های مستقل",showDescription:"نمایش توضیحات پروژه",showTechnicalInfo:"نمایش اطلاعات فنی پروژه",skillDuration:"مدت مهارت",skillName:"عنوان مهارت",technicalDescription:"اطلاعات فنی",usage:"میزان استفاده",usage_1:"به صورت محدود",usage_2:"گاها",usage_3:"استفاده مرتب",usage_4:"استفاده پیشرفته",usage_5:"استفاده فوق حرفه ای",videos:"ویدیو ها",years:"سال"},role:{name:"نام",permissions:"دسترسی ها"},saveChanges:"ذخیره",scenariolanguages:{archiveTitle:"زبان های سناریو",editScenarioLanguage:"ویرایش زبان سناریو",name:"نام زبان",nameHint:"نام زبان یا ابزار طراحی سناریو",newScenarioLanguage:"ویرایش زبان سناریو"},scenariooperationtypes:{archiveTitle:"انواع عملیات",editScenarioOperationType:"ویرایش نوع عملیات",name:"نام عملیات",nameHint:"عنوانی که این عملیات با آن شناخته میشود",newScenarioOperationType:"عملیات جدید"},scenarios:{archiveTitle:"سناریو ها",editScenario:"ویرایش سناریو",lammerSequences:"دستورات لمر",lammerSequencesHint:"طراحی دستورالعمل مربوط به این سناریو در زبان لمر",name:"نام سناریو",nameHint:"نامی که این سناریو در سطح نرم افزار شناخته میشود",newScenario:"سناریو جدید",script:"کد سناریو",scriptHint:"کد سناریو که هنگام اجرای سناریو باید اجرا شود"},schooltypes:{editSchoolType:"ویرایش نوع مدرسه",menu:"انواع مدرسه",name:"نام مدرسه",nameHint:"نام مدرسه که عموما افراد آن را در سطح کشور میشناسند",newSchoolType:"نوع مدرسه جدید",schoolTypeTitle:"انواع مدارس"},searchplaceholder:"جستجو...",selectPlaceholder:"- انتخاب کنید -",settings:{apply:"ذخیره",inaccessibleRemote:"سرور خارج از دسترس است",interfaceLanguage:"زبان رابط",interfaceLanguageHint:"زبانی که دوست دارید رابط کاربری به شما نشان داده شود",preferredHand:"دست اصلی",preferredHandHint:"از کدام دست بیشتر برای استفاده از موبایل بهره میبرید؟",remoteAddress:"آدرس سرور",serverConnected:"سرور با موفقیت و صحت کار میکند و متصل هستیم",textEditorModule:"ماژول ویرایشگر متن",textEditorModuleHint:"شما می‌توانید بین ویرایشگرهای متنی مختلفی که ما ارائه می‌دهیم، یکی را انتخاب کنید و از ویرایشگرهایی که راحت‌تر هستید استفاده کنید",theme:"قالب",themeHint:"قالب و یا رنگ تم را انتخاب کنید"},signinInstead:"ورود",signup:{continueAs:"ادامه به عنوان {currentUser}",continueAsHint:`با وارد شدن به عنوان {currentUser}، تمام اطلاعات شما، - به صورت آفلاین در رایانه شما، تحت مجوزهای این کاربر - ذخیره می‌شود.`,defaultDescription:"برای ایجاد حساب کاربری لطفا فیلدهای زیر را پر کنید",mobileAuthentication:"In order to login with mobile",signupToWorkspace:"برای ثبت نام به عنوان {roleName}، فیلدهای زیر را پر کنید"},signupButton:"ثبت نام",simpleTextEditor:"باکس ساده سیستم برای متن",studentExams:{history:"سابقه امتحان",noExams:"هیچ امتحانی برای شرکت کردن وجود ندارد",noHistory:"شما هرگز در هیچ نوع امتحانی شرکت نکرده اید، وقتی امتحانی را انتخاب و مطالعه می کنید، در اینجا لیست می شود.",title:"امتحانات"},studentRooms:{title:"کلاس های درس من"},studyYears:{editStudyYear:"ویرایش سال تحصیلی",name:"نام",nameHint:"سال تحصیلی مدت زمان یه دوره مانند سال ۹۴-۹۵ است",newStudyYear:"سال تحصیلی جدید",studyYearArchiveTitle:"سالهای تحصیلی"},table:{created:"ساخته شده",filter:{contains:"شامل",endsWith:"پایان یابد",equal:"برابر",filterPlaceholder:"فیلتر...",greaterThan:"بزرگتر از",greaterThanOrEqual:"بزرگتر یا مساوری",lessThan:"کمتر از",lessThanOrEqual:"کمتر یا مساوی",notContains:"شامل نباشد",notEqual:"برابر نباشد",startsWith:"شروع با"},info:"داده",next:"بعدی",noRecords:"هیچ سابقه ای برای نمایش وجود ندارد. برای ایجاد یکی، دکمه مثبت را فشار دهید.",previous:"قبلی",uniqueId:"شناسه",value:"مقدار"},tempControlWidget:{decrese:"کاهش",increase:"افزایش"},tinymceeditor:"ویرایش گر TinyMCE",triggers:{archiveTitle:"شرط ها",editTrigger:"ویرایش شرط",name:"نام شرط",nameHint:"نامی که این شرط در سطح نرم افزار با آن شناخته میشود.",newTrigger:"شرط جدید",triggerType:"نوغ شرط",triggerTypeCronjob:"شرط زمانی (Cronjob)",triggerTypeCronjobHint:"تعریف شرط بر اساس رخداد های زمانی",triggerTypeGpioValue:"شرط تغییر مقدار",triggerTypeGpioValueHint:"شرط بر اساس تغییر مقدار خروجی یا ورودی",triggerTypeHint:"نوغ شرط",triggerTypeId:"نوع شرط",triggerTypeIdHint:"نوع شرط تعیین کننده نحوه استفاده از این شرط است"},triggertypes:{archiveTitle:"نوع شرط",editTriggerType:"ویرایش نوع شرط",name:"نام نوع شرط",nameHint:"نامی که این نوع شرط با آن شناخته میشود",newTriggerType:"ویرایش نوع شرط"},tuyaDevices:{cloudProjectId:"شناسه پروژه ابری",name:"نام دستگاه Tuya"},unit:{editUnit:"ویرایش واحد",newUnit:"واحد جدید",title:"عنوان"},units:{content:"محتویات",editUnit:"واحد ویرایش",newUnit:"واحد جدید",parentId:"واحد مادر",subUnits:"زیر واحد ها"},unnamedRole:"نقش نامعلوم",unnamedWorkspace:"فضای کاری بی نام",user:{editUser:"ویرایش کاربر",newUser:"کاربر جدید"},users:{firstName:"نام کوچک",lastName:"نام خانوادگی"},webrtcconfig:"پیکربندی WebRTC",widgetPicker:{instructions:"کلید های فلش را از روی کیبرد برای جا به جایی فشار دهید. ",instructionsFlat:`Press Arrows from keyboard to change slide
- Press Ctrl + Arrows from keyboard to switch to - flat mode`,widgets:"ویدجت ها"},widgets:{noItems:"هیچ ویدجتی در این صفحه وجود ندارد."},wokspaces:{body:"بدن",cascadeNotificationConfig:"پیکربندی اعلان آبشار در فضاهای کاری فرعی",cascadeNotificationConfigHint:"با بررسی این مورد، تمام فضاهای کاری بعدی از این ارائه دهنده ایمیل برای ارسال ایمیل استفاده خواهند کرد. برای محصولاتی که به‌عنوان سرویس آنلاین اجرا می‌شوند، معمولاً می‌خواهید که فضای کاری والد سرور ایمیل را پیکربندی کند. شما ممکن است علامت این را در محصولات بزرگ‌تر که به صورت جهانی اجرا می‌شوند، بردارید و هر فضای کاری باید فضاهای فرعی و پیکربندی ایمیل خود را داشته باشد.",config:"تنظیم تیم",configurateWorkspaceNotification:"سرویس های اطلاع رسانی را پیکربندی کنید",confirmEmailSender:"ثبت نام کاربر ایمیل حساب را تایید کنید",createNewWorkspace:"فضای کاری جدید",customizedTemplate:"ویرایش قالب",disablePublicSignup:"غیر فعال کردن ثبت نام ها",disablePublicSignupHint:"با انتخاب این گزینه هیچ کس نمی تواند به این تیم یا زیر مجموعه های این تیم با فرم ثبت نام آنلاین به صورت خودکار عضو شود.",editWorkspae:"ویرایش فضای کاری",emailSendingConfig:"تنظیمات ارسال ایمیل",emailSendingConfigHint:"نحوه ارسال ایمیل ها و قالب های آنها و ارسال کننده ها را کنترل کنید.",emailSendingConfiguration:"پیکربندی ارسال ایمیل",emailSendingConfigurationHint:"نحوه ارسال ایمیل های سیستمی را کنترل کنید، پیام را سفارشی کنید و غیره.",forceEmailConfigToSubWorkspaces:"استفاده از این تنظیمات برای تیم های زیر مجموعه اجباری باشد",forceEmailConfigToSubWorkspacesHint:"با انتخاب این گزینه، همه تیم های زیر مجموعه باید از همین قالب ها برای ارسال ایمیل استفاده کنند. اطلاعات مختص به این تیم را در این قالب ها قرار ندهید.",forceSubWorkspaceUseConfig:"فضاهای کاری فرعی را مجبور کنید از این پیکربندی ارائه دهنده استفاده کنند",forgetPasswordSender:"دستورالعمل های رمز عبور را فراموش کنید",generalMailProvider:"سرویس اصلی ارسال ایمیل",invite:{createInvitation:"ایجاد دعوت نامه",editInvitation:"ویرایش دعوت نامه",email:"آدرس ایمیل",emailHint:"آدرس ایمیل دعوت کننده، آنها پیوند را با استفاده از این ایمیل دریافت خواهند کرد",firstName:"نام کوچک",firstNameHint:"نام دعوت شده را بنویسید",forcePassport:"کاربر را مجبور کنید فقط با ایمیل یا شماره تلفن تعریف شده ثبت نام کند یا بپیوندد",lastName:"نام خانوادگی",lastNameHint:"نام خانوادگی دعوت شده را بنویسید",name:"نام",phoneNumber:"شماره تلفن",phoneNumberHint:"شماره تلفن دعوت شوندگان، اگر شماره آنها را نیز ارائه دهید، از طریق پیامک دعوتنامه دریافت خواهند کرد",role:"نقش",roleHint:"نقش(هایی) را که می خواهید به کاربر هنگام پیوستن به فضای کاری بدهید، انتخاب کنید. این را می توان بعدا نیز تغییر داد.",roleName:"نام نقش"},inviteToWorkspace:"دعوت به فضای کاری",joinKeyWorkspace:"فضای کار",joinKeyWorkspaceHint:"فضای کاری که برای عموم در دسترس خواهد بود",mailServerConfiguration:"پیکربندی سرور ایمیل",name:"نام",notification:{dialogTitle:"قالب نامه را ویرایش کنید"},publicSignup:"ثبت نام آنلاین و عمومی",publicSignupHint:"این نرم افزار به شما اجازه کنترل نحوه ارسال ایمیل و پیامک، و همچنین نحوه عضو گیری آنلاین را میدهد. در این قسمت میتوانید عضو شدن افراد و ساختن تیم های جدید را کنترل کنید",resetToDefault:"تنظیم مجدد به حالت پیش فرض",role:"نقش",roleHint:"نقش",sender:"فرستنده",sidetitle:"فضاهای کاری",slug:"اسلاگ",title:"عنوان",type:"تایپ کنید",workspaceName:"نام فضای کاری",workspaceNameHint:"نام فضای کاری را وارد کنید",workspaceTypeSlug:"آدرس اسلاگ",workspaceTypeSlugHint:"آدرسی که به صورت عمومی در دسترس خواهد بود و وقتی کسی از این طریق ثبت نام کند رول مشخصی دریافت میکند.",workspaceTypeTitle:"عنوان",workspaceTypeTitleHint:"عنوان ورک اسپیس"}},J8={en:j9,fa:iV};function vn(){const{locale:t}=Ci();return!t||!J8[t]?j9:J8[t]}function X8(t){let e=(t||"").replaceAll(/fbtusid_____(.*)_____/g,wi.REMOTE_SERVICE+"files/$1");return e=(e||"").replaceAll(/directasset_____(.*)_____/g,wi.REMOTE_SERVICE+"$1"),e}function aV(){return{compiler:"unknown"}}function oV(){return{directPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?X8(n.uniqueId):`${wi.REMOTE_SERVICE}files-inline/${n==null?void 0:n.diskPath}`,downloadPath:n=>!(n!=null&&n.diskPath)&&(n!=null&&n.uniqueId)?X8(n.uniqueId):`${wi.REMOTE_SERVICE}files/${n==null?void 0:n.diskPath}`}}const Hw=({children:t,isActive:e,skip:n,activeClassName:r,inActiveClassName:i,...o})=>{var y;const u=Lr(),{locale:c}=Ci(),d=o.locale||c||"en",{compiler:h}=aV();let g=(o==null?void 0:o.href)||(u==null?void 0:u.asPath)||"";return typeof g=="string"&&(g!=null&&g.indexOf)&&g.indexOf("http")===0&&(n=!0),typeof g=="string"&&d&&!n&&!g.startsWith(".")&&(g=g?`/${c}`+g:(y=u.pathname)==null?void 0:y.replace("[locale]",d)),e&&(o.className=`${o.className||""} ${r||"active"}`),!e&&i&&(o.className=`${o.className||""} ${i}`),N.jsx(nV,{...o,href:g,compiler:h,children:t})};function sV(){const{session:t,checked:e}=_.useContext(en),[n,r]=_.useState(!1),i=e&&!t,[o,u]=_.useState(!1);return _.useEffect(()=>{e&&t&&(u(!0),setTimeout(()=>{r(!0)},500))},[e,t]),{session:t,checked:e,needsAuthentication:i,loadComplete:n,setLoadComplete:r,isFading:o}}const qw=({label:t,getInputRef:e,displayValue:n,Icon:r,children:i,errorMessage:o,validMessage:u,value:c,hint:d,onClick:h,onChange:g,className:y,focused:b=!1,hasAnimation:v})=>N.jsxs("div",{style:{position:"relative"},className:ko("mb-3",y),children:[t&&N.jsx("label",{className:"form-label",children:t}),i,N.jsx("div",{className:"form-text",children:d}),N.jsx("div",{className:"invalid-feedback",children:o}),N.jsx("div",{className:"valid-feedback",children:u})]}),Af=t=>{const{placeholder:e,label:n,getInputRef:r,secureTextEntry:i,Icon:o,isSubmitting:u,errorMessage:c,onChange:d,value:h,disabled:g,type:y,focused:b=!1,className:v,mutation:C,...E}=t,$=C==null?void 0:C.isLoading;return N.jsx("button",{onClick:t.onClick,type:"submit",disabled:g||$,className:ko("btn mb-3",`btn-${y||"primary"}`,v),...t,children:t.children||t.label})};function uV(t,e,n={}){var r,i,o,u,c,d,h,g,y,b;if(e.isError){if(((r=e.error)==null?void 0:r.status)===404)return t.notfound+"("+n.remote+")";if(e.error.message==="Failed to fetch")return t.networkError+"("+n.remote+")";if((o=(i=e.error)==null?void 0:i.error)!=null&&o.messageTranslated)return(c=(u=e.error)==null?void 0:u.error)==null?void 0:c.messageTranslated;if((h=(d=e.error)==null?void 0:d.error)!=null&&h.message)return(y=(g=e.error)==null?void 0:g.error)==null?void 0:y.message;let v=(b=e.error)==null?void 0:b.toString();return(v+"").includes("object Object")&&(v="There is an unknown error while getting information, please contact your software provider if issue persists."),v}return null}function jo({query:t,children:e}){var h,g,y,b;const n=vn(),{options:r,setOverrideRemoteUrl:i,overrideRemoteUrl:o}=_.useContext(en);let u=!1,c="80";try{if(r!=null&&r.prefix){const v=new URL(r==null?void 0:r.prefix);c=v.port||(v.protocol==="https:"?"443":"80"),u=(location.host.includes("192.168")||location.host.includes("127.0"))&&((g=(h=t.error)==null?void 0:h.message)==null?void 0:g.includes("Failed to fetch"))}}catch{}const d=()=>{i("http://"+location.hostname+":"+c+"/")};return t?N.jsxs(N.Fragment,{children:[t.isError&&N.jsxs("div",{className:"basic-error-box fadein",children:[uV(n,t,{remote:r.prefix})||"",u&&N.jsx("button",{className:"btn btn-sm btn-secondary",onClick:d,children:"Auto-reroute"}),o&&N.jsx("button",{className:"btn btn-sm btn-secondary",onClick:()=>i(void 0),children:"Reset"}),N.jsx("ul",{children:(((b=(y=t.error)==null?void 0:y.error)==null?void 0:b.errors)||[]).map(v=>N.jsxs("li",{children:[v.messageTranslated||v.message," (",v.location,")"]},v.location))}),t.refetch&&N.jsx(Af,{onClick:t.refetch,children:"Retry"})]}),!t.isError||t.isPreviousData?e:null]}):null}const lV=t=>{const{children:e,forceActive:n,...r}=t,{locale:i,asPath:o}=Ci(),u=_.Children.only(e),c=o===`/${i}`+r.href||o+"/"==`/${i}`+r.href||n;return t.disabled?N.jsx("span",{className:"disabled",children:u}):N.jsx(Hw,{...r,isActive:c,children:u})};function Wn(t){const{locale:e}=Ci();return!e||e==="en"?t:t["$"+e]?t["$"+e]:t}const cV={setupTotpDescription:'In order to complete account registeration, you need to scan the following code using "Microsoft authenticator" or "Google Authenticator". After that, you need to enter the 6 digit code from the app here.',welcomeBackDescription:"Select any option to continue to access your account.",google:"Google",selectWorkspace:"You have multiple workspaces associated with your account. Select one to continue.",completeYourAccount:"Complete your account",completeYourAccountDescription:"Complete the information below to complete your signup",registerationNotPossibleLine1:"In this project there are no workspace types that can be used publicly to create account.",enterPassword:"Enter Password",welcomeBack:"Welcome back",emailMethod:"Email",phoneMethod:"Phone number",noAuthenticationMethod:"Authentication Currently Unavailable",firstName:"First name",registerationNotPossible:"Registeration not possible.",setupDualFactor:"Setup Dual Factor",cancelStep:"Cancel and try another way.",enterOtp:"Enter OTP",skipTotpInfo:"You can setup this any time later, by visiting your account security section.",continueWithEmailDescription:"Enter your email address to continue.",enterOtpDescription:"We have sent you an one time password, please enter to continue.",continueWithEmail:"Continue with Email",continueWithPhone:"Continue with Phone",registerationNotPossibleLine2:"Contact the service administrator to create your account for you.",useOneTimePassword:"Use one time password instead",changePassword:{pass1Label:"Password",pass2Label:"Repeat password",submit:"Change Password",title:"Change password",description:"In order to change your password, enter new password twice same in the fields"},continueWithPhoneDescription:"Enter your phone number to continue.",lastName:"Last name",password:"Password",continue:"Continue",anotherAccount:"Choose another account",noAuthenticationMethodDescription:"Sign-in and registration are not available in your region at this time. If you believe this is an error or need access, please contact the administrator.",home:{title:"Account & Profile",description:"Manage your account, emails, passwords and more",passports:"Passports",passportsTitle:"Passports",passportsDescription:"View emails, phone numbers associated with your account."},enterTotp:"Enter Totp Code",enterTotpDescription:"Open your authenticator app and enter the 6 digits.",setupTotp:"Setup Dual Factor",skipTotpButton:"Skip for now",userPassports:{title:"Passports",description:"You can see a list of passports that you can use to authenticate into the system here.",add:"Add new passport",remove:"Remove passport"},selectWorkspaceTitle:"Select workspace",chooseAnotherMethod:"Choose another method",enterPasswordDescription:"Enter your password to continue authorizing your account."},fV={registerationNotPossibleLine2:"Skontaktuj się z administratorem usługi, aby utworzył konto dla Ciebie.",chooseAnotherMethod:"Wybierz inną metodę",continue:"Kontynuuj",continueWithPhone:"Kontynuuj za pomocą numeru telefonu",enterPassword:"Wprowadź hasło",noAuthenticationMethod:"Uwierzytelnianie obecnie niedostępne",completeYourAccountDescription:"Uzupełnij poniższe informacje, aby zakończyć rejestrację",registerationNotPossible:"Rejestracja niemożliwa.",selectWorkspace:"Masz wiele przestrzeni roboczych powiązanych z Twoim kontem. Wybierz jedną, aby kontynuować.",welcomeBack:"Witamy ponownie",enterOtp:"Wprowadź jednorazowy kod",enterPasswordDescription:"Wprowadź swoje hasło, aby kontynuować autoryzację konta.",userPassports:{add:"Dodaj nowy paszport",description:"Tutaj możesz zobaczyć listę paszportów, które możesz wykorzystać do uwierzytelniania w systemie.",remove:"Usuń paszport",title:"Paszporty"},registerationNotPossibleLine1:"W tym projekcie nie ma dostępnych typów przestrzeni roboczych do publicznego tworzenia konta.",cancelStep:"Anuluj i spróbuj innej metody.",continueWithEmail:"Kontynuuj za pomocą e-maila",continueWithPhoneDescription:"Wprowadź swój numer telefonu, aby kontynuować.",emailMethod:"E-mail",enterTotp:"Wprowadź kod TOTP",noAuthenticationMethodDescription:"Logowanie i rejestracja są obecnie niedostępne w Twoim regionie. Jeśli uważasz, że to błąd lub potrzebujesz dostępu, skontaktuj się z administratorem.",password:"Hasło",anotherAccount:"Wybierz inne konto",enterTotpDescription:"Otwórz aplikację uwierzytelniającą i wprowadź 6-cyfrowy kod.",firstName:"Imię",phoneMethod:"Numer telefonu",setupDualFactor:"Skonfiguruj uwierzytelnianie dwuskładnikowe",setupTotp:"Skonfiguruj uwierzytelnianie dwuskładnikowe",skipTotpInfo:"Możesz skonfigurować to później, odwiedzając sekcję bezpieczeństwa konta.",welcomeBackDescription:"Wybierz dowolną opcję, aby kontynuować dostęp do swojego konta.",changePassword:{pass1Label:"Hasło",pass2Label:"Powtórz hasło",submit:"Zmień hasło",title:"Zmień hasło",description:"Aby zmienić hasło, wprowadź nowe hasło dwukrotnie w polach poniżej"},lastName:"Nazwisko",useOneTimePassword:"Użyj jednorazowego hasła zamiast tego",completeYourAccount:"Uzupełnij swoje konto",continueWithEmailDescription:"Wprowadź swój adres e-mail, aby kontynuować.",enterOtpDescription:"Wysłaliśmy jednorazowy kod, wprowadź go, aby kontynuować.",google:"Google",home:{description:"Zarządzaj swoim kontem, e-mailami, hasłami i innymi",passports:"Paszporty",passportsDescription:"Zobacz e-maile i numery telefonów powiązane z Twoim kontem.",passportsTitle:"Paszporty",title:"Konto i profil"},selectWorkspaceTitle:"Wybierz przestrzeń roboczą",setupTotpDescription:"Aby zakończyć rejestrację konta, zeskanuj poniższy kod za pomocą aplikacji „Microsoft Authenticator” lub „Google Authenticator”. Następnie wprowadź tutaj 6-cyfrowy kod z aplikacji.",skipTotpButton:"Pomiń na razie"},$r={...cV,$pl:fV};var V3,Z8;function _g(){return Z8||(Z8=1,V3=TypeError),V3}const dV={},hV=Object.freeze(Object.defineProperty({__proto__:null,default:dV},Symbol.toStringTag,{value:"Module"})),pV=QD(hV);var G3,eA;function zw(){if(eA)return G3;eA=1;var t=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=t&&e&&typeof e.get=="function"?e.get:null,r=t&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&o&&typeof o.get=="function"?o.get:null,c=i&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,g=typeof WeakSet=="function"&&WeakSet.prototype,y=g?WeakSet.prototype.has:null,b=typeof WeakRef=="function"&&WeakRef.prototype,v=b?WeakRef.prototype.deref:null,C=Boolean.prototype.valueOf,E=Object.prototype.toString,$=Function.prototype.toString,x=String.prototype.match,O=String.prototype.slice,R=String.prototype.replace,D=String.prototype.toUpperCase,P=String.prototype.toLowerCase,L=RegExp.prototype.test,F=Array.prototype.concat,H=Array.prototype.join,Y=Array.prototype.slice,X=Math.floor,ue=typeof BigInt=="function"?BigInt.prototype.valueOf:null,me=Object.getOwnPropertySymbols,te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,be=typeof Symbol=="function"&&typeof Symbol.iterator=="object",we=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===be||!0)?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ae){return ae.__proto__}:null);function q(ae,ce){if(ae===1/0||ae===-1/0||ae!==ae||ae&&ae>-1e3&&ae<1e3||L.call(/e/,ce))return ce;var nt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ae=="number"){var qt=ae<0?-X(-ae):X(ae);if(qt!==ae){var cn=String(qt),wt=O.call(ce,cn.length+1);return R.call(cn,nt,"$&_")+"."+R.call(R.call(wt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return R.call(ce,nt,"$&_")}var ie=pV,G=ie.custom,J=gt(G)?G:null,he={__proto__:null,double:'"',single:"'"},$e={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};G3=function ae(ce,nt,qt,cn){var wt=nt||{};if(Ot(wt,"quoteStyle")&&!Ot(he,wt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ot(wt,"maxStringLength")&&(typeof wt.maxStringLength=="number"?wt.maxStringLength<0&&wt.maxStringLength!==1/0:wt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ur=Ot(wt,"customInspect")?wt.customInspect:!0;if(typeof Ur!="boolean"&&Ur!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ot(wt,"indent")&&wt.indent!==null&&wt.indent!==" "&&!(parseInt(wt.indent,10)===wt.indent&&wt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ot(wt,"numericSeparator")&&typeof wt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var nn=wt.numericSeparator;if(typeof ce>"u")return"undefined";if(ce===null)return"null";if(typeof ce=="boolean")return ce?"true":"false";if(typeof ce=="string")return j(ce,wt);if(typeof ce=="number"){if(ce===0)return 1/0/ce>0?"0":"-0";var er=String(ce);return nn?q(ce,er):er}if(typeof ce=="bigint"){var Tn=String(ce)+"n";return nn?q(ce,Tn):Tn}var Fi=typeof wt.depth>"u"?5:wt.depth;if(typeof qt>"u"&&(qt=0),qt>=Fi&&Fi>0&&typeof ce=="object")return tt(ce)?"[Array]":"[Object]";var la=Ee(wt,qt);if(typeof cn>"u")cn=[];else if(kt(cn,ce)>=0)return"[Circular]";function Ar(jr,Oa,xi){if(Oa&&(cn=Y.call(cn),cn.push(Oa)),xi){var Ui={depth:wt.depth};return Ot(wt,"quoteStyle")&&(Ui.quoteStyle=wt.quoteStyle),ae(jr,Ui,qt+1,cn)}return ae(jr,wt,qt+1,cn)}if(typeof ce=="function"&&!Ke(ce)){var As=xn(ce),to=Wt(ce,Ar);return"[Function"+(As?": "+As:" (anonymous)")+"]"+(to.length>0?" { "+H.call(to,", ")+" }":"")}if(gt(ce)){var Rs=be?R.call(String(ce),/^(Symbol\(.*\))_[^)]*$/,"$1"):te.call(ce);return typeof ce=="object"&&!be?M(Rs):Rs}if(ht(ce)){for(var $i="<"+P.call(String(ce.nodeName)),Xr=ce.attributes||[],no=0;no",$i}if(tt(ce)){if(ce.length===0)return"[]";var Li=Wt(ce,Ar);return la&&!ge(Li)?"["+rt(Li,la)+"]":"[ "+H.call(Li,", ")+" ]"}if(qe(ce)){var Bo=Wt(ce,Ar);return!("cause"in Error.prototype)&&"cause"in ce&&!B.call(ce,"cause")?"{ ["+String(ce)+"] "+H.call(F.call("[cause]: "+Ar(ce.cause),Bo),", ")+" }":Bo.length===0?"["+String(ce)+"]":"{ ["+String(ce)+"] "+H.call(Bo,", ")+" }"}if(typeof ce=="object"&&Ur){if(J&&typeof ce[J]=="function"&&ie)return ie(ce,{depth:Fi-qt});if(Ur!=="symbol"&&typeof ce.inspect=="function")return ce.inspect()}if(Pt(ce)){var In=[];return r&&r.call(ce,function(jr,Oa){In.push(Ar(Oa,ce,!0)+" => "+Ar(jr,ce))}),re("Map",n.call(ce),In,la)}if(Ge(ce)){var Nn=[];return c&&c.call(ce,function(jr){Nn.push(Ar(jr,ce))}),re("Set",u.call(ce),Nn,la)}if(pe(ce))return Q("WeakMap");if(Qe(ce))return Q("WeakSet");if(ze(ce))return Q("WeakRef");if(pt(ce))return M(Ar(Number(ce)));if(Ut(ce))return M(Ar(ue.call(ce)));if(bt(ce))return M(C.call(ce));if(ut(ce))return M(Ar(String(ce)));if(typeof window<"u"&&ce===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ce===globalThis||typeof df<"u"&&ce===df)return"{ [object globalThis] }";if(!De(ce)&&!Ke(ce)){var An=Wt(ce,Ar),Ze=V?V(ce)===Object.prototype:ce instanceof Object||ce.constructor===Object,Ei=ce instanceof Object?"":"null prototype",Ps=!Ze&&we&&Object(ce)===ce&&we in ce?O.call(tn(ce),8,-1):Ei?"Object":"",Ho=Ze||typeof ce.constructor!="function"?"":ce.constructor.name?ce.constructor.name+" ":"",ro=Ho+(Ps||Ei?"["+H.call(F.call([],Ps||[],Ei||[]),": ")+"] ":"");return An.length===0?ro+"{}":la?ro+"{"+rt(An,la)+"}":ro+"{ "+H.call(An,", ")+" }"}return String(ce)};function Ce(ae,ce,nt){var qt=nt.quoteStyle||ce,cn=he[qt];return cn+ae+cn}function Be(ae){return R.call(String(ae),/"/g,""")}function Ie(ae){return!we||!(typeof ae=="object"&&(we in ae||typeof ae[we]<"u"))}function tt(ae){return tn(ae)==="[object Array]"&&Ie(ae)}function De(ae){return tn(ae)==="[object Date]"&&Ie(ae)}function Ke(ae){return tn(ae)==="[object RegExp]"&&Ie(ae)}function qe(ae){return tn(ae)==="[object Error]"&&Ie(ae)}function ut(ae){return tn(ae)==="[object String]"&&Ie(ae)}function pt(ae){return tn(ae)==="[object Number]"&&Ie(ae)}function bt(ae){return tn(ae)==="[object Boolean]"&&Ie(ae)}function gt(ae){if(be)return ae&&typeof ae=="object"&&ae instanceof Symbol;if(typeof ae=="symbol")return!0;if(!ae||typeof ae!="object"||!te)return!1;try{return te.call(ae),!0}catch{}return!1}function Ut(ae){if(!ae||typeof ae!="object"||!ue)return!1;try{return ue.call(ae),!0}catch{}return!1}var Gt=Object.prototype.hasOwnProperty||function(ae){return ae in this};function Ot(ae,ce){return Gt.call(ae,ce)}function tn(ae){return E.call(ae)}function xn(ae){if(ae.name)return ae.name;var ce=x.call($.call(ae),/^function\s*([\w$]+)/);return ce?ce[1]:null}function kt(ae,ce){if(ae.indexOf)return ae.indexOf(ce);for(var nt=0,qt=ae.length;ntce.maxStringLength){var nt=ae.length-ce.maxStringLength,qt="... "+nt+" more character"+(nt>1?"s":"");return j(O.call(ae,0,ce.maxStringLength),ce)+qt}var cn=$e[ce.quoteStyle||"single"];cn.lastIndex=0;var wt=R.call(R.call(ae,cn,"\\$1"),/[\x00-\x1f]/g,A);return Ce(wt,"single",ce)}function A(ae){var ce=ae.charCodeAt(0),nt={8:"b",9:"t",10:"n",12:"f",13:"r"}[ce];return nt?"\\"+nt:"\\x"+(ce<16?"0":"")+D.call(ce.toString(16))}function M(ae){return"Object("+ae+")"}function Q(ae){return ae+" { ? }"}function re(ae,ce,nt,qt){var cn=qt?rt(nt,qt):H.call(nt,", ");return ae+" ("+ce+") {"+cn+"}"}function ge(ae){for(var ce=0;ce=0)return!1;return!0}function Ee(ae,ce){var nt;if(ae.indent===" ")nt=" ";else if(typeof ae.indent=="number"&&ae.indent>0)nt=H.call(Array(ae.indent+1)," ");else return null;return{base:nt,prev:H.call(Array(ce+1),nt)}}function rt(ae,ce){if(ae.length===0)return"";var nt=` -`+ce.prev+ce.base;return nt+H.call(ae,","+nt)+` -`+ce.prev}function Wt(ae,ce){var nt=tt(ae),qt=[];if(nt){qt.length=ae.length;for(var cn=0;cn"u"||!F?t:F(Uint8Array),be={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":L&&F?F([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":me,"%AsyncGenerator%":me,"%AsyncGeneratorFunction%":me,"%AsyncIteratorPrototype%":me,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":$,"%GeneratorFunction%":me,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L&&F?F(F([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L||!F?t:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L||!F?t:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L&&F?F(""[Symbol.iterator]()):t,"%Symbol%":L?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":te,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":ue,"%Function.prototype.apply%":X,"%Object.defineProperty%":R,"%Object.getPrototypeOf%":H,"%Math.abs%":h,"%Math.floor%":g,"%Math.max%":y,"%Math.min%":b,"%Math.pow%":v,"%Math.round%":C,"%Math.sign%":E,"%Reflect.getPrototypeOf%":Y};if(F)try{null.error}catch(Ke){var we=F(F(Ke));be["%Error.prototype%"]=we}var B=function Ke(qe){var ut;if(qe==="%AsyncFunction%")ut=x("async function () {}");else if(qe==="%GeneratorFunction%")ut=x("function* () {}");else if(qe==="%AsyncGeneratorFunction%")ut=x("async function* () {}");else if(qe==="%AsyncGenerator%"){var pt=Ke("%AsyncGeneratorFunction%");pt&&(ut=pt.prototype)}else if(qe==="%AsyncIteratorPrototype%"){var bt=Ke("%AsyncGenerator%");bt&&F&&(ut=F(bt.prototype))}return be[qe]=ut,ut},V={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},q=Vw(),ie=UV(),G=q.call(ue,Array.prototype.concat),J=q.call(X,Array.prototype.splice),he=q.call(ue,String.prototype.replace),$e=q.call(ue,String.prototype.slice),Ce=q.call(ue,RegExp.prototype.exec),Be=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ie=/\\(\\)?/g,tt=function(qe){var ut=$e(qe,0,1),pt=$e(qe,-1);if(ut==="%"&&pt!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(pt==="%"&&ut!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var bt=[];return he(qe,Be,function(gt,Ut,Gt,Ot){bt[bt.length]=Gt?he(Ot,Ie,"$1"):Ut||gt}),bt},De=function(qe,ut){var pt=qe,bt;if(ie(V,pt)&&(bt=V[pt],pt="%"+bt[0]+"%"),ie(be,pt)){var gt=be[pt];if(gt===me&&(gt=B(pt)),typeof gt>"u"&&!ut)throw new c("intrinsic "+qe+" exists, but is not available. Please file an issue!");return{alias:bt,name:pt,value:gt}}throw new u("intrinsic "+qe+" does not exist!")};return TC=function(qe,ut){if(typeof qe!="string"||qe.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ut!="boolean")throw new c('"allowMissing" argument must be a boolean');if(Ce(/^%?[^%]*%?$/,qe)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var pt=tt(qe),bt=pt.length>0?pt[0]:"",gt=De("%"+bt+"%",ut),Ut=gt.name,Gt=gt.value,Ot=!1,tn=gt.alias;tn&&(bt=tn[0],J(pt,G([0,1],tn)));for(var xn=1,kt=!0;xn=pt.length){var Ge=O(Gt,Pt);kt=!!Ge,kt&&"get"in Ge&&!("originalValue"in Ge.get)?Gt=Ge.get:Gt=Gt[Pt]}else kt=ie(Gt,Pt),Gt=Gt[Pt];kt&&!Ot&&(be[Ut]=Gt)}}return Gt},TC}var OC,DA;function K9(){if(DA)return OC;DA=1;var t=Vx(),e=W9(),n=e([t("%String.prototype.indexOf%")]);return OC=function(i,o){var u=t(i,!!o);return typeof u=="function"&&n(i,".prototype.")>-1?e([u]):u},OC}var _C,kA;function Y9(){if(kA)return _C;kA=1;var t=Vx(),e=K9(),n=zw(),r=_g(),i=t("%Map%",!0),o=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),c=e("Map.prototype.has",!0),d=e("Map.prototype.delete",!0),h=e("Map.prototype.size",!0);return _C=!!i&&function(){var y,b={assert:function(v){if(!b.has(v))throw new r("Side channel does not contain "+n(v))},delete:function(v){if(y){var C=d(y,v);return h(y)===0&&(y=void 0),C}return!1},get:function(v){if(y)return o(y,v)},has:function(v){return y?c(y,v):!1},set:function(v,C){y||(y=new i),u(y,v,C)}};return b},_C}var AC,FA;function jV(){if(FA)return AC;FA=1;var t=Vx(),e=K9(),n=zw(),r=Y9(),i=_g(),o=t("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),c=e("WeakMap.prototype.set",!0),d=e("WeakMap.prototype.has",!0),h=e("WeakMap.prototype.delete",!0);return AC=o?function(){var y,b,v={assert:function(C){if(!v.has(C))throw new i("Side channel does not contain "+n(C))},delete:function(C){if(o&&C&&(typeof C=="object"||typeof C=="function")){if(y)return h(y,C)}else if(r&&b)return b.delete(C);return!1},get:function(C){return o&&C&&(typeof C=="object"||typeof C=="function")&&y?u(y,C):b&&b.get(C)},has:function(C){return o&&C&&(typeof C=="object"||typeof C=="function")&&y?d(y,C):!!b&&b.has(C)},set:function(C,E){o&&C&&(typeof C=="object"||typeof C=="function")?(y||(y=new o),c(y,C,E)):r&&(b||(b=r()),b.set(C,E))}};return v}:r,AC}var RC,LA;function BV(){if(LA)return RC;LA=1;var t=_g(),e=zw(),n=mV(),r=Y9(),i=jV(),o=i||r||n;return RC=function(){var c,d={assert:function(h){if(!d.has(h))throw new t("Side channel does not contain "+e(h))},delete:function(h){return!!c&&c.delete(h)},get:function(h){return c&&c.get(h)},has:function(h){return!!c&&c.has(h)},set:function(h,g){c||(c=o()),c.set(h,g)}};return d},RC}var PC,UA;function Gx(){if(UA)return PC;UA=1;var t=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return PC={default:n.RFC3986,formatters:{RFC1738:function(r){return t.call(r,e,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},PC}var IC,jA;function Q9(){if(jA)return IC;jA=1;var t=Gx(),e=Object.prototype.hasOwnProperty,n=Array.isArray,r=(function(){for(var $=[],x=0;x<256;++x)$.push("%"+((x<16?"0":"")+x.toString(16)).toUpperCase());return $})(),i=function(x){for(;x.length>1;){var O=x.pop(),R=O.obj[O.prop];if(n(R)){for(var D=[],P=0;P=h?L.slice(H,H+h):L,X=[],ue=0;ue=48&&me<=57||me>=65&&me<=90||me>=97&&me<=122||P===t.RFC1738&&(me===40||me===41)){X[X.length]=Y.charAt(ue);continue}if(me<128){X[X.length]=r[me];continue}if(me<2048){X[X.length]=r[192|me>>6]+r[128|me&63];continue}if(me<55296||me>=57344){X[X.length]=r[224|me>>12]+r[128|me>>6&63]+r[128|me&63];continue}ue+=1,me=65536+((me&1023)<<10|Y.charCodeAt(ue)&1023),X[X.length]=r[240|me>>18]+r[128|me>>12&63]+r[128|me>>6&63]+r[128|me&63]}F+=X.join("")}return F},y=function(x){for(var O=[{obj:{o:x},prop:"o"}],R=[],D=0;D"u"&&(G=0)}if(typeof Y=="function"?q=Y(x,q):q instanceof Date?q=me(q):O==="comma"&&o(q)&&(q=e.maybeMap(q,function(Ut){return Ut instanceof Date?me(Ut):Ut})),q===null){if(P)return H&&!we?H(x,g.encoder,B,"key",te):x;q=""}if(y(q)||e.isBuffer(q)){if(H){var $e=we?x:H(x,g.encoder,B,"key",te);return[be($e)+"="+be(H(q,g.encoder,B,"value",te))]}return[be(x)+"="+be(String(q))]}var Ce=[];if(typeof q>"u")return Ce;var Be;if(O==="comma"&&o(q))we&&H&&(q=e.maybeMap(q,H)),Be=[{value:q.length>0?q.join(",")||null:void 0}];else if(o(Y))Be=Y;else{var Ie=Object.keys(q);Be=X?Ie.sort(X):Ie}var tt=F?String(x).replace(/\./g,"%2E"):String(x),De=R&&o(q)&&q.length===1?tt+"[]":tt;if(D&&o(q)&&q.length===0)return De+"[]";for(var Ke=0;Ke"u"?$.encodeDotInKeys===!0?!0:g.allowDots:!!$.allowDots;return{addQueryPrefix:typeof $.addQueryPrefix=="boolean"?$.addQueryPrefix:g.addQueryPrefix,allowDots:L,allowEmptyArrays:typeof $.allowEmptyArrays=="boolean"?!!$.allowEmptyArrays:g.allowEmptyArrays,arrayFormat:P,charset:x,charsetSentinel:typeof $.charsetSentinel=="boolean"?$.charsetSentinel:g.charsetSentinel,commaRoundTrip:!!$.commaRoundTrip,delimiter:typeof $.delimiter>"u"?g.delimiter:$.delimiter,encode:typeof $.encode=="boolean"?$.encode:g.encode,encodeDotInKeys:typeof $.encodeDotInKeys=="boolean"?$.encodeDotInKeys:g.encodeDotInKeys,encoder:typeof $.encoder=="function"?$.encoder:g.encoder,encodeValuesOnly:typeof $.encodeValuesOnly=="boolean"?$.encodeValuesOnly:g.encodeValuesOnly,filter:D,format:O,formatter:R,serializeDate:typeof $.serializeDate=="function"?$.serializeDate:g.serializeDate,skipNulls:typeof $.skipNulls=="boolean"?$.skipNulls:g.skipNulls,sort:typeof $.sort=="function"?$.sort:null,strictNullHandling:typeof $.strictNullHandling=="boolean"?$.strictNullHandling:g.strictNullHandling}};return NC=function(E,$){var x=E,O=C($),R,D;typeof O.filter=="function"?(D=O.filter,x=D("",x)):o(O.filter)&&(D=O.filter,R=D);var P=[];if(typeof x!="object"||x===null)return"";var L=i[O.arrayFormat],F=L==="comma"&&O.commaRoundTrip;R||(R=Object.keys(x)),O.sort&&R.sort(O.sort);for(var H=t(),Y=0;Y0?te+me:""},NC}var MC,HA;function qV(){if(HA)return MC;HA=1;var t=Q9(),e=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(b){return b.replace(/&#(\d+);/g,function(v,C){return String.fromCharCode(parseInt(C,10))})},o=function(b,v,C){if(b&&typeof b=="string"&&v.comma&&b.indexOf(",")>-1)return b.split(",");if(v.throwOnLimitExceeded&&C>=v.arrayLimit)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");return b},u="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",d=function(v,C){var E={__proto__:null},$=C.ignoreQueryPrefix?v.replace(/^\?/,""):v;$=$.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var x=C.parameterLimit===1/0?void 0:C.parameterLimit,O=$.split(C.delimiter,C.throwOnLimitExceeded?x+1:x);if(C.throwOnLimitExceeded&&O.length>x)throw new RangeError("Parameter limit exceeded. Only "+x+" parameter"+(x===1?"":"s")+" allowed.");var R=-1,D,P=C.charset;if(C.charsetSentinel)for(D=0;D-1&&(X=n(X)?[X]:X);var ue=e.call(E,Y);ue&&C.duplicates==="combine"?E[Y]=t.combine(E[Y],X):(!ue||C.duplicates==="last")&&(E[Y]=X)}return E},h=function(b,v,C,E){var $=0;if(b.length>0&&b[b.length-1]==="[]"){var x=b.slice(0,-1).join("");$=Array.isArray(v)&&v[x]?v[x].length:0}for(var O=E?v:o(v,C,$),R=b.length-1;R>=0;--R){var D,P=b[R];if(P==="[]"&&C.parseArrays)D=C.allowEmptyArrays&&(O===""||C.strictNullHandling&&O===null)?[]:t.combine([],O);else{D=C.plainObjects?{__proto__:null}:{};var L=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,F=C.decodeDotInKeys?L.replace(/%2E/g,"."):L,H=parseInt(F,10);!C.parseArrays&&F===""?D={0:O}:!isNaN(H)&&P!==F&&String(H)===F&&H>=0&&C.parseArrays&&H<=C.arrayLimit?(D=[],D[H]=O):F!=="__proto__"&&(D[F]=O)}O=D}return O},g=function(v,C,E,$){if(v){var x=E.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,O=/(\[[^[\]]*])/,R=/(\[[^[\]]*])/g,D=E.depth>0&&O.exec(x),P=D?x.slice(0,D.index):x,L=[];if(P){if(!E.plainObjects&&e.call(Object.prototype,P)&&!E.allowPrototypes)return;L.push(P)}for(var F=0;E.depth>0&&(D=R.exec(x))!==null&&F"u"?r.charset:v.charset,E=typeof v.duplicates>"u"?r.duplicates:v.duplicates;if(E!=="combine"&&E!=="first"&&E!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var $=typeof v.allowDots>"u"?v.decodeDotInKeys===!0?!0:r.allowDots:!!v.allowDots;return{allowDots:$,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof v.allowPrototypes=="boolean"?v.allowPrototypes:r.allowPrototypes,allowSparse:typeof v.allowSparse=="boolean"?v.allowSparse:r.allowSparse,arrayLimit:typeof v.arrayLimit=="number"?v.arrayLimit:r.arrayLimit,charset:C,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:r.charsetSentinel,comma:typeof v.comma=="boolean"?v.comma:r.comma,decodeDotInKeys:typeof v.decodeDotInKeys=="boolean"?v.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof v.decoder=="function"?v.decoder:r.decoder,delimiter:typeof v.delimiter=="string"||t.isRegExp(v.delimiter)?v.delimiter:r.delimiter,depth:typeof v.depth=="number"||v.depth===!1?+v.depth:r.depth,duplicates:E,ignoreQueryPrefix:v.ignoreQueryPrefix===!0,interpretNumericEntities:typeof v.interpretNumericEntities=="boolean"?v.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof v.parameterLimit=="number"?v.parameterLimit:r.parameterLimit,parseArrays:v.parseArrays!==!1,plainObjects:typeof v.plainObjects=="boolean"?v.plainObjects:r.plainObjects,strictDepth:typeof v.strictDepth=="boolean"?!!v.strictDepth:r.strictDepth,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof v.throwOnLimitExceeded=="boolean"?v.throwOnLimitExceeded:!1}};return MC=function(b,v){var C=y(v);if(b===""||b===null||typeof b>"u")return C.plainObjects?{__proto__:null}:{};for(var E=typeof b=="string"?d(b,C):b,$=C.plainObjects?{__proto__:null}:{},x=Object.keys(E),O=0;Oh("GET",y),v=(O=d==null?void 0:d.headers)==null?void 0:O.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Uo(["*abac.UserPassportsActionResDto",d,e],b,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),x=((D=(R=$.data)==null?void 0:R.data)==null?void 0:D.items)||[];return{query:$,items:x,keyExtractor:P=>P.uniqueId}}J9.UKEY="*abac.UserPassportsActionResDto";const VV=()=>{const t=Wn($r),{goBack:e}=Lr(),{items:n,query:r}=J9({}),{signout:i}=_.useContext(en);return{items:n,goBack:e,signout:i,query:r,s:t}},GV=({})=>{const{query:t,items:e,s:n,signout:r}=VV();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:n.userPassports.title}),N.jsx("p",{children:n.userPassports.description}),N.jsx(jo,{query:t}),N.jsx(WV,{passports:e}),N.jsx("button",{className:"btn btn-danger mt-3 w-100",onClick:r,children:"Signout"})]})},WV=({passports:t})=>{const e=Wn($r);return N.jsx("div",{className:"d-flex ",children:t.map(n=>N.jsxs("div",{className:"card p-3 w-100",children:[N.jsx("h3",{className:"card-title",children:n.type.toUpperCase()}),N.jsx("p",{className:"card-text",children:n.value}),N.jsxs("p",{className:"text-muted",children:["TOTP: ",n.totpConfirmed?"Yes":"No"]}),N.jsx(lV,{href:`../change-password/${n.uniqueId}`,children:N.jsx("button",{className:"btn btn-primary",children:e.changePassword.submit})})]},n.uniqueId))})},KV={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var kC={exports:{}},FC,zA;function YV(){if(zA)return FC;zA=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return FC=t,FC}var LC,VA;function QV(){if(VA)return LC;VA=1;var t=YV();function e(){}function n(){}return n.resetWarningCache=e,LC=function(){function r(u,c,d,h,g,y){if(y!==t){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:e};return o.PropTypes=o,o},LC}var GA;function JV(){return GA||(GA=1,kC.exports=QV()()),kC.exports}var Ue=JV();const Oe=wf(Ue);function XV(t,e,n){switch(n){case"Backspace":e>0&&(t=t.slice(0,e-1)+t.slice(e),e--);break;case"Delete":t=t.slice(0,e)+t.slice(e+1);break}return{value:t,caret:e}}function ZV(t,e,n){for(var r={},i="",o=0,u=0;uu&&(o=i.length))),u++}e===void 0&&(o=i.length);var d={value:i,caret:o};return d}function eG(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=tG(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 tG(t,e){if(t){if(typeof t=="string")return WA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WA(t,e)}}function WA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",i=t.length,o=nE("(",t),u=nE(")",t),c=o-u;c>0&&i=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 iG(t,e){if(t){if(typeof t=="string")return KA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KA(t,e)}}function KA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!t)return function(i){return{text:i}};var r=nE(e,t);return function(i){if(!i)return{text:"",template:t};for(var o=0,u="",c=rG(t.split("")),d;!(d=c()).done;){var h=d.value;if(h!==e){u+=h;continue}if(u+=i[o],o++,o===i.length&&i.length=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function bG(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function wG(t){var e=t.ref,n=t.parse,r=t.format,i=t.value,o=t.defaultValue,u=t.controlled,c=u===void 0?!0:u,d=t.onChange,h=t.onKeyDown,g=vG(t,gG),y=_.useRef(),b=_.useCallback(function($){y.current=$,e&&(typeof e=="function"?e($):e.current=$)},[e]),v=_.useCallback(function($){return hG($,y.current,n,r,d)},[y,n,r,d]),C=_.useCallback(function($){if(h&&h($),!$.defaultPrevented)return pG($,y.current,n,r,d)},[y,n,r,d,h]),E=Wm(Wm({},g),{},{ref:b,onChange:v,onKeyDown:C});return c?Wm(Wm({},E),{},{value:r(JA(i)?"":i).text}):Wm(Wm({},E),{},{defaultValue:r(JA(o)?"":o).text})}function JA(t){return t==null}var SG=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function XA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function CG(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function xG(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function nw(t,e){var n=t.inputComponent,r=n===void 0?"input":n,i=t.parse,o=t.format,u=t.value,c=t.defaultValue,d=t.onChange,h=t.controlled,g=t.onKeyDown,y=t.type,b=y===void 0?"text":y,v=EG(t,SG),C=wG(CG({ref:e,parse:i,format:o,value:u,defaultValue:c,onChange:d,controlled:h,onKeyDown:g,type:b},v));return Ae.createElement(r,C)}nw=Ae.forwardRef(nw);nw.propTypes={parse:Oe.func.isRequired,format:Oe.func.isRequired,inputComponent:Oe.elementType,type:Oe.string,value:Oe.string,defaultValue:Oe.string,onChange:Oe.func,controlled:Oe.bool,onKeyDown:Oe.func,onCut:Oe.func,onPaste:Oe.func};function ZA(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var o=Number(n[i]),u=Number(r[i]);if(o>u)return 1;if(u>o)return-1;if(!isNaN(o)&&isNaN(u))return 1;if(isNaN(o)&&!isNaN(u))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]o?"TOO_SHORT":i[i.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function kG(t,e,n){if(e===void 0&&(e={}),n=new kr(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return nI(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function nI(t,e){switch(Kw(t,e)){case"IS_POSSIBLE":return!0;default:return!1}}function pl(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function FG(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=LG(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 LG(t,e){if(t){if(typeof t=="string")return rR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rR(t,e)}}function rR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0}var Kx=2,qG=17,zG=3,ua="0-90-9٠-٩۰-۹",VG="-‐-―−ー-",GG="//",WG="..",KG="  ­​⁠ ",YG="()()[]\\[\\]",QG="~⁓∼~",Os="".concat(VG).concat(GG).concat(WG).concat(KG).concat(YG).concat(QG),Yw="++",JG=new RegExp("(["+ua+"])");function rI(t,e,n,r){if(e){var i=new kr(r);i.selectNumberingPlan(e,n);var o=new RegExp(i.IDDPrefix());if(t.search(o)===0){t=t.slice(t.match(o)[0].length);var u=t.match(JG);if(!(u&&u[1]!=null&&u[1].length>0&&u[1]==="0"))return t}}}function aE(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,o,u=r.length-1,c=u>0&&r[u];if(e.nationalPrefixTransformRule()&&c)i=t.replace(n,e.nationalPrefixTransformRule()),u>1&&(o=r[1]);else{var d=r[0];i=t.slice(d.length),c&&(o=r[1])}var h;if(c){var g=t.indexOf(r[1]),y=t.slice(0,g);y===e.numberingPlan.nationalPrefix()&&(h=e.numberingPlan.nationalPrefix())}else h=r[0];return{nationalNumber:i,nationalPrefix:h,carrierCode:o}}}return{nationalNumber:t}}function oE(t,e){var n=aE(t,e),r=n.carrierCode,i=n.nationalNumber;if(i!==t){if(!XG(t,i,e))return{nationalNumber:t};if(e.possibleLengths()&&!ZG(i,e))return{nationalNumber:t}}return{nationalNumber:i,carrierCode:r}}function XG(t,e,n){return!(pl(t,n.nationalNumberPattern())&&!pl(e,n.nationalNumberPattern()))}function ZG(t,e){switch(Kw(t,e)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function iI(t,e,n,r){var i=e?Rf(e,r):n;if(t.indexOf(i)===0){r=new kr(r),r.selectNumberingPlan(e,n);var o=t.slice(i.length),u=oE(o,r),c=u.nationalNumber,d=oE(t,r),h=d.nationalNumber;if(!pl(h,r.nationalNumberPattern())&&pl(c,r.nationalNumberPattern())||Kw(h,r)==="TOO_LONG")return{countryCallingCode:i,number:o}}return{number:t}}function Yx(t,e,n,r){if(!t)return{};var i;if(t[0]!=="+"){var o=rI(t,e,n,r);if(o&&o!==t)i=!0,t="+"+o;else{if(e||n){var u=iI(t,e,n,r),c=u.countryCallingCode,d=u.number;if(c)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:c,number:d}}return{number:t}}}if(t[1]==="0")return{};r=new kr(r);for(var h=2;h-1<=zG&&h<=t.length;){var g=t.slice(1,h);if(r.hasCallingCode(g))return r.selectNumberingPlan(g),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:g,number:t.slice(h)};h++}return{}}function aI(t){return t.replace(new RegExp("[".concat(Os,"]+"),"g")," ").trim()}var oI=/(\$\d)/;function sI(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var o=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(oI,e.nationalPrefixFormattingRule()):e.format());return r?aI(o):o}var eW=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function tW(t,e,n){var r=new kr(n);if(r.selectNumberingPlan(t,e),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(eW.test(r.IDDPrefix()))return r.IDDPrefix()}var nW=";ext=",Km=function(e){return"([".concat(ua,"]{1,").concat(e,"})")};function uI(t){var e="20",n="15",r="9",i="6",o="[  \\t,]*",u="[:\\..]?[  \\t,-]*",c="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",h="(?:[xx##~~]|int|int)",g="[- ]+",y="[  \\t]*",b="(?:,{2}|;)",v=nW+Km(e),C=o+d+u+Km(e)+c,E=o+h+u+Km(r)+c,$=g+Km(i)+"#",x=y+b+u+Km(n)+c,O=y+"(?:,)+"+u+Km(r)+c;return v+"|"+C+"|"+E+"|"+$+"|"+x+"|"+O}var rW="["+ua+"]{"+Kx+"}",iW="["+Yw+"]{0,1}(?:["+Os+"]*["+ua+"]){3,}["+Os+ua+"]*",aW=new RegExp("^["+Yw+"]{0,1}(?:["+Os+"]*["+ua+"]){1,2}$","i"),oW=iW+"(?:"+uI()+")?",sW=new RegExp("^"+rW+"$|^"+oW+"$","i");function uW(t){return t.length>=Kx&&sW.test(t)}function lW(t){return aW.test(t)}function cW(t){var e=t.number,n=t.ext;if(!e)return"";if(e[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}function fW(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=dW(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 dW(t,e){if(t){if(typeof t=="string")return iR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iR(t,e)}}function iR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0){var o=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(e.search(o)!==0)continue}if(pl(e,i.pattern()))return i}}function jC(t,e,n,r){return e?r(t,e,n):t}function gW(t,e,n,r,i){var o=Rf(r,i.metadata);if(o===n){var u=rw(t,e,"NATIONAL",i);return n==="1"?n+" "+u:u}var c=tW(r,void 0,i.metadata);if(c)return"".concat(c," ").concat(n," ").concat(rw(t,null,"INTERNATIONAL",i))}function uR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function lR(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function AW(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function T0(t,e){return T0=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},T0(t,e)}function O0(t){return O0=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},O0(t)}var cl=(function(t){TW(n,t);var e=OW(n);function n(r){var i;return xW(this,n),i=e.call(this,r),Object.setPrototypeOf(cI(i),n.prototype),i.name=i.constructor.name,i}return EW(n)})(uE(Error)),cR=new RegExp("(?:"+uI()+")$","i");function RW(t){var e=t.search(cR);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(cR),i=1;i=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 IW(t,e){if(t){if(typeof t=="string")return fR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fR(t,e)}}function fR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 DW(t,e){if(t){if(typeof t=="string")return dR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dR(t,e)}}function dR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 FW(t,e){if(t){if(typeof t=="string")return hR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hR(t,e)}}function hR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}function KW(t){return t===null?!0:t.length===0?!1:jW.test(t)||VW.test(t)}function YW(t,e){var n=e.extractFormattedPhoneNumber,r=WW(t);if(!KW(r))throw new cl("NOT_A_NUMBER");var i;if(r===null)i=n(t)||"";else{i="",r.charAt(0)===gI&&(i+=r);var o=t.indexOf(mR),u;o>=0?u=o+mR.length:u=0;var c=t.indexOf(fE);i+=t.substring(u,c)}var d=i.indexOf(GW);if(d>0&&(i=i.substring(0,d)),i!=="")return i}var QW=250,JW=new RegExp("["+Yw+ua+"]"),XW=new RegExp("[^"+ua+"#]+$");function ZW(t,e,n){if(e=e||{},n=new kr(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry))throw e.v2?new cl("INVALID_COUNTRY"):new Error("Unknown country: ".concat(e.defaultCountry));var r=tK(t,e.v2,e.extract),i=r.number,o=r.ext,u=r.error;if(!i){if(e.v2)throw u==="TOO_SHORT"?new cl("TOO_SHORT"):new cl("NOT_A_NUMBER");return{}}var c=rK(i,e.defaultCountry,e.defaultCallingCode,n),d=c.country,h=c.nationalNumber,g=c.countryCallingCode,y=c.countryCallingCodeSource,b=c.carrierCode;if(!n.hasSelectedNumberingPlan()){if(e.v2)throw new cl("INVALID_COUNTRY");return{}}if(!h||h.lengthqG){if(e.v2)throw new cl("TOO_LONG");return{}}if(e.v2){var v=new lI(g,h,n.metadata);return d&&(v.country=d),b&&(v.carrierCode=b),o&&(v.ext=o),v.__countryCallingCodeSource=y,v}var C=(e.extended?n.hasSelectedNumberingPlan():d)?pl(h,n.nationalNumberPattern()):!1;return e.extended?{country:d,countryCallingCode:g,carrierCode:b,valid:C,possible:C?!0:!!(e.extended===!0&&n.possibleLengths()&&nI(h,n)),phone:h,ext:o}:C?nK(d,h,o):{}}function eK(t,e,n){if(t){if(t.length>QW){if(n)throw new cl("TOO_LONG");return}if(e===!1)return t;var r=t.search(JW);if(!(r<0))return t.slice(r).replace(XW,"")}}function tK(t,e,n){var r=YW(t,{extractFormattedPhoneNumber:function(u){return eK(u,n,e)}});if(!r)return{};if(!uW(r))return lW(r)?{error:"TOO_SHORT"}:{};var i=RW(r);return i.ext?i:{number:r}}function nK(t,e,n){var r={country:t,phone:e};return n&&(r.ext=n),r}function rK(t,e,n,r){var i=Yx(lE(t),e,n,r.metadata),o=i.countryCallingCodeSource,u=i.countryCallingCode,c=i.number,d;if(u)r.selectNumberingPlan(u);else if(c&&(e||n))r.selectNumberingPlan(e,n),e&&(d=e),u=n||Rf(e,r.metadata);else return{};if(!c)return{countryCallingCodeSource:o,countryCallingCode:u};var h=oE(lE(c),r),g=h.nationalNumber,y=h.carrierCode,b=mI(u,{nationalNumber:g,defaultCountry:e,metadata:r});return b&&(d=b,b==="001"||r.country(d)),{country:d,countryCallingCode:u,countryCallingCodeSource:o,nationalNumber:g,carrierCode:y}}function gR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function yR(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 CK(t,e){if(t){if(typeof t=="string")return CR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CR(t,e)}}function CR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1;)e&1&&(n+=t),e>>=1,t+=t;return n+t}function $R(t,e){return t[e]===")"&&e++,$K(t.slice(0,e))}function $K(t){for(var e=[],n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 kK(t,e){if(t){if(typeof t=="string")return TR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TR(t,e)}}function TR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:{},i=r.allowOverflow;if(!n)throw new Error("String is required");var o=dE(n.split(""),this.matchTree,!0);if(o&&o.match&&delete o.matchedChars,!(o&&o.overflow&&!i))return o}}]),t})();function dE(t,e,n){if(typeof e=="string"){var r=t.join("");return e.indexOf(r)===0?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:r.indexOf(e)===0?n&&t.length>e.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var i=t.slice(),o=0;o=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 BK(t,e){if(t){if(typeof t=="string")return _R(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _R(t,e)}}function _R(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)){var i=this.getTemplateForFormat(n,r);if(i)return this.setNationalNumberTemplate(i,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&WK.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var i=n.IDDPrefix,o=n.missingPlus;return i?r&&r.spacing===!1?i:i+" ":o?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,i=0,o=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";ih.length)){var g=new RegExp("^"+d+"$"),y=i.replace(/\d/g,hE);g.test(y)&&(h=y);var b=this.getFormatFormat(n,o),v;if(this.shouldTryNationalPrefixFormattingRule(n,{international:o,nationalPrefix:u})){var C=b.replace(oI,n.nationalPrefixFormattingRule());if(iw(n.nationalPrefixFormattingRule())===(u||"")+iw("$1")&&(b=C,v=!0,u))for(var E=u.length;E>0;)b=b.replace(/\d/,$s),E--}var $=h.replace(new RegExp(d),b).replace(new RegExp(hE,"g"),$s);return v||(c?$=N2($s,c.length)+" "+$:u&&($=N2($s,u.length)+this.getSeparatorAfterNationalPrefix(n)+$)),o&&($=aI($)),$}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=EK(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],$R(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var i=r.international,o=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var u=n.usesNationalPrefix();if(u&&o||!u&&!i)return!0}}}]),t})();function yI(t,e){return tY(t)||eY(t,e)||ZK(t,e)||XK()}function XK(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZK(t,e){if(t){if(typeof t=="string")return RR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return RR(t,e)}}function RR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=3;if(r.appendDigits(n),o&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(u){return r.update(u)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,i=n.callingCode;return r&&!i}},{key:"extractCountryCallingCode",value:function(n){var r=Yx("+"+n.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode,o=r.number;if(i)return n.setCallingCode(i),n.update({nationalSignificantNumber:o}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&lY.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var i=aE(n,this.metadata),o=i.nationalPrefix,u=i.nationalNumber,c=i.carrierCode;if(u!==n)return this.onExtractedNationalNumber(o,c,u,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,i){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,i);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var o=aE(n,this.metadata),u=o.nationalPrefix,c=o.nationalNumber,d=o.carrierCode;if(c!==r)return this.onExtractedNationalNumber(u,d,c,n,i),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,i,o,u){var c,d,h=o.lastIndexOf(i);if(h>=0&&h===o.length-i.length){d=!0;var g=o.slice(0,h);g!==n&&(c=g)}u({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:i,nationalSignificantNumberMatchesInput:d,complexPrefixBeforeNationalSignificantNumber:c}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(n){if(this.extractAnotherNationalSignificantNumber(n.getNationalDigits(),n.nationalSignificantNumber,function(r){return n.update(r)}))return!0;if(this.extractIddPrefix(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0;if(this.fixMissingPlus(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0}},{key:"extractIddPrefix",value:function(n){var r=n.international,i=n.IDDPrefix,o=n.digits;if(n.nationalSignificantNumber,!(r||i)){var u=rI(o,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(u!==void 0&&u!==o)return n.update({IDDPrefix:o.slice(0,o.length-u.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=iI(n.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode;if(r.number,i)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:i}),!0}}},{key:"startInternationalNumber",value:function(n,r){var i=r.country,o=r.callingCode;n.startInternationalNumber(i,o),n.nationalSignificantNumber&&(n.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(n){this.extractCountryCallingCode(n)&&this.extractNationalSignificantNumber(n.getNationalDigits(),function(r){return n.update(r)})}}]),t})();function fY(t){var e=t.search(sY);if(!(e<0)){t=t.slice(e);var n;return t[0]==="+"&&(n=!0,t=t.slice(1)),t=t.replace(uY,""),n&&(t="+"+t),t}}function dY(t){var e=fY(t)||"";return e[0]==="+"?[e.slice(1),!0]:[e]}function hY(t){var e=dY(t),n=yI(e,2),r=n[0],i=n[1];return oY.test(r)||(r=""),[r,i]}function pY(t,e){return vY(t)||yY(t,e)||gY(t,e)||mY()}function mY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gY(t,e){if(t){if(typeof t=="string")return PR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return PR(t,e)}}function PR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(mI(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,i=n.callingCode,o=n.country,u=n.nationalSignificantNumber;if(r){if(this.isInternational())return i?"+"+i+u:"+"+r;if(o||i){var c=o?this.metadata.countryCallingCode():i;return"+"+c+u}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,i=n.carrierCode,o=n.callingCode,u=this._getCountry();if(r&&!(!u&&!o)){if(u&&u===this.defaultCountry){var c=new kr(this.metadata.metadata);c.selectNumberingPlan(u);var d=c.numberingPlan.callingCode(),h=this.metadata.getCountryCodesForCallingCode(d);if(h.length>1){var g=pI(r,{countries:h,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});g&&(u=g)}}var y=new lI(u||o,r,this.metadata.metadata);return i&&(y.carrierCode=i),y}}},{key:"isPossible",value:function(){var n=this.getNumber();return n?n.isPossible():!1}},{key:"isValid",value:function(){var n=this.getNumber();return n?n.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),t})();function IR(t){return new kr(t).getCountries()}function CY(t,e,n){return n||(n=e,e=void 0),new Ag(e,n).input(t)}function vI(t){var e=t.inputFormat,n=t.country,r=t.metadata;return e==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(Rf(n,r)):""}function pE(t,e){return e&&(t=t.slice(e.length),t[0]===" "&&(t=t.slice(1))),t}function $Y(t,e,n){if(!(n&&n.ignoreRest)){var r=function(o){if(n)switch(o){case"end":n.ignoreRest=!0;break}};return hI(t,e,r)}}function bI(t){var e=t.onKeyDown,n=t.inputFormat;return _.useCallback(function(r){if(r.keyCode===xY&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&EY(r.target)===TY.length){r.preventDefault();return}e&&e(r)},[e,n])}function EY(t){return t.selectionStart}var xY=8,TY="+",OY=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function mE(){return mE=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function AY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function RY(t){function e(n,r){var i=n.onKeyDown,o=n.country,u=n.inputFormat,c=n.metadata,d=c===void 0?t:c;n.international,n.withCountryCallingCode;var h=_Y(n,OY),g=_.useCallback(function(b){var v=new Ag(o,d),C=vI({inputFormat:u,country:o,metadata:d}),E=v.input(C+b),$=v.getTemplate();return C&&(E=pE(E,C),$&&($=pE($,C))),{text:E,template:$}},[o,d]),y=bI({onKeyDown:i,inputFormat:u});return Ae.createElement(nw,mE({},h,{ref:r,parse:$Y,format:g,onKeyDown:y}))}return e=Ae.forwardRef(e),e.propTypes={value:Oe.string.isRequired,onChange:Oe.func.isRequired,onKeyDown:Oe.func,country:Oe.string,inputFormat:Oe.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Oe.object},e}const PY=RY();var IY=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function gE(){return gE=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function MY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function DY(t){function e(n,r){var i=n.value,o=n.onChange,u=n.onKeyDown,c=n.country,d=n.inputFormat,h=n.metadata,g=h===void 0?t:h,y=n.inputComponent,b=y===void 0?"input":y;n.international,n.withCountryCallingCode;var v=NY(n,IY),C=vI({inputFormat:d,country:c,metadata:g}),E=_.useCallback(function(x){var O=lE(x.target.value);if(O===i){var R=NR(C,O,c,g);R.indexOf(x.target.value)===0&&(O=O.slice(0,-1))}o(O)},[C,i,o,c,g]),$=bI({onKeyDown:u,inputFormat:d});return Ae.createElement(b,gE({},v,{ref:r,value:NR(C,i,c,g),onChange:E,onKeyDown:$}))}return e=Ae.forwardRef(e),e.propTypes={value:Oe.string.isRequired,onChange:Oe.func.isRequired,onKeyDown:Oe.func,country:Oe.string,inputFormat:Oe.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:Oe.object,inputComponent:Oe.elementType},e}const kY=DY();function NR(t,e,n,r){return pE(CY(t+e,n,r),t)}function FY(t){return MR(t[0])+MR(t[1])}function MR(t){return String.fromCodePoint(127397+t.toUpperCase().charCodeAt(0))}var LY=["value","onChange","options","disabled","readOnly"],UY=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function jY(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=BY(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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(t,e){if(t){if(typeof t=="string")return DR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DR(t,e)}}function DR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function HY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function SI(t){var e=t.value,n=t.onChange,r=t.options,i=t.disabled,o=t.readOnly,u=wI(t,LY),c=_.useCallback(function(d){var h=d.target.value;n(h==="ZZ"?void 0:h)},[n]);return _.useMemo(function(){return $I(r,e)},[r,e]),Ae.createElement("select",aw({},u,{disabled:i||o,readOnly:o,value:e||"ZZ",onChange:c}),r.map(function(d){var h=d.value,g=d.label,y=d.divider;return Ae.createElement("option",{key:y?"|":h||"ZZ",value:y?"|":h||"ZZ",disabled:!!y,style:y?qY:void 0},g)}))}SI.propTypes={value:Oe.string,onChange:Oe.func.isRequired,options:Oe.arrayOf(Oe.shape({value:Oe.string,label:Oe.string,divider:Oe.bool})).isRequired,disabled:Oe.bool,readOnly:Oe.bool};var qY={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function CI(t){var e=t.value,n=t.options,r=t.className,i=t.iconComponent;t.getIconAspectRatio;var o=t.arrowComponent,u=o===void 0?zY:o,c=t.unicodeFlags,d=wI(t,UY),h=_.useMemo(function(){return $I(n,e)},[n,e]);return Ae.createElement("div",{className:"PhoneInputCountry"},Ae.createElement(SI,aw({},d,{value:e,options:n,className:ko("PhoneInputCountrySelect",r)})),h&&(c&&e?Ae.createElement("div",{className:"PhoneInputCountryIconUnicode"},FY(e)):Ae.createElement(i,{"aria-hidden":!0,country:e,label:h.label,aspectRatio:c?1:void 0})),Ae.createElement(u,null))}CI.propTypes={iconComponent:Oe.elementType,arrowComponent:Oe.elementType,unicodeFlags:Oe.bool};function zY(){return Ae.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function $I(t,e){for(var n=jY(t),r;!(r=n()).done;){var i=r.value;if(!i.divider&&VY(i.value,e))return i}}function VY(t,e){return t==null?e==null:t===e}var GY=["country","countryName","flags","flagUrl"];function yE(){return yE=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function KY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Qx(t){var e=t.country,n=t.countryName,r=t.flags,i=t.flagUrl,o=WY(t,GY);return r&&r[e]?r[e]({title:n}):Ae.createElement("img",yE({},o,{alt:n,role:n?void 0:"presentation",src:i.replace("{XX}",e).replace("{xx}",e.toLowerCase())}))}Qx.propTypes={country:Oe.string.isRequired,countryName:Oe.string.isRequired,flags:Oe.objectOf(Oe.elementType),flagUrl:Oe.string.isRequired};var YY=["aspectRatio"],QY=["title"],JY=["title"];function ow(){return ow=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function XY(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Qw(t){var e=t.aspectRatio,n=Jx(t,YY);return e===1?Ae.createElement(xI,n):Ae.createElement(EI,n)}Qw.propTypes={title:Oe.string.isRequired,aspectRatio:Oe.number};function EI(t){var e=t.title,n=Jx(t,QY);return Ae.createElement("svg",ow({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),Ae.createElement("title",null,e),Ae.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},Ae.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),Ae.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),Ae.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),Ae.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),Ae.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),Ae.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),Ae.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}EI.propTypes={title:Oe.string.isRequired};function xI(t){var e=t.title,n=Jx(t,JY);return Ae.createElement("svg",ow({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),Ae.createElement("title",null,e),Ae.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},Ae.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),Ae.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),Ae.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),Ae.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),Ae.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),Ae.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),Ae.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}xI.propTypes={title:Oe.string.isRequired};function ZY(t){if(t.length<2||t[0]!=="+")return!1;for(var e=1;e=48&&n<=57))return!1;e++}return!0}function TI(t){ZY(t)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",t)}function eQ(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=tQ(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 tQ(t,e){if(t){if(typeof t=="string")return kR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kR(t,e)}}function kR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0))return t}function Jw(t,e){return eI(t,e)?!0:(console.error("Country not found: ".concat(t)),!1)}function OI(t,e){return t&&(t=t.filter(function(n){return Jw(n,e)}),t.length===0&&(t=void 0)),t}var iQ=["country","label","aspectRatio"];function vE(){return vE=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function oQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function _I(t){var e=t.flags,n=t.flagUrl,r=t.flagComponent,i=t.internationalIcon;function o(u){var c=u.country,d=u.label,h=u.aspectRatio,g=aQ(u,iQ),y=i===Qw?h:void 0;return Ae.createElement("div",vE({},g,{className:ko("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":y===1,"PhoneInputCountryIcon--border":c})}),c?Ae.createElement(r,{country:c,countryName:d,flags:e,flagUrl:n,className:"PhoneInputCountryIconImg"}):Ae.createElement(i,{title:d,aspectRatio:y,className:"PhoneInputCountryIconImg"}))}return o.propTypes={country:Oe.string,label:Oe.string.isRequired,aspectRatio:Oe.number},o}_I({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:Qx,internationalIcon:Qw});function sQ(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=uQ(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 uQ(t,e){if(t){if(typeof t=="string")return FR(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return FR(t,e)}}function FR(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(d=i()),d}function dQ(t){var e=t.countries,n=t.countryNames,r=t.addInternationalOption,i=t.compareStringsLocales,o=t.compareStrings;o||(o=bQ);var u=e.map(function(c){return{value:c,label:n[c]||c}});return u.sort(function(c,d){return o(c.label,d.label,i)}),r&&u.unshift({label:n.ZZ}),u}function PI(t,e){return gK(t||"",e)}function hQ(t){return t.formatNational().replace(/\D/g,"")}function pQ(t,e){var n=e.prevCountry,r=e.newCountry,i=e.metadata,o=e.useNationalFormat;if(n===r)return t;if(!t)return o?"":r?dl(r,i):"";if(r){if(t[0]==="+"){if(o)return t.indexOf("+"+Rf(r,i))===0?wQ(t,r,i):"";if(n){var u=dl(r,i);return t.indexOf(u)===0?t:u}else{var c=dl(r,i);return t.indexOf(c)===0?t:c}}}else if(t[0]!=="+")return Zm(t,n,i)||"";return t}function Zm(t,e,n){if(t){if(t[0]==="+"){if(t==="+")return;var r=new Ag(e,n);return r.input(t),r.getNumberValue()}if(e){var i=NI(t,e,n);return"+".concat(Rf(e,n)).concat(i||"")}}}function mQ(t,e,n){var r=NI(t,e,n);if(r){var i=r.length-gQ(e,n);if(i>0)return t.slice(0,t.length-i)}return t}function gQ(t,e){return e=new kr(e),e.selectNumberingPlan(t),e.numberingPlan.possibleLengths()[e.numberingPlan.possibleLengths().length-1]}function II(t,e){var n=e.country,r=e.countries,i=e.defaultCountry,o=e.latestCountrySelectedByUser,u=e.required,c=e.metadata;if(t==="+")return n;var d=vQ(t,c);if(d)return!r||r.indexOf(d)>=0?d:void 0;if(n){if(fg(t,n,c)){if(o&&fg(t,o,c))return o;if(i&&fg(t,i,c))return i;if(!u)return}else if(!u)return}return n}function yQ(t,e){var n=e.prevPhoneDigits,r=e.country,i=e.defaultCountry,o=e.latestCountrySelectedByUser,u=e.countryRequired,c=e.getAnyCountry,d=e.countries,h=e.international,g=e.limitMaxLength,y=e.countryCallingCodeEditable,b=e.metadata;if(h&&y===!1&&r){var v=dl(r,b);if(t.indexOf(v)!==0){var C,E=t&&t[0]!=="+";return E?(t=v+t,C=Zm(t,r,b)):t=v,{phoneDigits:t,value:C,country:r}}}h===!1&&r&&t&&t[0]==="+"&&(t=LR(t,r,b)),t&&r&&g&&(t=mQ(t,r,b)),t&&t[0]!=="+"&&(!r||h)&&(t="+"+t),!t&&n&&n[0]==="+"&&(h?r=void 0:r=i),t==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var $;return t&&(t[0]==="+"&&(t==="+"||r&&dl(r,b).indexOf(t)===0)?$=void 0:$=Zm(t,r,b)),$&&(r=II($,{country:r,countries:d,defaultCountry:i,latestCountrySelectedByUser:o,required:!1,metadata:b}),h===!1&&r&&t&&t[0]==="+"&&(t=LR(t,r,b),$=Zm(t,r,b))),!r&&u&&(r=i||c()),{phoneDigits:t,country:r,value:$}}function LR(t,e,n){if(t.indexOf(dl(e,n))===0){var r=new Ag(e,n);r.input(t);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}else return t.replace(/\D/g,"")}function vQ(t,e){var n=new Ag(null,e);return n.input(t),n.getCountry()}function bQ(t,e,n){return String.prototype.localeCompare?t.localeCompare(e,n):te?1:0}function wQ(t,e,n){if(e){var r="+"+Rf(e,n);if(t.length=0)&&(L=P.country):(L=II(u,{country:void 0,countries:F,metadata:r}),L||o&&u.indexOf(dl(o,r))===0&&(L=o))}var H;if(u){if($){var Y=L?$===L:fg(u,$,r);Y?L||(L=$):H={latestCountrySelectedByUser:void 0}}}else H={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return u2(u2({},H),{},{phoneDigits:x({phoneNumber:P,value:u,defaultCountry:o}),value:u,country:u?L:o})}}function jR(t,e){return t===null&&(t=void 0),e===null&&(e=void 0),t===e}var xQ=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function yg(t){"@babel/helpers - typeof";return yg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yg(t)}function BR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function DI(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function OQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function _Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HR(t,e){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function BQ(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function UI(t){var e=Ae.forwardRef(function(n,r){var i=n.metadata,o=i===void 0?t:i,u=n.labels,c=u===void 0?LQ:u,d=jQ(n,UQ);return Ae.createElement(LI,wE({},d,{ref:r,metadata:o,labels:c}))});return e.propTypes={metadata:AI,labels:RI},e}UI();const HQ=UI(KV),Mo=t=>{const{region:e}=Ci(),{label:n,getInputRef:r,secureTextEntry:i,Icon:o,onChange:u,value:c,children:d,errorMessage:h,type:g,focused:y=!1,autoFocus:b,...v}=t,[C,E]=_.useState(!1),$=_.useRef(),x=_.useCallback(()=>{var D;(D=$.current)==null||D.focus()},[$.current]);let O=c===void 0?"":c;g==="number"&&(O=+c);const R=D=>{u&&u(g==="number"?+D.target.value:D.target.value)};return N.jsxs(qw,{focused:C,onClick:x,...t,children:[t.type==="phonenumber"?N.jsx(HQ,{country:e,autoFocus:b,value:O,onChange:D=>u&&u(D)}):N.jsx("input",{...v,ref:$,value:O,autoFocus:b,className:ko("form-control",t.errorMessage&&"is-invalid",t.validMessage&&"is-valid"),type:g||"text",onChange:R,onBlur:()=>E(!1),onFocus:()=>E(!0)}),d]})};function qQ(t){let{queryClient:e,query:n,execFnOverride:r}={};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/passport/change-password".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("string",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}class SE extends Uw{constructor(...e){super(...e),this.password2=void 0}}SE.Fields={...Uw.Fields,password2:"password2"};const zQ=()=>{const t=Wn($r),{goBack:e,state:n,replace:r,push:i,query:o}=Lr(),{submit:u,mutation:c}=qQ(),d=o==null?void 0:o.uniqueId,h=()=>{u(g.values).then(y=>{e()})},g=$l({initialValues:{},onSubmit:h});return _.useEffect(()=>{!d||!g||g.setFieldValue(Uw.Fields.uniqueId,d)},[d]),{mutation:c,form:g,submit:h,goBack:e,s:t}},VQ=({})=>{const{mutation:t,form:e,s:n}=zQ();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:n.changePassword.title}),N.jsx("p",{children:n.changePassword.description}),N.jsx(jo,{query:t}),N.jsx(GQ,{form:e,mutation:t})]})},GQ=({form:t,mutation:e})=>{const n=Wn($r),{password2:r,password:i}=t.values,o=i!==r||((i==null?void 0:i.length)||0)<6;return N.jsxs("form",{onSubmit:u=>{u.preventDefault(),t.submitForm()},children:[N.jsx(Mo,{type:"password",value:t.values.password,label:n.changePassword.pass1Label,id:"password-input",errorMessage:t.errors.password,onChange:u=>t.setFieldValue(SE.Fields.password,u,!1)}),N.jsx(Mo,{type:"password",value:t.values.password2,label:n.changePassword.pass2Label,id:"password-input-2",errorMessage:t.errors.password,onChange:u=>t.setFieldValue(SE.Fields.password2,u,!1)}),N.jsx(Af,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:o,children:n.continue})]})};function WQ(t={}){const{nonce:e,onScriptLoadSuccess:n,onScriptLoadError:r}=t,[i,o]=_.useState(!1),u=_.useRef(n);u.current=n;const c=_.useRef(r);return c.current=r,_.useEffect(()=>{const d=document.createElement("script");return d.src="https://accounts.google.com/gsi/client",d.async=!0,d.defer=!0,d.nonce=e,d.onload=()=>{var h;o(!0),(h=u.current)===null||h===void 0||h.call(u)},d.onerror=()=>{var h;o(!1),(h=c.current)===null||h===void 0||h.call(c)},document.body.appendChild(d),()=>{document.body.removeChild(d)}},[e]),i}const jI=_.createContext(null);function KQ({clientId:t,nonce:e,onScriptLoadSuccess:n,onScriptLoadError:r,children:i}){const o=WQ({nonce:e,onScriptLoadSuccess:n,onScriptLoadError:r}),u=_.useMemo(()=>({clientId:t,scriptLoadedSuccessfully:o}),[t,o]);return Ae.createElement(jI.Provider,{value:u},i)}function YQ(){const t=_.useContext(jI);if(!t)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return t}function QQ({flow:t="implicit",scope:e="",onSuccess:n,onError:r,onNonOAuthError:i,overrideScope:o,state:u,...c}){const{clientId:d,scriptLoadedSuccessfully:h}=YQ(),g=_.useRef(),y=_.useRef(n);y.current=n;const b=_.useRef(r);b.current=r;const v=_.useRef(i);v.current=i,_.useEffect(()=>{var $,x;if(!h)return;const O=t==="implicit"?"initTokenClient":"initCodeClient",R=(x=($=window==null?void 0:window.google)===null||$===void 0?void 0:$.accounts)===null||x===void 0?void 0:x.oauth2[O]({client_id:d,scope:o?e:`openid profile email ${e}`,callback:D=>{var P,L;if(D.error)return(P=b.current)===null||P===void 0?void 0:P.call(b,D);(L=y.current)===null||L===void 0||L.call(y,D)},error_callback:D=>{var P;(P=v.current)===null||P===void 0||P.call(v,D)},state:u,...c});g.current=R},[d,h,t,e,u]);const C=_.useCallback($=>{var x;return(x=g.current)===null||x===void 0?void 0:x.requestAccessToken($)},[]),E=_.useCallback(()=>{var $;return($=g.current)===null||$===void 0?void 0:$.requestCode()},[]);return t==="implicit"?C:E}const BI=()=>N.jsxs("div",{className:"loader",id:"loader-4",children:[N.jsx("span",{}),N.jsx("span",{}),N.jsx("span",{})]});function JQ(){if(typeof window>"u")return"mac";let t=window==null?void 0:window.navigator.userAgent,e=window==null?void 0:window.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],r=["Win32","Win64","Windows","WinCE"],i=["iPhone","iPad","iPod"],o="mac";return n.indexOf(e)!==-1?o="mac":i.indexOf(e)!==-1?o="ios":r.indexOf(e)!==-1?o="windows":/Android/.test(t)?o="android":!o&&/Linux/.test(e)?o="linux":o="web",o}const Je=JQ(),Fe={edit:{default:"ios-theme/icons/edit.svg"},add:{default:"ios-theme/icons/add.svg"},cancel:{default:"ios-theme/icons/cancel.svg"},delete:{default:"ios-theme/icons/delete.svg"},entity:{default:"ios-theme/icons/entity.svg"},left:{default:"ios-theme/icons/left.svg"},menu:{default:"ios-theme/icons/menu.svg"},backup:{default:"ios-theme/icons/backup.svg"},right:{default:"ios-theme/icons/right.svg"},settings:{default:"ios-theme/icons/settings.svg"},user:{default:"ios-theme/icons/user.svg"},export:{default:"ios-theme/icons/export.svg"},up:{default:"ios-theme/icons/up.svg"},dataNode:{default:"ios-theme/icons/dnode.svg"},ctrlSheet:{default:"ios-theme/icons/ctrlsheet.svg"},gpiomode:{default:"ios-theme/icons/gpiomode.svg"},gpiostate:{default:"ios-theme/icons/gpiostate.svg"},down:{default:"ios-theme/icons/down.svg"},turnoff:{default:"ios-theme/icons/turnoff.svg"},mqtt:{default:"ios-theme/icons/mqtt.svg"},cart:{default:"ios-theme/icons/cart.svg"},questionBank:{default:"ios-theme/icons/questions.svg"},dashboard:{default:"ios-theme/icons/dashboard.svg"},country:{default:"ios-theme/icons/country.svg"},order:{default:"ios-theme/icons/order.svg"},province:{default:"ios-theme/icons/province.svg"},city:{default:"ios-theme/icons/city.svg"},about:{default:"ios-theme/icons/about.svg"},sms:{default:"ios-theme/icons/sms.svg"},product:{default:"ios-theme/icons/product.svg"},discount:{default:"ios-theme/icons/discount.svg"},tag:{default:"ios-theme/icons/tag.svg"},category:{default:"ios-theme/icons/category.svg"},brand:{default:"ios-theme/icons/brand.svg"},form:{default:"ios-theme/icons/form.svg"}},Rg={dashboard:Fe.dashboard[Je]?Fe.dashboard[Je]:Fe.dashboard.default,up:Fe.up[Je]?Fe.up[Je]:Fe.up.default,questionBank:Fe.questionBank[Je]?Fe.questionBank[Je]:Fe.questionBank.default,down:Fe.down[Je]?Fe.down[Je]:Fe.down.default,edit:Fe.edit[Je]?Fe.edit[Je]:Fe.edit.default,add:Fe.add[Je]?Fe.add[Je]:Fe.add.default,cancel:Fe.cancel[Je]?Fe.cancel[Je]:Fe.cancel.default,delete:Fe.delete[Je]?Fe.delete[Je]:Fe.delete.default,discount:Fe.discount[Je]?Fe.discount[Je]:Fe.discount.default,cart:Fe.cart[Je]?Fe.cart[Je]:Fe.cart.default,entity:Fe.entity[Je]?Fe.entity[Je]:Fe.entity.default,sms:Fe.sms[Je]?Fe.sms[Je]:Fe.sms.default,left:Fe.left[Je]?Fe.left[Je]:Fe.left.default,brand:Fe.brand[Je]?Fe.brand[Je]:Fe.brand.default,menu:Fe.menu[Je]?Fe.menu[Je]:Fe.menu.default,right:Fe.right[Je]?Fe.right[Je]:Fe.right.default,settings:Fe.settings[Je]?Fe.settings[Je]:Fe.settings.default,dataNode:Fe.dataNode[Je]?Fe.dataNode[Je]:Fe.dataNode.default,user:Fe.user[Je]?Fe.user[Je]:Fe.user.default,city:Fe.city[Je]?Fe.city[Je]:Fe.city.default,province:Fe.province[Je]?Fe.province[Je]:Fe.province.default,about:Fe.about[Je]?Fe.about[Je]:Fe.about.default,turnoff:Fe.turnoff[Je]?Fe.turnoff[Je]:Fe.turnoff.default,ctrlSheet:Fe.ctrlSheet[Je]?Fe.ctrlSheet[Je]:Fe.ctrlSheet.default,country:Fe.country[Je]?Fe.country[Je]:Fe.country.default,export:Fe.export[Je]?Fe.export[Je]:Fe.export.default,gpio:Fe.ctrlSheet[Je]?Fe.ctrlSheet[Je]:Fe.ctrlSheet.default,order:Fe.order[Je]?Fe.order[Je]:Fe.order.default,mqtt:Fe.mqtt[Je]?Fe.mqtt[Je]:Fe.mqtt.default,tag:Fe.tag[Je]?Fe.tag[Je]:Fe.tag.default,product:Fe.product[Je]?Fe.product[Je]:Fe.product.default,category:Fe.category[Je]?Fe.category[Je]:Fe.category.default,form:Fe.form[Je]?Fe.form[Je]:Fe.form.default,gpiomode:Fe.gpiomode[Je]?Fe.gpiomode[Je]:Fe.gpiomode.default,backup:Fe.backup[Je]?Fe.backup[Je]:Fe.backup.default,gpiostate:Fe.gpiostate[Je]?Fe.gpiostate[Je]:Fe.gpiostate.default};function Xx(t){const e=wi.PUBLIC_URL;return t.startsWith("$")?e+Rg[t.substr(1)]:t.startsWith(e)?t:e+t}function XQ(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/passport/via-oauth".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("*abac.OauthAuthenticateActionResDto",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}var Qa=(t=>(t.Email="email",t.Phone="phone",t.Google="google",t.Facebook="facebook",t))(Qa||{});const X0=()=>{const{setSession:t,selectUrw:e,selectedUrw:n}=_.useContext(en),{locale:r}=Ci(),{replace:i}=Lr();return{onComplete:u=>{var y,b;t(u.data.item.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(u.data));const d=new URLSearchParams(window.location.search).get("redirect"),h=sessionStorage.getItem("redirect_temporary");if(!((b=(y=u.data)==null?void 0:y.item.session)==null?void 0:b.token)){alert("Authentication has failed.");return}if(sessionStorage.removeItem("redirect_temporary"),sessionStorage.removeItem("workspace_type_id"),h)window.location.href=h;else if(d){const v=new URL(d);v.searchParams.set("session",JSON.stringify(u.data.item.session)),window.location.href=v.toString()}else{const v="/{locale}/dashboard".replace("{locale}",r||"en");i(v,v)}}}},ZQ=t=>{_.useEffect(()=>{const e=new URLSearchParams(window.location.search),n=window.location.hash.indexOf("?"),r=n!==-1?new URLSearchParams(window.location.hash.slice(n)):new URLSearchParams;t.forEach(i=>{const o=e.get(i)||r.get(i);o&&sessionStorage.setItem(i,o)})},[t.join(",")])},eJ=({continueWithResult:t,facebookAppId:e})=>{Wn($r),_.useEffect(()=>{if(window.FB)return;const r=document.createElement("script");r.src="https://connect.facebook.net/en_US/sdk.js",r.async=!0,r.onload=()=>{window.FB.init({appId:e,cookie:!0,xfbml:!1,version:"v19.0"})},document.body.appendChild(r)},[]);const n=()=>{const r=window.FB;if(!r){alert("Facebook SDK not loaded");return}r.login(i=>{var o;console.log("Facebook:",i),(o=i.authResponse)!=null&&o.accessToken?t(i.authResponse.accessToken):alert("Facebook login failed")},{scope:"email,public_profile"})};return N.jsxs("button",{id:"using-facebook",type:"button",onClick:n,children:[N.jsx("img",{className:"button-icon",src:Xx("/common/facebook.png")}),"Facebook"]})},tJ=()=>{var g,y;const t=vn(),{locale:e}=Ci(),{push:n}=Lr(),r=_.useRef(),i=k9({});ZQ(["redirect_temporary","workspace_type_id"]);const[o,u]=_.useState(void 0),c=o?Object.values(o).filter(Boolean).length:void 0,d=(y=(g=i.data)==null?void 0:g.data)==null?void 0:y.item,h=(b,v=!0)=>{switch(b){case Qa.Email:n(`/${e}/selfservice/email`,void 0,{canGoBack:v});break;case Qa.Phone:n(`/${e}/selfservice/phone`,void 0,{canGoBack:v});break}};return _.useEffect(()=>{if(!d)return;const b={email:d.email,google:d.google,facebook:d.facebook,phone:d.phone,googleOAuthClientKey:d.googleOAuthClientKey,facebookAppId:d.facebookAppId};Object.values(b).filter(Boolean).length===1&&(b.email&&h(Qa.Email,!1),b.phone&&h(Qa.Phone,!1),b.google&&h(Qa.Google,!1),b.facebook&&h(Qa.Facebook,!1)),u(b)},[d]),{t,formik:r,onSelect:h,availableOptions:o,passportMethodsQuery:i,isLoadingMethods:i.isLoading,totalAvailableMethods:c}},nJ=()=>{const{onSelect:t,availableOptions:e,totalAvailableMethods:n,isLoadingMethods:r,passportMethodsQuery:i}=tJ(),o=$l({initialValues:{},onSubmit:()=>{}});return i.isError||i.error?N.jsx("div",{className:"signin-form-container",children:N.jsx(jo,{query:i})}):n===void 0||r?N.jsx("div",{className:"signin-form-container",children:N.jsx(BI,{})}):n===0?N.jsx("div",{className:"signin-form-container",children:N.jsx(iJ,{})}):N.jsx("div",{className:"signin-form-container",children:e.googleOAuthClientKey?N.jsx(KQ,{clientId:e.googleOAuthClientKey,children:N.jsx(zR,{availableOptions:e,onSelect:t,form:o})}):N.jsx(zR,{availableOptions:e,onSelect:t,form:o})})},zR=({form:t,onSelect:e,availableOptions:n})=>{const{submit:r}=XQ({}),{setSession:i}=_.useContext(en),{locale:o}=Ci(),{replace:u}=Lr(),c=(h,g)=>{r({service:g,token:h}).then(y=>{i(y.data.session),window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(y.data));{const b=wi.DEFAULT_ROUTE.replace("{locale}",o||"en");u(b,b)}}).catch(y=>{alert(y)})},d=Wn($r);return N.jsxs("form",{onSubmit:h=>{h.preventDefault(),t.submitForm()},children:[N.jsx("h1",{children:d.welcomeBack}),N.jsxs("p",{children:[d.welcomeBackDescription," "]}),N.jsxs("div",{role:"group","aria-label":"Login method",className:"flex gap-2 login-option-buttons",children:[n.email?N.jsx("button",{id:"using-email",type:"button",onClick:()=>e(Qa.Email),children:d.emailMethod}):null,n.phone?N.jsx("button",{id:"using-phone",type:"button",onClick:()=>e(Qa.Phone),children:d.phoneMethod}):null,n.facebook?N.jsx(eJ,{facebookAppId:n.facebookAppId,continueWithResult:h=>c(h,"facebook")}):null,n.google?N.jsx(rJ,{continueWithResult:h=>c(h,"google")}):null]})]})},rJ=({continueWithResult:t})=>{const e=Wn($r),n=QQ({onSuccess:r=>{t(r.access_token)},scope:["https://www.googleapis.com/auth/userinfo.profile"].join(" ")});return N.jsx(N.Fragment,{children:N.jsxs("button",{id:"using-google",type:"button",onClick:()=>n(),children:[N.jsx("img",{className:"button-icon",src:Xx("/common/google.png")}),e.google]})})},iJ=()=>{const t=Wn($r);return N.jsxs(N.Fragment,{children:[N.jsx("h1",{children:t.noAuthenticationMethod}),N.jsx("p",{children:t.noAuthenticationMethodDescription})]})};var aJ=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function CE(){return CE=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function l2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sJ(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,$E(t,e)}function $E(t,e){return $E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$E(t,e)}var Xw=(function(t){sJ(e,t);function e(){var r;return r=t.call(this)||this,r.handleExpired=r.handleExpired.bind(l2(r)),r.handleErrored=r.handleErrored.bind(l2(r)),r.handleChange=r.handleChange.bind(l2(r)),r.handleRecaptchaRef=r.handleRecaptchaRef.bind(l2(r)),r}var n=e.prototype;return n.getCaptchaFunction=function(i){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[i]:this.props.grecaptcha[i]:null},n.getValue=function(){var i=this.getCaptchaFunction("getResponse");return i&&this._widgetId!==void 0?i(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},n.execute=function(){var i=this.getCaptchaFunction("execute");if(i&&this._widgetId!==void 0)return i(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var i=this;return new Promise(function(o,u){i.executionResolve=o,i.executionReject=u,i.execute()})},n.reset=function(){var i=this.getCaptchaFunction("reset");i&&this._widgetId!==void 0&&i(this._widgetId)},n.forceReset=function(){var i=this.getCaptchaFunction("reset");i&&i()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(i){this.props.onChange&&this.props.onChange(i),this.executionResolve&&(this.executionResolve(i),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var i=this.getCaptchaFunction("render");if(i&&this._widgetId===void 0){var o=document.createElement("div");this._widgetId=i(o,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(o)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(i){this.captcha=i},n.render=function(){var i=this.props;i.sitekey,i.onChange,i.theme,i.type,i.tabindex,i.onExpired,i.onErrored,i.size,i.stoken,i.grecaptcha,i.badge,i.hl,i.isolated;var o=oJ(i,aJ);return _.createElement("div",CE({},o,{ref:this.handleRecaptchaRef}))},e})(_.Component);Xw.displayName="ReCAPTCHA";Xw.propTypes={sitekey:Oe.string.isRequired,onChange:Oe.func,grecaptcha:Oe.object,theme:Oe.oneOf(["dark","light"]),type:Oe.oneOf(["image","audio"]),tabindex:Oe.number,onExpired:Oe.func,onErrored:Oe.func,size:Oe.oneOf(["compact","normal","invisible"]),stoken:Oe.string,hl:Oe.string,badge:Oe.oneOf(["bottomright","bottomleft","inline"]),isolated:Oe.bool};Xw.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};function EE(){return EE=Object.assign||function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function lJ(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var ws={},cJ=0;function fJ(t,e){return e=e||{},function(r){var i=r.displayName||r.name||"Component",o=(function(c){lJ(d,c);function d(g,y){var b;return b=c.call(this,g,y)||this,b.state={},b.__scriptURL="",b}var h=d.prototype;return h.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+cJ++),this.__scriptLoaderID},h.setupScriptURL=function(){return this.__scriptURL=typeof t=="function"?t():t,this.__scriptURL},h.asyncScriptLoaderHandleLoad=function(y){var b=this;this.setState(y,function(){return b.props.asyncScriptOnLoad&&b.props.asyncScriptOnLoad(b.state)})},h.asyncScriptLoaderTriggerOnScriptLoaded=function(){var y=ws[this.__scriptURL];if(!y||!y.loaded)throw new Error("Script is not loaded.");for(var b in y.observers)y.observers[b](y);delete window[e.callbackName]},h.componentDidMount=function(){var y=this,b=this.setupScriptURL(),v=this.asyncScriptLoaderGetScriptLoaderID(),C=e,E=C.globalName,$=C.callbackName,x=C.scriptId;if(E&&typeof window[E]<"u"&&(ws[b]={loaded:!0,observers:{}}),ws[b]){var O=ws[b];if(O&&(O.loaded||O.errored)){this.asyncScriptLoaderHandleLoad(O);return}O.observers[v]=function(F){return y.asyncScriptLoaderHandleLoad(F)};return}var R={};R[v]=function(F){return y.asyncScriptLoaderHandleLoad(F)},ws[b]={loaded:!1,observers:R};var D=document.createElement("script");D.src=b,D.async=!0;for(var P in e.attributes)D.setAttribute(P,e.attributes[P]);x&&(D.id=x);var L=function(H){if(ws[b]){var Y=ws[b],X=Y.observers;for(var ue in X)H(X[ue])&&delete X[ue]}};$&&typeof window<"u"&&(window[$]=function(){return y.asyncScriptLoaderTriggerOnScriptLoaded()}),D.onload=function(){var F=ws[b];F&&(F.loaded=!0,L(function(H){return $?!1:(H(F),!0)}))},D.onerror=function(){var F=ws[b];F&&(F.errored=!0,L(function(H){return H(F),!0}))},document.body.appendChild(D)},h.componentWillUnmount=function(){var y=this.__scriptURL;if(e.removeOnUnmount===!0)for(var b=document.getElementsByTagName("script"),v=0;v-1&&b[v].parentNode&&b[v].parentNode.removeChild(b[v]);var C=ws[y];C&&(delete C.observers[this.asyncScriptLoaderGetScriptLoaderID()],e.removeOnUnmount===!0&&delete ws[y])},h.render=function(){var y=e.globalName,b=this.props;b.asyncScriptOnLoad;var v=b.forwardedRef,C=uJ(b,["asyncScriptOnLoad","forwardedRef"]);return y&&typeof window<"u"&&(C[y]=typeof window[y]<"u"?window[y]:void 0),C.ref=v,_.createElement(r,C)},d})(_.Component),u=_.forwardRef(function(c,d){return _.createElement(o,EE({},c,{forwardedRef:d}))});return u.displayName="AsyncScriptLoader("+i+")",u.propTypes={asyncScriptOnLoad:Oe.func},Vj(u,r)}}var xE="onloadcallback",dJ="grecaptcha";function TE(){return typeof window<"u"&&window.recaptchaOptions||{}}function hJ(){var t=TE(),e=t.useRecaptchaNet?"recaptcha.net":"www.google.com";return t.enterprise?"https://"+e+"/recaptcha/enterprise.js?onload="+xE+"&render=explicit":"https://"+e+"/recaptcha/api.js?onload="+xE+"&render=explicit"}const pJ=fJ(hJ,{callbackName:xE,globalName:dJ,attributes:TE().nonce?{nonce:TE().nonce}:{}})(Xw),mJ=({sitekey:t,enabled:e,invisible:n})=>{n=n===void 0?!0:n;const[r,i]=_.useState(),[o,u]=_.useState(!1),c=_.createRef(),d=_.useRef("");return _.useEffect(()=>{var y,b;e&&c.current&&((y=c.current)==null||y.execute(),(b=c.current)==null||b.reset())},[e,c.current]),_.useEffect(()=>{setTimeout(()=>{d.current||u(!0)},2e3)},[]),{value:r,Component:()=>!e||!t?null:N.jsx(N.Fragment,{children:N.jsx(pJ,{sitekey:t,size:n&&!o?"invisible":void 0,ref:c,onChange:y=>{i(y),d.current=y}})}),LegalNotice:()=>!n||!e?null:N.jsxs("div",{className:"mt-5 recaptcha-closure",children:["This site is protected by reCAPTCHA and the Google",N.jsxs("a",{target:"_blank",href:"https://policies.google.com/privacy",children:[" ","Privacy Policy"," "]})," ","and",N.jsxs("a",{target:"_blank",href:"https://policies.google.com/terms",children:[" ","Terms of Service"," "]})," ","apply."]})}};var A0,Zv,of,sf,uf,lf,c2;function Sn(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var gJ=0;function No(t){return"__private_"+gJ+++"_"+t}const yJ=t=>{const n=xf()??void 0,[r,i]=_.useState(!1),[o,u]=_.useState();return{...Fr({mutationFn:h=>(i(!1),Pf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Pf{}A0=Pf;Pf.URL="/workspace/passport/check";Pf.NewUrl=t=>Of(A0.URL,void 0,t);Pf.Method="post";Pf.Fetch$=async(t,e,n,r)=>$f(r??A0.NewUrl(t),{method:A0.Method,...n||{}},e);Pf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Io(u)})=>{e=e||(c=>new Io(c));const u=await A0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};Pf.Definition={name:"CheckClassicPassport",cliName:"ccp",url:"/workspace/passport/check",method:"post",description:"Checks if a classic passport (email, phone) exists or not, used in multi step authentication",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"securityToken",description:"This can be the value of ReCaptcha2, ReCaptcha3, or generate security image or voice for verification. Will be used based on the configuration.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"flags",description:"Extra information that can be useful actually when doing onboarding. Make sure sensitive information doesn't go out.",type:"slice",primitive:"string"},{name:"otpInfo",description:"If the endpoint automatically triggers a send otp, then it would be holding that information, Also the otp information can become available.",type:"object?",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}]}};var ah=No("value"),oh=No("securityToken"),qC=No("isJsonAppliable");class Yh{get value(){return Sn(this,ah)[ah]}set value(e){Sn(this,ah)[ah]=String(e)}setValue(e){return this.value=e,this}get securityToken(){return Sn(this,oh)[oh]}set securityToken(e){Sn(this,oh)[oh]=String(e)}setSecurityToken(e){return this.securityToken=e,this}constructor(e=void 0){if(Object.defineProperty(this,qC,{value:vJ}),Object.defineProperty(this,ah,{writable:!0,value:""}),Object.defineProperty(this,oh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Sn(this,qC)[qC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.securityToken!==void 0&&(this.securityToken=n.securityToken)}toJSON(){return{value:Sn(this,ah)[ah],securityToken:Sn(this,oh)[oh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",securityToken:"securityToken"}}static from(e){return new Yh(e)}static with(e){return new Yh(e)}copyWith(e){return new Yh({...this.toJSON(),...e})}clone(){return new Yh(this.toJSON())}}function vJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var sh=No("next"),uh=No("flags"),tl=No("otpInfo"),zC=No("isJsonAppliable");class Io{get next(){return Sn(this,sh)[sh]}set next(e){Sn(this,sh)[sh]=e}setNext(e){return this.next=e,this}get flags(){return Sn(this,uh)[uh]}set flags(e){Sn(this,uh)[uh]=e}setFlags(e){return this.flags=e,this}get otpInfo(){return Sn(this,tl)[tl]}set otpInfo(e){e instanceof Io.OtpInfo?Sn(this,tl)[tl]=e:Sn(this,tl)[tl]=new Io.OtpInfo(e)}setOtpInfo(e){return this.otpInfo=e,this}constructor(e=void 0){if(Object.defineProperty(this,zC,{value:bJ}),Object.defineProperty(this,sh,{writable:!0,value:[]}),Object.defineProperty(this,uh,{writable:!0,value:[]}),Object.defineProperty(this,tl,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Sn(this,zC)[zC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.next!==void 0&&(this.next=n.next),n.flags!==void 0&&(this.flags=n.flags),n.otpInfo!==void 0&&(this.otpInfo=n.otpInfo)}toJSON(){return{next:Sn(this,sh)[sh],flags:Sn(this,uh)[uh],otpInfo:Sn(this,tl)[tl]}}toString(){return JSON.stringify(this)}static get Fields(){return{next$:"next",get next(){return"next[:i]"},flags$:"flags",get flags(){return"flags[:i]"},otpInfo$:"otpInfo",get otpInfo(){return hp("otpInfo",Io.OtpInfo.Fields)}}}static from(e){return new Io(e)}static with(e){return new Io(e)}copyWith(e){return new Io({...this.toJSON(),...e})}clone(){return new Io(this.toJSON())}}Zv=Io;function bJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}Io.OtpInfo=(of=No("suspendUntil"),sf=No("validUntil"),uf=No("blockedUntil"),lf=No("secondsToUnblock"),c2=No("isJsonAppliable"),class{get suspendUntil(){return Sn(this,of)[of]}set suspendUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,of)[of]=r)}setSuspendUntil(e){return this.suspendUntil=e,this}get validUntil(){return Sn(this,sf)[sf]}set validUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,sf)[sf]=r)}setValidUntil(e){return this.validUntil=e,this}get blockedUntil(){return Sn(this,uf)[uf]}set blockedUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,uf)[uf]=r)}setBlockedUntil(e){return this.blockedUntil=e,this}get secondsToUnblock(){return Sn(this,lf)[lf]}set secondsToUnblock(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(Sn(this,lf)[lf]=r)}setSecondsToUnblock(e){return this.secondsToUnblock=e,this}constructor(e=void 0){if(Object.defineProperty(this,c2,{value:wJ}),Object.defineProperty(this,of,{writable:!0,value:0}),Object.defineProperty(this,sf,{writable:!0,value:0}),Object.defineProperty(this,uf,{writable:!0,value:0}),Object.defineProperty(this,lf,{writable:!0,value:0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Sn(this,c2)[c2](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:Sn(this,of)[of],validUntil:Sn(this,sf)[sf],blockedUntil:Sn(this,uf)[uf],secondsToUnblock:Sn(this,lf)[lf]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(e){return new Zv.OtpInfo(e)}static with(e){return new Zv.OtpInfo(e)}copyWith(e){return new Zv.OtpInfo({...this.toJSON(),...e})}clone(){return new Zv.OtpInfo(this.toJSON())}});function wJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const SJ=({method:t})=>{var O,R,D;const e=Wn($r),{goBack:n,push:r,state:i}=Lr(),{locale:o}=Ci(),u=yJ(),c=(i==null?void 0:i.canGoBack)!==!1;let d=!1,h="";const{data:g}=k9({});g instanceof Tl&&g.data.item instanceof pf&&(d=(O=g==null?void 0:g.data)==null?void 0:O.item.enabledRecaptcha2,h=(D=(R=g==null?void 0:g.data)==null?void 0:R.item)==null?void 0:D.recaptcha2ClientKey);const y=P=>{u.mutateAsync(new Yh(P)).then(L=>{var Y;const{next:F,flags:H}=(Y=L==null?void 0:L.data)==null?void 0:Y.item;F.includes("otp")&&F.length===1?r(`/${o}/selfservice/otp`,void 0,{value:P.value,type:t}):F.includes("signin-with-password")?r(`/${o}/selfservice/password`,void 0,{value:P.value,next:F,canContinueOnOtp:F==null?void 0:F.includes("otp"),flags:H}):F.includes("create-with-password")&&r(`/${o}/selfservice/complete`,void 0,{value:P.value,type:t,next:F,flags:H})}).catch(L=>{b==null||b.setErrors(Og(L))})},b=$l({initialValues:{},onSubmit:y});let v=e.continueWithEmail,C=e.continueWithEmailDescription;t==="phone"&&(v=e.continueWithPhone,C=e.continueWithPhoneDescription);const{Component:E,LegalNotice:$,value:x}=mJ({enabled:d,sitekey:h});return _.useEffect(()=>{!d||!x||b.setFieldValue(Yh.Fields.securityToken,x)},[x]),{title:v,mutation:u,canGoBack:c,form:b,enabledRecaptcha2:d,recaptcha2ClientKey:h,description:C,Recaptcha:E,LegalNotice:$,s:e,submit:y,goBack:n}};var R0;function _n(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var CJ=0;function _s(t){return"__private_"+CJ+++"_"+t}const HI=t=>{const n=xf()??void 0,[r,i]=_.useState(!1),[o,u]=_.useState();return{...Fr({mutationFn:h=>(i(!1),If.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class If{}R0=If;If.URL="/passports/signin/classic";If.NewUrl=t=>Of(R0.URL,void 0,t);If.Method="post";If.Fetch$=async(t,e,n,r)=>$f(r??R0.NewUrl(t),{method:R0.Method,...n||{}},e);If.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Qh(u)})=>{e=e||(c=>new Qh(c));const u=await R0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};If.Definition={name:"ClassicSignin",cliName:"in",url:"/passports/signin/classic",method:"post",description:"Signin publicly to and account using class passports (email, password)",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"totpCode",description:"Accepts login with totp code. If enabled, first login would return a success response with next[enter-totp] value and ui can understand that user needs to be navigated into the screen other screen.",type:"string"},{name:"sessionSecret",description:"Session secret when logging in to the application requires more steps to complete.",type:"string"}]},out:{envelope:"GResponse",fields:[{name:"session",type:"one",target:"UserSessionDto"},{name:"next",description:"The next possible action which is suggested.",type:"slice",primitive:"string"},{name:"totpUrl",description:"In case the account doesn't have totp, but enforced by installation, this value will contain the link",type:"string"},{name:"sessionSecret",description:"Returns a secret session if the authentication requires more steps.",type:"string"}]}};var lh=_s("value"),ch=_s("password"),fh=_s("totpCode"),dh=_s("sessionSecret"),VC=_s("isJsonAppliable");class xs{get value(){return _n(this,lh)[lh]}set value(e){_n(this,lh)[lh]=String(e)}setValue(e){return this.value=e,this}get password(){return _n(this,ch)[ch]}set password(e){_n(this,ch)[ch]=String(e)}setPassword(e){return this.password=e,this}get totpCode(){return _n(this,fh)[fh]}set totpCode(e){_n(this,fh)[fh]=String(e)}setTotpCode(e){return this.totpCode=e,this}get sessionSecret(){return _n(this,dh)[dh]}set sessionSecret(e){_n(this,dh)[dh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}constructor(e=void 0){if(Object.defineProperty(this,VC,{value:$J}),Object.defineProperty(this,lh,{writable:!0,value:""}),Object.defineProperty(this,ch,{writable:!0,value:""}),Object.defineProperty(this,fh,{writable:!0,value:""}),Object.defineProperty(this,dh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(_n(this,VC)[VC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.password!==void 0&&(this.password=n.password),n.totpCode!==void 0&&(this.totpCode=n.totpCode),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret)}toJSON(){return{value:_n(this,lh)[lh],password:_n(this,ch)[ch],totpCode:_n(this,fh)[fh],sessionSecret:_n(this,dh)[dh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",password:"password",totpCode:"totpCode",sessionSecret:"sessionSecret"}}static from(e){return new xs(e)}static with(e){return new xs(e)}copyWith(e){return new xs({...this.toJSON(),...e})}clone(){return new xs(this.toJSON())}}function $J(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var nl=_s("session"),hh=_s("next"),ph=_s("totpUrl"),mh=_s("sessionSecret"),GC=_s("isJsonAppliable"),Hv=_s("lateInitFields");class Qh{get session(){return _n(this,nl)[nl]}set session(e){e instanceof Si?_n(this,nl)[nl]=e:_n(this,nl)[nl]=new Si(e)}setSession(e){return this.session=e,this}get next(){return _n(this,hh)[hh]}set next(e){_n(this,hh)[hh]=e}setNext(e){return this.next=e,this}get totpUrl(){return _n(this,ph)[ph]}set totpUrl(e){_n(this,ph)[ph]=String(e)}setTotpUrl(e){return this.totpUrl=e,this}get sessionSecret(){return _n(this,mh)[mh]}set sessionSecret(e){_n(this,mh)[mh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}constructor(e=void 0){if(Object.defineProperty(this,Hv,{value:xJ}),Object.defineProperty(this,GC,{value:EJ}),Object.defineProperty(this,nl,{writable:!0,value:void 0}),Object.defineProperty(this,hh,{writable:!0,value:[]}),Object.defineProperty(this,ph,{writable:!0,value:""}),Object.defineProperty(this,mh,{writable:!0,value:""}),e==null){_n(this,Hv)[Hv]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(_n(this,GC)[GC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),n.next!==void 0&&(this.next=n.next),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),_n(this,Hv)[Hv](e)}toJSON(){return{session:_n(this,nl)[nl],next:_n(this,hh)[hh],totpUrl:_n(this,ph)[ph],sessionSecret:_n(this,mh)[mh]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return hp("session",Si.Fields)},next$:"next",get next(){return"next[:i]"},totpUrl:"totpUrl",sessionSecret:"sessionSecret"}}static from(e){return new Qh(e)}static with(e){return new Qh(e)}copyWith(e){return new Qh({...this.toJSON(),...e})}clone(){return new Qh(this.toJSON())}}function EJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function xJ(t={}){const e=t;e.session instanceof Si||(this.session=new Si(e.session||{}))}const VR=({method:t})=>{const{description:e,title:n,goBack:r,mutation:i,form:o,canGoBack:u,LegalNotice:c,Recaptcha:d,s:h}=SJ({method:t});return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:n}),N.jsx("p",{children:e}),N.jsx(jo,{query:i}),N.jsx(OJ,{form:o,method:t,mutation:i}),N.jsx(d,{}),u?N.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:r,children:h.chooseAnotherMethod}):null,N.jsx(c,{})]})},TJ=t=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t),OJ=({form:t,mutation:e,method:n})=>{var u,c,d;let r="email";n===Qa.Phone&&(r="phonenumber");let i=!((u=t==null?void 0:t.values)!=null&&u.value);Qa.Email===n&&(i=!TJ((c=t==null?void 0:t.values)==null?void 0:c.value));const o=Wn($r);return N.jsxs("form",{onSubmit:h=>{h.preventDefault(),t.submitForm()},children:[N.jsx(Mo,{autoFocus:!0,type:r,id:"value-input",dir:"ltr",value:(d=t==null?void 0:t.values)==null?void 0:d.value,errorMessage:t==null?void 0:t.errors.value,onChange:h=>t.setFieldValue(xs.Fields.value,h,!1)}),N.jsx(Af,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:i,children:o.continue})]})};var _J=Object.defineProperty,uw=Object.getOwnPropertySymbols,qI=Object.prototype.hasOwnProperty,zI=Object.prototype.propertyIsEnumerable,GR=(t,e,n)=>e in t?_J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,OE=(t,e)=>{for(var n in e||(e={}))qI.call(e,n)&&GR(t,n,e[n]);if(uw)for(var n of uw(e))zI.call(e,n)&&GR(t,n,e[n]);return t},_E=(t,e)=>{var n={};for(var r in t)qI.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&uw)for(var r of uw(t))e.indexOf(r)<0&&zI.call(t,r)&&(n[r]=t[r]);return n};/** - * @license QR Code generator library (TypeScript) - * Copyright (c) Project Nayuki. - * SPDX-License-Identifier: MIT - */var gp;(t=>{const e=class Jt{constructor(d,h,g,y){if(this.version=d,this.errorCorrectionLevel=h,this.modules=[],this.isFunction=[],dJt.MAX_VERSION)throw new RangeError("Version value out of range");if(y<-1||y>7)throw new RangeError("Mask value out of range");this.size=d*4+17;let b=[];for(let C=0;C7)throw new RangeError("Invalid value");let C,E;for(C=g;;C++){const R=Jt.getNumDataCodewords(C,h)*8,D=u.getTotalBits(d,C);if(D<=R){E=D;break}if(C>=y)throw new RangeError("Data too long")}for(const R of[Jt.Ecc.MEDIUM,Jt.Ecc.QUARTILE,Jt.Ecc.HIGH])v&&E<=Jt.getNumDataCodewords(C,R)*8&&(h=R);let $=[];for(const R of d){n(R.mode.modeBits,4,$),n(R.numChars,R.mode.numCharCountBits(C),$);for(const D of R.getData())$.push(D)}i($.length==E);const x=Jt.getNumDataCodewords(C,h)*8;i($.length<=x),n(0,Math.min(4,x-$.length),$),n(0,(8-$.length%8)%8,$),i($.length%8==0);for(let R=236;$.lengthO[D>>>3]|=R<<7-(D&7)),new Jt(C,h,O,b)}getModule(d,h){return 0<=d&&d>>9)*1335;const y=(h<<10|g)^21522;i(y>>>15==0);for(let b=0;b<=5;b++)this.setFunctionModule(8,b,r(y,b));this.setFunctionModule(8,7,r(y,6)),this.setFunctionModule(8,8,r(y,7)),this.setFunctionModule(7,8,r(y,8));for(let b=9;b<15;b++)this.setFunctionModule(14-b,8,r(y,b));for(let b=0;b<8;b++)this.setFunctionModule(this.size-1-b,8,r(y,b));for(let b=8;b<15;b++)this.setFunctionModule(8,this.size-15+b,r(y,b));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let d=this.version;for(let g=0;g<12;g++)d=d<<1^(d>>>11)*7973;const h=this.version<<12|d;i(h>>>18==0);for(let g=0;g<18;g++){const y=r(h,g),b=this.size-11+g%3,v=Math.floor(g/3);this.setFunctionModule(b,v,y),this.setFunctionModule(v,b,y)}}drawFinderPattern(d,h){for(let g=-4;g<=4;g++)for(let y=-4;y<=4;y++){const b=Math.max(Math.abs(y),Math.abs(g)),v=d+y,C=h+g;0<=v&&v{(R!=E-b||P>=C)&&O.push(D[R])});return i(O.length==v),O}drawCodewords(d){if(d.length!=Math.floor(Jt.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let h=0;for(let g=this.size-1;g>=1;g-=2){g==6&&(g=5);for(let y=0;y>>3],7-(h&7)),h++)}}i(h==d.length*8)}applyMask(d){if(d<0||d>7)throw new RangeError("Mask value out of range");for(let h=0;h5&&d++):(this.finderPenaltyAddHistory(C,E),v||(d+=this.finderPenaltyCountPatterns(E)*Jt.PENALTY_N3),v=this.modules[b][$],C=1);d+=this.finderPenaltyTerminateAndCount(v,C,E)*Jt.PENALTY_N3}for(let b=0;b5&&d++):(this.finderPenaltyAddHistory(C,E),v||(d+=this.finderPenaltyCountPatterns(E)*Jt.PENALTY_N3),v=this.modules[$][b],C=1);d+=this.finderPenaltyTerminateAndCount(v,C,E)*Jt.PENALTY_N3}for(let b=0;bv+(C?1:0),h);const g=this.size*this.size,y=Math.ceil(Math.abs(h*20-g*10)/g)-1;return i(0<=y&&y<=9),d+=y*Jt.PENALTY_N4,i(0<=d&&d<=2568888),d}getAlignmentPatternPositions(){if(this.version==1)return[];{const d=Math.floor(this.version/7)+2,h=this.version==32?26:Math.ceil((this.version*4+4)/(d*2-2))*2;let g=[6];for(let y=this.size-7;g.lengthJt.MAX_VERSION)throw new RangeError("Version number out of range");let h=(16*d+128)*d+64;if(d>=2){const g=Math.floor(d/7)+2;h-=(25*g-10)*g-55,d>=7&&(h-=36)}return i(208<=h&&h<=29648),h}static getNumDataCodewords(d,h){return Math.floor(Jt.getNumRawDataModules(d)/8)-Jt.ECC_CODEWORDS_PER_BLOCK[h.ordinal][d]*Jt.NUM_ERROR_CORRECTION_BLOCKS[h.ordinal][d]}static reedSolomonComputeDivisor(d){if(d<1||d>255)throw new RangeError("Degree out of range");let h=[];for(let y=0;y0);for(const y of d){const b=y^g.shift();g.push(0),h.forEach((v,C)=>g[C]^=Jt.reedSolomonMultiply(v,b))}return g}static reedSolomonMultiply(d,h){if(d>>>8||h>>>8)throw new RangeError("Byte out of range");let g=0;for(let y=7;y>=0;y--)g=g<<1^(g>>>7)*285,g^=(h>>>y&1)*d;return i(g>>>8==0),g}finderPenaltyCountPatterns(d){const h=d[1];i(h<=this.size*3);const g=h>0&&d[2]==h&&d[3]==h*3&&d[4]==h&&d[5]==h;return(g&&d[0]>=h*4&&d[6]>=h?1:0)+(g&&d[6]>=h*4&&d[0]>=h?1:0)}finderPenaltyTerminateAndCount(d,h,g){return d&&(this.finderPenaltyAddHistory(h,g),h=0),h+=this.size,this.finderPenaltyAddHistory(h,g),this.finderPenaltyCountPatterns(g)}finderPenaltyAddHistory(d,h){h[0]==0&&(d+=this.size),h.pop(),h.unshift(d)}};e.MIN_VERSION=1,e.MAX_VERSION=40,e.PENALTY_N1=3,e.PENALTY_N2=3,e.PENALTY_N3=40,e.PENALTY_N4=10,e.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],e.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],t.QrCode=e;function n(c,d,h){if(d<0||d>31||c>>>d)throw new RangeError("Value out of range");for(let g=d-1;g>=0;g--)h.push(c>>>g&1)}function r(c,d){return(c>>>d&1)!=0}function i(c){if(!c)throw new Error("Assertion error")}const o=class cr{constructor(d,h,g){if(this.mode=d,this.numChars=h,this.bitData=g,h<0)throw new RangeError("Invalid argument");this.bitData=g.slice()}static makeBytes(d){let h=[];for(const g of d)n(g,8,h);return new cr(cr.Mode.BYTE,d.length,h)}static makeNumeric(d){if(!cr.isNumeric(d))throw new RangeError("String contains non-numeric characters");let h=[];for(let g=0;g=1<{(e=>{const n=class{constructor(i,o){this.ordinal=i,this.formatBits=o}};n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),e.Ecc=n})(t.QrCode||(t.QrCode={}))})(gp||(gp={}));(t=>{(e=>{const n=class{constructor(i,o){this.modeBits=i,this.numBitsCharCount=o}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),e.Mode=n})(t.QrSegment||(t.QrSegment={}))})(gp||(gp={}));var eg=gp;/** - * @license qrcode.react - * Copyright (c) Paul O'Shannessy - * SPDX-License-Identifier: ISC - */var AJ={L:eg.QrCode.Ecc.LOW,M:eg.QrCode.Ecc.MEDIUM,Q:eg.QrCode.Ecc.QUARTILE,H:eg.QrCode.Ecc.HIGH},VI=128,GI="L",WI="#FFFFFF",KI="#000000",YI=!1,QI=1,RJ=4,PJ=0,IJ=.1;function JI(t,e=0){const n=[];return t.forEach(function(r,i){let o=null;r.forEach(function(u,c){if(!u&&o!==null){n.push(`M${o+e} ${i+e}h${c-o}v1H${o+e}z`),o=null;return}if(c===r.length-1){if(!u)return;o===null?n.push(`M${c+e},${i+e} h1v1H${c+e}z`):n.push(`M${o+e},${i+e} h${c+1-o}v1H${o+e}z`);return}u&&o===null&&(o=c)})}),n.join("")}function XI(t,e){return t.slice().map((n,r)=>r=e.y+e.h?n:n.map((i,o)=>o=e.x+e.w?i:!1))}function NJ(t,e,n,r){if(r==null)return null;const i=t.length+n*2,o=Math.floor(e*IJ),u=i/e,c=(r.width||o)*u,d=(r.height||o)*u,h=r.x==null?t.length/2-c/2:r.x*u,g=r.y==null?t.length/2-d/2:r.y*u,y=r.opacity==null?1:r.opacity;let b=null;if(r.excavate){let C=Math.floor(h),E=Math.floor(g),$=Math.ceil(c+h-C),x=Math.ceil(d+g-E);b={x:C,y:E,w:$,h:x}}const v=r.crossOrigin;return{x:h,y:g,h:d,w:c,excavation:b,opacity:y,crossOrigin:v}}function MJ(t,e){return e!=null?Math.max(Math.floor(e),0):t?RJ:PJ}function ZI({value:t,level:e,minVersion:n,includeMargin:r,marginSize:i,imageSettings:o,size:u,boostLevel:c}){let d=Ae.useMemo(()=>{const C=(Array.isArray(t)?t:[t]).reduce((E,$)=>(E.push(...eg.QrSegment.makeSegments($)),E),[]);return eg.QrCode.encodeSegments(C,AJ[e],n,void 0,void 0,c)},[t,e,n,c]);const{cells:h,margin:g,numCells:y,calculatedImageSettings:b}=Ae.useMemo(()=>{let v=d.getModules();const C=MJ(r,i),E=v.length+C*2,$=NJ(v,u,C,o);return{cells:v,margin:C,numCells:E,calculatedImageSettings:$}},[d,u,o,r,i]);return{qrcode:d,margin:g,cells:h,numCells:y,calculatedImageSettings:b}}var DJ=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),kJ=Ae.forwardRef(function(e,n){const r=e,{value:i,size:o=VI,level:u=GI,bgColor:c=WI,fgColor:d=KI,includeMargin:h=YI,minVersion:g=QI,boostLevel:y,marginSize:b,imageSettings:v}=r,E=_E(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:$}=E,x=_E(E,["style"]),O=v==null?void 0:v.src,R=Ae.useRef(null),D=Ae.useRef(null),P=Ae.useCallback(be=>{R.current=be,typeof n=="function"?n(be):n&&(n.current=be)},[n]),[L,F]=Ae.useState(!1),{margin:H,cells:Y,numCells:X,calculatedImageSettings:ue}=ZI({value:i,level:u,minVersion:g,boostLevel:y,includeMargin:h,marginSize:b,imageSettings:v,size:o});Ae.useEffect(()=>{if(R.current!=null){const be=R.current,we=be.getContext("2d");if(!we)return;let B=Y;const V=D.current,q=ue!=null&&V!==null&&V.complete&&V.naturalHeight!==0&&V.naturalWidth!==0;q&&ue.excavation!=null&&(B=XI(Y,ue.excavation));const ie=window.devicePixelRatio||1;be.height=be.width=o*ie;const G=o/X*ie;we.scale(G,G),we.fillStyle=c,we.fillRect(0,0,X,X),we.fillStyle=d,DJ?we.fill(new Path2D(JI(B,H))):Y.forEach(function(J,he){J.forEach(function($e,Ce){$e&&we.fillRect(Ce+H,he+H,1,1)})}),ue&&(we.globalAlpha=ue.opacity),q&&we.drawImage(V,ue.x+H,ue.y+H,ue.w,ue.h)}}),Ae.useEffect(()=>{F(!1)},[O]);const me=OE({height:o,width:o},$);let te=null;return O!=null&&(te=Ae.createElement("img",{src:O,key:O,style:{display:"none"},onLoad:()=>{F(!0)},ref:D,crossOrigin:ue==null?void 0:ue.crossOrigin})),Ae.createElement(Ae.Fragment,null,Ae.createElement("canvas",OE({style:me,height:o,width:o,ref:P,role:"img"},x)),te)});kJ.displayName="QRCodeCanvas";var eN=Ae.forwardRef(function(e,n){const r=e,{value:i,size:o=VI,level:u=GI,bgColor:c=WI,fgColor:d=KI,includeMargin:h=YI,minVersion:g=QI,boostLevel:y,title:b,marginSize:v,imageSettings:C}=r,E=_E(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:$,cells:x,numCells:O,calculatedImageSettings:R}=ZI({value:i,level:u,minVersion:g,boostLevel:y,includeMargin:h,marginSize:v,imageSettings:C,size:o});let D=x,P=null;C!=null&&R!=null&&(R.excavation!=null&&(D=XI(x,R.excavation)),P=Ae.createElement("image",{href:C.src,height:R.h,width:R.w,x:R.x+$,y:R.y+$,preserveAspectRatio:"none",opacity:R.opacity,crossOrigin:R.crossOrigin}));const L=JI(D,$);return Ae.createElement("svg",OE({height:o,width:o,viewBox:`0 0 ${O} ${O}`,ref:n,role:"img"},E),!!b&&Ae.createElement("title",null,b),Ae.createElement("path",{fill:c,d:`M0,0 h${O}v${O}H0z`,shapeRendering:"crispEdges"}),Ae.createElement("path",{fill:d,d:L,shapeRendering:"crispEdges"}),P)});eN.displayName="QRCodeSVG";const qv={backspace:8,left:37,up:38,right:39,down:40};class Z0 extends _.Component{constructor(e){super(e),this.__clearvalues__=()=>{const{fields:u}=this.props;this.setState({values:Array(u).fill("")}),this.iRefs[0].current.focus()},this.triggerChange=(u=this.state.values)=>{const{onChange:c,onComplete:d,fields:h}=this.props,g=u.join("");c&&c(g),d&&g.length>=h&&d(g)},this.onChange=u=>{const c=parseInt(u.target.dataset.id);if(this.props.type==="number"&&(u.target.value=u.target.value.replace(/[^\d]/gi,"")),u.target.value===""||this.props.type==="number"&&!u.target.validity.valid)return;const{fields:d}=this.props;let h;const g=u.target.value;let{values:y}=this.state;if(y=Object.assign([],y),g.length>1){let b=g.length+c-1;b>=d&&(b=d-1),h=this.iRefs[b],g.split("").forEach((C,E)=>{const $=c+E;${const c=parseInt(u.target.dataset.id),d=c-1,h=c+1,g=this.iRefs[d],y=this.iRefs[h];switch(u.keyCode){case qv.backspace:u.preventDefault();const b=[...this.state.values];this.state.values[c]?(b[c]="",this.setState({values:b}),this.triggerChange(b)):g&&(b[d]="",g.current.focus(),this.setState({values:b}),this.triggerChange(b));break;case qv.left:u.preventDefault(),g&&g.current.focus();break;case qv.right:u.preventDefault(),y&&y.current.focus();break;case qv.up:case qv.down:u.preventDefault();break}},this.onFocus=u=>{u.target.select(u)};const{fields:n,values:r}=e;let i,o=0;if(r&&r.length){i=[];for(let u=0;u=n?0:r.length}else i=Array(n).fill("");this.state={values:i,autoFocusIndex:o},this.iRefs=[];for(let u=0;uN.jsx("input",{type:g==="number"?"tel":g,pattern:g==="number"?"[0-9]*":null,autoFocus:d&&E===n,style:y,"data-id":E,value:C,id:this.props.id?`${this.props.id}-${E}`:null,ref:this.iRefs[E],onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,disabled:this.props.disabled,required:this.props.required,placeholder:this.props.placeholder[E]},`${this.id}-${E}`))}),r&&N.jsxs("div",{className:"rc-loading",style:v,children:[N.jsx("div",{className:"rc-blur"}),N.jsx("svg",{className:"rc-spin",viewBox:"0 0 1024 1024","data-icon":"loading",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:N.jsx("path",{fill:"#006fff",d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"})})]})]})}}Z0.propTypes={type:Oe.oneOf(["text","number"]),onChange:Oe.func,onComplete:Oe.func,fields:Oe.number,loading:Oe.bool,title:Oe.string,fieldWidth:Oe.number,id:Oe.string,fieldHeight:Oe.number,autoFocus:Oe.bool,className:Oe.string,values:Oe.arrayOf(Oe.string),disabled:Oe.bool,required:Oe.bool,placeholder:Oe.arrayOf(Oe.string)};Z0.defaultProps={type:"number",fields:6,fieldWidth:58,fieldHeight:54,autoFocus:!0,disabled:!1,required:!1,placeholder:[]};function FJ(t){let{queryClient:e,query:n,execFnOverride:r}={};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/passport/totp/confirm".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("*abac.ConfirmClassicPassportTotpActionResDto",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}const LJ=()=>{const{goBack:t,state:e}=Lr(),{submit:n,mutation:r}=FJ(),{onComplete:i}=X0(),o=e==null?void 0:e.totpUrl,u=e==null?void 0:e.forcedTotp,c=e==null?void 0:e.password,d=e==null?void 0:e.value,h=b=>{n({...b,password:c,value:d}).then(y).catch(v=>{g==null||g.setErrors(Og(v))})},g=$l({initialValues:{},onSubmit:h}),y=b=>{var v;(v=b.data)!=null&&v.session&&i(b)};return{mutation:r,totpUrl:o,forcedTotp:u,form:g,submit:h,goBack:t}},UJ=({})=>{const{goBack:t,mutation:e,form:n,totpUrl:r,forcedTotp:i}=LJ(),o=Wn($r);return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:o.setupTotp}),N.jsx("p",{children:o.setupTotpDescription}),N.jsx(jo,{query:e}),N.jsx(jJ,{form:n,totpUrl:r,mutation:e,forcedTotp:i}),N.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:t,children:"Try another account"})]})},jJ=({form:t,mutation:e,forcedTotp:n,totpUrl:r})=>{var u;const i=Wn($r),o=!t.values.totpCode||t.values.totpCode.length!=6;return N.jsxs("form",{onSubmit:c=>{c.preventDefault(),t.submitForm()},children:[N.jsx("center",{children:N.jsx(eN,{value:r,width:200,height:200})}),N.jsx(Z0,{values:(u=t.values.totpCode)==null?void 0:u.split(""),onChange:c=>t.setFieldValue(Ux.Fields.totpCode,c,!1),className:"otp-react-code-input"}),N.jsx(Af,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:o,children:i.continue}),n!==!0&&N.jsxs(N.Fragment,{children:[N.jsx("p",{className:"mt-4",children:i.skipTotpInfo}),N.jsx("button",{className:"btn btn-warning w-100 d-block mb-2",children:i.skipTotpButton})]})]})},BJ=()=>{const{goBack:t,state:e,replace:n,push:r}=Lr(),i=HI(),{onComplete:o}=X0(),u=e==null?void 0:e.totpUrl,c=e==null?void 0:e.forcedTotp,d=e==null?void 0:e.password,h=e==null?void 0:e.value,g=v=>{i.mutateAsync(new xs({...v,password:d,value:h})).then(b).catch(C=>{y==null||y.setErrors(Og(C))})},y=$l({initialValues:{},onSubmit:(v,C)=>{i.mutateAsync(new xs(v))}}),b=v=>{var C,E;(E=(C=v.data)==null?void 0:C.item)!=null&&E.session&&o(v)};return{mutation:i,totpUrl:u,forcedTotp:c,form:y,submit:g,goBack:t}},HJ=({})=>{const{goBack:t,mutation:e,form:n}=BJ(),r=Wn($r);return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:r.enterTotp}),N.jsx("p",{children:r.enterTotpDescription}),N.jsx(jo,{query:e}),N.jsx(qJ,{form:n,mutation:e}),N.jsx("button",{id:"go-back-button",className:"btn w-100 d-block",onClick:t,children:r.anotherAccount})]})},qJ=({form:t,mutation:e})=>{var i;const n=!t.values.totpCode||t.values.totpCode.length!=6,r=Wn($r);return N.jsxs("form",{onSubmit:o=>{o.preventDefault(),t.submitForm()},children:[N.jsx(Z0,{values:(i=t.values.totpCode)==null?void 0:i.split(""),onChange:o=>t.setFieldValue(Ux.Fields.totpCode,o,!1),className:"otp-react-code-input"}),N.jsx(Af,{className:"btn btn-success w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:n,children:r.continue})]})};var P0;function Rt(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var zJ=0;function ki(t){return"__private_"+zJ+++"_"+t}const VJ=t=>{const n=xf()??void 0,[r,i]=_.useState(!1),[o,u]=_.useState();return{...Fr({mutationFn:h=>(i(!1),Nf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Nf{}P0=Nf;Nf.URL="/passports/signup/classic";Nf.NewUrl=t=>Of(P0.URL,void 0,t);Nf.Method="post";Nf.Fetch$=async(t,e,n,r)=>$f(r??P0.NewUrl(t),{method:P0.Method,...n||{}},e);Nf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Jh(u)})=>{e=e||(c=>new Jh(c));const u=await P0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};Nf.Definition={name:"ClassicSignup",cliName:"up",url:"/passports/signup/classic",method:"post",description:"Signup a user into system via public access (aka website visitors) using either email or phone number.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"sessionSecret",description:"Required when the account creation requires recaptcha, or otp approval first. If such requirements are there, you first need to follow the otp apis, get the session secret and pass it here to complete the setup.",type:"string"},{name:"type",type:"enum",of:[{k:"phonenumber"},{k:"email"}],tags:{validate:"required"}},{name:"password",type:"string",tags:{validate:"required"}},{name:"firstName",type:"string",tags:{validate:"required"}},{name:"lastName",type:"string",tags:{validate:"required"}},{name:"inviteId",type:"string?"},{name:"publicJoinKeyId",type:"string?"},{name:"workspaceTypeId",type:"string?",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Returns the user session in case that signup is completely successful.",type:"one",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"continueToTotp",description:"Returns true and session will be empty if, the totp is required by the installation. In such scenario, you need to forward user to setup totp screen.",type:"bool"},{name:"forcedTotp",description:"Determines if user must complete totp in order to continue based on workspace or installation",type:"bool"}]}};var gh=ki("value"),yh=ki("sessionSecret"),vh=ki("type"),bh=ki("password"),wh=ki("firstName"),Sh=ki("lastName"),Ch=ki("inviteId"),$h=ki("publicJoinKeyId"),Eh=ki("workspaceTypeId"),WC=ki("isJsonAppliable");class mu{get value(){return Rt(this,gh)[gh]}set value(e){Rt(this,gh)[gh]=String(e)}setValue(e){return this.value=e,this}get sessionSecret(){return Rt(this,yh)[yh]}set sessionSecret(e){Rt(this,yh)[yh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}get type(){return Rt(this,vh)[vh]}set type(e){Rt(this,vh)[vh]=e}setType(e){return this.type=e,this}get password(){return Rt(this,bh)[bh]}set password(e){Rt(this,bh)[bh]=String(e)}setPassword(e){return this.password=e,this}get firstName(){return Rt(this,wh)[wh]}set firstName(e){Rt(this,wh)[wh]=String(e)}setFirstName(e){return this.firstName=e,this}get lastName(){return Rt(this,Sh)[Sh]}set lastName(e){Rt(this,Sh)[Sh]=String(e)}setLastName(e){return this.lastName=e,this}get inviteId(){return Rt(this,Ch)[Ch]}set inviteId(e){const n=typeof e=="string"||e===void 0||e===null;Rt(this,Ch)[Ch]=n?e:String(e)}setInviteId(e){return this.inviteId=e,this}get publicJoinKeyId(){return Rt(this,$h)[$h]}set publicJoinKeyId(e){const n=typeof e=="string"||e===void 0||e===null;Rt(this,$h)[$h]=n?e:String(e)}setPublicJoinKeyId(e){return this.publicJoinKeyId=e,this}get workspaceTypeId(){return Rt(this,Eh)[Eh]}set workspaceTypeId(e){const n=typeof e=="string"||e===void 0||e===null;Rt(this,Eh)[Eh]=n?e:String(e)}setWorkspaceTypeId(e){return this.workspaceTypeId=e,this}constructor(e=void 0){if(Object.defineProperty(this,WC,{value:GJ}),Object.defineProperty(this,gh,{writable:!0,value:""}),Object.defineProperty(this,yh,{writable:!0,value:""}),Object.defineProperty(this,vh,{writable:!0,value:void 0}),Object.defineProperty(this,bh,{writable:!0,value:""}),Object.defineProperty(this,wh,{writable:!0,value:""}),Object.defineProperty(this,Sh,{writable:!0,value:""}),Object.defineProperty(this,Ch,{writable:!0,value:void 0}),Object.defineProperty(this,$h,{writable:!0,value:void 0}),Object.defineProperty(this,Eh,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Rt(this,WC)[WC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.type!==void 0&&(this.type=n.type),n.password!==void 0&&(this.password=n.password),n.firstName!==void 0&&(this.firstName=n.firstName),n.lastName!==void 0&&(this.lastName=n.lastName),n.inviteId!==void 0&&(this.inviteId=n.inviteId),n.publicJoinKeyId!==void 0&&(this.publicJoinKeyId=n.publicJoinKeyId),n.workspaceTypeId!==void 0&&(this.workspaceTypeId=n.workspaceTypeId)}toJSON(){return{value:Rt(this,gh)[gh],sessionSecret:Rt(this,yh)[yh],type:Rt(this,vh)[vh],password:Rt(this,bh)[bh],firstName:Rt(this,wh)[wh],lastName:Rt(this,Sh)[Sh],inviteId:Rt(this,Ch)[Ch],publicJoinKeyId:Rt(this,$h)[$h],workspaceTypeId:Rt(this,Eh)[Eh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",sessionSecret:"sessionSecret",type:"type",password:"password",firstName:"firstName",lastName:"lastName",inviteId:"inviteId",publicJoinKeyId:"publicJoinKeyId",workspaceTypeId:"workspaceTypeId"}}static from(e){return new mu(e)}static with(e){return new mu(e)}copyWith(e){return new mu({...this.toJSON(),...e})}clone(){return new mu(this.toJSON())}}function GJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var rl=ki("session"),xh=ki("totpUrl"),Th=ki("continueToTotp"),Oh=ki("forcedTotp"),KC=ki("isJsonAppliable"),zv=ki("lateInitFields");class Jh{get session(){return Rt(this,rl)[rl]}set session(e){e instanceof Si?Rt(this,rl)[rl]=e:Rt(this,rl)[rl]=new Si(e)}setSession(e){return this.session=e,this}get totpUrl(){return Rt(this,xh)[xh]}set totpUrl(e){Rt(this,xh)[xh]=String(e)}setTotpUrl(e){return this.totpUrl=e,this}get continueToTotp(){return Rt(this,Th)[Th]}set continueToTotp(e){Rt(this,Th)[Th]=!!e}setContinueToTotp(e){return this.continueToTotp=e,this}get forcedTotp(){return Rt(this,Oh)[Oh]}set forcedTotp(e){Rt(this,Oh)[Oh]=!!e}setForcedTotp(e){return this.forcedTotp=e,this}constructor(e=void 0){if(Object.defineProperty(this,zv,{value:KJ}),Object.defineProperty(this,KC,{value:WJ}),Object.defineProperty(this,rl,{writable:!0,value:void 0}),Object.defineProperty(this,xh,{writable:!0,value:""}),Object.defineProperty(this,Th,{writable:!0,value:void 0}),Object.defineProperty(this,Oh,{writable:!0,value:void 0}),e==null){Rt(this,zv)[zv]();return}if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Rt(this,KC)[KC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.continueToTotp!==void 0&&(this.continueToTotp=n.continueToTotp),n.forcedTotp!==void 0&&(this.forcedTotp=n.forcedTotp),Rt(this,zv)[zv](e)}toJSON(){return{session:Rt(this,rl)[rl],totpUrl:Rt(this,xh)[xh],continueToTotp:Rt(this,Th)[Th],forcedTotp:Rt(this,Oh)[Oh]}}toString(){return JSON.stringify(this)}static get Fields(){return{session$:"session",get session(){return hp("session",Si.Fields)},totpUrl:"totpUrl",continueToTotp:"continueToTotp",forcedTotp:"forcedTotp"}}static from(e){return new Jh(e)}static with(e){return new Jh(e)}copyWith(e){return new Jh({...this.toJSON(),...e})}clone(){return new Jh(this.toJSON())}}function WJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function KJ(t={}){const e=t;e.session instanceof Si||(this.session=new Si(e.session||{}))}var I0;function Wa(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var YJ=0;function e1(t){return"__private_"+YJ+++"_"+t}const QJ=t=>{const e=xf(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=_.useState(!1),[o,u]=_.useState(),c=()=>(i(!1),ml.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Uo({queryKey:[ml.NewUrl(t==null?void 0:t.qs)],queryFn:c,...t||{}}),isCompleted:r,response:o}};class ml{}I0=ml;ml.URL="/workspace/public/types";ml.NewUrl=t=>Of(I0.URL,void 0,t);ml.Method="get";ml.Fetch$=async(t,e,n,r)=>$f(r??I0.NewUrl(t),{method:I0.Method,...n||{}},e);ml.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Xh(u)})=>{e=e||(c=>new Xh(c));const u=await I0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};ml.Definition={name:"QueryWorkspaceTypesPublicly",cliName:"public-types",url:"/workspace/public/types",method:"get",description:"Returns the workspaces types available in the project publicly without authentication, and the value could be used upon signup to go different route.",out:{envelope:"GResponse",fields:[{name:"title",type:"string"},{name:"description",type:"string"},{name:"uniqueId",type:"string"},{name:"slug",type:"string"}]}};var _h=e1("title"),Ah=e1("description"),Rh=e1("uniqueId"),Ph=e1("slug"),YC=e1("isJsonAppliable");class Xh{get title(){return Wa(this,_h)[_h]}set title(e){Wa(this,_h)[_h]=String(e)}setTitle(e){return this.title=e,this}get description(){return Wa(this,Ah)[Ah]}set description(e){Wa(this,Ah)[Ah]=String(e)}setDescription(e){return this.description=e,this}get uniqueId(){return Wa(this,Rh)[Rh]}set uniqueId(e){Wa(this,Rh)[Rh]=String(e)}setUniqueId(e){return this.uniqueId=e,this}get slug(){return Wa(this,Ph)[Ph]}set slug(e){Wa(this,Ph)[Ph]=String(e)}setSlug(e){return this.slug=e,this}constructor(e=void 0){if(Object.defineProperty(this,YC,{value:JJ}),Object.defineProperty(this,_h,{writable:!0,value:""}),Object.defineProperty(this,Ah,{writable:!0,value:""}),Object.defineProperty(this,Rh,{writable:!0,value:""}),Object.defineProperty(this,Ph,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Wa(this,YC)[YC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.title!==void 0&&(this.title=n.title),n.description!==void 0&&(this.description=n.description),n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.slug!==void 0&&(this.slug=n.slug)}toJSON(){return{title:Wa(this,_h)[_h],description:Wa(this,Ah)[Ah],uniqueId:Wa(this,Rh)[Rh],slug:Wa(this,Ph)[Ph]}}toString(){return JSON.stringify(this)}static get Fields(){return{title:"title",description:"description",uniqueId:"uniqueId",slug:"slug"}}static from(e){return new Xh(e)}static with(e){return new Xh(e)}copyWith(e){return new Xh({...this.toJSON(),...e})}clone(){return new Xh(this.toJSON())}}function JJ(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const XJ=()=>{var O;const{goBack:t,state:e,push:n}=Lr(),{locale:r}=Ci(),{onComplete:i}=X0(),o=VJ(),u=e==null?void 0:e.totpUrl,{data:c,isLoading:d}=QJ({}),h=((O=c==null?void 0:c.data)==null?void 0:O.items)||[],g=Wn($r),y=sessionStorage.getItem("workspace_type_id"),b=R=>{o.mutateAsync(new mu({...R,value:e==null?void 0:e.value,workspaceTypeId:x,type:e==null?void 0:e.type,sessionSecret:e==null?void 0:e.sessionSecret})).then(C).catch(D=>{v==null||v.setErrors(Og(D))})},v=$l({initialValues:{},onSubmit:b});_.useEffect(()=>{v==null||v.setFieldValue(mu.Fields.value,e==null?void 0:e.value)},[e==null?void 0:e.value]);const C=R=>{R.data.item.session?i(R):R.data.item.continueToTotp&&n(`/${r}/selfservice/totp-setup`,void 0,{totpUrl:R.data.item.totpUrl||u,forcedTotp:R.data.item.forcedTotp,password:v.values.password,value:e==null?void 0:e.value})},[E,$]=_.useState("");let x=h.length===1?h[0].uniqueId:E;return y&&(x=y),{mutation:o,isLoading:d,form:v,setSelectedWorkspaceType:$,totpUrl:u,workspaceTypeId:x,submit:b,goBack:t,s:g,workspaceTypes:h,state:e}},ZJ=({})=>{const{goBack:t,mutation:e,form:n,workspaceTypes:r,workspaceTypeId:i,isLoading:o,setSelectedWorkspaceType:u,s:c}=XJ();return o?N.jsx("div",{className:"signin-form-container",children:N.jsx(BI,{})}):r.length===0?N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:c.registerationNotPossible}),N.jsx("p",{children:c.registerationNotPossibleLine1}),N.jsx("p",{children:c.registerationNotPossibleLine2})]}):r.length>=2&&!i?N.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[N.jsx("h1",{children:c.completeYourAccount}),N.jsx("p",{children:c.completeYourAccountDescription}),N.jsx("div",{className:" ",children:r.map(d=>N.jsxs("div",{className:"mt-3",children:[N.jsx("h2",{children:d.title}),N.jsx("p",{children:d.description}),N.jsx("button",{className:"btn btn-outline-primary w-100",onClick:()=>{u(d.uniqueId)},children:"Select"},d.uniqueId)]},d.uniqueId))})]}):N.jsxs("div",{className:"signin-form-container fadein",style:{animation:"fadein 1s"},children:[N.jsx("h1",{children:c.completeYourAccount}),N.jsx("p",{children:c.completeYourAccountDescription}),N.jsx(jo,{query:e}),N.jsx(eX,{form:n,mutation:e}),N.jsx("button",{id:"go-step-back",onClick:t,className:"bg-transparent border-0",children:c.cancelStep})]})},eX=({form:t,mutation:e})=>{const n=Wn($r),r=!t.values.firstName||!t.values.lastName||!t.values.password||t.values.password.length<6;return N.jsxs("form",{onSubmit:i=>{i.preventDefault(),t.submitForm()},children:[N.jsx(Mo,{value:t.values.firstName,label:n.firstName,id:"first-name-input",autoFocus:!0,errorMessage:t.errors.firstName,onChange:i=>t.setFieldValue(mu.Fields.firstName,i,!1)}),N.jsx(Mo,{value:t.values.lastName,label:n.lastName,id:"last-name-input",errorMessage:t.errors.lastName,onChange:i=>t.setFieldValue(mu.Fields.lastName,i,!1)}),N.jsx(Mo,{type:"password",value:t.values.password,label:n.password,id:"password-input",errorMessage:t.errors.password,onChange:i=>t.setFieldValue(mu.Fields.password,i,!1)}),N.jsx(Af,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:r,children:n.continue})]})};var N0;function mi(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var tX=0;function xp(t){return"__private_"+tX+++"_"+t}const nX=t=>{const n=xf()??void 0,[r,i]=_.useState(!1),[o,u]=_.useState();return{...Fr({mutationFn:h=>(i(!1),Mf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result)))}),isCompleted:r,response:o}};class Mf{}N0=Mf;Mf.URL="/workspace/passport/request-otp";Mf.NewUrl=t=>Of(N0.URL,void 0,t);Mf.Method="post";Mf.Fetch$=async(t,e,n,r)=>$f(r??N0.NewUrl(t),{method:N0.Method,...n||{}},e);Mf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new Zh(u)})=>{e=e||(c=>new Zh(c));const u=await N0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};Mf.Definition={name:"ClassicPassportRequestOtp",cliName:"otp-request",url:"/workspace/passport/request-otp",method:"post",description:"Triggers an otp request, and will send an sms or email to the passport. This endpoint is not used for login, but rather makes a request at initial step. Later you can call classicPassportOtp to get in.",in:{fields:[{name:"value",description:"Passport value (email, phone number) which would be receiving the otp code.",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"suspendUntil",type:"int64"},{name:"validUntil",type:"int64"},{name:"blockedUntil",type:"int64"},{name:"secondsToUnblock",description:"The amount of time left to unblock for next request",type:"int64"}]}};var Ih=xp("value"),QC=xp("isJsonAppliable");class tg{get value(){return mi(this,Ih)[Ih]}set value(e){mi(this,Ih)[Ih]=String(e)}setValue(e){return this.value=e,this}constructor(e=void 0){if(Object.defineProperty(this,QC,{value:rX}),Object.defineProperty(this,Ih,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(mi(this,QC)[QC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value)}toJSON(){return{value:mi(this,Ih)[Ih]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value"}}static from(e){return new tg(e)}static with(e){return new tg(e)}copyWith(e){return new tg({...this.toJSON(),...e})}clone(){return new tg(this.toJSON())}}function rX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var Nh=xp("suspendUntil"),Mh=xp("validUntil"),Dh=xp("blockedUntil"),kh=xp("secondsToUnblock"),JC=xp("isJsonAppliable");class Zh{get suspendUntil(){return mi(this,Nh)[Nh]}set suspendUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,Nh)[Nh]=r)}setSuspendUntil(e){return this.suspendUntil=e,this}get validUntil(){return mi(this,Mh)[Mh]}set validUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,Mh)[Mh]=r)}setValidUntil(e){return this.validUntil=e,this}get blockedUntil(){return mi(this,Dh)[Dh]}set blockedUntil(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,Dh)[Dh]=r)}setBlockedUntil(e){return this.blockedUntil=e,this}get secondsToUnblock(){return mi(this,kh)[kh]}set secondsToUnblock(e){const r=typeof e=="number"?e:Number(e);Number.isNaN(r)||(mi(this,kh)[kh]=r)}setSecondsToUnblock(e){return this.secondsToUnblock=e,this}constructor(e=void 0){if(Object.defineProperty(this,JC,{value:iX}),Object.defineProperty(this,Nh,{writable:!0,value:0}),Object.defineProperty(this,Mh,{writable:!0,value:0}),Object.defineProperty(this,Dh,{writable:!0,value:0}),Object.defineProperty(this,kh,{writable:!0,value:0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(mi(this,JC)[JC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.suspendUntil!==void 0&&(this.suspendUntil=n.suspendUntil),n.validUntil!==void 0&&(this.validUntil=n.validUntil),n.blockedUntil!==void 0&&(this.blockedUntil=n.blockedUntil),n.secondsToUnblock!==void 0&&(this.secondsToUnblock=n.secondsToUnblock)}toJSON(){return{suspendUntil:mi(this,Nh)[Nh],validUntil:mi(this,Mh)[Mh],blockedUntil:mi(this,Dh)[Dh],secondsToUnblock:mi(this,kh)[kh]}}toString(){return JSON.stringify(this)}static get Fields(){return{suspendUntil:"suspendUntil",validUntil:"validUntil",blockedUntil:"blockedUntil",secondsToUnblock:"secondsToUnblock"}}static from(e){return new Zh(e)}static with(e){return new Zh(e)}copyWith(e){return new Zh({...this.toJSON(),...e})}clone(){return new Zh(this.toJSON())}}function iX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const aX=()=>{const t=Wn($r),{goBack:e,state:n,push:r}=Lr(),{locale:i}=Ci(),{onComplete:o}=X0(),u=HI(),c=n==null?void 0:n.canContinueOnOtp,d=nX(),h=v=>{u.mutateAsync(new xs({value:v.value,password:v.password})).then(b).catch(C=>{g==null||g.setErrors(Og(C))})},g=$l({initialValues:{},onSubmit:h}),y=()=>{d.mutateAsync(new tg({value:g.values.value})).then(v=>{r("../otp",void 0,{value:g.values.value})}).catch(v=>{v.error.message==="OtaRequestBlockedUntil"&&r("../otp",void 0,{value:g.values.value})})};_.useEffect(()=>{n!=null&&n.value&&g.setFieldValue(xs.Fields.value,n.value)},[n==null?void 0:n.value]);const b=v=>{var C,E;v.data.item.session?o(v):(C=v.data.item.next)!=null&&C.includes("enter-totp")?r(`/${i}/selfservice/totp-enter`,void 0,{value:g.values.value,password:g.values.password}):(E=v.data.item.next)!=null&&E.includes("setup-totp")&&r(`/${i}/selfservice/totp-setup`,void 0,{totpUrl:v.data.item.totpUrl,forcedTotp:!0,password:g.values.password,value:n==null?void 0:n.value})};return{mutation:u,otpEnabled:c,continueWithOtp:y,form:g,submit:h,goBack:e,s:t}},oX=({})=>{const{goBack:t,mutation:e,form:n,continueWithOtp:r,otpEnabled:i,s:o}=aX();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:o.enterPassword}),N.jsx("p",{children:o.enterPasswordDescription}),N.jsx(jo,{query:e}),N.jsx(sX,{form:n,mutation:e,continueWithOtp:r,otpEnabled:i}),N.jsx("button",{id:"go-back-button",onClick:t,className:"btn bg-transparent w-100 mt-4",children:o.anotherAccount})]})},sX=({form:t,mutation:e,otpEnabled:n,continueWithOtp:r})=>{const i=Wn($r),o=!t.values.value||!t.values.password;return N.jsxs("form",{onSubmit:u=>{u.preventDefault(),t.submitForm()},children:[N.jsx(Mo,{type:"password",value:t.values.password,label:i.password,id:"password-input",autoFocus:!0,errorMessage:t.errors.password,onChange:u=>t.setFieldValue(xs.Fields.password,u,!1)}),N.jsx(Af,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:o,children:i.continue}),n&&N.jsx("button",{onClick:r,className:"bg-transparent border-0 mt-3 mb-3",children:i.useOneTimePassword})]})};var M0;function wr(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var uX=0;function Df(t){return"__private_"+uX+++"_"+t}const lX=t=>{const e=xf(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=_.useState(!1),[o,u]=_.useState();return{...Fr({mutationFn:h=>(i(!1),kf.Fetch({body:h,headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(g=>(g.done.then(()=>{i(!0)}),u(g.response),g.response.result))),...t||{}}),isCompleted:r,response:o}};class kf{}M0=kf;kf.URL="/workspace/passport/otp";kf.NewUrl=t=>Of(M0.URL,void 0,t);kf.Method="post";kf.Fetch$=async(t,e,n,r)=>$f(r??M0.NewUrl(t),{method:M0.Method,...n||{}},e);kf.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new tp(u)})=>{e=e||(c=>new tp(c));const u=await M0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};kf.Definition={name:"ClassicPassportOtp",cliName:"otp",url:"/workspace/passport/otp",method:"post",description:"Authenticate the user publicly for classic methods using communication service, such as sms, call, or email. You need to call classicPassportRequestOtp beforehand to send a otp code, and then validate it with this API. Also checkClassicPassport action might already sent the otp, so make sure you don't send it twice.",in:{fields:[{name:"value",type:"string",tags:{validate:"required"}},{name:"otp",type:"string",tags:{validate:"required"}}]},out:{envelope:"GResponse",fields:[{name:"session",description:"Upon successful authentication, there will be a session dto generated, which is a ground information of authorized user and can be stored in front-end.",type:"one?",target:"UserSessionDto"},{name:"totpUrl",description:"If time based otp is available, we add it response to make it easier for ui.",type:"string"},{name:"sessionSecret",description:"The session secret will be used to call complete user registration api.",type:"string"},{name:"continueWithCreation",description:"If return true, means the OTP is correct and user needs to be created before continue the authentication process.",type:"bool"}]}};var Fh=Df("value"),Lh=Df("otp"),XC=Df("isJsonAppliable");class ep{get value(){return wr(this,Fh)[Fh]}set value(e){wr(this,Fh)[Fh]=String(e)}setValue(e){return this.value=e,this}get otp(){return wr(this,Lh)[Lh]}set otp(e){wr(this,Lh)[Lh]=String(e)}setOtp(e){return this.otp=e,this}constructor(e=void 0){if(Object.defineProperty(this,XC,{value:cX}),Object.defineProperty(this,Fh,{writable:!0,value:""}),Object.defineProperty(this,Lh,{writable:!0,value:""}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(wr(this,XC)[XC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.value!==void 0&&(this.value=n.value),n.otp!==void 0&&(this.otp=n.otp)}toJSON(){return{value:wr(this,Fh)[Fh],otp:wr(this,Lh)[Lh]}}toString(){return JSON.stringify(this)}static get Fields(){return{value:"value",otp:"otp"}}static from(e){return new ep(e)}static with(e){return new ep(e)}copyWith(e){return new ep({...this.toJSON(),...e})}clone(){return new ep(this.toJSON())}}function cX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var il=Df("session"),Uh=Df("totpUrl"),jh=Df("sessionSecret"),Bh=Df("continueWithCreation"),ZC=Df("isJsonAppliable");class tp{get session(){return wr(this,il)[il]}set session(e){e instanceof Si?wr(this,il)[il]=e:wr(this,il)[il]=new Si(e)}setSession(e){return this.session=e,this}get totpUrl(){return wr(this,Uh)[Uh]}set totpUrl(e){wr(this,Uh)[Uh]=String(e)}setTotpUrl(e){return this.totpUrl=e,this}get sessionSecret(){return wr(this,jh)[jh]}set sessionSecret(e){wr(this,jh)[jh]=String(e)}setSessionSecret(e){return this.sessionSecret=e,this}get continueWithCreation(){return wr(this,Bh)[Bh]}set continueWithCreation(e){wr(this,Bh)[Bh]=!!e}setContinueWithCreation(e){return this.continueWithCreation=e,this}constructor(e=void 0){if(Object.defineProperty(this,ZC,{value:fX}),Object.defineProperty(this,il,{writable:!0,value:void 0}),Object.defineProperty(this,Uh,{writable:!0,value:""}),Object.defineProperty(this,jh,{writable:!0,value:""}),Object.defineProperty(this,Bh,{writable:!0,value:void 0}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(wr(this,ZC)[ZC](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.session!==void 0&&(this.session=n.session),n.totpUrl!==void 0&&(this.totpUrl=n.totpUrl),n.sessionSecret!==void 0&&(this.sessionSecret=n.sessionSecret),n.continueWithCreation!==void 0&&(this.continueWithCreation=n.continueWithCreation)}toJSON(){return{session:wr(this,il)[il],totpUrl:wr(this,Uh)[Uh],sessionSecret:wr(this,jh)[jh],continueWithCreation:wr(this,Bh)[Bh]}}toString(){return JSON.stringify(this)}static get Fields(){return{session:"session",totpUrl:"totpUrl",sessionSecret:"sessionSecret",continueWithCreation:"continueWithCreation"}}static from(e){return new tp(e)}static with(e){return new tp(e)}copyWith(e){return new tp({...this.toJSON(),...e})}clone(){return new tp(this.toJSON())}}function fX(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}const dX=()=>{const{goBack:t,state:e,replace:n,push:r}=Lr(),{locale:i}=Ci(),o=Wn($r),u=lX({}),{onComplete:c}=X0(),d=y=>{u.mutateAsync(new ep({...y,value:e.value})).then(g).catch(b=>{h==null||h.setErrors(Og(b))})},h=$l({initialValues:{},onSubmit:d}),g=y=>{var b,v,C,E,$;(b=y.data)!=null&&b.item.session?c(y):(C=(v=y.data)==null?void 0:v.item)!=null&&C.continueWithCreation&&r(`/${i}/selfservice/complete`,void 0,{value:e.value,type:e.type,sessionSecret:(E=y.data.item)==null?void 0:E.sessionSecret,totpUrl:($=y.data.item)==null?void 0:$.totpUrl})};return{mutation:u,form:h,s:o,submit:d,goBack:t}},hX=({})=>{const{goBack:t,mutation:e,form:n,s:r}=dX();return N.jsxs("div",{className:"signin-form-container",children:[N.jsx("h1",{children:r.enterOtp}),N.jsx("p",{children:r.enterOtpDescription}),N.jsx(jo,{query:e}),N.jsx(pX,{form:n,mutation:e}),N.jsx("button",{id:"go-back-button",className:"btn bg-transparent w-100 mt-4",onClick:t,children:r.anotherAccount})]})},pX=({form:t,mutation:e})=>{var i;const n=!t.values.otp,r=Wn($r);return N.jsxs("form",{onSubmit:o=>{o.preventDefault(),t.submitForm()},children:[N.jsx(Z0,{values:(i=t.values.otp)==null?void 0:i.split(""),onChange:o=>t.setFieldValue(ep.Fields.otp,o,!1),className:"otp-react-code-input"}),N.jsx(Af,{className:"btn btn-primary w-100 d-block mb-2",mutation:e,id:"submit-form",disabled:n,children:r.continue})]})};function t1(t){const e=_.useRef(),n=Sf();_.useEffect(()=>{var h;t!=null&&t.data&&((h=e.current)==null||h.setValues(t.data))},[t==null?void 0:t.data]);const r=Lr(),i=r.query.uniqueId,o=r.query.linkerId,u=!!i,{locale:c}=Ci(),d=vn();return{router:r,t:d,isEditing:u,locale:c,queryClient:n,formik:e,uniqueId:i,linkerId:o}}function mX(t,e){var r,i;let n=!1;for(const o of((r=t==null?void 0:t.role)==null?void 0:r.capabilities)||[])if(o.uniqueId===e||o.uniqueId==="root.*"||(i=o==null?void 0:o.uniqueId)!=null&&i.endsWith(".*")&&e.includes(o.uniqueId.replace("*",""))){n=!0;break}return n}function tN(t){for(var e=[],n=t.length,r,i=0;i>>0,e.push(String.fromCharCode(r));return e.join("")}function gX(t,e,n,r,i){var o=new XMLHttpRequest;o.open(e,t),o.addEventListener("load",function(){var u=tN(this.responseText);u="data:application/text;base64,"+btoa(u),document.location=u},!1),o.setRequestHeader("Authorization",n),o.setRequestHeader("Workspace-Id",r),o.setRequestHeader("role-Id",i),o.overrideMimeType("application/octet-stream; charset=x-user-defined;"),o.send(null)}const yX=({path:t})=>{vn();const{options:e}=_.useContext(en);iN(t?()=>{const n=e==null?void 0:e.headers;gX(e.prefix+""+t,"GET",n.authorization||"",n["workspace-id"]||"",n["role-id"]||"")}:void 0,jn.ExportTable)};function n1(t,e){const n={[jn.NewEntity]:"n",[jn.NewChildEntity]:"n",[jn.EditEntity]:"e",[jn.SidebarToggle]:"m",[jn.ViewQuestions]:"q",[jn.Delete]:"Backspace",[jn.StopStart]:" ",[jn.ExportTable]:"x",[jn.CommonBack]:"Escape",[jn.Select1Index]:"1",[jn.Select2Index]:"2",[jn.Select3Index]:"3",[jn.Select4Index]:"4",[jn.Select5Index]:"5",[jn.Select6Index]:"6",[jn.Select7Index]:"7",[jn.Select8Index]:"8",[jn.Select9Index]:"9"};let r;return typeof t=="object"?r=t.map(i=>n[i]):typeof t=="string"&&(r=n[t]),vX(r,e)}function vX(t,e){_.useEffect(()=>{if(!t||t.length===0||!e)return;function n(r){var i=r||window.event,o=i.target||i.srcElement;const u=o.tagName.toUpperCase(),c=o.type;if(["TEXTAREA","SELECT"].includes(u)){r.key==="Escape"&&i.target.blur();return}if(u==="INPUT"&&(c==="text"||c==="password")){r.key==="Escape"&&i.target.blur();return}let d=!1;typeof t=="string"&&r.key===t?d=!0:Array.isArray(t)&&(d=t.includes(r.key)),d&&e&&e(r.key)}if(e)return window.addEventListener("keyup",n),()=>{window.removeEventListener("keyup",n)}},[e,t])}const nN=Ae.createContext({setActionMenu(){},removeActionMenu(){},removeActionMenuItems(t,e){},refs:[]});function bX(){const t=_.useContext(nN);return{addActions:(i,o)=>(t.setActionMenu(i,o),()=>t.removeActionMenu(i)),removeActionMenu:i=>{t.removeActionMenu(i)},deleteActions:(i,o)=>{t.removeActionMenuItems(i,o)}}}function r1(t,e,n,r){const i=_.useContext(nN);return _.useEffect(()=>(i.setActionMenu(t,e.filter(o=>o!==void 0)),()=>{i.removeActionMenu(t)}),[]),{addActions(o,u=t){i.setActionMenu(u,o)},deleteActions(o,u=t){i.removeActionMenuItems(u,o)}}}function wX({onCancel:t,onSave:e,access:n}){const{selectedUrw:r}=_.useContext(en),i=_.useMemo(()=>n?(r==null?void 0:r.workspaceId)!=="root"&&(n!=null&&n.onlyRoot)?!1:!(n!=null&&n.permissions)||n.permissions.length===0?!0:mX(r,n.permissions[0]):!0,[r,n]),o=vn();r1("editing-core",(({onSave:c,onCancel:d})=>i?[{icon:"",label:o.common.save,uniqueActionKey:"save",onSelect:()=>{c()}},d&&{icon:"",label:o.common.cancel,uniqueActionKey:"cancel",onSelect:()=>{d()}}]:[])({onCancel:t,onSave:e}))}function SX(t,e){const n=vn();n1(e,t),r1("commonEntityActions",[t&&{icon:Rg.add,label:n.actions.new,uniqueActionKey:"new",onSelect:t}])}function rN(t,e){const n=vn();n1(e,t),r1("navigation",[t&&{icon:Rg.left,label:n.actions.back,uniqueActionKey:"back",className:"navigator-back-button",onSelect:t}])}function CX(){const{session:t,options:e}=_.useContext(en);iN(()=>{var n=new XMLHttpRequest;n.open("GET",e.prefix+"roles/export"),n.addEventListener("load",function(){var i=tN(this.responseText);i="data:application/text;base64,"+btoa(i),document.location=i},!1);const r=e==null?void 0:e.headers;n.setRequestHeader("Authorization",r.authorization||""),n.setRequestHeader("Workspace-Id",r["workspace-id"]||""),n.setRequestHeader("role-Id",r["role-id"]||""),n.overrideMimeType("application/octet-stream; charset=x-user-defined;"),n.send(null)},jn.ExportTable)}function iN(t,e){const n=vn();n1(e,t),r1("exportTools",[t&&{icon:Rg.export,label:n.actions.new,uniqueActionKey:"export",onSelect:t}])}function $X(t,e){const n=vn();n1(e,t),r1("commonEntityActions",[t&&{icon:Rg.edit,label:n.actions.edit,uniqueActionKey:"new",onSelect:t}])}const EX=Ae.createContext({setPageTitle(){},removePageTitle(){},ref:{title:""}});function aN(t){const e=_.useContext(EX);_.useEffect(()=>(e.setPageTitle(t||""),()=>{e.removePageTitle("")}),[t])}const Zx=({data:t,Form:e,getSingleHook:n,postHook:r,onCancel:i,onFinishUriResolver:o,disableOnGetFailed:u,patchHook:c,onCreateTitle:d,onEditTitle:h,setInnerRef:g,beforeSetValues:y,forceEdit:b,onlyOnRoot:v,customClass:C,beforeSubmit:E,onSuccessPatchOrPost:$})=>{var te,be,we;const[x,O]=_.useState(),{router:R,isEditing:D,locale:P,formik:L,t:F}=t1({data:t}),H=_.useRef({});rN(i,jn.CommonBack);const{selectedUrw:Y}=_.useContext(en);aN((D||b?h:d)||"");const{query:X}=n;_.useEffect(()=>{var B,V,q;(B=X.data)!=null&&B.data&&((V=L.current)==null||V.setValues(y?y({...X.data.data}):{...X.data.data}),O((q=X.data)==null?void 0:q.data))},[X.data]),_.useEffect(()=>{var B;(B=L.current)==null||B.setSubmitting((r==null?void 0:r.mutation.isLoading)||(c==null?void 0:c.mutation.isLoading))},[r==null?void 0:r.isLoading,c==null?void 0:c.isLoading]);const ue=(B,V)=>{let q=H.current;q.uniqueId=B.uniqueId,E&&(q=E(q)),(D||b?c==null?void 0:c.submit(q,V):r==null?void 0:r.submit(q,V)).then(G=>{var J;(J=G.data)!=null&&J.uniqueId&&($?$(G):o?R.goBackOrDefault(o(G,P)):_z("Done",{type:"success"}))}).catch(G=>void 0)},me=((te=n==null?void 0:n.query)==null?void 0:te.isLoading)||!1||((be=r==null?void 0:r.query)==null?void 0:be.isLoading)||!1||((we=c==null?void 0:c.query)==null?void 0:we.isLoading)||!1;return wX({onSave(){var B;(B=L.current)==null||B.submitForm()}}),v&&Y.workspaceId!=="root"?N.jsx("div",{children:F.onlyOnRoot}):N.jsx(Jj,{innerRef:B=>{B&&(L.current=B,g&&g(B))},initialValues:{},onSubmit:ue,children:B=>{var V,q,ie,G;return N.jsx("form",{onSubmit:J=>{J.preventDefault(),B.submitForm()},className:C??"headless-form-entity-manager",children:N.jsxs("fieldset",{disabled:me,children:[N.jsx("div",{style:{marginBottom:"15px"},children:N.jsx(jo,{query:(V=r==null?void 0:r.mutation)!=null&&V.isError?r.mutation:(q=c==null?void 0:c.mutation)!=null&&q.isError?c.mutation:(ie=n==null?void 0:n.query)!=null&&ie.isError?n.query:null})}),u===!0&&((G=n==null?void 0:n.query)!=null&&G.isError)?null:N.jsx(e,{isEditing:D,initialData:x,form:{...B,setValues:(J,he)=>{for(const $e in J)Sr.set(H.current,$e,J[$e]);return B.setValues(J)},setFieldValue:(J,he,$e)=>(Sr.set(H.current,J,he),B.setFieldValue(J,he,$e))}}),N.jsx("button",{type:"submit",className:"d-none"})]})})}})};function oN({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=_.useContext(en),c=e?e(o):u?u(o):ar(o);let h=`${"/public-join-key/:uniqueId".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>c("GET",h),b=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=b!="undefined"&&b!=null&&b!=null&&b!="null"&&!!b;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Uo([o,n,"*abac.PublicJoinKeyEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}function xX(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/public-join-key".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueriesData("*abac.PublicJoinKeyEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function TX(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/public-join-key".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("*abac.PublicJoinKeyEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function yp(t){"@babel/helpers - typeof";return yp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yp(t)}function OX(t,e){if(yp(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(yp(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function sN(t){var e=OX(t,"string");return yp(e)=="symbol"?e:String(e)}function ng(t,e,n){return e=sN(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function WR(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ct(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?bi(Pg,--xa):0,vg--,_r===10&&(vg=1,eS--),_r}function eo(){return _r=xa2||k0(_r)>3?"":" "}function YX(t,e){for(;--e&&eo()&&!(_r<48||_r>102||_r>57&&_r<65||_r>70&&_r<97););return i1(t,M2()+(e<6&&vu()==32&&eo()==32))}function IE(t){for(;eo();)switch(_r){case t:return xa;case 34:case 39:t!==34&&t!==39&&IE(_r);break;case 40:t===41&&IE(t);break;case 92:eo();break}return xa}function QX(t,e){for(;eo()&&t+_r!==57;)if(t+_r===84&&vu()===47)break;return"/*"+i1(e,xa-1)+"*"+Zw(t===47?t:eo())}function JX(t){for(;!k0(vu());)eo();return i1(t,xa)}function XX(t){return mN(k2("",null,null,null,[""],t=pN(t),0,[0],t))}function k2(t,e,n,r,i,o,u,c,d){for(var h=0,g=0,y=u,b=0,v=0,C=0,E=1,$=1,x=1,O=0,R="",D=i,P=o,L=r,F=R;$;)switch(C=O,O=eo()){case 40:if(C!=108&&bi(F,y-1)==58){PE(F+=wn(D2(O),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:F+=D2(O);break;case 9:case 10:case 13:case 32:F+=KX(C);break;case 92:F+=YX(M2()-1,7);continue;case 47:switch(vu()){case 42:case 47:f2(ZX(QX(eo(),M2()),e,n),d);break;default:F+="/"}break;case 123*E:c[h++]=hu(F)*x;case 125*E:case 59:case 0:switch(O){case 0:case 125:$=0;case 59+g:x==-1&&(F=wn(F,/\f/g,"")),v>0&&hu(F)-y&&f2(v>32?QR(F+";",r,n,y-1):QR(wn(F," ","")+";",r,n,y-2),d);break;case 59:F+=";";default:if(f2(L=YR(F,e,n,h,g,i,c,R,D=[],P=[],y),o),O===123)if(g===0)k2(F,e,L,L,D,o,y,c,P);else switch(b===99&&bi(F,3)===110?100:b){case 100:case 108:case 109:case 115:k2(t,L,L,r&&f2(YR(t,L,L,0,0,i,c,R,i,D=[],y),P),i,P,y,c,r?D:P);break;default:k2(F,L,L,L,[""],P,0,c,P)}}h=g=v=0,E=x=1,R=F="",y=u;break;case 58:y=1+hu(F),v=C;default:if(E<1){if(O==123)--E;else if(O==125&&E++==0&&WX()==125)continue}switch(F+=Zw(O),O*E){case 38:x=g>0?1:(F+="\f",-1);break;case 44:c[h++]=(hu(F)-1)*x,x=1;break;case 64:vu()===45&&(F+=D2(eo())),b=vu(),g=y=hu(R=F+=JX(M2())),O++;break;case 45:C===45&&hu(F)==2&&(E=0)}}return o}function YR(t,e,n,r,i,o,u,c,d,h,g){for(var y=i-1,b=i===0?o:[""],v=rT(b),C=0,E=0,$=0;C0?b[x]+" "+O:wn(O,/&\f/g,b[x])))&&(d[$++]=R);return tS(t,e,n,i===0?tT:c,d,h,g)}function ZX(t,e,n){return tS(t,e,n,cN,Zw(GX()),D0(t,2,-2),0)}function QR(t,e,n,r){return tS(t,e,n,nT,D0(t,0,r),D0(t,r+1,-1),r)}function hg(t,e){for(var n="",r=rT(t),i=0;i6)switch(bi(t,e+1)){case 109:if(bi(t,e+4)!==45)break;case 102:return wn(t,/(.+:)(.+)-([^]+)/,"$1"+bn+"$2-$3$1"+cw+(bi(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~PE(t,"stretch")?gN(wn(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(bi(t,e+1)!==115)break;case 6444:switch(bi(t,hu(t)-3-(~PE(t,"!important")&&10))){case 107:return wn(t,":",":"+bn)+t;case 101:return wn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+bn+(bi(t,14)===45?"inline-":"")+"box$3$1"+bn+"$2$3$1"+Ii+"$2box$3")+t}break;case 5936:switch(bi(t,e+11)){case 114:return bn+t+Ii+wn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return bn+t+Ii+wn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return bn+t+Ii+wn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return bn+t+Ii+t+t}return t}var uZ=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case nT:e.return=gN(e.value,e.length);break;case fN:return hg([Vv(e,{value:wn(e.value,"@","@"+bn)})],i);case tT:if(e.length)return VX(e.props,function(o){switch(zX(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hg([Vv(e,{props:[wn(o,/:(read-\w+)/,":"+cw+"$1")]})],i);case"::placeholder":return hg([Vv(e,{props:[wn(o,/:(plac\w+)/,":"+bn+"input-$1")]}),Vv(e,{props:[wn(o,/:(plac\w+)/,":"+cw+"$1")]}),Vv(e,{props:[wn(o,/:(plac\w+)/,Ii+"input-$1")]})],i)}return""})}},lZ=[uZ],cZ=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var $=E.getAttribute("data-emotion");$.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var i=e.stylisPlugins||lZ,o={},u,c=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var $=E.getAttribute("data-emotion").split(" "),x=1;x<$.length;x++)o[$[x]]=!0;c.push(E)});var d,h=[oZ,sZ];{var g,y=[eZ,nZ(function(E){g.insert(E)})],b=tZ(h.concat(i,y)),v=function($){return hg(XX($),b)};d=function($,x,O,R){g=O,v($?$+"{"+x.styles+"}":x.styles),R&&(C.inserted[x.name]=!0)}}var C={key:n,sheet:new LX({key:n,container:u,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:d};return C.sheet.hydrate(c),C},fZ=!0;function dZ(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):r+=i+" "}),r}var yN=function(e,n,r){var i=e.key+"-"+n.name;(r===!1||fZ===!1)&&e.registered[i]===void 0&&(e.registered[i]=n.styles)},hZ=function(e,n,r){yN(e,n,r);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function pZ(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var mZ={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function gZ(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var yZ=/[A-Z]|^ms/g,vZ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vN=function(e){return e.charCodeAt(1)===45},XR=function(e){return e!=null&&typeof e!="boolean"},e$=gZ(function(t){return vN(t)?t:t.replace(yZ,"-$&").toLowerCase()}),ZR=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(vZ,function(r,i,o){return pu={name:i,styles:o,next:pu},i})}return mZ[e]!==1&&!vN(e)&&typeof n=="number"&&n!==0?n+"px":n};function F0(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return pu={name:n.name,styles:n.styles,next:pu},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)pu={name:r.name,styles:r.styles,next:pu},r=r.next;var i=n.styles+";";return i}return bZ(t,e,n)}case"function":{if(t!==void 0){var o=pu,u=n(t);return pu=o,F0(t,e,u)}break}}return n}function bZ(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i=0)&&(n[i]=t[i]);return n}function $u(t,e){if(t==null)return{};var n=NZ(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function MZ(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const DZ=Math.min,kZ=Math.max,fw=Math.round,d2=Math.floor,dw=t=>({x:t,y:t});function FZ(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function SN(t){return $N(t)?(t.nodeName||"").toLowerCase():"#document"}function gl(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function CN(t){var e;return(e=($N(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $N(t){return t instanceof Node||t instanceof gl(t).Node}function LZ(t){return t instanceof Element||t instanceof gl(t).Element}function oT(t){return t instanceof HTMLElement||t instanceof gl(t).HTMLElement}function t6(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gl(t).ShadowRoot}function EN(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=sT(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function UZ(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jZ(t){return["html","body","#document"].includes(SN(t))}function sT(t){return gl(t).getComputedStyle(t)}function BZ(t){if(SN(t)==="html")return t;const e=t.assignedSlot||t.parentNode||t6(t)&&t.host||CN(t);return t6(e)?e.host:e}function xN(t){const e=BZ(t);return jZ(e)?t.ownerDocument?t.ownerDocument.body:t.body:oT(e)&&EN(e)?e:xN(e)}function hw(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=xN(t),o=i===((r=t.ownerDocument)==null?void 0:r.body),u=gl(i);return o?e.concat(u,u.visualViewport||[],EN(i)?i:[],u.frameElement&&n?hw(u.frameElement):[]):e.concat(i,hw(i,[],n))}function HZ(t){const e=sT(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=oT(t),o=i?t.offsetWidth:n,u=i?t.offsetHeight:r,c=fw(n)!==o||fw(r)!==u;return c&&(n=o,r=u),{width:n,height:r,$:c}}function uT(t){return LZ(t)?t:t.contextElement}function n6(t){const e=uT(t);if(!oT(e))return dw(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=HZ(e);let u=(o?fw(n.width):n.width)/r,c=(o?fw(n.height):n.height)/i;return(!u||!Number.isFinite(u))&&(u=1),(!c||!Number.isFinite(c))&&(c=1),{x:u,y:c}}const qZ=dw(0);function zZ(t){const e=gl(t);return!UZ()||!e.visualViewport?qZ:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function VZ(t,e,n){return!1}function r6(t,e,n,r){e===void 0&&(e=!1);const i=t.getBoundingClientRect(),o=uT(t);let u=dw(1);e&&(u=n6(t));const c=VZ()?zZ(o):dw(0);let d=(i.left+c.x)/u.x,h=(i.top+c.y)/u.y,g=i.width/u.x,y=i.height/u.y;if(o){const b=gl(o),v=r;let C=b,E=C.frameElement;for(;E&&r&&v!==C;){const $=n6(E),x=E.getBoundingClientRect(),O=sT(E),R=x.left+(E.clientLeft+parseFloat(O.paddingLeft))*$.x,D=x.top+(E.clientTop+parseFloat(O.paddingTop))*$.y;d*=$.x,h*=$.y,g*=$.x,y*=$.y,d+=R,h+=D,C=gl(E),E=C.frameElement}}return FZ({width:g,height:y,x:d,y:h})}function GZ(t,e){let n=null,r;const i=CN(t);function o(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function u(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),o();const{left:h,top:g,width:y,height:b}=t.getBoundingClientRect();if(c||e(),!y||!b)return;const v=d2(g),C=d2(i.clientWidth-(h+y)),E=d2(i.clientHeight-(g+b)),$=d2(h),O={rootMargin:-v+"px "+-C+"px "+-E+"px "+-$+"px",threshold:kZ(0,DZ(1,d))||1};let R=!0;function D(P){const L=P[0].intersectionRatio;if(L!==d){if(!R)return u();L?u(!1,L):r=setTimeout(()=>{u(!1,1e-7)},100)}R=!1}try{n=new IntersectionObserver(D,{...O,root:i.ownerDocument})}catch{n=new IntersectionObserver(D,O)}n.observe(t)}return u(!0),o}function WZ(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,h=uT(t),g=i||o?[...h?hw(h):[],...hw(e)]:[];g.forEach(x=>{i&&x.addEventListener("scroll",n,{passive:!0}),o&&x.addEventListener("resize",n)});const y=h&&c?GZ(h,n):null;let b=-1,v=null;u&&(v=new ResizeObserver(x=>{let[O]=x;O&&O.target===h&&v&&(v.unobserve(e),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(e)})),n()}),h&&!d&&v.observe(h),v.observe(e));let C,E=d?r6(t):null;d&&$();function $(){const x=r6(t);E&&(x.x!==E.x||x.y!==E.y||x.width!==E.width||x.height!==E.height)&&n(),E=x,C=requestAnimationFrame($)}return n(),()=>{var x;g.forEach(O=>{i&&O.removeEventListener("scroll",n),o&&O.removeEventListener("resize",n)}),y==null||y(),(x=v)==null||x.disconnect(),v=null,d&&cancelAnimationFrame(C)}}var ME=_.useLayoutEffect,KZ=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],pw=function(){};function YZ(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function QZ(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i-1}function XZ(t){return nS(t)?window.innerHeight:t.clientHeight}function ON(t){return nS(t)?window.pageYOffset:t.scrollTop}function mw(t,e){if(nS(t)){window.scrollTo(0,e);return}t.scrollTop=e}function ZZ(t){var e=getComputedStyle(t),n=e.position==="absolute",r=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=t;i=i.parentElement;)if(e=getComputedStyle(i),!(n&&e.position==="static")&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function eee(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function h2(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:pw,i=ON(t),o=e-i,u=10,c=0;function d(){c+=u;var h=eee(c,i,o,n);mw(t,h),cn.bottom?mw(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i1?n-1:0),i=1;i=C)return{placement:"bottom",maxHeight:e};if(Y>=C&&!u)return o&&h2(d,X,me),{placement:"bottom",maxHeight:e};if(!u&&Y>=r||u&&F>=r){o&&h2(d,X,me);var te=u?F-D:Y-D;return{placement:"bottom",maxHeight:te}}if(i==="auto"||u){var be=e,we=u?L:H;return we>=r&&(be=Math.min(we-D-c,e)),{placement:"top",maxHeight:be}}if(i==="bottom")return o&&mw(d,X),{placement:"bottom",maxHeight:e};break;case"top":if(L>=C)return{placement:"top",maxHeight:e};if(H>=C&&!u)return o&&h2(d,ue,me),{placement:"top",maxHeight:e};if(!u&&H>=r||u&&L>=r){var B=e;return(!u&&H>=r||u&&L>=r)&&(B=u?L-P:H-P),o&&h2(d,ue,me),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return h}function fee(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var AN=function(e){return e==="auto"?"bottom":e},dee=function(e,n){var r,i=e.placement,o=e.theme,u=o.borderRadius,c=o.spacing,d=o.colors;return ct((r={label:"menu"},ng(r,fee(i),"100%"),ng(r,"position","absolute"),ng(r,"width","100%"),ng(r,"zIndex",1),r),n?{}:{backgroundColor:d.neutral0,borderRadius:u,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},RN=_.createContext(null),hee=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,u=e.menuPosition,c=e.menuShouldScrollIntoView,d=e.theme,h=_.useContext(RN)||{},g=h.setPortalPlacement,y=_.useRef(null),b=_.useState(i),v=Qr(b,2),C=v[0],E=v[1],$=_.useState(null),x=Qr($,2),O=x[0],R=x[1],D=d.spacing.controlHeight;return ME(function(){var P=y.current;if(P){var L=u==="fixed",F=c&&!L,H=cee({maxHeight:i,menuEl:P,minHeight:r,placement:o,shouldScroll:F,isFixedPosition:L,controlHeight:D});E(H.maxHeight),R(H.placement),g==null||g(H.placement)}},[i,o,u,c,r,g,D]),n({ref:y,placerProps:ct(ct({},e),{},{placement:O||AN(o),maxHeight:C})})},pee=function(e){var n=e.children,r=e.innerRef,i=e.innerProps;return mt("div",Ve({},dr(e,"menu",{menu:!0}),{ref:r},i),n)},mee=pee,gee=function(e,n){var r=e.maxHeight,i=e.theme.spacing.baseUnit;return ct({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},yee=function(e){var n=e.children,r=e.innerProps,i=e.innerRef,o=e.isMulti;return mt("div",Ve({},dr(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},PN=function(e,n){var r=e.theme,i=r.spacing.baseUnit,o=r.colors;return ct({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},vee=PN,bee=PN,wee=function(e){var n=e.children,r=n===void 0?"No options":n,i=e.innerProps,o=$u(e,uee);return mt("div",Ve({},dr(ct(ct({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},See=function(e){var n=e.children,r=n===void 0?"Loading...":n,i=e.innerProps,o=$u(e,lee);return mt("div",Ve({},dr(ct(ct({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Cee=function(e){var n=e.rect,r=e.offset,i=e.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},$ee=function(e){var n=e.appendTo,r=e.children,i=e.controlElement,o=e.innerProps,u=e.menuPlacement,c=e.menuPosition,d=_.useRef(null),h=_.useRef(null),g=_.useState(AN(u)),y=Qr(g,2),b=y[0],v=y[1],C=_.useMemo(function(){return{setPortalPlacement:v}},[]),E=_.useState(null),$=Qr(E,2),x=$[0],O=$[1],R=_.useCallback(function(){if(i){var F=tee(i),H=c==="fixed"?0:window.pageYOffset,Y=F[b]+H;(Y!==(x==null?void 0:x.offset)||F.left!==(x==null?void 0:x.rect.left)||F.width!==(x==null?void 0:x.rect.width))&&O({offset:Y,rect:F})}},[i,c,b,x==null?void 0:x.offset,x==null?void 0:x.rect.left,x==null?void 0:x.rect.width]);ME(function(){R()},[R]);var D=_.useCallback(function(){typeof h.current=="function"&&(h.current(),h.current=null),i&&d.current&&(h.current=WZ(i,d.current,R,{elementResize:"ResizeObserver"in window}))},[i,R]);ME(function(){D()},[D]);var P=_.useCallback(function(F){d.current=F,D()},[D]);if(!n&&c!=="fixed"||!x)return null;var L=mt("div",Ve({ref:P},dr(ct(ct({},e),{},{offset:x.offset,position:c,rect:x.rect}),"menuPortal",{"menu-portal":!0}),o),r);return mt(RN.Provider,{value:C},n?yu.createPortal(L,n):L)},Eee=function(e){var n=e.isDisabled,r=e.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},xee=function(e){var n=e.children,r=e.innerProps,i=e.isDisabled,o=e.isRtl;return mt("div",Ve({},dr(e,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},Tee=function(e,n){var r=e.theme.spacing,i=e.isMulti,o=e.hasValue,u=e.selectProps.controlShouldRenderValue;return ct({alignItems:"center",display:i&&o&&u?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Oee=function(e){var n=e.children,r=e.innerProps,i=e.isMulti,o=e.hasValue;return mt("div",Ve({},dr(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},_ee=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Aee=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"indicatorsContainer",{indicators:!0}),r),n)},s6,Ree=["size"],Pee=["innerProps","isRtl","size"],Iee={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},IN=function(e){var n=e.size,r=$u(e,Ree);return mt("svg",Ve({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Iee},r))},lT=function(e){return mt(IN,Ve({size:20},e),mt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},NN=function(e){return mt(IN,Ve({size:20},e),mt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},MN=function(e,n){var r=e.isFocused,i=e.theme,o=i.spacing.baseUnit,u=i.colors;return ct({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?u.neutral60:u.neutral20,padding:o*2,":hover":{color:r?u.neutral80:u.neutral40}})},Nee=MN,Mee=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||mt(NN,null))},Dee=MN,kee=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||mt(lT,null))},Fee=function(e,n){var r=e.isDisabled,i=e.theme,o=i.spacing.baseUnit,u=i.colors;return ct({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?u.neutral10:u.neutral20,marginBottom:o*2,marginTop:o*2})},Lee=function(e){var n=e.innerProps;return mt("span",Ve({},n,dr(e,"indicatorSeparator",{"indicator-separator":!0})))},Uee=AZ(s6||(s6=MZ([` - 0%, 80%, 100% { opacity: 0; } - 40% { opacity: 1; } -`]))),jee=function(e,n){var r=e.isFocused,i=e.size,o=e.theme,u=o.colors,c=o.spacing.baseUnit;return ct({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?u.neutral60:u.neutral20,padding:c*2})},t$=function(e){var n=e.delay,r=e.offset;return mt("span",{css:aT({animation:"".concat(Uee," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Bee=function(e){var n=e.innerProps,r=e.isRtl,i=e.size,o=i===void 0?4:i,u=$u(e,Pee);return mt("div",Ve({},dr(ct(ct({},u),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),mt(t$,{delay:0,offset:r}),mt(t$,{delay:160,offset:!0}),mt(t$,{delay:320,offset:!r}))},Hee=function(e,n){var r=e.isDisabled,i=e.isFocused,o=e.theme,u=o.colors,c=o.borderRadius,d=o.spacing;return ct({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:d.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?u.neutral5:u.neutral0,borderColor:r?u.neutral10:i?u.primary:u.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(u.primary):void 0,"&:hover":{borderColor:i?u.primary:u.neutral30}})},qee=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,o=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return mt("div",Ve({ref:o},dr(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":c}),u,{"aria-disabled":r||void 0}),n)},zee=qee,Vee=["data"],Gee=function(e,n){var r=e.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},Wee=function(e){var n=e.children,r=e.cx,i=e.getStyles,o=e.getClassNames,u=e.Heading,c=e.headingProps,d=e.innerProps,h=e.label,g=e.theme,y=e.selectProps;return mt("div",Ve({},dr(e,"group",{group:!0}),d),mt(u,Ve({},c,{selectProps:y,theme:g,getStyles:i,getClassNames:o,cx:r}),h),mt("div",null,n))},Kee=function(e,n){var r=e.theme,i=r.colors,o=r.spacing;return ct({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},Yee=function(e){var n=TN(e);n.data;var r=$u(n,Vee);return mt("div",Ve({},dr(e,"groupHeading",{"group-heading":!0}),r))},Qee=Wee,Jee=["innerRef","isDisabled","isHidden","inputClassName"],Xee=function(e,n){var r=e.isDisabled,i=e.value,o=e.theme,u=o.spacing,c=o.colors;return ct(ct({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},Zee),n?{}:{margin:u.baseUnit/2,paddingBottom:u.baseUnit/2,paddingTop:u.baseUnit/2,color:c.neutral80})},DN={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Zee={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ct({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},DN)},ete=function(e){return ct({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},DN)},tte=function(e){var n=e.cx,r=e.value,i=TN(e),o=i.innerRef,u=i.isDisabled,c=i.isHidden,d=i.inputClassName,h=$u(i,Jee);return mt("div",Ve({},dr(e,"input",{"input-container":!0}),{"data-value":r||""}),mt("input",Ve({className:n({input:!0},d),ref:o,style:ete(c),disabled:u},h)))},nte=tte,rte=function(e,n){var r=e.theme,i=r.spacing,o=r.borderRadius,u=r.colors;return ct({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:u.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},ite=function(e,n){var r=e.theme,i=r.borderRadius,o=r.colors,u=e.cropWithEllipsis;return ct({overflow:"hidden",textOverflow:u||u===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},ate=function(e,n){var r=e.theme,i=r.spacing,o=r.borderRadius,u=r.colors,c=e.isFocused;return ct({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:c?u.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:u.dangerLight,color:u.danger}})},kN=function(e){var n=e.children,r=e.innerProps;return mt("div",r,n)},ote=kN,ste=kN;function ute(t){var e=t.children,n=t.innerProps;return mt("div",Ve({role:"button"},n),e||mt(lT,{size:14}))}var lte=function(e){var n=e.children,r=e.components,i=e.data,o=e.innerProps,u=e.isDisabled,c=e.removeProps,d=e.selectProps,h=r.Container,g=r.Label,y=r.Remove;return mt(h,{data:i,innerProps:ct(ct({},dr(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":u})),o),selectProps:d},mt(g,{data:i,innerProps:ct({},dr(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:d},n),mt(y,{data:i,innerProps:ct(ct({},dr(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))},cte=lte,fte=function(e,n){var r=e.isDisabled,i=e.isFocused,o=e.isSelected,u=e.theme,c=u.spacing,d=u.colors;return ct({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?d.primary:i?d.primary25:"transparent",color:r?d.neutral20:o?d.neutral0:"inherit",padding:"".concat(c.baseUnit*2,"px ").concat(c.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?d.primary:d.primary50}})},dte=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,o=e.isSelected,u=e.innerRef,c=e.innerProps;return mt("div",Ve({},dr(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:u,"aria-disabled":r},c),n)},hte=dte,pte=function(e,n){var r=e.theme,i=r.spacing,o=r.colors;return ct({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},mte=function(e){var n=e.children,r=e.innerProps;return mt("div",Ve({},dr(e,"placeholder",{placeholder:!0}),r),n)},gte=mte,yte=function(e,n){var r=e.isDisabled,i=e.theme,o=i.spacing,u=i.colors;return ct({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?u.neutral40:u.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},vte=function(e){var n=e.children,r=e.isDisabled,i=e.innerProps;return mt("div",Ve({},dr(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},bte=vte,wte={ClearIndicator:kee,Control:zee,DropdownIndicator:Mee,DownChevron:NN,CrossIcon:lT,Group:Qee,GroupHeading:Yee,IndicatorsContainer:Aee,IndicatorSeparator:Lee,Input:nte,LoadingIndicator:Bee,Menu:mee,MenuList:yee,MenuPortal:$ee,LoadingMessage:See,NoOptionsMessage:wee,MultiValue:cte,MultiValueContainer:ote,MultiValueLabel:ste,MultiValueRemove:ute,Option:hte,Placeholder:gte,SelectContainer:xee,SingleValue:bte,ValueContainer:Oee},Ste=function(e){return ct(ct({},wte),e.components)},u6=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Cte(t,e){return!!(t===e||u6(t)&&u6(e))}function $te(t,e){if(t.length!==e.length)return!1;for(var n=0;n1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return u?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var n=e.context,r=e.focused,i=e.options,o=e.label,u=o===void 0?"":o,c=e.selectValue,d=e.isDisabled,h=e.isSelected,g=e.isAppleDevice,y=function(E,$){return E&&E.length?"".concat(E.indexOf($)+1," of ").concat(E.length):""};if(n==="value"&&c)return"value ".concat(u," focused, ").concat(y(c,r),".");if(n==="menu"&&g){var b=d?" disabled":"",v="".concat(h?" selected":"").concat(b);return"".concat(u).concat(v,", ").concat(y(i,r),".")}return""},onFilter:function(e){var n=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},_te=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,u=e.isFocused,c=e.selectValue,d=e.selectProps,h=e.id,g=e.isAppleDevice,y=d.ariaLiveMessages,b=d.getOptionLabel,v=d.inputValue,C=d.isMulti,E=d.isOptionDisabled,$=d.isSearchable,x=d.menuIsOpen,O=d.options,R=d.screenReaderStatus,D=d.tabSelectsValue,P=d.isLoading,L=d["aria-label"],F=d["aria-live"],H=_.useMemo(function(){return ct(ct({},Ote),y||{})},[y]),Y=_.useMemo(function(){var we="";if(n&&H.onChange){var B=n.option,V=n.options,q=n.removedValue,ie=n.removedValues,G=n.value,J=function(De){return Array.isArray(De)?null:De},he=q||B||J(G),$e=he?b(he):"",Ce=V||ie||void 0,Be=Ce?Ce.map(b):[],Ie=ct({isDisabled:he&&E(he,c),label:$e,labels:Be},n);we=H.onChange(Ie)}return we},[n,H,E,c,b]),X=_.useMemo(function(){var we="",B=r||i,V=!!(r&&c&&c.includes(r));if(B&&H.onFocus){var q={focused:B,label:b(B),isDisabled:E(B,c),isSelected:V,options:o,context:B===r?"menu":"value",selectValue:c,isAppleDevice:g};we=H.onFocus(q)}return we},[r,i,b,E,H,o,c,g]),ue=_.useMemo(function(){var we="";if(x&&O.length&&!P&&H.onFilter){var B=R({count:o.length});we=H.onFilter({inputValue:v,resultsMessage:B})}return we},[o,v,x,H,O,R,P]),me=(n==null?void 0:n.action)==="initial-input-focus",te=_.useMemo(function(){var we="";if(H.guidance){var B=i?"value":x?"menu":"input";we=H.guidance({"aria-label":L,context:B,isDisabled:r&&E(r,c),isMulti:C,isSearchable:$,tabSelectsValue:D,isInitialFocus:me})}return we},[L,r,i,C,E,$,x,H,c,D,me]),be=mt(_.Fragment,null,mt("span",{id:"aria-selection"},Y),mt("span",{id:"aria-focused"},X),mt("span",{id:"aria-results"},ue),mt("span",{id:"aria-guidance"},te));return mt(_.Fragment,null,mt(l6,{id:h},me&&be),mt(l6,{"aria-live":F,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},u&&!me&&be))},Ate=_te,DE=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Rte=new RegExp("["+DE.map(function(t){return t.letters}).join("")+"]","g"),FN={};for(var n$=0;n$-1}},Mte=["innerRef"];function Dte(t){var e=t.innerRef,n=$u(t,Mte),r=see(n,"onExited","in","enter","exit","appear");return mt("input",Ve({ref:e},r,{css:aT({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var kte=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Fte(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,i=t.onTopArrive,o=t.onTopLeave,u=_.useRef(!1),c=_.useRef(!1),d=_.useRef(0),h=_.useRef(null),g=_.useCallback(function($,x){if(h.current!==null){var O=h.current,R=O.scrollTop,D=O.scrollHeight,P=O.clientHeight,L=h.current,F=x>0,H=D-P-R,Y=!1;H>x&&u.current&&(r&&r($),u.current=!1),F&&c.current&&(o&&o($),c.current=!1),F&&x>H?(n&&!u.current&&n($),L.scrollTop=D,Y=!0,u.current=!0):!F&&-x>R&&(i&&!c.current&&i($),L.scrollTop=0,Y=!0,c.current=!0),Y&&kte($)}},[n,r,i,o]),y=_.useCallback(function($){g($,$.deltaY)},[g]),b=_.useCallback(function($){d.current=$.changedTouches[0].clientY},[]),v=_.useCallback(function($){var x=d.current-$.changedTouches[0].clientY;g($,x)},[g]),C=_.useCallback(function($){if($){var x=iee?{passive:!1}:!1;$.addEventListener("wheel",y,x),$.addEventListener("touchstart",b,x),$.addEventListener("touchmove",v,x)}},[v,b,y]),E=_.useCallback(function($){$&&($.removeEventListener("wheel",y,!1),$.removeEventListener("touchstart",b,!1),$.removeEventListener("touchmove",v,!1))},[v,b,y]);return _.useEffect(function(){if(e){var $=h.current;return C($),function(){E($)}}},[e,C,E]),function($){h.current=$}}var f6=["boxSizing","height","overflow","paddingRight","position"],d6={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function h6(t){t.cancelable&&t.preventDefault()}function p6(t){t.stopPropagation()}function m6(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function g6(){return"ontouchstart"in window||navigator.maxTouchPoints}var y6=!!(typeof window<"u"&&window.document&&window.document.createElement),Gv=0,Ym={capture:!1,passive:!1};function Lte(t){var e=t.isEnabled,n=t.accountForScrollbars,r=n===void 0?!0:n,i=_.useRef({}),o=_.useRef(null),u=_.useCallback(function(d){if(y6){var h=document.body,g=h&&h.style;if(r&&f6.forEach(function(C){var E=g&&g[C];i.current[C]=E}),r&&Gv<1){var y=parseInt(i.current.paddingRight,10)||0,b=document.body?document.body.clientWidth:0,v=window.innerWidth-b+y||0;Object.keys(d6).forEach(function(C){var E=d6[C];g&&(g[C]=E)}),g&&(g.paddingRight="".concat(v,"px"))}h&&g6()&&(h.addEventListener("touchmove",h6,Ym),d&&(d.addEventListener("touchstart",m6,Ym),d.addEventListener("touchmove",p6,Ym))),Gv+=1}},[r]),c=_.useCallback(function(d){if(y6){var h=document.body,g=h&&h.style;Gv=Math.max(Gv-1,0),r&&Gv<1&&f6.forEach(function(y){var b=i.current[y];g&&(g[y]=b)}),h&&g6()&&(h.removeEventListener("touchmove",h6,Ym),d&&(d.removeEventListener("touchstart",m6,Ym),d.removeEventListener("touchmove",p6,Ym)))}},[r]);return _.useEffect(function(){if(e){var d=o.current;return u(d),function(){c(d)}}},[e,u,c]),function(d){o.current=d}}var Ute=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},jte={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Bte(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,i=r===void 0?!0:r,o=t.onBottomArrive,u=t.onBottomLeave,c=t.onTopArrive,d=t.onTopLeave,h=Fte({isEnabled:i,onBottomArrive:o,onBottomLeave:u,onTopArrive:c,onTopLeave:d}),g=Lte({isEnabled:n}),y=function(v){h(v),g(v)};return mt(_.Fragment,null,n&&mt("div",{onClick:Ute,css:jte}),e(y))}var Hte={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},qte=function(e){var n=e.name,r=e.onFocus;return mt("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:Hte,value:"",onChange:function(){}})},zte=qte;function cT(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Vte(){return cT(/^iPhone/i)}function UN(){return cT(/^Mac/i)}function Gte(){return cT(/^iPad/i)||UN()&&navigator.maxTouchPoints>1}function Wte(){return Vte()||Gte()}function Kte(){return UN()||Wte()}var Yte=function(e){return e.label},Qte=function(e){return e.label},Jte=function(e){return e.value},Xte=function(e){return!!e.isDisabled},Zte={clearIndicator:Dee,container:Eee,control:Hee,dropdownIndicator:Nee,group:Gee,groupHeading:Kee,indicatorsContainer:_ee,indicatorSeparator:Fee,input:Xee,loadingIndicator:jee,loadingMessage:bee,menu:dee,menuList:gee,menuPortal:Cee,multiValue:rte,multiValueLabel:ite,multiValueRemove:ate,noOptionsMessage:vee,option:fte,placeholder:pte,singleValue:yte,valueContainer:Tee},ene={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},tne=4,jN=4,nne=38,rne=jN*2,ine={baseUnit:jN,controlHeight:nne,menuGutter:rne},a$={borderRadius:tne,colors:ene,spacing:ine},ane={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:o6(),captureMenuScroll:!o6(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Nte(),formatGroupLabel:Yte,getOptionLabel:Qte,getOptionValue:Jte,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Xte,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!nee(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function v6(t,e,n,r){var i=qN(t,e,n),o=zN(t,e,n),u=HN(t,e),c=gw(t,e);return{type:"option",data:e,isDisabled:i,isSelected:o,label:u,value:c,index:r}}function F2(t,e){return t.options.map(function(n,r){if("options"in n){var i=n.options.map(function(u,c){return v6(t,u,e,c)}).filter(function(u){return w6(t,u)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=v6(t,n,e,r);return w6(t,o)?o:void 0}).filter(aee)}function BN(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,eT(n.options.map(function(r){return r.data}))):e.push(n.data),e},[])}function b6(t,e){return t.reduce(function(n,r){return r.type==="group"?n.push.apply(n,eT(r.options.map(function(i){return{data:i.data,id:"".concat(e,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(e,"-").concat(r.index)}),n},[])}function one(t,e){return BN(F2(t,e))}function w6(t,e){var n=t.inputValue,r=n===void 0?"":n,i=e.data,o=e.isSelected,u=e.label,c=e.value;return(!GN(t)||!o)&&VN(t,{label:u,value:c,data:i},r)}function sne(t,e){var n=t.focusedValue,r=t.selectValue,i=r.indexOf(n);if(i>-1){var o=e.indexOf(n);if(o>-1)return n;if(i-1?n:e[0]}var o$=function(e,n){var r,i=(r=e.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},HN=function(e,n){return e.getOptionLabel(n)},gw=function(e,n){return e.getOptionValue(n)};function qN(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function zN(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var r=gw(t,e);return n.some(function(i){return gw(t,i)===r})}function VN(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var GN=function(e){var n=e.hideSelectedOptions,r=e.isMulti;return n===void 0?r:n},lne=1,WN=(function(t){RX(n,t);var e=IX(n);function n(r){var i;if(_X(this,n),i=e.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=Kte(),i.controlRef=null,i.getControlRef=function(d){i.controlRef=d},i.focusedOptionRef=null,i.getFocusedOptionRef=function(d){i.focusedOptionRef=d},i.menuListRef=null,i.getMenuListRef=function(d){i.menuListRef=d},i.inputRef=null,i.getInputRef=function(d){i.inputRef=d},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(d,h){var g=i.props,y=g.onChange,b=g.name;h.name=b,i.ariaOnChange(d,h),y(d,h)},i.setValue=function(d,h,g){var y=i.props,b=y.closeMenuOnSelect,v=y.isMulti,C=y.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:C}),b&&(i.setState({inputIsHiddenAfterUpdate:!v}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(d,{action:h,option:g})},i.selectOption=function(d){var h=i.props,g=h.blurInputOnSelect,y=h.isMulti,b=h.name,v=i.state.selectValue,C=y&&i.isOptionSelected(d,v),E=i.isOptionDisabled(d,v);if(C){var $=i.getOptionValue(d);i.setValue(v.filter(function(x){return i.getOptionValue(x)!==$}),"deselect-option",d)}else if(!E)y?i.setValue([].concat(eT(v),[d]),"select-option",d):i.setValue(d,"select-option");else{i.ariaOnChange(d,{action:"select-option",option:d,name:b});return}g&&i.blurInput()},i.removeValue=function(d){var h=i.props.isMulti,g=i.state.selectValue,y=i.getOptionValue(d),b=g.filter(function(C){return i.getOptionValue(C)!==y}),v=m2(h,b,b[0]||null);i.onChange(v,{action:"remove-value",removedValue:d}),i.focusInput()},i.clearValue=function(){var d=i.state.selectValue;i.onChange(m2(i.props.isMulti,[],null),{action:"clear",removedValues:d})},i.popValue=function(){var d=i.props.isMulti,h=i.state.selectValue,g=h[h.length-1],y=h.slice(0,h.length-1),b=m2(d,y,y[0]||null);g&&i.onChange(b,{action:"pop-value",removedValue:g})},i.getFocusedOptionId=function(d){return o$(i.state.focusableOptionsWithIds,d)},i.getFocusableOptionsWithIds=function(){return b6(F2(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var d=arguments.length,h=new Array(d),g=0;gv||b>v}},i.onTouchEnd=function(d){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(d.target)&&i.menuListRef&&!i.menuListRef.contains(d.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(d){i.userIsDragging||i.onControlMouseDown(d)},i.onClearIndicatorTouchEnd=function(d){i.userIsDragging||i.onClearIndicatorMouseDown(d)},i.onDropdownIndicatorTouchEnd=function(d){i.userIsDragging||i.onDropdownIndicatorMouseDown(d)},i.handleInputChange=function(d){var h=i.props.inputValue,g=d.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(g,{action:"input-change",prevInputValue:h}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(d){i.props.onFocus&&i.props.onFocus(d),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(d){var h=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(d),i.onInputChange("",{action:"input-blur",prevInputValue:h}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(d){if(!(i.blockOptionHover||i.state.focusedOption===d)){var h=i.getFocusableOptions(),g=h.indexOf(d);i.setState({focusedOption:d,focusedOptionId:g>-1?i.getFocusedOptionId(d):null})}},i.shouldHideSelectedOptions=function(){return GN(i.props)},i.onValueInputFocus=function(d){d.preventDefault(),d.stopPropagation(),i.focus()},i.onKeyDown=function(d){var h=i.props,g=h.isMulti,y=h.backspaceRemovesValue,b=h.escapeClearsValue,v=h.inputValue,C=h.isClearable,E=h.isDisabled,$=h.menuIsOpen,x=h.onKeyDown,O=h.tabSelectsValue,R=h.openMenuOnFocus,D=i.state,P=D.focusedOption,L=D.focusedValue,F=D.selectValue;if(!E&&!(typeof x=="function"&&(x(d),d.defaultPrevented))){switch(i.blockOptionHover=!0,d.key){case"ArrowLeft":if(!g||v)return;i.focusValue("previous");break;case"ArrowRight":if(!g||v)return;i.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(L)i.removeValue(L);else{if(!y)return;g?i.popValue():C&&i.clearValue()}break;case"Tab":if(i.isComposing||d.shiftKey||!$||!O||!P||R&&i.isOptionSelected(P,F))return;i.selectOption(P);break;case"Enter":if(d.keyCode===229)break;if($){if(!P||i.isComposing)return;i.selectOption(P);break}return;case"Escape":$?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:v}),i.onMenuClose()):C&&b&&i.clearValue();break;case" ":if(v)return;if(!$){i.openMenu("first");break}if(!P)return;i.selectOption(P);break;case"ArrowUp":$?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":$?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!$)return;i.focusOption("pageup");break;case"PageDown":if(!$)return;i.focusOption("pagedown");break;case"Home":if(!$)return;i.focusOption("first");break;case"End":if(!$)return;i.focusOption("last");break;default:return}d.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++lne),i.state.selectValue=i6(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),u=i.buildFocusableOptions(),c=u.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=u[c],i.state.focusedOptionId=o$(o,u[c])}return i}return AX(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&a6(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,u=o.isDisabled,c=o.menuIsOpen,d=this.state.isFocused;(d&&!u&&i.isDisabled||d&&c&&!i.menuIsOpen)&&this.focusInput(),d&&u&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!d&&!u&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(a6(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,u=this.state,c=u.selectValue,d=u.isFocused,h=this.buildFocusableOptions(),g=i==="first"?0:h.length-1;if(!this.props.isMulti){var y=h.indexOf(c[0]);y>-1&&(g=y)}this.scrollToFocusedOptionOnUpdate=!(d&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:h[g],focusedOptionId:this.getFocusedOptionId(h[g])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,u=o.selectValue,c=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var d=u.indexOf(c);c||(d=-1);var h=u.length-1,g=-1;if(u.length){switch(i){case"previous":d===0?g=0:d===-1?g=h:g=d-1;break;case"next":d>-1&&d0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,u=this.state.focusedOption,c=this.getFocusableOptions();if(c.length){var d=0,h=c.indexOf(u);u||(h=-1),i==="up"?d=h>0?h-1:c.length-1:i==="down"?d=(h+1)%c.length:i==="pageup"?(d=h-o,d<0&&(d=0)):i==="pagedown"?(d=h+o,d>c.length-1&&(d=c.length-1)):i==="last"&&(d=c.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:c[d],focusedValue:null,focusedOptionId:this.getFocusedOptionId(c[d])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(a$):ct(ct({},a$),this.props.theme):a$})},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,u=this.getStyles,c=this.getClassNames,d=this.getValue,h=this.selectOption,g=this.setValue,y=this.props,b=y.isMulti,v=y.isRtl,C=y.options,E=this.hasValue();return{clearValue:i,cx:o,getStyles:u,getClassNames:c,getValue:d,hasValue:E,isMulti:b,isRtl:v,options:C,selectOption:h,selectProps:y,setValue:g,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,u=i.isMulti;return o===void 0?u:o}},{key:"isOptionDisabled",value:function(i,o){return qN(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return zN(this.props,i,o)}},{key:"filterOption",value:function(i,o){return VN(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,c=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:u,selectValue:c})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var i=this.props,o=i.isDisabled,u=i.isSearchable,c=i.inputId,d=i.inputValue,h=i.tabIndex,g=i.form,y=i.menuIsOpen,b=i.required,v=this.getComponents(),C=v.Input,E=this.state,$=E.inputIsHidden,x=E.ariaSelection,O=this.commonProps,R=c||this.getElementId("input"),D=ct(ct(ct({"aria-autocomplete":"list","aria-expanded":y,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":b,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},y&&{"aria-controls":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?(x==null?void 0:x.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?_.createElement(C,Ve({},O,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:R,innerRef:this.getInputRef,isDisabled:o,isHidden:$,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:h,form:g,type:"text",value:d},D)):_.createElement(Dte,Ve({id:R,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:pw,onFocus:this.onInputFocus,disabled:o,tabIndex:h,inputMode:"none",form:g,value:""},D))})},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),u=o.MultiValue,c=o.MultiValueContainer,d=o.MultiValueLabel,h=o.MultiValueRemove,g=o.SingleValue,y=o.Placeholder,b=this.commonProps,v=this.props,C=v.controlShouldRenderValue,E=v.isDisabled,$=v.isMulti,x=v.inputValue,O=v.placeholder,R=this.state,D=R.selectValue,P=R.focusedValue,L=R.isFocused;if(!this.hasValue()||!C)return x?null:_.createElement(y,Ve({},b,{key:"placeholder",isDisabled:E,isFocused:L,innerProps:{id:this.getElementId("placeholder")}}),O);if($)return D.map(function(H,Y){var X=H===P,ue="".concat(i.getOptionLabel(H),"-").concat(i.getOptionValue(H));return _.createElement(u,Ve({},b,{components:{Container:c,Label:d,Remove:h},isFocused:X,isDisabled:E,key:ue,index:Y,removeProps:{onClick:function(){return i.removeValue(H)},onTouchEnd:function(){return i.removeValue(H)},onMouseDown:function(te){te.preventDefault()}},data:H}),i.formatOptionLabel(H,"value"))});if(x)return null;var F=D[0];return _.createElement(g,Ve({},b,{data:F,isDisabled:E}),this.formatOptionLabel(F,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,u=this.commonProps,c=this.props,d=c.isDisabled,h=c.isLoading,g=this.state.isFocused;if(!this.isClearable()||!o||d||!this.hasValue()||h)return null;var y={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return _.createElement(o,Ve({},u,{innerProps:y,isFocused:g}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,u=this.commonProps,c=this.props,d=c.isDisabled,h=c.isLoading,g=this.state.isFocused;if(!o||!h)return null;var y={"aria-hidden":"true"};return _.createElement(o,Ve({},u,{innerProps:y,isDisabled:d,isFocused:g}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,u=i.IndicatorSeparator;if(!o||!u)return null;var c=this.commonProps,d=this.props.isDisabled,h=this.state.isFocused;return _.createElement(u,Ve({},c,{isDisabled:d,isFocused:h}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var u=this.commonProps,c=this.props.isDisabled,d=this.state.isFocused,h={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return _.createElement(o,Ve({},u,{innerProps:h,isDisabled:c,isFocused:d}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),u=o.Group,c=o.GroupHeading,d=o.Menu,h=o.MenuList,g=o.MenuPortal,y=o.LoadingMessage,b=o.NoOptionsMessage,v=o.Option,C=this.commonProps,E=this.state.focusedOption,$=this.props,x=$.captureMenuScroll,O=$.inputValue,R=$.isLoading,D=$.loadingMessage,P=$.minMenuHeight,L=$.maxMenuHeight,F=$.menuIsOpen,H=$.menuPlacement,Y=$.menuPosition,X=$.menuPortalTarget,ue=$.menuShouldBlockScroll,me=$.menuShouldScrollIntoView,te=$.noOptionsMessage,be=$.onMenuScrollToTop,we=$.onMenuScrollToBottom;if(!F)return null;var B=function($e,Ce){var Be=$e.type,Ie=$e.data,tt=$e.isDisabled,De=$e.isSelected,Ke=$e.label,qe=$e.value,ut=E===Ie,pt=tt?void 0:function(){return i.onOptionHover(Ie)},bt=tt?void 0:function(){return i.selectOption(Ie)},gt="".concat(i.getElementId("option"),"-").concat(Ce),Ut={id:gt,onClick:bt,onMouseMove:pt,onMouseOver:pt,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:De};return _.createElement(v,Ve({},C,{innerProps:Ut,data:Ie,isDisabled:tt,isSelected:De,key:gt,label:Ke,type:Be,value:qe,isFocused:ut,innerRef:ut?i.getFocusedOptionRef:void 0}),i.formatOptionLabel($e.data,"menu"))},V;if(this.hasOptions())V=this.getCategorizedOptions().map(function(he){if(he.type==="group"){var $e=he.data,Ce=he.options,Be=he.index,Ie="".concat(i.getElementId("group"),"-").concat(Be),tt="".concat(Ie,"-heading");return _.createElement(u,Ve({},C,{key:Ie,data:$e,options:Ce,Heading:c,headingProps:{id:tt,data:he.data},label:i.formatGroupLabel(he.data)}),he.options.map(function(De){return B(De,"".concat(Be,"-").concat(De.index))}))}else if(he.type==="option")return B(he,"".concat(he.index))});else if(R){var q=D({inputValue:O});if(q===null)return null;V=_.createElement(y,C,q)}else{var ie=te({inputValue:O});if(ie===null)return null;V=_.createElement(b,C,ie)}var G={minMenuHeight:P,maxMenuHeight:L,menuPlacement:H,menuPosition:Y,menuShouldScrollIntoView:me},J=_.createElement(hee,Ve({},C,G),function(he){var $e=he.ref,Ce=he.placerProps,Be=Ce.placement,Ie=Ce.maxHeight;return _.createElement(d,Ve({},C,G,{innerRef:$e,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:R,placement:Be}),_.createElement(Bte,{captureEnabled:x,onTopArrive:be,onBottomArrive:we,lockEnabled:ue},function(tt){return _.createElement(h,Ve({},C,{innerRef:function(Ke){i.getMenuListRef(Ke),tt(Ke)},innerProps:{role:"listbox","aria-multiselectable":C.isMulti,id:i.getElementId("listbox")},isLoading:R,maxHeight:Ie,focusedOption:E}),V)}))});return X||Y==="fixed"?_.createElement(g,Ve({},C,{appendTo:X,controlElement:this.controlRef,menuPlacement:H,menuPosition:Y}),J):J}},{key:"renderFormField",value:function(){var i=this,o=this.props,u=o.delimiter,c=o.isDisabled,d=o.isMulti,h=o.name,g=o.required,y=this.state.selectValue;if(g&&!this.hasValue()&&!c)return _.createElement(zte,{name:h,onFocus:this.onValueInputFocus});if(!(!h||c))if(d)if(u){var b=y.map(function(E){return i.getOptionValue(E)}).join(u);return _.createElement("input",{name:h,type:"hidden",value:b})}else{var v=y.length>0?y.map(function(E,$){return _.createElement("input",{key:"i-".concat($),name:h,type:"hidden",value:i.getOptionValue(E)})}):_.createElement("input",{name:h,type:"hidden",value:""});return _.createElement("div",null,v)}else{var C=y[0]?this.getOptionValue(y[0]):"";return _.createElement("input",{name:h,type:"hidden",value:C})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,u=o.ariaSelection,c=o.focusedOption,d=o.focusedValue,h=o.isFocused,g=o.selectValue,y=this.getFocusableOptions();return _.createElement(Ate,Ve({},i,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:c,focusedValue:d,isFocused:h,selectValue:g,focusableOptions:y,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,u=i.IndicatorsContainer,c=i.SelectContainer,d=i.ValueContainer,h=this.props,g=h.className,y=h.id,b=h.isDisabled,v=h.menuIsOpen,C=this.state.isFocused,E=this.commonProps=this.getCommonProps();return _.createElement(c,Ve({},E,{className:g,innerProps:{id:y,onKeyDown:this.onKeyDown},isDisabled:b,isFocused:C}),this.renderLiveRegion(),_.createElement(o,Ve({},E,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:b,isFocused:C,menuIsOpen:v}),_.createElement(d,Ve({},E,{isDisabled:b}),this.renderPlaceholderOrValue(),this.renderInput()),_.createElement(u,Ve({},E,{isDisabled:b}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var u=o.prevProps,c=o.clearFocusValueOnUpdate,d=o.inputIsHiddenAfterUpdate,h=o.ariaSelection,g=o.isFocused,y=o.prevWasFocused,b=o.instancePrefix,v=i.options,C=i.value,E=i.menuIsOpen,$=i.inputValue,x=i.isMulti,O=i6(C),R={};if(u&&(C!==u.value||v!==u.options||E!==u.menuIsOpen||$!==u.inputValue)){var D=E?one(i,O):[],P=E?b6(F2(i,O),"".concat(b,"-option")):[],L=c?sne(o,O):null,F=une(o,D),H=o$(P,F);R={selectValue:O,focusedOption:F,focusedOptionId:H,focusableOptionsWithIds:P,focusedValue:L,clearFocusValueOnUpdate:!1}}var Y=d!=null&&i!==u?{inputIsHidden:d,inputIsHiddenAfterUpdate:void 0}:{},X=h,ue=g&&y;return g&&!ue&&(X={value:m2(x,O,O[0]||null),options:O,action:"initial-input-focus"},ue=!y),(h==null?void 0:h.action)==="initial-input-focus"&&(X=null),ct(ct(ct({},R),Y),{},{prevProps:i,ariaSelection:X,prevWasFocused:ue})}}]),n})(_.Component);WN.defaultProps=ane;var cne=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function fne(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,o=t.defaultValue,u=o===void 0?null:o,c=t.inputValue,d=t.menuIsOpen,h=t.onChange,g=t.onInputChange,y=t.onMenuClose,b=t.onMenuOpen,v=t.value,C=$u(t,cne),E=_.useState(c!==void 0?c:n),$=Qr(E,2),x=$[0],O=$[1],R=_.useState(d!==void 0?d:i),D=Qr(R,2),P=D[0],L=D[1],F=_.useState(v!==void 0?v:u),H=Qr(F,2),Y=H[0],X=H[1],ue=_.useCallback(function(q,ie){typeof h=="function"&&h(q,ie),X(q)},[h]),me=_.useCallback(function(q,ie){var G;typeof g=="function"&&(G=g(q,ie)),O(G!==void 0?G:q)},[g]),te=_.useCallback(function(){typeof b=="function"&&b(),L(!0)},[b]),be=_.useCallback(function(){typeof y=="function"&&y(),L(!1)},[y]),we=c!==void 0?c:x,B=d!==void 0?d:P,V=v!==void 0?v:Y;return ct(ct({},C),{},{inputValue:we,menuIsOpen:B,onChange:ue,onInputChange:me,onMenuClose:be,onMenuOpen:te,value:V})}var dne=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function hne(t){var e=t.defaultOptions,n=e===void 0?!1:e,r=t.cacheOptions,i=r===void 0?!1:r,o=t.loadOptions;t.options;var u=t.isLoading,c=u===void 0?!1:u,d=t.onInputChange,h=t.filterOption,g=h===void 0?null:h,y=$u(t,dne),b=y.inputValue,v=_.useRef(void 0),C=_.useRef(!1),E=_.useState(Array.isArray(n)?n:void 0),$=Qr(E,2),x=$[0],O=$[1],R=_.useState(typeof b<"u"?b:""),D=Qr(R,2),P=D[0],L=D[1],F=_.useState(n===!0),H=Qr(F,2),Y=H[0],X=H[1],ue=_.useState(void 0),me=Qr(ue,2),te=me[0],be=me[1],we=_.useState([]),B=Qr(we,2),V=B[0],q=B[1],ie=_.useState(!1),G=Qr(ie,2),J=G[0],he=G[1],$e=_.useState({}),Ce=Qr($e,2),Be=Ce[0],Ie=Ce[1],tt=_.useState(void 0),De=Qr(tt,2),Ke=De[0],qe=De[1],ut=_.useState(void 0),pt=Qr(ut,2),bt=pt[0],gt=pt[1];i!==bt&&(Ie({}),gt(i)),n!==Ke&&(O(Array.isArray(n)?n:void 0),qe(n)),_.useEffect(function(){return C.current=!0,function(){C.current=!1}},[]);var Ut=_.useCallback(function(tn,xn){if(!o)return xn();var kt=o(tn,xn);kt&&typeof kt.then=="function"&&kt.then(xn,function(){return xn()})},[o]);_.useEffect(function(){n===!0&&Ut(P,function(tn){C.current&&(O(tn||[]),X(!!v.current))})},[]);var Gt=_.useCallback(function(tn,xn){var kt=JZ(tn,xn,d);if(!kt){v.current=void 0,L(""),be(""),q([]),X(!1),he(!1);return}if(i&&Be[kt])L(kt),be(kt),q(Be[kt]),X(!1),he(!1);else{var Pt=v.current={};L(kt),X(!0),he(!te),Ut(kt,function(pe){C&&Pt===v.current&&(v.current=void 0,X(!1),be(kt),q(pe||[]),he(!1),Ie(pe?ct(ct({},Be),{},ng({},kt,pe)):Be))})}},[i,Ut,te,Be,d]),Ot=J?[]:P&&te?V:x||[];return ct(ct({},y),{},{options:Ot,isLoading:Y||c,onInputChange:Gt,filterOption:g})}var pne=_.forwardRef(function(t,e){var n=hne(t),r=fne(n);return _.createElement(WN,Ve({ref:e},r))}),mne=pne;function gne(t,e){return e?e(t):{name:{operation:"contains",value:t}}}function kE(t){var b,v,C;const e=vn(),n=Sf();let[r,i]=_.useState("");if(!t.querySource)return N.jsx("div",{children:"No query source to render"});const{query:o,keyExtractor:u}=t.querySource({queryClient:n,query:{itemsPerPage:20,jsonQuery:gne(r,t.jsonQuery),withPreloads:t.withPreloads},queryOptions:{refetchOnWindowFocus:!1}}),c=t.keyExtractor||u||(E=>JSON.stringify(E)),d=(v=(b=o==null?void 0:o.data)==null?void 0:b.data)==null?void 0:v.items,h=E=>{var $;if(($=t==null?void 0:t.formEffect)!=null&&$.form){const{formEffect:x}=t,O={...x.form.values};if(x.beforeSet&&(E=x.beforeSet(E)),Sr.set(O,x.field,E),Sr.isObject(E)&&E.uniqueId&&x.skipFirebackMetaData!==!0&&Sr.set(O,x.field+"Id",E.uniqueId),Sr.isArray(E)&&x.skipFirebackMetaData!==!0){const R=x.field+"ListId";Sr.set(O,R,(E||[]).map(D=>D.uniqueId))}x==null||x.form.setValues(O)}t.onChange&&typeof t.onChange=="function"&&t.onChange(E)};let g=t.value;if(g===void 0&&((C=t.formEffect)!=null&&C.form)){const E=Sr.get(t.formEffect.form.values,t.formEffect.field);E!==void 0&&(g=E)}typeof g!="object"&&c&&g!==void 0&&(g=d.find(E=>c(E)===g));const y=E=>new Promise($=>{setTimeout(()=>{$(d)},100)});return N.jsxs(qw,{...t,children:[t.children,t.convertToNative?N.jsxs("select",{value:g,multiple:t.multiple,onChange:E=>{const $=d==null?void 0:d.find(x=>x.uniqueId===E.target.value);h($)},className:ko("form-select",t.errorMessage&&"is-invalid",t.validMessage&&"is-valid"),disabled:t.disabled,"aria-label":"Default select example",children:[N.jsx("option",{value:"",children:e.selectPlaceholder},void 0),d==null?void 0:d.filter(Boolean).map(E=>{const $=c(E);return N.jsx("option",{value:$,children:t.fnLabelFormat(E)},$)})]}):N.jsx(N.Fragment,{children:N.jsx(mne,{value:g,onChange:E=>{h(E)},isMulti:t.multiple,classNames:{container(E){return ko(t.errorMessage&&" form-control form-control-no-padding is-invalid",t.validMessage&&"is-valid")},control(E){return ko("form-control form-control-no-padding")},menu(E){return"react-select-menu-area"}},isSearchable:!0,defaultOptions:d,placeholder:e.searchplaceholder,noOptionsMessage:()=>e.noOptions,getOptionValue:c,loadOptions:y,formatOptionLabel:t.fnLabelFormat,onInputChange:i})})]})}function rS({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var O,R,D;const{options:u,execFn:c}=_.useContext(en),d=o?o(u):u,h=r?r(d):c?c(d):ar(d);let y=`${"/roles".substr(1)}?${mp.stringify(e)}`;const b=()=>h("GET",y),v=(O=d==null?void 0:d.headers)==null?void 0:O.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Uo(["*abac.RoleEntity",d,e],b,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),x=((D=(R=$.data)==null?void 0:R.data)==null?void 0:D.items)||[];return{query:$,items:x,keyExtractor:P=>P.uniqueId}}rS.UKEY="*abac.RoleEntity";const yne=({form:t,isEditing:e})=>{const{values:n,setValues:r,setFieldValue:i,errors:o}=t,{options:u}=_.useContext(en),c=vn();return N.jsx(N.Fragment,{children:N.jsx(kE,{formEffect:{field:Ja.Fields.role$,form:t},querySource:rS,label:c.wokspaces.invite.role,errorMessage:o.roleId,fnLabelFormat:d=>d.name,hint:c.wokspaces.invite.roleHint})})},S6=({data:t})=>{const{router:e,uniqueId:n,queryClient:r,t:i}=t1({data:t}),o=oN({query:{uniqueId:n}}),u=TX({queryClient:r}),c=xX({queryClient:r});return N.jsx(Zx,{postHook:u,getSingleHook:o,patchHook:c,onCancel:()=>{e.goBackOrDefault(Ja.Navigation.query())},onFinishUriResolver:(d,h)=>{var g;return Ja.Navigation.single((g=d.data)==null?void 0:g.uniqueId)},Form:yne,onEditTitle:i.fb.editPublicJoinKey,onCreateTitle:i.fb.newPublicJoinKey,data:t})},fT=({children:t,getSingleHook:e,editEntityHandler:n,noBack:r,disableOnGetFailed:i})=>{var c;const{router:o,locale:u}=t1({});return $X(n?()=>n({locale:u,router:o}):void 0,jn.EditEntity),rN(r!==!0?()=>o.goBack():null,jn.CommonBack),N.jsxs(N.Fragment,{children:[N.jsx(jo,{query:e.query}),i===!0&&((c=e==null?void 0:e.query)!=null&&c.isError)?null:N.jsx(N.Fragment,{children:t})]})},KN=({value:t})=>{const e=n=>{n.stopPropagation(),navigator.clipboard.writeText(t).then(()=>{})};return N.jsx("div",{className:"table-btn table-copy-btn",onClick:e,children:N.jsx(vne,{})})},vne=({size:t=16,color:e="silver",style:n={}})=>N.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n,children:N.jsx("path",{d:"M16 1H6C4.9 1 4 1.9 4 3V17H6V3H16V1ZM18 5H10C8.9 5 8 5.9 8 7V21C8 22.1 8.9 23 10 23H18C19.1 23 20 22.1 20 21V7C20 5.9 19.1 5 18 5ZM18 21H10V7H18V21Z",fill:e})});function dT({entity:t,fields:e,title:n,description:r}){var o;const i=vn();return N.jsx("div",{className:"mt-4",children:N.jsxs("div",{className:"general-entity-view ",children:[n?N.jsx("h1",{children:n}):null,r?N.jsx("p",{children:r}):null,N.jsxs("div",{className:"entity-view-row entity-view-head",children:[N.jsx("div",{className:"field-info",children:i.table.info}),N.jsx("div",{className:"field-value",children:i.table.value})]}),(t==null?void 0:t.uniqueId)&&N.jsxs("div",{className:"entity-view-row entity-view-body",children:[N.jsx("div",{className:"field-info",children:i.table.uniqueId}),N.jsx("div",{className:"field-value",children:t.uniqueId})]}),(o=e||[])==null?void 0:o.map((u,c)=>{var h;let d=u.elem===void 0?"-":u.elem;return u.elem===!0&&(d=i.common.yes),u.elem===!1&&(d=i.common.no),u.elem===null&&(d=N.jsx("i",{children:N.jsx("b",{children:i.common.isNUll})})),N.jsxs("div",{className:"entity-view-row entity-view-body",children:[N.jsx("div",{className:"field-info",children:u.label}),N.jsxs("div",{className:"field-value","data-test-id":((h=u.label)==null?void 0:h.toString())||"",children:[d," ",N.jsx(KN,{value:d})]})]},c)}),(t==null?void 0:t.createdFormatted)&&N.jsxs("div",{className:"entity-view-row entity-view-body",children:[N.jsx("div",{className:"field-info",children:i.table.created}),N.jsx("div",{className:"field-value",children:t.createdFormatted})]})]})})}const bne=()=>{var o,u;const t=Lr(),e=vn(),n=t.query.uniqueId;Ci();const r=oN({query:{uniqueId:n}});var i=(o=r.query.data)==null?void 0:o.data;return N.jsx(N.Fragment,{children:N.jsx(fT,{editEntityHandler:()=>{t.push(Ja.Navigation.edit(n))},getSingleHook:r,children:N.jsx(dT,{entity:i,fields:[{label:e.role.name,elem:(u=i==null?void 0:i.role)==null?void 0:u.name}]})})})};var yw=function(t){return Array.prototype.slice.call(t)},wne=(function(){function t(){this.handlers=[]}return t.prototype.emit=function(e){this.handlers.forEach(function(n){return n(e)})},t.prototype.subscribe=function(e){this.handlers.push(e)},t.prototype.unsubscribe=function(e){this.handlers.splice(this.handlers.indexOf(e),1)},t})(),YN=function(t,e){if(t===e)return!0;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty,o=0;o0)&&!(i=r.next()).done;)o.push(i.value)}catch(c){u={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(u)throw u.error}}return o}function C6(t,e,n){if(arguments.length===2)for(var r=0,i=e.length,o;r0?kne(e,n,r):e}};Oe.shape({current:Oe.instanceOf(typeof Element<"u"?Element:Object)});var yT=Symbol("group"),Fne=Symbol("".concat(yT.toString(),"_check"));Symbol("".concat(yT.toString(),"_levelKey"));Symbol("".concat(yT.toString(),"_collapsedRows"));var Lne=function(t){return function(e){var n=t(e);return!e[Fne]&&n===void 0&&console.warn("The row id is undefined. Check the getRowId function. The row is",e),n}},Une=function(t,e){if(!t){var n=new Map(e.map(function(r,i){return[r,i]}));return function(r){return n.get(r)}}return Lne(t)},jne=function(t,e){return t[e]},Bne=function(t,e){t===void 0&&(t=jne);var n=!0,r=e.reduce(function(i,o){return o.getCellValue&&(n=!1,i[o.name]=o.getCellValue),i},{});return n?t:function(i,o){return r[o]?r[o](i,o):t(i,o)}};/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var bg=function(){return bg=Object.assign||function(e){for(var n,r=1,i=arguments.length;r0)&&!(i=r.next()).done;)o.push(i.value)}catch(c){u={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(u)throw u.error}}return o}function ww(t,e,n){if(arguments.length===2)for(var r=0,i=e.length,o;rr){do e[d++]=t[c++];while(c<=i);break}}else if(e[d++]=t[c++],c>i){do e[d++]=t[u++];while(u<=r);break}}},_6=function(t,e,n,r,i){if(!(ro?1:0});var n=yw(t),r=yw(t);return jE(n,r,0,n.length-1,e),n}),zne=function(t,e,n){var r=n.map(function(i){var o=i.columnName;return{column:t.find(function(u){return u.name===o}),draft:!e.some(function(u){return u.columnName===o})}});return e.forEach(function(i,o){var u=i.columnName;n.some(function(c){return c.columnName===u})||r.splice(o,0,{column:t.find(function(c){return c.name===u}),draft:!0})}),r},Sw=Symbol("reordering"),Vne=function(t,e){var n=e.sourceColumnName,r=e.targetColumnName,i=t.indexOf(n),o=t.indexOf(r),u=yw(t);return u.splice(i,1),u.splice(o,0,n),u},yl=Symbol("data"),Gne=function(t,e){return t===void 0&&(t=[]),qne(t,function(n,r){if(n.type!==yl||r.type!==yl)return 0;var i=e.indexOf(n.column.name),o=e.indexOf(r.column.name);return i-o})},Wne=function(t){return ww(ww([],UE(t),!1),[{key:Sw.toString(),type:Sw,height:0}],!1)},Kne=function(t,e,n){if(e===-1||n===-1||e===n)return t;var r=yw(t),i=t[e];return r.splice(e,1),r.splice(n,0,i),r},Yne=function(t,e){var n=parseInt(t,10),r=n?t.substr(n.toString().length):t,i=isNaN(n)&&r==="auto",o=n>=0&&e.some(function(u){return u===r});return i||o},Qne=function(t){if(typeof t=="string"){var e=parseInt(t,10);return t.substr(e.toString().length).length>0?t:e}return t},Jne=Symbol("heading"),Xne=Symbol("filter"),BE=Symbol("group"),Zne=Symbol("stub"),ere=function(t,e,n,r){return t.reduce(function(i,o){if(o.type!==yl)return i.push(o),i;var u=o.column&&o.column.name||"",c=e.some(function(h){return h.columnName===u}),d=n.some(function(h){return h.columnName===u});return!c&&!d||r(u)?i.push(o):(!c&&d||c&&!d)&&i.push(bg(bg({},o),{draft:!0})),i},[])},tre=function(t,e,n,r,i,o){return ww(ww([],UE(n.map(function(u){var c=t.find(function(d){return d.name===u.columnName});return{key:"".concat(BE.toString(),"_").concat(c.name),type:BE,column:c,width:i}})),!1),UE(ere(e,n,r,o)),!1)},nre=Symbol("band"),rre=["px","%","em","rem","vm","vh","vmin","vmax",""],ire="The columnExtension property of the Table plugin is given an invalid value.",are=function(t){t&&t.map(function(e){var n=e.width;if(typeof n=="string"&&!Yne(n,rre))throw new Error(ire)})},ore=function(t,e){if(!t)return{};var n=t.find(function(r){return r.columnName===e});return n||{}},sre=function(t,e){return t.map(function(n){var r=n.name,i=ore(e,r),o=Qne(i.width);return{column:n,key:"".concat(yl.toString(),"_").concat(r),type:yl,width:o,align:i.align,wordWrapEnabled:i.wordWrapEnabled}})},ure=function(t,e){return t===void 0&&(t=[]),t.filter(function(n){return n.type!==yl||e.indexOf(n.column.name)===-1})},lre=function(t,e,n){return function(r){return n.indexOf(r)>-1&&e||typeof t=="function"&&t(r)||void 0}},cre=Symbol("totalSummary");Jne.toString();Xne.toString();yl.toString();nre.toString();cre.toString();Zne.toString();BE.toString();var fre=function(t,e){var n=t[e].right-t[e].left,r=function(i){return t[i].right-t[i].left-n};return t.map(function(i,o){var u=i.top,c=i.right,d=i.bottom,h=i.left,g=h;o>0&&o<=e&&(g=Math.min(g,g-r(o-1))),o>e&&(g=Math.max(g,g+r(o)));var y=c;return o=e&&(y=Math.max(y,y+r(o+1))),o=u&&e=t.top&&e<=t.bottom},hre=function(t){var e=t.top,n=t.right,r=t.bottom,i=t.left;return{top:e,right:n,bottom:r,left:i}},pre=function(t){return t.map(function(e,n){return n!==t.length-1&&e.top===t[n+1].top?bg(bg({},e),{right:t[n+1].left}):e})},mre=function(t,e,n){var r=n.x,i=n.y;if(t.length===0)return 0;var o=e!==-1?fre(t,e):t.map(hre),u=pre(o).findIndex(function(c,d){var h=A6(c,i),g=r>=c.left&&r<=c.right,y=d===0&&r{t(!1)})},refs:[]}),Lre=_.createContext(null),Ure=()=>{const t=_.useContext(Lre);if(!t)throw new Error("useOverlay must be inside OverlayProvider");return t},jre=()=>{const{openDrawer:t,openModal:e}=Ure();return{confirmDrawer:({title:i,description:o,cancelLabel:u,confirmLabel:c})=>t(({close:d,resolve:h})=>N.jsxs("div",{className:"confirm-drawer-container p-3",children:[N.jsx("h2",{children:i}),N.jsx("span",{children:o}),N.jsxs("div",{children:[N.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>h(),children:c}),N.jsx("button",{className:"d-block w-100 btn",onClick:()=>d(),children:u})]})]})),confirmModal:({title:i,description:o,cancelLabel:u,confirmLabel:c})=>e(({close:d,resolve:h})=>N.jsxs("div",{className:"confirm-drawer-container p-3",children:[N.jsx("span",{children:o}),N.jsxs("div",{className:"row mt-4",children:[N.jsx("div",{className:"col-md-6",children:N.jsx("button",{className:"d-block w-100 btn btn-primary",onClick:()=>h(),children:c})}),N.jsx("div",{className:"col-md-6",children:N.jsx("button",{className:"d-block w-100 btn",onClick:()=>d(),children:u})})]})]}),{title:i})}},Bre=()=>{const t=_.useRef();return{withDebounce:(n,r)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(n,r)}}};function Hre({urlMask:t,submitDelete:e,onRecordsDeleted:n,initialFilters:r}){const i=vn(),o=Lr(),{confirmModal:u}=jre(),{withDebounce:c}=Bre(),d={itemsPerPage:100,startIndex:0,sorting:[],...r||{}},[h,g]=_.useState(d),[y,b]=_.useState(d),{search:v}=xl(),C=_.useRef(!1);_.useEffect(()=>{if(C.current)return;C.current=!0;let we={};try{we=mp.parse(v.substring(1)),delete we.startIndex}catch{}g({...d,...we}),b({...d,...we})},[v]);const[E,$]=_.useState([]),O=(we=>{var V;const B={...we};return delete B.startIndex,delete B.itemsPerPage,((V=B==null?void 0:B.sorting)==null?void 0:V.length)===0&&delete B.sorting,JSON.stringify(B)})(h),R=we=>{$(we)},D=(we,B=!0)=>{const V={...h,...we};B&&(V.startIndex=0),g(V),o.push("?"+mp.stringify(V),void 0,{},!0),c(()=>{b(V)},500)},P=we=>{D({itemsPerPage:we},!1)},L=we=>we.map(B=>`${B.columnName} ${B.direction}`).join(", "),F=we=>{D({sorting:we,sort:L(we)},!1)},H=we=>{D({startIndex:we},!1)},Y=we=>{D({startIndex:0})};_.useContext(d7);const X=we=>({query:we.map(B=>`unique_id = ${B}`).join(" or "),uniqueId:""}),ue=async()=>{u({title:i.confirm,confirmLabel:i.common.yes,cancelLabel:i.common.no,description:i.deleteConfirmMessage}).promise.then(({type:we})=>{if(we==="resolved")return e(X(E),null)}).then(()=>{n&&n()})},me=()=>({label:i.deleteAction,onSelect(){ue()},icon:Rg.delete,uniqueActionKey:"GENERAL_DELETE_ACTION"}),{addActions:te,removeActionMenu:be}=bX();return _.useEffect(()=>{if(E.length>0&&typeof e<"u")return te("table-selection",[me()]);be("table-selection")},[E]),n1(jn.Delete,()=>{E.length>0&&typeof e<"u"&&ue()}),{filters:h,setFilters:g,setFilter:D,setSorting:F,setStartIndex:H,selection:E,setSelection:R,onFiltersChange:Y,queryHash:O,setPageSize:P,debouncedFilters:y}}function qre({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=_.useContext(en),c=e?e(o):u?u(o):ar(o);let h=`${"/table-view-sizing/:uniqueId".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>c("GET",h),b=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=b!="undefined"&&b!=null&&b!=null&&b!="null"&&!!b;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Uo([o,n,"*abac.TableViewSizingEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}class vT extends Vt{constructor(...e){super(...e),this.children=void 0,this.tableName=void 0,this.sizes=void 0}}vT.Navigation={edit(t,e){return`${e?"/"+e:".."}/table-view-sizing/edit/${t}`},create(t){return`${t?"/"+t:".."}/table-view-sizing/new`},single(t,e){return`${e?"/"+e:".."}/table-view-sizing/${t}`},query(t={},e){return`${e?"/"+e:".."}/table-view-sizings`},Redit:"table-view-sizing/edit/:uniqueId",Rcreate:"table-view-sizing/new",Rsingle:"table-view-sizing/:uniqueId",Rquery:"table-view-sizings"};vT.definition={rpc:{query:{}},name:"tableViewSizing",features:{},gormMap:{},fields:[{name:"tableName",type:"string",validate:"required",computedType:"string",gormMap:{}},{name:"sizes",type:"string",computedType:"string",gormMap:{}}],cliShort:"tvs",description:"Used to store meta data about user tables (in front-end, or apps for example) about the size of the columns"};vT.Fields={...Vt.Fields,tableName:"tableName",sizes:"sizes"};function zre(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/table-view-sizing".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueriesData("*abac.TableViewSizingEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function h7(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e1&&(!t.frozen||t.idx+r-1<=e))return r}function Vre(t){t.stopPropagation()}function U2(t){t==null||t.scrollIntoView({inline:"nearest",block:"nearest"})}function o0(t){let e=!1;const n={...t,preventGridDefault(){e=!0},isGridDefaultPrevented(){return e}};return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),n}const Gre=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function qE(t){return(t.ctrlKey||t.metaKey)&&t.key!=="Control"}function Wre(t){return qE(t)&&t.keyCode!==86?!1:!Gre.has(t.key)}function Kre({key:t,target:e}){var n;return t==="Tab"&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)?((n=e.closest(".rdg-editor-container"))==null?void 0:n.querySelectorAll("input, textarea, select").length)===1:!1}const Yre="mlln6zg7-0-0-beta-51";function Qre(t){return t.map(({key:e,idx:n,minWidth:r,maxWidth:i})=>N.jsx("div",{className:Yre,style:{gridColumnStart:n+1,minWidth:r,maxWidth:i},"data-measuring-cell-key":e},e))}function Jre({selectedPosition:t,columns:e,rows:n}){const r=e[t.idx],i=n[t.rowIdx];return p7(r,i)}function p7(t,e){return t.renderEditCell!=null&&(typeof t.editable=="function"?t.editable(e):t.editable)!==!1}function Xre({rows:t,topSummaryRows:e,bottomSummaryRows:n,rowIdx:r,mainHeaderRowIdx:i,lastFrozenColumnIndex:o,column:u}){const c=(e==null?void 0:e.length)??0;if(r===i)return Do(u,o,{type:"HEADER"});if(e&&r>i&&r<=c+i)return Do(u,o,{type:"SUMMARY",row:e[r+c]});if(r>=0&&r{for(const F of i){const H=F.idx;if(H>$)break;const Y=Xre({rows:o,topSummaryRows:u,bottomSummaryRows:c,rowIdx:x,mainHeaderRowIdx:h,lastFrozenColumnIndex:C,column:F});if(Y&&$>H&&$L.level+h,P=()=>{if(e){let F=r[$].parent;for(;F!==void 0;){const H=D(F);if(x===H){$=F.idx+F.colSpan;break}F=F.parent}}else if(t){let F=r[$].parent,H=!1;for(;F!==void 0;){const Y=D(F);if(x>=Y){$=F.idx,x=Y,H=!0;break}F=F.parent}H||($=y,x=b)}};if(E(v)&&(R(e),x=H&&(x=Y,$=F.idx),F=F.parent}}return{idx:$,rowIdx:x}}function eie({maxColIdx:t,minRowIdx:e,maxRowIdx:n,selectedPosition:{rowIdx:r,idx:i},shiftKey:o}){return o?i===0&&r===e:i===t&&r===n}const tie="cj343x07-0-0-beta-51",m7=`rdg-cell ${tie}`,nie="csofj7r7-0-0-beta-51",rie=`rdg-cell-frozen ${nie}`;function bT(t){return{"--rdg-grid-row-start":t}}function g7(t,e,n){const r=e+1,i=`calc(${n-1} * var(--rdg-header-row-height))`;return t.parent===void 0?{insetBlockStart:0,gridRowStart:1,gridRowEnd:r,paddingBlockStart:i}:{insetBlockStart:`calc(${e-n} * var(--rdg-header-row-height))`,gridRowStart:r-n,gridRowEnd:r,paddingBlockStart:i}}function Ig(t,e=1){const n=t.idx+1;return{gridColumnStart:n,gridColumnEnd:n+e,insetInlineStart:t.frozen?`var(--rdg-frozen-left-${t.idx})`:void 0}}function o1(t,...e){return vl(m7,{[rie]:t.frozen},...e)}const{min:U0,max:Cw,floor:R6,sign:iie,abs:aie}=Math;function u$(t){if(typeof t!="function")throw new Error("Please specify the rowKeyGetter prop to use selection")}function y7(t,{minWidth:e,maxWidth:n}){return t=Cw(t,e),typeof n=="number"&&n>=e?U0(t,n):t}function v7(t,e){return t.parent===void 0?e:t.level-t.parent.level}const oie="c1bn88vv7-0-0-beta-51",sie=`rdg-checkbox-input ${oie}`;function uie({onChange:t,indeterminate:e,...n}){function r(i){t(i.target.checked,i.nativeEvent.shiftKey)}return N.jsx("input",{ref:i=>{i&&(i.indeterminate=e===!0)},type:"checkbox",className:sie,onChange:r,...n})}function lie(t){try{return t.row[t.column.key]}catch{return null}}const b7=_.createContext(void 0);function aS(){return _.useContext(b7)}function wT({value:t,tabIndex:e,indeterminate:n,disabled:r,onChange:i,"aria-label":o,"aria-labelledby":u}){const c=aS().renderCheckbox;return c({"aria-label":o,"aria-labelledby":u,tabIndex:e,indeterminate:n,disabled:r,checked:t,onChange:i})}const ST=_.createContext(void 0),w7=_.createContext(void 0);function S7(){const t=_.useContext(ST),e=_.useContext(w7);if(t===void 0||e===void 0)throw new Error("useRowSelection must be used within renderCell");return{isRowSelectionDisabled:t.isRowSelectionDisabled,isRowSelected:t.isRowSelected,onRowSelectionChange:e}}const C7=_.createContext(void 0),$7=_.createContext(void 0);function cie(){const t=_.useContext(C7),e=_.useContext($7);if(t===void 0||e===void 0)throw new Error("useHeaderRowSelection must be used within renderHeaderCell");return{isIndeterminate:t.isIndeterminate,isRowSelected:t.isRowSelected,onRowSelectionChange:e}}const $w="rdg-select-column";function fie(t){const{isIndeterminate:e,isRowSelected:n,onRowSelectionChange:r}=cie();return N.jsx(wT,{"aria-label":"Select All",tabIndex:t.tabIndex,indeterminate:e,value:n,onChange:i=>{r({checked:e?!1:i})}})}function die(t){const{isRowSelectionDisabled:e,isRowSelected:n,onRowSelectionChange:r}=S7();return N.jsx(wT,{"aria-label":"Select",tabIndex:t.tabIndex,disabled:e,value:n,onChange:(i,o)=>{r({row:t.row,checked:i,isShiftClick:o})}})}function hie(t){const{isRowSelected:e,onRowSelectionChange:n}=S7();return N.jsx(wT,{"aria-label":"Select Group",tabIndex:t.tabIndex,value:e,onChange:r=>{n({row:t.row,checked:r,isShiftClick:!1})}})}const pie={key:$w,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell(t){return N.jsx(fie,{...t})},renderCell(t){return N.jsx(die,{...t})},renderGroupCell(t){return N.jsx(hie,{...t})}},mie="h44jtk67-0-0-beta-51",gie="hcgkhxz7-0-0-beta-51",yie=`rdg-header-sort-name ${gie}`;function vie({column:t,sortDirection:e,priority:n}){return t.sortable?N.jsx(bie,{sortDirection:e,priority:n,children:t.name}):t.name}function bie({sortDirection:t,priority:e,children:n}){const r=aS().renderSortStatus;return N.jsxs("span",{className:mie,children:[N.jsx("span",{className:yie,children:n}),N.jsx("span",{children:r({sortDirection:t,priority:e})})]})}const wie="auto",Sie=50;function Cie({rawColumns:t,defaultColumnOptions:e,getColumnWidth:n,viewportWidth:r,scrollLeft:i,enableVirtualization:o}){const u=(e==null?void 0:e.width)??wie,c=(e==null?void 0:e.minWidth)??Sie,d=(e==null?void 0:e.maxWidth)??void 0,h=(e==null?void 0:e.renderCell)??lie,g=(e==null?void 0:e.renderHeaderCell)??vie,y=(e==null?void 0:e.sortable)??!1,b=(e==null?void 0:e.resizable)??!1,v=(e==null?void 0:e.draggable)??!1,{columns:C,colSpanColumns:E,lastFrozenColumnIndex:$,headerRowsCount:x}=_.useMemo(()=>{let H=-1,Y=1;const X=[];ue(t,1);function ue(te,be,we){for(const B of te){if("children"in B){const ie={name:B.name,parent:we,idx:-1,colSpan:0,level:0,headerCellClass:B.headerCellClass};ue(B.children,be+1,ie);continue}const V=B.frozen??!1,q={...B,parent:we,idx:0,level:0,frozen:V,width:B.width??u,minWidth:B.minWidth??c,maxWidth:B.maxWidth??d,sortable:B.sortable??y,resizable:B.resizable??b,draggable:B.draggable??v,renderCell:B.renderCell??h,renderHeaderCell:B.renderHeaderCell??g};X.push(q),V&&H++,be>Y&&(Y=be)}}X.sort(({key:te,frozen:be},{key:we,frozen:B})=>te===$w?-1:we===$w?1:be?B?0:-1:B?1:0);const me=[];return X.forEach((te,be)=>{te.idx=be,E7(te,be,0),te.colSpan!=null&&me.push(te)}),{columns:X,colSpanColumns:me,lastFrozenColumnIndex:H,headerRowsCount:Y}},[t,u,c,d,h,g,b,y,v]),{templateColumns:O,layoutCssVars:R,totalFrozenColumnWidth:D,columnMetrics:P}=_.useMemo(()=>{const H=new Map;let Y=0,X=0;const ue=[];for(const te of C){let be=n(te);typeof be=="number"?be=y7(be,te):be=te.minWidth,ue.push(`${be}px`),H.set(te,{width:be,left:Y}),Y+=be}if($!==-1){const te=H.get(C[$]);X=te.left+te.width}const me={};for(let te=0;te<=$;te++){const be=C[te];me[`--rdg-frozen-left-${be.idx}`]=`${H.get(be).left}px`}return{templateColumns:ue,layoutCssVars:me,totalFrozenColumnWidth:X,columnMetrics:H}},[n,C,$]),[L,F]=_.useMemo(()=>{if(!o)return[0,C.length-1];const H=i+D,Y=i+r,X=C.length-1,ue=U0($+1,X);if(H>=Y)return[ue,ue];let me=ue;for(;meH)break;me++}let te=me;for(;te=Y)break;te++}const be=Cw(ue,me-1),we=U0(X,te+1);return[be,we]},[P,C,$,i,D,r,o]);return{columns:C,colSpanColumns:E,colOverscanStartIdx:L,colOverscanEndIdx:F,templateColumns:O,layoutCssVars:R,headerRowsCount:x,lastFrozenColumnIndex:$,totalFrozenColumnWidth:D}}function E7(t,e,n){if(n{g.current=i,$(C)});function $(O){O.length!==0&&d(R=>{const D=new Map(R);let P=!1;for(const L of O){const F=P6(r,L);P||(P=F!==R.get(L)),F===void 0?D.delete(L):D.set(L,F)}return P?D:R})}function x(O,R){const{key:D}=O,P=[...n],L=[];for(const{key:H,idx:Y,width:X}of e)if(D===H){const ue=typeof R=="number"?`${R}px`:R;P[Y]=ue}else y&&typeof X=="string"&&!o.has(H)&&(P[Y]=X,L.push(H));r.current.style.gridTemplateColumns=P.join(" ");const F=typeof R=="number"?R:P6(r,D);yu.flushSync(()=>{c(H=>{const Y=new Map(H);return Y.set(D,F),Y}),$(L)}),h==null||h(O,F)}return{gridTemplateColumns:E,handleColumnResize:x}}function P6(t,e){var i;const n=`[data-measuring-cell-key="${CSS.escape(e)}"]`,r=(i=t.current)==null?void 0:i.querySelector(n);return r==null?void 0:r.getBoundingClientRect().width}function Eie(){const t=_.useRef(null),[e,n]=_.useState(1),[r,i]=_.useState(1),[o,u]=_.useState(0);return _.useLayoutEffect(()=>{const{ResizeObserver:c}=window;if(c==null)return;const{clientWidth:d,clientHeight:h,offsetWidth:g,offsetHeight:y}=t.current,{width:b,height:v}=t.current.getBoundingClientRect(),C=y-h,E=b-g+d,$=v-C;n(E),i($),u(C);const x=new c(O=>{const R=O[0].contentBoxSize[0],{clientHeight:D,offsetHeight:P}=t.current;yu.flushSync(()=>{n(R.inlineSize),i(R.blockSize),u(P-D)})});return x.observe(t.current),()=>{x.disconnect()}},[]),[t,e,r,o]}function Ya(t){const e=_.useRef(t);_.useEffect(()=>{e.current=t});const n=_.useCallback((...r)=>{e.current(...r)},[]);return t&&n}function s1(t){const[e,n]=_.useState(!1);e&&!t&&n(!1);function r(o){o.target!==o.currentTarget&&n(!0)}return{tabIndex:t&&!e?0:-1,childTabIndex:t?0:-1,onFocus:t?r:void 0}}function xie({columns:t,colSpanColumns:e,rows:n,topSummaryRows:r,bottomSummaryRows:i,colOverscanStartIdx:o,colOverscanEndIdx:u,lastFrozenColumnIndex:c,rowOverscanStartIdx:d,rowOverscanEndIdx:h}){const g=_.useMemo(()=>{if(o===0)return 0;let y=o;const b=(v,C)=>C!==void 0&&v+C>o?(y=v,!0):!1;for(const v of e){const C=v.idx;if(C>=y||b(C,Do(v,c,{type:"HEADER"})))break;for(let E=d;E<=h;E++){const $=n[E];if(b(C,Do(v,c,{type:"ROW",row:$})))break}if(r!=null){for(const E of r)if(b(C,Do(v,c,{type:"SUMMARY",row:E})))break}if(i!=null){for(const E of i)if(b(C,Do(v,c,{type:"SUMMARY",row:E})))break}}return y},[d,h,n,r,i,o,c,e]);return _.useMemo(()=>{const y=[];for(let b=0;b<=u;b++){const v=t[b];b{if(typeof e=="number")return{totalRowHeight:e*t.length,gridTemplateRows:` repeat(${t.length}, ${e}px)`,getRowTop:$=>$*e,getRowHeight:()=>e,findRowIdx:$=>R6($/e)};let b=0,v=" ";const C=t.map($=>{const x=e($),O={top:b,height:x};return v+=`${x}px `,b+=x,O}),E=$=>Cw(0,U0(t.length-1,$));return{totalRowHeight:b,gridTemplateRows:v,getRowTop:$=>C[E($)].top,getRowHeight:$=>C[E($)].height,findRowIdx($){let x=0,O=C.length-1;for(;x<=O;){const R=x+R6((O-x)/2),D=C[R].top;if(D===$)return R;if(D<$?x=R+1:D>$&&(O=R-1),x>O)return O}return 0}}},[e,t]);let g=0,y=t.length-1;if(i){const v=h(r),C=h(r+n);g=Cw(0,v-4),y=U0(t.length-1,C+4)}return{rowOverscanStartIdx:g,rowOverscanEndIdx:y,totalRowHeight:o,gridTemplateRows:u,getRowTop:c,getRowHeight:d,findRowIdx:h}}const Oie="c6ra8a37-0-0-beta-51",_ie=`rdg-cell-copied ${Oie}`,Aie="cq910m07-0-0-beta-51",Rie=`rdg-cell-dragged-over ${Aie}`;function Pie({column:t,colSpan:e,isCellSelected:n,isCopied:r,isDraggedOver:i,row:o,rowIdx:u,className:c,onClick:d,onDoubleClick:h,onContextMenu:g,onRowChange:y,selectCell:b,style:v,...C}){const{tabIndex:E,childTabIndex:$,onFocus:x}=s1(n),{cellClass:O}=t;c=o1(t,{[_ie]:r,[Rie]:i},typeof O=="function"?O(o):O,c);const R=p7(t,o);function D(Y){b({rowIdx:u,idx:t.idx},Y)}function P(Y){if(d){const X=o0(Y);if(d({rowIdx:u,row:o,column:t,selectCell:D},X),X.isGridDefaultPrevented())return}D()}function L(Y){if(g){const X=o0(Y);if(g({rowIdx:u,row:o,column:t,selectCell:D},X),X.isGridDefaultPrevented())return}D()}function F(Y){if(h){const X=o0(Y);if(h({rowIdx:u,row:o,column:t,selectCell:D},X),X.isGridDefaultPrevented())return}D(!0)}function H(Y){y(t,Y)}return N.jsx("div",{role:"gridcell","aria-colindex":t.idx+1,"aria-colspan":e,"aria-selected":n,"aria-readonly":!R||void 0,tabIndex:E,className:c,style:{...Ig(t,e),...v},onClick:P,onDoubleClick:F,onContextMenu:L,onFocus:x,...C,children:t.renderCell({column:t,row:o,rowIdx:u,isCellEditable:R,tabIndex:$,onRowChange:H})})}const Iie=_.memo(Pie);function Nie(t,e){return N.jsx(Iie,{...e},t)}const Mie="c1w9bbhr7-0-0-beta-51",Die="c1creorc7-0-0-beta-51",kie=`rdg-cell-drag-handle ${Mie}`;function Fie({gridRowStart:t,rows:e,column:n,columnWidth:r,maxColIdx:i,isLastRow:o,selectedPosition:u,latestDraggedOverRowIdx:c,isCellEditable:d,onRowsChange:h,onFill:g,onClick:y,setDragging:b,setDraggedOverRowIdx:v}){const{idx:C,rowIdx:E}=u;function $(P){if(P.preventDefault(),P.buttons!==1)return;b(!0),window.addEventListener("mouseover",L),window.addEventListener("mouseup",F);function L(H){H.buttons!==1&&F()}function F(){window.removeEventListener("mouseover",L),window.removeEventListener("mouseup",F),b(!1),x()}}function x(){const P=c.current;if(P===void 0)return;const L=E0&&(h==null||h(H,{indexes:Y,column:n}))}function D(){var X;const P=((X=n.colSpan)==null?void 0:X.call(n,{type:"ROW",row:e[E]}))??1,{insetInlineStart:L,...F}=Ig(n,P),H="calc(var(--rdg-drag-handle-size) * -0.5 + 1px)",Y=n.idx+P-1===i;return{...F,gridRowStart:t,marginInlineEnd:Y?void 0:H,marginBlockEnd:o?void 0:H,insetInlineStart:L?`calc(${L} + ${r}px + var(--rdg-drag-handle-size) * -0.5 - 1px)`:void 0}}return N.jsx("div",{style:D(),className:vl(kie,n.frozen&&Die),onClick:y,onMouseDown:$,onDoubleClick:O})}const Lie="cis5rrm7-0-0-beta-51";function Uie({column:t,colSpan:e,row:n,rowIdx:r,onRowChange:i,closeEditor:o,onKeyDown:u,navigate:c}){var x,O,R;const d=_.useRef(void 0),h=((x=t.editorOptions)==null?void 0:x.commitOnOutsideClick)!==!1,g=Ya(()=>{v(!0,!1)});_.useEffect(()=>{if(!h)return;function D(){d.current=requestAnimationFrame(g)}return addEventListener("mousedown",D,{capture:!0}),()=>{removeEventListener("mousedown",D,{capture:!0}),y()}},[h,g]);function y(){cancelAnimationFrame(d.current)}function b(D){if(u){const P=o0(D);if(u({mode:"EDIT",row:n,column:t,rowIdx:r,navigate(){c(D)},onClose:v},P),P.isGridDefaultPrevented())return}D.key==="Escape"?v():D.key==="Enter"?v(!0):Kre(D)&&c(D)}function v(D=!1,P=!0){D?i(n,!0,P):o(P)}function C(D,P=!1){i(D,P,P)}const{cellClass:E}=t,$=o1(t,"rdg-editor-container",!((O=t.editorOptions)!=null&&O.displayCellContent)&&Lie,typeof E=="function"?E(n):E);return N.jsx("div",{role:"gridcell","aria-colindex":t.idx+1,"aria-colspan":e,"aria-selected":!0,className:$,style:Ig(t,e),onKeyDown:b,onMouseDownCapture:y,children:t.renderEditCell!=null&&N.jsxs(N.Fragment,{children:[t.renderEditCell({column:t,row:n,rowIdx:r,onRowChange:C,onClose:v}),((R=t.editorOptions)==null?void 0:R.displayCellContent)&&t.renderCell({column:t,row:n,rowIdx:r,isCellEditable:!0,tabIndex:-1,onRowChange:C})]})})}function jie({column:t,rowIdx:e,isCellSelected:n,selectCell:r}){const{tabIndex:i,onFocus:o}=s1(n),{colSpan:u}=t,c=v7(t,e),d=t.idx+1;function h(){r({idx:t.idx,rowIdx:e})}return N.jsx("div",{role:"columnheader","aria-colindex":d,"aria-colspan":u,"aria-rowspan":c,"aria-selected":n,tabIndex:i,className:vl(m7,t.headerCellClass),style:{...g7(t,e,c),gridColumnStart:d,gridColumnEnd:d+u},onFocus:o,onClick:h,children:t.name})}const Bie="c6l2wv17-0-0-beta-51",Hie="c1kqdw7y7-0-0-beta-51",qie=`rdg-cell-resizable ${Hie}`,zie="r1y6ywlx7-0-0-beta-51",Vie="rdg-cell-draggable",Gie="c1bezg5o7-0-0-beta-51",Wie=`rdg-cell-dragging ${Gie}`,Kie="c1vc96037-0-0-beta-51",Yie=`rdg-cell-drag-over ${Kie}`;function Qie({column:t,colSpan:e,rowIdx:n,isCellSelected:r,onColumnResize:i,onColumnsReorder:o,sortColumns:u,onSortColumnsChange:c,selectCell:d,shouldFocusGrid:h,direction:g,dragDropKey:y}){const b=_.useRef(!1),[v,C]=_.useState(!1),[E,$]=_.useState(!1),x=g==="rtl",O=v7(t,n),{tabIndex:R,childTabIndex:D,onFocus:P}=s1(r),L=u==null?void 0:u.findIndex(De=>De.columnKey===t.key),F=L!==void 0&&L>-1?u[L]:void 0,H=F==null?void 0:F.direction,Y=F!==void 0&&u.length>1?L+1:void 0,X=H&&!Y?H==="ASC"?"ascending":"descending":void 0,{sortable:ue,resizable:me,draggable:te}=t,be=o1(t,t.headerCellClass,{[Bie]:ue,[qie]:me,[Vie]:te,[Wie]:v,[Yie]:E});function we(De){if(De.pointerType==="mouse"&&De.buttons!==1)return;De.preventDefault();const{currentTarget:Ke,pointerId:qe}=De,ut=Ke.parentElement,{right:pt,left:bt}=ut.getBoundingClientRect(),gt=x?De.clientX-bt:pt-De.clientX;b.current=!1;function Ut(Ot){const{width:tn,right:xn,left:kt}=ut.getBoundingClientRect();let Pt=x?xn+gt-Ot.clientX:Ot.clientX+gt-kt;Pt=y7(Pt,t),tn>0&&Pt!==tn&&i(t,Pt)}function Gt(Ot){b.current||Ut(Ot),Ke.removeEventListener("pointermove",Ut),Ke.removeEventListener("lostpointercapture",Gt)}Ke.setPointerCapture(qe),Ke.addEventListener("pointermove",Ut),Ke.addEventListener("lostpointercapture",Gt)}function B(){b.current=!0,i(t,"max-content")}function V(De){if(c==null)return;const{sortDescendingFirst:Ke}=t;if(F===void 0){const qe={columnKey:t.key,direction:Ke?"DESC":"ASC"};c(u&&De?[...u,qe]:[qe])}else{let qe;if((Ke===!0&&H==="DESC"||Ke!==!0&&H==="ASC")&&(qe={columnKey:t.key,direction:H==="ASC"?"DESC":"ASC"}),De){const ut=[...u];qe?ut[L]=qe:ut.splice(L,1),c(ut)}else c(qe?[qe]:[])}}function q(De){d({idx:t.idx,rowIdx:n}),ue&&V(De.ctrlKey||De.metaKey)}function ie(De){P==null||P(De),h&&d({idx:0,rowIdx:n})}function G(De){(De.key===" "||De.key==="Enter")&&(De.preventDefault(),V(De.ctrlKey||De.metaKey))}function J(De){De.dataTransfer.setData(y,t.key),De.dataTransfer.dropEffect="move",C(!0)}function he(){C(!1)}function $e(De){De.preventDefault(),De.dataTransfer.dropEffect="move"}function Ce(De){if($(!1),De.dataTransfer.types.includes(y.toLowerCase())){const Ke=De.dataTransfer.getData(y.toLowerCase());Ke!==t.key&&(De.preventDefault(),o==null||o(Ke,t.key))}}function Be(De){I6(De)&&$(!0)}function Ie(De){I6(De)&&$(!1)}let tt;return te&&(tt={draggable:!0,onDragStart:J,onDragEnd:he,onDragOver:$e,onDragEnter:Be,onDragLeave:Ie,onDrop:Ce}),N.jsxs("div",{role:"columnheader","aria-colindex":t.idx+1,"aria-colspan":e,"aria-rowspan":O,"aria-selected":r,"aria-sort":X,tabIndex:h?0:R,className:be,style:{...g7(t,n,O),...Ig(t,e)},onFocus:ie,onClick:q,onKeyDown:ue?G:void 0,...tt,children:[t.renderHeaderCell({column:t,sortDirection:H,priority:Y,tabIndex:D}),me&&N.jsx("div",{className:zie,onClick:Vre,onPointerDown:we,onDoubleClick:B})]})}function I6(t){const e=t.relatedTarget;return!t.currentTarget.contains(e)}const Jie="r1upfr807-0-0-beta-51",CT=`rdg-row ${Jie}`,Xie="r190mhd37-0-0-beta-51",oS="rdg-row-selected",Zie="r139qu9m7-0-0-beta-51",eae="rdg-top-summary-row",tae="rdg-bottom-summary-row",nae="h10tskcx7-0-0-beta-51",x7=`rdg-header-row ${nae}`;function rae({rowIdx:t,columns:e,onColumnResize:n,onColumnsReorder:r,sortColumns:i,onSortColumnsChange:o,lastFrozenColumnIndex:u,selectedCellIdx:c,selectCell:d,shouldFocusGrid:h,direction:g}){const y=_.useId(),b=[];for(let v=0;ve&&d.parent!==void 0;)d=d.parent;if(d.level===e&&!u.has(d)){u.add(d);const{idx:h}=d;o.push(N.jsx(jie,{column:d,rowIdx:t,isCellSelected:r===h,selectCell:i},h))}}}return N.jsx("div",{role:"row","aria-rowindex":t,className:x7,children:o})}var oae=_.memo(aae);function sae({className:t,rowIdx:e,gridRowStart:n,selectedCellIdx:r,isRowSelectionDisabled:i,isRowSelected:o,copiedCellIdx:u,draggedOverCellIdx:c,lastFrozenColumnIndex:d,row:h,viewportColumns:g,selectedCellEditor:y,onCellClick:b,onCellDoubleClick:v,onCellContextMenu:C,rowClass:E,setDraggedOverRowIdx:$,onMouseEnter:x,onRowChange:O,selectCell:R,...D}){const P=aS().renderCell,L=Ya((X,ue)=>{O(X,e,ue)});function F(X){$==null||$(e),x==null||x(X)}t=vl(CT,`rdg-row-${e%2===0?"even":"odd"}`,{[oS]:r===-1},E==null?void 0:E(h,e),t);const H=[];for(let X=0;X({isRowSelected:o,isRowSelectionDisabled:i}),[i,o]);return N.jsx(ST,{value:Y,children:N.jsx("div",{role:"row",className:t,onMouseEnter:F,style:bT(n),...D,children:H})})}const uae=_.memo(sae);function lae(t,e){return N.jsx(uae,{...e},t)}function cae({scrollToPosition:{idx:t,rowIdx:e},gridRef:n,setScrollToCellPosition:r}){const i=_.useRef(null);return _.useLayoutEffect(()=>{U2(i.current)}),_.useLayoutEffect(()=>{function o(){r(null)}const u=new IntersectionObserver(o,{root:n.current,threshold:1});return u.observe(i.current),()=>{u.disconnect()}},[n,r]),N.jsx("div",{ref:i,style:{gridColumn:t===void 0?"1/-1":t+1,gridRow:e===void 0?"1/-1":e+2}})}const fae="a3ejtar7-0-0-beta-51",dae=`rdg-sort-arrow ${fae}`;function hae({sortDirection:t,priority:e}){return N.jsxs(N.Fragment,{children:[pae({sortDirection:t}),mae({priority:e})]})}function pae({sortDirection:t}){return t===void 0?null:N.jsx("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:dae,"aria-hidden":!0,children:N.jsx("path",{d:t==="ASC"?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}function mae({priority:t}){return t}const gae="rnvodz57-0-0-beta-51",yae=`rdg ${gae}`,vae="vlqv91k7-0-0-beta-51",bae=`rdg-viewport-dragging ${vae}`,wae="f1lsfrzw7-0-0-beta-51",Sae="f1cte0lg7-0-0-beta-51",Cae="s8wc6fl7-0-0-beta-51";function $ae({column:t,colSpan:e,row:n,rowIdx:r,isCellSelected:i,selectCell:o}){var b;const{tabIndex:u,childTabIndex:c,onFocus:d}=s1(i),{summaryCellClass:h}=t,g=o1(t,Cae,typeof h=="function"?h(n):h);function y(){o({rowIdx:r,idx:t.idx})}return N.jsx("div",{role:"gridcell","aria-colindex":t.idx+1,"aria-colspan":e,"aria-selected":i,tabIndex:u,className:g,style:Ig(t,e),onClick:y,onFocus:d,children:(b=t.renderSummaryCell)==null?void 0:b.call(t,{column:t,row:n,tabIndex:c})})}var Eae=_.memo($ae);const xae="skuhp557-0-0-beta-51",Tae="tf8l5ub7-0-0-beta-51",Oae=`rdg-summary-row ${xae}`;function _ae({rowIdx:t,gridRowStart:e,row:n,viewportColumns:r,top:i,bottom:o,lastFrozenColumnIndex:u,selectedCellIdx:c,isTop:d,selectCell:h,"aria-rowindex":g}){const y=[];for(let b=0;bnew Map),[Ge,Qe]=_.useState(()=>new Map),[ht,j]=_.useState(null),[A,M]=_.useState(!1),[Q,re]=_.useState(void 0),[ge,Ee]=_.useState(null),[rt,Wt]=_.useState(!1),[ae,ce]=_.useState(-1),nt=_.useCallback(ke=>pe.get(ke.key)??Ge.get(ke.key)??ke.width,[Ge,pe]),[qt,cn,wt,Ur]=Eie(),{columns:nn,colSpanColumns:er,lastFrozenColumnIndex:Tn,headerRowsCount:Fi,colOverscanStartIdx:la,colOverscanEndIdx:Ar,templateColumns:As,layoutCssVars:to,totalFrozenColumnWidth:Rs}=Cie({rawColumns:n,defaultColumnOptions:$,getColumnWidth:nt,scrollLeft:kt,viewportWidth:cn,enableVirtualization:Gt}),$i=(i==null?void 0:i.length)??0,Xr=(o==null?void 0:o.length)??0,no=$i+Xr,Li=Fi+$i,Bo=Fi-1,In=-Li,Nn=In+Bo,An=r.length+Xr-1,[Ze,Ei]=_.useState(()=>({idx:-1,rowIdx:In-1,mode:"SELECT"})),Ps=_.useRef(Q),Ho=_.useRef(null),ro=tt==="treegrid",jr=Fi*Ke,Oa=no*qe,xi=wt-jr-Oa,Ui=y!=null&&v!=null,_a=Ot==="rtl",Is=_a?"ArrowRight":"ArrowLeft",Mn=_a?"ArrowLeft":"ArrowRight",Uf=$e??Fi+r.length+no,Tp=_.useMemo(()=>({renderCheckbox:gt,renderSortStatus:bt,renderCell:pt}),[gt,bt,pt]),qo=_.useMemo(()=>{let ke=!1,He=!1;if(u!=null&&y!=null&&y.size>0){for(const We of r)if(y.has(u(We))?ke=!0:He=!0,ke&&He)break}return{isRowSelected:ke&&!He,isIndeterminate:ke&&He}},[r,y,u]),{rowOverscanStartIdx:ji,rowOverscanEndIdx:Br,totalRowHeight:Al,gridTemplateRows:Op,getRowTop:jf,getRowHeight:kg,findRowIdx:Eu}=Tie({rows:r,rowHeight:De,clientHeight:xi,scrollTop:tn,enableVirtualization:Gt}),Ti=xie({columns:nn,colSpanColumns:er,colOverscanStartIdx:la,colOverscanEndIdx:Ar,lastFrozenColumnIndex:Tn,rowOverscanStartIdx:ji,rowOverscanEndIdx:Br,rows:r,topSummaryRows:i,bottomSummaryRows:o}),{gridTemplateColumns:ca,handleColumnResize:Zr}=$ie(nn,Ti,As,qt,cn,pe,Ge,ze,Qe,F),Rl=ro?-1:0,Ns=nn.length-1,io=Wo(Ze),ao=Aa(Ze),xu=Ke+Al+Oa+Ur,Fg=Ya(Zr),ei=Ya(H),Pl=Ya(E),Il=Ya(x),Bf=Ya(O),zo=Ya(R),Nl=Ya(_p),Ml=Ya(Hf),Bi=Ya(Ds),Dl=Ya(oo),kl=Ya(({idx:ke,rowIdx:He})=>{oo({rowIdx:In+He-1,idx:ke})}),Fl=_.useCallback(ke=>{re(ke),Ps.current=ke},[]),Ms=_.useCallback(()=>{const ke=M6(qt.current);if(ke===null)return;U2(ke),(ke.querySelector('[tabindex="0"]')??ke).focus({preventScroll:!0})},[qt]);_.useLayoutEffect(()=>{Ho.current!==null&&io&&Ze.idx===-1&&(Ho.current.focus({preventScroll:!0}),U2(Ho.current))},[io,Ze]),_.useLayoutEffect(()=>{rt&&(Wt(!1),Ms())},[rt,Ms]),_.useImperativeHandle(e,()=>({element:qt.current,scrollToCell({idx:ke,rowIdx:He}){const We=ke!==void 0&&ke>Tn&&ke{xn(He),Pt(aie(We))}),L==null||L(ke)}function Ds(ke,He,We){if(typeof c!="function"||We===r[He])return;const it=[...r];it[He]=We,c(it,{indexes:[He],column:ke})}function Vo(){Ze.mode==="EDIT"&&Ds(nn[Ze.idx],Ze.rowIdx,Ze.row)}function Go(){const{idx:ke,rowIdx:He}=Ze,We=r[He],it=nn[ke].key;j({row:We,columnKey:it}),X==null||X({sourceRow:We,sourceColumnKey:it})}function Ap(){if(!ue||!c||ht===null||!ks(Ze))return;const{idx:ke,rowIdx:He}=Ze,We=nn[ke],it=r[He],_t=ue({sourceRow:ht.row,sourceColumnKey:ht.columnKey,targetRow:it,targetColumnKey:We.key});Ds(We,He,_t)}function zf(ke){if(!ao)return;const He=r[Ze.rowIdx],{key:We,shiftKey:it}=ke;if(Ui&&it&&We===" "){u$(u);const _t=u(He);Hf({row:He,checked:!y.has(_t),isShiftClick:!1}),ke.preventDefault();return}ks(Ze)&&Wre(ke)&&Ei(({idx:_t,rowIdx:fn})=>({idx:_t,rowIdx:fn,mode:"EDIT",row:He,originalRow:He}))}function Vf(ke){return ke>=Rl&&ke<=Ns}function Hi(ke){return ke>=0&&ke=In&&He<=An&&Vf(ke)}function Ou({idx:ke,rowIdx:He}){return Hi(He)&&ke>=0&&ke<=Ns}function Aa({idx:ke,rowIdx:He}){return Hi(He)&&Vf(ke)}function ks(ke){return Ou(ke)&&Jre({columns:nn,rows:r,selectedPosition:ke})}function oo(ke,He){if(!Wo(ke))return;Vo();const We=D6(Ze,ke);if(He&&ks(ke)){const it=r[ke.rowIdx];Ei({...ke,mode:"EDIT",row:it,originalRow:it})}else We?U2(M6(qt.current)):(Wt(!0),Ei({...ke,mode:"SELECT"}));P&&!We&&P({rowIdx:ke.rowIdx,row:Hi(ke.rowIdx)?r[ke.rowIdx]:void 0,column:nn[ke.idx]})}function Rp(ke,He,We){const{idx:it,rowIdx:_t}=Ze,fn=io&&it===-1;switch(ke){case"ArrowUp":return{idx:it,rowIdx:_t-1};case"ArrowDown":return{idx:it,rowIdx:_t+1};case Is:return{idx:it-1,rowIdx:_t};case Mn:return{idx:it+1,rowIdx:_t};case"Tab":return{idx:it+(We?-1:1),rowIdx:_t};case"Home":return fn?{idx:it,rowIdx:In}:{idx:0,rowIdx:He?In:_t};case"End":return fn?{idx:it,rowIdx:An}:{idx:Ns,rowIdx:He?An:_t};case"PageUp":{if(Ze.rowIdx===In)return Ze;const Rn=jf(_t)+kg(_t)-xi;return{idx:it,rowIdx:Rn>0?Eu(Rn):0}}case"PageDown":{if(Ze.rowIdx>=r.length)return Ze;const Rn=jf(_t)+xi;return{idx:it,rowIdx:Rnke&&ke>=Q)?Ze.idx:void 0}function Pp(){if(Y==null||Ze.mode==="EDIT"||!Aa(Ze))return;const{idx:ke,rowIdx:He}=Ze,We=nn[ke];if(We.renderEditCell==null||We.editable===!1)return;const it=nt(We);return N.jsx(Fie,{gridRowStart:Li+He+1,rows:r,column:We,columnWidth:it,maxColIdx:Ns,isLastRow:He===An,selectedPosition:Ze,isCellEditable:ks,latestDraggedOverRowIdx:Ps,onRowsChange:c,onClick:Ms,onFill:Y,setDragging:M,setDraggedOverRowIdx:Fl})}function Hr(ke){if(Ze.rowIdx!==ke||Ze.mode==="SELECT")return;const{idx:He,row:We}=Ze,it=nn[He],_t=Do(it,Tn,{type:"ROW",row:We}),fn=rn=>{Wt(rn),Ei(({idx:hr,rowIdx:Rr})=>({idx:hr,rowIdx:Rr,mode:"SELECT"}))},Rn=(rn,hr,Rr)=>{hr?yu.flushSync(()=>{Ds(it,Ze.rowIdx,rn),fn(Rr)}):Ei(Ko=>({...Ko,row:rn}))};return r[Ze.rowIdx]!==Ze.originalRow&&fn(!1),N.jsx(Uie,{column:it,colSpan:_t,row:We,rowIdx:ke,onRowChange:Rn,closeEditor:fn,onKeyDown:D,navigate:sn},it.key)}function qi(ke){const He=Ze.idx===-1?void 0:nn[Ze.idx];return He!==void 0&&Ze.rowIdx===ke&&!Ti.includes(He)?Ze.idx>Ar?[...Ti,He]:[...Ti.slice(0,Tn+1),He,...Ti.slice(Tn+1)]:Ti}function Ll(){const ke=[],{idx:He,rowIdx:We}=Ze,it=ao&&WeBr?Br+1:Br;for(let fn=it;fn<=_t;fn++){const Rn=fn===ji-1||fn===Br+1,rn=Rn?We:fn;let hr=Ti;const Rr=He===-1?void 0:nn[He];Rr!==void 0&&(Rn?hr=[Rr]:hr=qi(rn));const Ko=r[rn],Ip=Li+rn+1;let Ul=rn,jl=!1;typeof u=="function"&&(Ul=u(Ko),jl=(y==null?void 0:y.has(Ul))??!1),ke.push(ut(Ul,{"aria-rowindex":Li+rn+1,"aria-selected":Ui?jl:void 0,rowIdx:rn,row:Ko,viewportColumns:hr,isRowSelectionDisabled:(b==null?void 0:b(Ko))??!1,isRowSelected:jl,onCellClick:Il,onCellDoubleClick:Bf,onCellContextMenu:zo,rowClass:B,gridRowStart:Ip,copiedCellIdx:ht!==null&&ht.row===Ko?nn.findIndex(qr=>qr.key===ht.columnKey):void 0,selectedCellIdx:We===rn?He:void 0,draggedOverCellIdx:un(rn),setDraggedOverRowIdx:A?Fl:void 0,lastFrozenColumnIndex:Tn,onRowChange:Bi,selectCell:Dl,selectedCellEditor:Hr(rn)}))}return ke}(Ze.idx>Ns||Ze.rowIdx>An)&&(Ei({idx:-1,rowIdx:In-1,mode:"SELECT"}),Fl(void 0));let so=`repeat(${Fi}, ${Ke}px)`;$i>0&&(so+=` repeat(${$i}, ${qe}px)`),r.length>0&&(so+=Op),Xr>0&&(so+=` repeat(${Xr}, ${qe}px)`);const Gf=Ze.idx===-1&&Ze.rowIdx!==In-1;return N.jsxs("div",{role:tt,"aria-label":ie,"aria-labelledby":G,"aria-description":J,"aria-describedby":he,"aria-multiselectable":Ui?!0:void 0,"aria-colcount":nn.length,"aria-rowcount":Uf,className:vl(yae,{[bae]:A},be),style:{...we,scrollPaddingInlineStart:Ze.idx>Tn||(ge==null?void 0:ge.idx)!==void 0?`${Rs}px`:void 0,scrollPaddingBlock:Hi(Ze.rowIdx)||(ge==null?void 0:ge.rowIdx)!==void 0?`${jr+$i*qe}px ${Xr*qe}px`:void 0,gridTemplateColumns:ca,gridTemplateRows:so,"--rdg-header-row-height":`${Ke}px`,"--rdg-scroll-height":`${xu}px`,...to},dir:Ot,ref:qt,onScroll:qf,onKeyDown:Tu,"data-testid":Ce,"data-cy":Be,children:[N.jsxs(b7,{value:Tp,children:[N.jsx($7,{value:Nl,children:N.jsxs(C7,{value:qo,children:[Array.from({length:Bo},(ke,He)=>N.jsx(oae,{rowIdx:He+1,level:-Bo+He,columns:qi(In+He),selectedCellIdx:Ze.rowIdx===In+He?Ze.idx:void 0,selectCell:kl},He)),N.jsx(iae,{rowIdx:Fi,columns:qi(Nn),onColumnResize:Fg,onColumnsReorder:ei,sortColumns:C,onSortColumnsChange:Pl,lastFrozenColumnIndex:Tn,selectedCellIdx:Ze.rowIdx===Nn?Ze.idx:void 0,selectCell:kl,shouldFocusGrid:!io,direction:Ot})]})}),r.length===0&&Ut?Ut:N.jsxs(N.Fragment,{children:[i==null?void 0:i.map((ke,He)=>{const We=Fi+1+He,it=Nn+1+He,_t=Ze.rowIdx===it,fn=jr+qe*He;return N.jsx(N6,{"aria-rowindex":We,rowIdx:it,gridRowStart:We,row:ke,top:fn,bottom:void 0,viewportColumns:qi(it),lastFrozenColumnIndex:Tn,selectedCellIdx:_t?Ze.idx:void 0,isTop:!0,selectCell:Dl},He)}),N.jsx(w7,{value:Ml,children:Ll()}),o==null?void 0:o.map((ke,He)=>{const We=Li+r.length+He+1,it=r.length+He,_t=Ze.rowIdx===it,fn=xi>Al?wt-qe*(o.length-He):void 0,Rn=fn===void 0?qe*(o.length-1-He):void 0;return N.jsx(N6,{"aria-rowindex":Uf-Xr+He+1,rowIdx:it,gridRowStart:We,row:ke,top:fn,bottom:Rn,viewportColumns:qi(it),lastFrozenColumnIndex:Tn,selectedCellIdx:_t?Ze.idx:void 0,isTop:!1,selectCell:Dl},He)})]})]}),Pp(),Qre(Ti),ro&&N.jsx("div",{ref:Ho,tabIndex:Gf?0:-1,className:vl(wae,{[Sae]:!Hi(Ze.rowIdx),[Xie]:Gf,[Zie]:Gf&&Tn!==-1}),style:{gridRowStart:Ze.rowIdx+Li+1}}),ge!==null&&N.jsx(cae,{scrollToPosition:ge,setScrollToCellPosition:Ee,gridRef:qt})]})}function M6(t){return t.querySelector(':scope > [role="row"] > [tabindex="0"]')}function D6(t,e){return t.idx===e.idx&&t.rowIdx===e.rowIdx}function Rae({id:t,groupKey:e,childRows:n,isExpanded:r,isCellSelected:i,column:o,row:u,groupColumnIndex:c,isGroupByColumn:d,toggleGroup:h}){var E;const{tabIndex:g,childTabIndex:y,onFocus:b}=s1(i);function v(){h(t)}const C=d&&c===o.idx;return N.jsx("div",{role:"gridcell","aria-colindex":o.idx+1,"aria-selected":i,tabIndex:g,className:o1(o),style:{...Ig(o),cursor:C?"pointer":"default"},onClick:C?v:void 0,onFocus:b,children:(!d||C)&&((E=o.renderGroupCell)==null?void 0:E.call(o,{groupKey:e,childRows:n,column:o,row:u,isExpanded:r,tabIndex:y,toggleGroup:v}))},o.key)}var Pae=_.memo(Rae);const Iae="g1yxluv37-0-0-beta-51",Nae=`rdg-group-row ${Iae}`;function Mae({className:t,row:e,rowIdx:n,viewportColumns:r,selectedCellIdx:i,isRowSelected:o,selectCell:u,gridRowStart:c,groupBy:d,toggleGroup:h,isRowSelectionDisabled:g,...y}){const b=r[0].key===$w?e.level+1:e.level;function v(){u({rowIdx:n,idx:-1})}const C=_.useMemo(()=>({isRowSelectionDisabled:!1,isRowSelected:o}),[o]);return N.jsx(ST,{value:C,children:N.jsx("div",{role:"row","aria-level":e.level+1,"aria-setsize":e.setSize,"aria-posinset":e.posInSet+1,"aria-expanded":e.isExpanded,className:vl(CT,Nae,`rdg-row-${n%2===0?"even":"odd"}`,i===-1&&oS,t),onClick:v,style:bT(c),...y,children:r.map(E=>N.jsx(Pae,{id:e.id,groupKey:e.groupKey,childRows:e.childRows,isExpanded:e.isExpanded,isCellSelected:i===E.idx,column:E,row:e,groupColumnIndex:b,toggleGroup:h,isGroupByColumn:d.includes(E.key)},E.key))})})}_.memo(Mae);const Dae=Ae.createContext({sidebarVisible:!1,threshold:"desktop",routers:[{id:"url-router"}],toggleSidebar(){},setSidebarRef(t){},persistSidebarSize(t){},setFocusedRouter(t){},closeCurrentRouter(){},sidebarItemSelected(){},collapseLeftPanel(){},addRouter(){},updateSidebarSize(){},hide(){},show(){}});function kae(){return _.useContext(Dae)}const Fae=({value:t})=>{const{addRouter:e}=kae(),n=r=>{r.stopPropagation(),e(t)};return N.jsx("div",{className:"table-btn table-open-in-new-router",onClick:n,children:N.jsx(Lae,{})})},Lae=({size:t=16,color:e="silver",style:n={}})=>N.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{cursor:"pointer",...n},children:N.jsx("path",{d:"M9 3H5C3.895 3 3 3.895 3 5v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2v-4h-2v4H5V5h4V3ZM21 3h-6v2h3.586l-9.293 9.293 1.414 1.414L20 6.414V10h2V3Z",fill:e})});/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Uae=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),jae=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),k6=t=>{const e=jae(t);return e.charAt(0).toUpperCase()+e.slice(1)},T7=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var Bae={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Hae=_.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:u,...c},d)=>_.createElement("svg",{ref:d,...Bae,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:T7("lucide",i),...c},[...u.map(([h,g])=>_.createElement(h,g)),...Array.isArray(o)?o:[o]]));/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const $T=(t,e)=>{const n=_.forwardRef(({className:r,...i},o)=>_.createElement(Hae,{ref:o,iconNode:e,className:T7(`lucide-${Uae(k6(t))}`,`lucide-${t}`,r),...i}));return n.displayName=k6(t),n};/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qae=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],zae=$T("arrow-down-a-z",qae);/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Vae=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],Gae=$T("arrow-down-wide-narrow",Vae);/** - * @license lucide-react v0.484.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Wae=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M15 4h5l-5 6h5",key:"8asdl1"}],["path",{d:"M15 20v-3.5a2.5 2.5 0 0 1 5 0V20",key:"r6l5cz"}],["path",{d:"M20 18h-5",key:"18j1r2"}]],Kae=$T("arrow-down-z-a",Wae);function Yae({tabIndex:t,column:e,filterType:n,sortable:r,filterable:i,selectable:o,udf:u}){var b;const c=(b=u.filters.sorting)==null?void 0:b.find(v=>v.columnName===e.key),[d,h]=_.useState("");_.useEffect(()=>{d!==Sr.get(u.filters,e.key)&&h(Sr.get(u.filters,e.key))},[u.filters]);let g;(c==null?void 0:c.columnName)===e.key&&(c==null?void 0:c.direction)=="asc"&&(g="asc"),(c==null?void 0:c.columnName)===e.key&&(c==null?void 0:c.direction)=="desc"&&(g="desc");const y=()=>{c?((c==null?void 0:c.direction)==="desc"&&u.setSorting(u.filters.sorting.filter(v=>v.columnName!==e.key)),(c==null?void 0:c.direction)==="asc"&&u.setSorting(u.filters.sorting.map(v=>v.columnName===e.key?{...v,direction:"desc"}:v))):u.setSorting([...u.filters.sorting,{columnName:e.key.toString(),direction:"asc"}])};return N.jsxs(N.Fragment,{children:[r?N.jsx("span",{className:"data-table-sort-actions",children:N.jsxs("button",{className:`active-sort-col ${e.key==(c==null?void 0:c.columnName)?"active":""}`,onClick:y,children:[g=="asc"?N.jsx(zae,{className:"sort-icon"}):null,g=="desc"?N.jsx(Kae,{className:"sort-icon"}):null,g===void 0?N.jsx(Gae,{className:"sort-icon"}):null]})}):null,i?N.jsx(N.Fragment,{children:n==="date"?N.jsx("input",{className:"data-table-filter-input",tabIndex:t,value:d,onChange:v=>{h(v.target.value),u.setFilter({[e.key]:v.target.value})},placeholder:e.name||"",type:"date"}):N.jsx("input",{className:"data-table-filter-input",tabIndex:t,value:d,onChange:v=>{h(v.target.value),u.setFilter({[e.key]:v.target.value})},placeholder:e.name||""})}):N.jsx("span",{children:e.name})]})}function Qae(t,e){const n=t.split("/").filter(Boolean);return e.split("/").forEach(i=>{i===".."?n.pop():i!=="."&&i!==""&&n.push(i)}),"/"+n.join("/")}const Jae=(t,e,n,r=[],i,o)=>t.map(u=>{const c=r.find(d=>d.columnName===u.name);return{...u,key:u.name,renderCell:({column:d,row:h})=>{if(d.key==="uniqueId"){let g=i?i(h.uniqueId):"";return g.startsWith(".")&&(g=Qae(o,g)),N.jsxs("div",{style:{position:"relative"},children:[N.jsx(Hw,{href:i&&i(h.uniqueId),children:h.uniqueId}),N.jsxs("div",{className:"cell-actions",children:[N.jsx(KN,{value:h.uniqueId}),N.jsx(Fae,{value:g})]})]})}return d.getCellValue?N.jsx(N.Fragment,{children:d.getCellValue(h)}):N.jsx("span",{children:Sr.get(h,d.key)})},width:c?c.width:u.width,name:u.title,resizable:!0,sortable:u.sortable,renderHeaderCell:d=>N.jsx(Yae,{...d,selectable:!0,sortable:u.sortable,filterable:u.filterable,filterType:u.filterType,udf:n})}});function Xae(t){const e=_.useRef();let[n,r]=_.useState([]);const i=_.useRef({});return{reindex:(u,c,d)=>{if(c===e.current){const h=u.filter(g=>i.current[g.uniqueId]?!1:(i.current[g.uniqueId]=!0,!0));r([...n,...h].filter(Boolean))}else r([...u].filter(Boolean)),d==null||d();e.current=c},indexedData:n}}function Zae({columns:t,query:e,columnSizes:n,onColumnWidthsChange:r,udf:i,tableClass:o,uniqueIdHrefHandler:u}){var P,L;vn();const{pathname:c}=xl(),{filters:d,setSorting:h,setStartIndex:g,selection:y,setSelection:b,setPageSize:v,onFiltersChange:C}=i,E=_.useMemo(()=>[pie,...Jae(t,(F,H)=>{i.setFilter({[F]:H})},i,n,u,c)],[t,n]),{indexedData:$,reindex:x}=Xae(),O=_.useRef();_.useEffect(()=>{var H,Y;const F=((Y=(H=e.data)==null?void 0:H.data)==null?void 0:Y.items)||[];x(F,i.queryHash,()=>{O.current.element.scrollTo({top:0,left:0})})},[(L=(P=e.data)==null?void 0:P.data)==null?void 0:L.items]);async function R(F){e.isLoading||!eoe(F)||g($.length)}const D=Sr.debounce((F,H)=>{const Y=E.map(X=>({columnName:X.key,width:X.name===F.name?H:X.width}));r(Y)},300);return N.jsx(N.Fragment,{children:N.jsx(Aae,{className:o,columns:E,onScroll:R,onColumnResize:D,onSelectedRowsChange:F=>{b(Array.from(F))},selectedRows:new Set(y),ref:O,rows:$,rowKeyGetter:F=>F.uniqueId,style:{height:"calc(100% - 2px)",margin:"1px -14px"}})})}function eoe({currentTarget:t}){return t.scrollTop+300>=t.scrollHeight-t.clientHeight}function toe(t){const e={};for(let n of t||[])n&&n.columnName&&Sr.set(e,n.columnName,{operation:n.operation,value:n.value});return e}let Fo;typeof window<"u"?Fo=window:typeof self<"u"?Fo=self:Fo=global;let zE=null,VE=null;const F6=20,l$=Fo.clearTimeout,L6=Fo.setTimeout,c$=Fo.cancelAnimationFrame||Fo.mozCancelAnimationFrame||Fo.webkitCancelAnimationFrame,U6=Fo.requestAnimationFrame||Fo.mozRequestAnimationFrame||Fo.webkitRequestAnimationFrame;c$==null||U6==null?(zE=l$,VE=function(e){return L6(e,F6)}):(zE=function([e,n]){c$(e),l$(n)},VE=function(e){const n=U6(function(){l$(r),e()}),r=L6(function(){c$(n),e()},F6);return[n,r]});function noe(t){let e,n,r,i,o,u,c;const d=typeof document<"u"&&document.attachEvent;if(!d){u=function(x){const O=x.__resizeTriggers__,R=O.firstElementChild,D=O.lastElementChild,P=R.firstElementChild;D.scrollLeft=D.scrollWidth,D.scrollTop=D.scrollHeight,P.style.width=R.offsetWidth+1+"px",P.style.height=R.offsetHeight+1+"px",R.scrollLeft=R.scrollWidth,R.scrollTop=R.scrollHeight},o=function(x){return x.offsetWidth!==x.__resizeLast__.width||x.offsetHeight!==x.__resizeLast__.height},c=function(x){if(x.target.className&&typeof x.target.className.indexOf=="function"&&x.target.className.indexOf("contract-trigger")<0&&x.target.className.indexOf("expand-trigger")<0)return;const O=this;u(this),this.__resizeRAF__&&zE(this.__resizeRAF__),this.__resizeRAF__=VE(function(){o(O)&&(O.__resizeLast__.width=O.offsetWidth,O.__resizeLast__.height=O.offsetHeight,O.__resizeListeners__.forEach(function(P){P.call(O,x)}))})};let b=!1,v="";r="animationstart";const C="Webkit Moz O ms".split(" ");let E="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),$="";{const x=document.createElement("fakeelement");if(x.style.animationName!==void 0&&(b=!0),b===!1){for(let O=0;O div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',C=b.head||b.getElementsByTagName("head")[0],E=b.createElement("style");E.id="detectElementResize",E.type="text/css",t!=null&&E.setAttribute("nonce",t),E.styleSheet?E.styleSheet.cssText=v:E.appendChild(b.createTextNode(v)),C.appendChild(E)}};return{addResizeListener:function(b,v){if(d)b.attachEvent("onresize",v);else{if(!b.__resizeTriggers__){const C=b.ownerDocument,E=Fo.getComputedStyle(b);E&&E.position==="static"&&(b.style.position="relative"),h(C),b.__resizeLast__={},b.__resizeListeners__=[],(b.__resizeTriggers__=C.createElement("div")).className="resize-triggers";const $=C.createElement("div");$.className="expand-trigger",$.appendChild(C.createElement("div"));const x=C.createElement("div");x.className="contract-trigger",b.__resizeTriggers__.appendChild($),b.__resizeTriggers__.appendChild(x),b.appendChild(b.__resizeTriggers__),u(b),b.addEventListener("scroll",c,!0),r&&(b.__resizeTriggers__.__animationListener__=function(R){R.animationName===n&&u(b)},b.__resizeTriggers__.addEventListener(r,b.__resizeTriggers__.__animationListener__))}b.__resizeListeners__.push(v)}},removeResizeListener:function(b,v){if(d)b.detachEvent("onresize",v);else if(b.__resizeListeners__.splice(b.__resizeListeners__.indexOf(v),1),!b.__resizeListeners__.length){b.removeEventListener("scroll",c,!0),b.__resizeTriggers__.__animationListener__&&(b.__resizeTriggers__.removeEventListener(r,b.__resizeTriggers__.__animationListener__),b.__resizeTriggers__.__animationListener__=null);try{b.__resizeTriggers__=!b.removeChild(b.__resizeTriggers__)}catch{}}}}}class roe extends _.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:n,disableWidth:r,onResize:i}=this.props;if(this._parentNode){const o=window.getComputedStyle(this._parentNode)||{},u=parseFloat(o.paddingLeft||"0"),c=parseFloat(o.paddingRight||"0"),d=parseFloat(o.paddingTop||"0"),h=parseFloat(o.paddingBottom||"0"),g=this._parentNode.getBoundingClientRect(),y=g.height-d-h,b=g.width-u-c,v=this._parentNode.offsetHeight-d-h,C=this._parentNode.offsetWidth-u-c;(!n&&(this.state.height!==v||this.state.scaledHeight!==y)||!r&&(this.state.width!==C||this.state.scaledWidth!==b))&&(this.setState({height:v,width:C,scaledHeight:y,scaledWidth:b}),typeof i=="function"&&i({height:v,scaledHeight:y,scaledWidth:b,width:C}))}},this._setRef=n=>{this._autoSizer=n}}componentDidMount(){const{nonce:e}=this.props,n=this._autoSizer?this._autoSizer.parentNode:null;if(n!=null&&n.ownerDocument&&n.ownerDocument.defaultView&&n instanceof n.ownerDocument.defaultView.HTMLElement){this._parentNode=n;const r=n.ownerDocument.defaultView.ResizeObserver;r!=null?(this._resizeObserver=new r(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(n)):(this._detectElementResize=noe(e),this._detectElementResize.addResizeListener(n,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:i=!1,disableWidth:o=!1,doNotBailOutOnEmptyChildren:u=!1,nonce:c,onResize:d,style:h={},tagName:g="div",...y}=this.props,{height:b,scaledHeight:v,scaledWidth:C,width:E}=this.state,$={overflow:"visible"},x={};let O=!1;return i||(b===0&&(O=!0),$.height=0,x.height=b,x.scaledHeight=v),o||(E===0&&(O=!0),$.width=0,x.width=E,x.scaledWidth=C),u&&(O=!1),_.createElement(g,{ref:this._setRef,style:{...$,...h},...y},!O&&e(x))}}function ioe(t){var e=t.lastRenderedStartIndex,n=t.lastRenderedStopIndex,r=t.startIndex,i=t.stopIndex;return!(r>n||i0;){var v=u[0]-1;if(!e(v))u[0]=v;else break}return u}var ooe=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},soe=(function(){function t(e,n){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,i){var o=this.props,u=o.isItemLoaded,c=o.itemCount,d=o.minimumBatchSize,h=d===void 0?10:d,g=o.threshold,y=g===void 0?15:g,b=aoe({isItemLoaded:u,itemCount:c,minimumBatchSize:h,startIndex:Math.max(0,r-y),stopIndex:Math.min(c-1,i+y)});(this._memoizedUnloadedRanges.length!==b.length||this._memoizedUnloadedRanges.some(function(v,C){return b[C]!==v}))&&(this._memoizedUnloadedRanges=b,this._loadUnloadedRanges(b))}},{key:"_loadUnloadedRanges",value:function(r){for(var i=this,o=this.props.loadMoreItems||this.props.loadMoreRows,u=function(h){var g=r[h],y=r[h+1],b=o(g,y);b!=null&&b.then(function(){if(ioe({lastRenderedStartIndex:i._lastRenderedStartIndex,lastRenderedStopIndex:i._lastRenderedStopIndex,startIndex:g,stopIndex:y})){if(i._listRef==null)return;typeof i._listRef.resetAfterIndex=="function"?i._listRef.resetAfterIndex(g,!0):(typeof i._listRef._getItemStyleCache=="function"&&i._listRef._getItemStyleCache(-1),i._listRef.forceUpdate())}})},c=0;c0;throw new Error("unsupported direction")}function O7(t,e){return foe(t,e)?!0:t===document.body&&getComputedStyle(document.body).overflowY==="hidden"||t.parentElement==null?!1:O7(t.parentElement,e)}class doe extends _.Component{containerRef(e){this.container=e}pullDownRef(e){this.pullDown=e;const n=this.pullDown&&this.pullDown.firstChild&&this.pullDown.firstChild.getBoundingClientRect?this.pullDown.firstChild.getBoundingClientRect().height:0;this.setState({maxPullDownDistance:n})}constructor(e){super(e),this.container=void 0,this.pullDown=void 0,this.dragging=!1,this.startY=0,this.currentY=0,this.state={pullToRefreshThresholdBreached:!1,maxPullDownDistance:0,onRefreshing:!1},this.containerRef=this.containerRef.bind(this),this.pullDownRef=this.pullDownRef.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onEnd=this.onEnd.bind(this)}componentDidMount(){this.container&&(this.container.addEventListener("touchstart",this.onTouchStart),this.container.addEventListener("touchmove",this.onTouchMove),this.container.addEventListener("touchend",this.onEnd),this.container.addEventListener("mousedown",this.onTouchStart),this.container.addEventListener("mousemove",this.onTouchMove),this.container.addEventListener("mouseup",this.onEnd))}componentWillUnmount(){this.container&&(this.container.removeEventListener("touchstart",this.onTouchStart),this.container.removeEventListener("touchmove",this.onTouchMove),this.container.removeEventListener("touchend",this.onEnd),this.container.removeEventListener("mousedown",this.onTouchStart),this.container.removeEventListener("mousemove",this.onTouchMove),this.container.removeEventListener("mouseup",this.onEnd))}onTouchStart(e){const{triggerHeight:n=40}=this.props;if(this.startY=e.pageY||e.touches[0].pageY,this.currentY=this.startY,n==="auto"){const r=e.target,i=this.container;if(!i||e.type==="touchstart"&&O7(r,GE.up)||i.getBoundingClientRect().top<0)return}else{const r=this.container.getBoundingClientRect().top||this.container.getBoundingClientRect().y||0;if(this.startY-r>n)return}this.dragging=!0,this.container.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)",this.pullDown.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"}onTouchMove(e){this.dragging&&(this.currentY=e.pageY||e.touches[0].pageY,!(this.currentY=this.props.pullDownThreshold&&this.setState({pullToRefreshThresholdBreached:!0}),!(this.currentY-this.startY>this.state.maxPullDownDistance)&&(this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.currentY-this.startY}px)`,this.pullDown.style.visibility="visible")))}onEnd(){if(this.dragging=!1,this.startY=0,this.currentY=0,!this.state.pullToRefreshThresholdBreached){this.pullDown.style.visibility=this.props.startInvisible?"hidden":"visible",this.initContainer();return}this.container.style.overflow="visible",this.container.style.transform=`translate(0px, ${this.props.pullDownThreshold}px)`,this.setState({onRefreshing:!0},()=>{this.props.onRefresh().then(()=>{this.initContainer(),setTimeout(()=>{this.setState({onRefreshing:!1,pullToRefreshThresholdBreached:!1})},200)})})}initContainer(){requestAnimationFrame(()=>{this.container&&(this.container.style.overflow="auto",this.container.style.transform="none")})}renderPullDownContent(){const{releaseContent:e,pullDownContent:n,refreshContent:r,startInvisible:i}=this.props,{onRefreshing:o,pullToRefreshThresholdBreached:u}=this.state,c=o?r:u?e:n,d={position:"absolute",overflow:"hidden",left:0,right:0,top:0,visibility:i?"hidden":"visible"};return N.jsx("div",{id:"ptr-pull-down",style:d,ref:this.pullDownRef,children:c})}render(){const{backgroundColor:e}=this.props,n={height:"auto",overflow:"hidden",margin:"0 -10px",padding:"0 10px",WebkitOverflowScrolling:"touch",position:"relative",zIndex:1};return this.props.containerStyle&&Object.keys(this.props.containerStyle).forEach(r=>{n[r]=this.props.containerStyle[r]}),e&&(n.backgroundColor=e),N.jsxs("div",{id:"ptr-parent",style:n,children:[this.renderPullDownContent(),N.jsx("div",{id:"ptr-container",ref:this.containerRef,style:n,children:this.props.children})]})}}const hoe=({height:t="200px",background:e="none"})=>N.jsxs("div",{id:"container",children:[N.jsxs("div",{className:"sk-fading-circle",children:[N.jsx("div",{className:"sk-circle1 sk-circle"}),N.jsx("div",{className:"sk-circle2 sk-circle"}),N.jsx("div",{className:"sk-circle3 sk-circle"}),N.jsx("div",{className:"sk-circle4 sk-circle"}),N.jsx("div",{className:"sk-circle5 sk-circle"}),N.jsx("div",{className:"sk-circle6 sk-circle"}),N.jsx("div",{className:"sk-circle7 sk-circle"}),N.jsx("div",{className:"sk-circle8 sk-circle"}),N.jsx("div",{className:"sk-circle9 sk-circle"}),N.jsx("div",{className:"sk-circle10 sk-circle"}),N.jsx("div",{className:"sk-circle11 sk-circle"}),N.jsx("div",{className:"sk-circle12 sk-circle"})]}),N.jsx("style",{children:` - #container { - display: flex; - flex-direction: column; - justify-content: center; - background: ${e}; - height: ${t}; - } - .sk-fading-circle { - width: 40px; - height: 40px; - position: relative; - margin: auto; - } - .sk-fading-circle .sk-circle { - width: 100%; - height: 100%; - position: absolute; - left: 0; - top: 0; - } - .sk-fading-circle .sk-circle:before { - content: ''; - display: block; - margin: 0 auto; - width: 15%; - height: 15%; - background-color: #333; - border-radius: 100%; - -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both; - animation: sk-circleFadeDelay 1.2s infinite ease-in-out both; - } - .sk-fading-circle .sk-circle2 { - -webkit-transform: rotate(30deg); - -ms-transform: rotate(30deg); - transform: rotate(30deg); - } - .sk-fading-circle .sk-circle3 { - -webkit-transform: rotate(60deg); - -ms-transform: rotate(60deg); - transform: rotate(60deg); - } - .sk-fading-circle .sk-circle4 { - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); - } - .sk-fading-circle .sk-circle5 { - -webkit-transform: rotate(120deg); - -ms-transform: rotate(120deg); - transform: rotate(120deg); - } - .sk-fading-circle .sk-circle6 { - -webkit-transform: rotate(150deg); - -ms-transform: rotate(150deg); - transform: rotate(150deg); - } - .sk-fading-circle .sk-circle7 { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - } - .sk-fading-circle .sk-circle8 { - -webkit-transform: rotate(210deg); - -ms-transform: rotate(210deg); - transform: rotate(210deg); - } - .sk-fading-circle .sk-circle9 { - -webkit-transform: rotate(240deg); - -ms-transform: rotate(240deg); - transform: rotate(240deg); - } - .sk-fading-circle .sk-circle10 { - -webkit-transform: rotate(270deg); - -ms-transform: rotate(270deg); - transform: rotate(270deg); - } - .sk-fading-circle .sk-circle11 { - -webkit-transform: rotate(300deg); - -ms-transform: rotate(300deg); - transform: rotate(300deg); - } - .sk-fading-circle .sk-circle12 { - -webkit-transform: rotate(330deg); - -ms-transform: rotate(330deg); - transform: rotate(330deg); - } - .sk-fading-circle .sk-circle2:before { - -webkit-animation-delay: -1.1s; - animation-delay: -1.1s; - } - .sk-fading-circle .sk-circle3:before { - -webkit-animation-delay: -1s; - animation-delay: -1s; - } - .sk-fading-circle .sk-circle4:before { - -webkit-animation-delay: -0.9s; - animation-delay: -0.9s; - } - .sk-fading-circle .sk-circle5:before { - -webkit-animation-delay: -0.8s; - animation-delay: -0.8s; - } - .sk-fading-circle .sk-circle6:before { - -webkit-animation-delay: -0.7s; - animation-delay: -0.7s; - } - .sk-fading-circle .sk-circle7:before { - -webkit-animation-delay: -0.6s; - animation-delay: -0.6s; - } - .sk-fading-circle .sk-circle8:before { - -webkit-animation-delay: -0.5s; - animation-delay: -0.5s; - } - .sk-fading-circle .sk-circle9:before { - -webkit-animation-delay: -0.4s; - animation-delay: -0.4s; - } - .sk-fading-circle .sk-circle10:before { - -webkit-animation-delay: -0.3s; - animation-delay: -0.3s; - } - .sk-fading-circle .sk-circle11:before { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; - } - .sk-fading-circle .sk-circle12:before { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; - } - @-webkit-keyframes sk-circleFadeDelay { - 0%, 39%, 100% { - opacity: 0; - } - 40% { - opacity: 1; - } - } - @keyframes sk-circleFadeDelay { - 0%, 39%, 100% { - opacity: 0; - } - 40% { - opacity: 1; - } - } - `})]}),poe=({height:t="200px",background:e="none",label:n="Pull down to refresh"})=>N.jsxs("div",{id:"container2",children:[N.jsx("span",{children:n}),N.jsx("style",{children:` - #container2 { - background: ${e}; - height: ${t}; - text-align: center; - } - #arrow { - margin: 10px auto; - border-left: 15px solid transparent; - border-right: 15px solid transparent; - border-top: 15px solid #666666; - height: 0; - width: 0; - -webkit-animation: fadein 1.5s infinite; - animation: fadein 1.5s infinite; - } - @keyframes fadein { - 0%, 100% { - opacity: 0; - } - 45%, 55% { - opacity: 1; - } - } - `})]}),moe=({height:t="200px",background:e="none",label:n="Release to refresh"})=>N.jsxs("div",{id:"container",children:[N.jsx("div",{id:"arrow"}),N.jsx("span",{children:n}),N.jsx("style",{children:` - #container { - background: ${e||"none"}; - height: ${t||"200px"}; - text-align: center; - } - #arrow { - margin: 10px auto; - border-left: 15px solid transparent; - border-right: 15px solid transparent; - border-bottom: 15px solid #666666; - height: 0; - width: 0; - - -webkit-animation: fadein 1.5s infinite; - animation: fadein 1.5s infinite; - } - @keyframes fadein { - 0%, 100% { - opacity: 0; - } - 45%, 55% { - opacity: 1; - } - } - `})]});function _7({content:t,columns:e,uniqueIdHrefHandler:n,style:r}){const i=n?Hw:"span";return N.jsx(i,{className:"auto-card-list-item card mb-2 p-3",style:r,href:n(t.uniqueId),children:e.map(o=>{let u=o.getCellValue?o.getCellValue(t):"";return u||(u=o.name?t[o.name]:""),u||(u="-"),o.name==="uniqueId"?null:N.jsxs("div",{className:"row auto-card-drawer",children:[N.jsxs("div",{className:"col-6",children:[o.title,":"]}),N.jsx("div",{className:"col-6",children:u})]},o.title)})})}const goe=()=>{const t=vn();return N.jsxs("div",{className:"empty-list-indicator",children:[N.jsx("img",{src:Xx("/common/empty.png")}),N.jsx("div",{children:t.table.noRecords})]})};var B6=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function yoe(t,e){return!!(t===e||B6(t)&&B6(e))}function voe(t,e){if(t.length!==e.length)return!1;for(var n=0;n=e?t.call(null):i.id=requestAnimationFrame(r)}var i={id:requestAnimationFrame(r)};return i}var d$=-1;function z6(t){if(t===void 0&&(t=!1),d$===-1||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(e),d$=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return d$}var Qm=null;function V6(t){if(t===void 0&&(t=!1),Qm===null||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?Qm="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?Qm="negative":Qm="positive-ascending"),document.body.removeChild(e),Qm}return Qm}var Soe=150,Coe=function(e,n){return e};function $oe(t){var e,n=t.getItemOffset,r=t.getEstimatedTotalSize,i=t.getItemSize,o=t.getOffsetForIndexAndAlignment,u=t.getStartIndexForOffset,c=t.getStopIndexForStartIndex,d=t.initInstanceProps,h=t.shouldResetStyleCacheOnItemSizeChange,g=t.validateProps;return e=(function(y){vp(b,y);function b(C){var E;return E=y.call(this,C)||this,E._instanceProps=d(E.props,AE(E)),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:AE(E),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=f$(function($,x,O,R){return E.props.onItemsRendered({overscanStartIndex:$,overscanStopIndex:x,visibleStartIndex:O,visibleStopIndex:R})}),E._callOnScroll=void 0,E._callOnScroll=f$(function($,x,O){return E.props.onScroll({scrollDirection:$,scrollOffset:x,scrollUpdateWasRequested:O})}),E._getItemStyle=void 0,E._getItemStyle=function($){var x=E.props,O=x.direction,R=x.itemSize,D=x.layout,P=E._getItemStyleCache(h&&R,h&&D,h&&O),L;if(P.hasOwnProperty($))L=P[$];else{var F=n(E.props,$,E._instanceProps),H=i(E.props,$,E._instanceProps),Y=O==="horizontal"||D==="horizontal",X=O==="rtl",ue=Y?F:0;P[$]=L={position:"absolute",left:X?void 0:ue,right:X?ue:void 0,top:Y?0:F,height:Y?"100%":H,width:Y?H:"100%"}}return L},E._getItemStyleCache=void 0,E._getItemStyleCache=f$(function($,x,O){return{}}),E._onScrollHorizontal=function($){var x=$.currentTarget,O=x.clientWidth,R=x.scrollLeft,D=x.scrollWidth;E.setState(function(P){if(P.scrollOffset===R)return null;var L=E.props.direction,F=R;if(L==="rtl")switch(V6()){case"negative":F=-R;break;case"positive-descending":F=D-O-R;break}return F=Math.max(0,Math.min(F,D-O)),{isScrolling:!0,scrollDirection:P.scrollOffsetL.clientWidth?z6():0:P=L.scrollHeight>L.clientHeight?z6():0}this.scrollTo(o(this.props,E,$,D,this._instanceProps,P))},v.componentDidMount=function(){var E=this.props,$=E.direction,x=E.initialScrollOffset,O=E.layout;if(typeof x=="number"&&this._outerRef!=null){var R=this._outerRef;$==="horizontal"||O==="horizontal"?R.scrollLeft=x:R.scrollTop=x}this._callPropsCallbacks()},v.componentDidUpdate=function(){var E=this.props,$=E.direction,x=E.layout,O=this.state,R=O.scrollOffset,D=O.scrollUpdateWasRequested;if(D&&this._outerRef!=null){var P=this._outerRef;if($==="horizontal"||x==="horizontal")if($==="rtl")switch(V6()){case"negative":P.scrollLeft=-R;break;case"positive-ascending":P.scrollLeft=R;break;default:var L=P.clientWidth,F=P.scrollWidth;P.scrollLeft=F-L-R;break}else P.scrollLeft=R;else P.scrollTop=R}this._callPropsCallbacks()},v.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&q6(this._resetIsScrollingTimeoutId)},v.render=function(){var E=this.props,$=E.children,x=E.className,O=E.direction,R=E.height,D=E.innerRef,P=E.innerElementType,L=E.innerTagName,F=E.itemCount,H=E.itemData,Y=E.itemKey,X=Y===void 0?Coe:Y,ue=E.layout,me=E.outerElementType,te=E.outerTagName,be=E.style,we=E.useIsScrolling,B=E.width,V=this.state.isScrolling,q=O==="horizontal"||ue==="horizontal",ie=q?this._onScrollHorizontal:this._onScrollVertical,G=this._getRangeToRender(),J=G[0],he=G[1],$e=[];if(F>0)for(var Ce=J;Ce<=he;Ce++)$e.push(_.createElement($,{data:H,key:X(Ce,H),index:Ce,isScrolling:we?V:void 0,style:this._getItemStyle(Ce)}));var Be=r(this.props,this._instanceProps);return _.createElement(me||te||"div",{className:x,onScroll:ie,ref:this._outerRefSetter,style:Ve({position:"relative",height:R,width:B,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:O},be)},_.createElement(P||L||"div",{children:$e,ref:D,style:{height:q?"100%":Be,pointerEvents:V?"none":void 0,width:q?Be:"100%"}}))},v._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var $=this._getRangeToRender(),x=$[0],O=$[1],R=$[2],D=$[3];this._callOnItemsRendered(x,O,R,D)}}if(typeof this.props.onScroll=="function"){var P=this.state,L=P.scrollDirection,F=P.scrollOffset,H=P.scrollUpdateWasRequested;this._callOnScroll(L,F,H)}},v._getRangeToRender=function(){var E=this.props,$=E.itemCount,x=E.overscanCount,O=this.state,R=O.isScrolling,D=O.scrollDirection,P=O.scrollOffset;if($===0)return[0,0,0,0];var L=u(this.props,P,this._instanceProps),F=c(this.props,L,P,this._instanceProps),H=!R||D==="backward"?Math.max(1,x):1,Y=!R||D==="forward"?Math.max(1,x):1;return[Math.max(0,L-H),Math.max(0,Math.min($-1,F+Y)),L,F]},b})(_.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var Eoe=function(e,n){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,n.instance},xoe=$oe({getItemOffset:function(e,n){var r=e.itemSize;return n*r},getItemSize:function(e,n){var r=e.itemSize;return r},getEstimatedTotalSize:function(e){var n=e.itemCount,r=e.itemSize;return r*n},getOffsetForIndexAndAlignment:function(e,n,r,i,o,u){var c=e.direction,d=e.height,h=e.itemCount,g=e.itemSize,y=e.layout,b=e.width,v=c==="horizontal"||y==="horizontal",C=v?b:d,E=Math.max(0,h*g-C),$=Math.min(E,n*g),x=Math.max(0,n*g-C+g+u);switch(r==="smart"&&(i>=x-C&&i<=$+C?r="auto":r="center"),r){case"start":return $;case"end":return x;case"center":{var O=Math.round(x+($-x)/2);return OE+Math.floor(C/2)?E:O}case"auto":default:return i>=x&&i<=$?i:i{var O,R,D,P,L,F;vn();const c=_.useRef();let[d,h]=_.useState([]);const[g,y]=_.useState(!0),b=Sf();e&&e({queryClient:b});const v=(H,Y)=>{const X=r.debouncedFilters.startIndex||0,ue=[...d];c.current!==Y&&(ue.length=0,c.current=Y);for(let me=X;me<(r.debouncedFilters.itemsPerPage||0)+X;me++){const te=me-X;H[te]&&(ue[me]=H[te])}h(ue)};_.useEffect(()=>{var Y,X,ue;const H=((X=(Y=o.query.data)==null?void 0:Y.data)==null?void 0:X.items)||[];v(H,(ue=o.query.data)==null?void 0:ue.jsonQuery)},[(R=(O=o.query.data)==null?void 0:O.data)==null?void 0:R.items]);const C=({index:H,style:Y})=>{var ue,me;return d[H]?u?N.jsx(u,{content:d[H]},(ue=d[H])==null?void 0:ue.uniqueId):N.jsx(_7,{style:{...Y,top:Y.top+10,height:Y.height-10,width:Y.width},uniqueIdHrefHandler:n,columns:t,content:d[H]},(me=d[H])==null?void 0:me.uniqueId):null},E=({scrollOffset:H})=>{H===0&&!g?y(!0):H>0&&g&&y(!1)},$=_.useCallback(()=>(o.query.refetch(),Promise.resolve(!0)),[]),x=((L=(P=(D=o.query)==null?void 0:D.data)==null?void 0:P.data)==null?void 0:L.totalItems)||0;return N.jsx(N.Fragment,{children:N.jsx(doe,{pullDownContent:N.jsx(poe,{label:""}),releaseContent:N.jsx(moe,{}),refreshContent:N.jsx(hoe,{}),pullDownThreshold:200,onRefresh:$,triggerHeight:g?500:0,startInvisible:!0,children:d.length===0&&!((F=o.query)!=null&&F.isError)?N.jsx("div",{style:{height:"calc(100vh - 130px)"},children:N.jsx(goe,{})}):N.jsxs("div",{style:{height:"calc(100vh - 130px)"},children:[N.jsx(jo,{query:o.query}),N.jsx(loe,{isItemLoaded:H=>!!d[H],itemCount:x,loadMoreItems:async(H,Y)=>{r.setFilter({startIndex:H,itemsPerPage:Y-H})},children:({onItemsRendered:H,ref:Y})=>N.jsx(roe,{children:({height:X,width:ue})=>N.jsx(xoe,{height:X,itemCount:d.length,itemSize:u!=null&&u.getHeight?u.getHeight():t.length*24+10,width:ue,onScroll:E,onItemsRendered:H,ref:Y,children:C})})})]})})})},Ooe=({columns:t,deleteHook:e,uniqueIdHrefHandler:n,udf:r,q:i})=>{var h,g,y,b,v,C,E,$;const o=vn(),u=Sf();e&&e({queryClient:u}),(g=(h=i.query.data)==null?void 0:h.data)!=null&&g.items;const c=((v=(b=(y=i.query)==null?void 0:y.data)==null?void 0:b.data)==null?void 0:v.items)||[],d=(($=(E=(C=i.query)==null?void 0:C.data)==null?void 0:E.data)==null?void 0:$.totalItems)||0;return N.jsxs(N.Fragment,{children:[d===0&&N.jsx("p",{children:o.table.noRecords}),c.map(x=>N.jsx(_7,{style:{},uniqueIdHrefHandler:n,columns:t,content:x},x.uniqueId))]})},G6=matchMedia("(max-width: 600px)");function _oe(){const t=_.useRef(G6),[e,n]=_.useState(G6.matches?"card":"datatable");return _.useEffect(()=>{const r=t.current;function i(){r.matches?n("card"):n("datatable")}return r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[]),{view:e}}const sS=({children:t,columns:e,deleteHook:n,uniqueIdHrefHandler:r,withFilters:i,queryHook:o,onRecordsDeleted:u,selectable:c,id:d,RowDetail:h,withPreloads:g,queryFilters:y,deep:b,inlineInsertHook:v,bulkEditHook:C,urlMask:E,CardComponent:$})=>{var V,q,ie,G;vn();const{view:x}=_oe(),O=Sf(),{query:R}=qre({query:{uniqueId:o.UKEY}}),[D,P]=_.useState(e.map(J=>({columnName:J.name,width:J.width})));_.useEffect(()=>{var J,he,$e,Ce;if((he=(J=R.data)==null?void 0:J.data)!=null&&he.sizes)P(JSON.parse((Ce=($e=R.data)==null?void 0:$e.data)==null?void 0:Ce.sizes));else{const Be=localStorage.getItem(`table_${o.UKEY}`);Be&&P(JSON.parse(Be))}},[(q=(V=R.data)==null?void 0:V.data)==null?void 0:q.sizes]);const{submit:L}=zre({queryClient:O}),F=n&&n({queryClient:O}),H=Hre({urlMask:"",submitDelete:F==null?void 0:F.submit,onRecordsDeleted:u?()=>u({queryClient:O}):void 0}),[Y]=_.useState(e.map(J=>({columnName:J.name,width:J.width}))),X=J=>{P(J);const he=JSON.stringify(J);L({uniqueId:o.UKEY,sizes:he}),localStorage.setItem(`table_${o.UKEY}`,he)};let ue=({value:J})=>N.jsx("div",{style:{position:"relative"},children:N.jsx(Hw,{href:r&&r(J),children:J})}),me=J=>N.jsx(Dre,{formatterComponent:ue,...J});const te=[...y||[]],be=_.useMemo(()=>toe(te),[te]),we=o({query:{deep:b===void 0?!0:b,...H.debouncedFilters,withPreloads:g},queryClient:O});we.jsonQuery=be;const B=((G=(ie=we.query.data)==null?void 0:ie.data)==null?void 0:G.items)||[];return N.jsxs(N.Fragment,{children:[x==="map"&&N.jsx(Ooe,{columns:e,deleteHook:n,uniqueIdHrefHandler:r,q:we,udf:H}),x==="card"&&N.jsx(Toe,{columns:e,CardComponent:$,jsonQuery:be,deleteHook:n,uniqueIdHrefHandler:r,q:we,udf:H}),x==="datatable"&&N.jsxs(Zae,{udf:H,selectable:c,bulkEditHook:C,RowDetail:h,uniqueIdHrefHandler:r,onColumnWidthsChange:X,columns:e,columnSizes:D,inlineInsertHook:v,rows:B,defaultColumnWidths:Y,query:we.query,booleanColumns:["uniqueId"],withFilters:i,children:[N.jsx(me,{for:["uniqueId"]}),t]})]})};function Aoe(t){const{execFnOverride:e,queryClient:n,query:r}=t||{},{options:i,execFn:o}=_.useContext(en),u=e?e(i):o?o(i):ar(i);let d=`${"/public-join-key".substr(1)}?${new URLSearchParams(Jr(r)).toString()}`;const g=Fr(v=>u("DELETE",d,v)),y=(v,C)=>v;return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){n==null||n.setQueryData("*abac.PublicJoinKeyEntity",O=>y(O)),n==null||n.invalidateQueries("*abac.PublicJoinKeyEntity"),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function A7({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var O,R,D;const{options:u,execFn:c}=_.useContext(en),d=o?o(u):u,h=r?r(d):c?c(d):ar(d);let y=`${"/public-join-keys".substr(1)}?${mp.stringify(e)}`;const b=()=>h("GET",y),v=(O=d==null?void 0:d.headers)==null?void 0:O.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Uo(["*abac.PublicJoinKeyEntity",d,e],b,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),x=((D=(R=$.data)==null?void 0:R.data)==null?void 0:D.items)||[];return{query:$,items:x,keyExtractor:P=>P.uniqueId}}A7.UKEY="*abac.PublicJoinKeyEntity";const Roe={roleName:"Role name",uniqueId:"Unique Id"},Poe={roleName:"Nazwa roli",uniqueId:"Unikalny identyfikator"},Ioe={...Roe,$pl:Poe},Noe=t=>[{name:"uniqueId",title:t.uniqueId,width:200},{name:"role",title:t.roleName,width:200,getCellValue:e=>{var n;return(n=e.role)==null?void 0:n.name}}],Moe=()=>{const t=Wn(Ioe);return N.jsx(N.Fragment,{children:N.jsx(sS,{columns:Noe(t),queryHook:A7,uniqueIdHrefHandler:e=>Ja.Navigation.single(e),deleteHook:Aoe})})},uS=({children:t,newEntityHandler:e,exportPath:n,pageTitle:r})=>{aN(r);const i=Lr(),{locale:o}=Ci();return yX({path:n||""}),SX(e?()=>e({locale:o,router:i}):void 0,jn.NewEntity),N.jsx(N.Fragment,{children:t})},Doe=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(uS,{pageTitle:t.fbMenu.publicJoinKey,newEntityHandler:({locale:e,router:n})=>{n.push(Ja.Navigation.create())},children:N.jsx(Moe,{})})})};function koe(){return N.jsxs(N.Fragment,{children:[N.jsx(gn,{element:N.jsx(S6,{}),path:Ja.Navigation.Rcreate}),N.jsx(gn,{element:N.jsx(bne,{}),path:Ja.Navigation.Rsingle}),N.jsx(gn,{element:N.jsx(S6,{}),path:Ja.Navigation.Redit}),N.jsx(gn,{element:N.jsx(Doe,{}),path:Ja.Navigation.Rquery})]})}function R7({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=_.useContext(en),c=e?e(o):u?u(o):ar(o);let h=`${"/role/:uniqueId".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>c("GET",h),b=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=b!="undefined"&&b!=null&&b!=null&&b!="null"&&!!b;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Uo([o,n,"*abac.RoleEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}function Foe(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/role".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueriesData("*abac.RoleEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function Loe(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/role".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("*abac.RoleEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function Uoe({value:t,onChange:e,...n}){const r=_.useRef();return _.useEffect(()=>{r.current.indeterminate=t==="indeterminate"},[r,t]),N.jsx("input",{...n,type:"checkbox",ref:r,onChange:i=>{e("checked")},checked:t==="checked",className:"form-check-input"})}const joe=({errors:t,error:e})=>{if(!e&&!t)return null;let n={};e&&e.errors?n=e.errors:t&&(n=t);const r=Object.keys(n);return N.jsxs("div",{style:{minHeight:"30px"},children:[(t==null?void 0:t.form)&&N.jsx("div",{className:"with-fade-in",style:{color:"red"},children:t.form}),n.length&&N.jsxs("div",{children:[((e==null?void 0:e.title)||(e==null?void 0:e.message))&&N.jsx("span",{children:(e==null?void 0:e.title)||(e==null?void 0:e.message)}),r.map(i=>N.jsx("div",{children:N.jsxs("span",{children:["• ",n[i]]})},i))]})]})};function Ss(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var Boe=0;function lS(t){return"__private_"+Boe+++"_"+t}var Hh=lS("uniqueId"),qh=lS("name"),al=lS("children"),h$=lS("isJsonAppliable");class Ca{get uniqueId(){return Ss(this,Hh)[Hh]}set uniqueId(e){Ss(this,Hh)[Hh]=String(e)}setUniqueId(e){return this.uniqueId=e,this}get name(){return Ss(this,qh)[qh]}set name(e){Ss(this,qh)[qh]=String(e)}setName(e){return this.name=e,this}get children(){return Ss(this,al)[al]}set children(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof Ca?Ss(this,al)[al]=e:Ss(this,al)[al]=e.map(n=>new Ca(n)))}setChildren(e){return this.children=e,this}constructor(e=void 0){if(Object.defineProperty(this,h$,{value:Hoe}),Object.defineProperty(this,Hh,{writable:!0,value:""}),Object.defineProperty(this,qh,{writable:!0,value:""}),Object.defineProperty(this,al,{writable:!0,value:[]}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(Ss(this,h$)[h$](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.uniqueId!==void 0&&(this.uniqueId=n.uniqueId),n.name!==void 0&&(this.name=n.name),n.children!==void 0&&(this.children=n.children)}toJSON(){return{uniqueId:Ss(this,Hh)[Hh],name:Ss(this,qh)[qh],children:Ss(this,al)[al]}}toString(){return JSON.stringify(this)}static get Fields(){return{uniqueId:"uniqueId",name:"name",children$:"children",get children(){return hp("children[:i]",Ca.Fields)}}}static from(e){return new Ca(e)}static with(e){return new Ca(e)}copyWith(e){return new Ca({...this.toJSON(),...e})}clone(){return new Ca(this.toJSON())}}function Hoe(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}var j0;function ol(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var qoe=0;function ET(t){return"__private_"+qoe+++"_"+t}const zoe=t=>{const e=xf(),n=(t==null?void 0:t.ctx)??e??void 0,[r,i]=_.useState(!1),[o,u]=_.useState(),c=()=>(i(!1),bl.Fetch({headers:t==null?void 0:t.headers},{creatorFn:t==null?void 0:t.creatorFn,qs:t==null?void 0:t.qs,ctx:n,onMessage:t==null?void 0:t.onMessage,overrideUrl:t==null?void 0:t.overrideUrl}).then(h=>(h.done.then(()=>{i(!0)}),u(h.response),h.response.result)));return{...Uo({queryKey:[bl.NewUrl(t==null?void 0:t.qs)],queryFn:c,...t||{}}),isCompleted:r,response:o}};class bl{}j0=bl;bl.URL="/capabilitiesTree";bl.NewUrl=t=>Of(j0.URL,void 0,t);bl.Method="get";bl.Fetch$=async(t,e,n,r)=>$f(r??j0.NewUrl(t),{method:j0.Method,...n||{}},e);bl.Fetch=async(t,{creatorFn:e,qs:n,ctx:r,onMessage:i,overrideUrl:o}={creatorFn:u=>new np(u)})=>{e=e||(c=>new np(c));const u=await j0.Fetch$(n,r,t,o);return Ef(u,c=>{const d=new Tl;return e&&d.setCreator(e),d.inject(c),d},i,t==null?void 0:t.signal)};bl.Definition={name:"CapabilitiesTree",cliName:"treex",url:"/capabilitiesTree",method:"get",description:"dLists all of the capabilities in database as a array of string as root access",out:{envelope:"GResponse",fields:[{name:"capabilities",type:"collection",target:"CapabilityInfoDto"},{name:"nested",type:"collection",target:"CapabilityInfoDto"}]}};var sl=ET("capabilities"),ul=ET("nested"),p$=ET("isJsonAppliable");class np{get capabilities(){return ol(this,sl)[sl]}set capabilities(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof Ca?ol(this,sl)[sl]=e:ol(this,sl)[sl]=e.map(n=>new Ca(n)))}setCapabilities(e){return this.capabilities=e,this}get nested(){return ol(this,ul)[ul]}set nested(e){Array.isArray(e)&&(e.length>0&&e[0]instanceof Ca?ol(this,ul)[ul]=e:ol(this,ul)[ul]=e.map(n=>new Ca(n)))}setNested(e){return this.nested=e,this}constructor(e=void 0){if(Object.defineProperty(this,p$,{value:Voe}),Object.defineProperty(this,sl,{writable:!0,value:[]}),Object.defineProperty(this,ul,{writable:!0,value:[]}),e!=null)if(typeof e=="string")this.applyFromObject(JSON.parse(e));else if(ol(this,p$)[p$](e))this.applyFromObject(e);else throw new Error("Instance cannot be created on an unknown value, check the content being passed. got: "+typeof e)}applyFromObject(e={}){const n=e;n.capabilities!==void 0&&(this.capabilities=n.capabilities),n.nested!==void 0&&(this.nested=n.nested)}toJSON(){return{capabilities:ol(this,sl)[sl],nested:ol(this,ul)[ul]}}toString(){return JSON.stringify(this)}static get Fields(){return{capabilities$:"capabilities",get capabilities(){return hp("capabilities[:i]",Ca.Fields)},nested$:"nested",get nested(){return hp("nested[:i]",Ca.Fields)}}}static from(e){return new np(e)}static with(e){return new np(e)}copyWith(e){return new np({...this.toJSON(),...e})}clone(){return new np(this.toJSON())}}function Voe(t){const e=globalThis,n=typeof e.Buffer<"u"&&typeof e.Buffer.isBuffer=="function"&&e.Buffer.isBuffer(t),r=typeof e.Blob<"u"&&t instanceof e.Blob;return t&&typeof t=="object"&&!Array.isArray(t)&&!n&&!(t instanceof ArrayBuffer)&&!r}function P7({onChange:t,value:e,prefix:n}){var c,d;const{data:r,error:i}=zoe({}),o=((d=(c=r==null?void 0:r.data)==null?void 0:c.item)==null?void 0:d.nested)||[],u=(h,g)=>{let y=[...e||[]];g==="checked"&&y.push(h),g==="unchecked"&&(y=y.filter(b=>b!==h)),t&&t(y)};return N.jsxs("nav",{className:"tree-nav",children:[N.jsx(joe,{error:i}),N.jsx("ul",{className:"list",children:N.jsx(I7,{items:o,onNodeChange:u,value:e,prefix:n})})]})}function I7({items:t,onNodeChange:e,value:n,prefix:r,autoChecked:i}){const o=r?r+".":"";return N.jsx(N.Fragment,{children:t.map(u=>{var h;const c=`${o}${u.uniqueId}${(h=u.children)!=null&&h.length?".*":""}`,d=(n||[]).includes(c)?"checked":"unchecked";return N.jsxs("li",{children:[N.jsx("span",{children:N.jsxs("label",{className:i?"auto-checked":"",children:[N.jsx(Uoe,{value:d,onChange:g=>{e(c,d==="checked"?"unchecked":"checked")}}),u.uniqueId]})}),u.children&&N.jsx("ul",{children:N.jsx(I7,{autoChecked:i||d==="checked",onNodeChange:e,value:n,items:u.children,prefix:o+u.uniqueId})})]},u.uniqueId)})})}const Goe=(t,e)=>t!=null&&t.length&&!(e!=null&&e.length)?t.map(n=>n.uniqueId):e||[],Woe=({form:t,isEditing:e})=>{const{values:n,setFieldValue:r,errors:i}=t,o=vn();return N.jsxs(N.Fragment,{children:[N.jsx(Mo,{value:n.name,onChange:u=>r(Dr.Fields.name,u,!1),errorMessage:i.name,label:o.wokspaces.invite.role,autoFocus:!e,hint:o.wokspaces.invite.roleHint}),N.jsx(P7,{onChange:u=>r(Dr.Fields.capabilitiesListId,u,!1),value:Goe(n.capabilities,n.capabilitiesListId)})]})},W6=({data:t})=>{const{router:e,uniqueId:n,queryClient:r,locale:i}=t1({data:t}),o=vn(),u=R7({query:{uniqueId:n},queryOptions:{enabled:!!n}}),c=Loe({queryClient:r}),d=Foe({queryClient:r});return N.jsx(Zx,{postHook:c,getSingleHook:u,patchHook:d,beforeSubmit:h=>{var g;return((g=h.capabilities)==null?void 0:g.length)>0&&h.capabilitiesListId===null?{...h,capabilitiesListId:h.capabilities.map(y=>y.uniqueId)}:h},onCancel:()=>{e.goBackOrDefault(Dr.Navigation.query(void 0,i))},onFinishUriResolver:(h,g)=>{var y;return Dr.Navigation.single((y=h.data)==null?void 0:y.uniqueId,g)},Form:Woe,onEditTitle:o.fb.editRole,onCreateTitle:o.fb.newRole,data:t})},Koe=Ae.createContext({setToken(){},setSession(){},signout(){},ref:{token:""},isAuthenticated:!1});function Yoe(){const t=localStorage.getItem("app_auth_state");if(t){try{const e=JSON.parse(t);return e?{...e}:{}}catch{}return{}}}Yoe();function N7(t){const e=_.useContext(Koe);_.useEffect(()=>{e.setToken(t||"")},[t])}function M7({title:t,children:e,className:n,description:r}){return N.jsxs("div",{className:ko("page-section",n),children:[t?N.jsx("h2",{className:"",children:t}):null,r?N.jsx("p",{className:"",children:r}):null,N.jsx("div",{className:"mt-4",children:e})]})}const Qoe=()=>{var c;const t=Lr();Sf();const e=t.query.uniqueId,n=vn();Ci();const[r,i]=_.useState([]),o=R7({query:{uniqueId:e,deep:!0}});var u=(c=o.query.data)==null?void 0:c.data;return N7((u==null?void 0:u.name)||""),_.useEffect(()=>{var d;i((d=u==null?void 0:u.capabilities)==null?void 0:d.map(h=>h.uniqueId||""))},[u==null?void 0:u.capabilities]),N.jsx(N.Fragment,{children:N.jsxs(fT,{editEntityHandler:()=>{t.push(Dr.Navigation.edit(e))},getSingleHook:o,children:[N.jsx(dT,{entity:u,fields:[{label:n.role.name,elem:u==null?void 0:u.name}]}),N.jsx(M7,{title:n.role.permissions,className:"mt-3",children:N.jsx(P7,{value:r})})]})})},Joe=t=>[{name:Dr.Fields.uniqueId,title:t.table.uniqueId,width:200},{name:Dr.Fields.name,title:t.role.name,width:200}];function Xoe(t){const{execFnOverride:e,queryClient:n,query:r}=t||{},{options:i,execFn:o}=_.useContext(en),u=e?e(i):o?o(i):ar(i);let d=`${"/role".substr(1)}?${new URLSearchParams(Jr(r)).toString()}`;const g=Fr(v=>u("DELETE",d,v)),y=(v,C)=>v;return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){n==null||n.setQueryData("*abac.RoleEntity",O=>y(O)),n==null||n.invalidateQueries("*abac.RoleEntity"),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}const Zoe=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(sS,{columns:Joe(t),queryHook:rS,uniqueIdHrefHandler:e=>Dr.Navigation.single(e),deleteHook:Xoe})})},ese=()=>{const t=vn();return CX(),N.jsx(N.Fragment,{children:N.jsx(uS,{newEntityHandler:({locale:e,router:n})=>n.push(Dr.Navigation.create()),pageTitle:t.fbMenu.roles,children:N.jsx(Zoe,{})})})};function tse(){return N.jsxs(N.Fragment,{children:[N.jsx(gn,{element:N.jsx(W6,{}),path:Dr.Navigation.Rcreate}),N.jsx(gn,{element:N.jsx(Qoe,{}),path:Dr.Navigation.Rsingle}),N.jsx(gn,{element:N.jsx(W6,{}),path:Dr.Navigation.Redit}),N.jsx(gn,{element:N.jsx(ese,{}),path:Dr.Navigation.Rquery})]})}({...Vt.Fields});function D7({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var O,R,D;const{options:u,execFn:c}=_.useContext(en),d=o?o(u):u,h=r?r(d):c?c(d):ar(d);let y=`${"/users/invitations".substr(1)}?${mp.stringify(e)}`;const b=()=>h("GET",y),v=(O=d==null?void 0:d.headers)==null?void 0:O.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Uo(["*abac.UserInvitationsQueryColumns",d,e],b,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),x=((D=(R=$.data)==null?void 0:R.data)==null?void 0:D.items)||[];return{query:$,items:x,keyExtractor:P=>P.uniqueId}}D7.UKEY="*abac.UserInvitationsQueryColumns";const nse={confirmRejectTitle:"Reject invite",reject:"Reject",workspaceName:"Workspace Name",passport:"Passport",confirmAcceptDescription:"Are you sure that you are confirming to join?",confirmRejectDescription:"Are you sure to reject this invitation? You need to be reinvited by admins again.",acceptBtn:null,accept:"Accept",roleName:"Role name",method:"Method",actions:"Actions",confirmAcceptTitle:"Confirm invitation"},rse={actions:"Akcje",confirmRejectTitle:"Odrzuć zaproszenie",method:"Metoda",roleName:"Nazwa roli",accept:"Akceptuj",confirmAcceptDescription:"Czy na pewno chcesz dołączyć?",confirmAcceptTitle:"Potwierdź zaproszenie",confirmRejectDescription:"Czy na pewno chcesz odrzucić to zaproszenie? Aby dołączyć ponownie, musisz zostać ponownie zaproszony przez administratorów.",passport:"Paszport",reject:"Odrzuć",workspaceName:"Nazwa przestrzeni roboczej",acceptBtn:"Tak"},ise={...nse,$pl:rse},ase=(t,e,n)=>[{name:"roleName",title:t.roleName,width:100},{name:"workspaceName",title:t.workspaceName,width:100},{name:"method",title:t.method,width:100,getCellValue:r=>r.type},{name:"value",title:t.passport,width:100,getCellValue:r=>r.value},{name:"actions",title:t.actions,width:100,getCellValue:r=>N.jsxs(N.Fragment,{children:[N.jsx("button",{className:"btn btn-sm btn-success",style:{marginRight:"2px"},onClick:i=>{e(r)},children:t.accept}),N.jsx("button",{onClick:i=>{n(r)},className:"btn btn-sm btn-danger",children:t.reject})]})}];function ose(t){let{queryClient:e,query:n,execFnOverride:r}={};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/user/invitation/accept".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("string",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}const sse=()=>{const t=Wn(ise),e=_.useContext(d7),{submit:n}=ose(),r=o=>{e.openModal({title:t.confirmAcceptTitle,confirmButtonLabel:t.acceptBtn,component:()=>N.jsx("div",{children:t.confirmAcceptDescription}),onSubmit:async()=>n({invitationUniqueId:o.uniqueId}).then(u=>{})})},i=o=>{e.openModal({title:t.confirmRejectTitle,confirmButtonLabel:t.acceptBtn,component:()=>N.jsx("div",{children:t.confirmRejectDescription}),onSubmit:async()=>!0})};return N.jsx(N.Fragment,{children:N.jsx(sS,{selectable:!1,columns:ase(t,r,i),queryHook:D7})})},use=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(uS,{pageTitle:t.fbMenu.myInvitations,children:N.jsx(sse,{})})})};function lse(){return N.jsx(N.Fragment,{children:N.jsx(gn,{element:N.jsx(use,{}),path:"user-invitations"})})}function k7({queryOptions:t,execFnOverride:e,query:n,queryClient:r,unauthorized:i}){var $;const{options:o,execFn:u}=_.useContext(en),c=e?e(o):u?u(o):ar(o);let h=`${"/workspace-invite/:uniqueId".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`,g=!0;h=h.replace(":uniqueId",n[":uniqueId".replace(":","")]),n[":uniqueId".replace(":","")]===void 0&&(g=!1);const y=()=>c("GET",h),b=($=o==null?void 0:o.headers)==null?void 0:$.authorization,v=b!="undefined"&&b!=null&&b!=null&&b!="null"&&!!b;let C=!0;return g?!v&&!i&&(C=!1):C=!1,{query:Uo([o,n,"*abac.WorkspaceInviteEntity"],y,{cacheTime:1001,retry:!1,keepPreviousData:!0,enabled:C,...t||{}})}}function cse(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/workspace-invite".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("PATCH",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueriesData("*abac.WorkspaceInviteEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}function fse(t){let{queryClient:e,query:n,execFnOverride:r}=t||{};n=n||{};const{options:i,execFn:o}=_.useContext(en),u=r?r(i):o?o(i):ar(i);let d=`${"/workspace/invite".substr(1)}?${new URLSearchParams(Jr(n)).toString()}`;const g=Fr(v=>u("POST",d,v)),y=(v,C)=>{var E;return v?(v.data&&(C!=null&&C.data)&&(v.data.items=[C.data,...((E=v==null?void 0:v.data)==null?void 0:E.items)||[]]),v):{data:{items:[]}}};return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){e==null||e.setQueryData("*abac.WorkspaceInviteEntity",O=>y(O,x)),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}const dse={targetLocaleHint:"If the user has a different language available, the initial interface will be on th selected value.",forcedEmailAddress:"Force Email Address",forcedEmailAddressHint:"If checked, user can only make the invitation using this email address, and won't be able to change it. If account exists, they need to accept invitation there.",forcedPhone:"Force Phone Number",forcedPhoneHint:"If checked, user only can create or join using this phone number",coverLetter:"Cover letter",coverLetterHint:"The invitation text that user would get over sms or email, you can modify it here.",targetLocale:"Target Locale"},hse={targetLocaleHint:"Jeśli użytkownik ma dostępny inny język, interfejs początkowy będzie ustawiony na wybraną wartość.",coverLetter:"List motywacyjny",coverLetterHint:"Treść zaproszenia, którą użytkownik otrzyma przez SMS lub e-mail – możesz ją tutaj edytować.",forcedEmailAddress:"Wymuszony adres e-mail",forcedEmailAddressHint:"Jeśli zaznaczone, użytkownik może wysłać zaproszenie tylko na ten adres e-mail i nie będzie mógł go zmienić. Jeśli konto już istnieje, użytkownik musi zaakceptować zaproszenie na tym koncie.",forcedPhone:"Wymuszony numer telefonu",forcedPhoneHint:"Jeśli zaznaczone, użytkownik może utworzyć konto lub dołączyć tylko przy użyciu tego numeru telefonu",targetLocale:"Docelowy język"},F7={...dse,$pl:hse};function pse(t){return e=>mse({items:t,...e})}function mse(t){var o,u;let e=((o=t.query)==null?void 0:o.itemsPerPage)||2,n=t.query.startIndex||0,r=t.items||[];return(u=t.query)!=null&&u.jsonQuery&&(r=aB(r,t.query.jsonQuery)),r=r.slice(n,n+e),{query:{data:{data:{items:r,totalItems:r.length,totalAvailableItems:r.length}},dataUpdatedAt:0,error:null,errorUpdateCount:0,errorUpdatedAt:0,failureCount:0,isError:!1,isFetched:!1,isFetchedAfterMount:!1,isFetching:!1,isIdle:!1,isLoading:!1,isLoadingError:!1,isPlaceholderData:!1,isPreviousData:!1,isRefetchError:!1,isRefetching:!1,isStale:!1,remove(){console.log("Use as query has not implemented this.")},refetch(){return console.log("Refetch is not working actually."),Promise.resolve(void 0)},isSuccess:!0,status:"success"},items:r}}var WE=function(){return WE=Object.assign||function(t){for(var e,n=1,r=arguments.length;n"u"||t===""?[]:Array.isArray(t)?t:t.split(" ")},bse=function(t,e){return X6(t).concat(X6(e))},wse=function(){return window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"},Sse=function(t){if(!("isConnected"in Node.prototype)){for(var e=t,n=t.parentNode;n!=null;)e=n,n=e.parentNode;return e===t.ownerDocument}return t.isConnected},Z6=function(t,e){t!==void 0&&(t.mode!=null&&typeof t.mode=="object"&&typeof t.mode.set=="function"?t.mode.set(e):t.setMode(e))},KE=function(){return KE=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0?setTimeout(h,u):h()},r=function(){for(var i=t.pop();i!=null;i=t.pop())i.deleteScripts()};return{loadList:n,reinitialize:r}},xse=Ese(),g$=function(t){var e=t;return e&&e.tinymce?e.tinymce:null},Tse=(function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),Ew=function(){return Ew=Object.assign||function(t){for(var e,n=1,r=arguments.length;nu([new File([c],d)]),o=(c,d=!1)=>new Promise((h,g)=>{const y=new JH(c,{endpoint:wi.REMOTE_SERVICE+"tus",onBeforeRequest(b){b.setHeader("authorization",t.token),b.setHeader("workspace-id",e==null?void 0:e.workspaceId)},headers:{},metadata:{filename:c.name,path:"/database/users",filetype:c.type},onSuccess(){var v;const b=(v=y.url)==null?void 0:v.match(/([a-z0-9]){10,}/gi);h(`${b}`)},onError(b){g(b)},onProgress(b,v){var E,$;const C=($=(E=y.url)==null?void 0:E.match(/([a-z0-9]){10,}/gi))==null?void 0:$.toString();if(C){const x={uploadId:C,bytesSent:b,filename:c.name,bytesTotal:v};d!==!0&&r(O=>_se(O,x))}}});y.start()}),u=(c,d=!1)=>c.map(h=>o(h));return{upload:u,activeUploads:n,uploadBlob:i,uploadSingle:o}}var y$={},Wv={},eP;function Rse(){if(eP)return Wv;eP=1,Wv.byteLength=c,Wv.toByteArray=h,Wv.fromByteArray=b;for(var t=[],e=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var E=v.indexOf("=");E===-1&&(E=C);var $=E===C?0:4-E%4;return[E,$]}function c(v){var C=u(v),E=C[0],$=C[1];return(E+$)*3/4-$}function d(v,C,E){return(C+E)*3/4-E}function h(v){var C,E=u(v),$=E[0],x=E[1],O=new n(d(v,$,x)),R=0,D=x>0?$-4:$,P;for(P=0;P>16&255,O[R++]=C>>8&255,O[R++]=C&255;return x===2&&(C=e[v.charCodeAt(P)]<<2|e[v.charCodeAt(P+1)]>>4,O[R++]=C&255),x===1&&(C=e[v.charCodeAt(P)]<<10|e[v.charCodeAt(P+1)]<<4|e[v.charCodeAt(P+2)]>>2,O[R++]=C>>8&255,O[R++]=C&255),O}function g(v){return t[v>>18&63]+t[v>>12&63]+t[v>>6&63]+t[v&63]}function y(v,C,E){for(var $,x=[],O=C;OD?D:R+O));return $===1?(C=v[E-1],x.push(t[C>>2]+t[C<<4&63]+"==")):$===2&&(C=(v[E-2]<<8)+v[E-1],x.push(t[C>>10]+t[C>>4&63]+t[C<<2&63]+"=")),x.join("")}return Wv}var w2={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var tP;function Pse(){return tP||(tP=1,w2.read=function(t,e,n,r,i){var o,u,c=i*8-r-1,d=(1<>1,g=-7,y=n?i-1:0,b=n?-1:1,v=t[e+y];for(y+=b,o=v&(1<<-g)-1,v>>=-g,g+=c;g>0;o=o*256+t[e+y],y+=b,g-=8);for(u=o&(1<<-g)-1,o>>=-g,g+=r;g>0;u=u*256+t[e+y],y+=b,g-=8);if(o===0)o=1-h;else{if(o===d)return u?NaN:(v?-1:1)*(1/0);u=u+Math.pow(2,r),o=o-h}return(v?-1:1)*u*Math.pow(2,o-r)},w2.write=function(t,e,n,r,i,o){var u,c,d,h=o*8-i-1,g=(1<>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=r?0:o-1,C=r?1:-1,E=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,u=g):(u=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+y>=1?e+=b/d:e+=b*Math.pow(2,1-y),e*d>=2&&(u++,d/=2),u+y>=g?(c=0,u=g):u+y>=1?(c=(e*d-1)*Math.pow(2,i),u=u+y):(c=e*Math.pow(2,y-1)*Math.pow(2,i),u=0));i>=8;t[n+v]=c&255,v+=C,c/=256,i-=8);for(u=u<0;t[n+v]=u&255,v+=C,u/=256,h-=8);t[n+v-C]|=E*128}),w2}/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var nP;function Ise(){return nP||(nP=1,(function(t){const e=Rse(),n=Pse(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=O,t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i,c.TYPED_ARRAY_SUPPORT=o(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const j=new Uint8Array(1),A={foo:function(){return 42}};return Object.setPrototypeOf(A,Uint8Array.prototype),Object.setPrototypeOf(j,A),j.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function u(j){if(j>i)throw new RangeError('The value "'+j+'" is invalid for option "size"');const A=new Uint8Array(j);return Object.setPrototypeOf(A,c.prototype),A}function c(j,A,M){if(typeof j=="number"){if(typeof A=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(j)}return d(j,A,M)}c.poolSize=8192;function d(j,A,M){if(typeof j=="string")return b(j,A);if(ArrayBuffer.isView(j))return C(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(pe(j,ArrayBuffer)||j&&pe(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(j,SharedArrayBuffer)||j&&pe(j.buffer,SharedArrayBuffer)))return E(j,A,M);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Q=j.valueOf&&j.valueOf();if(Q!=null&&Q!==j)return c.from(Q,A,M);const re=$(j);if(re)return re;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return c.from(j[Symbol.toPrimitive]("string"),A,M);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}c.from=function(j,A,M){return d(j,A,M)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function h(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function g(j,A,M){return h(j),j<=0?u(j):A!==void 0?typeof M=="string"?u(j).fill(A,M):u(j).fill(A):u(j)}c.alloc=function(j,A,M){return g(j,A,M)};function y(j){return h(j),u(j<0?0:x(j)|0)}c.allocUnsafe=function(j){return y(j)},c.allocUnsafeSlow=function(j){return y(j)};function b(j,A){if((typeof A!="string"||A==="")&&(A="utf8"),!c.isEncoding(A))throw new TypeError("Unknown encoding: "+A);const M=R(j,A)|0;let Q=u(M);const re=Q.write(j,A);return re!==M&&(Q=Q.slice(0,re)),Q}function v(j){const A=j.length<0?0:x(j.length)|0,M=u(A);for(let Q=0;Q=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return j|0}function O(j){return+j!=j&&(j=0),c.alloc(+j)}c.isBuffer=function(A){return A!=null&&A._isBuffer===!0&&A!==c.prototype},c.compare=function(A,M){if(pe(A,Uint8Array)&&(A=c.from(A,A.offset,A.byteLength)),pe(M,Uint8Array)&&(M=c.from(M,M.offset,M.byteLength)),!c.isBuffer(A)||!c.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(A===M)return 0;let Q=A.length,re=M.length;for(let ge=0,Ee=Math.min(Q,re);gere.length?(c.isBuffer(Ee)||(Ee=c.from(Ee)),Ee.copy(re,ge)):Uint8Array.prototype.set.call(re,Ee,ge);else if(c.isBuffer(Ee))Ee.copy(re,ge);else throw new TypeError('"list" argument must be an Array of Buffers');ge+=Ee.length}return re};function R(j,A){if(c.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||pe(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const M=j.length,Q=arguments.length>2&&arguments[2]===!0;if(!Q&&M===0)return 0;let re=!1;for(;;)switch(A){case"ascii":case"latin1":case"binary":return M;case"utf8":case"utf-8":return Ot(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M*2;case"hex":return M>>>1;case"base64":return kt(j).length;default:if(re)return Q?-1:Ot(j).length;A=(""+A).toLowerCase(),re=!0}}c.byteLength=R;function D(j,A,M){let Q=!1;if((A===void 0||A<0)&&(A=0),A>this.length||((M===void 0||M>this.length)&&(M=this.length),M<=0)||(M>>>=0,A>>>=0,M<=A))return"";for(j||(j="utf8");;)switch(j){case"hex":return ie(this,A,M);case"utf8":case"utf-8":return be(this,A,M);case"ascii":return V(this,A,M);case"latin1":case"binary":return q(this,A,M);case"base64":return te(this,A,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,A,M);default:if(Q)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),Q=!0}}c.prototype._isBuffer=!0;function P(j,A,M){const Q=j[A];j[A]=j[M],j[M]=Q}c.prototype.swap16=function(){const A=this.length;if(A%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;MM&&(A+=" ... "),""},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(A,M,Q,re,ge){if(pe(A,Uint8Array)&&(A=c.from(A,A.offset,A.byteLength)),!c.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(M===void 0&&(M=0),Q===void 0&&(Q=A?A.length:0),re===void 0&&(re=0),ge===void 0&&(ge=this.length),M<0||Q>A.length||re<0||ge>this.length)throw new RangeError("out of range index");if(re>=ge&&M>=Q)return 0;if(re>=ge)return-1;if(M>=Q)return 1;if(M>>>=0,Q>>>=0,re>>>=0,ge>>>=0,this===A)return 0;let Ee=ge-re,rt=Q-M;const Wt=Math.min(Ee,rt),ae=this.slice(re,ge),ce=A.slice(M,Q);for(let nt=0;nt2147483647?M=2147483647:M<-2147483648&&(M=-2147483648),M=+M,ze(M)&&(M=re?0:j.length-1),M<0&&(M=j.length+M),M>=j.length){if(re)return-1;M=j.length-1}else if(M<0)if(re)M=0;else return-1;if(typeof A=="string"&&(A=c.from(A,Q)),c.isBuffer(A))return A.length===0?-1:F(j,A,M,Q,re);if(typeof A=="number")return A=A&255,typeof Uint8Array.prototype.indexOf=="function"?re?Uint8Array.prototype.indexOf.call(j,A,M):Uint8Array.prototype.lastIndexOf.call(j,A,M):F(j,[A],M,Q,re);throw new TypeError("val must be string, number or Buffer")}function F(j,A,M,Q,re){let ge=1,Ee=j.length,rt=A.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(j.length<2||A.length<2)return-1;ge=2,Ee/=2,rt/=2,M/=2}function Wt(ce,nt){return ge===1?ce[nt]:ce.readUInt16BE(nt*ge)}let ae;if(re){let ce=-1;for(ae=M;aeEe&&(M=Ee-rt),ae=M;ae>=0;ae--){let ce=!0;for(let nt=0;ntre&&(Q=re)):Q=re;const ge=A.length;Q>ge/2&&(Q=ge/2);let Ee;for(Ee=0;Ee>>0,isFinite(Q)?(Q=Q>>>0,re===void 0&&(re="utf8")):(re=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ge=this.length-M;if((Q===void 0||Q>ge)&&(Q=ge),A.length>0&&(Q<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");re||(re="utf8");let Ee=!1;for(;;)switch(re){case"hex":return H(this,A,M,Q);case"utf8":case"utf-8":return Y(this,A,M,Q);case"ascii":case"latin1":case"binary":return X(this,A,M,Q);case"base64":return ue(this,A,M,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,A,M,Q);default:if(Ee)throw new TypeError("Unknown encoding: "+re);re=(""+re).toLowerCase(),Ee=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(j,A,M){return A===0&&M===j.length?e.fromByteArray(j):e.fromByteArray(j.slice(A,M))}function be(j,A,M){M=Math.min(j.length,M);const Q=[];let re=A;for(;re239?4:ge>223?3:ge>191?2:1;if(re+rt<=M){let Wt,ae,ce,nt;switch(rt){case 1:ge<128&&(Ee=ge);break;case 2:Wt=j[re+1],(Wt&192)===128&&(nt=(ge&31)<<6|Wt&63,nt>127&&(Ee=nt));break;case 3:Wt=j[re+1],ae=j[re+2],(Wt&192)===128&&(ae&192)===128&&(nt=(ge&15)<<12|(Wt&63)<<6|ae&63,nt>2047&&(nt<55296||nt>57343)&&(Ee=nt));break;case 4:Wt=j[re+1],ae=j[re+2],ce=j[re+3],(Wt&192)===128&&(ae&192)===128&&(ce&192)===128&&(nt=(ge&15)<<18|(Wt&63)<<12|(ae&63)<<6|ce&63,nt>65535&&nt<1114112&&(Ee=nt))}}Ee===null?(Ee=65533,rt=1):Ee>65535&&(Ee-=65536,Q.push(Ee>>>10&1023|55296),Ee=56320|Ee&1023),Q.push(Ee),re+=rt}return B(Q)}const we=4096;function B(j){const A=j.length;if(A<=we)return String.fromCharCode.apply(String,j);let M="",Q=0;for(;QQ)&&(M=Q);let re="";for(let ge=A;geQ&&(A=Q),M<0?(M+=Q,M<0&&(M=0)):M>Q&&(M=Q),MM)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(A,M,Q){A=A>>>0,M=M>>>0,Q||J(A,M,this.length);let re=this[A],ge=1,Ee=0;for(;++Ee>>0,M=M>>>0,Q||J(A,M,this.length);let re=this[A+--M],ge=1;for(;M>0&&(ge*=256);)re+=this[A+--M]*ge;return re},c.prototype.readUint8=c.prototype.readUInt8=function(A,M){return A=A>>>0,M||J(A,1,this.length),this[A]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(A,M){return A=A>>>0,M||J(A,2,this.length),this[A]|this[A+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(A,M){return A=A>>>0,M||J(A,2,this.length),this[A]<<8|this[A+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(A,M){return A=A>>>0,M||J(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+this[A+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(A,M){return A=A>>>0,M||J(A,4,this.length),this[A]*16777216+(this[A+1]<<16|this[A+2]<<8|this[A+3])},c.prototype.readBigUInt64LE=Qe(function(A){A=A>>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=M+this[++A]*2**8+this[++A]*2**16+this[++A]*2**24,ge=this[++A]+this[++A]*2**8+this[++A]*2**16+Q*2**24;return BigInt(re)+(BigInt(ge)<>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=M*2**24+this[++A]*2**16+this[++A]*2**8+this[++A],ge=this[++A]*2**24+this[++A]*2**16+this[++A]*2**8+Q;return(BigInt(re)<>>0,M=M>>>0,Q||J(A,M,this.length);let re=this[A],ge=1,Ee=0;for(;++Ee=ge&&(re-=Math.pow(2,8*M)),re},c.prototype.readIntBE=function(A,M,Q){A=A>>>0,M=M>>>0,Q||J(A,M,this.length);let re=M,ge=1,Ee=this[A+--re];for(;re>0&&(ge*=256);)Ee+=this[A+--re]*ge;return ge*=128,Ee>=ge&&(Ee-=Math.pow(2,8*M)),Ee},c.prototype.readInt8=function(A,M){return A=A>>>0,M||J(A,1,this.length),this[A]&128?(255-this[A]+1)*-1:this[A]},c.prototype.readInt16LE=function(A,M){A=A>>>0,M||J(A,2,this.length);const Q=this[A]|this[A+1]<<8;return Q&32768?Q|4294901760:Q},c.prototype.readInt16BE=function(A,M){A=A>>>0,M||J(A,2,this.length);const Q=this[A+1]|this[A]<<8;return Q&32768?Q|4294901760:Q},c.prototype.readInt32LE=function(A,M){return A=A>>>0,M||J(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},c.prototype.readInt32BE=function(A,M){return A=A>>>0,M||J(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},c.prototype.readBigInt64LE=Qe(function(A){A=A>>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=this[A+4]+this[A+5]*2**8+this[A+6]*2**16+(Q<<24);return(BigInt(re)<>>0,bt(A,"offset");const M=this[A],Q=this[A+7];(M===void 0||Q===void 0)&>(A,this.length-8);const re=(M<<24)+this[++A]*2**16+this[++A]*2**8+this[++A];return(BigInt(re)<>>0,M||J(A,4,this.length),n.read(this,A,!0,23,4)},c.prototype.readFloatBE=function(A,M){return A=A>>>0,M||J(A,4,this.length),n.read(this,A,!1,23,4)},c.prototype.readDoubleLE=function(A,M){return A=A>>>0,M||J(A,8,this.length),n.read(this,A,!0,52,8)},c.prototype.readDoubleBE=function(A,M){return A=A>>>0,M||J(A,8,this.length),n.read(this,A,!1,52,8)};function he(j,A,M,Q,re,ge){if(!c.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(A>re||Aj.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(A,M,Q,re){if(A=+A,M=M>>>0,Q=Q>>>0,!re){const rt=Math.pow(2,8*Q)-1;he(this,A,M,Q,rt,0)}let ge=1,Ee=0;for(this[M]=A&255;++Ee>>0,Q=Q>>>0,!re){const rt=Math.pow(2,8*Q)-1;he(this,A,M,Q,rt,0)}let ge=Q-1,Ee=1;for(this[M+ge]=A&255;--ge>=0&&(Ee*=256);)this[M+ge]=A/Ee&255;return M+Q},c.prototype.writeUint8=c.prototype.writeUInt8=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,1,255,0),this[M]=A&255,M+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,65535,0),this[M]=A&255,this[M+1]=A>>>8,M+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,65535,0),this[M]=A>>>8,this[M+1]=A&255,M+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,4294967295,0),this[M+3]=A>>>24,this[M+2]=A>>>16,this[M+1]=A>>>8,this[M]=A&255,M+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,4294967295,0),this[M]=A>>>24,this[M+1]=A>>>16,this[M+2]=A>>>8,this[M+3]=A&255,M+4};function $e(j,A,M,Q,re){pt(A,Q,re,j,M,7);let ge=Number(A&BigInt(4294967295));j[M++]=ge,ge=ge>>8,j[M++]=ge,ge=ge>>8,j[M++]=ge,ge=ge>>8,j[M++]=ge;let Ee=Number(A>>BigInt(32)&BigInt(4294967295));return j[M++]=Ee,Ee=Ee>>8,j[M++]=Ee,Ee=Ee>>8,j[M++]=Ee,Ee=Ee>>8,j[M++]=Ee,M}function Ce(j,A,M,Q,re){pt(A,Q,re,j,M,7);let ge=Number(A&BigInt(4294967295));j[M+7]=ge,ge=ge>>8,j[M+6]=ge,ge=ge>>8,j[M+5]=ge,ge=ge>>8,j[M+4]=ge;let Ee=Number(A>>BigInt(32)&BigInt(4294967295));return j[M+3]=Ee,Ee=Ee>>8,j[M+2]=Ee,Ee=Ee>>8,j[M+1]=Ee,Ee=Ee>>8,j[M]=Ee,M+8}c.prototype.writeBigUInt64LE=Qe(function(A,M=0){return $e(this,A,M,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=Qe(function(A,M=0){return Ce(this,A,M,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(A,M,Q,re){if(A=+A,M=M>>>0,!re){const Wt=Math.pow(2,8*Q-1);he(this,A,M,Q,Wt-1,-Wt)}let ge=0,Ee=1,rt=0;for(this[M]=A&255;++ge>0)-rt&255;return M+Q},c.prototype.writeIntBE=function(A,M,Q,re){if(A=+A,M=M>>>0,!re){const Wt=Math.pow(2,8*Q-1);he(this,A,M,Q,Wt-1,-Wt)}let ge=Q-1,Ee=1,rt=0;for(this[M+ge]=A&255;--ge>=0&&(Ee*=256);)A<0&&rt===0&&this[M+ge+1]!==0&&(rt=1),this[M+ge]=(A/Ee>>0)-rt&255;return M+Q},c.prototype.writeInt8=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,1,127,-128),A<0&&(A=255+A+1),this[M]=A&255,M+1},c.prototype.writeInt16LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,32767,-32768),this[M]=A&255,this[M+1]=A>>>8,M+2},c.prototype.writeInt16BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,2,32767,-32768),this[M]=A>>>8,this[M+1]=A&255,M+2},c.prototype.writeInt32LE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,2147483647,-2147483648),this[M]=A&255,this[M+1]=A>>>8,this[M+2]=A>>>16,this[M+3]=A>>>24,M+4},c.prototype.writeInt32BE=function(A,M,Q){return A=+A,M=M>>>0,Q||he(this,A,M,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[M]=A>>>24,this[M+1]=A>>>16,this[M+2]=A>>>8,this[M+3]=A&255,M+4},c.prototype.writeBigInt64LE=Qe(function(A,M=0){return $e(this,A,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=Qe(function(A,M=0){return Ce(this,A,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Be(j,A,M,Q,re,ge){if(M+Q>j.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("Index out of range")}function Ie(j,A,M,Q,re){return A=+A,M=M>>>0,re||Be(j,A,M,4),n.write(j,A,M,Q,23,4),M+4}c.prototype.writeFloatLE=function(A,M,Q){return Ie(this,A,M,!0,Q)},c.prototype.writeFloatBE=function(A,M,Q){return Ie(this,A,M,!1,Q)};function tt(j,A,M,Q,re){return A=+A,M=M>>>0,re||Be(j,A,M,8),n.write(j,A,M,Q,52,8),M+8}c.prototype.writeDoubleLE=function(A,M,Q){return tt(this,A,M,!0,Q)},c.prototype.writeDoubleBE=function(A,M,Q){return tt(this,A,M,!1,Q)},c.prototype.copy=function(A,M,Q,re){if(!c.isBuffer(A))throw new TypeError("argument should be a Buffer");if(Q||(Q=0),!re&&re!==0&&(re=this.length),M>=A.length&&(M=A.length),M||(M=0),re>0&&re=this.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("sourceEnd out of bounds");re>this.length&&(re=this.length),A.length-M>>0,Q=Q===void 0?this.length:Q>>>0,A||(A=0);let ge;if(typeof A=="number")for(ge=M;ge2**32?re=qe(String(M)):typeof M=="bigint"&&(re=String(M),(M>BigInt(2)**BigInt(32)||M<-(BigInt(2)**BigInt(32)))&&(re=qe(re)),re+="n"),Q+=` It must be ${A}. Received ${re}`,Q},RangeError);function qe(j){let A="",M=j.length;const Q=j[0]==="-"?1:0;for(;M>=Q+4;M-=3)A=`_${j.slice(M-3,M)}${A}`;return`${j.slice(0,M)}${A}`}function ut(j,A,M){bt(A,"offset"),(j[A]===void 0||j[A+M]===void 0)&>(A,j.length-(M+1))}function pt(j,A,M,Q,re,ge){if(j>M||j= 0${Ee} and < 2${Ee} ** ${(ge+1)*8}${Ee}`:rt=`>= -(2${Ee} ** ${(ge+1)*8-1}${Ee}) and < 2 ** ${(ge+1)*8-1}${Ee}`,new De.ERR_OUT_OF_RANGE("value",rt,j)}ut(Q,re,ge)}function bt(j,A){if(typeof j!="number")throw new De.ERR_INVALID_ARG_TYPE(A,"number",j)}function gt(j,A,M){throw Math.floor(j)!==j?(bt(j,M),new De.ERR_OUT_OF_RANGE("offset","an integer",j)):A<0?new De.ERR_BUFFER_OUT_OF_BOUNDS:new De.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${A}`,j)}const Ut=/[^+/0-9A-Za-z-_]/g;function Gt(j){if(j=j.split("=")[0],j=j.trim().replace(Ut,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function Ot(j,A){A=A||1/0;let M;const Q=j.length;let re=null;const ge=[];for(let Ee=0;Ee55295&&M<57344){if(!re){if(M>56319){(A-=3)>-1&&ge.push(239,191,189);continue}else if(Ee+1===Q){(A-=3)>-1&&ge.push(239,191,189);continue}re=M;continue}if(M<56320){(A-=3)>-1&&ge.push(239,191,189),re=M;continue}M=(re-55296<<10|M-56320)+65536}else re&&(A-=3)>-1&&ge.push(239,191,189);if(re=null,M<128){if((A-=1)<0)break;ge.push(M)}else if(M<2048){if((A-=2)<0)break;ge.push(M>>6|192,M&63|128)}else if(M<65536){if((A-=3)<0)break;ge.push(M>>12|224,M>>6&63|128,M&63|128)}else if(M<1114112){if((A-=4)<0)break;ge.push(M>>18|240,M>>12&63|128,M>>6&63|128,M&63|128)}else throw new Error("Invalid code point")}return ge}function tn(j){const A=[];for(let M=0;M>8,re=M%256,ge.push(re),ge.push(Q);return ge}function kt(j){return e.toByteArray(Gt(j))}function Pt(j,A,M,Q){let re;for(re=0;re=A.length||re>=j.length);++re)A[re+M]=j[re];return re}function pe(j,A){return j instanceof A||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===A.name}function ze(j){return j!==j}const Ge=(function(){const j="0123456789abcdef",A=new Array(256);for(let M=0;M<16;++M){const Q=M*16;for(let re=0;re<16;++re)A[Q+re]=j[M]+j[re]}return A})();function Qe(j){return typeof BigInt>"u"?ht:j}function ht(){throw new Error("BigInt not supported")}})(y$)),y$}Ise();const Nse=t=>{const{config:e}=_.useContext(sk);vn();const{placeholder:n,label:r,getInputRef:i,secureTextEntry:o,Icon:u,onChange:c,value:d,height:h,disabled:g,forceBasic:y,forceRich:b,focused:v=!1,autoFocus:C,...E}=t,[$,x]=_.useState(!1),O=_.useRef(),R=_.useRef(!1),[D,P]=_.useState("tinymce"),{upload:L}=Ase(),{directPath:F}=oV();_.useEffect(()=>{if(e.textEditorModule!=="tinymce")t.onReady&&t.onReady();else{const X=setTimeout(()=>{R.current===!1&&(P("textarea"),t.onReady&&t.onReady())},5e3);return()=>{clearTimeout(X)}}},[]);const H=async(X,ue)=>{const me=await L([new File([X.blob()],"filename")],!0)[0];return F({diskPath:me})},Y=window.matchMedia("(prefers-color-scheme: dark)").matches||document.getElementsByTagName("body")[0].classList.contains("dark-theme");return N.jsx(qw,{focused:$,...t,children:e.textEditorModule==="tinymce"&&!y||b?N.jsx(Ose,{onInit:(X,ue)=>{O.current=ue,setTimeout(()=>{ue.setContent(d||"",{format:"raw"})},0),t.onReady&&t.onReady()},onEditorChange:(X,ue)=>{c&&c(ue.getContent({format:"raw"}))},onLoadContent:()=>{R.current=!0},apiKey:"4dh1g4gxp1gbmxi3hnkro4wf9lfgmqr86khygey2bwb7ps74",onBlur:()=>x(!1),tinymceScriptSrc:wi.PUBLIC_URL+"plugins/js/tinymce/tinymce.min.js",onFocus:()=>x(!0),init:{menubar:!1,height:h||400,images_upload_handler:H,skin:Y?"oxide-dark":"oxide",content_css:Y?"dark":"default",plugins:["example","image","directionality","image"],toolbar:"undo redo | formatselect | example | image | rtl ltr | link | bullist numlist bold italic backcolor h2 h3 | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_style:"body {font-size:18px }"}}):N.jsx("textarea",{...E,value:d,placeholder:n,style:{minHeight:"140px"},autoFocus:C,className:ko("form-control",t.errorMessage&&"is-invalid",t.validMessage&&"is-valid"),onChange:X=>c&&c(X.target.value),onBlur:()=>x(!1),onFocus:()=>x(!0)})})},rP=t=>{const{placeholder:e,label:n,getInputRef:r,secureTextEntry:i,Icon:o,onChange:u,value:c,disabled:d,focused:h=!1,errorMessage:g,autoFocus:y,...b}=t,[v,C]=_.useState(!1),E=_.useRef(null),$=_.useCallback(()=>{var x;(x=E.current)==null||x.focus()},[E.current]);return N.jsx(qw,{focused:v,onClick:$,...t,label:"",children:N.jsxs("label",{className:"form-label mr-2",children:[N.jsx("input",{...b,ref:E,checked:!!c,type:"checkbox",onChange:x=>u&&u(!c),onBlur:()=>C(!1),onFocus:()=>C(!0),className:"form-checkbox"}),n]})})},Mse=t=>[wi.SUPPORTED_LANGUAGES.includes("en")?{label:t.locale.englishWorldwide,value:"en"}:void 0,wi.SUPPORTED_LANGUAGES.includes("fa")?{label:t.locale.persianIran,value:"fa"}:void 0,wi.SUPPORTED_LANGUAGES.includes("ru")?{label:"Russian (Русский)",value:"ru"}:void 0,wi.SUPPORTED_LANGUAGES.includes("pl")?{label:t.locale.polishPoland,value:"pl"}:void 0,wi.SUPPORTED_LANGUAGES.includes("ua")?{label:"Ukrainain (українська)",value:"ua"}:void 0].filter(Boolean),Dse=({form:t,isEditing:e})=>{const n=vn(),{values:r,setValues:i,setFieldValue:o,errors:u}=t,c=Wn(F7),d=Mse(n),h=pse(d);return N.jsxs(N.Fragment,{children:[N.jsxs("div",{className:"row",children:[N.jsx("div",{className:"col-md-12",children:N.jsx(Mo,{value:r.firstName,onChange:g=>o(Or.Fields.firstName,g,!1),errorMessage:u.firstName,label:n.wokspaces.invite.firstName,autoFocus:!e,hint:n.wokspaces.invite.firstNameHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Mo,{value:r.lastName,onChange:g=>o(Or.Fields.lastName,g,!1),errorMessage:u.lastName,label:n.wokspaces.invite.lastName,hint:n.wokspaces.invite.lastNameHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(kE,{keyExtractor:g=>g.value,formEffect:{form:t,field:Or.Fields.targetUserLocale,beforeSet(g){return g.value}},errorMessage:t.errors.targetUserLocale,querySource:h,label:c.targetLocale,hint:c.targetLocaleHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Nse,{value:r.coverLetter,onChange:g=>o(Or.Fields.coverLetter,g,!1),forceBasic:!0,errorMessage:u.coverLetter,label:c.coverLetter,placeholder:c.coverLetterHint,hint:c.coverLetterHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(kE,{formEffect:{field:Or.Fields.role$,form:t},querySource:rS,label:n.wokspaces.invite.role,errorMessage:u.roleId,fnLabelFormat:g=>g.name,hint:n.wokspaces.invite.roleHint})})]}),N.jsxs("div",{className:"row",children:[N.jsx("div",{className:"col-md-12",children:N.jsx(Mo,{value:r.email,onChange:g=>o(Or.Fields.email,g,!1),errorMessage:u.email,label:n.wokspaces.invite.email,hint:n.wokspaces.invite.emailHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(rP,{value:r.forceEmailAddress,onChange:g=>o(Or.Fields.forceEmailAddress,g),errorMessage:u.forceEmailAddress,label:c.forcedEmailAddress,hint:c.forcedEmailAddressHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(Mo,{value:r.phonenumber,onChange:g=>o(Or.Fields.phonenumber,g,!1),errorMessage:u.phonenumber,type:"phonenumber",label:n.wokspaces.invite.phoneNumber,hint:n.wokspaces.invite.phoneNumberHint})}),N.jsx("div",{className:"col-md-12",children:N.jsx(rP,{value:r.forcePhoneNumber,onChange:g=>o(Or.Fields.forcePhoneNumber,g),errorMessage:u.forcePhoneNumber,label:c.forcedPhone,hint:c.forcedPhoneHint})})]})]})},iP=({data:t})=>{const e=vn(),{router:n,uniqueId:r,queryClient:i,locale:o}=t1({data:t}),u=k7({query:{uniqueId:r},queryClient:i}),c=fse({queryClient:i}),d=cse({queryClient:i});return N.jsx(Zx,{postHook:c,getSingleHook:u,patchHook:d,onCancel:()=>{n.goBackOrDefault(`/${o}/workspace-invites`)},onFinishUriResolver:(h,g)=>`/${g}/workspace-invites`,Form:Dse,onEditTitle:e.wokspaces.invite.editInvitation,onCreateTitle:e.wokspaces.invite.createInvitation,data:t})},kse=()=>{var u;const t=Lr(),e=vn(),n=t.query.uniqueId;Ci();const r=Wn(F7),i=k7({query:{uniqueId:n}});var o=(u=i.query.data)==null?void 0:u.data;return N7((o==null?void 0:o.firstName)+" "+(o==null?void 0:o.lastName)||""),N.jsx(N.Fragment,{children:N.jsx(fT,{getSingleHook:i,editEntityHandler:()=>t.push(Or.Navigation.edit(n)),children:N.jsx(dT,{entity:o,fields:[{label:e.wokspaces.invite.firstName,elem:o==null?void 0:o.firstName},{label:e.wokspaces.invite.lastName,elem:o==null?void 0:o.lastName},{label:e.wokspaces.invite.email,elem:o==null?void 0:o.email},{label:e.wokspaces.invite.phoneNumber,elem:o==null?void 0:o.phonenumber},{label:r.forcedEmailAddress,elem:o==null?void 0:o.forceEmailAddress},{label:r.forcedPhone,elem:o==null?void 0:o.forcePhoneNumber},{label:r.targetLocale,elem:o==null?void 0:o.targetUserLocale}]})})})},Fse=t=>[{name:Or.Fields.uniqueId,title:t.table.uniqueId,width:100},{name:"firstName",title:t.wokspaces.invite.firstName,width:100},{name:"lastName",title:t.wokspaces.invite.lastName,width:100},{name:"phoneNumber",title:t.wokspaces.invite.phoneNumber,width:100},{name:"email",title:t.wokspaces.invite.email,width:100},{name:"role_id",title:t.wokspaces.invite.role,width:100,getCellValue:e=>{var n;return(n=e==null?void 0:e.role)==null?void 0:n.name}}];function j7({queryOptions:t,query:e,queryClient:n,execFnOverride:r,unauthorized:i,optionFn:o}){var O,R,D;const{options:u,execFn:c}=_.useContext(en),d=o?o(u):u,h=r?r(d):c?c(d):ar(d);let y=`${"/workspace-invites".substr(1)}?${mp.stringify(e)}`;const b=()=>h("GET",y),v=(O=d==null?void 0:d.headers)==null?void 0:O.authorization,C=v!="undefined"&&v!=null&&v!=null&&v!="null"&&!!v;let E=!0;!C&&!i&&(E=!1);const $=Uo(["*abac.WorkspaceInviteEntity",d,e],b,{cacheTime:1e3,retry:!1,keepPreviousData:!0,enabled:E,...t||{}}),x=((D=(R=$.data)==null?void 0:R.data)==null?void 0:D.items)||[];return{query:$,items:x,keyExtractor:P=>P.uniqueId}}j7.UKEY="*abac.WorkspaceInviteEntity";function Lse(t){const{execFnOverride:e,queryClient:n,query:r}=t||{},{options:i,execFn:o}=_.useContext(en),u=e?e(i):o?o(i):ar(i);let d=`${"/workspace-invite".substr(1)}?${new URLSearchParams(Jr(r)).toString()}`;const g=Fr(v=>u("DELETE",d,v)),y=(v,C)=>v;return{mutation:g,submit:(v,C)=>new Promise((E,$)=>{g.mutate(v,{onSuccess(x){n==null||n.setQueryData("*abac.WorkspaceInviteEntity",O=>y(O)),n==null||n.invalidateQueries("*abac.WorkspaceInviteEntity"),E(x)},onError(x){C==null||C.setErrors(Ta(x)),$(x)}})}),fnUpdater:y}}const Use=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(sS,{columns:Fse(t),queryHook:j7,uniqueIdHrefHandler:e=>Or.Navigation.single(e),deleteHook:Lse})})},jse=()=>{const t=vn();return N.jsx(N.Fragment,{children:N.jsx(uS,{pageTitle:t.fbMenu.workspaceInvites,newEntityHandler:({locale:e,router:n})=>{n.push(Or.Navigation.create())},children:N.jsx(Use,{})})})};function Bse(){return N.jsxs(N.Fragment,{children:[N.jsx(gn,{element:N.jsx(iP,{}),path:Or.Navigation.Rcreate}),N.jsx(gn,{element:N.jsx(iP,{}),path:Or.Navigation.Redit}),N.jsx(gn,{element:N.jsx(kse,{}),path:Or.Navigation.Rsingle}),N.jsx(gn,{element:N.jsx(jse,{}),path:Or.Navigation.Rquery})]})}const Hse=()=>{const t=Wn($r);return N.jsxs(N.Fragment,{children:[N.jsx(M7,{title:t.home.title,description:t.home.description}),N.jsx("h2",{children:N.jsx(eE,{to:"passports",children:t.home.passportsTitle})}),N.jsx("p",{children:t.home.passportsDescription}),N.jsx(eE,{to:"passports",className:"btn btn-success btn-sm",children:t.home.passportsTitle})]})},xT=_.createContext({});function TT(t){const e=_.useRef(null);return e.current===null&&(e.current=t()),e.current}const OT=typeof window<"u",B7=OT?_.useLayoutEffect:_.useEffect,cS=_.createContext(null);function _T(t,e){t.indexOf(e)===-1&&t.push(e)}function AT(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const wl=(t,e,n)=>n>e?e:n{};const Sl={},H7=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function q7(t){return typeof t=="object"&&t!==null}const z7=t=>/^0[^.\s]+$/u.test(t);function PT(t){let e;return()=>(e===void 0&&(e=t()),e)}const Lo=t=>t,qse=(t,e)=>n=>e(t(n)),u1=(...t)=>t.reduce(qse),B0=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r};class IT{constructor(){this.subscriptions=[]}add(e){return _T(this.subscriptions,e),()=>AT(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let o=0;ot*1e3,wu=t=>t/1e3;function V7(t,e){return e?t*(1e3/e):0}const G7=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,zse=1e-7,Vse=12;function Gse(t,e,n,r,i){let o,u,c=0;do u=e+(n-e)/2,o=G7(u,r,i)-t,o>0?n=u:e=u;while(Math.abs(o)>zse&&++cGse(o,0,1,t,n);return o=>o===0||o===1?o:G7(i(o),e,r)}const W7=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,K7=t=>e=>1-t(1-e),Y7=l1(.33,1.53,.69,.99),NT=K7(Y7),Q7=W7(NT),J7=t=>(t*=2)<1?.5*NT(t):.5*(2-Math.pow(2,-10*(t-1))),MT=t=>1-Math.sin(Math.acos(t)),X7=K7(MT),Z7=W7(MT),Wse=l1(.42,0,1,1),Kse=l1(0,0,.58,1),eM=l1(.42,0,.58,1),Yse=t=>Array.isArray(t)&&typeof t[0]!="number",tM=t=>Array.isArray(t)&&typeof t[0]=="number",Qse={linear:Lo,easeIn:Wse,easeInOut:eM,easeOut:Kse,circIn:MT,circInOut:Z7,circOut:X7,backIn:NT,backInOut:Q7,backOut:Y7,anticipate:J7},Jse=t=>typeof t=="string",aP=t=>{if(tM(t)){RT(t.length===4);const[e,n,r,i]=t;return l1(e,n,r,i)}else if(Jse(t))return Qse[t];return t},S2=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],oP={value:null};function Xse(t,e){let n=new Set,r=new Set,i=!1,o=!1;const u=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1},d=0;function h(y){u.has(y)&&(g.schedule(y),t()),d++,y(c)}const g={schedule:(y,b=!1,v=!1)=>{const E=v&&i?n:r;return b&&u.add(y),E.has(y)||E.add(y),y},cancel:y=>{r.delete(y),u.delete(y)},process:y=>{if(c=y,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(h),e&&oP.value&&oP.value.frameloop[e].push(d),d=0,n.clear(),i=!1,o&&(o=!1,g.process(y))}};return g}const Zse=40;function nM(t,e){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,u=S2.reduce((R,D)=>(R[D]=Xse(o,e?D:void 0),R),{}),{setup:c,read:d,resolveKeyframes:h,preUpdate:g,update:y,preRender:b,render:v,postRender:C}=u,E=()=>{const R=Sl.useManualTiming?i.timestamp:performance.now();n=!1,Sl.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(R-i.timestamp,Zse),1)),i.timestamp=R,i.isProcessing=!0,c.process(i),d.process(i),h.process(i),g.process(i),y.process(i),b.process(i),v.process(i),C.process(i),i.isProcessing=!1,n&&e&&(r=!1,t(E))},$=()=>{n=!0,r=!0,i.isProcessing||t(E)};return{schedule:S2.reduce((R,D)=>{const P=u[D];return R[D]=(L,F=!1,H=!1)=>(n||$(),P.schedule(L,F,H)),R},{}),cancel:R=>{for(let D=0;D(j2===void 0&&Ea.set(gi.isProcessing||Sl.useManualTiming?gi.timestamp:performance.now()),j2),set:t=>{j2=t,queueMicrotask(eue)}},rM=t=>e=>typeof e=="string"&&e.startsWith(t),DT=rM("--"),tue=rM("var(--"),kT=t=>tue(t)?nue.test(t.split("/*")[0].trim()):!1,nue=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ng={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},H0={...Ng,transform:t=>wl(0,1,t)},C2={...Ng,default:1},s0=t=>Math.round(t*1e5)/1e5,FT=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function rue(t){return t==null}const iue=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,LT=(t,e)=>n=>!!(typeof n=="string"&&iue.test(n)&&n.startsWith(t)||e&&!rue(n)&&Object.prototype.hasOwnProperty.call(n,e)),iM=(t,e,n)=>r=>{if(typeof r!="string")return r;const[i,o,u,c]=r.match(FT);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(u),alpha:c!==void 0?parseFloat(c):1}},aue=t=>wl(0,255,t),b$={...Ng,transform:t=>Math.round(aue(t))},rp={test:LT("rgb","red"),parse:iM("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+b$.transform(t)+", "+b$.transform(e)+", "+b$.transform(n)+", "+s0(H0.transform(r))+")"};function oue(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const YE={test:LT("#"),parse:oue,transform:rp.transform},c1=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),cf=c1("deg"),Su=c1("%"),xt=c1("px"),sue=c1("vh"),uue=c1("vw"),sP={...Su,parse:t=>Su.parse(t)/100,transform:t=>Su.transform(t*100)},rg={test:LT("hsl","hue"),parse:iM("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+Su.transform(s0(e))+", "+Su.transform(s0(n))+", "+s0(H0.transform(r))+")"},Tr={test:t=>rp.test(t)||YE.test(t)||rg.test(t),parse:t=>rp.test(t)?rp.parse(t):rg.test(t)?rg.parse(t):YE.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?rp.transform(t):rg.transform(t),getAnimatableNone:t=>{const e=Tr.parse(t);return e.alpha=0,Tr.transform(e)}},lue=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function cue(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(FT))==null?void 0:e.length)||0)+(((n=t.match(lue))==null?void 0:n.length)||0)>0}const aM="number",oM="color",fue="var",due="var(",uP="${}",hue=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function q0(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const c=e.replace(hue,d=>(Tr.test(d)?(r.color.push(o),i.push(oM),n.push(Tr.parse(d))):d.startsWith(due)?(r.var.push(o),i.push(fue),n.push(d)):(r.number.push(o),i.push(aM),n.push(parseFloat(d))),++o,uP)).split(uP);return{values:n,split:c,indexes:r,types:i}}function sM(t){return q0(t).values}function uM(t){const{split:e,types:n}=q0(t),r=e.length;return i=>{let o="";for(let u=0;utypeof t=="number"?0:Tr.test(t)?Tr.getAnimatableNone(t):t;function mue(t){const e=sM(t);return uM(t)(e.map(pue))}const bf={test:cue,parse:sM,createTransformer:uM,getAnimatableNone:mue};function w$(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function gue({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,o=0,u=0;if(!e)i=o=u=n;else{const c=n<.5?n*(1+e):n+e-n*e,d=2*n-c;i=w$(d,c,t+1/3),o=w$(d,c,t),u=w$(d,c,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(u*255),alpha:r}}function xw(t,e){return n=>n>0?e:t}const rr=(t,e,n)=>t+(e-t)*n,S$=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},yue=[YE,rp,rg],vue=t=>yue.find(e=>e.test(t));function lP(t){const e=vue(t);if(!e)return!1;let n=e.parse(t);return e===rg&&(n=gue(n)),n}const cP=(t,e)=>{const n=lP(t),r=lP(e);if(!n||!r)return xw(t,e);const i={...n};return o=>(i.red=S$(n.red,r.red,o),i.green=S$(n.green,r.green,o),i.blue=S$(n.blue,r.blue,o),i.alpha=rr(n.alpha,r.alpha,o),rp.transform(i))},QE=new Set(["none","hidden"]);function bue(t,e){return QE.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function wue(t,e){return n=>rr(t,e,n)}function UT(t){return typeof t=="number"?wue:typeof t=="string"?kT(t)?xw:Tr.test(t)?cP:$ue:Array.isArray(t)?lM:typeof t=="object"?Tr.test(t)?cP:Sue:xw}function lM(t,e){const n=[...t],r=n.length,i=t.map((o,u)=>UT(o)(o,e[u]));return o=>{for(let u=0;u{for(const o in r)n[o]=r[o](i);return n}}function Cue(t,e){const n=[],r={color:0,var:0,number:0};for(let i=0;i{const n=bf.createTransformer(e),r=q0(t),i=q0(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?QE.has(t)&&!i.values.length||QE.has(e)&&!r.values.length?bue(t,e):u1(lM(Cue(r,i),i.values),n):xw(t,e)};function cM(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?rr(t,e,n):UT(t)(t,e)}const Eue=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>ir.update(e,n),stop:()=>vf(e),now:()=>gi.isProcessing?gi.timestamp:Ea.now()}},fM=(t,e,n=10)=>{let r="";const i=Math.max(Math.round(e/n),2);for(let o=0;o=Tw?1/0:e}function xue(t,e=100,n){const r=n({...t,keyframes:[0,e]}),i=Math.min(jT(r),Tw);return{type:"keyframes",ease:o=>r.next(i*o).value/e,duration:wu(i)}}const Tue=5;function dM(t,e,n){const r=Math.max(e-Tue,0);return V7(n-t(r),e-r)}const fr={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},C$=.001;function Oue({duration:t=fr.duration,bounce:e=fr.bounce,velocity:n=fr.velocity,mass:r=fr.mass}){let i,o,u=1-e;u=wl(fr.minDamping,fr.maxDamping,u),t=wl(fr.minDuration,fr.maxDuration,wu(t)),u<1?(i=h=>{const g=h*u,y=g*t,b=g-n,v=JE(h,u),C=Math.exp(-y);return C$-b/v*C},o=h=>{const y=h*u*t,b=y*n+n,v=Math.pow(u,2)*Math.pow(h,2)*t,C=Math.exp(-y),E=JE(Math.pow(h,2),u);return(-i(h)+C$>0?-1:1)*((b-v)*C)/E}):(i=h=>{const g=Math.exp(-h*t),y=(h-n)*t+1;return-C$+g*y},o=h=>{const g=Math.exp(-h*t),y=(n-h)*(t*t);return g*y});const c=5/t,d=Aue(i,o,c);if(t=bu(t),isNaN(d))return{stiffness:fr.stiffness,damping:fr.damping,duration:t};{const h=Math.pow(d,2)*r;return{stiffness:h,damping:u*2*Math.sqrt(r*h),duration:t}}}const _ue=12;function Aue(t,e,n){let r=n;for(let i=1;i<_ue;i++)r=r-t(r)/e(r);return r}function JE(t,e){return t*Math.sqrt(1-e*e)}const Rue=["duration","bounce"],Pue=["stiffness","damping","mass"];function fP(t,e){return e.some(n=>t[n]!==void 0)}function Iue(t){let e={velocity:fr.velocity,stiffness:fr.stiffness,damping:fr.damping,mass:fr.mass,isResolvedFromDuration:!1,...t};if(!fP(t,Pue)&&fP(t,Rue))if(t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*wl(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:fr.mass,stiffness:i,damping:o}}else{const n=Oue(t);e={...e,...n,mass:fr.mass},e.isResolvedFromDuration=!0}return e}function Ow(t=fr.visualDuration,e=fr.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],c={done:!1,value:o},{stiffness:d,damping:h,mass:g,duration:y,velocity:b,isResolvedFromDuration:v}=Iue({...n,velocity:-wu(n.velocity||0)}),C=b||0,E=h/(2*Math.sqrt(d*g)),$=u-o,x=wu(Math.sqrt(d/g)),O=Math.abs($)<5;r||(r=O?fr.restSpeed.granular:fr.restSpeed.default),i||(i=O?fr.restDelta.granular:fr.restDelta.default);let R;if(E<1){const P=JE(x,E);R=L=>{const F=Math.exp(-E*x*L);return u-F*((C+E*x*$)/P*Math.sin(P*L)+$*Math.cos(P*L))}}else if(E===1)R=P=>u-Math.exp(-x*P)*($+(C+x*$)*P);else{const P=x*Math.sqrt(E*E-1);R=L=>{const F=Math.exp(-E*x*L),H=Math.min(P*L,300);return u-F*((C+E*x*$)*Math.sinh(H)+P*$*Math.cosh(H))/P}}const D={calculatedDuration:v&&y||null,next:P=>{const L=R(P);if(v)c.done=P>=y;else{let F=P===0?C:0;E<1&&(F=P===0?bu(C):dM(R,P,L));const H=Math.abs(F)<=r,Y=Math.abs(u-L)<=i;c.done=H&&Y}return c.value=c.done?u:L,c},toString:()=>{const P=Math.min(jT(D),Tw),L=fM(F=>D.next(P*F).value,P,30);return P+"ms "+L},toTransition:()=>{}};return D}Ow.applyToOptions=t=>{const e=xue(t,100,Ow);return t.ease=e.ease,t.duration=bu(e.duration),t.type="keyframes",t};function XE({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:u,min:c,max:d,restDelta:h=.5,restSpeed:g}){const y=t[0],b={done:!1,value:y},v=H=>c!==void 0&&Hd,C=H=>c===void 0?d:d===void 0||Math.abs(c-H)-E*Math.exp(-H/r),R=H=>x+O(H),D=H=>{const Y=O(H),X=R(H);b.done=Math.abs(Y)<=h,b.value=b.done?x:X};let P,L;const F=H=>{v(b.value)&&(P=H,L=Ow({keyframes:[b.value,C(b.value)],velocity:dM(R,H,b.value),damping:i,stiffness:o,restDelta:h,restSpeed:g}))};return F(0),{calculatedDuration:null,next:H=>{let Y=!1;return!L&&P===void 0&&(Y=!0,D(H),F(H)),P!==void 0&&H>=P?L.next(H-P):(!Y&&D(H),b)}}}function Nue(t,e,n){const r=[],i=n||Sl.mix||cM,o=t.length-1;for(let u=0;ue[0];if(o===2&&e[0]===e[1])return()=>e[1];const u=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const c=Nue(e,r,i),d=c.length,h=g=>{if(u&&g1)for(;yh(wl(t[0],t[o-1],g)):h}function Due(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=B0(0,e,r);t.push(rr(n,1,i))}}function kue(t){const e=[0];return Due(e,t.length-1),e}function Fue(t,e){return t.map(n=>n*e)}function Lue(t,e){return t.map(()=>e||eM).splice(0,t.length-1)}function u0({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=Yse(r)?r.map(aP):aP(r),o={done:!1,value:e[0]},u=Fue(n&&n.length===e.length?n:kue(e),t),c=Mue(u,e,{ease:Array.isArray(i)?i:Lue(e,i)});return{calculatedDuration:t,next:d=>(o.value=c(d),o.done=d>=t,o)}}const Uue=t=>t!==null;function BT(t,{repeat:e,repeatType:n="loop"},r,i=1){const o=t.filter(Uue),c=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!c||r===void 0?o[c]:r}const jue={decay:XE,inertia:XE,tween:u0,keyframes:u0,spring:Ow};function hM(t){typeof t.type=="string"&&(t.type=jue[t.type])}class HT{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const Bue=t=>t/100;class qT extends HT{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ea.now()&&this.tick(Ea.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;hM(e);const{type:n=u0,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:u=0}=e;let{keyframes:c}=e;const d=n||u0;d!==u0&&typeof c[0]!="number"&&(this.mixKeyframes=u1(Bue,cM(c[0],c[1])),c=[0,100]);const h=d({...e,keyframes:c});o==="mirror"&&(this.mirroredGenerator=d({...e,keyframes:[...c].reverse(),velocity:-u})),h.calculatedDuration===null&&(h.calculatedDuration=jT(h));const{calculatedDuration:g}=h;this.calculatedDuration=g,this.resolvedDuration=g+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=h}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:u,resolvedDuration:c,calculatedDuration:d}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:g,repeat:y,repeatType:b,repeatDelay:v,type:C,onUpdate:E,finalKeyframe:$}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),O=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let R=this.currentTime,D=r;if(y){const H=Math.min(this.currentTime,i)/c;let Y=Math.floor(H),X=H%1;!X&&H>=1&&(X=1),X===1&&Y--,Y=Math.min(Y,y+1),!!(Y%2)&&(b==="reverse"?(X=1-X,v&&(X-=v/c)):b==="mirror"&&(D=u)),R=wl(0,1,X)*c}const P=O?{done:!1,value:g[0]}:D.next(R);o&&(P.value=o(P.value));let{done:L}=P;!O&&d!==null&&(L=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return F&&C!==XE&&(P.value=BT(g,this.options,$,this.speed)),E&&E(P.value),F&&this.finish(),P}then(e,n){return this.finished.then(e,n)}get duration(){return wu(this.calculatedDuration)}get time(){return wu(this.currentTime)}set time(e){var n;e=bu(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Ea.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=wu(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:e=Eue,startTime:n}=this.options;this.driver||(this.driver=e(u=>this.tick(u))),(o=(i=this.options).onPlay)==null||o.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ea.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(e=this.options).onComplete)==null||n.call(e)}cancel(){var e,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(e=this.options).onCancel)==null||n.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),e.observe(this)}}function Hue(t){for(let e=1;et*180/Math.PI,ZE=t=>{const e=ip(Math.atan2(t[1],t[0]));return ex(e)},que={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ZE,rotateZ:ZE,skewX:t=>ip(Math.atan(t[1])),skewY:t=>ip(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},ex=t=>(t=t%360,t<0&&(t+=360),t),dP=ZE,hP=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),pP=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),zue={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:hP,scaleY:pP,scale:t=>(hP(t)+pP(t))/2,rotateX:t=>ex(ip(Math.atan2(t[6],t[5]))),rotateY:t=>ex(ip(Math.atan2(-t[2],t[0]))),rotateZ:dP,rotate:dP,skewX:t=>ip(Math.atan(t[4])),skewY:t=>ip(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tx(t){return t.includes("scale")?1:0}function nx(t,e){if(!t||t==="none")return tx(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=zue,i=n;else{const c=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=que,i=c}if(!i)return tx(e);const o=r[e],u=i[1].split(",").map(Gue);return typeof o=="function"?o(u):u[o]}const Vue=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return nx(n,e)};function Gue(t){return parseFloat(t.trim())}const Mg=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Dg=new Set(Mg),mP=t=>t===Ng||t===xt,Wue=new Set(["x","y","z"]),Kue=Mg.filter(t=>!Wue.has(t));function Yue(t){const e=[];return Kue.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const sp={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>nx(e,"x"),y:(t,{transform:e})=>nx(e,"y")};sp.translateX=sp.x;sp.translateY=sp.y;const up=new Set;let rx=!1,ix=!1,ax=!1;function pM(){if(ix){const t=Array.from(up).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{const i=Yue(r);i.length&&(n.set(r,i),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,u])=>{var c;(c=r.getValue(o))==null||c.set(u)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ix=!1,rx=!1,up.forEach(t=>t.complete(ax)),up.clear()}function mM(){up.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ix=!0)})}function Que(){ax=!0,mM(),pM(),ax=!1}class zT{constructor(e,n,r,i,o,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(up.add(this),rx||(rx=!0,ir.read(mM),ir.resolveKeyframes(pM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;if(e[0]===null){const o=i==null?void 0:i.get(),u=e[e.length-1];if(o!==void 0)e[0]=o;else if(r&&n){const c=r.readValue(n,u);c!=null&&(e[0]=c)}e[0]===void 0&&(e[0]=u),i&&o===void 0&&i.set(e[0])}Hue(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),up.delete(this)}cancel(){this.state==="scheduled"&&(up.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Jue=t=>t.startsWith("--");function Xue(t,e,n){Jue(e)?t.style.setProperty(e,n):t.style[e]=n}const Zue=PT(()=>window.ScrollTimeline!==void 0),ele={};function tle(t,e){const n=PT(t);return()=>ele[e]??n()}const gM=tle(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),e0=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,gP={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e0([0,.65,.55,1]),circOut:e0([.55,0,1,.45]),backIn:e0([.31,.01,.66,-.59]),backOut:e0([.33,1.53,.69,.99])};function yM(t,e){if(t)return typeof t=="function"?gM()?fM(t,e):"ease-out":tM(t)?e0(t):Array.isArray(t)?t.map(n=>yM(n,e)||gP.easeOut):gP[t]}function nle(t,e,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:u="loop",ease:c="easeOut",times:d}={},h=void 0){const g={[e]:n};d&&(g.offset=d);const y=yM(c,i);Array.isArray(y)&&(g.easing=y);const b={delay:r,duration:i,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:o+1,direction:u==="reverse"?"alternate":"normal"};return h&&(b.pseudoElement=h),t.animate(g,b)}function vM(t){return typeof t=="function"&&"applyToOptions"in t}function rle({type:t,...e}){return vM(t)&&gM()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class ile extends HT{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:u=!1,finalKeyframe:c,onComplete:d}=e;this.isPseudoElement=!!o,this.allowFlatten=u,this.options=e,RT(typeof e.type!="string");const h=rle(e);this.animation=nle(n,r,i,h,o),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const g=BT(i,this.options,c,this.speed);this.updateMotionValue?this.updateMotionValue(g):Xue(n,r,g),this.animation.cancel()}d==null||d(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,n;(n=(e=this.animation).finish)==null||n.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,n;this.isPseudoElement||(n=(e=this.animation).commitStyles)==null||n.call(e)}get duration(){var n,r;const e=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return wu(Number(e))}get time(){return wu(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=bu(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&Zue()?(this.animation.timeline=e,Lo):n(this)}}const bM={anticipate:J7,backInOut:Q7,circInOut:Z7};function ale(t){return t in bM}function ole(t){typeof t.ease=="string"&&ale(t.ease)&&(t.ease=bM[t.ease])}const yP=10;class sle extends ile{constructor(e){ole(e),hM(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...u}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const c=new qT({...u,autoplay:!1}),d=bu(this.finishedTime??this.time);n.setWithVelocity(c.sample(d-yP).value,c.sample(d).value,yP),c.stop()}}const vP=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(bf.test(t)||t==="0")&&!t.startsWith("url("));function ule(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function dle(t){var h;const{motionValue:e,name:n,repeatDelay:r,repeatType:i,damping:o,type:u}=t;if(!VT((h=e==null?void 0:e.owner)==null?void 0:h.current))return!1;const{onUpdate:c,transformTemplate:d}=e.owner.getProps();return fle()&&n&&cle.has(n)&&(n!=="transform"||!d)&&!c&&!r&&i!=="mirror"&&o!==0&&u!=="inertia"}const hle=40;class ple extends HT{constructor({autoplay:e=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:u="loop",keyframes:c,name:d,motionValue:h,element:g,...y}){var C;super(),this.stop=()=>{var E,$;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),($=this.keyframeResolver)==null||$.cancel()},this.createdAt=Ea.now();const b={autoplay:e,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:u,name:d,motionValue:h,element:g,...y},v=(g==null?void 0:g.KeyframeResolver)||zT;this.keyframeResolver=new v(c,(E,$,x)=>this.onKeyframesResolved(E,$,b,!x),d,h,g),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(e,n,r,i){this.keyframeResolver=void 0;const{name:o,type:u,velocity:c,delay:d,isHandoff:h,onUpdate:g}=r;this.resolvedAt=Ea.now(),lle(e,o,u,c)||((Sl.instantAnimations||!d)&&(g==null||g(BT(e,r,n))),e[0]=e[e.length-1],r.duration=0,r.repeat=0);const b={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>hle?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:e},v=!h&&dle(b)?new sle({...b,element:b.motionValue.owner.current}):new qT(b);v.finished.then(()=>this.notifyFinished()).catch(Lo),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),Que()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const mle=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gle(t){const e=mle.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}function wM(t,e,n=1){const[r,i]=gle(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const u=o.trim();return H7(u)?parseFloat(u):u}return kT(i)?wM(i,e,n+1):i}function GT(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}const SM=new Set(["width","height","top","left","right","bottom",...Mg]),yle={test:t=>t==="auto",parse:t=>t},CM=t=>e=>e.test(t),$M=[Ng,xt,Su,cf,uue,sue,yle],bP=t=>$M.find(CM(t));function vle(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||z7(t):!0}const ble=new Set(["brightness","contrast","saturate","opacity"]);function wle(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(FT)||[];if(!r)return t;const i=n.replace(r,"");let o=ble.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}const Sle=/\b([a-z-]*)\(.*?\)/gu,ox={...bf,getAnimatableNone:t=>{const e=t.match(Sle);return e?e.map(wle).join(" "):t}},wP={...Ng,transform:Math.round},Cle={rotate:cf,rotateX:cf,rotateY:cf,rotateZ:cf,scale:C2,scaleX:C2,scaleY:C2,scaleZ:C2,skew:cf,skewX:cf,skewY:cf,distance:xt,translateX:xt,translateY:xt,translateZ:xt,x:xt,y:xt,z:xt,perspective:xt,transformPerspective:xt,opacity:H0,originX:sP,originY:sP,originZ:xt},WT={borderWidth:xt,borderTopWidth:xt,borderRightWidth:xt,borderBottomWidth:xt,borderLeftWidth:xt,borderRadius:xt,radius:xt,borderTopLeftRadius:xt,borderTopRightRadius:xt,borderBottomRightRadius:xt,borderBottomLeftRadius:xt,width:xt,maxWidth:xt,height:xt,maxHeight:xt,top:xt,right:xt,bottom:xt,left:xt,padding:xt,paddingTop:xt,paddingRight:xt,paddingBottom:xt,paddingLeft:xt,margin:xt,marginTop:xt,marginRight:xt,marginBottom:xt,marginLeft:xt,backgroundPositionX:xt,backgroundPositionY:xt,...Cle,zIndex:wP,fillOpacity:H0,strokeOpacity:H0,numOctaves:wP},$le={...WT,color:Tr,backgroundColor:Tr,outlineColor:Tr,fill:Tr,stroke:Tr,borderColor:Tr,borderTopColor:Tr,borderRightColor:Tr,borderBottomColor:Tr,borderLeftColor:Tr,filter:ox,WebkitFilter:ox},EM=t=>$le[t];function xM(t,e){let n=EM(t);return n!==ox&&(n=bf),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Ele=new Set(["auto","none","0"]);function xle(t,e,n){let r=0,i;for(;r{e.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function Ole(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const i=(n==null?void 0:n[t])??r.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const TM=(t,e)=>e&&typeof t=="number"?e.transform(t):t,SP=30,_le=t=>!isNaN(parseFloat(t));class Ale{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{var u,c;const o=Ea.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty();i&&((c=this.events.renderRequest)==null||c.notify(this.current))},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Ea.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=_le(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new IT);const r=this.events[e].add(n);return e==="change"?()=>{r(),ir.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Ea.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>SP)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,SP);return V7(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,n;(e=this.dependents)==null||e.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wg(t,e){return new Ale(t,e)}const{schedule:KT}=nM(queueMicrotask,!1),Es={x:!1,y:!1};function OM(){return Es.x||Es.y}function Rle(t){return t==="x"||t==="y"?Es[t]?null:(Es[t]=!0,()=>{Es[t]=!1}):Es.x||Es.y?null:(Es.x=Es.y=!0,()=>{Es.x=Es.y=!1})}function _M(t,e){const n=Ole(t),r=new AbortController,i={passive:!0,...e,signal:r.signal};return[n,i,()=>r.abort()]}function CP(t){return!(t.pointerType==="touch"||OM())}function Ple(t,e,n={}){const[r,i,o]=_M(t,n),u=c=>{if(!CP(c))return;const{target:d}=c,h=e(d,c);if(typeof h!="function"||!d)return;const g=y=>{CP(y)&&(h(y),d.removeEventListener("pointerleave",g))};d.addEventListener("pointerleave",g,i)};return r.forEach(c=>{c.addEventListener("pointerenter",u,i)}),o}const AM=(t,e)=>e?t===e?!0:AM(t,e.parentElement):!1,YT=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Ile=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Nle(t){return Ile.has(t.tagName)||t.tabIndex!==-1}const B2=new WeakSet;function $P(t){return e=>{e.key==="Enter"&&t(e)}}function $$(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Mle=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=$P(()=>{if(B2.has(n))return;$$(n,"down");const i=$P(()=>{$$(n,"up")}),o=()=>$$(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function EP(t){return YT(t)&&!OM()}function Dle(t,e,n={}){const[r,i,o]=_M(t,n),u=c=>{const d=c.currentTarget;if(!EP(c))return;B2.add(d);const h=e(d,c),g=(v,C)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",b),B2.has(d)&&B2.delete(d),EP(v)&&typeof h=="function"&&h(v,{success:C})},y=v=>{g(v,d===window||d===document||n.useGlobalTarget||AM(d,v.target))},b=v=>{g(v,!1)};window.addEventListener("pointerup",y,i),window.addEventListener("pointercancel",b,i)};return r.forEach(c=>{(n.useGlobalTarget?window:c).addEventListener("pointerdown",u,i),VT(c)&&(c.addEventListener("focus",h=>Mle(h,i)),!Nle(c)&&!c.hasAttribute("tabindex")&&(c.tabIndex=0))}),o}function RM(t){return q7(t)&&"ownerSVGElement"in t}function kle(t){return RM(t)&&t.tagName==="svg"}const Di=t=>!!(t&&t.getVelocity),Fle=[...$M,Tr,bf],Lle=t=>Fle.find(CM(t)),QT=_.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class Ule extends _.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=VT(r)&&r.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function jle({children:t,isPresent:e,anchorX:n}){const r=_.useId(),i=_.useRef(null),o=_.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=_.useContext(QT);return _.useInsertionEffect(()=>{const{width:c,height:d,top:h,left:g,right:y}=o.current;if(e||!i.current||!c||!d)return;const b=n==="left"?`left: ${g}`:`right: ${y}`;i.current.dataset.motionPopId=r;const v=document.createElement("style");return u&&(v.nonce=u),document.head.appendChild(v),v.sheet&&v.sheet.insertRule(` - [data-motion-pop-id="${r}"] { - position: absolute !important; - width: ${c}px !important; - height: ${d}px !important; - ${b}px !important; - top: ${h}px !important; - } - `),()=>{document.head.contains(v)&&document.head.removeChild(v)}},[e]),N.jsx(Ule,{isPresent:e,childRef:i,sizeRef:o,children:_.cloneElement(t,{ref:i})})}const Ble=({children:t,initial:e,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:u,anchorX:c})=>{const d=TT(Hle),h=_.useId();let g=!0,y=_.useMemo(()=>(g=!1,{id:h,initial:e,isPresent:n,custom:i,onExitComplete:b=>{d.set(b,!0);for(const v of d.values())if(!v)return;r&&r()},register:b=>(d.set(b,!1),()=>d.delete(b))}),[n,d,r]);return o&&g&&(y={...y}),_.useMemo(()=>{d.forEach((b,v)=>d.set(v,!1))},[n]),_.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),u==="popLayout"&&(t=N.jsx(jle,{isPresent:n,anchorX:c,children:t})),N.jsx(cS.Provider,{value:y,children:t})};function Hle(){return new Map}function PM(t=!0){const e=_.useContext(cS);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=_.useId();_.useEffect(()=>{if(t)return i(o)},[t]);const u=_.useCallback(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,u]:[!0]}const $2=t=>t.key||"";function xP(t){const e=[];return _.Children.forEach(t,n=>{_.isValidElement(n)&&e.push(n)}),e}const qle=({children:t,custom:e,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:u=!1,anchorX:c="left"})=>{const[d,h]=PM(u),g=_.useMemo(()=>xP(t),[t]),y=u&&!d?[]:g.map($2),b=_.useRef(!0),v=_.useRef(g),C=TT(()=>new Map),[E,$]=_.useState(g),[x,O]=_.useState(g);B7(()=>{b.current=!1,v.current=g;for(let P=0;P{const L=$2(P),F=u&&!d?!1:g===x||y.includes(L),H=()=>{if(C.has(L))C.set(L,!0);else return;let Y=!0;C.forEach(X=>{X||(Y=!1)}),Y&&(D==null||D(),O(v.current),u&&(h==null||h()),r&&r())};return N.jsx(Ble,{isPresent:F,initial:!b.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:o,onExitComplete:F?void 0:H,anchorX:c,children:P},L)})})},IM=_.createContext({strict:!1}),TP={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Sg={};for(const t in TP)Sg[t]={isEnabled:e=>TP[t].some(n=>!!e[n])};function zle(t){for(const e in t)Sg[e]={...Sg[e],...t[e]}}const Vle=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function _w(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Vle.has(t)}let NM=t=>!_w(t);function Gle(t){typeof t=="function"&&(NM=e=>e.startsWith("on")?!_w(e):t(e))}try{Gle(require("@emotion/is-prop-valid").default)}catch{}function Wle(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(NM(i)||n===!0&&_w(i)||!e&&!_w(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}function Kle(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...r)=>t(...r);return new Proxy(n,{get:(r,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}const fS=_.createContext({});function dS(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function z0(t){return typeof t=="string"||Array.isArray(t)}const JT=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],XT=["initial",...JT];function hS(t){return dS(t.animate)||XT.some(e=>z0(t[e]))}function MM(t){return!!(hS(t)||t.variants)}function Yle(t,e){if(hS(t)){const{initial:n,animate:r}=t;return{initial:n===!1||z0(n)?n:void 0,animate:z0(r)?r:void 0}}return t.inherit!==!1?e:{}}function Qle(t){const{initial:e,animate:n}=Yle(t,_.useContext(fS));return _.useMemo(()=>({initial:e,animate:n}),[OP(e),OP(n)])}function OP(t){return Array.isArray(t)?t.join(" "):t}const Jle=Symbol.for("motionComponentSymbol");function ig(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Xle(t,e,n){return _.useCallback(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):ig(n)&&(n.current=r))},[e])}const ZT=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Zle="framerAppearId",DM="data-"+ZT(Zle),kM=_.createContext({});function ece(t,e,n,r,i){var E,$;const{visualElement:o}=_.useContext(fS),u=_.useContext(IM),c=_.useContext(cS),d=_.useContext(QT).reducedMotion,h=_.useRef(null);r=r||u.renderer,!h.current&&r&&(h.current=r(t,{visualState:e,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d}));const g=h.current,y=_.useContext(kM);g&&!g.projection&&i&&(g.type==="html"||g.type==="svg")&&tce(h.current,n,i,y);const b=_.useRef(!1);_.useInsertionEffect(()=>{g&&b.current&&g.update(n,c)});const v=n[DM],C=_.useRef(!!v&&!((E=window.MotionHandoffIsComplete)!=null&&E.call(window,v))&&(($=window.MotionHasOptimisedAnimation)==null?void 0:$.call(window,v)));return B7(()=>{g&&(b.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),KT.render(g.render),C.current&&g.animationState&&g.animationState.animateChanges())}),_.useEffect(()=>{g&&(!C.current&&g.animationState&&g.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var x;(x=window.MotionHandoffMarkAsComplete)==null||x.call(window,v)}),C.current=!1))}),g}function tce(t,e,n,r){const{layoutId:i,layout:o,drag:u,dragConstraints:c,layoutScroll:d,layoutRoot:h,layoutCrossfade:g}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:FM(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!u||c&&ig(c),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:g,layoutScroll:d,layoutRoot:h})}function FM(t){if(t)return t.options.allowProjection!==!1?t.projection:FM(t.parent)}function nce({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&zle(t);function o(c,d){let h;const g={..._.useContext(QT),...c,layoutId:rce(c)},{isStatic:y}=g,b=Qle(c),v=r(c,y);if(!y&&OT){ice();const C=ace(g);h=C.MeasureLayout,b.visualElement=ece(i,v,g,e,C.ProjectionNode)}return N.jsxs(fS.Provider,{value:b,children:[h&&b.visualElement?N.jsx(h,{visualElement:b.visualElement,...g}):null,n(i,c,Xle(v,b.visualElement,d),v,y,b.visualElement)]})}o.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const u=_.forwardRef(o);return u[Jle]=i,u}function rce({layoutId:t}){const e=_.useContext(xT).id;return e&&t!==void 0?e+"-"+t:t}function ice(t,e){_.useContext(IM).strict}function ace(t){const{drag:e,layout:n}=Sg;if(!e&&!n)return{};const r={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const V0={};function oce(t){for(const e in t)V0[e]=t[e],DT(e)&&(V0[e].isCSSVariable=!0)}function LM(t,{layout:e,layoutId:n}){return Dg.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!V0[t]||t==="opacity")}const sce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},uce=Mg.length;function lce(t,e,n){let r="",i=!0;for(let o=0;o({style:{},transform:{},transformOrigin:{},vars:{}});function UM(t,e,n){for(const r in e)!Di(e[r])&&!LM(r,n)&&(t[r]=e[r])}function cce({transformTemplate:t},e){return _.useMemo(()=>{const n=tO();return eO(n,e,t),Object.assign({},n.vars,n.style)},[e])}function fce(t,e){const n=t.style||{},r={};return UM(r,n,t),Object.assign(r,cce(t,e)),r}function dce(t,e){const n={},r=fce(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}const hce={offset:"stroke-dashoffset",array:"stroke-dasharray"},pce={offset:"strokeDashoffset",array:"strokeDasharray"};function mce(t,e,n=1,r=0,i=!0){t.pathLength=1;const o=i?hce:pce;t[o.offset]=xt.transform(-r);const u=xt.transform(e),c=xt.transform(n);t[o.array]=`${u} ${c}`}function jM(t,{attrX:e,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:u=0,...c},d,h,g){if(eO(t,c,h),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:b}=t;y.transform&&(b.transform=y.transform,delete y.transform),(b.transform||y.transformOrigin)&&(b.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),b.transform&&(b.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete y.transformBox),e!==void 0&&(y.x=e),n!==void 0&&(y.y=n),r!==void 0&&(y.scale=r),i!==void 0&&mce(y,i,o,u,!1)}const BM=()=>({...tO(),attrs:{}}),HM=t=>typeof t=="string"&&t.toLowerCase()==="svg";function gce(t,e,n,r){const i=_.useMemo(()=>{const o=BM();return jM(o,e,HM(r),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};UM(o,t.style,t),i.style={...o,...i.style}}return i}const yce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nO(t){return typeof t!="string"||t.includes("-")?!1:!!(yce.indexOf(t)>-1||/[A-Z]/u.test(t))}function vce(t=!1){return(n,r,i,{latestValues:o},u)=>{const d=(nO(n)?gce:dce)(r,o,u,n),h=Wle(r,typeof n=="string",t),g=n!==_.Fragment?{...h,...d,ref:i}:{},{children:y}=r,b=_.useMemo(()=>Di(y)?y.get():y,[y]);return _.createElement(n,{...g,children:b})}}function _P(t){const e=[{},{}];return t==null||t.values.forEach((n,r)=>{e[0][r]=n.get(),e[1][r]=n.getVelocity()}),e}function rO(t,e,n,r){if(typeof e=="function"){const[i,o]=_P(r);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=_P(r);e=e(n!==void 0?n:t.custom,i,o)}return e}function H2(t){return Di(t)?t.get():t}function bce({scrapeMotionValuesFromProps:t,createRenderState:e},n,r,i){return{latestValues:wce(n,r,i,t),renderState:e()}}const qM=t=>(e,n)=>{const r=_.useContext(fS),i=_.useContext(cS),o=()=>bce(t,e,r,i);return n?o():TT(o)};function wce(t,e,n,r){const i={},o=r(t,{});for(const b in o)i[b]=H2(o[b]);let{initial:u,animate:c}=t;const d=hS(t),h=MM(t);e&&h&&!d&&t.inherit!==!1&&(u===void 0&&(u=e.initial),c===void 0&&(c=e.animate));let g=n?n.initial===!1:!1;g=g||u===!1;const y=g?c:u;if(y&&typeof y!="boolean"&&!dS(y)){const b=Array.isArray(y)?y:[y];for(let v=0;vArray.isArray(t);function Ece(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,wg(n))}function xce(t){return sx(t)?t[t.length-1]||0:t}function Tce(t,e){const n=G0(t,e);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const u in o){const c=xce(o[u]);Ece(t,u,c)}}function Oce(t){return!!(Di(t)&&t.add)}function ux(t,e){const n=t.getValue("willChange");if(Oce(n))return n.add(e);if(!n&&Sl.WillChange){const r=new Sl.WillChange("auto");t.addValue("willChange",r),r.add(e)}}function VM(t){return t.props[DM]}const _ce=t=>t!==null;function Ace(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(_ce),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[o]}const Rce={type:"spring",stiffness:500,damping:25,restSpeed:10},Pce=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ice={type:"keyframes",duration:.8},Nce={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mce=(t,{keyframes:e})=>e.length>2?Ice:Dg.has(t)?t.startsWith("scale")?Pce(e[1]):Rce:Nce;function Dce({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:u,repeatDelay:c,from:d,elapsed:h,...g}){return!!Object.keys(g).length}const aO=(t,e,n,r={},i,o)=>u=>{const c=GT(r,t)||{},d=c.delay||r.delay||0;let{elapsed:h=0}=r;h=h-bu(d);const g={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-h,onUpdate:b=>{e.set(b),c.onUpdate&&c.onUpdate(b)},onComplete:()=>{u(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:o?void 0:i};Dce(c)||Object.assign(g,Mce(t,g)),g.duration&&(g.duration=bu(g.duration)),g.repeatDelay&&(g.repeatDelay=bu(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(y=!0)),(Sl.instantAnimations||Sl.skipAnimations)&&(y=!0,g.duration=0,g.delay=0),g.allowFlatten=!c.type&&!c.ease,y&&!o&&e.get()!==void 0){const b=Ace(g.keyframes,c);if(b!==void 0){ir.update(()=>{g.onUpdate(b),g.onComplete()});return}}return c.isSync?new qT(g):new ple(g)};function kce({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function GM(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:u,...c}=e;r&&(o=r);const d=[],h=i&&t.animationState&&t.animationState.getState()[i];for(const g in c){const y=t.getValue(g,t.latestValues[g]??null),b=c[g];if(b===void 0||h&&kce(h,g))continue;const v={delay:n,...GT(o||{},g)},C=y.get();if(C!==void 0&&!y.isAnimating&&!Array.isArray(b)&&b===C&&!v.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const x=VM(t);if(x){const O=window.MotionHandoffAnimation(x,g,ir);O!==null&&(v.startTime=O,E=!0)}}ux(t,g),y.start(aO(g,y,b,t.shouldReduceMotion&&SM.has(g)?{type:!1}:v,t,E));const $=y.animation;$&&d.push($)}return u&&Promise.all(d).then(()=>{ir.update(()=>{u&&Tce(t,u)})}),d}function lx(t,e,n={}){var d;const r=G0(t,e,n.type==="exit"?(d=t.presenceContext)==null?void 0:d.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(GM(t,r,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(h=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:b}=i;return Fce(t,e,g+h,y,b,n)}:()=>Promise.resolve(),{when:c}=i;if(c){const[h,g]=c==="beforeChildren"?[o,u]:[u,o];return h().then(()=>g())}else return Promise.all([o(),u(n.delay)])}function Fce(t,e,n=0,r=0,i=1,o){const u=[],c=(t.variantChildren.size-1)*r,d=i===1?(h=0)=>h*r:(h=0)=>c-h*r;return Array.from(t.variantChildren).sort(Lce).forEach((h,g)=>{h.notify("AnimationStart",e),u.push(lx(h,e,{...o,delay:n+d(g)}).then(()=>h.notify("AnimationComplete",e)))}),Promise.all(u)}function Lce(t,e){return t.sortNodePosition(e)}function Uce(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(o=>lx(t,o,n));r=Promise.all(i)}else if(typeof e=="string")r=lx(t,e,n);else{const i=typeof e=="function"?G0(t,e,n.custom):e;r=Promise.all(GM(t,i,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}function WM(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;rPromise.all(e.map(({animation:n,options:r})=>Uce(t,n,r)))}function zce(t){let e=qce(t),n=AP(),r=!0;const i=d=>(h,g)=>{var b;const y=G0(t,g,d==="exit"?(b=t.presenceContext)==null?void 0:b.custom:void 0);if(y){const{transition:v,transitionEnd:C,...E}=y;h={...h,...E,...C}}return h};function o(d){e=d(t)}function u(d){const{props:h}=t,g=KM(t.parent)||{},y=[],b=new Set;let v={},C=1/0;for(let $=0;$C&&D,Y=!1;const X=Array.isArray(R)?R:[R];let ue=X.reduce(i(x),{});P===!1&&(ue={});const{prevResolvedValues:me={}}=O,te={...me,...ue},be=V=>{H=!0,b.has(V)&&(Y=!0,b.delete(V)),O.needsAnimating[V]=!0;const q=t.getValue(V);q&&(q.liveStyle=!1)};for(const V in te){const q=ue[V],ie=me[V];if(v.hasOwnProperty(V))continue;let G=!1;sx(q)&&sx(ie)?G=!WM(q,ie):G=q!==ie,G?q!=null?be(V):b.add(V):q!==void 0&&b.has(V)?be(V):O.protectedKeys[V]=!0}O.prevProp=R,O.prevResolvedValues=ue,O.isActive&&(v={...v,...ue}),r&&t.blockInitialAnimation&&(H=!1),H&&(!(L&&F)||Y)&&y.push(...X.map(V=>({animation:V,options:{type:x}})))}if(b.size){const $={};if(typeof h.initial!="boolean"){const x=G0(t,Array.isArray(h.initial)?h.initial[0]:h.initial);x&&x.transition&&($.transition=x.transition)}b.forEach(x=>{const O=t.getBaseTarget(x),R=t.getValue(x);R&&(R.liveStyle=!0),$[x]=O??null}),y.push({animation:$})}let E=!!y.length;return r&&(h.initial===!1||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(E=!1),r=!1,E?e(y):Promise.resolve()}function c(d,h){var y;if(n[d].isActive===h)return Promise.resolve();(y=t.variantChildren)==null||y.forEach(b=>{var v;return(v=b.animationState)==null?void 0:v.setActive(d,h)}),n[d].isActive=h;const g=u(d);for(const b in n)n[b].protectedKeys={};return g}return{animateChanges:u,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=AP(),r=!0}}}function Vce(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!WM(e,t):!1}function zh(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function AP(){return{animate:zh(!0),whileInView:zh(),whileHover:zh(),whileTap:zh(),whileDrag:zh(),whileFocus:zh(),exit:zh()}}class Lf{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Gce extends Lf{constructor(e){super(e),e.animationState||(e.animationState=zce(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();dS(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let Wce=0;class Kce extends Lf{constructor(){super(...arguments),this.id=Wce++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const Yce={animation:{Feature:Gce},exit:{Feature:Kce}};function W0(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function f1(t){return{point:{x:t.pageX,y:t.pageY}}}const Qce=t=>e=>YT(e)&&t(e,f1(e));function l0(t,e,n,r){return W0(t,e,Qce(n),r)}function YM({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function Jce({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Xce(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}const QM=1e-4,Zce=1-QM,efe=1+QM,JM=.01,tfe=0-JM,nfe=0+JM;function sa(t){return t.max-t.min}function rfe(t,e,n){return Math.abs(t-e)<=n}function RP(t,e,n,r=.5){t.origin=r,t.originPoint=rr(e.min,e.max,t.origin),t.scale=sa(n)/sa(e),t.translate=rr(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Zce&&t.scale<=efe||isNaN(t.scale))&&(t.scale=1),(t.translate>=tfe&&t.translate<=nfe||isNaN(t.translate))&&(t.translate=0)}function c0(t,e,n,r){RP(t.x,e.x,n.x,r?r.originX:void 0),RP(t.y,e.y,n.y,r?r.originY:void 0)}function PP(t,e,n){t.min=n.min+e.min,t.max=t.min+sa(e)}function ife(t,e,n){PP(t.x,e.x,n.x),PP(t.y,e.y,n.y)}function IP(t,e,n){t.min=e.min-n.min,t.max=t.min+sa(e)}function f0(t,e,n){IP(t.x,e.x,n.x),IP(t.y,e.y,n.y)}const NP=()=>({translate:0,scale:1,origin:0,originPoint:0}),ag=()=>({x:NP(),y:NP()}),MP=()=>({min:0,max:0}),br=()=>({x:MP(),y:MP()});function Ro(t){return[t("x"),t("y")]}function E$(t){return t===void 0||t===1}function cx({scale:t,scaleX:e,scaleY:n}){return!E$(t)||!E$(e)||!E$(n)}function Wh(t){return cx(t)||XM(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function XM(t){return DP(t.x)||DP(t.y)}function DP(t){return t&&t!=="0%"}function Aw(t,e,n){const r=t-n,i=e*r;return n+i}function kP(t,e,n,r,i){return i!==void 0&&(t=Aw(t,i,r)),Aw(t,n,r)+e}function fx(t,e=0,n=1,r,i){t.min=kP(t.min,e,n,r,i),t.max=kP(t.max,e,n,r,i)}function ZM(t,{x:e,y:n}){fx(t.x,e.translate,e.scale,e.originPoint),fx(t.y,n.translate,n.scale,n.originPoint)}const FP=.999999999999,LP=1.0000000000001;function afe(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,u;for(let c=0;cFP&&(e.x=1),e.yFP&&(e.y=1)}function og(t,e){t.min=t.min+e,t.max=t.max+e}function UP(t,e,n,r,i=.5){const o=rr(t.min,t.max,i);fx(t,e,n,o,r)}function sg(t,e){UP(t.x,e.x,e.scaleX,e.scale,e.originX),UP(t.y,e.y,e.scaleY,e.scale,e.originY)}function eD(t,e){return YM(Xce(t.getBoundingClientRect(),e))}function ofe(t,e,n){const r=eD(t,n),{scroll:i}=e;return i&&(og(r.x,i.offset.x),og(r.y,i.offset.y)),r}const tD=({current:t})=>t?t.ownerDocument.defaultView:null,jP=(t,e)=>Math.abs(t-e);function sfe(t,e){const n=jP(t.x,e.x),r=jP(t.y,e.y);return Math.sqrt(n**2+r**2)}class nD{constructor(e,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=T$(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,v=sfe(y.offset,{x:0,y:0})>=3;if(!b&&!v)return;const{point:C}=y,{timestamp:E}=gi;this.history.push({...C,timestamp:E});const{onStart:$,onMove:x}=this.handlers;b||($&&$(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,y)},this.handlePointerMove=(y,b)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=x$(b,this.transformPagePoint),ir.update(this.updatePoint,!0)},this.handlePointerUp=(y,b)=>{this.end();const{onEnd:v,onSessionEnd:C,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const $=T$(y.type==="pointercancel"?this.lastMoveEventInfo:x$(b,this.transformPagePoint),this.history);this.startEvent&&v&&v(y,$),C&&C(y,$)},!YT(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const u=f1(e),c=x$(u,this.transformPagePoint),{point:d}=c,{timestamp:h}=gi;this.history=[{...d,timestamp:h}];const{onSessionStart:g}=n;g&&g(e,T$(c,this.history)),this.removeListeners=u1(l0(this.contextWindow,"pointermove",this.handlePointerMove),l0(this.contextWindow,"pointerup",this.handlePointerUp),l0(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),vf(this.updatePoint)}}function x$(t,e){return e?{point:e(t.point)}:t}function BP(t,e){return{x:t.x-e.x,y:t.y-e.y}}function T$({point:t},e){return{point:t,delta:BP(t,rD(e)),offset:BP(t,ufe(e)),velocity:lfe(e,.1)}}function ufe(t){return t[0]}function rD(t){return t[t.length-1]}function lfe(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=rD(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>bu(e)));)n--;if(!r)return{x:0,y:0};const o=wu(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const u={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function cfe(t,{min:e,max:n},r){return e!==void 0&&tn&&(t=r?rr(n,t,r.max):Math.min(t,n)),t}function HP(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function ffe(t,{top:e,left:n,bottom:r,right:i}){return{x:HP(t.x,n,i),y:HP(t.y,e,r)}}function qP(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.minr?n=B0(e.min,e.max-r,t.min):r>i&&(n=B0(t.min,t.max-i,e.min)),wl(0,1,n)}function pfe(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const dx=.35;function mfe(t=dx){return t===!1?t=0:t===!0&&(t=dx),{x:zP(t,"left","right"),y:zP(t,"top","bottom")}}function zP(t,e,n){return{min:VP(t,e),max:VP(t,n)}}function VP(t,e){return typeof t=="number"?t:t[e]||0}const gfe=new WeakMap;class yfe{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=br(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=g=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(f1(g).point)},o=(g,y)=>{const{drag:b,dragPropagation:v,onDragStart:C}=this.getProps();if(b&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Rle(b),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ro($=>{let x=this.getAxisMotionValue($).get()||0;if(Su.test(x)){const{projection:O}=this.visualElement;if(O&&O.layout){const R=O.layout.layoutBox[$];R&&(x=sa(R)*(parseFloat(x)/100))}}this.originPoint[$]=x}),C&&ir.postRender(()=>C(g,y)),ux(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},u=(g,y)=>{const{dragPropagation:b,dragDirectionLock:v,onDirectionLock:C,onDrag:E}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:$}=y;if(v&&this.currentDirection===null){this.currentDirection=vfe($),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",y.point,$),this.updateAxis("y",y.point,$),this.visualElement.render(),E&&E(g,y)},c=(g,y)=>this.stop(g,y),d=()=>Ro(g=>{var y;return this.getAnimationState(g)==="paused"&&((y=this.getAxisMotionValue(g).animation)==null?void 0:y.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new nD(e,{onSessionStart:i,onStart:o,onMove:u,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:tD(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&ir.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:i}=this.getProps();if(!r||!E2(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let u=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(u=cfe(u,this.constraints[e],this.elastic[e])),o.set(u)}resolveConstraints(){var o;const{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;e&&ig(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=ffe(r.layoutBox,e):this.constraints=!1,this.elastic=mfe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ro(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=pfe(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ig(e))return!1;const r=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=ofe(r,i.root,this.visualElement.getTransformPagePoint());let u=dfe(i.layout.layoutBox,o);if(n){const c=n(Jce(u));this.hasMutatedConstraints=!!c,c&&(u=YM(c))}return u}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:u,onDragTransitionEnd:c}=this.getProps(),d=this.constraints||{},h=Ro(g=>{if(!E2(g,n,this.currentDirection))return;let y=d&&d[g]||{};u&&(y={min:0,max:0});const b=i?200:1e6,v=i?40:1e7,C={type:"inertia",velocity:r?e[g]:0,bounceStiffness:b,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...o,...y};return this.startAxisValueAnimation(g,C)});return Promise.all(h).then(c)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return ux(this.visualElement,e),r.start(aO(e,r,0,n,this.visualElement,!1))}stopAnimation(){Ro(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Ro(e=>{var n;return(n=this.getAxisMotionValue(e).animation)==null?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)==null?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Ro(n=>{const{drag:r}=this.getProps();if(!E2(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:u,max:c}=i.layout.layoutBox[n];o.set(e[n]-rr(u,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ig(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ro(u=>{const c=this.getAxisMotionValue(u);if(c&&this.constraints!==!1){const d=c.get();i[u]=hfe({min:d,max:d},this.constraints[u])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ro(u=>{if(!E2(u,e,null))return;const c=this.getAxisMotionValue(u),{min:d,max:h}=this.constraints[u];c.set(rr(d,h,i[u]))})}addListeners(){if(!this.visualElement.current)return;gfe.set(this.visualElement,this);const e=this.visualElement.current,n=l0(e,"pointerdown",d=>{const{drag:h,dragListener:g=!0}=this.getProps();h&&g&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();ig(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ir.read(r);const u=W0(window,"resize",()=>this.scalePositionWithinConstraints()),c=i.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:h})=>{this.isDragging&&h&&(Ro(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=d[g].translate,y.set(y.get()+d[g].translate))}),this.visualElement.render())}));return()=>{u(),n(),o(),c&&c()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:u=dx,dragMomentum:c=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:u,dragMomentum:c}}}function E2(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function vfe(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class bfe extends Lf{constructor(e){super(e),this.removeGroupControls=Lo,this.removeListeners=Lo,this.controls=new yfe(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lo}unmount(){this.removeGroupControls(),this.removeListeners()}}const GP=t=>(e,n)=>{t&&ir.postRender(()=>t(e,n))};class wfe extends Lf{constructor(){super(...arguments),this.removePointerDownListener=Lo}onPointerDown(e){this.session=new nD(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tD(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:GP(e),onStart:GP(n),onMove:r,onEnd:(o,u)=>{delete this.session,i&&ir.postRender(()=>i(o,u))}}}mount(){this.removePointerDownListener=l0(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const q2={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function WP(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Kv={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(xt.test(t))t=parseFloat(t);else return t;const n=WP(t,e.target.x),r=WP(t,e.target.y);return`${n}% ${r}%`}},Sfe={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=bf.parse(t);if(i.length>5)return r;const o=bf.createTransformer(t),u=typeof i[0]!="number"?1:0,c=n.x.scale*e.x,d=n.y.scale*e.y;i[0+u]/=c,i[1+u]/=d;const h=rr(c,d,.5);return typeof i[2+u]=="number"&&(i[2+u]/=h),typeof i[3+u]=="number"&&(i[3+u]/=h),o(i)}};class Cfe extends _.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=e;oce($fe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),q2.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:u}=r;return u&&(u.isPresent=o,i||e.layoutDependency!==n||n===void 0||e.isPresent!==o?u.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?u.promote():u.relegate()||ir.postRender(()=>{const c=u.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),KT.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iD(t){const[e,n]=PM(),r=_.useContext(xT);return N.jsx(Cfe,{...t,layoutGroup:r,switchLayoutGroup:_.useContext(kM),isPresent:e,safeToRemove:n})}const $fe={borderRadius:{...Kv,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kv,borderTopRightRadius:Kv,borderBottomLeftRadius:Kv,borderBottomRightRadius:Kv,boxShadow:Sfe};function Efe(t,e,n){const r=Di(t)?t:wg(t);return r.start(aO("",r,e,n)),r.animation}const xfe=(t,e)=>t.depth-e.depth;class Tfe{constructor(){this.children=[],this.isDirty=!1}add(e){_T(this.children,e),this.isDirty=!0}remove(e){AT(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(xfe),this.isDirty=!1,this.children.forEach(e)}}function Ofe(t,e){const n=Ea.now(),r=({timestamp:i})=>{const o=i-n;o>=e&&(vf(r),t(o-e))};return ir.setup(r,!0),()=>vf(r)}const aD=["TopLeft","TopRight","BottomLeft","BottomRight"],_fe=aD.length,KP=t=>typeof t=="string"?parseFloat(t):t,YP=t=>typeof t=="number"||xt.test(t);function Afe(t,e,n,r,i,o){i?(t.opacity=rr(0,n.opacity??1,Rfe(r)),t.opacityExit=rr(e.opacity??1,0,Pfe(r))):o&&(t.opacity=rr(e.opacity??1,n.opacity??1,r));for(let u=0;u<_fe;u++){const c=`border${aD[u]}Radius`;let d=QP(e,c),h=QP(n,c);if(d===void 0&&h===void 0)continue;d||(d=0),h||(h=0),d===0||h===0||YP(d)===YP(h)?(t[c]=Math.max(rr(KP(d),KP(h),r),0),(Su.test(h)||Su.test(d))&&(t[c]+="%")):t[c]=h}(e.rotate||n.rotate)&&(t.rotate=rr(e.rotate||0,n.rotate||0,r))}function QP(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Rfe=oD(0,.5,X7),Pfe=oD(.5,.95,Lo);function oD(t,e,n){return r=>re?1:n(B0(t,e,r))}function JP(t,e){t.min=e.min,t.max=e.max}function _o(t,e){JP(t.x,e.x),JP(t.y,e.y)}function XP(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function ZP(t,e,n,r,i){return t-=e,t=Aw(t,1/n,r),i!==void 0&&(t=Aw(t,1/i,r)),t}function Ife(t,e=0,n=1,r=.5,i,o=t,u=t){if(Su.test(e)&&(e=parseFloat(e),e=rr(u.min,u.max,e/100)-u.min),typeof e!="number")return;let c=rr(o.min,o.max,r);t===o&&(c-=e),t.min=ZP(t.min,e,n,c,i),t.max=ZP(t.max,e,n,c,i)}function e5(t,e,[n,r,i],o,u){Ife(t,e[n],e[r],e[i],e.scale,o,u)}const Nfe=["x","scaleX","originX"],Mfe=["y","scaleY","originY"];function t5(t,e,n,r){e5(t.x,e,Nfe,n?n.x:void 0,r?r.x:void 0),e5(t.y,e,Mfe,n?n.y:void 0,r?r.y:void 0)}function n5(t){return t.translate===0&&t.scale===1}function sD(t){return n5(t.x)&&n5(t.y)}function r5(t,e){return t.min===e.min&&t.max===e.max}function Dfe(t,e){return r5(t.x,e.x)&&r5(t.y,e.y)}function i5(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function uD(t,e){return i5(t.x,e.x)&&i5(t.y,e.y)}function a5(t){return sa(t.x)/sa(t.y)}function o5(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class kfe{constructor(){this.members=[]}add(e){_T(this.members,e),e.scheduleRender()}remove(e){if(AT(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ffe(t,e,n){let r="";const i=t.x.translate/e.x,o=t.y.translate/e.y,u=(n==null?void 0:n.z)||0;if((i||o||u)&&(r=`translate3d(${i}px, ${o}px, ${u}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:h,rotate:g,rotateX:y,rotateY:b,skewX:v,skewY:C}=n;h&&(r=`perspective(${h}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),b&&(r+=`rotateY(${b}deg) `),v&&(r+=`skewX(${v}deg) `),C&&(r+=`skewY(${C}deg) `)}const c=t.x.scale*e.x,d=t.y.scale*e.y;return(c!==1||d!==1)&&(r+=`scale(${c}, ${d})`),r||"none"}const O$=["","X","Y","Z"],Lfe={visibility:"hidden"},Ufe=1e3;let jfe=0;function _$(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function lD(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=VM(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",ir,!(i||o))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&lD(r)}function cD({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(u={},c=e==null?void 0:e()){this.id=jfe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(qfe),this.nodes.forEach(Wfe),this.nodes.forEach(Kfe),this.nodes.forEach(zfe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let d=0;dthis.root.updateBlockedByResize=!1;t(u,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=Ofe(y,250),q2.hasAnimatedSinceResize&&(q2.hasAnimatedSinceResize=!1,this.nodes.forEach(l5))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:b,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||h.getDefaultTransition()||Zfe,{onLayoutAnimationStart:E,onLayoutAnimationComplete:$}=h.getProps(),x=!this.targetLayout||!uD(this.targetLayout,v),O=!y&&b;if(this.options.layoutRoot||this.resumeFrom||O||y&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...GT(C,"layout"),onPlay:E,onComplete:$};(h.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(g,O)}else y||l5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vf(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Yfe),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&lD(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!sa(this.snapshot.measuredBox.x)&&!sa(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d{const P=D/1e3;c5(y.x,u.x,P),c5(y.y,u.y,P),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(f0(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Jfe(this.relativeTarget,this.relativeTargetOrigin,b,P),R&&Dfe(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=br()),_o(R,this.relativeTarget)),E&&(this.animationValues=g,Afe(g,h,this.latestValues,P,O,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var c,d,h;this.notifyListeners("animationStart"),(c=this.currentAnimation)==null||c.stop(),(h=(d=this.resumingFrom)==null?void 0:d.currentAnimation)==null||h.stop(),this.pendingAnimation&&(vf(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ir.update(()=>{q2.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wg(0)),this.currentAnimation=Efe(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),u.onUpdate&&u.onUpdate(g)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ufe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:c,target:d,layout:h,latestValues:g}=u;if(!(!c||!d||!h)){if(this!==u&&this.layout&&h&&fD(this.options.animationType,this.layout.layoutBox,h.layoutBox)){d=this.target||br();const y=sa(this.layout.layoutBox.x);d.x.min=u.target.x.min,d.x.max=d.x.min+y;const b=sa(this.layout.layoutBox.y);d.y.min=u.target.y.min,d.y.max=d.y.min+b}_o(c,d),sg(c,g),c0(this.projectionDeltaWithTransform,this.layoutCorrected,c,g)}}registerSharedNode(u,c){this.sharedNodes.has(u)||this.sharedNodes.set(u,new kfe),this.sharedNodes.get(u).add(c);const h=c.options.initialPromotionConfig;c.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(c):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var c;const{layoutId:u}=this.options;return u?((c=this.getStack())==null?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:u}=this.options;return u?(c=this.getStack())==null?void 0:c.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:c,preserveFollowOpacity:d}={}){const h=this.getStack();h&&h.promote(this,d),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let c=!1;const{latestValues:d}=u;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(c=!0),!c)return;const h={};d.z&&_$("z",u,h,this.animationValues);for(let g=0;g{var c;return(c=u.currentAnimation)==null?void 0:c.stop()}),this.root.nodes.forEach(s5),this.root.sharedNodes.clear()}}}function Bfe(t){t.updateLayout()}function Hfe(t){var n;const e=((n=t.resumeFrom)==null?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=t.layout,{animationType:o}=t.options,u=e.source!==t.layout.source;o==="size"?Ro(y=>{const b=u?e.measuredBox[y]:e.layoutBox[y],v=sa(b);b.min=r[y].min,b.max=b.min+v}):fD(o,e.layoutBox,r)&&Ro(y=>{const b=u?e.measuredBox[y]:e.layoutBox[y],v=sa(r[y]);b.max=b.min+v,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+v)});const c=ag();c0(c,r,e.layoutBox);const d=ag();u?c0(d,t.applyTransform(i,!0),e.measuredBox):c0(d,r,e.layoutBox);const h=!sD(c);let g=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:b,layout:v}=y;if(b&&v){const C=br();f0(C,e.layoutBox,b.layoutBox);const E=br();f0(E,r,v.layoutBox),uD(C,E)||(g=!0),y.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=C,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:e,delta:d,layoutDelta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:g})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function qfe(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function zfe(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Vfe(t){t.clearSnapshot()}function s5(t){t.clearMeasurements()}function u5(t){t.isLayoutDirty=!1}function Gfe(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function l5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Wfe(t){t.resolveTargetDelta()}function Kfe(t){t.calcProjection()}function Yfe(t){t.resetSkewAndRotation()}function Qfe(t){t.removeLeadSnapshot()}function c5(t,e,n){t.translate=rr(e.translate,0,n),t.scale=rr(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function f5(t,e,n,r){t.min=rr(e.min,n.min,r),t.max=rr(e.max,n.max,r)}function Jfe(t,e,n,r){f5(t.x,e.x,n.x,r),f5(t.y,e.y,n.y,r)}function Xfe(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Zfe={duration:.45,ease:[.4,0,.1,1]},d5=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),h5=d5("applewebkit/")&&!d5("chrome/")?Math.round:Lo;function p5(t){t.min=h5(t.min),t.max=h5(t.max)}function ede(t){p5(t.x),p5(t.y)}function fD(t,e,n){return t==="position"||t==="preserve-aspect"&&!rfe(a5(e),a5(n),.2)}function tde(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}const nde=cD({attachResizeListener:(t,e)=>W0(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),A$={current:void 0},dD=cD({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!A$.current){const t=new nde({});t.mount(window),t.setOptions({layoutScroll:!0}),A$.current=t}return A$.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),rde={pan:{Feature:wfe},drag:{Feature:bfe,ProjectionNode:dD,MeasureLayout:iD}};function m5(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ir.postRender(()=>o(e,f1(e)))}class ide extends Lf{mount(){const{current:e}=this.node;e&&(this.unmount=Ple(e,(n,r)=>(m5(this.node,r,"Start"),i=>m5(this.node,i,"End"))))}unmount(){}}class ade extends Lf{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=u1(W0(this.node.current,"focus",()=>this.onFocus()),W0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function g5(t,e,n){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&ir.postRender(()=>o(e,f1(e)))}class ode extends Lf{mount(){const{current:e}=this.node;e&&(this.unmount=Dle(e,(n,r)=>(g5(this.node,r,"Start"),(i,{success:o})=>g5(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const hx=new WeakMap,R$=new WeakMap,sde=t=>{const e=hx.get(t.target);e&&e(t)},ude=t=>{t.forEach(sde)};function lde({root:t,...e}){const n=t||document;R$.has(n)||R$.set(n,{});const r=R$.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(ude,{root:t,...e})),r[i]}function cde(t,e,n){const r=lde(e);return hx.set(t,n),r.observe(t),()=>{hx.delete(t),r.unobserve(t)}}const fde={some:0,all:1};class dde extends Lf{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=e,u={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:fde[i]},c=d=>{const{isIntersecting:h}=d;if(this.isInView===h||(this.isInView=h,o&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),b=h?g:y;b&&b(d)};return cde(this.node.current,u,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(hde(e,n))&&this.startObserver()}unmount(){}}function hde({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const pde={inView:{Feature:dde},tap:{Feature:ode},focus:{Feature:ade},hover:{Feature:ide}},mde={layout:{ProjectionNode:dD,MeasureLayout:iD}},px={current:null},hD={current:!1};function gde(){if(hD.current=!0,!!OT)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>px.current=t.matches;t.addListener(e),e()}else px.current=!1}const yde=new WeakMap;function vde(t,e,n){for(const r in e){const i=e[r],o=n[r];if(Di(i))t.addValue(r,i);else if(Di(o))t.addValue(r,wg(i,{owner:t}));else if(o!==i)if(t.hasValue(r)){const u=t.getValue(r);u.liveStyle===!0?u.jump(i):u.hasAnimated||u.set(i)}else{const u=t.getStaticValue(r);t.addValue(r,wg(u!==void 0?u:i,{owner:t}))}}for(const r in n)e[r]===void 0&&t.removeValue(r);return e}const y5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class bde{scrapeMotionValuesFromProps(e,n,r){return{}}constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:u},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=zT,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Ea.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),hD.current||gde(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:px.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),vf(this.notifyUpdate),vf(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const r=Dg.has(e);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",c=>{this.latestValues[e]=c,this.props.onUpdate&&ir.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o(),u&&u(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Sg){const n=Sg[e];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):br()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(e)}addValue(e,n){const r=this.values.get(e);n!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=wg(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(H7(r)||z7(r))?r=parseFloat(r):!Lle(r)&&bf.test(n)&&(r=xM(e,n)),this.setBaseTarget(e,Di(r)?r.get():r)),Di(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const u=rO(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);u&&(r=u[e])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Di(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new IT),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class pD extends bde{constructor(){super(...arguments),this.KeyframeResolver=Tle}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Di(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function mD(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}function wde(t){return window.getComputedStyle(t)}class Sde extends pD{constructor(){super(...arguments),this.type="html",this.renderInstance=mD}readValueFromInstance(e,n){var r;if(Dg.has(n))return(r=this.projection)!=null&&r.isProjecting?tx(n):Vue(e,n);{const i=wde(e),o=(DT(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return eD(e,n)}build(e,n,r){eO(e,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return iO(e,n,r)}}const gD=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Cde(t,e,n,r){mD(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(gD.has(i)?i:ZT(i),e.attrs[i])}class $de extends pD{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=br}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Dg.has(n)){const r=EM(n);return r&&r.default||0}return n=gD.has(n)?n:ZT(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,r){return zM(e,n,r)}build(e,n,r){jM(e,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,n,r,i){Cde(e,n,r,i)}mount(e){this.isSVGTag=HM(e.tagName),super.mount(e)}}const Ede=(t,e)=>nO(t)?new $de(e):new Sde(e,{allowProjection:t!==_.Fragment}),xde=$ce({...Yce,...pde,...rde,...mde},Ede),Tde=Kle(xde),Ode={initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{x:"100%",opacity:0}};function _de({children:t}){var r;const e=xl();return((r=e.state)==null?void 0:r.animated)?N.jsx(qle,{mode:"wait",children:N.jsx(Tde.div,{variants:Ode,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.15},style:{width:"100%"},children:t},e.pathname)}):N.jsx(N.Fragment,{children:t})}function Ade(){return N.jsxs(N.Fragment,{children:[N.jsxs(gn,{path:"selfservice",children:[N.jsx(gn,{path:"welcome",element:N.jsx(nJ,{})}),N.jsx(gn,{path:"email",element:N.jsx(VR,{method:Qa.Email})}),N.jsx(gn,{path:"phone",element:N.jsx(VR,{method:Qa.Phone})}),N.jsx(gn,{path:"totp-setup",element:N.jsx(UJ,{})}),N.jsx(gn,{path:"totp-enter",element:N.jsx(HJ,{})}),N.jsx(gn,{path:"complete",element:N.jsx(ZJ,{})}),N.jsx(gn,{path:"password",element:N.jsx(oX,{})}),N.jsx(gn,{path:"otp",element:N.jsx(hX,{})})]}),N.jsx(gn,{path:"*",element:N.jsx(J$,{to:"/en/selfservice/welcome",replace:!0})})]})}function Rde(){const t=koe(),e=tse(),n=lse(),r=Bse();return N.jsxs(gn,{path:"selfservice",children:[N.jsx(gn,{path:"passports",element:N.jsx(GV,{})}),N.jsx(gn,{path:"change-password/:uniqueId",element:N.jsx(VQ,{})}),t,e,n,r,N.jsx(gn,{path:"",element:N.jsx(_de,{children:N.jsx(Hse,{})})})]})}const v5=az;function Pde(){const t=_.useRef(Xz),e=_.useRef(new Ok);return N.jsx(Mk,{client:e.current,children:N.jsx(oq,{mockServer:t,config:{},prefix:"",queryClient:e.current,children:N.jsx(Ide,{})})})}function Ide(){const t=Ade(),e=Rde(),{session:n,checked:r}=sV();return N.jsx(N.Fragment,{children:!n&&r?N.jsx(v5,{children:N.jsxs(k4,{children:[N.jsx(gn,{path:":locale",children:t}),N.jsx(gn,{path:"*",element:N.jsx(J$,{to:"/en/selftservice",replace:!0})})]})}):N.jsx(v5,{children:N.jsxs(k4,{children:[N.jsx(gn,{path:":locale",children:e}),N.jsx(gn,{path:"*",element:N.jsx(J$,{to:"/en/selfservice/passports",replace:!0})})]})})})}const Nde=ok.createRoot(document.getElementById("root"));Nde.render(N.jsx(Ae.StrictMode,{children:N.jsx(Pde,{})}))});export default Mde(); diff --git a/modules/fireback/codegen/selfservice/index.html b/modules/fireback/codegen/selfservice/index.html index 62d3b70b8..7193afd2f 100644 --- a/modules/fireback/codegen/selfservice/index.html +++ b/modules/fireback/codegen/selfservice/index.html @@ -5,8 +5,8 @@ Fireback - - + +